Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d

async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
"""
Invoke action reportSyntheticMedia
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
Find more info here: https://learn.microsoft.com/graph/api/participant-reportsyntheticmedia?view=graph-rest-beta
"""
if body is None:
raise TypeError("body cannot be null.")
Expand All @@ -53,7 +54,7 @@ async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configura

def to_post_request_information(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
"""
Invoke action reportSyntheticMedia
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query

async def get(self,request_configuration: Optional[RequestConfiguration[TargetedChatMessageItemRequestBuilderGetQueryParameters]] = None) -> Optional[TargetedChatMessage]:
"""
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
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.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[TargetedChatMessage]
"""
Expand Down Expand Up @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TargetedChatMessageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
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.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -168,7 +168,7 @@ class TargetedChatMessageItemRequestBuilderDeleteRequestConfiguration(RequestCon
@dataclass
class TargetedChatMessageItemRequestBuilderGetQueryParameters():
"""
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
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.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def by_targeted_chat_message_id(self,targeted_chat_message_id: str) -> TargetedC

async def get(self,request_configuration: Optional[RequestConfiguration[TargetedMessagesRequestBuilderGetQueryParameters]] = None) -> Optional[TargetedChatMessageCollectionResponse]:
"""
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
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.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: Optional[TargetedChatMessageCollectionResponse]
"""
Expand Down Expand Up @@ -92,7 +92,7 @@ async def post(self,body: TargetedChatMessage, request_configuration: Optional[R

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TargetedMessagesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
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.
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
"""
Expand Down Expand Up @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder:
@dataclass
class TargetedMessagesRequestBuilderGetQueryParameters():
"""
A collection of targeted messages in the chat that are visible only to specific users. Nullable.
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.
"""
def get_query_parameter(self,original_name: str) -> str:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d

async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
"""
Invoke action reportSyntheticMedia
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
Find more info here: https://learn.microsoft.com/graph/api/participant-reportsyntheticmedia?view=graph-rest-beta
"""
if body is None:
raise TypeError("body cannot be null.")
Expand All @@ -53,7 +54,7 @@ async def post(self,body: ReportSyntheticMediaPostRequestBody, request_configura

def to_post_request_information(self,body: ReportSyntheticMediaPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
"""
Invoke action reportSyntheticMedia
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d

async def post(self,body: AssignSensitivityLabelPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
"""
Invoke action assignSensitivityLabel
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: None
Find more info here: https://learn.microsoft.com/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-beta
"""
if body is None:
raise TypeError("body cannot be null.")
Expand All @@ -53,7 +54,7 @@ async def post(self,body: AssignSensitivityLabelPostRequestBody, request_configu

def to_post_request_information(self,body: AssignSensitivityLabelPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
"""
Invoke action assignSensitivityLabel
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.
param body: The request body
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
Returns: RequestInformation
Expand Down
Loading
Loading