Skip to content

Commit 1f8f33e

Browse files
committed
updating the changes
1 parent c8aa6c6 commit 1f8f33e

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_call_automation_client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ def create_group_call(
423423
source_display_name: Optional[str] = None,
424424
operation_context: Optional[str] = None,
425425
cognitive_services_endpoint: Optional[str] = None,
426+
media_streaming: Optional['MediaStreamingOptions'] = None,
427+
transcription: Optional['TranscriptionOptions'] = None,
426428
teams_app_source: Optional["MicrosoftTeamsAppIdentifier"] = None,
427429
enable_loopback_audio: Optional[bool] = None,
428430
**kwargs,
@@ -445,6 +447,12 @@ def create_group_call(
445447
:keyword cognitive_services_endpoint:
446448
The identifier of the Cognitive Service resource assigned to this call.
447449
:paramtype cognitive_services_endpoint: str
450+
:keyword media_streaming: Media Streaming Options.
451+
:paramtype media_streaming: ~azure.communication.callautomation.MediaStreamingOptions
452+
or None
453+
:keyword transcription: Configuration of live transcription.
454+
:paramtype transcription: ~azure.communication.callautomation.TranscriptionOptions
455+
or None
448456
:keyword teams_app_source: The Microsoft Teams App Identifier.
449457
:paramtype teams_app_source: ~azure.communication.callautomation.MicrosoftTeamsAppIdentifier
450458
:keyword enable_loopback_audio: Enables loopback audio functionality for the call.
@@ -464,6 +472,8 @@ def create_group_call(
464472
source_display_name=source_display_name,
465473
operation_context=operation_context,
466474
cognitive_services_endpoint=cognitive_services_endpoint,
475+
media_streaming=media_streaming,
476+
transcription=transcription,
467477
teams_app_source=teams_app_source,
468478
enable_loopback_audio=enable_loopback_audio,
469479
**kwargs,

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,9 +1026,9 @@ class PiiRedactionOptions:
10261026
:paramtype redaction_type: str or ~azure.communication.callautomation.models.RedactionType
10271027
"""
10281028

1029-
enable: Optional[bool]
1029+
enable: Optional[bool] = False
10301030
"""Gets or sets a value indicating whether PII redaction is enabled."""
1031-
redaction_type: Optional[Union[str, "RedactionType"]]
1031+
redaction_type: Optional[Union[str, "RedactionType"]] = "maskWithCharacter"
10321032
"""Gets or sets the type of PII redaction to be used."""
10331033

10341034
def __init__(self, *, enable: bool = None, redaction_type: Optional[Union[str, "RedactionType"]] = None):

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/aio/_call_automation_client_async.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ async def create_group_call(
422422
source_display_name: Optional[str] = None,
423423
operation_context: Optional[str] = None,
424424
cognitive_services_endpoint: Optional[str] = None,
425+
media_streaming: Optional['MediaStreamingOptions'] = None,
426+
transcription: Optional['TranscriptionOptions'] = None,
425427
teams_app_source: Optional["MicrosoftTeamsAppIdentifier"] = None,
426428
enable_loopback_audio: Optional[bool] = None,
427429
**kwargs,
@@ -444,6 +446,12 @@ async def create_group_call(
444446
:keyword cognitive_services_endpoint:
445447
The identifier of the Cognitive Service resource assigned to this call.
446448
:paramtype cognitive_services_endpoint: str
449+
:keyword media_streaming: Media Streaming Options.
450+
:paramtype media_streaming: ~azure.communication.callautomation.MediaStreamingOptions
451+
or None
452+
:keyword transcription: Configuration of live transcription.
453+
:paramtype transcription: ~azure.communication.callautomation.TranscriptionOptions
454+
or None
447455
:keyword teams_app_source: The Microsoft Teams App Identifier.
448456
:paramtype teams_app_source: ~azure.communication.callautomation.MicrosoftTeamsAppIdentifier
449457
:keyword enable_loopback_audio: Enables loopback audio functionality for the call.
@@ -463,6 +471,8 @@ async def create_group_call(
463471
source_display_name=source_display_name,
464472
operation_context=operation_context,
465473
cognitive_services_endpoint=cognitive_services_endpoint,
474+
media_streaming=media_streaming,
475+
transcription=transcription,
466476
teams_app_source=teams_app_source,
467477
enable_loopback_audio=enable_loopback_audio,
468478
**kwargs,

0 commit comments

Comments
 (0)