Skip to content

Commit 07ffb1b

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 234077
1 parent 118e5dc commit 07ffb1b

105 files changed

Lines changed: 7547 additions & 71 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

msgraph_beta/generated/app/calls/item/participants/item/report_synthetic_media/report_synthetic_media_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3434
"""
35-
Invoke action reportSyntheticMedia
35+
Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-reportsyntheticmedia?view=graph-rest-beta
3940
"""
4041
if body is None:
4142
raise TypeError("body cannot be null.")
@@ -53,7 +54,7 @@ async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configura
5354

5455
def to_post_request_information(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5556
"""
56-
Invoke action reportSyntheticMedia
57+
Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
5758
param body: The request body
5859
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5960
Returns: RequestInformation

msgraph_beta/generated/chats/item/targeted_messages/item/targeted_chat_message_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5252

5353
async def get(self,request_configuration: Optional[RequestConfiguration[TargetedChatMessageItemRequestBuilderGetQueryParameters]] = None) -> Optional[TargetedChatMessage]:
5454
"""
55-
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
55+
A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
5656
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5757
Returns: Optional[TargetedChatMessage]
5858
"""
@@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
106106

107107
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TargetedChatMessageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
109+
A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation
112112
"""
@@ -168,7 +168,7 @@ class TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration(RequestCon
168168
@dataclass
169169
class TargetedChatMessageItemRequestBuilderGetQueryParameters():
170170
"""
171-
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
171+
A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
172172
"""
173173
def get_query_parameter(self,original_name: str) -> str:
174174
"""

msgraph_beta/generated/chats/item/targeted_messages/targeted_messages_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_targeted_chat_message_id(self,targeted_chat_message_id: str) -> TargetedC
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[TargetedMessagesRequestBuilderGetQueryParameters]] = None) -> Optional[TargetedChatMessageCollectionResponse]:
5151
"""
52-
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
52+
A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[TargetedChatMessageCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: TargetedChatMessage, request_configuration: Optional[R
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TargetedMessagesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
95+
A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
9696
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9797
Returns: RequestInformation
9898
"""
@@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder:
138138
@dataclass
139139
class TargetedMessagesRequestBuilderGetQueryParameters():
140140
"""
141-
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
141+
A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph_beta/generated/communications/calls/item/participants/item/report_synthetic_media/report_synthetic_media_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3434
"""
35-
Invoke action reportSyntheticMedia
35+
Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-reportsyntheticmedia?view=graph-rest-beta
3940
"""
4041
if body is None:
4142
raise TypeError("body cannot be null.")
@@ -53,7 +54,7 @@ async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configura
5354

5455
def to_post_request_information(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5556
"""
56-
Invoke action reportSyntheticMedia
57+
Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
5758
param body: The request body
5859
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5960
Returns: RequestInformation

msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_request_builder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def post(self,body: AssignSensitivityLabelPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3434
"""
35-
Invoke action assignSensitivityLabel
35+
Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39+
Find more info here: https://learn.microsoft.com/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-beta
3940
"""
4041
if body is None:
4142
raise TypeError("body cannot be null.")
@@ -53,7 +54,7 @@ async def post(self,body: AssignSensitivityLabelPostRequestBody, request_configu
5354

5455
def to_post_request_information(self,body: AssignSensitivityLabelPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5556
"""
56-
Invoke action assignSensitivityLabel
57+
Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
5758
param body: The request body
5859
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5960
Returns: RequestInformation

0 commit comments

Comments
 (0)