@@ -1569,6 +1569,8 @@ class AdminRole(bb.Union):
1569
1569
1570
1570
_catch_all = 'other'
1571
1571
# Attribute is overwritten below the class definition
1572
+ billing_admin = None
1573
+ # Attribute is overwritten below the class definition
1572
1574
limited_admin = None
1573
1575
# Attribute is overwritten below the class definition
1574
1576
member_only = None
@@ -1581,6 +1583,14 @@ class AdminRole(bb.Union):
1581
1583
# Attribute is overwritten below the class definition
1582
1584
other = None
1583
1585
1586
+ def is_billing_admin(self):
1587
+ """
1588
+ Check if the union tag is ``billing_admin``.
1589
+
1590
+ :rtype: bool
1591
+ """
1592
+ return self._tag == 'billing_admin'
1593
+
1584
1594
def is_limited_admin(self):
1585
1595
"""
1586
1596
Check if the union tag is ``limited_admin``.
@@ -69352,13 +69362,15 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
69352
69362
AdminAlertingTriggeredAlertType._all_field_names_ = set(['description'])
69353
69363
AdminAlertingTriggeredAlertType._all_fields_ = [('description', AdminAlertingTriggeredAlertType.description.validator)]
69354
69364
69365
+ AdminRole._billing_admin_validator = bv.Void()
69355
69366
AdminRole._limited_admin_validator = bv.Void()
69356
69367
AdminRole._member_only_validator = bv.Void()
69357
69368
AdminRole._support_admin_validator = bv.Void()
69358
69369
AdminRole._team_admin_validator = bv.Void()
69359
69370
AdminRole._user_management_admin_validator = bv.Void()
69360
69371
AdminRole._other_validator = bv.Void()
69361
69372
AdminRole._tagmap = {
69373
+ 'billing_admin': AdminRole._billing_admin_validator,
69362
69374
'limited_admin': AdminRole._limited_admin_validator,
69363
69375
'member_only': AdminRole._member_only_validator,
69364
69376
'support_admin': AdminRole._support_admin_validator,
@@ -69367,6 +69379,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
69367
69379
'other': AdminRole._other_validator,
69368
69380
}
69369
69381
69382
+ AdminRole.billing_admin = AdminRole('billing_admin')
69370
69383
AdminRole.limited_admin = AdminRole('limited_admin')
69371
69384
AdminRole.member_only = AdminRole('member_only')
69372
69385
AdminRole.support_admin = AdminRole('support_admin')
0 commit comments