Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/google/iam/v1/iam_policy_pb2.py: 49%
59 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-06 06:03 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-06 06:03 +0000
1# -*- coding: utf-8 -*-
3# Copyright 2020 Google LLC
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
17# Generated by the protocol buffer compiler. DO NOT EDIT!
18# source: google/iam/v1/iam_policy.proto
19"""Generated protocol buffer code."""
20from google.protobuf import descriptor as _descriptor
21from google.protobuf import descriptor_pool as _descriptor_pool
22from google.protobuf import message as _message
23from google.protobuf import reflection as _reflection
24from google.protobuf import symbol_database as _symbol_database
26# @@protoc_insertion_point(imports)
28_sym_db = _symbol_database.Default()
31from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
32from google.api import client_pb2 as google_dot_api_dot_client__pb2
33from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
34from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
35from google.iam.v1 import options_pb2 as google_dot_iam_dot_v1_dot_options__pb2
36from google.iam.v1 import policy_pb2 as google_dot_iam_dot_v1_dot_policy__pb2
37from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
40DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
41 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'
42)
45_SETIAMPOLICYREQUEST = DESCRIPTOR.message_types_by_name["SetIamPolicyRequest"]
46_GETIAMPOLICYREQUEST = DESCRIPTOR.message_types_by_name["GetIamPolicyRequest"]
47_TESTIAMPERMISSIONSREQUEST = DESCRIPTOR.message_types_by_name[
48 "TestIamPermissionsRequest"
49]
50_TESTIAMPERMISSIONSRESPONSE = DESCRIPTOR.message_types_by_name[
51 "TestIamPermissionsResponse"
52]
53SetIamPolicyRequest = _reflection.GeneratedProtocolMessageType(
54 "SetIamPolicyRequest",
55 (_message.Message,),
56 {
57 "DESCRIPTOR": _SETIAMPOLICYREQUEST,
58 "__module__": "google.iam.v1.iam_policy_pb2"
59 # @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest)
60 },
61)
62_sym_db.RegisterMessage(SetIamPolicyRequest)
64GetIamPolicyRequest = _reflection.GeneratedProtocolMessageType(
65 "GetIamPolicyRequest",
66 (_message.Message,),
67 {
68 "DESCRIPTOR": _GETIAMPOLICYREQUEST,
69 "__module__": "google.iam.v1.iam_policy_pb2"
70 # @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest)
71 },
72)
73_sym_db.RegisterMessage(GetIamPolicyRequest)
75TestIamPermissionsRequest = _reflection.GeneratedProtocolMessageType(
76 "TestIamPermissionsRequest",
77 (_message.Message,),
78 {
79 "DESCRIPTOR": _TESTIAMPERMISSIONSREQUEST,
80 "__module__": "google.iam.v1.iam_policy_pb2"
81 # @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest)
82 },
83)
84_sym_db.RegisterMessage(TestIamPermissionsRequest)
86TestIamPermissionsResponse = _reflection.GeneratedProtocolMessageType(
87 "TestIamPermissionsResponse",
88 (_message.Message,),
89 {
90 "DESCRIPTOR": _TESTIAMPERMISSIONSRESPONSE,
91 "__module__": "google.iam.v1.iam_policy_pb2"
92 # @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsResponse)
93 },
94)
95_sym_db.RegisterMessage(TestIamPermissionsResponse)
97_IAMPOLICY = DESCRIPTOR.services_by_name["IAMPolicy"]
98if _descriptor._USE_C_DESCRIPTORS == False:
100 DESCRIPTOR._options = None
101 DESCRIPTOR._serialized_options = b"\n\021com.google.iam.v1B\016IamPolicyProtoP\001Z0google.golang.org/genproto/googleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Cloud\\Iam\\V1"
102 _SETIAMPOLICYREQUEST.fields_by_name["resource"]._options = None
103 _SETIAMPOLICYREQUEST.fields_by_name[
104 "resource"
105 ]._serialized_options = b"\340A\002\372A\003\n\001*"
106 _SETIAMPOLICYREQUEST.fields_by_name["policy"]._options = None
107 _SETIAMPOLICYREQUEST.fields_by_name["policy"]._serialized_options = b"\340A\002"
108 _GETIAMPOLICYREQUEST.fields_by_name["resource"]._options = None
109 _GETIAMPOLICYREQUEST.fields_by_name[
110 "resource"
111 ]._serialized_options = b"\340A\002\372A\003\n\001*"
112 _TESTIAMPERMISSIONSREQUEST.fields_by_name["resource"]._options = None
113 _TESTIAMPERMISSIONSREQUEST.fields_by_name[
114 "resource"
115 ]._serialized_options = b"\340A\002\372A\003\n\001*"
116 _TESTIAMPERMISSIONSREQUEST.fields_by_name["permissions"]._options = None
117 _TESTIAMPERMISSIONSREQUEST.fields_by_name[
118 "permissions"
119 ]._serialized_options = b"\340A\002"
120 _IAMPOLICY._options = None
121 _IAMPOLICY._serialized_options = b"\312A\033iam-meta-api.googleapis.com"
122 _IAMPOLICY.methods_by_name["SetIamPolicy"]._options = None
123 _IAMPOLICY.methods_by_name[
124 "SetIamPolicy"
125 ]._serialized_options = (
126 b'\202\323\344\223\002#"\036/v1/{resource=**}:setIamPolicy:\001*'
127 )
128 _IAMPOLICY.methods_by_name["GetIamPolicy"]._options = None
129 _IAMPOLICY.methods_by_name[
130 "GetIamPolicy"
131 ]._serialized_options = (
132 b'\202\323\344\223\002#"\036/v1/{resource=**}:getIamPolicy:\001*'
133 )
134 _IAMPOLICY.methods_by_name["TestIamPermissions"]._options = None
135 _IAMPOLICY.methods_by_name[
136 "TestIamPermissions"
137 ]._serialized_options = (
138 b'\202\323\344\223\002)"$/v1/{resource=**}:testIamPermissions:\001*'
139 )
140 _SETIAMPOLICYREQUEST._serialized_start = 256
141 _SETIAMPOLICYREQUEST._serialized_end = 399
142 _GETIAMPOLICYREQUEST._serialized_start = 401
143 _GETIAMPOLICYREQUEST._serialized_end = 501
144 _TESTIAMPERMISSIONSREQUEST._serialized_start = 503
145 _TESTIAMPERMISSIONSREQUEST._serialized_end = 585
146 _TESTIAMPERMISSIONSRESPONSE._serialized_start = 587
147 _TESTIAMPERMISSIONSRESPONSE._serialized_end = 636
148 _IAMPOLICY._serialized_start = 639
149 _IAMPOLICY._serialized_end = 1075
150# @@protoc_insertion_point(module_scope)