Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Jul 4, 2024
1 parent ab331cb commit 281b477
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 868 deletions.
47 changes: 14 additions & 33 deletions google/identity/accesscontextmanager/type/device_resources_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/identity/accesscontextmanager/type/device_resources.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

Expand All @@ -33,37 +31,20 @@
b"\n@google/identity/accesscontextmanager/type/device_resources.proto\x12)google.identity.accesscontextmanager.type*p\n\x16\x44\x65viceEncryptionStatus\x12\x1a\n\x16\x45NCRYPTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x45NCRYPTION_UNSUPPORTED\x10\x01\x12\x0f\n\x0bUNENCRYPTED\x10\x02\x12\r\n\tENCRYPTED\x10\x03*\x82\x01\n\x06OsType\x12\x12\n\x0eOS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x44\x45SKTOP_MAC\x10\x01\x12\x13\n\x0f\x44\x45SKTOP_WINDOWS\x10\x02\x12\x11\n\rDESKTOP_LINUX\x10\x03\x12\x15\n\x11\x44\x45SKTOP_CHROME_OS\x10\x06\x12\x0b\n\x07\x41NDROID\x10\x04\x12\x07\n\x03IOS\x10\x05*V\n\x15\x44\x65viceManagementLevel\x12\x1a\n\x16MANAGEMENT_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x12\x0c\n\x08\x43OMPLETE\x10\x03\x42\x8d\x02\n-com.google.identity.accesscontextmanager.typeB\tTypeProtoP\x01ZHgoogle.golang.org/genproto/googleapis/identity/accesscontextmanager/type\xaa\x02)Google.Identity.AccessContextManager.Type\xca\x02)Google\\Identity\\AccessContextManager\\Type\xea\x02,Google::Identity::AccessContextManager::Typeb\x06proto3"
)

_DEVICEENCRYPTIONSTATUS = DESCRIPTOR.enum_types_by_name["DeviceEncryptionStatus"]
DeviceEncryptionStatus = enum_type_wrapper.EnumTypeWrapper(_DEVICEENCRYPTIONSTATUS)
_OSTYPE = DESCRIPTOR.enum_types_by_name["OsType"]
OsType = enum_type_wrapper.EnumTypeWrapper(_OSTYPE)
_DEVICEMANAGEMENTLEVEL = DESCRIPTOR.enum_types_by_name["DeviceManagementLevel"]
DeviceManagementLevel = enum_type_wrapper.EnumTypeWrapper(_DEVICEMANAGEMENTLEVEL)
ENCRYPTION_UNSPECIFIED = 0
ENCRYPTION_UNSUPPORTED = 1
UNENCRYPTED = 2
ENCRYPTED = 3
OS_UNSPECIFIED = 0
DESKTOP_MAC = 1
DESKTOP_WINDOWS = 2
DESKTOP_LINUX = 3
DESKTOP_CHROME_OS = 6
ANDROID = 4
IOS = 5
MANAGEMENT_UNSPECIFIED = 0
NONE = 1
BASIC = 2
COMPLETE = 3


_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(
DESCRIPTOR,
"google.identity.accesscontextmanager.type.device_resources_pb2",
_globals,
)
if _descriptor._USE_C_DESCRIPTORS == False:

DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n-com.google.identity.accesscontextmanager.typeB\tTypeProtoP\001ZHgoogle.golang.org/genproto/googleapis/identity/accesscontextmanager/type\252\002)Google.Identity.AccessContextManager.Type\312\002)Google\\Identity\\AccessContextManager\\Type\352\002,Google::Identity::AccessContextManager::Type"
_DEVICEENCRYPTIONSTATUS._serialized_start = 111
_DEVICEENCRYPTIONSTATUS._serialized_end = 223
_OSTYPE._serialized_start = 226
_OSTYPE._serialized_end = 356
_DEVICEMANAGEMENTLEVEL._serialized_start = 358
_DEVICEMANAGEMENTLEVEL._serialized_end = 444
_globals["_DEVICEENCRYPTIONSTATUS"]._serialized_start = 111
_globals["_DEVICEENCRYPTIONSTATUS"]._serialized_end = 223
_globals["_OSTYPE"]._serialized_start = 226
_globals["_OSTYPE"]._serialized_end = 356
_globals["_DEVICEMANAGEMENTLEVEL"]._serialized_start = 358
_globals["_DEVICEMANAGEMENTLEVEL"]._serialized_end = 444
# @@protoc_insertion_point(module_scope)
616 changes: 96 additions & 520 deletions google/identity/accesscontextmanager/v1/access_context_manager_pb2.py

