1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package credentialspb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 durationpb "google.golang.org/protobuf/types/known/durationpb"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 type GenerateAccessTokenRequest struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47
48
49
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51
52
53
54
55
56
57
58
59
60
61 Delegates []string `protobuf:"bytes,2,rep,name=delegates,proto3" json:"delegates,omitempty"`
62
63
64
65
66 Scope []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"`
67
68
69
70
71 Lifetime *durationpb.Duration `protobuf:"bytes,7,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
72 }
73
74 func (x *GenerateAccessTokenRequest) Reset() {
75 *x = GenerateAccessTokenRequest{}
76 if protoimpl.UnsafeEnabled {
77 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[0]
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 ms.StoreMessageInfo(mi)
80 }
81 }
82
83 func (x *GenerateAccessTokenRequest) String() string {
84 return protoimpl.X.MessageStringOf(x)
85 }
86
87 func (*GenerateAccessTokenRequest) ProtoMessage() {}
88
89 func (x *GenerateAccessTokenRequest) ProtoReflect() protoreflect.Message {
90 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[0]
91 if protoimpl.UnsafeEnabled && x != nil {
92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93 if ms.LoadMessageInfo() == nil {
94 ms.StoreMessageInfo(mi)
95 }
96 return ms
97 }
98 return mi.MessageOf(x)
99 }
100
101
102 func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int) {
103 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{0}
104 }
105
106 func (x *GenerateAccessTokenRequest) GetName() string {
107 if x != nil {
108 return x.Name
109 }
110 return ""
111 }
112
113 func (x *GenerateAccessTokenRequest) GetDelegates() []string {
114 if x != nil {
115 return x.Delegates
116 }
117 return nil
118 }
119
120 func (x *GenerateAccessTokenRequest) GetScope() []string {
121 if x != nil {
122 return x.Scope
123 }
124 return nil
125 }
126
127 func (x *GenerateAccessTokenRequest) GetLifetime() *durationpb.Duration {
128 if x != nil {
129 return x.Lifetime
130 }
131 return nil
132 }
133
134 type GenerateAccessTokenResponse struct {
135 state protoimpl.MessageState
136 sizeCache protoimpl.SizeCache
137 unknownFields protoimpl.UnknownFields
138
139
140 AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
141
142
143 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
144 }
145
146 func (x *GenerateAccessTokenResponse) Reset() {
147 *x = GenerateAccessTokenResponse{}
148 if protoimpl.UnsafeEnabled {
149 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[1]
150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151 ms.StoreMessageInfo(mi)
152 }
153 }
154
155 func (x *GenerateAccessTokenResponse) String() string {
156 return protoimpl.X.MessageStringOf(x)
157 }
158
159 func (*GenerateAccessTokenResponse) ProtoMessage() {}
160
161 func (x *GenerateAccessTokenResponse) ProtoReflect() protoreflect.Message {
162 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[1]
163 if protoimpl.UnsafeEnabled && x != nil {
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 if ms.LoadMessageInfo() == nil {
166 ms.StoreMessageInfo(mi)
167 }
168 return ms
169 }
170 return mi.MessageOf(x)
171 }
172
173
174 func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int) {
175 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{1}
176 }
177
178 func (x *GenerateAccessTokenResponse) GetAccessToken() string {
179 if x != nil {
180 return x.AccessToken
181 }
182 return ""
183 }
184
185 func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamppb.Timestamp {
186 if x != nil {
187 return x.ExpireTime
188 }
189 return nil
190 }
191
192 type SignBlobRequest struct {
193 state protoimpl.MessageState
194 sizeCache protoimpl.SizeCache
195 unknownFields protoimpl.UnknownFields
196
197
198
199
200
201 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
202
203
204
205
206
207
208
209
210
211
212 Delegates []string `protobuf:"bytes,3,rep,name=delegates,proto3" json:"delegates,omitempty"`
213
214 Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
215 }
216
217 func (x *SignBlobRequest) Reset() {
218 *x = SignBlobRequest{}
219 if protoimpl.UnsafeEnabled {
220 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[2]
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 ms.StoreMessageInfo(mi)
223 }
224 }
225
226 func (x *SignBlobRequest) String() string {
227 return protoimpl.X.MessageStringOf(x)
228 }
229
230 func (*SignBlobRequest) ProtoMessage() {}
231
232 func (x *SignBlobRequest) ProtoReflect() protoreflect.Message {
233 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[2]
234 if protoimpl.UnsafeEnabled && x != nil {
235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
236 if ms.LoadMessageInfo() == nil {
237 ms.StoreMessageInfo(mi)
238 }
239 return ms
240 }
241 return mi.MessageOf(x)
242 }
243
244
245 func (*SignBlobRequest) Descriptor() ([]byte, []int) {
246 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{2}
247 }
248
249 func (x *SignBlobRequest) GetName() string {
250 if x != nil {
251 return x.Name
252 }
253 return ""
254 }
255
256 func (x *SignBlobRequest) GetDelegates() []string {
257 if x != nil {
258 return x.Delegates
259 }
260 return nil
261 }
262
263 func (x *SignBlobRequest) GetPayload() []byte {
264 if x != nil {
265 return x.Payload
266 }
267 return nil
268 }
269
270 type SignBlobResponse struct {
271 state protoimpl.MessageState
272 sizeCache protoimpl.SizeCache
273 unknownFields protoimpl.UnknownFields
274
275
276 KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
277
278 SignedBlob []byte `protobuf:"bytes,4,opt,name=signed_blob,json=signedBlob,proto3" json:"signed_blob,omitempty"`
279 }
280
281 func (x *SignBlobResponse) Reset() {
282 *x = SignBlobResponse{}
283 if protoimpl.UnsafeEnabled {
284 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[3]
285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
286 ms.StoreMessageInfo(mi)
287 }
288 }
289
290 func (x *SignBlobResponse) String() string {
291 return protoimpl.X.MessageStringOf(x)
292 }
293
294 func (*SignBlobResponse) ProtoMessage() {}
295
296 func (x *SignBlobResponse) ProtoReflect() protoreflect.Message {
297 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[3]
298 if protoimpl.UnsafeEnabled && x != nil {
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 if ms.LoadMessageInfo() == nil {
301 ms.StoreMessageInfo(mi)
302 }
303 return ms
304 }
305 return mi.MessageOf(x)
306 }
307
308
309 func (*SignBlobResponse) Descriptor() ([]byte, []int) {
310 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{3}
311 }
312
313 func (x *SignBlobResponse) GetKeyId() string {
314 if x != nil {
315 return x.KeyId
316 }
317 return ""
318 }
319
320 func (x *SignBlobResponse) GetSignedBlob() []byte {
321 if x != nil {
322 return x.SignedBlob
323 }
324 return nil
325 }
326
327 type SignJwtRequest struct {
328 state protoimpl.MessageState
329 sizeCache protoimpl.SizeCache
330 unknownFields protoimpl.UnknownFields
331
332
333
334
335
336 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
337
338
339
340
341
342
343
344
345
346
347 Delegates []string `protobuf:"bytes,3,rep,name=delegates,proto3" json:"delegates,omitempty"`
348
349 Payload string `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
350 }
351
352 func (x *SignJwtRequest) Reset() {
353 *x = SignJwtRequest{}
354 if protoimpl.UnsafeEnabled {
355 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[4]
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 ms.StoreMessageInfo(mi)
358 }
359 }
360
361 func (x *SignJwtRequest) String() string {
362 return protoimpl.X.MessageStringOf(x)
363 }
364
365 func (*SignJwtRequest) ProtoMessage() {}
366
367 func (x *SignJwtRequest) ProtoReflect() protoreflect.Message {
368 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[4]
369 if protoimpl.UnsafeEnabled && x != nil {
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 if ms.LoadMessageInfo() == nil {
372 ms.StoreMessageInfo(mi)
373 }
374 return ms
375 }
376 return mi.MessageOf(x)
377 }
378
379
380 func (*SignJwtRequest) Descriptor() ([]byte, []int) {
381 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{4}
382 }
383
384 func (x *SignJwtRequest) GetName() string {
385 if x != nil {
386 return x.Name
387 }
388 return ""
389 }
390
391 func (x *SignJwtRequest) GetDelegates() []string {
392 if x != nil {
393 return x.Delegates
394 }
395 return nil
396 }
397
398 func (x *SignJwtRequest) GetPayload() string {
399 if x != nil {
400 return x.Payload
401 }
402 return ""
403 }
404
405 type SignJwtResponse struct {
406 state protoimpl.MessageState
407 sizeCache protoimpl.SizeCache
408 unknownFields protoimpl.UnknownFields
409
410
411 KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
412
413 SignedJwt string `protobuf:"bytes,2,opt,name=signed_jwt,json=signedJwt,proto3" json:"signed_jwt,omitempty"`
414 }
415
416 func (x *SignJwtResponse) Reset() {
417 *x = SignJwtResponse{}
418 if protoimpl.UnsafeEnabled {
419 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[5]
420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
421 ms.StoreMessageInfo(mi)
422 }
423 }
424
425 func (x *SignJwtResponse) String() string {
426 return protoimpl.X.MessageStringOf(x)
427 }
428
429 func (*SignJwtResponse) ProtoMessage() {}
430
431 func (x *SignJwtResponse) ProtoReflect() protoreflect.Message {
432 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[5]
433 if protoimpl.UnsafeEnabled && x != nil {
434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
435 if ms.LoadMessageInfo() == nil {
436 ms.StoreMessageInfo(mi)
437 }
438 return ms
439 }
440 return mi.MessageOf(x)
441 }
442
443
444 func (*SignJwtResponse) Descriptor() ([]byte, []int) {
445 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{5}
446 }
447
448 func (x *SignJwtResponse) GetKeyId() string {
449 if x != nil {
450 return x.KeyId
451 }
452 return ""
453 }
454
455 func (x *SignJwtResponse) GetSignedJwt() string {
456 if x != nil {
457 return x.SignedJwt
458 }
459 return ""
460 }
461
462 type GenerateIdTokenRequest struct {
463 state protoimpl.MessageState
464 sizeCache protoimpl.SizeCache
465 unknownFields protoimpl.UnknownFields
466
467
468
469
470
471 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
472
473
474
475
476
477
478
479
480
481
482 Delegates []string `protobuf:"bytes,2,rep,name=delegates,proto3" json:"delegates,omitempty"`
483
484
485 Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
486
487
488 IncludeEmail bool `protobuf:"varint,4,opt,name=include_email,json=includeEmail,proto3" json:"include_email,omitempty"`
489 }
490
491 func (x *GenerateIdTokenRequest) Reset() {
492 *x = GenerateIdTokenRequest{}
493 if protoimpl.UnsafeEnabled {
494 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[6]
495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
496 ms.StoreMessageInfo(mi)
497 }
498 }
499
500 func (x *GenerateIdTokenRequest) String() string {
501 return protoimpl.X.MessageStringOf(x)
502 }
503
504 func (*GenerateIdTokenRequest) ProtoMessage() {}
505
506 func (x *GenerateIdTokenRequest) ProtoReflect() protoreflect.Message {
507 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[6]
508 if protoimpl.UnsafeEnabled && x != nil {
509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
510 if ms.LoadMessageInfo() == nil {
511 ms.StoreMessageInfo(mi)
512 }
513 return ms
514 }
515 return mi.MessageOf(x)
516 }
517
518
519 func (*GenerateIdTokenRequest) Descriptor() ([]byte, []int) {
520 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{6}
521 }
522
523 func (x *GenerateIdTokenRequest) GetName() string {
524 if x != nil {
525 return x.Name
526 }
527 return ""
528 }
529
530 func (x *GenerateIdTokenRequest) GetDelegates() []string {
531 if x != nil {
532 return x.Delegates
533 }
534 return nil
535 }
536
537 func (x *GenerateIdTokenRequest) GetAudience() string {
538 if x != nil {
539 return x.Audience
540 }
541 return ""
542 }
543
544 func (x *GenerateIdTokenRequest) GetIncludeEmail() bool {
545 if x != nil {
546 return x.IncludeEmail
547 }
548 return false
549 }
550
551 type GenerateIdTokenResponse struct {
552 state protoimpl.MessageState
553 sizeCache protoimpl.SizeCache
554 unknownFields protoimpl.UnknownFields
555
556
557 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
558 }
559
560 func (x *GenerateIdTokenResponse) Reset() {
561 *x = GenerateIdTokenResponse{}
562 if protoimpl.UnsafeEnabled {
563 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[7]
564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
565 ms.StoreMessageInfo(mi)
566 }
567 }
568
569 func (x *GenerateIdTokenResponse) String() string {
570 return protoimpl.X.MessageStringOf(x)
571 }
572
573 func (*GenerateIdTokenResponse) ProtoMessage() {}
574
575 func (x *GenerateIdTokenResponse) ProtoReflect() protoreflect.Message {
576 mi := &file_google_iam_credentials_v1_common_proto_msgTypes[7]
577 if protoimpl.UnsafeEnabled && x != nil {
578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
579 if ms.LoadMessageInfo() == nil {
580 ms.StoreMessageInfo(mi)
581 }
582 return ms
583 }
584 return mi.MessageOf(x)
585 }
586
587
588 func (*GenerateIdTokenResponse) Descriptor() ([]byte, []int) {
589 return file_google_iam_credentials_v1_common_proto_rawDescGZIP(), []int{7}
590 }
591
592 func (x *GenerateIdTokenResponse) GetToken() string {
593 if x != nil {
594 return x.Token
595 }
596 return ""
597 }
598
599 var File_google_iam_credentials_v1_common_proto protoreflect.FileDescriptor
600
601 var file_google_iam_credentials_v1_common_proto_rawDesc = []byte{
602 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x63, 0x72, 0x65,
603 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
604 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
605 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73,
606 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
607 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
608 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
609 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
610 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
611 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
612 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
613 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
614 0x22, 0xcb, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63,
615 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
616 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0,
617 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x69, 0x61, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
618 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
619 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c,
620 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
621 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x05,
622 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
623 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74,
624 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
625 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,
626 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x7d,
627 0x0a, 0x1b, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
628 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a,
629 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
630 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
631 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
632 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
633 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
634 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x8d, 0x01,
635 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
636 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
637 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x69, 0x61, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
638 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76,
639 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
640 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20,
641 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x12, 0x1d,
642 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42,
643 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x4a, 0x0a,
644 0x10, 0x53, 0x69, 0x67, 0x6e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
645 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
646 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e,
647 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73,
648 0x69, 0x67, 0x6e, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x22, 0x8c, 0x01, 0x0a, 0x0e, 0x53, 0x69,
649 0x67, 0x6e, 0x4a, 0x77, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04,
650 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa,
651 0x41, 0x23, 0x0a, 0x21, 0x69, 0x61, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
652 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63,
653 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64,
654 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
655 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x61, 0x79,
656 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
657 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x47, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e,
658 0x4a, 0x77, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6b,
659 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79,
660 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6a, 0x77, 0x74,
661 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x4a, 0x77,
662 0x74, 0x22, 0xbb, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x64,
663 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04,
664 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa,
665 0x41, 0x23, 0x0a, 0x21, 0x69, 0x61, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
666 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63,
667 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64,
668 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
669 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x08, 0x61, 0x75, 0x64,
670 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
671 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e,
672 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
673 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x22,
674 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x64, 0x54, 0x6f, 0x6b,
675 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
676 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
677 0x42, 0xac, 0x02, 0xea, 0x41, 0x59, 0x0a, 0x21, 0x69, 0x61, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
678 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69,
679 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x70, 0x72, 0x6f, 0x6a, 0x65,
680 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x65,
681 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73,
682 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x0a,
683 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
684 0x64, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
685 0x73, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x49, 0x41, 0x4d, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
686 0x69, 0x61, 0x6c, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
687 0x01, 0x5a, 0x45, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
688 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x65,
689 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65,
690 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x72, 0x65, 0x64, 0x65,
691 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1f, 0x47, 0x6f,
692 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x49, 0x61, 0x6d, 0x2e, 0x43,
693 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f,
694 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x49, 0x61, 0x6d,
695 0x5c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x5c, 0x56, 0x31, 0x62,
696 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
697 }
698
699 var (
700 file_google_iam_credentials_v1_common_proto_rawDescOnce sync.Once
701 file_google_iam_credentials_v1_common_proto_rawDescData = file_google_iam_credentials_v1_common_proto_rawDesc
702 )
703
704 func file_google_iam_credentials_v1_common_proto_rawDescGZIP() []byte {
705 file_google_iam_credentials_v1_common_proto_rawDescOnce.Do(func() {
706 file_google_iam_credentials_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_credentials_v1_common_proto_rawDescData)
707 })
708 return file_google_iam_credentials_v1_common_proto_rawDescData
709 }
710
711 var file_google_iam_credentials_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
712 var file_google_iam_credentials_v1_common_proto_goTypes = []interface{}{
713 (*GenerateAccessTokenRequest)(nil),
714 (*GenerateAccessTokenResponse)(nil),
715 (*SignBlobRequest)(nil),
716 (*SignBlobResponse)(nil),
717 (*SignJwtRequest)(nil),
718 (*SignJwtResponse)(nil),
719 (*GenerateIdTokenRequest)(nil),
720 (*GenerateIdTokenResponse)(nil),
721 (*durationpb.Duration)(nil),
722 (*timestamppb.Timestamp)(nil),
723 }
724 var file_google_iam_credentials_v1_common_proto_depIdxs = []int32{
725 8,
726 9,
727 2,
728 2,
729 2,
730 2,
731 0,
732 }
733
734 func init() { file_google_iam_credentials_v1_common_proto_init() }
735 func file_google_iam_credentials_v1_common_proto_init() {
736 if File_google_iam_credentials_v1_common_proto != nil {
737 return
738 }
739 if !protoimpl.UnsafeEnabled {
740 file_google_iam_credentials_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
741 switch v := v.(*GenerateAccessTokenRequest); i {
742 case 0:
743 return &v.state
744 case 1:
745 return &v.sizeCache
746 case 2:
747 return &v.unknownFields
748 default:
749 return nil
750 }
751 }
752 file_google_iam_credentials_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
753 switch v := v.(*GenerateAccessTokenResponse); i {
754 case 0:
755 return &v.state
756 case 1:
757 return &v.sizeCache
758 case 2:
759 return &v.unknownFields
760 default:
761 return nil
762 }
763 }
764 file_google_iam_credentials_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
765 switch v := v.(*SignBlobRequest); i {
766 case 0:
767 return &v.state
768 case 1:
769 return &v.sizeCache
770 case 2:
771 return &v.unknownFields
772 default:
773 return nil
774 }
775 }
776 file_google_iam_credentials_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
777 switch v := v.(*SignBlobResponse); i {
778 case 0:
779 return &v.state
780 case 1:
781 return &v.sizeCache
782 case 2:
783 return &v.unknownFields
784 default:
785 return nil
786 }
787 }
788 file_google_iam_credentials_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
789 switch v := v.(*SignJwtRequest); i {
790 case 0:
791 return &v.state
792 case 1:
793 return &v.sizeCache
794 case 2:
795 return &v.unknownFields
796 default:
797 return nil
798 }
799 }
800 file_google_iam_credentials_v1_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
801 switch v := v.(*SignJwtResponse); i {
802 case 0:
803 return &v.state
804 case 1:
805 return &v.sizeCache
806 case 2:
807 return &v.unknownFields
808 default:
809 return nil
810 }
811 }
812 file_google_iam_credentials_v1_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
813 switch v := v.(*GenerateIdTokenRequest); i {
814 case 0:
815 return &v.state
816 case 1:
817 return &v.sizeCache
818 case 2:
819 return &v.unknownFields
820 default:
821 return nil
822 }
823 }
824 file_google_iam_credentials_v1_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
825 switch v := v.(*GenerateIdTokenResponse); i {
826 case 0:
827 return &v.state
828 case 1:
829 return &v.sizeCache
830 case 2:
831 return &v.unknownFields
832 default:
833 return nil
834 }
835 }
836 }
837 type x struct{}
838 out := protoimpl.TypeBuilder{
839 File: protoimpl.DescBuilder{
840 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
841 RawDescriptor: file_google_iam_credentials_v1_common_proto_rawDesc,
842 NumEnums: 0,
843 NumMessages: 8,
844 NumExtensions: 0,
845 NumServices: 0,
846 },
847 GoTypes: file_google_iam_credentials_v1_common_proto_goTypes,
848 DependencyIndexes: file_google_iam_credentials_v1_common_proto_depIdxs,
849 MessageInfos: file_google_iam_credentials_v1_common_proto_msgTypes,
850 }.Build()
851 File_google_iam_credentials_v1_common_proto = out.File
852 file_google_iam_credentials_v1_common_proto_rawDesc = nil
853 file_google_iam_credentials_v1_common_proto_goTypes = nil
854 file_google_iam_credentials_v1_common_proto_depIdxs = nil
855 }
856
View as plain text