Debian Codegraph @

resourcemanager/apiv3/resourcemanagerpb/tag_keys.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_keys.proto
20
21 package resourcemanagerpb
22
23 import (
24 iampb "cloud.google.com/go/iam/apiv1/iampb"
25 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
26 context "context"
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 grpc "google.golang.org/grpc"
29 codes "google.golang.org/grpc/codes"
30 status "google.golang.org/grpc/status"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
34 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
35 reflect "reflect"
36 sync "sync"
37 )
38
39 const (
40 // Verify that this generated code is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42 // Verify that runtime/protoimpl is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46 // A purpose for each policy engine requiring such an integration. A single
47 // policy engine may have multiple purposes defined, however a TagKey may only
48 // specify a single purpose.
49 type Purpose int32
50
51 const (
52 // Unspecified purpose.
53 Purpose_PURPOSE_UNSPECIFIED Purpose = 0
54 // Purpose for Compute Engine firewalls.
55 // A corresponding `purpose_data` should be set for the network the tag is
56 // intended for. The key should be `network` and the value should be in
57 // either of these two formats:
58 //
59 // -
60 // `https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}`
61 // - `{project_id}/{network_name}`
62 //
63 // Examples:
64 //
65 // -
66 // `https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600`
67 // - `fail-closed-load-testing/load-testing-network`
68 Purpose_GCE_FIREWALL Purpose = 1
69 )
70
71 // Enum value maps for Purpose.
72 var (
73 Purpose_name = map[int32]string{
74 0: "PURPOSE_UNSPECIFIED",
75 1: "GCE_FIREWALL",
76 }
77 Purpose_value = map[string]int32{
78 "PURPOSE_UNSPECIFIED": 0,
79 "GCE_FIREWALL": 1,
80 }
81 )
82
83 func (x Purpose) Enum() *Purpose {
84 p := new(Purpose)
85 *p = x
86 return p
87 }
88
89 func (x Purpose) String() string {
90 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
91 }
92
93 func (Purpose) Descriptor() protoreflect.EnumDescriptor {
94 return file_google_cloud_resourcemanager_v3_tag_keys_proto_enumTypes[0].Descriptor()
95 }
96
97 func (Purpose) Type() protoreflect.EnumType {
98 return &file_google_cloud_resourcemanager_v3_tag_keys_proto_enumTypes[0]
99 }
100
101 func (x Purpose) Number() protoreflect.EnumNumber {
102 return protoreflect.EnumNumber(x)
103 }
104
105 // Deprecated: Use Purpose.Descriptor instead.
106 func (Purpose) EnumDescriptor() ([]byte, []int) {
107 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{0}
108 }
109
110 // A TagKey, used to group a set of TagValues.
111 type TagKey struct {
112 state protoimpl.MessageState
113 sizeCache protoimpl.SizeCache
114 unknownFields protoimpl.UnknownFields
115
116 // Immutable. The resource name for a TagKey. Must be in the format
117 // `tagKeys/{tag_key_id}`, where `tag_key_id` is the generated numeric id for
118 // the TagKey.
119 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
120 // Immutable. The resource name of the TagKey's parent. A TagKey can be
121 // parented by an Organization or a Project. For a TagKey parented by an
122 // Organization, its parent must be in the form `organizations/{org_id}`. For
123 // a TagKey parented by a Project, its parent can be in the form
124 // `projects/{project_id}` or `projects/{project_number}`.
125 Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
126 // Required. Immutable. The user friendly name for a TagKey. The short name
127 // should be unique for TagKeys within the same tag namespace.
128 //
129 // The short name must be 1-63 characters, beginning and ending with
130 // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_),
131 // dots (.), and alphanumerics between.
132 ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
133 // Output only. Immutable. Namespaced name of the TagKey.
134 NamespacedName string `protobuf:"bytes,4,opt,name=namespaced_name,json=namespacedName,proto3" json:"namespaced_name,omitempty"`
135 // Optional. User-assigned description of the TagKey. Must not exceed 256
136 // characters.
137 //
138 // Read-write.
139 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
140 // Output only. Creation time.
141 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
142 // Output only. Update time.
143 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
144 // Optional. Entity tag which users can pass to prevent race conditions. This
145 // field is always set in server responses. See UpdateTagKeyRequest for
146 // details.
147 Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
148 // Optional. A purpose denotes that this Tag is intended for use in policies
149 // of a specific policy engine, and will involve that policy engine in
150 // management operations involving this Tag. A purpose does not grant a
151 // policy engine exclusive rights to the Tag, and it may be referenced by
152 // other policy engines.
153 //
154 // A purpose cannot be changed once set.
155 Purpose Purpose `protobuf:"varint,11,opt,name=purpose,proto3,enum=google.cloud.resourcemanager.v3.Purpose" json:"purpose,omitempty"`
156 // Optional. Purpose data corresponds to the policy system that the tag is
157 // intended for. See documentation for `Purpose` for formatting of this field.
158 //
159 // Purpose data cannot be changed once set.
160 PurposeData map[string]string `protobuf:"bytes,12,rep,name=purpose_data,json=purposeData,proto3" json:"purpose_data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
161 }
162
163 func (x *TagKey) Reset() {
164 *x = TagKey{}
165 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[0]
166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
167 ms.StoreMessageInfo(mi)
168 }
169
170 func (x *TagKey) String() string {
171 return protoimpl.X.MessageStringOf(x)
172 }
173
174 func (*TagKey) ProtoMessage() {}
175
176 func (x *TagKey) ProtoReflect() protoreflect.Message {
177 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[0]
178 if x != nil {
179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180 if ms.LoadMessageInfo() == nil {
181 ms.StoreMessageInfo(mi)
182 }
183 return ms
184 }
185 return mi.MessageOf(x)
186 }
187
188 // Deprecated: Use TagKey.ProtoReflect.Descriptor instead.
189 func (*TagKey) Descriptor() ([]byte, []int) {
190 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{0}
191 }
192
193 func (x *TagKey) GetName() string {
194 if x != nil {
195 return x.Name
196 }
197 return ""
198 }
199
200 func (x *TagKey) GetParent() string {
201 if x != nil {
202 return x.Parent
203 }
204 return ""
205 }
206
207 func (x *TagKey) GetShortName() string {
208 if x != nil {
209 return x.ShortName
210 }
211 return ""
212 }
213
214 func (x *TagKey) GetNamespacedName() string {
215 if x != nil {
216 return x.NamespacedName
217 }
218 return ""
219 }
220
221 func (x *TagKey) GetDescription() string {
222 if x != nil {
223 return x.Description
224 }
225 return ""
226 }
227
228 func (x *TagKey) GetCreateTime() *timestamppb.Timestamp {
229 if x != nil {
230 return x.CreateTime
231 }
232 return nil
233 }
234
235 func (x *TagKey) GetUpdateTime() *timestamppb.Timestamp {
236 if x != nil {
237 return x.UpdateTime
238 }
239 return nil
240 }
241
242 func (x *TagKey) GetEtag() string {
243 if x != nil {
244 return x.Etag
245 }
246 return ""
247 }
248
249 func (x *TagKey) GetPurpose() Purpose {
250 if x != nil {
251 return x.Purpose
252 }
253 return Purpose_PURPOSE_UNSPECIFIED
254 }
255
256 func (x *TagKey) GetPurposeData() map[string]string {
257 if x != nil {
258 return x.PurposeData
259 }
260 return nil
261 }
262
263 // The request message for listing all TagKeys under a parent resource.
264 type ListTagKeysRequest struct {
265 state protoimpl.MessageState
266 sizeCache protoimpl.SizeCache
267 unknownFields protoimpl.UnknownFields
268
269 // Required. The resource name of the TagKey's parent.
270 // Must be of the form `organizations/{org_id}` or `projects/{project_id}` or
271 // `projects/{project_number}`
272 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
273 // Optional. The maximum number of TagKeys to return in the response. The
274 // server allows a maximum of 300 TagKeys to return. If unspecified, the
275 // server will use 100 as the default.
276 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
277 // Optional. A pagination token returned from a previous call to `ListTagKey`
278 // that indicates where this listing should continue from.
279 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
280 }
281
282 func (x *ListTagKeysRequest) Reset() {
283 *x = ListTagKeysRequest{}
284 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[1]
285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
286 ms.StoreMessageInfo(mi)
287 }
288
289 func (x *ListTagKeysRequest) String() string {
290 return protoimpl.X.MessageStringOf(x)
291 }
292
293 func (*ListTagKeysRequest) ProtoMessage() {}
294
295 func (x *ListTagKeysRequest) ProtoReflect() protoreflect.Message {
296 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[1]
297 if x != nil {
298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
299 if ms.LoadMessageInfo() == nil {
300 ms.StoreMessageInfo(mi)
301 }
302 return ms
303 }
304 return mi.MessageOf(x)
305 }
306
307 // Deprecated: Use ListTagKeysRequest.ProtoReflect.Descriptor instead.
308 func (*ListTagKeysRequest) Descriptor() ([]byte, []int) {
309 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{1}
310 }
311
312 func (x *ListTagKeysRequest) GetParent() string {
313 if x != nil {
314 return x.Parent
315 }
316 return ""
317 }
318
319 func (x *ListTagKeysRequest) GetPageSize() int32 {
320 if x != nil {
321 return x.PageSize
322 }
323 return 0
324 }
325
326 func (x *ListTagKeysRequest) GetPageToken() string {
327 if x != nil {
328 return x.PageToken
329 }
330 return ""
331 }
332
333 // The ListTagKeys response message.
334 type ListTagKeysResponse struct {
335 state protoimpl.MessageState
336 sizeCache protoimpl.SizeCache
337 unknownFields protoimpl.UnknownFields
338
339 // List of TagKeys that live under the specified parent in the request.
340 TagKeys []*TagKey `protobuf:"bytes,1,rep,name=tag_keys,json=tagKeys,proto3" json:"tag_keys,omitempty"`
341 // A pagination token returned from a previous call to `ListTagKeys`
342 // that indicates from where listing should continue.
343 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
344 }
345
346 func (x *ListTagKeysResponse) Reset() {
347 *x = ListTagKeysResponse{}
348 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[2]
349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
350 ms.StoreMessageInfo(mi)
351 }
352
353 func (x *ListTagKeysResponse) String() string {
354 return protoimpl.X.MessageStringOf(x)
355 }
356
357 func (*ListTagKeysResponse) ProtoMessage() {}
358
359 func (x *ListTagKeysResponse) ProtoReflect() protoreflect.Message {
360 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[2]
361 if x != nil {
362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
363 if ms.LoadMessageInfo() == nil {
364 ms.StoreMessageInfo(mi)
365 }
366 return ms
367 }
368 return mi.MessageOf(x)
369 }
370
371 // Deprecated: Use ListTagKeysResponse.ProtoReflect.Descriptor instead.
372 func (*ListTagKeysResponse) Descriptor() ([]byte, []int) {
373 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{2}
374 }
375
376 func (x *ListTagKeysResponse) GetTagKeys() []*TagKey {
377 if x != nil {
378 return x.TagKeys
379 }
380 return nil
381 }
382
383 func (x *ListTagKeysResponse) GetNextPageToken() string {
384 if x != nil {
385 return x.NextPageToken
386 }
387 return ""
388 }
389
390 // The request message for getting a TagKey.
391 type GetTagKeyRequest struct {
392 state protoimpl.MessageState
393 sizeCache protoimpl.SizeCache
394 unknownFields protoimpl.UnknownFields
395
396 // Required. A resource name in the format `tagKeys/{id}`, such as
397 // `tagKeys/123`.
398 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
399 }
400
401 func (x *GetTagKeyRequest) Reset() {
402 *x = GetTagKeyRequest{}
403 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[3]
404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
405 ms.StoreMessageInfo(mi)
406 }
407
408 func (x *GetTagKeyRequest) String() string {
409 return protoimpl.X.MessageStringOf(x)
410 }
411
412 func (*GetTagKeyRequest) ProtoMessage() {}
413
414 func (x *GetTagKeyRequest) ProtoReflect() protoreflect.Message {
415 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[3]
416 if x != nil {
417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418 if ms.LoadMessageInfo() == nil {
419 ms.StoreMessageInfo(mi)
420 }
421 return ms
422 }
423 return mi.MessageOf(x)
424 }
425
426 // Deprecated: Use GetTagKeyRequest.ProtoReflect.Descriptor instead.
427 func (*GetTagKeyRequest) Descriptor() ([]byte, []int) {
428 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{3}
429 }
430
431 func (x *GetTagKeyRequest) GetName() string {
432 if x != nil {
433 return x.Name
434 }
435 return ""
436 }
437
438 // The request message for getting a TagKey by its namespaced name.
439 type GetNamespacedTagKeyRequest struct {
440 state protoimpl.MessageState
441 sizeCache protoimpl.SizeCache
442 unknownFields protoimpl.UnknownFields
443
444 // Required. A namespaced tag key name in the format
445 // `{parentId}/{tagKeyShort}`, such as `42/foo` for a key with short name
446 // "foo" under the organization with ID 42 or `r2-d2/bar` for a key with short
447 // name "bar" under the project `r2-d2`.
448 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
449 }
450
451 func (x *GetNamespacedTagKeyRequest) Reset() {
452 *x = GetNamespacedTagKeyRequest{}
453 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[4]
454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455 ms.StoreMessageInfo(mi)
456 }
457
458 func (x *GetNamespacedTagKeyRequest) String() string {
459 return protoimpl.X.MessageStringOf(x)
460 }
461
462 func (*GetNamespacedTagKeyRequest) ProtoMessage() {}
463
464 func (x *GetNamespacedTagKeyRequest) ProtoReflect() protoreflect.Message {
465 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[4]
466 if x != nil {
467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
468 if ms.LoadMessageInfo() == nil {
469 ms.StoreMessageInfo(mi)
470 }
471 return ms
472 }
473 return mi.MessageOf(x)
474 }
475
476 // Deprecated: Use GetNamespacedTagKeyRequest.ProtoReflect.Descriptor instead.
477 func (*GetNamespacedTagKeyRequest) Descriptor() ([]byte, []int) {
478 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{4}
479 }
480
481 func (x *GetNamespacedTagKeyRequest) GetName() string {
482 if x != nil {
483 return x.Name
484 }
485 return ""
486 }
487
488 // The request message for creating a TagKey.
489 type CreateTagKeyRequest struct {
490 state protoimpl.MessageState
491 sizeCache protoimpl.SizeCache
492 unknownFields protoimpl.UnknownFields
493
494 // Required. The TagKey to be created. Only fields `short_name`,
495 // `description`, and `parent` are considered during the creation request.
496 TagKey *TagKey `protobuf:"bytes,1,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"`
497 // Optional. Set to true to perform validations necessary for creating the
498 // resource, but not actually perform the action.
499 ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
500 }
501
502 func (x *CreateTagKeyRequest) Reset() {
503 *x = CreateTagKeyRequest{}
504 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[5]
505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
506 ms.StoreMessageInfo(mi)
507 }
508
509 func (x *CreateTagKeyRequest) String() string {
510 return protoimpl.X.MessageStringOf(x)
511 }
512
513 func (*CreateTagKeyRequest) ProtoMessage() {}
514
515 func (x *CreateTagKeyRequest) ProtoReflect() protoreflect.Message {
516 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[5]
517 if x != nil {
518 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
519 if ms.LoadMessageInfo() == nil {
520 ms.StoreMessageInfo(mi)
521 }
522 return ms
523 }
524 return mi.MessageOf(x)
525 }
526
527 // Deprecated: Use CreateTagKeyRequest.ProtoReflect.Descriptor instead.
528 func (*CreateTagKeyRequest) Descriptor() ([]byte, []int) {
529 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{5}
530 }
531
532 func (x *CreateTagKeyRequest) GetTagKey() *TagKey {
533 if x != nil {
534 return x.TagKey
535 }
536 return nil
537 }
538
539 func (x *CreateTagKeyRequest) GetValidateOnly() bool {
540 if x != nil {
541 return x.ValidateOnly
542 }
543 return false
544 }
545
546 // Runtime operation information for creating a TagKey.
547 type CreateTagKeyMetadata struct {
548 state protoimpl.MessageState
549 sizeCache protoimpl.SizeCache
550 unknownFields protoimpl.UnknownFields
551 }
552
553 func (x *CreateTagKeyMetadata) Reset() {
554 *x = CreateTagKeyMetadata{}
555 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[6]
556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
557 ms.StoreMessageInfo(mi)
558 }
559
560 func (x *CreateTagKeyMetadata) String() string {
561 return protoimpl.X.MessageStringOf(x)
562 }
563
564 func (*CreateTagKeyMetadata) ProtoMessage() {}
565
566 func (x *CreateTagKeyMetadata) ProtoReflect() protoreflect.Message {
567 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[6]
568 if x != nil {
569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
570 if ms.LoadMessageInfo() == nil {
571 ms.StoreMessageInfo(mi)
572 }
573 return ms
574 }
575 return mi.MessageOf(x)
576 }
577
578 // Deprecated: Use CreateTagKeyMetadata.ProtoReflect.Descriptor instead.
579 func (*CreateTagKeyMetadata) Descriptor() ([]byte, []int) {
580 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{6}
581 }
582
583 // The request message for updating a TagKey.
584 type UpdateTagKeyRequest struct {
585 state protoimpl.MessageState
586 sizeCache protoimpl.SizeCache
587 unknownFields protoimpl.UnknownFields
588
589 // Required. The new definition of the TagKey. Only the `description` and
590 // `etag` fields can be updated by this request. If the `etag` field is not
591 // empty, it must match the `etag` field of the existing tag key. Otherwise,
592 // `ABORTED` will be returned.
593 TagKey *TagKey `protobuf:"bytes,1,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"`
594 // Fields to be updated. The mask may only contain `description` or
595 // `etag`. If omitted entirely, both `description` and `etag` are assumed to
596 // be significant.
597 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
598 // Set as true to perform validations necessary for updating the resource, but
599 // not actually perform the action.
600 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
601 }
602
603 func (x *UpdateTagKeyRequest) Reset() {
604 *x = UpdateTagKeyRequest{}
605 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[7]
606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607 ms.StoreMessageInfo(mi)
608 }
609
610 func (x *UpdateTagKeyRequest) String() string {
611 return protoimpl.X.MessageStringOf(x)
612 }
613
614 func (*UpdateTagKeyRequest) ProtoMessage() {}
615
616 func (x *UpdateTagKeyRequest) ProtoReflect() protoreflect.Message {
617 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[7]
618 if x != nil {
619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620 if ms.LoadMessageInfo() == nil {
621 ms.StoreMessageInfo(mi)
622 }
623 return ms
624 }
625 return mi.MessageOf(x)
626 }
627
628 // Deprecated: Use UpdateTagKeyRequest.ProtoReflect.Descriptor instead.
629 func (*UpdateTagKeyRequest) Descriptor() ([]byte, []int) {
630 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{7}
631 }
632
633 func (x *UpdateTagKeyRequest) GetTagKey() *TagKey {
634 if x != nil {
635 return x.TagKey
636 }
637 return nil
638 }
639
640 func (x *UpdateTagKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
641 if x != nil {
642 return x.UpdateMask
643 }
644 return nil
645 }
646
647 func (x *UpdateTagKeyRequest) GetValidateOnly() bool {
648 if x != nil {
649 return x.ValidateOnly
650 }
651 return false
652 }
653
654 // Runtime operation information for updating a TagKey.
655 type UpdateTagKeyMetadata struct {
656 state protoimpl.MessageState
657 sizeCache protoimpl.SizeCache
658 unknownFields protoimpl.UnknownFields
659 }
660
661 func (x *UpdateTagKeyMetadata) Reset() {
662 *x = UpdateTagKeyMetadata{}
663 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[8]
664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
665 ms.StoreMessageInfo(mi)
666 }
667
668 func (x *UpdateTagKeyMetadata) String() string {
669 return protoimpl.X.MessageStringOf(x)
670 }
671
672 func (*UpdateTagKeyMetadata) ProtoMessage() {}
673
674 func (x *UpdateTagKeyMetadata) ProtoReflect() protoreflect.Message {
675 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[8]
676 if x != nil {
677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
678 if ms.LoadMessageInfo() == nil {
679 ms.StoreMessageInfo(mi)
680 }
681 return ms
682 }
683 return mi.MessageOf(x)
684 }
685
686 // Deprecated: Use UpdateTagKeyMetadata.ProtoReflect.Descriptor instead.
687 func (*UpdateTagKeyMetadata) Descriptor() ([]byte, []int) {
688 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{8}
689 }
690
691 // The request message for deleting a TagKey.
692 type DeleteTagKeyRequest struct {
693 state protoimpl.MessageState
694 sizeCache protoimpl.SizeCache
695 unknownFields protoimpl.UnknownFields
696
697 // Required. The resource name of a TagKey to be deleted in the format
698 // `tagKeys/123`. The TagKey cannot be a parent of any existing TagValues or
699 // it will not be deleted successfully.
700 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
701 // Optional. Set as true to perform validations necessary for deletion, but
702 // not actually perform the action.
703 ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
704 // Optional. The etag known to the client for the expected state of the
705 // TagKey. This is to be used for optimistic concurrency.
706 Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
707 }
708
709 func (x *DeleteTagKeyRequest) Reset() {
710 *x = DeleteTagKeyRequest{}
711 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[9]
712 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
713 ms.StoreMessageInfo(mi)
714 }
715
716 func (x *DeleteTagKeyRequest) String() string {
717 return protoimpl.X.MessageStringOf(x)
718 }
719
720 func (*DeleteTagKeyRequest) ProtoMessage() {}
721
722 func (x *DeleteTagKeyRequest) ProtoReflect() protoreflect.Message {
723 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[9]
724 if x != nil {
725 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
726 if ms.LoadMessageInfo() == nil {
727 ms.StoreMessageInfo(mi)
728 }
729 return ms
730 }
731 return mi.MessageOf(x)
732 }
733
734 // Deprecated: Use DeleteTagKeyRequest.ProtoReflect.Descriptor instead.
735 func (*DeleteTagKeyRequest) Descriptor() ([]byte, []int) {
736 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{9}
737 }
738
739 func (x *DeleteTagKeyRequest) GetName() string {
740 if x != nil {
741 return x.Name
742 }
743 return ""
744 }
745
746 func (x *DeleteTagKeyRequest) GetValidateOnly() bool {
747 if x != nil {
748 return x.ValidateOnly
749 }
750 return false
751 }
752
753 func (x *DeleteTagKeyRequest) GetEtag() string {
754 if x != nil {
755 return x.Etag
756 }
757 return ""
758 }
759
760 // Runtime operation information for deleting a TagKey.
761 type DeleteTagKeyMetadata struct {
762 state protoimpl.MessageState
763 sizeCache protoimpl.SizeCache
764 unknownFields protoimpl.UnknownFields
765 }
766
767 func (x *DeleteTagKeyMetadata) Reset() {
768 *x = DeleteTagKeyMetadata{}
769 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[10]
770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
771 ms.StoreMessageInfo(mi)
772 }
773
774 func (x *DeleteTagKeyMetadata) String() string {
775 return protoimpl.X.MessageStringOf(x)
776 }
777
778 func (*DeleteTagKeyMetadata) ProtoMessage() {}
779
780 func (x *DeleteTagKeyMetadata) ProtoReflect() protoreflect.Message {
781 mi := &file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes[10]
782 if x != nil {
783 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
784 if ms.LoadMessageInfo() == nil {
785 ms.StoreMessageInfo(mi)
786 }
787 return ms
788 }
789 return mi.MessageOf(x)
790 }
791
792 // Deprecated: Use DeleteTagKeyMetadata.ProtoReflect.Descriptor instead.
793 func (*DeleteTagKeyMetadata) Descriptor() ([]byte, []int) {
794 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP(), []int{10}
795 }
796
797 var File_google_cloud_resourcemanager_v3_tag_keys_proto protoreflect.FileDescriptor
798
799 var file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDesc = []byte{
800 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
801 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76,
802 0x33, 0x2f, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
803 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
804 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76,
805 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
806 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
807 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65,
808 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
809 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
810 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
811 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
812 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d,
813 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70,
814 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d,
815 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
816 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e,
817 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
818 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
819 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
820 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
821 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
822 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x05, 0x0a, 0x06, 0x54, 0x61, 0x67,
823 0x4b, 0x65, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
824 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06,
825 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
826 0x05, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x73, 0x68, 0x6f,
827 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0,
828 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65,
829 0x12, 0x2f, 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6e,
830 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x03, 0xe0, 0x41,
831 0x05, 0x52, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d,
832 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
833 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73,
834 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
835 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
836 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
837 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a,
838 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70,
839 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
840 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
841 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
842 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x04,
843 0x65, 0x74, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
844 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x47, 0x0a, 0x07, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65,
845 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
846 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
847 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65,
848 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x60,
849 0x0a, 0x0c, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c,
850 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
851 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
852 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x2e, 0x50, 0x75,
853 0x72, 0x70, 0x6f, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03,
854 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61,
855 0x1a, 0x3e, 0x0a, 0x10, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x45,
856 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
857 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
858 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
859 0x3a, 0x45, 0xea, 0x41, 0x42, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f,
860 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
861 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67, 0x4b, 0x65,
862 0x79, 0x12, 0x11, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x67, 0x5f,
863 0x6b, 0x65, 0x79, 0x7d, 0x52, 0x01, 0x01, 0x22, 0x7d, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54,
864 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a,
865 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09, 0xe0,
866 0x41, 0x02, 0xfa, 0x41, 0x03, 0x12, 0x01, 0x2a, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
867 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
868 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
869 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
870 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67,
871 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x54,
872 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42,
873 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
874 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
875 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
876 0x76, 0x33, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4b, 0x65,
877 0x79, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
878 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
879 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5a, 0x0a, 0x10, 0x47, 0x65,
880 0x74, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46,
881 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41,
882 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75,
883 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
884 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79,
885 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d,
886 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71,
887 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
888 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75,
889 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
890 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
891 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x86, 0x01, 0x0a,
892 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71,
893 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18,
894 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
895 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e,
896 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x42, 0x03,
897 0xe0, 0x41, 0x02, 0x52, 0x06, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x0d, 0x76,
898 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01,
899 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
900 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
901 0x61, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xbe, 0x01,
902 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65,
903 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79,
904 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
905 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
906 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x42,
907 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x0b,
908 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
909 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
910 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
911 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c,
912 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
913 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x16,
914 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65,
915 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa0, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74,
916 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46,
917 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41,
918 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75,
919 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
920 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79,
921 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
922 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0,
923 0x41, 0x01, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79,
924 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
925 0xe0, 0x41, 0x01, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c,
926 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
927 0x61, 0x2a, 0x34, 0x0a, 0x07, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x13,
928 0x50, 0x55, 0x52, 0x50, 0x4f, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
929 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x43, 0x45, 0x5f, 0x46, 0x49, 0x52,
930 0x45, 0x57, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x32, 0xe4, 0x0c, 0x0a, 0x07, 0x54, 0x61, 0x67, 0x4b,
931 0x65, 0x79, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4b,
932 0x65, 0x79, 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
933 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
934 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79,
935 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
936 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
937 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54,
938 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c,
939 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x12,
940 0x0b, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x8c, 0x01, 0x0a,
941 0x09, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f,
942 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
943 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74,
944 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
945 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73,
946 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e,
947 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x23, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
948 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
949 0x3d, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa2, 0x01, 0x0a, 0x13,
950 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x54, 0x61, 0x67,
951 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
952 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67,
953 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
954 0x63, 0x65, 0x64, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
955 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
956 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
957 0x76, 0x33, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61,
958 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x61,
959 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64,
960 0x12, 0xac, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65,
961 0x79, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
962 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
963 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79,
964 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
965 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65,
966 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0xca, 0x41, 0x1e, 0x0a, 0x06, 0x54, 0x61, 0x67,
967 0x4b, 0x65, 0x79, 0x12, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65,
968 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x07, 0x74, 0x61, 0x67, 0x5f,
969 0x6b, 0x65, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b,
970 0x65, 0x79, 0x22, 0x0b, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12,
971 0xc9, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79,
972 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
973 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e,
974 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52,
975 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
976 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72,
977 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x64, 0xca, 0x41, 0x1e, 0x0a, 0x06, 0x54, 0x61, 0x67, 0x4b,
978 0x65, 0x79, 0x12, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79,
979 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x13, 0x74, 0x61, 0x67, 0x5f, 0x6b,
980 0x65, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,
981 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x32, 0x1c, 0x2f,
982 0x76, 0x33, 0x2f, 0x7b, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
983 0x3d, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa9, 0x01, 0x0a, 0x0c,
984 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x2e, 0x67,
985 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f,
986 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x44,
987 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
988 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67,
989 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
990 0x6e, 0x22, 0x44, 0xca, 0x41, 0x1e, 0x0a, 0x06, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x14,
991 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61,
992 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
993 0x16, 0x2a, 0x14, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x74, 0x61, 0x67,
994 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x86, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49,
995 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
996 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
997 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67,
998 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c,
999 0x69, 0x63, 0x79, 0x22, 0x3b, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1000 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x33, 0x2f, 0x7b,
1001 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73,
1002 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1003 0x12, 0x8d, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1004 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76,
1005 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
1006 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69,
1007 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x42, 0xda, 0x41,
1008 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1009 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x33, 0x2f, 0x7b,
1010 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73,
1011 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1012 0x12, 0xb8, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d,
1013 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1014 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50,
1015 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1016 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76,
1017 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
1018 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xda, 0x41,
1019 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
1020 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b,
1021 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x74, 0x61,
1022 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d,
1023 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x90, 0x01, 0xca, 0x41,
1024 0x23, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61,
1025 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1026 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x67, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
1027 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
1028 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61,
1029 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
1030 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
1031 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74,
1032 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0xed,
1033 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1034 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
1035 0x67, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x50,
1036 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
1037 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f,
1038 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76,
1039 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1040 0x72, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
1041 0x67, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
1042 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e,
1043 0x61, 0x67, 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1044 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d,
1045 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5c, 0x56, 0x33, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67,
1046 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75,
1047 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06,
1048 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1049 }
1050
1051 var (
1052 file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescOnce sync.Once
1053 file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescData = file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDesc
1054 )
1055
1056 func file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescGZIP() []byte {
1057 file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescOnce.Do(func() {
1058 file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescData)
1059 })
1060 return file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDescData
1061 }
1062
1063 var file_google_cloud_resourcemanager_v3_tag_keys_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1064 var file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1065 var file_google_cloud_resourcemanager_v3_tag_keys_proto_goTypes = []any{
1066 (Purpose)(0), // 0: google.cloud.resourcemanager.v3.Purpose
1067 (*TagKey)(nil), // 1: google.cloud.resourcemanager.v3.TagKey
1068 (*ListTagKeysRequest)(nil), // 2: google.cloud.resourcemanager.v3.ListTagKeysRequest
1069 (*ListTagKeysResponse)(nil), // 3: google.cloud.resourcemanager.v3.ListTagKeysResponse
1070 (*GetTagKeyRequest)(nil), // 4: google.cloud.resourcemanager.v3.GetTagKeyRequest
1071 (*GetNamespacedTagKeyRequest)(nil), // 5: google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest
1072 (*CreateTagKeyRequest)(nil), // 6: google.cloud.resourcemanager.v3.CreateTagKeyRequest
1073 (*CreateTagKeyMetadata)(nil), // 7: google.cloud.resourcemanager.v3.CreateTagKeyMetadata
1074 (*UpdateTagKeyRequest)(nil), // 8: google.cloud.resourcemanager.v3.UpdateTagKeyRequest
1075 (*UpdateTagKeyMetadata)(nil), // 9: google.cloud.resourcemanager.v3.UpdateTagKeyMetadata
1076 (*DeleteTagKeyRequest)(nil), // 10: google.cloud.resourcemanager.v3.DeleteTagKeyRequest
1077 (*DeleteTagKeyMetadata)(nil), // 11: google.cloud.resourcemanager.v3.DeleteTagKeyMetadata
1078 nil, // 12: google.cloud.resourcemanager.v3.TagKey.PurposeDataEntry
1079 (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
1080 (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask
1081 (*iampb.GetIamPolicyRequest)(nil), // 15: google.iam.v1.GetIamPolicyRequest
1082 (*iampb.SetIamPolicyRequest)(nil), // 16: google.iam.v1.SetIamPolicyRequest
1083 (*iampb.TestIamPermissionsRequest)(nil), // 17: google.iam.v1.TestIamPermissionsRequest
1084 (*longrunningpb.Operation)(nil), // 18: google.longrunning.Operation
1085 (*iampb.Policy)(nil), // 19: google.iam.v1.Policy
1086 (*iampb.TestIamPermissionsResponse)(nil), // 20: google.iam.v1.TestIamPermissionsResponse
1087 }
1088 var file_google_cloud_resourcemanager_v3_tag_keys_proto_depIdxs = []int32{
1089 13, // 0: google.cloud.resourcemanager.v3.TagKey.create_time:type_name -> google.protobuf.Timestamp
1090 13, // 1: google.cloud.resourcemanager.v3.TagKey.update_time:type_name -> google.protobuf.Timestamp
1091 0, // 2: google.cloud.resourcemanager.v3.TagKey.purpose:type_name -> google.cloud.resourcemanager.v3.Purpose
1092 12, // 3: google.cloud.resourcemanager.v3.TagKey.purpose_data:type_name -> google.cloud.resourcemanager.v3.TagKey.PurposeDataEntry
1093 1, // 4: google.cloud.resourcemanager.v3.ListTagKeysResponse.tag_keys:type_name -> google.cloud.resourcemanager.v3.TagKey
1094 1, // 5: google.cloud.resourcemanager.v3.CreateTagKeyRequest.tag_key:type_name -> google.cloud.resourcemanager.v3.TagKey
1095 1, // 6: google.cloud.resourcemanager.v3.UpdateTagKeyRequest.tag_key:type_name -> google.cloud.resourcemanager.v3.TagKey
1096 14, // 7: google.cloud.resourcemanager.v3.UpdateTagKeyRequest.update_mask:type_name -> google.protobuf.FieldMask
1097 2, // 8: google.cloud.resourcemanager.v3.TagKeys.ListTagKeys:input_type -> google.cloud.resourcemanager.v3.ListTagKeysRequest
1098 4, // 9: google.cloud.resourcemanager.v3.TagKeys.GetTagKey:input_type -> google.cloud.resourcemanager.v3.GetTagKeyRequest
1099 5, // 10: google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKey:input_type -> google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest
1100 6, // 11: google.cloud.resourcemanager.v3.TagKeys.CreateTagKey:input_type -> google.cloud.resourcemanager.v3.CreateTagKeyRequest
1101 8, // 12: google.cloud.resourcemanager.v3.TagKeys.UpdateTagKey:input_type -> google.cloud.resourcemanager.v3.UpdateTagKeyRequest
1102 10, // 13: google.cloud.resourcemanager.v3.TagKeys.DeleteTagKey:input_type -> google.cloud.resourcemanager.v3.DeleteTagKeyRequest
1103 15, // 14: google.cloud.resourcemanager.v3.TagKeys.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
1104 16, // 15: google.cloud.resourcemanager.v3.TagKeys.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
1105 17, // 16: google.cloud.resourcemanager.v3.TagKeys.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
1106 3, // 17: google.cloud.resourcemanager.v3.TagKeys.ListTagKeys:output_type -> google.cloud.resourcemanager.v3.ListTagKeysResponse
1107 1, // 18: google.cloud.resourcemanager.v3.TagKeys.GetTagKey:output_type -> google.cloud.resourcemanager.v3.TagKey
1108 1, // 19: google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKey:output_type -> google.cloud.resourcemanager.v3.TagKey
1109 18, // 20: google.cloud.resourcemanager.v3.TagKeys.CreateTagKey:output_type -> google.longrunning.Operation
1110 18, // 21: google.cloud.resourcemanager.v3.TagKeys.UpdateTagKey:output_type -> google.longrunning.Operation
1111 18, // 22: google.cloud.resourcemanager.v3.TagKeys.DeleteTagKey:output_type -> google.longrunning.Operation
1112 19, // 23: google.cloud.resourcemanager.v3.TagKeys.GetIamPolicy:output_type -> google.iam.v1.Policy
1113 19, // 24: google.cloud.resourcemanager.v3.TagKeys.SetIamPolicy:output_type -> google.iam.v1.Policy
1114 20, // 25: google.cloud.resourcemanager.v3.TagKeys.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
1115 17, // [17:26] is the sub-list for method output_type
1116 8, // [8:17] is the sub-list for method input_type
1117 8, // [8:8] is the sub-list for extension type_name
1118 8, // [8:8] is the sub-list for extension extendee
1119 0, // [0:8] is the sub-list for field type_name
1120 }
1121
1122 func init() { file_google_cloud_resourcemanager_v3_tag_keys_proto_init() }
1123 func file_google_cloud_resourcemanager_v3_tag_keys_proto_init() {
1124 if File_google_cloud_resourcemanager_v3_tag_keys_proto != nil {
1125 return
1126 }
1127 type x struct{}
1128 out := protoimpl.TypeBuilder{
1129 File: protoimpl.DescBuilder{
1130 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1131 RawDescriptor: file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDesc,
1132 NumEnums: 1,
1133 NumMessages: 12,
1134 NumExtensions: 0,
1135 NumServices: 1,
1136 },
1137 GoTypes: file_google_cloud_resourcemanager_v3_tag_keys_proto_goTypes,
1138 DependencyIndexes: file_google_cloud_resourcemanager_v3_tag_keys_proto_depIdxs,
1139 EnumInfos: file_google_cloud_resourcemanager_v3_tag_keys_proto_enumTypes,
1140 MessageInfos: file_google_cloud_resourcemanager_v3_tag_keys_proto_msgTypes,
1141 }.Build()
1142 File_google_cloud_resourcemanager_v3_tag_keys_proto = out.File
1143 file_google_cloud_resourcemanager_v3_tag_keys_proto_rawDesc = nil
1144 file_google_cloud_resourcemanager_v3_tag_keys_proto_goTypes = nil
1145 file_google_cloud_resourcemanager_v3_tag_keys_proto_depIdxs = nil
1146 }
1147
1148 // Reference imports to suppress errors if they are not otherwise used.
1149 var _ context.Context
1150 var _ grpc.ClientConnInterface
1151
1152 // This is a compile-time assertion to ensure that this generated file
1153 // is compatible with the grpc package it is being compiled against.
1154 const _ = grpc.SupportPackageIsVersion6
1155
1156 // TagKeysClient is the client API for TagKeys service.
1157 //
1158 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1159 type TagKeysClient interface {
1160 // Lists all TagKeys for a parent resource.
1161 ListTagKeys(ctx context.Context, in *ListTagKeysRequest, opts ...grpc.CallOption) (*ListTagKeysResponse, error)
1162 // Retrieves a TagKey. This method will return `PERMISSION_DENIED` if the
1163 // key does not exist or the user does not have permission to view it.
1164 GetTagKey(ctx context.Context, in *GetTagKeyRequest, opts ...grpc.CallOption) (*TagKey, error)
1165 // Retrieves a TagKey by its namespaced name.
1166 // This method will return `PERMISSION_DENIED` if the key does not exist
1167 // or the user does not have permission to view it.
1168 GetNamespacedTagKey(ctx context.Context, in *GetNamespacedTagKeyRequest, opts ...grpc.CallOption) (*TagKey, error)
1169 // Creates a new TagKey. If another request with the same parameters is
1170 // sent while the original request is in process, the second request
1171 // will receive an error. A maximum of 1000 TagKeys can exist under a parent
1172 // at any given time.
1173 CreateTagKey(ctx context.Context, in *CreateTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
1174 // Updates the attributes of the TagKey resource.
1175 UpdateTagKey(ctx context.Context, in *UpdateTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
1176 // Deletes a TagKey. The TagKey cannot be deleted if it has any child
1177 // TagValues.
1178 DeleteTagKey(ctx context.Context, in *DeleteTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
1179 // Gets the access control policy for a TagKey. The returned policy may be
1180 // empty if no such policy or resource exists. The `resource` field should
1181 // be the TagKey's resource name. For example, "tagKeys/1234".
1182 // The caller must have
1183 // `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on
1184 // the specified TagKey.
1185 GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1186 // Sets the access control policy on a TagKey, replacing any existing
1187 // policy. The `resource` field should be the TagKey's resource name.
1188 // For example, "tagKeys/1234".
1189 // The caller must have `resourcemanager.tagKeys.setIamPolicy` permission
1190 // on the identified tagValue.
1191 SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1192 // Returns permissions that a caller has on the specified TagKey.
1193 // The `resource` field should be the TagKey's resource name.
1194 // For example, "tagKeys/1234".
1195 //
1196 // There are no permissions required for making this API call.
1197 TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
1198 }
1199
1200 type tagKeysClient struct {
1201 cc grpc.ClientConnInterface
1202 }
1203
1204 func NewTagKeysClient(cc grpc.ClientConnInterface) TagKeysClient {
1205 return &tagKeysClient{cc}
1206 }
1207
1208 func (c *tagKeysClient) ListTagKeys(ctx context.Context, in *ListTagKeysRequest, opts ...grpc.CallOption) (*ListTagKeysResponse, error) {
1209 out := new(ListTagKeysResponse)
1210 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/ListTagKeys", in, out, opts...)
1211 if err != nil {
1212 return nil, err
1213 }
1214 return out, nil
1215 }
1216
1217 func (c *tagKeysClient) GetTagKey(ctx context.Context, in *GetTagKeyRequest, opts ...grpc.CallOption) (*TagKey, error) {
1218 out := new(TagKey)
1219 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/GetTagKey", in, out, opts...)
1220 if err != nil {
1221 return nil, err
1222 }
1223 return out, nil
1224 }
1225
1226 func (c *tagKeysClient) GetNamespacedTagKey(ctx context.Context, in *GetNamespacedTagKeyRequest, opts ...grpc.CallOption) (*TagKey, error) {
1227 out := new(TagKey)
1228 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/GetNamespacedTagKey", in, out, opts...)
1229 if err != nil {
1230 return nil, err
1231 }
1232 return out, nil
1233 }
1234
1235 func (c *tagKeysClient) CreateTagKey(ctx context.Context, in *CreateTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1236 out := new(longrunningpb.Operation)
1237 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/CreateTagKey", in, out, opts...)
1238 if err != nil {
1239 return nil, err
1240 }
1241 return out, nil
1242 }
1243
1244 func (c *tagKeysClient) UpdateTagKey(ctx context.Context, in *UpdateTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1245 out := new(longrunningpb.Operation)
1246 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/UpdateTagKey", in, out, opts...)
1247 if err != nil {
1248 return nil, err
1249 }
1250 return out, nil
1251 }
1252
1253 func (c *tagKeysClient) DeleteTagKey(ctx context.Context, in *DeleteTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1254 out := new(longrunningpb.Operation)
1255 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/DeleteTagKey", in, out, opts...)
1256 if err != nil {
1257 return nil, err
1258 }
1259 return out, nil
1260 }
1261
1262 func (c *tagKeysClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1263 out := new(iampb.Policy)
1264 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/GetIamPolicy", in, out, opts...)
1265 if err != nil {
1266 return nil, err
1267 }
1268 return out, nil
1269 }
1270
1271 func (c *tagKeysClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1272 out := new(iampb.Policy)
1273 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/SetIamPolicy", in, out, opts...)
1274 if err != nil {
1275 return nil, err
1276 }
1277 return out, nil
1278 }
1279
1280 func (c *tagKeysClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
1281 out := new(iampb.TestIamPermissionsResponse)
1282 err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v3.TagKeys/TestIamPermissions", in, out, opts...)
1283 if err != nil {
1284 return nil, err
1285 }
1286 return out, nil
1287 }
1288
1289 // TagKeysServer is the server API for TagKeys service.
1290 type TagKeysServer interface {
1291 // Lists all TagKeys for a parent resource.
1292 ListTagKeys(context.Context, *ListTagKeysRequest) (*ListTagKeysResponse, error)
1293 // Retrieves a TagKey. This method will return `PERMISSION_DENIED` if the
1294 // key does not exist or the user does not have permission to view it.
1295 GetTagKey(context.Context, *GetTagKeyRequest) (*TagKey, error)
1296 // Retrieves a TagKey by its namespaced name.
1297 // This method will return `PERMISSION_DENIED` if the key does not exist
1298 // or the user does not have permission to view it.
1299 GetNamespacedTagKey(context.Context, *GetNamespacedTagKeyRequest) (*TagKey, error)
1300 // Creates a new TagKey. If another request with the same parameters is
1301 // sent while the original request is in process, the second request
1302 // will receive an error. A maximum of 1000 TagKeys can exist under a parent
1303 // at any given time.
1304 CreateTagKey(context.Context, *CreateTagKeyRequest) (*longrunningpb.Operation, error)
1305 // Updates the attributes of the TagKey resource.
1306 UpdateTagKey(context.Context, *UpdateTagKeyRequest) (*longrunningpb.Operation, error)
1307 // Deletes a TagKey. The TagKey cannot be deleted if it has any child
1308 // TagValues.
1309 DeleteTagKey(context.Context, *DeleteTagKeyRequest) (*longrunningpb.Operation, error)
1310 // Gets the access control policy for a TagKey. The returned policy may be
1311 // empty if no such policy or resource exists. The `resource` field should
1312 // be the TagKey's resource name. For example, "tagKeys/1234".
1313 // The caller must have
1314 // `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on
1315 // the specified TagKey.
1316 GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
1317 // Sets the access control policy on a TagKey, replacing any existing
1318 // policy. The `resource` field should be the TagKey's resource name.
1319 // For example, "tagKeys/1234".
1320 // The caller must have `resourcemanager.tagKeys.setIamPolicy` permission
1321 // on the identified tagValue.
1322 SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
1323 // Returns permissions that a caller has on the specified TagKey.
1324 // The `resource` field should be the TagKey's resource name.
1325 // For example, "tagKeys/1234".
1326 //
1327 // There are no permissions required for making this API call.
1328 TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
1329 }
1330
1331 // UnimplementedTagKeysServer can be embedded to have forward compatible implementations.
1332 type UnimplementedTagKeysServer struct {
1333 }
1334
1335 func (*UnimplementedTagKeysServer) ListTagKeys(context.Context, *ListTagKeysRequest) (*ListTagKeysResponse, error) {
1336 return nil, status.Errorf(codes.Unimplemented, "method ListTagKeys not implemented")
1337 }
1338 func (*UnimplementedTagKeysServer) GetTagKey(context.Context, *GetTagKeyRequest) (*TagKey, error) {
1339 return nil, status.Errorf(codes.Unimplemented, "method GetTagKey not implemented")
1340 }
1341 func (*UnimplementedTagKeysServer) GetNamespacedTagKey(context.Context, *GetNamespacedTagKeyRequest) (*TagKey, error) {
1342 return nil, status.Errorf(codes.Unimplemented, "method GetNamespacedTagKey not implemented")
1343 }
1344 func (*UnimplementedTagKeysServer) CreateTagKey(context.Context, *CreateTagKeyRequest) (*longrunningpb.Operation, error) {
1345 return nil, status.Errorf(codes.Unimplemented, "method CreateTagKey not implemented")
1346 }
1347 func (*UnimplementedTagKeysServer) UpdateTagKey(context.Context, *UpdateTagKeyRequest) (*longrunningpb.Operation, error) {
1348 return nil, status.Errorf(codes.Unimplemented, "method UpdateTagKey not implemented")
1349 }
1350 func (*UnimplementedTagKeysServer) DeleteTagKey(context.Context, *DeleteTagKeyRequest) (*longrunningpb.Operation, error) {
1351 return nil, status.Errorf(codes.Unimplemented, "method DeleteTagKey not implemented")
1352 }
1353 func (*UnimplementedTagKeysServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
1354 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
1355 }
1356 func (*UnimplementedTagKeysServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
1357 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
1358 }
1359 func (*UnimplementedTagKeysServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
1360 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
1361 }
1362
1363 func RegisterTagKeysServer(s *grpc.Server, srv TagKeysServer) {
1364 s.RegisterService(&_TagKeys_serviceDesc, srv)
1365 }
1366
1367 func _TagKeys_ListTagKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1368 in := new(ListTagKeysRequest)
1369 if err := dec(in); err != nil {
1370 return nil, err
1371 }
1372 if interceptor == nil {
1373 return srv.(TagKeysServer).ListTagKeys(ctx, in)
1374 }
1375 info := &grpc.UnaryServerInfo{
1376 Server: srv,
1377 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/ListTagKeys",
1378 }
1379 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1380 return srv.(TagKeysServer).ListTagKeys(ctx, req.(*ListTagKeysRequest))
1381 }
1382 return interceptor(ctx, in, info, handler)
1383 }
1384
1385 func _TagKeys_GetTagKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1386 in := new(GetTagKeyRequest)
1387 if err := dec(in); err != nil {
1388 return nil, err
1389 }
1390 if interceptor == nil {
1391 return srv.(TagKeysServer).GetTagKey(ctx, in)
1392 }
1393 info := &grpc.UnaryServerInfo{
1394 Server: srv,
1395 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/GetTagKey",
1396 }
1397 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1398 return srv.(TagKeysServer).GetTagKey(ctx, req.(*GetTagKeyRequest))
1399 }
1400 return interceptor(ctx, in, info, handler)
1401 }
1402
1403 func _TagKeys_GetNamespacedTagKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1404 in := new(GetNamespacedTagKeyRequest)
1405 if err := dec(in); err != nil {
1406 return nil, err
1407 }
1408 if interceptor == nil {
1409 return srv.(TagKeysServer).GetNamespacedTagKey(ctx, in)
1410 }
1411 info := &grpc.UnaryServerInfo{
1412 Server: srv,
1413 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/GetNamespacedTagKey",
1414 }
1415 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1416 return srv.(TagKeysServer).GetNamespacedTagKey(ctx, req.(*GetNamespacedTagKeyRequest))
1417 }
1418 return interceptor(ctx, in, info, handler)
1419 }
1420
1421 func _TagKeys_CreateTagKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1422 in := new(CreateTagKeyRequest)
1423 if err := dec(in); err != nil {
1424 return nil, err
1425 }
1426 if interceptor == nil {
1427 return srv.(TagKeysServer).CreateTagKey(ctx, in)
1428 }
1429 info := &grpc.UnaryServerInfo{
1430 Server: srv,
1431 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/CreateTagKey",
1432 }
1433 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1434 return srv.(TagKeysServer).CreateTagKey(ctx, req.(*CreateTagKeyRequest))
1435 }
1436 return interceptor(ctx, in, info, handler)
1437 }
1438
1439 func _TagKeys_UpdateTagKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1440 in := new(UpdateTagKeyRequest)
1441 if err := dec(in); err != nil {
1442 return nil, err
1443 }
1444 if interceptor == nil {
1445 return srv.(TagKeysServer).UpdateTagKey(ctx, in)
1446 }
1447 info := &grpc.UnaryServerInfo{
1448 Server: srv,
1449 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/UpdateTagKey",
1450 }
1451 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1452 return srv.(TagKeysServer).UpdateTagKey(ctx, req.(*UpdateTagKeyRequest))
1453 }
1454 return interceptor(ctx, in, info, handler)
1455 }
1456
1457 func _TagKeys_DeleteTagKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1458 in := new(DeleteTagKeyRequest)
1459 if err := dec(in); err != nil {
1460 return nil, err
1461 }
1462 if interceptor == nil {
1463 return srv.(TagKeysServer).DeleteTagKey(ctx, in)
1464 }
1465 info := &grpc.UnaryServerInfo{
1466 Server: srv,
1467 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/DeleteTagKey",
1468 }
1469 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1470 return srv.(TagKeysServer).DeleteTagKey(ctx, req.(*DeleteTagKeyRequest))
1471 }
1472 return interceptor(ctx, in, info, handler)
1473 }
1474
1475 func _TagKeys_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1476 in := new(iampb.GetIamPolicyRequest)
1477 if err := dec(in); err != nil {
1478 return nil, err
1479 }
1480 if interceptor == nil {
1481 return srv.(TagKeysServer).GetIamPolicy(ctx, in)
1482 }
1483 info := &grpc.UnaryServerInfo{
1484 Server: srv,
1485 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/GetIamPolicy",
1486 }
1487 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1488 return srv.(TagKeysServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
1489 }
1490 return interceptor(ctx, in, info, handler)
1491 }
1492
1493 func _TagKeys_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1494 in := new(iampb.SetIamPolicyRequest)
1495 if err := dec(in); err != nil {
1496 return nil, err
1497 }
1498 if interceptor == nil {
1499 return srv.(TagKeysServer).SetIamPolicy(ctx, in)
1500 }
1501 info := &grpc.UnaryServerInfo{
1502 Server: srv,
1503 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/SetIamPolicy",
1504 }
1505 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1506 return srv.(TagKeysServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
1507 }
1508 return interceptor(ctx, in, info, handler)
1509 }
1510
1511 func _TagKeys_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1512 in := new(iampb.TestIamPermissionsRequest)
1513 if err := dec(in); err != nil {
1514 return nil, err
1515 }
1516 if interceptor == nil {
1517 return srv.(TagKeysServer).TestIamPermissions(ctx, in)
1518 }
1519 info := &grpc.UnaryServerInfo{
1520 Server: srv,
1521 FullMethod: "/google.cloud.resourcemanager.v3.TagKeys/TestIamPermissions",
1522 }
1523 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1524 return srv.(TagKeysServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
1525 }
1526 return interceptor(ctx, in, info, handler)
1527 }
1528
1529 var _TagKeys_serviceDesc = grpc.ServiceDesc{
1530 ServiceName: "google.cloud.resourcemanager.v3.TagKeys",
1531 HandlerType: (*TagKeysServer)(nil),
1532 Methods: []grpc.MethodDesc{
1533 {
1534 MethodName: "ListTagKeys",
1535 Handler: _TagKeys_ListTagKeys_Handler,
1536 },
1537 {
1538 MethodName: "GetTagKey",
1539 Handler: _TagKeys_GetTagKey_Handler,
1540 },
1541 {
1542 MethodName: "GetNamespacedTagKey",
1543 Handler: _TagKeys_GetNamespacedTagKey_Handler,
1544 },
1545 {
1546 MethodName: "CreateTagKey",
1547 Handler: _TagKeys_CreateTagKey_Handler,
1548 },
1549 {
1550 MethodName: "UpdateTagKey",
1551 Handler: _TagKeys_UpdateTagKey_Handler,
1552 },
1553 {
1554 MethodName: "DeleteTagKey",
1555 Handler: _TagKeys_DeleteTagKey_Handler,
1556 },
1557 {
1558 MethodName: "GetIamPolicy",
1559 Handler: _TagKeys_GetIamPolicy_Handler,
1560 },
1561 {
1562 MethodName: "SetIamPolicy",
1563 Handler: _TagKeys_SetIamPolicy_Handler,
1564 },
1565 {
1566 MethodName: "TestIamPermissions",
1567 Handler: _TagKeys_TestIamPermissions_Handler,
1568 },
1569 },
1570 Streams: []grpc.StreamDesc{},
1571 Metadata: "google/cloud/resourcemanager/v3/tag_keys.proto",
1572 }