Debian Codegraph @

iam/apiv1/iampb/resource_policy_member.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/iam/v1/resource_policy_member.proto
20
21 package iampb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Output-only policy member strings of a Google Cloud resource's built-in
39 // identity.
40 type ResourcePolicyMember struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // IAM policy binding member referring to a Google Cloud resource by
46 // user-assigned name (https://google.aip.dev/122). If a resource is deleted
47 // and recreated with the same name, the binding will be applicable to the new
48 // resource.
49 //
50 // Example:
51 // `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
52 IamPolicyNamePrincipal string `protobuf:"bytes,1,opt,name=iam_policy_name_principal,json=iamPolicyNamePrincipal,proto3" json:"iam_policy_name_principal,omitempty"`
53 // IAM policy binding member referring to a Google Cloud resource by
54 // system-assigned unique identifier (https://google.aip.dev/148#uid). If a
55 // resource is deleted and recreated with the same name, the binding will not
56 // be applicable to the new resource
57 //
58 // Example:
59 // `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
60 IamPolicyUidPrincipal string `protobuf:"bytes,2,opt,name=iam_policy_uid_principal,json=iamPolicyUidPrincipal,proto3" json:"iam_policy_uid_principal,omitempty"`
61 }
62
63 func (x *ResourcePolicyMember) Reset() {
64 *x = ResourcePolicyMember{}
65 mi := &file_google_iam_v1_resource_policy_member_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69
70 func (x *ResourcePolicyMember) String() string {
71 return protoimpl.X.MessageStringOf(x)
72 }
73
74 func (*ResourcePolicyMember) ProtoMessage() {}
75
76 func (x *ResourcePolicyMember) ProtoReflect() protoreflect.Message {
77 mi := &file_google_iam_v1_resource_policy_member_proto_msgTypes[0]
78 if x != nil {
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 if ms.LoadMessageInfo() == nil {
81 ms.StoreMessageInfo(mi)
82 }
83 return ms
84 }
85 return mi.MessageOf(x)
86 }
87
88 // Deprecated: Use ResourcePolicyMember.ProtoReflect.Descriptor instead.
89 func (*ResourcePolicyMember) Descriptor() ([]byte, []int) {
90 return file_google_iam_v1_resource_policy_member_proto_rawDescGZIP(), []int{0}
91 }
92
93 func (x *ResourcePolicyMember) GetIamPolicyNamePrincipal() string {
94 if x != nil {
95 return x.IamPolicyNamePrincipal
96 }
97 return ""
98 }
99
100 func (x *ResourcePolicyMember) GetIamPolicyUidPrincipal() string {
101 if x != nil {
102 return x.IamPolicyUidPrincipal
103 }
104 return ""
105 }
106
107 var File_google_iam_v1_resource_policy_member_proto protoreflect.FileDescriptor
108
109 var file_google_iam_v1_resource_policy_member_proto_rawDesc = []byte{
110 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f,
111 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f,
112 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x67, 0x6f,
113 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
114 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
115 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a,
116 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4d,
117 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x19, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c,
118 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70,
119 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 0x69,
120 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x69, 0x6e,
121 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x18, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c,
122 0x69, 0x63, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61,
123 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x69, 0x61,
124 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x55, 0x69, 0x64, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69,
125 0x70, 0x61, 0x6c, 0x42, 0x87, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
126 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x52, 0x65, 0x73, 0x6f, 0x75,
127 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50,
128 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
129 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2f,
130 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x70, 0x62, 0x3b, 0x69, 0x61, 0x6d, 0x70,
131 0x62, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
132 0x2e, 0x49, 0x61, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
133 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x49, 0x61, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70,
134 0x72, 0x6f, 0x74, 0x6f, 0x33,
135 }
136
137 var (
138 file_google_iam_v1_resource_policy_member_proto_rawDescOnce sync.Once
139 file_google_iam_v1_resource_policy_member_proto_rawDescData = file_google_iam_v1_resource_policy_member_proto_rawDesc
140 )
141
142 func file_google_iam_v1_resource_policy_member_proto_rawDescGZIP() []byte {
143 file_google_iam_v1_resource_policy_member_proto_rawDescOnce.Do(func() {
144 file_google_iam_v1_resource_policy_member_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_v1_resource_policy_member_proto_rawDescData)
145 })
146 return file_google_iam_v1_resource_policy_member_proto_rawDescData
147 }
148
149 var file_google_iam_v1_resource_policy_member_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
150 var file_google_iam_v1_resource_policy_member_proto_goTypes = []any{
151 (*ResourcePolicyMember)(nil), // 0: google.iam.v1.ResourcePolicyMember
152 }
153 var file_google_iam_v1_resource_policy_member_proto_depIdxs = []int32{
154 0, // [0:0] is the sub-list for method output_type
155 0, // [0:0] is the sub-list for method input_type
156 0, // [0:0] is the sub-list for extension type_name
157 0, // [0:0] is the sub-list for extension extendee
158 0, // [0:0] is the sub-list for field type_name
159 }
160
161 func init() { file_google_iam_v1_resource_policy_member_proto_init() }
162 func file_google_iam_v1_resource_policy_member_proto_init() {
163 if File_google_iam_v1_resource_policy_member_proto != nil {
164 return
165 }
166 type x struct{}
167 out := protoimpl.TypeBuilder{
168 File: protoimpl.DescBuilder{
169 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
170 RawDescriptor: file_google_iam_v1_resource_policy_member_proto_rawDesc,
171 NumEnums: 0,
172 NumMessages: 1,
173 NumExtensions: 0,
174 NumServices: 0,
175 },
176 GoTypes: file_google_iam_v1_resource_policy_member_proto_goTypes,
177 DependencyIndexes: file_google_iam_v1_resource_policy_member_proto_depIdxs,
178 MessageInfos: file_google_iam_v1_resource_policy_member_proto_msgTypes,
179 }.Build()
180 File_google_iam_v1_resource_policy_member_proto = out.File
181 file_google_iam_v1_resource_policy_member_proto_rawDesc = nil
182 file_google_iam_v1_resource_policy_member_proto_goTypes = nil
183 file_google_iam_v1_resource_policy_member_proto_depIdxs = nil
184 }