Large diffs are not rendered by default.

111 changes: 19 additions & 92 deletions google/identity/accesscontextmanager/v1/access_level_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

Expand All @@ -40,100 +39,28 @@
b'\n:google/identity/accesscontextmanager/v1/access_level.proto\x12\'google.identity.accesscontextmanager.v1\x1a\x19google/api/resource.proto\x1a@google/identity/accesscontextmanager/type/device_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/expr.proto"\xaa\x03\n\x0b\x41\x63\x63\x65ssLevel\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05\x62\x61sic\x18\x04 \x01(\x0b\x32\x33.google.identity.accesscontextmanager.v1.BasicLevelH\x00\x12\x46\n\x06\x63ustom\x18\x05 \x01(\x0b\x32\x34.google.identity.accesscontextmanager.v1.CustomLevelH\x00\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:p\xea\x41m\n/accesscontextmanager.googleapis.com/AccessLevel\x12:accessPolicies/{access_policy}/accessLevels/{access_level}B\x07\n\x05level"\xef\x01\n\nBasicLevel\x12\x46\n\nconditions\x18\x01 \x03(\x0b\x32\x32.google.identity.accesscontextmanager.v1.Condition\x12j\n\x12\x63ombining_function\x18\x02 \x01(\x0e\x32N.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction"-\n\x1a\x43onditionCombiningFunction\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01"\xc3\x01\n\tCondition\x12\x16\n\x0eip_subnetworks\x18\x01 \x03(\t\x12L\n\rdevice_policy\x18\x02 \x01(\x0b\x32\x35.google.identity.accesscontextmanager.v1.DevicePolicy\x12\x1e\n\x16required_access_levels\x18\x03 \x03(\t\x12\x0e\n\x06negate\x18\x05 \x01(\x08\x12\x0f\n\x07members\x18\x06 \x03(\t\x12\x0f\n\x07regions\x18\x07 \x03(\t".\n\x0b\x43ustomLevel\x12\x1f\n\x04\x65xpr\x18\x01 \x01(\x0b\x32\x11.google.type.Expr"\x89\x03\n\x0c\x44\x65vicePolicy\x12\x1a\n\x12require_screenlock\x18\x01 \x01(\x08\x12\x66\n\x1b\x61llowed_encryption_statuses\x18\x02 \x03(\x0e\x32\x41.google.identity.accesscontextmanager.type.DeviceEncryptionStatus\x12M\n\x0eos_constraints\x18\x03 \x03(\x0b\x32\x35.google.identity.accesscontextmanager.v1.OsConstraint\x12j\n allowed_device_management_levels\x18\x06 \x03(\x0e\x32@.google.identity.accesscontextmanager.type.DeviceManagementLevel\x12\x1e\n\x16require_admin_approval\x18\x07 \x01(\x08\x12\x1a\n\x12require_corp_owned\x18\x08 \x01(\x08"\x8f\x01\n\x0cOsConstraint\x12\x42\n\x07os_type\x18\x01 \x01(\x0e\x32\x31.google.identity.accesscontextmanager.type.OsType\x12\x17\n\x0fminimum_version\x18\x02 \x01(\t\x12"\n\x1arequire_verified_chrome_os\x18\x03 \x01(\x08\x42\xa7\x02\n+com.google.identity.accesscontextmanager.v1B\x10\x41\x63\x63\x65ssLevelProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02\'Google.Identity.AccessContextManager.V1\xca\x02\'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3'
)


_ACCESSLEVEL = DESCRIPTOR.message_types_by_name["AccessLevel"]
_BASICLEVEL = DESCRIPTOR.message_types_by_name["BasicLevel"]
_CONDITION = DESCRIPTOR.message_types_by_name["Condition"]
_CUSTOMLEVEL = DESCRIPTOR.message_types_by_name["CustomLevel"]
_DEVICEPOLICY = DESCRIPTOR.message_types_by_name["DevicePolicy"]
_OSCONSTRAINT = DESCRIPTOR.message_types_by_name["OsConstraint"]
_BASICLEVEL_CONDITIONCOMBININGFUNCTION = _BASICLEVEL.enum_types_by_name[
"ConditionCombiningFunction"
]
AccessLevel = _reflection.GeneratedProtocolMessageType(
"AccessLevel",
(_message.Message,),
{
"DESCRIPTOR": _ACCESSLEVEL,
"__module__": "google.identity.accesscontextmanager.v1.access_level_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.AccessLevel)
},
)
_sym_db.RegisterMessage(AccessLevel)

