@@ -3450,6 +3450,120 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
3450
3450
3451
3451
CameraUploadsPolicyChangedType_validator = bv.Struct(CameraUploadsPolicyChangedType)
3452
3452
3453
+ class CaptureTranscriptPolicy(bb.Union):
3454
+ """
3455
+ Policy for deciding whether team users can transcription in Capture
3456
+
3457
+ This class acts as a tagged union. Only one of the ``is_*`` methods will
3458
+ return true. To get the associated value of a tag (if one exists), use the
3459
+ corresponding ``get_*`` method.
3460
+ """
3461
+
3462
+ _catch_all = 'other'
3463
+ # Attribute is overwritten below the class definition
3464
+ default = None
3465
+ # Attribute is overwritten below the class definition
3466
+ disabled = None
3467
+ # Attribute is overwritten below the class definition
3468
+ enabled = None
3469
+ # Attribute is overwritten below the class definition
3470
+ other = None
3471
+
3472
+ def is_default(self):
3473
+ """
3474
+ Check if the union tag is ``default``.
3475
+
3476
+ :rtype: bool
3477
+ """
3478
+ return self._tag == 'default'
3479
+
3480
+ def is_disabled(self):
3481
+ """
3482
+ Check if the union tag is ``disabled``.
3483
+
3484
+ :rtype: bool
3485
+ """
3486
+ return self._tag == 'disabled'
3487
+
3488
+ def is_enabled(self):
3489
+ """
3490
+ Check if the union tag is ``enabled``.
3491
+
3492
+ :rtype: bool
3493
+ """
3494
+ return self._tag == 'enabled'
3495
+
3496
+ def is_other(self):
3497
+ """
3498
+ Check if the union tag is ``other``.
3499
+
3500
+ :rtype: bool
3501
+ """
3502
+ return self._tag == 'other'
3503
+
3504
+ def _process_custom_annotations(self, annotation_type, field_path, processor):
3505
+ super(CaptureTranscriptPolicy, self)._process_custom_annotations(annotation_type, field_path, processor)
3506
+
3507
+ CaptureTranscriptPolicy_validator = bv.Union(CaptureTranscriptPolicy)
3508
+
3509
+ class CaptureTranscriptPolicyChangedDetails(bb.Struct):
3510
+ """
3511
+ Changed Capture transcription policy for team.
3512
+
3513
+ :ivar team_log.CaptureTranscriptPolicyChangedDetails.new_value: To.
3514
+ :ivar team_log.CaptureTranscriptPolicyChangedDetails.previous_value: From.
3515
+ """
3516
+
3517
+ __slots__ = [
3518
+ '_new_value_value',
3519
+ '_previous_value_value',
3520
+ ]
3521
+
3522
+ _has_required_fields = True
3523
+
3524
+ def __init__(self,
3525
+ new_value=None,
3526
+ previous_value=None):
3527
+ self._new_value_value = bb.NOT_SET
3528
+ self._previous_value_value = bb.NOT_SET
3529
+ if new_value is not None:
3530
+ self.new_value = new_value
3531
+ if previous_value is not None:
3532
+ self.previous_value = previous_value
3533
+
3534
+ # Instance attribute type: CaptureTranscriptPolicy (validator is set below)
3535
+ new_value = bb.Attribute("new_value", user_defined=True)
3536
+
3537
+ # Instance attribute type: CaptureTranscriptPolicy (validator is set below)
3538
+ previous_value = bb.Attribute("previous_value", user_defined=True)
3539
+
3540
+ def _process_custom_annotations(self, annotation_type, field_path, processor):
3541
+ super(CaptureTranscriptPolicyChangedDetails, self)._process_custom_annotations(annotation_type, field_path, processor)
3542
+
3543
+ CaptureTranscriptPolicyChangedDetails_validator = bv.Struct(CaptureTranscriptPolicyChangedDetails)
3544
+
3545
+ class CaptureTranscriptPolicyChangedType(bb.Struct):
3546
+
23DA
tr>
3547
+ __slots__ = [
3548
+ '_description_value',
3549
+ ]
3550
+
3551
+ _has_required_fields = True
3552
+
3553
+ def __init__(self,
3554
+ description=None):
3555
+ self._description_value = bb.NOT_SET
3556
+ if description is not None:
3557
+ self.description = description
3558
+
3559
+ # Instance attribute type: str (validator is set below)
3560
+ description = bb.Attribute("description")
3561
+
3562
+ def _process_custom_annotations(self, annotation_type, field_path, processor):
3563
+ super(CaptureTranscriptPolicyChangedType, self)._process_custom_annotations(annotation_type, field_path, processor)
3564
+
3565
+ CaptureTranscriptPolicyChangedType_validator = bv.Struct(CaptureTranscriptPolicyChangedType)
3566
+
3453
3567
class Certificate(bb.Struct):
3454
3568
"""
3455
3569
Certificate details.
@@ -11656,6 +11770,17 @@ def camera_uploads_policy_changed_details(cls, val):
11656
11770
"""
11657
11771
return cls('camera_uploads_policy_changed_details', val)
11658
11772
11773
+ @classmethod
11774
+ def capture_transcript_policy_changed_details(cls, val):
11775
+ """
11776
+ Create an instance of this class set to the
11777
+ ``capture_transcript_policy_changed_details`` tag with value ``val``.
11778
+
11779
+ :param CaptureTranscriptPolicyChangedDetails val:
11780
+ :rtype: EventDetails
11781
+ """
11782
+ return cls('capture_transcript_policy_changed_details', val)
11783
+
11659
11784
@classmethod
11660
11785
def classification_change_policy_details(cls, val):
11661
11786
"""
@@ -15827,6 +15952,14 @@ def is_camera_uploads_policy_changed_details(self):
15827
15952
"""
15828
15953
return self._tag == 'camera_uploads_policy_changed_details'
15829
15954
15955
+ def is_capture_transcript_policy_changed_details(self):
15956
+ """
15957
+ Check if the union tag is ``capture_transcript_policy_changed_details``.
15958
+
15959
+ :rtype: bool
15960
+ """
15961
+ return self._tag == 'capture_transcript_policy_changed_details'
15962
+
15830
15963
def is_classification_change_policy_details(self):
15831
15964
"""
15832
15965
Check if the union tag is ``classification_change_policy_details``.
@@ -20315,6 +20448,16 @@ def get_camera_uploads_policy_changed_details(self):
20315
20448
raise AttributeError("tag 'camera_uploads_policy_changed_details' not set")
20316
20449
return self._value
20317
20450
20451
+ def get_capture_transcript_policy_changed_details(self):
20452
+ """
20453
+ Only call this if :meth:`is_capture_transcript_policy_changed_details` is true.
20454
+
20455
+ :rtype: CaptureTranscriptPolicyChangedDetails
20456
+ """
20457
+ if not self.is_capture_transcript_policy_changed_details():
20458
+ raise AttributeError("tag 'capture_transcript_policy_changed_details' not set")
20459
+ return self._value
20460
+
20318
20461
def get_classification_change_policy_details(self):
20319
20462
"""
20320
20463
Only call this if :meth:`is_classification_change_policy_details` is true.
@@ -22342,6 +22485,9 @@ class EventType(bb.Union):
22342
22485
:ivar CameraUploadsPolicyChangedType
22343
22486
EventType.camera_uploads_policy_changed: (team_policies) Changed camera
22344
22487
uploads setting for team
22488
+ :ivar CaptureTranscriptPolicyChangedType
22489
+ EventType.capture_transcript_policy_changed: (team_policies) Changed
22490
+ Capture transcription policy for team
22345
22491
:ivar ClassificationChangePolicyType EventType.classification_change_policy:
22346
22492
(team_policies) Changed classification policy for team
22347
22493
:ivar ComputerBackupPolicyChangedType
@@ -26557,6 +26703,17 @@ def camera_uploads_policy_changed(cls, val):
26557
26703
"""
26558
26704
return cls('camera_uploads_policy_changed', val)
26559
26705
26706
+ @classmethod
26707
+ def capture_transcript_policy_changed(cls, val):
26708
+ """
26709
+ Create an instance of this class set to the
26710
+ ``capture_transcript_policy_changed`` tag with value ``val``.
26711
+
26712
+ :param CaptureTranscriptPolicyChangedType val:
26713
+ :rtype: EventType
26714
+ """
26715
+ return cls('capture_transcript_policy_changed', val)
26716
+
26560
26717
@classmethod
26561
26718
def classification_change_policy(cls, val):
26562
26719
"""
@@ -30696,6 +30853,14 @@ def is_camera_uploads_policy_changed(self):
30696
30853
"""
30697
30854
return self._tag == 'camera_uploads_policy_changed'
30698
30855
30856
+ def is_capture_transcript_policy_changed(self):
30857
+ """
30858
+ Check if the union tag is ``capture_transcript_policy_changed``.
30859
+
30860
+ :rtype: bool
30861
+ """
30862
+ return self._tag == 'capture_transcript_policy_changed'
30863
+
30699
30864
def is_classification_change_policy(self):
30700
30865
"""
30701
30866
Check if the union tag is ``classification_change_policy``.
@@ -35924,6 +36089,18 @@ def get_camera_uploads_policy_changed(self):
35924
36089
raise AttributeError("tag 'camera_uploads_policy_changed' not set")
35925
36090
return self._value
35926
36091
36092
+ def get_capture_transcript_policy_changed(self):
36093
+ """
36094
+ (team_policies) Changed Capture transcription policy for team
36095
+
36096
+ Only call this if :meth:`is_capture_transcript_policy_changed` is true.
36097
+
36098
+ :rtype: CaptureTranscriptPolicyChangedType
36099
+ """
36100
+ if not self.is_capture_transcript_policy_changed():
36101
+ raise AttributeError("tag 'capture_transcript_policy_changed' not set")
36102
+ return self._value
36103
+
35927
36104
def get_classification_change_policy(self):
35928
36105
"""
35929
36106
(team_policies) Changed classification policy for team
@@ -38098,6 +38275,8 @@ class EventTypeArg(bb.Union):
38098
38275
app permissions
38099
38276
:ivar team_log.EventTypeArg.camera_uploads_policy_changed: (team_policies)
38100
38277
Changed camera uploads setting for team
38278
+ :ivar team_log.EventTypeArg.capture_transcript_policy_changed:
38279
+ (team_policies) Changed Capture transcription policy for team
38101
38280
:ivar team_log.EventTypeArg.classification_change_policy: (team_policies)
38102
38281
Changed classification policy for team
38103
38282
:ivar team_log.EventTypeArg.computer_backup_policy_changed: (team_policies)
@@ -39086,6 +39265,8 @@ class EventTypeArg(bb.Union):
39086
39265
# Attribute is overwritten below the class definition
39087
39266
camera_uploads_policy_changed = None
39088
39267
# Attribute is overwritten below the class definition
39268
+ capture_transcript_policy_changed = None
39269
+ # Attribute is overwritten below the class definition
39089
39270
classification_change_policy = None
39090
39271
# Attribute is overwritten below the class definition
39091
39272
computer_backup_policy_changed = None
@@ -42142,6 +42323,14 @@ def is_camera_uploads_policy_changed(self):
42142
42323
"""
42143
42324
return self._tag == 'camera_uploads_policy_changed'
42144
42325
42326
+ def is_capture_transcript_policy_changed(self):
42327
+ """
42328
+ Check if the union tag is ``capture_transcript_policy_changed``.
42329
+
42330
+ :rtype: bool
42331
+ """
42332
+ return self._tag == 'capture_transcript_policy_changed'
42333
+
42145
42334
def is_classification_change_policy(self):
42146
42335
"""
42147
42336
Check if the union tag is ``classification_change_policy``.
@@ -72028,6 +72217,37 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
72028
72217
CameraUploadsPolicyChangedType._all_field_names_ = set(['description'])
72029
72218
CameraUploadsPolicyChangedType._all_fields_ = [('description', CameraUploadsPolicyChangedType.description.validator)]
72030
72219
72220
+ CaptureTranscriptPolicy._default_validator = bv.Void()
72221
+ CaptureTranscriptPolicy._disabled_validator = bv.Void()
72222
+ CaptureTranscriptPolicy._enabled_validator = bv.Void()
72223
+ CaptureTranscriptPolicy._other_validator = bv.Void()
72224
+ CaptureTranscriptPolicy._tagmap = {
72225
+ 'default': CaptureTranscriptPolicy._default_validator,
72226
+ 'disabled': CaptureTranscriptPolicy._disabled_validator,
72227
+ 'enabled': CaptureTranscriptPolicy._enabled_validator,
72228
+ 'other': CaptureTranscriptPolicy._other_validator,
72229
+ }
72230
+
72231
+ CaptureTranscriptPolicy.default = CaptureTranscriptPolicy('default')
72232
+ CaptureTranscriptPo
F438
licy.disabled = CaptureTranscriptPolicy('disabled')
72233
+ CaptureTranscriptPolicy.enabled = CaptureTranscriptPolicy('enabled')
72234
+ CaptureTranscriptPolicy.other = CaptureTranscriptPolicy('other')
72235
+
72236
+ CaptureTranscriptPolicyChangedDetails.new_value.validator = CaptureTranscriptPolicy_validator
72237
+ CaptureTranscriptPolicyChangedDetails.previous_value.validator = CaptureTranscriptPolicy_validator
72238
+ CaptureTranscriptPolicyChangedDetails._all_field_names_ = set([
72239
+ 'new_value',
72240
+ 'previous_value',
72241
+ ])
72242
+ CaptureTranscriptPolicyChangedDetails._all_fields_ = [
72243
+ ('new_value', CaptureTranscriptPolicyChangedDetails.new_value.validator),
72244
+ ('previous_value', CaptureTranscriptPolicyChangedDetails.previous_value.validator),
72245
+ ]
72246
+
72247
+ CaptureTranscriptPolicyChangedType.description.validator = bv.String()
72248
+ CaptureTranscriptPolicyChangedType._all_field_names_ = set(['description'])
72249
+ CaptureTranscriptPolicyChangedType._all_fields_ = [('description', CaptureTranscriptPolicyChangedType.description.validator)]
72250
+
72031
72251
Certificate.subject.validator = bv.String()
72032
72252
Certificate.issuer.validator = bv.String()
72033
72253
Certificate.issue_date.validator = bv.String()
@@ -73376,6 +73596,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
73376
73596
EventDetails._allow_download_enabled_details_validator = AllowDownloadEnabledDetails_validator
73377
73597
EventDetails._app_permissions_changed_details_validator = AppPermissionsChangedDetails_validator
73378
73598
EventDetails._camera_uploads_policy_changed_details_validator = CameraUploadsPolicyChangedDetails_validator
73599
+ EventDetails._capture_transcript_policy_changed_details_validator = CaptureTranscriptPolicyChangedDetails_validator
73379
73600
EventDetails._classification_change_policy_details_validator = ClassificationChangePolicyDetails_validator
73380
73601
EventDetails._computer_backup_policy_changed_details_validator = ComputerBackupPolicyChangedDetails_validator
73381
73602
EventDetails._content_administration_policy_changed_details_validator = ContentAdministrationPolicyChangedDetails_validator
@@ -73850,6 +74071,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
73850
74071
'allow_download_enabled_details': EventDetails._allow_download_enabled_details_validator,
73851
74072
'app_permissions_changed_details': EventDetails._app_permissions_changed_details_validator,
73852
74073
'camera_uploads_policy_changed_details': EventDetails._camera_uploads_policy_changed_details_validator,
74074
+ 'capture_transcript_policy_changed_details': EventDetails._capture_transcript_policy_changed_details_validator,
73853
74075
'classification_change_policy_details': EventDetails._classification_change_policy_details_validator,
73854
74076
'computer_backup_policy_changed_details': EventDetails._computer_backup_policy_changed_details_validator,
73855
74077
'content_administration_policy_changed_details': EventDetails._content_administration_policy_changed_details_validator,
@@ -74327,6 +74549,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
74327
74549
EventType._allow_download_enabled_validator = AllowDownloadEnabledType_validator
74328
74550
EventType._app_permissions_changed_validator = AppPermissionsChangedType_validator
74329
74551
EventType._camera_uploads_policy_changed_validator = CameraUploadsPolicyChangedType_validator
74552
+ EventType._capture_transcript_policy_changed_validator = CaptureTranscriptPolicyChangedType_validator
74330
74553
EventType._classification_change_policy_validator = ClassificationChangePolicyType_validator
74331
74554
EventType._computer_backup_policy_changed_validator = ComputerBackupPolicyChangedType_validator
74332
74555
EventType._content_administration_policy_changed_validator = ContentAdministrationPolicyChangedType_validator
@@ -74800,6 +75023,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
74800
75023
'allow_download_enabled': EventType._allow_download_enabled_validator,
74801
75024
'app_permissions_changed': EventType._app_permissions_changed_validator,
74802
75025
'camera_uploads_policy_changed': EventType._camera_uploads_policy_changed_validator,
75026
+ 'capture_transcript_policy_changed': EventType._capture_transcript_policy_changed_validator,
74803
75027
'classification_change_policy': EventType._classification_change_policy_validator,
74804
75028
'computer_backup_policy_changed': EventType._computer_backup_policy_changed_validator,
74805
75029
'content_administration_policy_changed': EventType._content_administration_policy_changed_validator,
@@ -75276,6 +75500,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
75276
75500
EventTypeArg._allow_download_enabled_validator = bv.Void()
75277
75501
EventTypeArg._app_permissions_changed_validator = bv.Void()
75278
75502
EventTypeArg._camera_uploads_policy_changed_validator = bv.Void()
75503
+ EventTypeArg._capture_transcript_policy_changed_validator = bv.Void()
75279
75504
EventTypeArg._classification_change_policy_validator = bv.Void()
75280
75505
EventTypeArg._computer_backup_policy_changed_validator = bv.Void()
75281
75506
EventTypeArg._content_administration_policy_changed_validator = bv.Void()
@@ -75749,6 +75974,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
75749
75974
'allow_download_enabled': EventTypeArg._allow_download_enabled_validator,
75750
75975
'app_permissions_changed': EventTypeArg._app_permissions_changed_validator,
75751
75976
'camera_uploads_policy_changed': EventTypeArg._camera_uploads_policy_changed_validator,
75977
+ 'capture_transcript_policy_changed': EventTypeArg._capture_transcript_policy_changed_validator,
75752
75978
'classification_change_policy': EventTypeArg._classification_change_policy_validator,
75753
75979
'computer_backup_policy_changed': EventTypeArg._computer_backup_policy_changed_validator,
75754
75980
'content_administration_policy_changed': EventTypeArg._content_administration_policy_changed_validator,
@@ -76223,6 +76449,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
76223
76449
EventTypeArg.allow_download_enabled = EventTypeArg('allow_download_enabled')
76224
76450
EventTypeArg.app_permissions_changed = EventTypeArg('app_permissions_changed')
76225
76451
EventTypeArg.camera_uploads_policy_changed = EventTypeArg('camera_uploads_policy_changed')
76452
+ EventTypeArg.capture_transcript_policy_changed = EventTypeArg('capture_transcript_policy_changed')
76226
76453
EventTypeArg.classification_change_policy = EventTypeArg('classification_change_policy')
76227
76454
EventTypeArg.computer_backup_policy_changed = EventTypeArg('computer_backup_policy_changed')
76228
76455
EventTypeArg.content_administration_policy_changed = EventTypeArg('content_administration_policy_changed')
0 commit comments