diff --git a/google/iam/v1/iam_policy_pb2.py b/google/iam/v1/iam_policy_pb2.py index f92bc8e..2a05ba8 100644 --- a/google/iam/v1/iam_policy_pb2.py +++ b/google/iam/v1/iam_policy_pb2.py @@ -17,9 +17,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/iam/v1/iam_policy.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder 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 # @@protoc_insertion_point(imports) @@ -40,10 +41,60 @@ b'\n\x1egoogle/iam/v1/iam_policy.proto\x12\rgoogle.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/iam/v1/options.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a google/protobuf/field_mask.proto"\x8f\x01\n\x13SetIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12*\n\x06policy\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.PolicyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"d\n\x13GetIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x30\n\x07options\x18\x02 \x01(\x0b\x32\x1f.google.iam.v1.GetPolicyOptions"R\n\x19TestIamPermissionsRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x18\n\x0bpermissions\x18\x02 \x03(\tB\x03\xe0\x41\x02"1\n\x1aTestIamPermissionsResponse\x12\x13\n\x0bpermissions\x18\x01 \x03(\t2\xb4\x03\n\tIAMPolicy\x12t\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy")\x82\xd3\xe4\x93\x02#"\x1e/v1/{resource=**}:setIamPolicy:\x01*\x12t\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy")\x82\xd3\xe4\x93\x02#"\x1e/v1/{resource=**}:getIamPolicy:\x01*\x12\x9a\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"/\x82\xd3\xe4\x93\x02)"$/v1/{resource=**}:testIamPermissions:\x01*\x1a\x1e\xca\x41\x1biam-meta-api.googleapis.comB\x86\x01\n\x11\x63om.google.iam.v1B\x0eIamPolicyProtoP\x01Z0google.golang.org/genproto/googleapis/iam/v1;iam\xf8\x01\x01\xaa\x02\x13Google.Cloud.Iam.V1\xca\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3' ) -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "google.iam.v1.iam_policy_pb2", globals() + +_SETIAMPOLICYREQUEST = DESCRIPTOR.message_types_by_name["SetIamPolicyRequest"] +_GETIAMPOLICYREQUEST = DESCRIPTOR.message_types_by_name["GetIamPolicyRequest"] +_TESTIAMPERMISSIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "TestIamPermissionsRequest" +] +_TESTIAMPERMISSIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "TestIamPermissionsResponse" +] +SetIamPolicyRequest = _reflection.GeneratedProtocolMessageType( + "SetIamPolicyRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETIAMPOLICYREQUEST, + "__module__": "google.iam.v1.iam_policy_pb2" + # @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest) + }, +) +_sym_db.RegisterMessage(SetIamPolicyRequest) + +GetIamPolicyRequest = _reflection.GeneratedProtocolMessageType( + "GetIamPolicyRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETIAMPOLICYREQUEST, + "__module__": "google.iam.v1.iam_policy_pb2" + # @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest) + }, +) +_sym_db.RegisterMessage(GetIamPolicyRequest) + +TestIamPermissionsRequest = _reflection.GeneratedProtocolMessageType( + "TestIamPermissionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _TESTIAMPERMISSIONSREQUEST, + "__module__": "google.iam.v1.iam_policy_pb2" + # @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) + }, +) +_sym_db.RegisterMessage(TestIamPermissionsRequest) + +TestIamPermissionsResponse = _reflection.GeneratedProtocolMessageType( + "TestIamPermissionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _TESTIAMPERMISSIONSRESPONSE, + "__module__": "google.iam.v1.iam_policy_pb2" + # @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsResponse) + }, ) +_sym_db.RegisterMessage(TestIamPermissionsResponse) + +_IAMPOLICY = DESCRIPTOR.services_by_name["IAMPolicy"] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None diff --git a/google/iam/v1/logging/audit_data_pb2.py b/google/iam/v1/logging/audit_data_pb2.py index d26da55..c7db9ae 100644 --- a/google/iam/v1/logging/audit_data_pb2.py +++ b/google/iam/v1/logging/audit_data_pb2.py @@ -17,9 +17,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/iam/v1/logging/audit_data.proto """Generated protocol buffer code.""" -from google.protobuf.internal import builder as _builder 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 # @@protoc_insertion_point(imports) @@ -34,10 +35,19 @@ b'\n&google/iam/v1/logging/audit_data.proto\x12\x15google.iam.v1.logging\x1a\x1agoogle/iam/v1/policy.proto"=\n\tAuditData\x12\x30\n\x0cpolicy_delta\x18\x02 \x01(\x0b\x32\x1a.google.iam.v1.PolicyDeltaB\x89\x01\n\x19\x63om.google.iam.v1.loggingB\x0e\x41uditDataProtoP\x01Z=1.44.0, <2.0.0dev", "googleapis-common-protos[grpc]>=1.56.0, <2.0.0dev", - "protobuf >= 3.20.2, <5.0.0dev", + "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", ] package_root = os.path.abspath(os.path.dirname(__file__))