@@ -3450,6 +3450,120 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
34503450
34513451CameraUploadsPolicyChangedType_validator = bv.Struct(CameraUploadsPolicyChangedType)
34523452
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+
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+
34533567class Certificate(bb.Struct):
34543568 """
34553569 Certificate details.
@@ -11656,6 +11770,17 @@ def camera_uploads_policy_changed_details(cls, val):
1165611770 """
1165711771 return cls('camera_uploads_policy_changed_details', val)
1165811772
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+
1165911784 @classmethod
1166011785 def classification_change_policy_details(cls, val):
1166111786 """
@@ -15827,6 +15952,14 @@ def is_camera_uploads_policy_changed_details(self):
1582715952 """
1582815953 return self._tag == 'camera_uploads_policy_changed_details'
1582915954
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+
1583015963 def is_classification_change_policy_details(self):
1583115964 """
1583215965 Check if the union tag is ``classification_change_policy_details``.
@@ -20315,6 +20448,16 @@ def get_camera_uploads_policy_changed_details(self):
2031520448 raise AttributeError("tag 'camera_uploads_policy_changed_details' not set")
2031620449 return self._value
2031720450
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+
2031820461 def get_classification_change_policy_details(self):
2031920462 """
2032020463 Only call this if :meth:`is_classification_change_policy_details` is true.
@@ -22342,6 +22485,9 @@ class EventType(bb.Union):
2234222485 :ivar CameraUploadsPolicyChangedType
2234322486 EventType.camera_uploads_policy_changed: (team_policies) Changed camera
2234422487 uploads setting for team
22488+ :ivar CaptureTranscriptPolicyChangedType
22489+ EventType.capture_transcript_policy_changed: (team_policies) Changed
22490+ Capture transcription policy for team
2234522491 :ivar ClassificationChangePolicyType EventType.classification_change_policy:
2234622492 (team_policies) Changed classification policy for team
2234722493 :ivar ComputerBackupPolicyChangedType
@@ -26557,6 +26703,17 @@ def camera_uploads_policy_changed(cls, val):
2655726703 """
2655826704 return cls('camera_uploads_policy_changed', val)
2655926705
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+
2656026717 @classmethod
2656126718 def classification_change_policy(cls, val):
2656226719 """
@@ -30696,6 +30853,14 @@ def is_camera_uploads_policy_changed(self):
3069630853 """
3069730854 return self._tag == 'camera_uploads_policy_changed'
3069830855
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+
3069930864 def is_classification_change_policy(self):
3070030865 """
3070130866 Check if the union tag is ``classification_change_policy``.
@@ -35924,6 +36089,18 @@ def get_camera_uploads_policy_changed(self):
3592436089 raise AttributeError("tag 'camera_uploads_policy_changed' not set")
3592536090 return self._value
3592636091
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+
3592736104 def get_classification_change_policy(self):
3592836105 """
3592936106 (team_policies) Changed classification policy for team
@@ -38098,6 +38275,8 @@ class EventTypeArg(bb.Union):
3809838275 app permissions
3809938276 :ivar team_log.EventTypeArg.camera_uploads_policy_changed: (team_policies)
3810038277 Changed camera uploads setting for team
38278+ :ivar team_log.EventTypeArg.capture_transcript_policy_changed:
38279+ (team_policies) Changed Capture transcription policy for team
3810138280 :ivar team_log.EventTypeArg.classification_change_policy: (team_policies)
3810238281 Changed classification policy for team
3810338282 :ivar team_log.EventTypeArg.computer_backup_policy_changed: (team_policies)
@@ -39086,6 +39265,8 @@ class EventTypeArg(bb.Union):
3908639265 # Attribute is overwritten below the class definition
3908739266 camera_uploads_policy_changed = None
3908839267 # Attribute is overwritten below the class definition
39268+ capture_transcript_policy_changed = None
39269+ # Attribute is overwritten below the class definition
3908939270 classification_change_policy = None
3909039271 # Attribute is overwritten below the class definition
3909139272 computer_backup_policy_changed = None
@@ -42142,6 +42323,14 @@ def is_camera_uploads_policy_changed(self):
4214242323 """
4214342324 return self._tag == 'camera_uploads_policy_changed'
4214442325
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+
4214542334 def is_classification_change_policy(self):
4214642335 """
4214742336 Check if the union tag is ``classification_change_policy``.
@@ -72028,6 +72217,37 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7202872217CameraUploadsPolicyChangedType._all_field_names_ = set(['description'])
7202972218CameraUploadsPolicyChangedType._all_fields_ = [('description', CameraUploadsPolicyChangedType.description.validator)]
7203072219
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+ CaptureTranscriptPolicy.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+
7203172251Certificate.subject.validator = bv.String()
7203272252Certificate.issuer.validator = bv.String()
7203372253Certificate.issue_date.validator = bv.String()
@@ -73376,6 +73596,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7337673596EventDetails._allow_download_enabled_details_validator = AllowDownloadEnabledDetails_validator
7337773597EventDetails._app_permissions_changed_details_validator = AppPermissionsChangedDetails_validator
7337873598EventDetails._camera_uploads_policy_changed_details_validator = CameraUploadsPolicyChangedDetails_validator
73599+ EventDetails._capture_transcript_policy_changed_details_validator = CaptureTranscriptPolicyChangedDetails_validator
7337973600EventDetails._classification_change_policy_details_validator = ClassificationChangePolicyDetails_validator
7338073601EventDetails._computer_backup_policy_changed_details_validator = ComputerBackupPolicyChangedDetails_validator
7338173602EventDetails._content_administration_policy_changed_details_validator = ContentAdministrationPolicyChangedDetails_validator
@@ -73850,6 +74071,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7385074071 'allow_download_enabled_details': EventDetails._allow_download_enabled_details_validator,
7385174072 'app_permissions_changed_details': EventDetails._app_permissions_changed_details_validator,
7385274073 '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,
7385374075 'classification_change_policy_details': EventDetails._classification_change_policy_details_validator,
7385474076 'computer_backup_policy_changed_details': EventDetails._computer_backup_policy_changed_details_validator,
7385574077 '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):
7432774549EventType._allow_download_enabled_validator = AllowDownloadEnabledType_validator
7432874550EventType._app_permissions_changed_validator = AppPermissionsChangedType_validator
7432974551EventType._camera_uploads_policy_changed_validator = CameraUploadsPolicyChangedType_validator
74552+ EventType._capture_transcript_policy_changed_validator = CaptureTranscriptPolicyChangedType_validator
7433074553EventType._classification_change_policy_validator = ClassificationChangePolicyType_validator
7433174554EventType._computer_backup_policy_changed_validator = ComputerBackupPolicyChangedType_validator
7433274555EventType._content_administration_policy_changed_validator = ContentAdministrationPolicyChangedType_validator
@@ -74800,6 +75023,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7480075023 'allow_download_enabled': EventType._allow_download_enabled_validator,
7480175024 'app_permissions_changed': EventType._app_permissions_changed_validator,
7480275025 'camera_uploads_policy_changed': EventType._camera_uploads_policy_changed_validator,
75026+ 'capture_transcript_policy_changed': EventType._capture_transcript_policy_changed_validator,
7480375027 'classification_change_policy': EventType._classification_change_policy_validator,
7480475028 'computer_backup_policy_changed': EventType._computer_backup_policy_changed_validator,
7480575029 'content_administration_policy_changed': EventType._content_administration_policy_changed_validator,
@@ -75276,6 +75500,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7527675500EventTypeArg._allow_download_enabled_validator = bv.Void()
7527775501EventTypeArg._app_permissions_changed_validator = bv.Void()
7527875502EventTypeArg._camera_uploads_policy_changed_validator = bv.Void()
75503+ EventTypeArg._capture_transcript_policy_changed_validator = bv.Void()
7527975504EventTypeArg._classification_change_policy_validator = bv.Void()
7528075505EventTypeArg._computer_backup_policy_changed_validator = bv.Void()
7528175506EventTypeArg._content_administration_policy_changed_validator = bv.Void()
@@ -75749,6 +75974,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7574975974 'allow_download_enabled': EventTypeArg._allow_download_enabled_validator,
7575075975 'app_permissions_changed': EventTypeArg._app_permissions_changed_validator,
7575175976 'camera_uploads_policy_changed': EventTypeArg._camera_uploads_policy_changed_validator,
75977+ 'capture_transcript_policy_changed': EventTypeArg._capture_transcript_policy_changed_validator,
7575275978 'classification_change_policy': EventTypeArg._classification_change_policy_validator,
7575375979 'computer_backup_policy_changed': EventTypeArg._computer_backup_policy_changed_validator,
7575475980 'content_administration_policy_changed': EventTypeArg._content_administration_policy_changed_validator,
@@ -76223,6 +76449,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7622376449EventTypeArg.allow_download_enabled = EventTypeArg('allow_download_enabled')
7622476450EventTypeArg.app_permissions_changed = EventTypeArg('app_permissions_changed')
7622576451EventTypeArg.camera_uploads_policy_changed = EventTypeArg('camera_uploads_policy_changed')
76452+ EventTypeArg.capture_transcript_policy_changed = EventTypeArg('capture_transcript_policy_changed')
7622676453EventTypeArg.classification_change_policy = EventTypeArg('classification_change_policy')
7622776454EventTypeArg.computer_backup_policy_changed = EventTypeArg('computer_backup_policy_changed')
7622876455EventTypeArg.content_administration_policy_changed = EventTypeArg('content_administration_policy_changed')
0 commit comments