Debian Codegraph @

resourcemanager/apiv3/resourcemanagerpb/tag_bindings.pb.go

raw symbols SCIP
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/cloud/resourcemanager/v3/tag_bindings.proto
20
21 package resourcemanagerpb
22
23 import (
24 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 _ "google.golang.org/protobuf/types/known/emptypb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // A TagBinding represents a connection between a TagValue and a cloud
45 // resource Once a TagBinding is created, the TagValue is applied to all the
46 // descendants of the Google Cloud resource.
47 type TagBinding struct {
48 state protoimpl.MessageState
49 sizeCache protoimpl.SizeCache
50 unknownFields protoimpl.UnknownFields
51
52 // Output only. The name of the TagBinding. This is a String of the form:
53 // `tagBindings/{full-resource-name}/{tag-value-name}` (e.g.
54 // `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`).
55 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
56 // The full resource name of the resource the TagValue is bound to.
57 // E.g. `//cloudresourcemanager.googleapis.com/projects/123`
58 Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
59 // The TagValue of the TagBinding.
60 // Must be of the form `tagValues/456`.
61 TagValue string `protobuf:"bytes,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
62 // The namespaced name for the TagValue of the TagBinding.
63 // Must be in the format
64 // `{parent_id}/{tag_key_short_name}/{short_name}`.
65 //
66 // For methods that support TagValue namespaced name, only one of
67 // tag_value_namespaced_name or tag_value may be filled. Requests with both
68 // fields will be rejected.
69 TagValueNamespacedName string `protobuf:"bytes,4,opt,name=tag_value_namespaced_name,json=tagValueNamespacedName,proto3" json:"tag_value_namespaced_name,omitempty"`
70 }
71
72 func (x *TagBinding) Reset() {
73 *x = TagBinding{}
74 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[0]
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 ms.StoreMessageInfo(mi)
77 }
78
79 func (x *TagBinding) String() string {
80 return protoimpl.X.MessageStringOf(x)
81 }
82
83 func (*TagBinding) ProtoMessage() {}
84
85 func (x *TagBinding) ProtoReflect() protoreflect.Message {
86 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[0]
87 if x != nil {
88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89 if ms.LoadMessageInfo() == nil {
90 ms.StoreMessageInfo(mi)
91 }
92 return ms
93 }
94 return mi.MessageOf(x)
95 }
96
97 // Deprecated: Use TagBinding.ProtoReflect.Descriptor instead.
98 func (*TagBinding) Descriptor() ([]byte, []int) {
99 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{0}
100 }
101
102 func (x *TagBinding) GetName() string {
103 if x != nil {
104 return x.Name
105 }
106 return ""
107 }
108
109 func (x *TagBinding) GetParent() string {
110 if x != nil {
111 return x.Parent
112 }
113 return ""
114 }
115
116 func (x *TagBinding) GetTagValue() string {
117 if x != nil {
118 return x.TagValue
119 }
120 return ""
121 }
122
123 func (x *TagBinding) GetTagValueNamespacedName() string {
124 if x != nil {
125 return x.TagValueNamespacedName
126 }
127 return ""
128 }
129
130 // Runtime operation information for creating a TagValue.
131 type CreateTagBindingMetadata struct {
132 state protoimpl.MessageState
133 sizeCache protoimpl.SizeCache
134 unknownFields protoimpl.UnknownFields
135 }
136
137 func (x *CreateTagBindingMetadata) Reset() {
138 *x = CreateTagBindingMetadata{}
139 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[1]
140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141 ms.StoreMessageInfo(mi)
142 }
143
144 func (x *CreateTagBindingMetadata) String() string {
145 return protoimpl.X.MessageStringOf(x)
146 }
147
148 func (*CreateTagBindingMetadata) ProtoMessage() {}
149
150 func (x *CreateTagBindingMetadata) ProtoReflect() protoreflect.Message {
151 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[1]
152 if x != nil {
153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
154 if ms.LoadMessageInfo() == nil {
155 ms.StoreMessageInfo(mi)
156 }
157 return ms
158 }
159 return mi.MessageOf(x)
160 }
161
162 // Deprecated: Use CreateTagBindingMetadata.ProtoReflect.Descriptor instead.
163 func (*CreateTagBindingMetadata) Descriptor() ([]byte, []int) {
164 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{1}
165 }
166
167 // The request message to create a TagBinding.
168 type CreateTagBindingRequest struct {
169 state protoimpl.MessageState
170 sizeCache protoimpl.SizeCache
171 unknownFields protoimpl.UnknownFields
172
173 // Required. The TagBinding to be created.
174 TagBinding *TagBinding `protobuf:"bytes,1,opt,name=tag_binding,json=tagBinding,proto3" json:"tag_binding,omitempty"`
175 // Optional. Set to true to perform the validations necessary for creating the
176 // resource, but not actually perform the action.
177 ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
178 }
179
180 func (x *CreateTagBindingRequest) Reset() {
181 *x = CreateTagBindingRequest{}
182 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[2]
183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184 ms.StoreMessageInfo(mi)
185 }
186
187 func (x *CreateTagBindingRequest) String() string {
188 return protoimpl.X.MessageStringOf(x)
189 }
190
191 func (*CreateTagBindingRequest) ProtoMessage() {}
192
193 func (x *CreateTagBindingRequest) ProtoReflect() protoreflect.Message {
194 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[2]
195 if x != nil {
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 if ms.LoadMessageInfo() == nil {
198 ms.StoreMessageInfo(mi)
199 }
200 return ms
201 }
202 return mi.MessageOf(x)
203 }
204
205 // Deprecated: Use CreateTagBindingRequest.ProtoReflect.Descriptor instead.
206 func (*CreateTagBindingRequest) Descriptor() ([]byte, []int) {
207 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{2}
208 }
209
210 func (x *CreateTagBindingRequest) GetTagBinding() *TagBinding {
211 if x != nil {
212 return x.TagBinding
213 }
214 return nil
215 }
216
217 func (x *CreateTagBindingRequest) GetValidateOnly() bool {
218 if x != nil {
219 return x.ValidateOnly
220 }
221 return false
222 }
223
224 // Runtime operation information for deleting a TagBinding.
225 type DeleteTagBindingMetadata struct {
226 state protoimpl.MessageState
227 sizeCache protoimpl.SizeCache
228 unknownFields protoimpl.UnknownFields
229 }
230
231 func (x *DeleteTagBindingMetadata) Reset() {
232 *x = DeleteTagBindingMetadata{}
233 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[3]
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 ms.StoreMessageInfo(mi)
236 }
237
238 func (x *DeleteTagBindingMetadata) String() string {
239 return protoimpl.X.MessageStringOf(x)
240 }
241
242 func (*DeleteTagBindingMetadata) ProtoMessage() {}
243
244 func (x *DeleteTagBindingMetadata) ProtoReflect() protoreflect.Message {
245 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[3]
246 if x != nil {
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 if ms.LoadMessageInfo() == nil {
249 ms.StoreMessageInfo(mi)
250 }
251 return ms
252 }
253 return mi.MessageOf(x)
254 }
255
256 // Deprecated: Use DeleteTagBindingMetadata.ProtoReflect.Descriptor instead.
257 func (*DeleteTagBindingMetadata) Descriptor() ([]byte, []int) {
258 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{3}
259 }
260
261 // The request message to delete a TagBinding.
262 type DeleteTagBindingRequest struct {
263 state protoimpl.MessageState
264 sizeCache protoimpl.SizeCache
265 unknownFields protoimpl.UnknownFields
266
267 // Required. The name of the TagBinding. This is a String of the form:
268 // `tagBindings/{id}` (e.g.
269 // `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`).
270 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
271 }
272
273 func (x *DeleteTagBindingRequest) Reset() {
274 *x = DeleteTagBindingRequest{}
275 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[4]
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 ms.StoreMessageInfo(mi)
278 }
279
280 func (x *DeleteTagBindingRequest) String() string {
281 return protoimpl.X.MessageStringOf(x)
282 }
283
284 func (*DeleteTagBindingRequest) ProtoMessage() {}
285
286 func (x *DeleteTagBindingRequest) ProtoReflect() protoreflect.Message {
287 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[4]
288 if x != nil {
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 if ms.LoadMessageInfo() == nil {
291 ms.StoreMessageInfo(mi)
292 }
293 return ms
294 }
295 return mi.MessageOf(x)
296 }
297
298 // Deprecated: Use DeleteTagBindingRequest.ProtoReflect.Descriptor instead.
299 func (*DeleteTagBindingRequest) Descriptor() ([]byte, []int) {
300 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{4}
301 }
302
303 func (x *DeleteTagBindingRequest) GetName() string {
304 if x != nil {
305 return x.Name
306 }
307 return ""
308 }
309
310 // The request message to list all TagBindings for a parent.
311 type ListTagBindingsRequest struct {
312 state protoimpl.MessageState
313 sizeCache protoimpl.SizeCache
314 unknownFields protoimpl.UnknownFields
315
316 // Required. The full resource name of a resource for which you want to list
317 // existing TagBindings. E.g.
318 // "//cloudresourcemanager.googleapis.com/projects/123"
319 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
320 // Optional. The maximum number of TagBindings to return in the response. The
321 // server allows a maximum of 300 TagBindings to return. If unspecified, the
322 // server will use 100 as the default.
323 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
324 // Optional. A pagination token returned from a previous call to
325 // `ListTagBindings` that indicates where this listing should continue from.
326 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
327 }
328
329 func (x *ListTagBindingsRequest) Reset() {
330 *x = ListTagBindingsRequest{}
331 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[5]
332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
333 ms.StoreMessageInfo(mi)
334 }
335
336 func (x *ListTagBindingsRequest) String() string {
337 return protoimpl.X.MessageStringOf(x)
338 }
339
340 func (*ListTagBindingsRequest) ProtoMessage() {}
341
342 func (x *ListTagBindingsRequest) ProtoReflect() protoreflect.Message {
343 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[5]
344 if x != nil {
345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346 if ms.LoadMessageInfo() == nil {
347 ms.StoreMessageInfo(mi)
348 }
349 return ms
350 }
351 return mi.MessageOf(x)
352 }
353
354 // Deprecated: Use ListTagBindingsRequest.ProtoReflect.Descriptor instead.
355 func (*ListTagBindingsRequest) Descriptor() ([]byte, []int) {
356 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{5}
357 }
358
359 func (x *ListTagBindingsRequest) GetParent() string {
360 if x != nil {
361 return x.Parent
362 }
363 return ""
364 }
365
366 func (x *ListTagBindingsRequest) GetPageSize() int32 {
367 if x != nil {
368 return x.PageSize
369 }
370 return 0
371 }
372
373 func (x *ListTagBindingsRequest) GetPageToken() string {
374 if x != nil {
375 return x.PageToken
376 }
377 return ""
378 }
379
380 // The ListTagBindings response.
381 type ListTagBindingsResponse struct {
382 state protoimpl.MessageState
383 sizeCache protoimpl.SizeCache
384 unknownFields protoimpl.UnknownFields
385
386 // A possibly paginated list of TagBindings for the specified resource.
387 TagBindings []*TagBinding `protobuf:"bytes,1,rep,name=tag_bindings,json=tagBindings,proto3" json:"tag_bindings,omitempty"`
388 // Pagination token.
389 //
390 // If the result set is too large to fit in a single response, this token
391 // is returned. It encodes the position of the current result cursor.
392 // Feeding this value into a new list request with the `page_token` parameter
393 // gives the next page of the results.
394 //
395 // When `next_page_token` is not filled in, there is no next page and
396 // the list returned is the last page in the result set.
397 //
398 // Pagination tokens have a limited lifetime.
399 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
400 }
401
402 func (x *ListTagBindingsResponse) Reset() {
403 *x = ListTagBindingsResponse{}
404 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[6]
405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
406 ms.StoreMessageInfo(mi)
407 }
408
409 func (x *ListTagBindingsResponse) String() string {
410 return protoimpl.X.MessageStringOf(x)
411 }
412
413 func (*ListTagBindingsResponse) ProtoMessage() {}
414
415 func (x *ListTagBindingsResponse) ProtoReflect() protoreflect.Message {
416 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[6]
417 if x != nil {
418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419 if ms.LoadMessageInfo() == nil {
420 ms.StoreMessageInfo(mi)
421 }
422 return ms
423 }
424 return mi.MessageOf(x)
425 }
426
427 // Deprecated: Use ListTagBindingsResponse.ProtoReflect.Descriptor instead.
428 func (*ListTagBindingsResponse) Descriptor() ([]byte, []int) {
429 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{6}
430 }
431
432 func (x *ListTagBindingsResponse) GetTagBindings() []*TagBinding {
433 if x != nil {
434 return x.TagBindings
435 }
436 return nil
437 }
438
439 func (x *ListTagBindingsResponse) GetNextPageToken() string {
440 if x != nil {
441 return x.NextPageToken
442 }
443 return ""
444 }
445
446 // The request message to ListEffectiveTags
447 type ListEffectiveTagsRequest struct {
448 state protoimpl.MessageState
449 sizeCache protoimpl.SizeCache
450 unknownFields protoimpl.UnknownFields
451
452 // Required. The full resource name of a resource for which you want to list
453 // the effective tags. E.g.
454 // "//cloudresourcemanager.googleapis.com/projects/123"
455 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
456 // Optional. The maximum number of effective tags to return in the response.
457 // The server allows a maximum of 300 effective tags to return in a single
458 // page. If unspecified, the server will use 100 as the default.
459 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
460 // Optional. A pagination token returned from a previous call to
461 // `ListEffectiveTags` that indicates from where this listing should continue.
462 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
463 }
464
465 func (x *ListEffectiveTagsRequest) Reset() {
466 *x = ListEffectiveTagsRequest{}
467 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[7]
468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
469 ms.StoreMessageInfo(mi)
470 }
471
472 func (x *ListEffectiveTagsRequest) String() string {
473 return protoimpl.X.MessageStringOf(x)
474 }
475
476 func (*ListEffectiveTagsRequest) ProtoMessage() {}
477
478 func (x *ListEffectiveTagsRequest) ProtoReflect() protoreflect.Message {
479 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[7]
480 if x != nil {
481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
482 if ms.LoadMessageInfo() == nil {
483 ms.StoreMessageInfo(mi)
484 }
485 return ms
486 }
487 return mi.MessageOf(x)
488 }
489
490 // Deprecated: Use ListEffectiveTagsRequest.ProtoReflect.Descriptor instead.
491 func (*ListEffectiveTagsRequest) Descriptor() ([]byte, []int) {
492 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{7}
493 }
494
495 func (x *ListEffectiveTagsRequest) GetParent() string {
496 if x != nil {
497 return x.Parent
498 }
499 return ""
500 }
501
502 func (x *ListEffectiveTagsRequest) GetPageSize() int32 {
503 if x != nil {
504 return x.PageSize
505 }
506 return 0
507 }
508
509 func (x *ListEffectiveTagsRequest) GetPageToken() string {
510 if x != nil {
511 return x.PageToken
512 }
513 return ""
514 }
515
516 // The response of ListEffectiveTags.
517 type ListEffectiveTagsResponse struct {
518 state protoimpl.MessageState
519 sizeCache protoimpl.SizeCache
520 unknownFields protoimpl.UnknownFields
521
522 // A possibly paginated list of effective tags for the specified resource.
523 EffectiveTags []*EffectiveTag `protobuf:"bytes,1,rep,name=effective_tags,json=effectiveTags,proto3" json:"effective_tags,omitempty"`
524 // Pagination token.
525 //
526 // If the result set is too large to fit in a single response, this token
527 // is returned. It encodes the position of the current result cursor.
528 // Feeding this value into a new list request with the `page_token` parameter
529 // gives the next page of the results.
530 //
531 // When `next_page_token` is not filled in, there is no next page and
532 // the list returned is the last page in the result set.
533 //
534 // Pagination tokens have a limited lifetime.
535 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
536 }
537
538 func (x *ListEffectiveTagsResponse) Reset() {
539 *x = ListEffectiveTagsResponse{}
540 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[8]
541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
542 ms.StoreMessageInfo(mi)
543 }
544
545 func (x *ListEffectiveTagsResponse) String() string {
546 return protoimpl.X.MessageStringOf(x)
547 }
548
549 func (*ListEffectiveTagsResponse) ProtoMessage() {}
550
551 func (x *ListEffectiveTagsResponse) ProtoReflect() protoreflect.Message {
552 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[8]
553 if x != nil {
554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
555 if ms.LoadMessageInfo() == nil {
556 ms.StoreMessageInfo(mi)
557 }
558 return ms
559 }
560 return mi.MessageOf(x)
561 }
562
563 // Deprecated: Use ListEffectiveTagsResponse.ProtoReflect.Descriptor instead.
564 func (*ListEffectiveTagsResponse) Descriptor() ([]byte, []int) {
565 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{8}
566 }
567
568 func (x *ListEffectiveTagsResponse) GetEffectiveTags() []*EffectiveTag {
569 if x != nil {
570 return x.EffectiveTags
571 }
572 return nil
573 }
574
575 func (x *ListEffectiveTagsResponse) GetNextPageToken() string {
576 if x != nil {
577 return x.NextPageToken
578 }
579 return ""
580 }
581
582 // An EffectiveTag represents a tag that applies to a resource during policy
583 // evaluation. Tags can be either directly bound to a resource or inherited from
584 // its ancestor. EffectiveTag contains the name and
585 // namespaced_name of the tag value and tag key, with additional fields of
586 // `inherited` to indicate the inheritance status of the effective tag.
587 type EffectiveTag struct {
588 state protoimpl.MessageState
589 sizeCache protoimpl.SizeCache
590 unknownFields protoimpl.UnknownFields
591
592 // Resource name for TagValue in the format `tagValues/456`.
593 TagValue string `protobuf:"bytes,1,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
594 // The namespaced name of the TagValue. Can be in the form
595 // `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or
596 // `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or
597 // `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.
598 NamespacedTagValue string `protobuf:"bytes,2,opt,name=namespaced_tag_value,json=namespacedTagValue,proto3" json:"namespaced_tag_value,omitempty"`
599 // The name of the TagKey, in the format `tagKeys/{id}`, such as
600 // `tagKeys/123`.
601 TagKey string `protobuf:"bytes,3,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"`
602 // The namespaced name of the TagKey. Can be in the form
603 // `{organization_id}/{tag_key_short_name}` or
604 // `{project_id}/{tag_key_short_name}` or
605 // `{project_number}/{tag_key_short_name}`.
606 NamespacedTagKey string `protobuf:"bytes,4,opt,name=namespaced_tag_key,json=namespacedTagKey,proto3" json:"namespaced_tag_key,omitempty"`
607 // The parent name of the tag key.
608 // Must be in the format `organizations/{organization_id}` or
609 // `projects/{project_number}`
610 TagKeyParentName string `protobuf:"bytes,6,opt,name=tag_key_parent_name,json=tagKeyParentName,proto3" json:"tag_key_parent_name,omitempty"`
611 // Indicates the inheritance status of a tag value
612 // attached to the given resource. If the tag value is inherited from one of
613 // the resource's ancestors, inherited will be true. If false, then the tag
614 // value is directly attached to the resource, inherited will be false.
615 Inherited bool `protobuf:"varint,5,opt,name=inherited,proto3" json:"inherited,omitempty"`
616 }
617
618 func (x *EffectiveTag) Reset() {
619 *x = EffectiveTag{}
620 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[9]
621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
622 ms.StoreMessageInfo(mi)
623 }
624
625 func (x *EffectiveTag) String() string {
626 return protoimpl.X.MessageStringOf(x)
627 }
628
629 func (*EffectiveTag) ProtoMessage() {}
630
631 func (x *EffectiveTag) ProtoReflect() protoreflect.Message {
632 mi := &file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes[9]
633 if x != nil {
634 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
635 if ms.LoadMessageInfo() == nil {
636 ms.StoreMessageInfo(mi)
637 }
638 return ms
639 }
640 return mi.MessageOf(x)
641 }
642
643 // Deprecated: Use EffectiveTag.ProtoReflect.Descriptor instead.
644 func (*EffectiveTag) Descriptor() ([]byte, []int) {
645 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP(), []int{9}
646 }
647
648 func (x *EffectiveTag) GetTagValue() string {
649 if x != nil {
650 return x.TagValue
651 }
652 return ""
653 }
654
655 func (x *EffectiveTag) GetNamespacedTagValue() string {
656 if x != nil {
657 return x.NamespacedTagValue
658 }
659 return ""
660 }
661
662 func (x *EffectiveTag) GetTagKey() string {
663 if x != nil {
664 return x.TagKey
665 }
666 return ""
667 }
668
669 func (x *EffectiveTag) GetNamespacedTagKey() string {
670 if x != nil {
671 return x.NamespacedTagKey
672 }
673 return ""
674 }
675
676 func (x *EffectiveTag) GetTagKeyParentName() string {
677 if x != nil {
678 return x.TagKeyParentName
679 }
680 return ""
681 }
682
683 func (x *EffectiveTag) GetInherited() bool {
684 if x != nil {
685 return x.Inherited
686 }
687 return false
688 }
689
690 var File_google_cloud_resourcemanager_v3_tag_bindings_proto protoreflect.FileDescriptor
691
692 var file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDesc = []byte{
693 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
694 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76,
695 0x33, 0x2f, 0x74, 0x61, 0x67, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70,
696 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
697 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
698 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
699 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
700 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
701 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
702 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
703 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
704 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
705 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
706 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65,
707 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67,
708 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65,
709 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x01, 0x0a, 0x0a, 0x54,
710 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
711 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61,
712 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
713 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61,
714 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74,
715 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x19, 0x74, 0x61, 0x67, 0x5f, 0x76,
716 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f,
717 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x74, 0x61, 0x67, 0x56,
718 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61,
719 0x6d, 0x65, 0x3a, 0x4e, 0xea, 0x41, 0x4b, 0x0a, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65,
720 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f,
721 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67,
722 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x74, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64,
723 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x67, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e,
724 0x67, 0x7d, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42,
725 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x96,
726 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64,
727 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x0b, 0x74, 0x61,
728 0x67, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
729 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
730 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76,
731 0x33, 0x2e, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41,
732 0x02, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a,
733 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02,
734 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64,
735 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74,
736 0x65, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64,
737 0x61, 0x74, 0x61, 0x22, 0x65, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67,
738 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a,
739 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41,
740 0x02, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75,
741 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
742 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e,
743 0x64, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x16, 0x4c,
744 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65,
745 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
746 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x03, 0x12, 0x01, 0x2a,
747 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
748 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01,
749 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61,
750 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
751 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x91,
752 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e,
753 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0c, 0x74, 0x61,
754 0x67, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
755 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
756 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
757 0x76, 0x33, 0x2e, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x74,
758 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,
759 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
760 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
761 0x65, 0x6e, 0x22, 0x7d, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74,
762 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
763 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
764 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70,
765 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03,
766 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a,
767 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
768 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
769 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74,
770 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
771 0x54, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67,
772 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
773 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d,
774 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74,
775 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76,
776 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61,
777 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
778 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd5, 0x02,
779 0x0a, 0x0c, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x12, 0x4e,
780 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
781 0x09, 0x42, 0x31, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73,
782 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f,
783 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67, 0x56,
784 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x30,
785 0x0a, 0x14, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x67,
786 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x61,
787 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x54, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
788 0x12, 0x48, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
789 0x09, 0x42, 0x2f, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73,
790 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f,
791 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67, 0x4b,
792 0x65, 0x79, 0x52, 0x06, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x61,
793 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79,
794 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
795 0x65, 0x64, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x13, 0x74, 0x61, 0x67, 0x5f,
796 0x6b, 0x65, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
797 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x72,
798 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x68, 0x65, 0x72,
799 0x69, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, 0x68, 0x65,
800 0x72, 0x69, 0x74, 0x65, 0x64, 0x32, 0x91, 0x07, 0x0a, 0x0b, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e,
801 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61,
802 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
803 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
804 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74,
805 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
806 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
807 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
808 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64,
809 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0xda, 0x41,
810 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f,
811 0x76, 0x33, 0x2f, 0x74, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0xc8,
812 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64,
813 0x69, 0x6e, 0x67, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
814 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
815 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42,
816 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
817 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
818 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0xca, 0x41,
819 0x26, 0x0a, 0x0a, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x43,
820 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d,
821 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x0b, 0x74, 0x61, 0x67, 0x5f, 0x62, 0x69,
822 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x0b, 0x74, 0x61, 0x67,
823 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x0f, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x61,
824 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0xc9, 0x01, 0x0a, 0x10, 0x44, 0x65,
825 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x38,
826 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
827 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33,
828 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e,
829 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
830 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70,
831 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5c, 0xca, 0x41, 0x31, 0x0a, 0x15, 0x67, 0x6f,
832 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
833 0x70, 0x74, 0x79, 0x12, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x42, 0x69,
834 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x04,
835 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x2a, 0x19, 0x2f, 0x76, 0x33, 0x2f,
836 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x74, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
837 0x73, 0x2f, 0x2a, 0x2a, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x66,
838 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f,
839 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
840 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69,
841 0x73, 0x74, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52,
842 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
843 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
844 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x66, 0x66,
845 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
846 0x73, 0x65, 0x22, 0x22, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
847 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69,
848 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x90, 0x01, 0xca, 0x41, 0x23, 0x63, 0x6c, 0x6f, 0x75,
849 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
850 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2,
851 0x41, 0x67, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
852 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
853 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
854 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f,
855 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68,
856 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
857 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0xf1, 0x01, 0x0a, 0x23, 0x63, 0x6f,
858 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
859 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76,
860 0x33, 0x42, 0x10, 0x54, 0x61, 0x67, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72,
861 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
862 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
863 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x33,
864 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
865 0x70, 0x62, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
866 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
867 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61,
868 0x67, 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
869 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61,
870 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5c, 0x56, 0x33, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
871 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
872 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70,
873 0x72, 0x6f, 0x74, 0x6f, 0x33,
874 }
875
876 var (
877 file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescOnce sync.Once
878 file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescData = file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDesc
879 )
880
881 func file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescGZIP() []byte {
882 file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescOnce.Do(func() {
883 file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescData)
884 })
885 return file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDescData
886 }
887
888 var file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
889 var file_google_cloud_resourcemanager_v3_tag_bindings_proto_goTypes = []any{
890 (*TagBinding)(nil), // 0: google.cloud.resourcemanager.v3.TagBinding
891 (*CreateTagBindingMetadata)(nil), // 1: google.cloud.resourcemanager.v3.CreateTagBindingMetadata
892 (*CreateTagBindingRequest)(nil), // 2: google.cloud.resourcemanager.v3.CreateTagBindingRequest
893 (*DeleteTagBindingMetadata)(nil), // 3: google.cloud.resourcemanager.v3.DeleteTagBindingMetadata
894 (*DeleteTagBindingRequest)(nil), // 4: google.cloud.resourcemanager.v3.DeleteTagBindingRequest
895 (*ListTagBindingsRequest)(nil), // 5: google.cloud.resourcemanager.v3.ListTagBindingsRequest
896 (*ListTagBindingsResponse)(nil), // 6: google.cloud.resourcemanager.v3.ListTagBindingsResponse
897 (*ListEffectiveTagsRequest)(nil), // 7: google.cloud.resourcemanager.v3.ListEffectiveTagsRequest
898 (*ListEffectiveTagsResponse)(nil), // 8: google.cloud.resourcemanager.v3.ListEffectiveTagsResponse
899 (*EffectiveTag)(nil), // 9: google.cloud.resourcemanager.v3.EffectiveTag
900 (*longrunningpb.Operation)(nil), // 10: google.longrunning.Operation
901 }
902 var file_google_cloud_resourcemanager_v3_tag_bindings_proto_depIdxs = []int32{
903 0, // 0: google.cloud.resourcemanager.v3.CreateTagBindingRequest.tag_binding:type_name -> google.cloud.resourcemanager.v3.TagBinding
904 0, // 1: google.cloud.resourcemanager.v3.ListTagBindingsResponse.tag_bindings:type_name -> google.cloud.resourcemanager.v3.TagBinding
905 9, // 2: google.cloud.resourcemanager.v3.ListEffectiveTagsResponse.effective_tags:type_name -> google.cloud.resourcemanager.v3.EffectiveTag
906 5, // 3: google.cloud.resourcemanager.v3.TagBindings.ListTagBindings:input_type -> google.cloud.resourcemanager.v3.ListTagBindingsRequest
907 2, // 4: google.cloud.resourcemanager.v3.TagBindings.CreateTagBinding:input_type -> google.cloud.resourcemanager.v3.CreateTagBindingRequest
908 4, // 5: google.cloud.resourcemanager.v3.TagBindings.DeleteTagBinding:input_type -> google.cloud.resourcemanager.v3.DeleteTagBindingRequest
909 7, // 6: google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTags:input_type -> google.cloud.resourcemanager.v3.ListEffectiveTagsRequest
910 6, // 7: google.cloud.resourcemanager.v3.TagBindings.ListTagBindings:output_type -> google.cloud.resourcemanager.v3.ListTagBindingsResponse
911 10, // 8: google.cloud.resourcemanager.v3.TagBindings.CreateTagBinding:output_type -> google.longrunning.Operation
912 10, // 9: google.cloud.resourcemanager.v3.TagBindings.DeleteTagBinding:output_type -> google.longrunning.Operation
913 8, // 10: google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTags:output_type -> google.cloud.resourcemanager.v3.ListEffectiveTagsResponse
914 7, // [7:11] is the sub-list for method output_type
915 3, // [3:7] is the sub-list for method input_type
916 3, // [3:3] is the sub-list for extension type_name
917 3, // [3:3] is the sub-list for extension extendee
918 0, // [0:3] is the sub-list for field type_name
919 }
920
921 func init() { file_google_cloud_resourcemanager_v3_tag_bindings_proto_init() }
922 func file_google_cloud_resourcemanager_v3_tag_bindings_proto_init() {
923 if File_google_cloud_resourcemanager_v3_tag_bindings_proto != nil {
924 return
925 }
926 type x struct{}
927 out := protoimpl.TypeBuilder{
928 File: protoimpl.DescBuilder{
929 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
930 RawDescriptor: file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDesc,
931 NumEnums: 0,
932 NumMessages: 10,
933 NumExtensions: 0,
934 NumServices: 1,
935 },
936 GoTypes: file_google_cloud_resourcemanager_v3_tag_bindings_proto_goTypes,
937 DependencyIndexes: file_google_cloud_resourcemanager_v3_tag_bindings_proto_depIdxs,
938 MessageInfos: file_google_cloud_resourcemanager_v3_tag_bindings_proto_msgTypes,
939 }.Build()
940 File_google_cloud_resourcemanager_v3_tag_bindings_proto = out.File
941 file_google_cloud_resourcemanager_v3_tag_bindings_proto_rawDesc = nil
942 file_google_cloud_resourcemanager_v3_tag_bindings_proto_goTypes = nil
943 file_google_cloud_resourcemanager_v3_tag_bindings_proto_depIdxs = nil
944 }
945
946 // Reference imports to suppress errors if they are not otherwise used.
947 var _ context.Context
948 var _ grpc.ClientConnInterface
949
950 // This is a compile-time assertion to ensure that this generated file
951 // is compatible with the grpc package it is being compiled against.
952 const _ = grpc.SupportPackageIsVersion6
953
954 // TagBindingsClient is the client API for TagBindings service.
955 //
956 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
957 type TagBindingsClient interface {
958 // Lists the TagBindings for the given Google Cloud resource, as specified
959 // with `parent`.
960 //
961 // NOTE: The `parent` field is expected to be a full resource name:
962 // https://cloud.google.com/apis/design/resource_names#full_resource_name
963 ListTagBindings(ctx context.Context, in *ListTagBindingsRequest, opts ...grpc.CallOption) (*ListTagBindingsResponse, error)
964 // Creates a TagBinding between a TagValue and a Google Cloud resource.
965 CreateTagBinding(ctx context.Context, in *CreateTagBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
966 // Deletes a TagBinding.
967 DeleteTagBinding(ctx context.Context, in *DeleteTagBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
968 // Return a list of effective tags for the given Google Cloud resource, as
969 // specified in `parent`.
970 ListEffectiveTags(ctx context.Context, in *ListEffectiveTagsRequest, opts ...grpc.CallOption) (*ListEffectiveTagsResponse, error)
971 }
972
973 type tagBindingsClient struct {
974 cc grpc.ClientConnInterface
975 }
976
977 func NewTagBindingsClient(cc grpc.ClientConnInterface) TagBindingsClient {
978 return &tagBindingsClient{cc}
979 }
980
981 func (c *tagBindingsClient) ListTagBindings(ctx context.Context, in *ListTagBindingsRequest, opts ...grpc.CallOption) (*ListTagBindingsResponse, error) {
982 out := new(ListTagBindingsResponse)
983 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagBindings/ListTagBindings", in, out, opts...)
984 if err != nil {
985 return nil, err
986 }
987 return out, nil
988 }
989
990 func (c *tagBindingsClient) CreateTagBinding(ctx context.Context, in *CreateTagBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
991 out := new(longrunningpb.Operation)
992 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagBindings/CreateTagBinding", in, out, opts...)
993 if err != nil {
994 return nil, err
995 }
996 return out, nil
997 }
998
999 func (c *tagBindingsClient) DeleteTagBinding(ctx context.Context, in *DeleteTagBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1000 out := new(longrunningpb.Operation)
1001 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagBindings/DeleteTagBinding", in, out, opts...)
1002 if err != nil {
1003 return nil, err
1004 }
1005 return out, nil
1006 }
1007
1008 func (c *tagBindingsClient) ListEffectiveTags(ctx context.Context, in *ListEffectiveTagsRequest, opts ...grpc.CallOption) (*ListEffectiveTagsResponse, error) {
1009 out := new(ListEffectiveTagsResponse)
1010 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagBindings/ListEffectiveTags", in, out, opts...)
1011 if err != nil {
1012 return nil, err
1013 }
1014 return out, nil
1015 }
1016
1017 // TagBindingsServer is the server API for TagBindings service.
1018 type TagBindingsServer interface {
1019 // Lists the TagBindings for the given Google Cloud resource, as specified
1020 // with `parent`.
1021 //
1022 // NOTE: The `parent` field is expected to be a full resource name:
1023 // https://cloud.google.com/apis/design/resource_names#full_resource_name
1024 ListTagBindings(context.Context, *ListTagBindingsRequest) (*ListTagBindingsResponse, error)
1025 // Creates a TagBinding between a TagValue and a Google Cloud resource.
1026 CreateTagBinding(context.Context, *CreateTagBindingRequest) (*longrunningpb.Operation, error)
1027 // Deletes a TagBinding.
1028 DeleteTagBinding(context.Context, *DeleteTagBindingRequest) (*longrunningpb.Operation, error)
1029 // Return a list of effective tags for the given Google Cloud resource, as
1030 // specified in `parent`.
1031 ListEffectiveTags(context.Context, *ListEffectiveTagsRequest) (*ListEffectiveTagsResponse, error)
1032 }
1033
1034 // UnimplementedTagBindingsServer can be embedded to have forward compatible implementations.
1035 type UnimplementedTagBindingsServer struct {
1036 }
1037
1038 func (*UnimplementedTagBindingsServer) ListTagBindings(context.Context, *ListTagBindingsRequest) (*ListTagBindingsResponse, error) {
1039 return nil, status.Errorf(codes.Unimplemented, "method ListTagBindings not implemented")
1040 }
1041 func (*UnimplementedTagBindingsServer) CreateTagBinding(context.Context, *CreateTagBindingRequest) (*longrunningpb.Operation, error) {
1042 return nil, status.Errorf(codes.Unimplemented, "method CreateTagBinding not implemented")
1043 }
1044 func (*UnimplementedTagBindingsServer) DeleteTagBinding(context.Context, *DeleteTagBindingRequest) (*longrunningpb.Operation, error) {
1045 return nil, status.Errorf(codes.Unimplemented, "method DeleteTagBinding not implemented")
1046 }
1047 func (*UnimplementedTagBindingsServer) ListEffectiveTags(context.Context, *ListEffectiveTagsRequest) (*ListEffectiveTagsResponse, error) {
1048 return nil, status.Errorf(codes.Unimplemented, "method ListEffectiveTags not implemented")
1049 }
1050
1051 func RegisterTagBindingsServer(s *grpc.Server, srv TagBindingsServer) {
1052 s.RegisterService(&_TagBindings_serviceDesc, srv)
1053 }
1054
1055 func _TagBindings_ListTagBindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1056 in := new(ListTagBindingsRequest)
1057 if err := dec(in); err != nil {
1058 return nil, err
1059 }
1060 if interceptor == nil {
1061 return srv.(TagBindingsServer).ListTagBindings(ctx, in)
1062 }
1063 info := &grpc.UnaryServerInfo{
1064 Server: srv,
1065 FullMethod: "/google.cloud.resourcemanager.v3.TagBindings/ListTagBindings",
1066 }
1067 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1068 return srv.(TagBindingsServer).ListTagBindings(ctx, req.(*ListTagBindingsRequest))
1069 }
1070 return interceptor(ctx, in, info, handler)
1071 }
1072
1073 func _TagBindings_CreateTagBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1074 in := new(CreateTagBindingRequest)
1075 if err := dec(in); err != nil {
1076 return nil, err
1077 }
1078 if interceptor == nil {
1079 return srv.(TagBindingsServer).CreateTagBinding(ctx, in)
1080 }
1081 info := &grpc.UnaryServerInfo{
1082 Server: srv,
1083 FullMethod: "/google.cloud.resourcemanager.v3.TagBindings/CreateTagBinding",
1084 }
1085 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1086 return srv.(TagBindingsServer).CreateTagBinding(ctx, req.(*CreateTagBindingRequest))
1087 }
1088 return interceptor(ctx, in, info, handler)
1089 }
1090
1091 func _TagBindings_DeleteTagBinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1092 in := new(DeleteTagBindingRequest)
1093 if err := dec(in); err != nil {
1094 return nil, err
1095 }
1096 if interceptor == nil {
1097 return srv.(TagBindingsServer).DeleteTagBinding(ctx, in)
1098 }
1099 info := &grpc.UnaryServerInfo{
1100 Server: srv,
1101 FullMethod: "/google.cloud.resourcemanager.v3.TagBindings/DeleteTagBinding",
1102 }
1103 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1104 return srv.(TagBindingsServer).DeleteTagBinding(ctx, req.(*DeleteTagBindingRequest))
1105 }
1106 return interceptor(ctx, in, info, handler)
1107 }
1108
1109 func _TagBindings_ListEffectiveTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1110 in := new(ListEffectiveTagsRequest)
1111 if err := dec(in); err != nil {
1112 return nil, err
1113 }
1114 if interceptor == nil {
1115 return srv.(TagBindingsServer).ListEffectiveTags(ctx, in)
1116 }
1117 info := &grpc.UnaryServerInfo{
1118 Server: srv,
1119 FullMethod: "/google.cloud.resourcemanager.v3.TagBindings/ListEffectiveTags",
1120 }
1121 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1122 return srv.(TagBindingsServer).ListEffectiveTags(ctx, req.(*ListEffectiveTagsRequest))
1123 }
1124 return interceptor(ctx, in, info, handler)
1125 }
1126
1127 var _TagBindings_serviceDesc = grpc.ServiceDesc{
1128 ServiceName: "google.cloud.resourcemanager.v3.TagBindings",
1129 HandlerType: (*TagBindingsServer)(nil),
1130 Methods: []grpc.MethodDesc{
1131 {
1132 MethodName: "ListTagBindings",
1133 Handler: _TagBindings_ListTagBindings_Handler,
1134 },
1135 {
1136 MethodName: "CreateTagBinding",
1137 Handler: _TagBindings_CreateTagBinding_Handler,
1138 },
1139 {
1140 MethodName: "DeleteTagBinding",
1141 Handler: _TagBindings_DeleteTagBinding_Handler,
1142 },
1143 {
1144 MethodName: "ListEffectiveTags",
1145 Handler: _TagBindings_ListEffectiveTags_Handler,
1146 },
1147 },
1148 Streams: []grpc.StreamDesc{},
1149 Metadata: "google/cloud/resourcemanager/v3/tag_bindings.proto",
1150 }