BasicLevel = _reflection.GeneratedProtocolMessageType(
"BasicLevel",
(_message.Message,),
{
"DESCRIPTOR": _BASICLEVEL,
"__module__": "google.identity.accesscontextmanager.v1.access_level_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.BasicLevel)
},
)
_sym_db.RegisterMessage(BasicLevel)

Condition = _reflection.GeneratedProtocolMessageType(
"Condition",
(_message.Message,),
{
"DESCRIPTOR": _CONDITION,
"__module__": "google.identity.accesscontextmanager.v1.access_level_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.Condition)
},
)
_sym_db.RegisterMessage(Condition)

CustomLevel = _reflection.GeneratedProtocolMessageType(
"CustomLevel",
(_message.Message,),
{
"DESCRIPTOR": _CUSTOMLEVEL,
"__module__": "google.identity.accesscontextmanager.v1.access_level_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.CustomLevel)
},
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(
DESCRIPTOR, "google.identity.accesscontextmanager.v1.access_level_pb2", _globals
)
_sym_db.RegisterMessage(CustomLevel)

DevicePolicy = _reflection.GeneratedProtocolMessageType(
"DevicePolicy",
(_message.Message,),
{
"DESCRIPTOR": _DEVICEPOLICY,
"__module__": "google.identity.accesscontextmanager.v1.access_level_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.DevicePolicy)
},
)
_sym_db.RegisterMessage(DevicePolicy)

OsConstraint = _reflection.GeneratedProtocolMessageType(
"OsConstraint",
(_message.Message,),
{
"DESCRIPTOR": _OSCONSTRAINT,
"__module__": "google.identity.accesscontextmanager.v1.access_level_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.OsConstraint)
},
)
_sym_db.RegisterMessage(OsConstraint)

if _descriptor._USE_C_DESCRIPTORS == False:

DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n+com.google.identity.accesscontextmanager.v1B\020AccessLevelProtoP\001Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\242\002\004GACM\252\002'Google.Identity.AccessContextManager.V1\312\002'Google\\Identity\\AccessContextManager\\V1\352\002*Google::Identity::AccessContextManager::V1"
_ACCESSLEVEL._options = None
_ACCESSLEVEL._serialized_options = b"\352Am\n/accesscontextmanager.googleapis.com/AccessLevel\022:accessPolicies/{access_policy}/accessLevels/{access_level}"
_ACCESSLEVEL._serialized_start = 254
_ACCESSLEVEL._serialized_end = 680
_BASICLEVEL._serialized_start = 683
_BASICLEVEL._serialized_end = 922
_BASICLEVEL_CONDITIONCOMBININGFUNCTION._serialized_start = 877
_BASICLEVEL_CONDITIONCOMBININGFUNCTION._serialized_end = 922
_CONDITION._serialized_start = 925
_CONDITION._serialized_end = 1120
_CUSTOMLEVEL._serialized_start = 1122
_CUSTOMLEVEL._serialized_end = 1168
_DEVICEPOLICY._serialized_start = 1171
_DEVICEPOLICY._serialized_end = 1564
_OSCONSTRAINT._serialized_start = 1567
_OSCONSTRAINT._serialized_end = 1710
_globals["_ACCESSLEVEL"]._serialized_start = 254
_globals["_ACCESSLEVEL"]._serialized_end = 680
_globals["_BASICLEVEL"]._serialized_start = 683
_globals["_BASICLEVEL"]._serialized_end = 922
_globals["_BASICLEVEL_CONDITIONCOMBININGFUNCTION"]._serialized_start = 877
_globals["_BASICLEVEL_CONDITIONCOMBININGFUNCTION"]._serialized_end = 922
_globals["_CONDITION"]._serialized_start = 925
_globals["_CONDITION"]._serialized_end = 1120
_globals["_CUSTOMLEVEL"]._serialized_start = 1122
_globals["_CUSTOMLEVEL"]._serialized_end = 1168
_globals["_DEVICEPOLICY"]._serialized_start = 1171
_globals["_DEVICEPOLICY"]._serialized_end = 1564
_globals["_OSCONSTRAINT"]._serialized_start = 1567
_globals["_OSCONSTRAINT"]._serialized_end = 1710
# @@protoc_insertion_point(module_scope)
24 changes: 7 additions & 17 deletions google/identity/accesscontextmanager/v1/access_policy_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

Expand All @@ -36,25 +35,16 @@
b"\n;google/identity/accesscontextmanager/v1/access_policy.proto\x12'google.identity.accesscontextmanager.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x92\x02\n\x0c\x41\x63\x63\x65ssPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0e\n\x06scopes\x18\x07 \x03(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t:U\xea\x41R\n0accesscontextmanager.googleapis.com/AccessPolicy\x12\x1e\x61\x63\x63\x65ssPolicies/{access_policy}B\xa2\x02\n+com.google.identity.accesscontextmanager.v1B\x0bPolicyProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02'Google.Identity.AccessContextManager.V1\xca\x02'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3"
)


_ACCESSPOLICY = DESCRIPTOR.message_types_by_name["AccessPolicy"]
AccessPolicy = _reflection.GeneratedProtocolMessageType(
"AccessPolicy",
(_message.Message,),
{
"DESCRIPTOR": _ACCESSPOLICY,
"__module__": "google.identity.accesscontextmanager.v1.access_policy_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.AccessPolicy)
},
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(
DESCRIPTOR, "google.identity.accesscontextmanager.v1.access_policy_pb2", _globals
)
_sym_db.RegisterMessage(AccessPolicy)

if _descriptor._USE_C_DESCRIPTORS == False:

DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n+com.google.identity.accesscontextmanager.v1B\013PolicyProtoP\001Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\242\002\004GACM\252\002'Google.Identity.AccessContextManager.V1\312\002'Google\\Identity\\AccessContextManager\\V1\352\002*Google::Identity::AccessContextManager::V1"
_ACCESSPOLICY._options = None
_ACCESSPOLICY._serialized_options = b"\352AR\n0accesscontextmanager.googleapis.com/AccessPolicy\022\036accessPolicies/{access_policy}"
_ACCESSPOLICY._serialized_start = 165
_ACCESSPOLICY._serialized_end = 439
_globals["_ACCESSPOLICY"]._serialized_start = 165
_globals["_ACCESSPOLICY"]._serialized_end = 439
# @@protoc_insertion_point(module_scope)
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

Expand All @@ -36,21 +35,14 @@
b"\nEgoogle/identity/accesscontextmanager/v1/gcp_user_access_binding.proto\x12'google.identity.accesscontextmanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xa3\x02\n\x14GcpUserAccessBinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\tgroup_key\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12N\n\raccess_levels\x18\x03 \x03(\tB7\xe0\x41\x02\xfa\x41\x31\n/accesscontextmanager.googleapis.com/AccessLevel:\x8c\x01\xea\x41\x88\x01\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\x12Lorganizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}B\xb0\x02\n+com.google.identity.accesscontextmanager.v1B\x19GcpUserAccessBindingProtoP\x01Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\xa2\x02\x04GACM\xaa\x02'Google.Identity.AccessContextManager.V1\xca\x02'Google\\Identity\\AccessContextManager\\V1\xea\x02*Google::Identity::AccessContextManager::V1b\x06proto3"
)


_GCPUSERACCESSBINDING = DESCRIPTOR.message_types_by_name["GcpUserAccessBinding"]
GcpUserAccessBinding = _reflection.GeneratedProtocolMessageType(
"GcpUserAccessBinding",
(_message.Message,),
{
"DESCRIPTOR": _GCPUSERACCESSBINDING,
"__module__": "google.identity.accesscontextmanager.v1.gcp_user_access_binding_pb2"
# @@protoc_insertion_point(class_scope:google.identity.accesscontextmanager.v1.GcpUserAccessBinding)
},
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(
DESCRIPTOR,
"google.identity.accesscontextmanager.v1.gcp_user_access_binding_pb2",
_globals,
)
_sym_db.RegisterMessage(GcpUserAccessBinding)

if _descriptor._USE_C_DESCRIPTORS == False:

DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n+com.google.identity.accesscontextmanager.v1B\031GcpUserAccessBindingProtoP\001Z\\cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb\242\002\004GACM\252\002'Google.Identity.AccessContextManager.V1\312\002'Google\\Identity\\AccessContextManager\\V1\352\002*Google::Identity::AccessContextManager::V1"
_GCPUSERACCESSBINDING.fields_by_name["name"]._options = None
Expand All @@ -67,6 +59,6 @@
)
_GCPUSERACCESSBINDING._options = None
_GCPUSERACCESSBINDING._serialized_options = b"\352A\210\001\n8accesscontextmanager.googleapis.com/GcpUserAccessBinding\022Lorganizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}"
_GCPUSERACCESSBINDING._serialized_start = 175
_GCPUSERACCESSBINDING._serialized_end = 466
_globals["_GCPUSERACCESSBINDING"]._serialized_start = 175
_globals["_GCPUSERACCESSBINDING"]._serialized_end = 466
# @@protoc_insertion_point(module_scope)
Loading

0 comments on commit 281b477

Please sign in to comment.