@maxim_mazurok/gapi.client.secretmanager-v1 0.2.20261111 → 0.3.20261111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1288 -1294
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -337,123 +337,11 @@ declare namespace gapi.client {
|
|
|
337
337
|
/** Output only. The list of replica statuses for the SecretVersion. */
|
|
338
338
|
replicas?: ReplicaStatus[];
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
|
|
345
|
-
/** OAuth access token. */
|
|
346
|
-
access_token?: string;
|
|
347
|
-
/** Data format for response. */
|
|
348
|
-
alt?: 'json' | 'media' | 'proto';
|
|
349
|
-
/** JSONP */
|
|
350
|
-
callback?: string;
|
|
351
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
352
|
-
fields?: string;
|
|
353
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
354
|
-
key?: string;
|
|
355
|
-
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
356
|
-
name: string;
|
|
357
|
-
/** OAuth 2.0 token for the current user. */
|
|
358
|
-
oauth_token?: string;
|
|
359
|
-
/** Returns response with indentations and line breaks. */
|
|
360
|
-
prettyPrint?: boolean;
|
|
361
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
362
|
-
quotaUser?: string;
|
|
363
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
364
|
-
upload_protocol?: string;
|
|
365
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
366
|
-
uploadType?: string;
|
|
367
|
-
}): Request<AccessSecretVersionResponse>;
|
|
368
|
-
/** Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the secret data. */
|
|
369
|
-
destroy(request: {
|
|
370
|
-
/** V1 error format. */
|
|
371
|
-
'$.xgafv'?: '1' | '2';
|
|
372
|
-
/** OAuth access token. */
|
|
373
|
-
access_token?: string;
|
|
374
|
-
/** Data format for response. */
|
|
375
|
-
alt?: 'json' | 'media' | 'proto';
|
|
376
|
-
/** JSONP */
|
|
377
|
-
callback?: string;
|
|
378
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
379
|
-
fields?: string;
|
|
380
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
381
|
-
key?: string;
|
|
382
|
-
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
383
|
-
name: string;
|
|
384
|
-
/** OAuth 2.0 token for the current user. */
|
|
385
|
-
oauth_token?: string;
|
|
386
|
-
/** Returns response with indentations and line breaks. */
|
|
387
|
-
prettyPrint?: boolean;
|
|
388
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
389
|
-
quotaUser?: string;
|
|
390
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
391
|
-
upload_protocol?: string;
|
|
392
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
393
|
-
uploadType?: string;
|
|
394
|
-
/** Request body */
|
|
395
|
-
resource: DestroySecretVersionRequest;
|
|
396
|
-
}): Request<SecretVersion>;
|
|
397
|
-
destroy(
|
|
398
|
-
request: {
|
|
399
|
-
/** V1 error format. */
|
|
400
|
-
'$.xgafv'?: '1' | '2';
|
|
401
|
-
/** OAuth access token. */
|
|
402
|
-
access_token?: string;
|
|
403
|
-
/** Data format for response. */
|
|
404
|
-
alt?: 'json' | 'media' | 'proto';
|
|
405
|
-
/** JSONP */
|
|
406
|
-
callback?: string;
|
|
407
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
408
|
-
fields?: string;
|
|
409
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
410
|
-
key?: string;
|
|
411
|
-
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
412
|
-
name: string;
|
|
413
|
-
/** OAuth 2.0 token for the current user. */
|
|
414
|
-
oauth_token?: string;
|
|
415
|
-
/** Returns response with indentations and line breaks. */
|
|
416
|
-
prettyPrint?: boolean;
|
|
417
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
418
|
-
quotaUser?: string;
|
|
419
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
420
|
-
upload_protocol?: string;
|
|
421
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
422
|
-
uploadType?: string;
|
|
423
|
-
},
|
|
424
|
-
body: DestroySecretVersionRequest,
|
|
425
|
-
): Request<SecretVersion>;
|
|
426
|
-
/** Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED. */
|
|
427
|
-
disable(request: {
|
|
428
|
-
/** V1 error format. */
|
|
429
|
-
'$.xgafv'?: '1' | '2';
|
|
430
|
-
/** OAuth access token. */
|
|
431
|
-
access_token?: string;
|
|
432
|
-
/** Data format for response. */
|
|
433
|
-
alt?: 'json' | 'media' | 'proto';
|
|
434
|
-
/** JSONP */
|
|
435
|
-
callback?: string;
|
|
436
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
437
|
-
fields?: string;
|
|
438
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
439
|
-
key?: string;
|
|
440
|
-
/** Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
441
|
-
name: string;
|
|
442
|
-
/** OAuth 2.0 token for the current user. */
|
|
443
|
-
oauth_token?: string;
|
|
444
|
-
/** Returns response with indentations and line breaks. */
|
|
445
|
-
prettyPrint?: boolean;
|
|
446
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
447
|
-
quotaUser?: string;
|
|
448
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
449
|
-
upload_protocol?: string;
|
|
450
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
451
|
-
uploadType?: string;
|
|
452
|
-
/** Request body */
|
|
453
|
-
resource: DisableSecretVersionRequest;
|
|
454
|
-
}): Request<SecretVersion>;
|
|
455
|
-
disable(
|
|
456
|
-
request: {
|
|
340
|
+
|
|
341
|
+
const projects: {
|
|
342
|
+
locations: {
|
|
343
|
+
/** Gets information about a location. */
|
|
344
|
+
get(request?: {
|
|
457
345
|
/** V1 error format. */
|
|
458
346
|
'$.xgafv'?: '1' | '2';
|
|
459
347
|
/** OAuth access token. */
|
|
@@ -466,7 +354,7 @@ declare namespace gapi.client {
|
|
|
466
354
|
fields?: string;
|
|
467
355
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
468
356
|
key?: string;
|
|
469
|
-
/**
|
|
357
|
+
/** Resource name for the location. */
|
|
470
358
|
name: string;
|
|
471
359
|
/** OAuth 2.0 token for the current user. */
|
|
472
360
|
oauth_token?: string;
|
|
@@ -478,40 +366,9 @@ declare namespace gapi.client {
|
|
|
478
366
|
upload_protocol?: string;
|
|
479
367
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
480
368
|
uploadType?: string;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
/** Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED. */
|
|
485
|
-
enable(request: {
|
|
486
|
-
/** V1 error format. */
|
|
487
|
-
'$.xgafv'?: '1' | '2';
|
|
488
|
-
/** OAuth access token. */
|
|
489
|
-
access_token?: string;
|
|
490
|
-
/** Data format for response. */
|
|
491
|
-
alt?: 'json' | 'media' | 'proto';
|
|
492
|
-
/** JSONP */
|
|
493
|
-
callback?: string;
|
|
494
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
495
|
-
fields?: string;
|
|
496
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
497
|
-
key?: string;
|
|
498
|
-
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
499
|
-
name: string;
|
|
500
|
-
/** OAuth 2.0 token for the current user. */
|
|
501
|
-
oauth_token?: string;
|
|
502
|
-
/** Returns response with indentations and line breaks. */
|
|
503
|
-
prettyPrint?: boolean;
|
|
504
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
505
|
-
quotaUser?: string;
|
|
506
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
507
|
-
upload_protocol?: string;
|
|
508
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
509
|
-
uploadType?: string;
|
|
510
|
-
/** Request body */
|
|
511
|
-
resource: EnableSecretVersionRequest;
|
|
512
|
-
}): Request<SecretVersion>;
|
|
513
|
-
enable(
|
|
514
|
-
request: {
|
|
369
|
+
}): Request<Location>;
|
|
370
|
+
/** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
|
|
371
|
+
list(request?: {
|
|
515
372
|
/** V1 error format. */
|
|
516
373
|
'$.xgafv'?: '1' | '2';
|
|
517
374
|
/** OAuth access token. */
|
|
@@ -520,14 +377,22 @@ declare namespace gapi.client {
|
|
|
520
377
|
alt?: 'json' | 'media' | 'proto';
|
|
521
378
|
/** JSONP */
|
|
522
379
|
callback?: string;
|
|
380
|
+
/** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
381
|
+
extraLocationTypes?: string | string[];
|
|
523
382
|
/** Selector specifying which fields to include in a partial response. */
|
|
524
383
|
fields?: string;
|
|
384
|
+
/** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
|
|
385
|
+
filter?: string;
|
|
525
386
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
526
387
|
key?: string;
|
|
527
|
-
/**
|
|
388
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
528
389
|
name: string;
|
|
529
390
|
/** OAuth 2.0 token for the current user. */
|
|
530
391
|
oauth_token?: string;
|
|
392
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
393
|
+
pageSize?: number;
|
|
394
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
395
|
+
pageToken?: string;
|
|
531
396
|
/** Returns response with indentations and line breaks. */
|
|
532
397
|
prettyPrint?: boolean;
|
|
533
398
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -536,102 +401,752 @@ declare namespace gapi.client {
|
|
|
536
401
|
upload_protocol?: string;
|
|
537
402
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
538
403
|
uploadType?: string;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
404
|
+
}): Request<ListLocationsResponse>;
|
|
405
|
+
secrets: {
|
|
406
|
+
/** Creates a new SecretVersion containing secret data and attaches it to an existing Secret. */
|
|
407
|
+
addVersion(request: {
|
|
408
|
+
/** V1 error format. */
|
|
409
|
+
'$.xgafv'?: '1' | '2';
|
|
410
|
+
/** OAuth access token. */
|
|
411
|
+
access_token?: string;
|
|
412
|
+
/** Data format for response. */
|
|
413
|
+
alt?: 'json' | 'media' | 'proto';
|
|
414
|
+
/** JSONP */
|
|
415
|
+
callback?: string;
|
|
416
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
417
|
+
fields?: string;
|
|
418
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
419
|
+
key?: string;
|
|
420
|
+
/** OAuth 2.0 token for the current user. */
|
|
421
|
+
oauth_token?: string;
|
|
422
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
423
|
+
parent: string;
|
|
424
|
+
/** Returns response with indentations and line breaks. */
|
|
425
|
+
prettyPrint?: boolean;
|
|
426
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
427
|
+
quotaUser?: string;
|
|
428
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
429
|
+
upload_protocol?: string;
|
|
430
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
431
|
+
uploadType?: string;
|
|
432
|
+
/** Request body */
|
|
433
|
+
resource: AddSecretVersionRequest;
|
|
434
|
+
}): Request<SecretVersion>;
|
|
435
|
+
addVersion(
|
|
436
|
+
request: {
|
|
437
|
+
/** V1 error format. */
|
|
438
|
+
'$.xgafv'?: '1' | '2';
|
|
439
|
+
/** OAuth access token. */
|
|
440
|
+
access_token?: string;
|
|
441
|
+
/** Data format for response. */
|
|
442
|
+
alt?: 'json' | 'media' | 'proto';
|
|
443
|
+
/** JSONP */
|
|
444
|
+
callback?: string;
|
|
445
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
446
|
+
fields?: string;
|
|
447
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
448
|
+
key?: string;
|
|
449
|
+
/** OAuth 2.0 token for the current user. */
|
|
450
|
+
oauth_token?: string;
|
|
451
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
452
|
+
parent: string;
|
|
453
|
+
/** Returns response with indentations and line breaks. */
|
|
454
|
+
prettyPrint?: boolean;
|
|
455
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
456
|
+
quotaUser?: string;
|
|
457
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
458
|
+
upload_protocol?: string;
|
|
459
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
460
|
+
uploadType?: string;
|
|
461
|
+
},
|
|
462
|
+
body: AddSecretVersionRequest,
|
|
463
|
+
): Request<SecretVersion>;
|
|
464
|
+
/** Creates a new Secret containing no SecretVersions. */
|
|
465
|
+
create(request: {
|
|
466
|
+
/** V1 error format. */
|
|
467
|
+
'$.xgafv'?: '1' | '2';
|
|
468
|
+
/** OAuth access token. */
|
|
469
|
+
access_token?: string;
|
|
470
|
+
/** Data format for response. */
|
|
471
|
+
alt?: 'json' | 'media' | 'proto';
|
|
472
|
+
/** JSONP */
|
|
473
|
+
callback?: string;
|
|
474
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
475
|
+
fields?: string;
|
|
476
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
477
|
+
key?: string;
|
|
478
|
+
/** OAuth 2.0 token for the current user. */
|
|
479
|
+
oauth_token?: string;
|
|
480
|
+
/** Required. The resource name of the project to associate with the Secret, in the format `projects/*` or `projects/*/locations/*`. */
|
|
481
|
+
parent: string;
|
|
482
|
+
/** Returns response with indentations and line breaks. */
|
|
483
|
+
prettyPrint?: boolean;
|
|
484
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
485
|
+
quotaUser?: string;
|
|
486
|
+
/** Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters. */
|
|
487
|
+
secretId?: string;
|
|
488
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
489
|
+
upload_protocol?: string;
|
|
490
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
491
|
+
uploadType?: string;
|
|
492
|
+
/** Request body */
|
|
493
|
+
resource: Secret;
|
|
494
|
+
}): Request<Secret>;
|
|
495
|
+
create(
|
|
496
|
+
request: {
|
|
497
|
+
/** V1 error format. */
|
|
498
|
+
'$.xgafv'?: '1' | '2';
|
|
499
|
+
/** OAuth access token. */
|
|
500
|
+
access_token?: string;
|
|
501
|
+
/** Data format for response. */
|
|
502
|
+
alt?: 'json' | 'media' | 'proto';
|
|
503
|
+
/** JSONP */
|
|
504
|
+
callback?: string;
|
|
505
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
506
|
+
fields?: string;
|
|
507
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
508
|
+
key?: string;
|
|
509
|
+
/** OAuth 2.0 token for the current user. */
|
|
510
|
+
oauth_token?: string;
|
|
511
|
+
/** Required. The resource name of the project to associate with the Secret, in the format `projects/*` or `projects/*/locations/*`. */
|
|
512
|
+
parent: string;
|
|
513
|
+
/** Returns response with indentations and line breaks. */
|
|
514
|
+
prettyPrint?: boolean;
|
|
515
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
516
|
+
quotaUser?: string;
|
|
517
|
+
/** Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters. */
|
|
518
|
+
secretId?: string;
|
|
519
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
520
|
+
upload_protocol?: string;
|
|
521
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
522
|
+
uploadType?: string;
|
|
523
|
+
},
|
|
524
|
+
body: Secret,
|
|
525
|
+
): Request<Secret>;
|
|
526
|
+
/** Deletes a Secret. */
|
|
527
|
+
delete(request?: {
|
|
528
|
+
/** V1 error format. */
|
|
529
|
+
'$.xgafv'?: '1' | '2';
|
|
530
|
+
/** OAuth access token. */
|
|
531
|
+
access_token?: string;
|
|
532
|
+
/** Data format for response. */
|
|
533
|
+
alt?: 'json' | 'media' | 'proto';
|
|
534
|
+
/** JSONP */
|
|
535
|
+
callback?: string;
|
|
536
|
+
/** Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds. */
|
|
537
|
+
etag?: string;
|
|
538
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
539
|
+
fields?: string;
|
|
540
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
541
|
+
key?: string;
|
|
542
|
+
/** Required. The resource name of the Secret to delete in the format `projects/*/secrets/*`. */
|
|
543
|
+
name: string;
|
|
544
|
+
/** OAuth 2.0 token for the current user. */
|
|
545
|
+
oauth_token?: string;
|
|
546
|
+
/** Returns response with indentations and line breaks. */
|
|
547
|
+
prettyPrint?: boolean;
|
|
548
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
549
|
+
quotaUser?: string;
|
|
550
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
551
|
+
upload_protocol?: string;
|
|
552
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
553
|
+
uploadType?: string;
|
|
554
|
+
}): Request<{}>;
|
|
555
|
+
/** Enables the managed rotation feature for a Secret. This method can only be triggered once for a secret. In order to do further rotations, RotateSecret should be used. This method will add a secret version and update the password in Cloud SQL. */
|
|
556
|
+
enableManagedRotation(request: {
|
|
557
|
+
/** V1 error format. */
|
|
558
|
+
'$.xgafv'?: '1' | '2';
|
|
559
|
+
/** OAuth access token. */
|
|
560
|
+
access_token?: string;
|
|
561
|
+
/** Data format for response. */
|
|
562
|
+
alt?: 'json' | 'media' | 'proto';
|
|
563
|
+
/** JSONP */
|
|
564
|
+
callback?: string;
|
|
565
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
566
|
+
fields?: string;
|
|
567
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
568
|
+
key?: string;
|
|
569
|
+
/** OAuth 2.0 token for the current user. */
|
|
570
|
+
oauth_token?: string;
|
|
571
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
572
|
+
parent: string;
|
|
573
|
+
/** Returns response with indentations and line breaks. */
|
|
574
|
+
prettyPrint?: boolean;
|
|
575
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
576
|
+
quotaUser?: string;
|
|
577
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
578
|
+
upload_protocol?: string;
|
|
579
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
580
|
+
uploadType?: string;
|
|
581
|
+
/** Request body */
|
|
582
|
+
resource: EnableManagedRotationRequest;
|
|
583
|
+
}): Request<SecretVersion>;
|
|
584
|
+
enableManagedRotation(
|
|
585
|
+
request: {
|
|
586
|
+
/** V1 error format. */
|
|
587
|
+
'$.xgafv'?: '1' | '2';
|
|
588
|
+
/** OAuth access token. */
|
|
589
|
+
access_token?: string;
|
|
590
|
+
/** Data format for response. */
|
|
591
|
+
alt?: 'json' | 'media' | 'proto';
|
|
592
|
+
/** JSONP */
|
|
593
|
+
callback?: string;
|
|
594
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
595
|
+
fields?: string;
|
|
596
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
597
|
+
key?: string;
|
|
598
|
+
/** OAuth 2.0 token for the current user. */
|
|
599
|
+
oauth_token?: string;
|
|
600
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
601
|
+
parent: string;
|
|
602
|
+
/** Returns response with indentations and line breaks. */
|
|
603
|
+
prettyPrint?: boolean;
|
|
604
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
605
|
+
quotaUser?: string;
|
|
606
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
607
|
+
upload_protocol?: string;
|
|
608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
609
|
+
uploadType?: string;
|
|
610
|
+
},
|
|
611
|
+
body: EnableManagedRotationRequest,
|
|
612
|
+
): Request<SecretVersion>;
|
|
613
|
+
/** Gets metadata for a given Secret. */
|
|
614
|
+
get(request?: {
|
|
615
|
+
/** V1 error format. */
|
|
616
|
+
'$.xgafv'?: '1' | '2';
|
|
617
|
+
/** OAuth access token. */
|
|
618
|
+
access_token?: string;
|
|
619
|
+
/** Data format for response. */
|
|
620
|
+
alt?: 'json' | 'media' | 'proto';
|
|
621
|
+
/** JSONP */
|
|
622
|
+
callback?: string;
|
|
623
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
624
|
+
fields?: string;
|
|
625
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
626
|
+
key?: string;
|
|
627
|
+
/** Required. The resource name of the Secret, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
628
|
+
name: string;
|
|
629
|
+
/** OAuth 2.0 token for the current user. */
|
|
630
|
+
oauth_token?: string;
|
|
631
|
+
/** Returns response with indentations and line breaks. */
|
|
632
|
+
prettyPrint?: boolean;
|
|
633
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
634
|
+
quotaUser?: string;
|
|
635
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
636
|
+
upload_protocol?: string;
|
|
637
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
638
|
+
uploadType?: string;
|
|
639
|
+
}): Request<Secret>;
|
|
640
|
+
/** Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. */
|
|
641
|
+
getIamPolicy(request?: {
|
|
642
|
+
/** V1 error format. */
|
|
643
|
+
'$.xgafv'?: '1' | '2';
|
|
644
|
+
/** OAuth access token. */
|
|
645
|
+
access_token?: string;
|
|
646
|
+
/** Data format for response. */
|
|
647
|
+
alt?: 'json' | 'media' | 'proto';
|
|
648
|
+
/** JSONP */
|
|
649
|
+
callback?: string;
|
|
650
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
651
|
+
fields?: string;
|
|
652
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
653
|
+
key?: string;
|
|
654
|
+
/** OAuth 2.0 token for the current user. */
|
|
655
|
+
oauth_token?: string;
|
|
656
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
657
|
+
'options.requestedPolicyVersion'?: number;
|
|
658
|
+
/** Returns response with indentations and line breaks. */
|
|
659
|
+
prettyPrint?: boolean;
|
|
660
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
661
|
+
quotaUser?: string;
|
|
662
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
663
|
+
resource: string;
|
|
664
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
665
|
+
upload_protocol?: string;
|
|
666
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
667
|
+
uploadType?: string;
|
|
668
|
+
}): Request<Policy>;
|
|
669
|
+
/** Lists Secrets. */
|
|
670
|
+
list(request?: {
|
|
671
|
+
/** V1 error format. */
|
|
672
|
+
'$.xgafv'?: '1' | '2';
|
|
673
|
+
/** OAuth access token. */
|
|
674
|
+
access_token?: string;
|
|
675
|
+
/** Data format for response. */
|
|
676
|
+
alt?: 'json' | 'media' | 'proto';
|
|
677
|
+
/** JSONP */
|
|
678
|
+
callback?: string;
|
|
679
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
680
|
+
fields?: string;
|
|
681
|
+
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. */
|
|
682
|
+
filter?: string;
|
|
683
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
684
|
+
key?: string;
|
|
685
|
+
/** OAuth 2.0 token for the current user. */
|
|
686
|
+
oauth_token?: string;
|
|
687
|
+
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
688
|
+
pageSize?: number;
|
|
689
|
+
/** Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token. */
|
|
690
|
+
pageToken?: string;
|
|
691
|
+
/** Required. The resource name of the project associated with the Secrets, in the format `projects/*` or `projects/*/locations/*` */
|
|
692
|
+
parent: string;
|
|
693
|
+
/** Returns response with indentations and line breaks. */
|
|
694
|
+
prettyPrint?: boolean;
|
|
695
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
696
|
+
quotaUser?: string;
|
|
697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
698
|
+
upload_protocol?: string;
|
|
699
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
700
|
+
uploadType?: string;
|
|
701
|
+
}): Request<ListSecretsResponse>;
|
|
702
|
+
/** Updates metadata of an existing Secret. */
|
|
703
|
+
patch(request: {
|
|
704
|
+
/** V1 error format. */
|
|
705
|
+
'$.xgafv'?: '1' | '2';
|
|
706
|
+
/** OAuth access token. */
|
|
707
|
+
access_token?: string;
|
|
708
|
+
/** Data format for response. */
|
|
709
|
+
alt?: 'json' | 'media' | 'proto';
|
|
710
|
+
/** JSONP */
|
|
711
|
+
callback?: string;
|
|
712
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
713
|
+
fields?: string;
|
|
714
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
715
|
+
key?: string;
|
|
716
|
+
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
717
|
+
name: string;
|
|
718
|
+
/** OAuth 2.0 token for the current user. */
|
|
719
|
+
oauth_token?: string;
|
|
720
|
+
/** Returns response with indentations and line breaks. */
|
|
721
|
+
prettyPrint?: boolean;
|
|
722
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
723
|
+
quotaUser?: string;
|
|
724
|
+
/** Required. Specifies the fields to be updated. */
|
|
725
|
+
updateMask?: string;
|
|
726
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
727
|
+
upload_protocol?: string;
|
|
728
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
729
|
+
uploadType?: string;
|
|
730
|
+
/** Request body */
|
|
731
|
+
resource: Secret;
|
|
732
|
+
}): Request<Secret>;
|
|
733
|
+
patch(
|
|
734
|
+
request: {
|
|
735
|
+
/** V1 error format. */
|
|
736
|
+
'$.xgafv'?: '1' | '2';
|
|
737
|
+
/** OAuth access token. */
|
|
738
|
+
access_token?: string;
|
|
739
|
+
/** Data format for response. */
|
|
740
|
+
alt?: 'json' | 'media' | 'proto';
|
|
741
|
+
/** JSONP */
|
|
742
|
+
callback?: string;
|
|
743
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
744
|
+
fields?: string;
|
|
745
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
746
|
+
key?: string;
|
|
747
|
+
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
748
|
+
name: string;
|
|
749
|
+
/** OAuth 2.0 token for the current user. */
|
|
750
|
+
oauth_token?: string;
|
|
751
|
+
/** Returns response with indentations and line breaks. */
|
|
752
|
+
prettyPrint?: boolean;
|
|
753
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
754
|
+
quotaUser?: string;
|
|
755
|
+
/** Required. Specifies the fields to be updated. */
|
|
756
|
+
updateMask?: string;
|
|
757
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
758
|
+
upload_protocol?: string;
|
|
759
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
760
|
+
uploadType?: string;
|
|
761
|
+
},
|
|
762
|
+
body: Secret,
|
|
763
|
+
): Request<Secret>;
|
|
764
|
+
/** Do a managed rotation for a Secret. This can only be triggered after Managed rotation has been enabled. This method will add a secret version and update the password in Cloud SQL. */
|
|
765
|
+
rotateSecret(request: {
|
|
766
|
+
/** V1 error format. */
|
|
767
|
+
'$.xgafv'?: '1' | '2';
|
|
768
|
+
/** OAuth access token. */
|
|
769
|
+
access_token?: string;
|
|
770
|
+
/** Data format for response. */
|
|
771
|
+
alt?: 'json' | 'media' | 'proto';
|
|
772
|
+
/** JSONP */
|
|
773
|
+
callback?: string;
|
|
774
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
775
|
+
fields?: string;
|
|
776
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
777
|
+
key?: string;
|
|
778
|
+
/** OAuth 2.0 token for the current user. */
|
|
779
|
+
oauth_token?: string;
|
|
780
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
781
|
+
parent: string;
|
|
782
|
+
/** Returns response with indentations and line breaks. */
|
|
783
|
+
prettyPrint?: boolean;
|
|
784
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
785
|
+
quotaUser?: string;
|
|
786
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
787
|
+
upload_protocol?: string;
|
|
788
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
789
|
+
uploadType?: string;
|
|
790
|
+
/** Request body */
|
|
791
|
+
resource: RotateSecretRequest;
|
|
792
|
+
}): Request<SecretVersion>;
|
|
793
|
+
rotateSecret(
|
|
794
|
+
request: {
|
|
795
|
+
/** V1 error format. */
|
|
796
|
+
'$.xgafv'?: '1' | '2';
|
|
797
|
+
/** OAuth access token. */
|
|
798
|
+
access_token?: string;
|
|
799
|
+
/** Data format for response. */
|
|
800
|
+
alt?: 'json' | 'media' | 'proto';
|
|
801
|
+
/** JSONP */
|
|
802
|
+
callback?: string;
|
|
803
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
804
|
+
fields?: string;
|
|
805
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
806
|
+
key?: string;
|
|
807
|
+
/** OAuth 2.0 token for the current user. */
|
|
808
|
+
oauth_token?: string;
|
|
809
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
810
|
+
parent: string;
|
|
811
|
+
/** Returns response with indentations and line breaks. */
|
|
812
|
+
prettyPrint?: boolean;
|
|
813
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
814
|
+
quotaUser?: string;
|
|
815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
816
|
+
upload_protocol?: string;
|
|
817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
818
|
+
uploadType?: string;
|
|
819
|
+
},
|
|
820
|
+
body: RotateSecretRequest,
|
|
821
|
+
): Request<SecretVersion>;
|
|
822
|
+
/** Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. */
|
|
823
|
+
setIamPolicy(
|
|
824
|
+
request: {
|
|
825
|
+
/** V1 error format. */
|
|
826
|
+
'$.xgafv'?: '1' | '2';
|
|
827
|
+
/** OAuth access token. */
|
|
828
|
+
access_token?: string;
|
|
829
|
+
/** Data format for response. */
|
|
830
|
+
alt?: 'json' | 'media' | 'proto';
|
|
831
|
+
/** JSONP */
|
|
832
|
+
callback?: string;
|
|
833
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
834
|
+
fields?: string;
|
|
835
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
836
|
+
key?: string;
|
|
837
|
+
/** OAuth 2.0 token for the current user. */
|
|
838
|
+
oauth_token?: string;
|
|
839
|
+
/** Returns response with indentations and line breaks. */
|
|
840
|
+
prettyPrint?: boolean;
|
|
841
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
842
|
+
quotaUser?: string;
|
|
843
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
844
|
+
resource: string;
|
|
845
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
846
|
+
upload_protocol?: string;
|
|
847
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
848
|
+
uploadType?: string;
|
|
849
|
+
},
|
|
850
|
+
body: SetIamPolicyRequest,
|
|
851
|
+
): Request<Policy>;
|
|
852
|
+
/** Returns permissions that a caller has for the specified secret. If the secret does not exist, this call returns an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
853
|
+
testIamPermissions(
|
|
854
|
+
request: {
|
|
855
|
+
/** V1 error format. */
|
|
856
|
+
'$.xgafv'?: '1' | '2';
|
|
857
|
+
/** OAuth access token. */
|
|
858
|
+
access_token?: string;
|
|
859
|
+
/** Data format for response. */
|
|
860
|
+
alt?: 'json' | 'media' | 'proto';
|
|
861
|
+
/** JSONP */
|
|
862
|
+
callback?: string;
|
|
863
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
864
|
+
fields?: string;
|
|
865
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
866
|
+
key?: string;
|
|
867
|
+
/** OAuth 2.0 token for the current user. */
|
|
868
|
+
oauth_token?: string;
|
|
869
|
+
/** Returns response with indentations and line breaks. */
|
|
870
|
+
prettyPrint?: boolean;
|
|
871
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
872
|
+
quotaUser?: string;
|
|
873
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
874
|
+
resource: string;
|
|
875
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
876
|
+
upload_protocol?: string;
|
|
877
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
878
|
+
uploadType?: string;
|
|
879
|
+
},
|
|
880
|
+
body: TestIamPermissionsRequest,
|
|
881
|
+
): Request<TestIamPermissionsResponse>;
|
|
882
|
+
versions: {
|
|
883
|
+
/** Accesses a SecretVersion. This call returns the secret data. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
884
|
+
access(request?: {
|
|
885
|
+
/** V1 error format. */
|
|
886
|
+
'$.xgafv'?: '1' | '2';
|
|
887
|
+
/** OAuth access token. */
|
|
888
|
+
access_token?: string;
|
|
889
|
+
/** Data format for response. */
|
|
890
|
+
alt?: 'json' | 'media' | 'proto';
|
|
891
|
+
/** JSONP */
|
|
892
|
+
callback?: string;
|
|
893
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
894
|
+
fields?: string;
|
|
895
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
896
|
+
key?: string;
|
|
897
|
+
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
898
|
+
name: string;
|
|
899
|
+
/** OAuth 2.0 token for the current user. */
|
|
900
|
+
oauth_token?: string;
|
|
901
|
+
/** Returns response with indentations and line breaks. */
|
|
902
|
+
prettyPrint?: boolean;
|
|
903
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
904
|
+
quotaUser?: string;
|
|
905
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
906
|
+
upload_protocol?: string;
|
|
907
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
908
|
+
uploadType?: string;
|
|
909
|
+
}): Request<AccessSecretVersionResponse>;
|
|
910
|
+
/** Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the secret data. */
|
|
911
|
+
destroy(request: {
|
|
912
|
+
/** V1 error format. */
|
|
913
|
+
'$.xgafv'?: '1' | '2';
|
|
914
|
+
/** OAuth access token. */
|
|
915
|
+
access_token?: string;
|
|
916
|
+
/** Data format for response. */
|
|
917
|
+
alt?: 'json' | 'media' | 'proto';
|
|
918
|
+
/** JSONP */
|
|
919
|
+
callback?: string;
|
|
920
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
921
|
+
fields?: string;
|
|
922
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
923
|
+
key?: string;
|
|
924
|
+
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
925
|
+
name: string;
|
|
926
|
+
/** OAuth 2.0 token for the current user. */
|
|
927
|
+
oauth_token?: string;
|
|
928
|
+
/** Returns response with indentations and line breaks. */
|
|
929
|
+
prettyPrint?: boolean;
|
|
930
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
931
|
+
quotaUser?: string;
|
|
932
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
933
|
+
upload_protocol?: string;
|
|
934
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
935
|
+
uploadType?: string;
|
|
936
|
+
/** Request body */
|
|
937
|
+
resource: DestroySecretVersionRequest;
|
|
938
|
+
}): Request<SecretVersion>;
|
|
939
|
+
destroy(
|
|
940
|
+
request: {
|
|
941
|
+
/** V1 error format. */
|
|
942
|
+
'$.xgafv'?: '1' | '2';
|
|
943
|
+
/** OAuth access token. */
|
|
944
|
+
access_token?: string;
|
|
945
|
+
/** Data format for response. */
|
|
946
|
+
alt?: 'json' | 'media' | 'proto';
|
|
947
|
+
/** JSONP */
|
|
948
|
+
callback?: string;
|
|
949
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
950
|
+
fields?: string;
|
|
951
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
952
|
+
key?: string;
|
|
953
|
+
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
954
|
+
name: string;
|
|
955
|
+
/** OAuth 2.0 token for the current user. */
|
|
956
|
+
oauth_token?: string;
|
|
957
|
+
/** Returns response with indentations and line breaks. */
|
|
958
|
+
prettyPrint?: boolean;
|
|
959
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
960
|
+
quotaUser?: string;
|
|
961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
962
|
+
upload_protocol?: string;
|
|
963
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
964
|
+
uploadType?: string;
|
|
965
|
+
},
|
|
966
|
+
body: DestroySecretVersionRequest,
|
|
967
|
+
): Request<SecretVersion>;
|
|
968
|
+
/** Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED. */
|
|
969
|
+
disable(request: {
|
|
970
|
+
/** V1 error format. */
|
|
971
|
+
'$.xgafv'?: '1' | '2';
|
|
972
|
+
/** OAuth access token. */
|
|
973
|
+
access_token?: string;
|
|
974
|
+
/** Data format for response. */
|
|
975
|
+
alt?: 'json' | 'media' | 'proto';
|
|
976
|
+
/** JSONP */
|
|
977
|
+
callback?: string;
|
|
978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
979
|
+
fields?: string;
|
|
980
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
981
|
+
key?: string;
|
|
982
|
+
/** Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
983
|
+
name: string;
|
|
984
|
+
/** OAuth 2.0 token for the current user. */
|
|
985
|
+
oauth_token?: string;
|
|
986
|
+
/** Returns response with indentations and line breaks. */
|
|
987
|
+
prettyPrint?: boolean;
|
|
988
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
989
|
+
quotaUser?: string;
|
|
990
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
991
|
+
upload_protocol?: string;
|
|
992
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
993
|
+
uploadType?: string;
|
|
994
|
+
/** Request body */
|
|
995
|
+
resource: DisableSecretVersionRequest;
|
|
996
|
+
}): Request<SecretVersion>;
|
|
997
|
+
disable(
|
|
998
|
+
request: {
|
|
999
|
+
/** V1 error format. */
|
|
1000
|
+
'$.xgafv'?: '1' | '2';
|
|
1001
|
+
/** OAuth access token. */
|
|
1002
|
+
access_token?: string;
|
|
1003
|
+
/** Data format for response. */
|
|
1004
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1005
|
+
/** JSONP */
|
|
1006
|
+
callback?: string;
|
|
1007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1008
|
+
fields?: string;
|
|
1009
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1010
|
+
key?: string;
|
|
1011
|
+
/** Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1012
|
+
name: string;
|
|
1013
|
+
/** OAuth 2.0 token for the current user. */
|
|
1014
|
+
oauth_token?: string;
|
|
1015
|
+
/** Returns response with indentations and line breaks. */
|
|
1016
|
+
prettyPrint?: boolean;
|
|
1017
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1018
|
+
quotaUser?: string;
|
|
1019
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1020
|
+
upload_protocol?: string;
|
|
1021
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1022
|
+
uploadType?: string;
|
|
1023
|
+
},
|
|
1024
|
+
body: DisableSecretVersionRequest,
|
|
1025
|
+
): Request<SecretVersion>;
|
|
1026
|
+
/** Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED. */
|
|
1027
|
+
enable(request: {
|
|
1028
|
+
/** V1 error format. */
|
|
1029
|
+
'$.xgafv'?: '1' | '2';
|
|
1030
|
+
/** OAuth access token. */
|
|
1031
|
+
access_token?: string;
|
|
1032
|
+
/** Data format for response. */
|
|
1033
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1034
|
+
/** JSONP */
|
|
1035
|
+
callback?: string;
|
|
1036
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1037
|
+
fields?: string;
|
|
1038
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1039
|
+
key?: string;
|
|
1040
|
+
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1041
|
+
name: string;
|
|
1042
|
+
/** OAuth 2.0 token for the current user. */
|
|
1043
|
+
oauth_token?: string;
|
|
1044
|
+
/** Returns response with indentations and line breaks. */
|
|
1045
|
+
prettyPrint?: boolean;
|
|
1046
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1047
|
+
quotaUser?: string;
|
|
1048
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1049
|
+
upload_protocol?: string;
|
|
1050
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1051
|
+
uploadType?: string;
|
|
1052
|
+
/** Request body */
|
|
1053
|
+
resource: EnableSecretVersionRequest;
|
|
1054
|
+
}): Request<SecretVersion>;
|
|
1055
|
+
enable(
|
|
1056
|
+
request: {
|
|
1057
|
+
/** V1 error format. */
|
|
1058
|
+
'$.xgafv'?: '1' | '2';
|
|
1059
|
+
/** OAuth access token. */
|
|
1060
|
+
access_token?: string;
|
|
1061
|
+
/** Data format for response. */
|
|
1062
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1063
|
+
/** JSONP */
|
|
1064
|
+
callback?: string;
|
|
1065
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1066
|
+
fields?: string;
|
|
1067
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1068
|
+
key?: string;
|
|
1069
|
+
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1070
|
+
name: string;
|
|
1071
|
+
/** OAuth 2.0 token for the current user. */
|
|
1072
|
+
oauth_token?: string;
|
|
1073
|
+
/** Returns response with indentations and line breaks. */
|
|
1074
|
+
prettyPrint?: boolean;
|
|
1075
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1076
|
+
quotaUser?: string;
|
|
1077
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1078
|
+
upload_protocol?: string;
|
|
1079
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1080
|
+
uploadType?: string;
|
|
1081
|
+
},
|
|
1082
|
+
body: EnableSecretVersionRequest,
|
|
1083
|
+
): Request<SecretVersion>;
|
|
1084
|
+
/** Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1085
|
+
get(request?: {
|
|
1086
|
+
/** V1 error format. */
|
|
1087
|
+
'$.xgafv'?: '1' | '2';
|
|
1088
|
+
/** OAuth access token. */
|
|
1089
|
+
access_token?: string;
|
|
1090
|
+
/** Data format for response. */
|
|
1091
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1092
|
+
/** JSONP */
|
|
1093
|
+
callback?: string;
|
|
1094
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1095
|
+
fields?: string;
|
|
1096
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1097
|
+
key?: string;
|
|
1098
|
+
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1099
|
+
name: string;
|
|
1100
|
+
/** OAuth 2.0 token for the current user. */
|
|
1101
|
+
oauth_token?: string;
|
|
1102
|
+
/** Returns response with indentations and line breaks. */
|
|
1103
|
+
prettyPrint?: boolean;
|
|
1104
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1105
|
+
quotaUser?: string;
|
|
1106
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1107
|
+
upload_protocol?: string;
|
|
1108
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1109
|
+
uploadType?: string;
|
|
1110
|
+
}): Request<SecretVersion>;
|
|
1111
|
+
/** Lists SecretVersions. This call does not return secret data. */
|
|
1112
|
+
list(request?: {
|
|
1113
|
+
/** V1 error format. */
|
|
1114
|
+
'$.xgafv'?: '1' | '2';
|
|
1115
|
+
/** OAuth access token. */
|
|
1116
|
+
access_token?: string;
|
|
1117
|
+
/** Data format for response. */
|
|
1118
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1119
|
+
/** JSONP */
|
|
1120
|
+
callback?: string;
|
|
1121
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1122
|
+
fields?: string;
|
|
1123
|
+
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secret versions matching the filter. If filter is empty, all secret versions are listed. */
|
|
1124
|
+
filter?: string;
|
|
1125
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1126
|
+
key?: string;
|
|
1127
|
+
/** OAuth 2.0 token for the current user. */
|
|
1128
|
+
oauth_token?: string;
|
|
1129
|
+
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
1130
|
+
pageSize?: number;
|
|
1131
|
+
/** Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][]. */
|
|
1132
|
+
pageToken?: string;
|
|
1133
|
+
/** Required. The resource name of the Secret associated with the SecretVersions to list, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1134
|
+
parent: string;
|
|
1135
|
+
/** Returns response with indentations and line breaks. */
|
|
1136
|
+
prettyPrint?: boolean;
|
|
1137
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1138
|
+
quotaUser?: string;
|
|
1139
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1140
|
+
upload_protocol?: string;
|
|
1141
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1142
|
+
uploadType?: string;
|
|
1143
|
+
}): Request<ListSecretVersionsResponse>;
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
secrets: {
|
|
1148
|
+
/** Creates a new SecretVersion containing secret data and attaches it to an existing Secret. */
|
|
1149
|
+
addVersion(request: {
|
|
635
1150
|
/** V1 error format. */
|
|
636
1151
|
'$.xgafv'?: '1' | '2';
|
|
637
1152
|
/** OAuth access token. */
|
|
@@ -656,42 +1171,40 @@ declare namespace gapi.client {
|
|
|
656
1171
|
upload_protocol?: string;
|
|
657
1172
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
658
1173
|
uploadType?: string;
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
create(
|
|
694
|
-
request: {
|
|
1174
|
+
/** Request body */
|
|
1175
|
+
resource: AddSecretVersionRequest;
|
|
1176
|
+
}): Request<SecretVersion>;
|
|
1177
|
+
addVersion(
|
|
1178
|
+
request: {
|
|
1179
|
+
/** V1 error format. */
|
|
1180
|
+
'$.xgafv'?: '1' | '2';
|
|
1181
|
+
/** OAuth access token. */
|
|
1182
|
+
access_token?: string;
|
|
1183
|
+
/** Data format for response. */
|
|
1184
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1185
|
+
/** JSONP */
|
|
1186
|
+
callback?: string;
|
|
1187
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1188
|
+
fields?: string;
|
|
1189
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1190
|
+
key?: string;
|
|
1191
|
+
/** OAuth 2.0 token for the current user. */
|
|
1192
|
+
oauth_token?: string;
|
|
1193
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1194
|
+
parent: string;
|
|
1195
|
+
/** Returns response with indentations and line breaks. */
|
|
1196
|
+
prettyPrint?: boolean;
|
|
1197
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1198
|
+
quotaUser?: string;
|
|
1199
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1200
|
+
upload_protocol?: string;
|
|
1201
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1202
|
+
uploadType?: string;
|
|
1203
|
+
},
|
|
1204
|
+
body: AddSecretVersionRequest,
|
|
1205
|
+
): Request<SecretVersion>;
|
|
1206
|
+
/** Creates a new Secret containing no SecretVersions. */
|
|
1207
|
+
create(request: {
|
|
695
1208
|
/** V1 error format. */
|
|
696
1209
|
'$.xgafv'?: '1' | '2';
|
|
697
1210
|
/** OAuth access token. */
|
|
@@ -718,69 +1231,42 @@ declare namespace gapi.client {
|
|
|
718
1231
|
upload_protocol?: string;
|
|
719
1232
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
720
1233
|
uploadType?: string;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
|
|
757
|
-
/** OAuth access token. */
|
|
758
|
-
access_token?: string;
|
|
759
|
-
/** Data format for response. */
|
|
760
|
-
alt?: 'json' | 'media' | 'proto';
|
|
761
|
-
/** JSONP */
|
|
762
|
-
callback?: string;
|
|
763
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
764
|
-
fields?: string;
|
|
765
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
766
|
-
key?: string;
|
|
767
|
-
/** OAuth 2.0 token for the current user. */
|
|
768
|
-
oauth_token?: string;
|
|
769
|
-
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
770
|
-
parent: string;
|
|
771
|
-
/** Returns response with indentations and line breaks. */
|
|
772
|
-
prettyPrint?: boolean;
|
|
773
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
774
|
-
quotaUser?: string;
|
|
775
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
776
|
-
upload_protocol?: string;
|
|
777
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
778
|
-
uploadType?: string;
|
|
779
|
-
/** Request body */
|
|
780
|
-
resource: EnableManagedRotationRequest;
|
|
781
|
-
}): Request<SecretVersion>;
|
|
782
|
-
enableManagedRotation(
|
|
783
|
-
request: {
|
|
1234
|
+
/** Request body */
|
|
1235
|
+
resource: Secret;
|
|
1236
|
+
}): Request<Secret>;
|
|
1237
|
+
create(
|
|
1238
|
+
request: {
|
|
1239
|
+
/** V1 error format. */
|
|
1240
|
+
'$.xgafv'?: '1' | '2';
|
|
1241
|
+
/** OAuth access token. */
|
|
1242
|
+
access_token?: string;
|
|
1243
|
+
/** Data format for response. */
|
|
1244
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1245
|
+
/** JSONP */
|
|
1246
|
+
callback?: string;
|
|
1247
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1248
|
+
fields?: string;
|
|
1249
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1250
|
+
key?: string;
|
|
1251
|
+
/** OAuth 2.0 token for the current user. */
|
|
1252
|
+
oauth_token?: string;
|
|
1253
|
+
/** Required. The resource name of the project to associate with the Secret, in the format `projects/*` or `projects/*/locations/*`. */
|
|
1254
|
+
parent: string;
|
|
1255
|
+
/** Returns response with indentations and line breaks. */
|
|
1256
|
+
prettyPrint?: boolean;
|
|
1257
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1258
|
+
quotaUser?: string;
|
|
1259
|
+
/** Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters. */
|
|
1260
|
+
secretId?: string;
|
|
1261
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1262
|
+
upload_protocol?: string;
|
|
1263
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1264
|
+
uploadType?: string;
|
|
1265
|
+
},
|
|
1266
|
+
body: Secret,
|
|
1267
|
+
): Request<Secret>;
|
|
1268
|
+
/** Deletes a Secret. */
|
|
1269
|
+
delete(request?: {
|
|
784
1270
|
/** V1 error format. */
|
|
785
1271
|
'$.xgafv'?: '1' | '2';
|
|
786
1272
|
/** OAuth access token. */
|
|
@@ -789,160 +1275,13 @@ declare namespace gapi.client {
|
|
|
789
1275
|
alt?: 'json' | 'media' | 'proto';
|
|
790
1276
|
/** JSONP */
|
|
791
1277
|
callback?: string;
|
|
1278
|
+
/** Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds. */
|
|
1279
|
+
etag?: string;
|
|
792
1280
|
/** Selector specifying which fields to include in a partial response. */
|
|
793
1281
|
fields?: string;
|
|
794
1282
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
795
1283
|
key?: string;
|
|
796
|
-
/**
|
|
797
|
-
oauth_token?: string;
|
|
798
|
-
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
799
|
-
parent: string;
|
|
800
|
-
/** Returns response with indentations and line breaks. */
|
|
801
|
-
prettyPrint?: boolean;
|
|
802
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
803
|
-
quotaUser?: string;
|
|
804
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
805
|
-
upload_protocol?: string;
|
|
806
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
807
|
-
uploadType?: string;
|
|
808
|
-
},
|
|
809
|
-
body: EnableManagedRotationRequest,
|
|
810
|
-
): Request<SecretVersion>;
|
|
811
|
-
/** Gets metadata for a given Secret. */
|
|
812
|
-
get(request?: {
|
|
813
|
-
/** V1 error format. */
|
|
814
|
-
'$.xgafv'?: '1' | '2';
|
|
815
|
-
/** OAuth access token. */
|
|
816
|
-
access_token?: string;
|
|
817
|
-
/** Data format for response. */
|
|
818
|
-
alt?: 'json' | 'media' | 'proto';
|
|
819
|
-
/** JSONP */
|
|
820
|
-
callback?: string;
|
|
821
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
822
|
-
fields?: string;
|
|
823
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
824
|
-
key?: string;
|
|
825
|
-
/** Required. The resource name of the Secret, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
826
|
-
name: string;
|
|
827
|
-
/** OAuth 2.0 token for the current user. */
|
|
828
|
-
oauth_token?: string;
|
|
829
|
-
/** Returns response with indentations and line breaks. */
|
|
830
|
-
prettyPrint?: boolean;
|
|
831
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
832
|
-
quotaUser?: string;
|
|
833
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
834
|
-
upload_protocol?: string;
|
|
835
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
836
|
-
uploadType?: string;
|
|
837
|
-
}): Request<Secret>;
|
|
838
|
-
/** Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. */
|
|
839
|
-
getIamPolicy(request?: {
|
|
840
|
-
/** V1 error format. */
|
|
841
|
-
'$.xgafv'?: '1' | '2';
|
|
842
|
-
/** OAuth access token. */
|
|
843
|
-
access_token?: string;
|
|
844
|
-
/** Data format for response. */
|
|
845
|
-
alt?: 'json' | 'media' | 'proto';
|
|
846
|
-
/** JSONP */
|
|
847
|
-
callback?: string;
|
|
848
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
849
|
-
fields?: string;
|
|
850
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
851
|
-
key?: string;
|
|
852
|
-
/** OAuth 2.0 token for the current user. */
|
|
853
|
-
oauth_token?: string;
|
|
854
|
-
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
855
|
-
'options.requestedPolicyVersion'?: number;
|
|
856
|
-
/** Returns response with indentations and line breaks. */
|
|
857
|
-
prettyPrint?: boolean;
|
|
858
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
859
|
-
quotaUser?: string;
|
|
860
|
-
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
861
|
-
resource: string;
|
|
862
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
863
|
-
upload_protocol?: string;
|
|
864
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
865
|
-
uploadType?: string;
|
|
866
|
-
}): Request<Policy>;
|
|
867
|
-
/** Lists Secrets. */
|
|
868
|
-
list(request?: {
|
|
869
|
-
/** V1 error format. */
|
|
870
|
-
'$.xgafv'?: '1' | '2';
|
|
871
|
-
/** OAuth access token. */
|
|
872
|
-
access_token?: string;
|
|
873
|
-
/** Data format for response. */
|
|
874
|
-
alt?: 'json' | 'media' | 'proto';
|
|
875
|
-
/** JSONP */
|
|
876
|
-
callback?: string;
|
|
877
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
878
|
-
fields?: string;
|
|
879
|
-
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. */
|
|
880
|
-
filter?: string;
|
|
881
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
882
|
-
key?: string;
|
|
883
|
-
/** OAuth 2.0 token for the current user. */
|
|
884
|
-
oauth_token?: string;
|
|
885
|
-
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
886
|
-
pageSize?: number;
|
|
887
|
-
/** Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token. */
|
|
888
|
-
pageToken?: string;
|
|
889
|
-
/** Required. The resource name of the project associated with the Secrets, in the format `projects/*` or `projects/*/locations/*` */
|
|
890
|
-
parent: string;
|
|
891
|
-
/** Returns response with indentations and line breaks. */
|
|
892
|
-
prettyPrint?: boolean;
|
|
893
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
894
|
-
quotaUser?: string;
|
|
895
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
896
|
-
upload_protocol?: string;
|
|
897
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
898
|
-
uploadType?: string;
|
|
899
|
-
}): Request<ListSecretsResponse>;
|
|
900
|
-
/** Updates metadata of an existing Secret. */
|
|
901
|
-
patch(request: {
|
|
902
|
-
/** V1 error format. */
|
|
903
|
-
'$.xgafv'?: '1' | '2';
|
|
904
|
-
/** OAuth access token. */
|
|
905
|
-
access_token?: string;
|
|
906
|
-
/** Data format for response. */
|
|
907
|
-
alt?: 'json' | 'media' | 'proto';
|
|
908
|
-
/** JSONP */
|
|
909
|
-
callback?: string;
|
|
910
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
911
|
-
fields?: string;
|
|
912
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
913
|
-
key?: string;
|
|
914
|
-
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
915
|
-
name: string;
|
|
916
|
-
/** OAuth 2.0 token for the current user. */
|
|
917
|
-
oauth_token?: string;
|
|
918
|
-
/** Returns response with indentations and line breaks. */
|
|
919
|
-
prettyPrint?: boolean;
|
|
920
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
921
|
-
quotaUser?: string;
|
|
922
|
-
/** Required. Specifies the fields to be updated. */
|
|
923
|
-
updateMask?: string;
|
|
924
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
925
|
-
upload_protocol?: string;
|
|
926
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
927
|
-
uploadType?: string;
|
|
928
|
-
/** Request body */
|
|
929
|
-
resource: Secret;
|
|
930
|
-
}): Request<Secret>;
|
|
931
|
-
patch(
|
|
932
|
-
request: {
|
|
933
|
-
/** V1 error format. */
|
|
934
|
-
'$.xgafv'?: '1' | '2';
|
|
935
|
-
/** OAuth access token. */
|
|
936
|
-
access_token?: string;
|
|
937
|
-
/** Data format for response. */
|
|
938
|
-
alt?: 'json' | 'media' | 'proto';
|
|
939
|
-
/** JSONP */
|
|
940
|
-
callback?: string;
|
|
941
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
942
|
-
fields?: string;
|
|
943
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
944
|
-
key?: string;
|
|
945
|
-
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
1284
|
+
/** Required. The resource name of the Secret to delete in the format `projects/*/secrets/*`. */
|
|
946
1285
|
name: string;
|
|
947
1286
|
/** OAuth 2.0 token for the current user. */
|
|
948
1287
|
oauth_token?: string;
|
|
@@ -950,46 +1289,13 @@ declare namespace gapi.client {
|
|
|
950
1289
|
prettyPrint?: boolean;
|
|
951
1290
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
952
1291
|
quotaUser?: string;
|
|
953
|
-
/** Required. Specifies the fields to be updated. */
|
|
954
|
-
updateMask?: string;
|
|
955
1292
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
956
1293
|
upload_protocol?: string;
|
|
957
1294
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
958
1295
|
uploadType?: string;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
/** Do a managed rotation for a Secret. This can only be triggered after Managed rotation has been enabled. This method will add a secret version and update the password in Cloud SQL. */
|
|
963
|
-
rotateSecret(request: {
|
|
964
|
-
/** V1 error format. */
|
|
965
|
-
'$.xgafv'?: '1' | '2';
|
|
966
|
-
/** OAuth access token. */
|
|
967
|
-
access_token?: string;
|
|
968
|
-
/** Data format for response. */
|
|
969
|
-
alt?: 'json' | 'media' | 'proto';
|
|
970
|
-
/** JSONP */
|
|
971
|
-
callback?: string;
|
|
972
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
973
|
-
fields?: string;
|
|
974
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
975
|
-
key?: string;
|
|
976
|
-
/** OAuth 2.0 token for the current user. */
|
|
977
|
-
oauth_token?: string;
|
|
978
|
-
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
979
|
-
parent: string;
|
|
980
|
-
/** Returns response with indentations and line breaks. */
|
|
981
|
-
prettyPrint?: boolean;
|
|
982
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
983
|
-
quotaUser?: string;
|
|
984
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
985
|
-
upload_protocol?: string;
|
|
986
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
987
|
-
uploadType?: string;
|
|
988
|
-
/** Request body */
|
|
989
|
-
resource: RotateSecretRequest;
|
|
990
|
-
}): Request<SecretVersion>;
|
|
991
|
-
rotateSecret(
|
|
992
|
-
request: {
|
|
1296
|
+
}): Request<{}>;
|
|
1297
|
+
/** Enables the managed rotation feature for a Secret. This method can only be triggered once for a secret. In order to do further rotations, RotateSecret should be used. This method will add a secret version and update the password in Cloud SQL. */
|
|
1298
|
+
enableManagedRotation(request: {
|
|
993
1299
|
/** V1 error format. */
|
|
994
1300
|
'$.xgafv'?: '1' | '2';
|
|
995
1301
|
/** OAuth access token. */
|
|
@@ -1014,253 +1320,40 @@ declare namespace gapi.client {
|
|
|
1014
1320
|
upload_protocol?: string;
|
|
1015
1321
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1016
1322
|
uploadType?: string;
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
testIamPermissions(
|
|
1052
|
-
request: {
|
|
1053
|
-
/** V1 error format. */
|
|
1054
|
-
'$.xgafv'?: '1' | '2';
|
|
1055
|
-
/** OAuth access token. */
|
|
1056
|
-
access_token?: string;
|
|
1057
|
-
/** Data format for response. */
|
|
1058
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1059
|
-
/** JSONP */
|
|
1060
|
-
callback?: string;
|
|
1061
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1062
|
-
fields?: string;
|
|
1063
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1064
|
-
key?: string;
|
|
1065
|
-
/** OAuth 2.0 token for the current user. */
|
|
1066
|
-
oauth_token?: string;
|
|
1067
|
-
/** Returns response with indentations and line breaks. */
|
|
1068
|
-
prettyPrint?: boolean;
|
|
1069
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1070
|
-
quotaUser?: string;
|
|
1071
|
-
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1072
|
-
resource: string;
|
|
1073
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1074
|
-
upload_protocol?: string;
|
|
1075
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1076
|
-
uploadType?: string;
|
|
1077
|
-
},
|
|
1078
|
-
body: TestIamPermissionsRequest,
|
|
1079
|
-
): Request<TestIamPermissionsResponse>;
|
|
1080
|
-
versions: VersionsResource;
|
|
1081
|
-
}
|
|
1082
|
-
interface LocationsResource {
|
|
1083
|
-
/** Gets information about a location. */
|
|
1084
|
-
get(request?: {
|
|
1085
|
-
/** V1 error format. */
|
|
1086
|
-
'$.xgafv'?: '1' | '2';
|
|
1087
|
-
/** OAuth access token. */
|
|
1088
|
-
access_token?: string;
|
|
1089
|
-
/** Data format for response. */
|
|
1090
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1091
|
-
/** JSONP */
|
|
1092
|
-
callback?: string;
|
|
1093
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1094
|
-
fields?: string;
|
|
1095
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1096
|
-
key?: string;
|
|
1097
|
-
/** Resource name for the location. */
|
|
1098
|
-
name: string;
|
|
1099
|
-
/** OAuth 2.0 token for the current user. */
|
|
1100
|
-
oauth_token?: string;
|
|
1101
|
-
/** Returns response with indentations and line breaks. */
|
|
1102
|
-
prettyPrint?: boolean;
|
|
1103
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1104
|
-
quotaUser?: string;
|
|
1105
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1106
|
-
upload_protocol?: string;
|
|
1107
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1108
|
-
uploadType?: string;
|
|
1109
|
-
}): Request<Location>;
|
|
1110
|
-
/** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
|
|
1111
|
-
list(request?: {
|
|
1112
|
-
/** V1 error format. */
|
|
1113
|
-
'$.xgafv'?: '1' | '2';
|
|
1114
|
-
/** OAuth access token. */
|
|
1115
|
-
access_token?: string;
|
|
1116
|
-
/** Data format for response. */
|
|
1117
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1118
|
-
/** JSONP */
|
|
1119
|
-
callback?: string;
|
|
1120
|
-
/** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
1121
|
-
extraLocationTypes?: string | string[];
|
|
1122
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1123
|
-
fields?: string;
|
|
1124
|
-
/** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
|
|
1125
|
-
filter?: string;
|
|
1126
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1127
|
-
key?: string;
|
|
1128
|
-
/** The resource that owns the locations collection, if applicable. */
|
|
1129
|
-
name: string;
|
|
1130
|
-
/** OAuth 2.0 token for the current user. */
|
|
1131
|
-
oauth_token?: string;
|
|
1132
|
-
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1133
|
-
pageSize?: number;
|
|
1134
|
-
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1135
|
-
pageToken?: string;
|
|
1136
|
-
/** Returns response with indentations and line breaks. */
|
|
1137
|
-
prettyPrint?: boolean;
|
|
1138
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1139
|
-
quotaUser?: string;
|
|
1140
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1141
|
-
upload_protocol?: string;
|
|
1142
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1143
|
-
uploadType?: string;
|
|
1144
|
-
}): Request<ListLocationsResponse>;
|
|
1145
|
-
secrets: SecretsResource;
|
|
1146
|
-
}
|
|
1147
|
-
interface VersionsResource {
|
|
1148
|
-
/** Accesses a SecretVersion. This call returns the secret data. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1149
|
-
access(request?: {
|
|
1150
|
-
/** V1 error format. */
|
|
1151
|
-
'$.xgafv'?: '1' | '2';
|
|
1152
|
-
/** OAuth access token. */
|
|
1153
|
-
access_token?: string;
|
|
1154
|
-
/** Data format for response. */
|
|
1155
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1156
|
-
/** JSONP */
|
|
1157
|
-
callback?: string;
|
|
1158
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1159
|
-
fields?: string;
|
|
1160
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1161
|
-
key?: string;
|
|
1162
|
-
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1163
|
-
name: string;
|
|
1164
|
-
/** OAuth 2.0 token for the current user. */
|
|
1165
|
-
oauth_token?: string;
|
|
1166
|
-
/** Returns response with indentations and line breaks. */
|
|
1167
|
-
prettyPrint?: boolean;
|
|
1168
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1169
|
-
quotaUser?: string;
|
|
1170
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1171
|
-
upload_protocol?: string;
|
|
1172
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1173
|
-
uploadType?: string;
|
|
1174
|
-
}): Request<AccessSecretVersionResponse>;
|
|
1175
|
-
/** Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the secret data. */
|
|
1176
|
-
destroy(request: {
|
|
1177
|
-
/** V1 error format. */
|
|
1178
|
-
'$.xgafv'?: '1' | '2';
|
|
1179
|
-
/** OAuth access token. */
|
|
1180
|
-
access_token?: string;
|
|
1181
|
-
/** Data format for response. */
|
|
1182
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1183
|
-
/** JSONP */
|
|
1184
|
-
callback?: string;
|
|
1185
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1186
|
-
fields?: string;
|
|
1187
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1188
|
-
key?: string;
|
|
1189
|
-
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1190
|
-
name: string;
|
|
1191
|
-
/** OAuth 2.0 token for the current user. */
|
|
1192
|
-
oauth_token?: string;
|
|
1193
|
-
/** Returns response with indentations and line breaks. */
|
|
1194
|
-
prettyPrint?: boolean;
|
|
1195
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1196
|
-
quotaUser?: string;
|
|
1197
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1198
|
-
upload_protocol?: string;
|
|
1199
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1200
|
-
uploadType?: string;
|
|
1201
|
-
/** Request body */
|
|
1202
|
-
resource: DestroySecretVersionRequest;
|
|
1203
|
-
}): Request<SecretVersion>;
|
|
1204
|
-
destroy(
|
|
1205
|
-
request: {
|
|
1206
|
-
/** V1 error format. */
|
|
1207
|
-
'$.xgafv'?: '1' | '2';
|
|
1208
|
-
/** OAuth access token. */
|
|
1209
|
-
access_token?: string;
|
|
1210
|
-
/** Data format for response. */
|
|
1211
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1212
|
-
/** JSONP */
|
|
1213
|
-
callback?: string;
|
|
1214
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1215
|
-
fields?: string;
|
|
1216
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1217
|
-
key?: string;
|
|
1218
|
-
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1219
|
-
name: string;
|
|
1220
|
-
/** OAuth 2.0 token for the current user. */
|
|
1221
|
-
oauth_token?: string;
|
|
1222
|
-
/** Returns response with indentations and line breaks. */
|
|
1223
|
-
prettyPrint?: boolean;
|
|
1224
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1225
|
-
quotaUser?: string;
|
|
1226
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1227
|
-
upload_protocol?: string;
|
|
1228
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1229
|
-
uploadType?: string;
|
|
1230
|
-
},
|
|
1231
|
-
body: DestroySecretVersionRequest,
|
|
1232
|
-
): Request<SecretVersion>;
|
|
1233
|
-
/** Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED. */
|
|
1234
|
-
disable(request: {
|
|
1235
|
-
/** V1 error format. */
|
|
1236
|
-
'$.xgafv'?: '1' | '2';
|
|
1237
|
-
/** OAuth access token. */
|
|
1238
|
-
access_token?: string;
|
|
1239
|
-
/** Data format for response. */
|
|
1240
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1241
|
-
/** JSONP */
|
|
1242
|
-
callback?: string;
|
|
1243
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1244
|
-
fields?: string;
|
|
1245
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1246
|
-
key?: string;
|
|
1247
|
-
/** Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1248
|
-
name: string;
|
|
1249
|
-
/** OAuth 2.0 token for the current user. */
|
|
1250
|
-
oauth_token?: string;
|
|
1251
|
-
/** Returns response with indentations and line breaks. */
|
|
1252
|
-
prettyPrint?: boolean;
|
|
1253
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1254
|
-
quotaUser?: string;
|
|
1255
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1256
|
-
upload_protocol?: string;
|
|
1257
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1258
|
-
uploadType?: string;
|
|
1259
|
-
/** Request body */
|
|
1260
|
-
resource: DisableSecretVersionRequest;
|
|
1261
|
-
}): Request<SecretVersion>;
|
|
1262
|
-
disable(
|
|
1263
|
-
request: {
|
|
1323
|
+
/** Request body */
|
|
1324
|
+
resource: EnableManagedRotationRequest;
|
|
1325
|
+
}): Request<SecretVersion>;
|
|
1326
|
+
enableManagedRotation(
|
|
1327
|
+
request: {
|
|
1328
|
+
/** V1 error format. */
|
|
1329
|
+
'$.xgafv'?: '1' | '2';
|
|
1330
|
+
/** OAuth access token. */
|
|
1331
|
+
access_token?: string;
|
|
1332
|
+
/** Data format for response. */
|
|
1333
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1334
|
+
/** JSONP */
|
|
1335
|
+
callback?: string;
|
|
1336
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1337
|
+
fields?: string;
|
|
1338
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1339
|
+
key?: string;
|
|
1340
|
+
/** OAuth 2.0 token for the current user. */
|
|
1341
|
+
oauth_token?: string;
|
|
1342
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1343
|
+
parent: string;
|
|
1344
|
+
/** Returns response with indentations and line breaks. */
|
|
1345
|
+
prettyPrint?: boolean;
|
|
1346
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1347
|
+
quotaUser?: string;
|
|
1348
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1349
|
+
upload_protocol?: string;
|
|
1350
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1351
|
+
uploadType?: string;
|
|
1352
|
+
},
|
|
1353
|
+
body: EnableManagedRotationRequest,
|
|
1354
|
+
): Request<SecretVersion>;
|
|
1355
|
+
/** Gets metadata for a given Secret. */
|
|
1356
|
+
get(request?: {
|
|
1264
1357
|
/** V1 error format. */
|
|
1265
1358
|
'$.xgafv'?: '1' | '2';
|
|
1266
1359
|
/** OAuth access token. */
|
|
@@ -1273,7 +1366,7 @@ declare namespace gapi.client {
|
|
|
1273
1366
|
fields?: string;
|
|
1274
1367
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1275
1368
|
key?: string;
|
|
1276
|
-
/** Required. The resource name of the
|
|
1369
|
+
/** Required. The resource name of the Secret, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1277
1370
|
name: string;
|
|
1278
1371
|
/** OAuth 2.0 token for the current user. */
|
|
1279
1372
|
oauth_token?: string;
|
|
@@ -1285,40 +1378,9 @@ declare namespace gapi.client {
|
|
|
1285
1378
|
upload_protocol?: string;
|
|
1286
1379
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1287
1380
|
uploadType?: string;
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
/** Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED. */
|
|
1292
|
-
enable(request: {
|
|
1293
|
-
/** V1 error format. */
|
|
1294
|
-
'$.xgafv'?: '1' | '2';
|
|
1295
|
-
/** OAuth access token. */
|
|
1296
|
-
access_token?: string;
|
|
1297
|
-
/** Data format for response. */
|
|
1298
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1299
|
-
/** JSONP */
|
|
1300
|
-
callback?: string;
|
|
1301
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1302
|
-
fields?: string;
|
|
1303
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1304
|
-
key?: string;
|
|
1305
|
-
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1306
|
-
name: string;
|
|
1307
|
-
/** OAuth 2.0 token for the current user. */
|
|
1308
|
-
oauth_token?: string;
|
|
1309
|
-
/** Returns response with indentations and line breaks. */
|
|
1310
|
-
prettyPrint?: boolean;
|
|
1311
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1312
|
-
quotaUser?: string;
|
|
1313
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1314
|
-
upload_protocol?: string;
|
|
1315
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1316
|
-
uploadType?: string;
|
|
1317
|
-
/** Request body */
|
|
1318
|
-
resource: EnableSecretVersionRequest;
|
|
1319
|
-
}): Request<SecretVersion>;
|
|
1320
|
-
enable(
|
|
1321
|
-
request: {
|
|
1381
|
+
}): Request<Secret>;
|
|
1382
|
+
/** Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. */
|
|
1383
|
+
getIamPolicy(request?: {
|
|
1322
1384
|
/** V1 error format. */
|
|
1323
1385
|
'$.xgafv'?: '1' | '2';
|
|
1324
1386
|
/** OAuth access token. */
|
|
@@ -1331,263 +1393,23 @@ declare namespace gapi.client {
|
|
|
1331
1393
|
fields?: string;
|
|
1332
1394
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1333
1395
|
key?: string;
|
|
1334
|
-
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1335
|
-
name: string;
|
|
1336
1396
|
/** OAuth 2.0 token for the current user. */
|
|
1337
1397
|
oauth_token?: string;
|
|
1398
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1399
|
+
'options.requestedPolicyVersion'?: number;
|
|
1338
1400
|
/** Returns response with indentations and line breaks. */
|
|
1339
1401
|
prettyPrint?: boolean;
|
|
1340
1402
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1341
1403
|
quotaUser?: string;
|
|
1404
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1405
|
+
resource: string;
|
|
1342
1406
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1343
1407
|
upload_protocol?: string;
|
|
1344
1408
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1345
1409
|
uploadType?: string;
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
/** Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1350
|
-
get(request?: {
|
|
1351
|
-
/** V1 error format. */
|
|
1352
|
-
'$.xgafv'?: '1' | '2';
|
|
1353
|
-
/** OAuth access token. */
|
|
1354
|
-
access_token?: string;
|
|
1355
|
-
/** Data format for response. */
|
|
1356
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1357
|
-
/** JSONP */
|
|
1358
|
-
callback?: string;
|
|
1359
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1360
|
-
fields?: string;
|
|
1361
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1362
|
-
key?: string;
|
|
1363
|
-
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1364
|
-
name: string;
|
|
1365
|
-
/** OAuth 2.0 token for the current user. */
|
|
1366
|
-
oauth_token?: string;
|
|
1367
|
-
/** Returns response with indentations and line breaks. */
|
|
1368
|
-
prettyPrint?: boolean;
|
|
1369
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1370
|
-
quotaUser?: string;
|
|
1371
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1372
|
-
upload_protocol?: string;
|
|
1373
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1374
|
-
uploadType?: string;
|
|
1375
|
-
}): Request<SecretVersion>;
|
|
1376
|
-
/** Lists SecretVersions. This call does not return secret data. */
|
|
1377
|
-
list(request?: {
|
|
1378
|
-
/** V1 error format. */
|
|
1379
|
-
'$.xgafv'?: '1' | '2';
|
|
1380
|
-
/** OAuth access token. */
|
|
1381
|
-
access_token?: string;
|
|
1382
|
-
/** Data format for response. */
|
|
1383
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1384
|
-
/** JSONP */
|
|
1385
|
-
callback?: string;
|
|
1386
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1387
|
-
fields?: string;
|
|
1388
|
-
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secret versions matching the filter. If filter is empty, all secret versions are listed. */
|
|
1389
|
-
filter?: string;
|
|
1390
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1391
|
-
key?: string;
|
|
1392
|
-
/** OAuth 2.0 token for the current user. */
|
|
1393
|
-
oauth_token?: string;
|
|
1394
|
-
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
1395
|
-
pageSize?: number;
|
|
1396
|
-
/** Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][]. */
|
|
1397
|
-
pageToken?: string;
|
|
1398
|
-
/** Required. The resource name of the Secret associated with the SecretVersions to list, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1399
|
-
parent: string;
|
|
1400
|
-
/** Returns response with indentations and line breaks. */
|
|
1401
|
-
prettyPrint?: boolean;
|
|
1402
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1403
|
-
quotaUser?: string;
|
|
1404
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1405
|
-
upload_protocol?: string;
|
|
1406
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1407
|
-
uploadType?: string;
|
|
1408
|
-
}): Request<ListSecretVersionsResponse>;
|
|
1409
|
-
}
|
|
1410
|
-
interface SecretsResource {
|
|
1411
|
-
/** Creates a new SecretVersion containing secret data and attaches it to an existing Secret. */
|
|
1412
|
-
addVersion(request: {
|
|
1413
|
-
/** V1 error format. */
|
|
1414
|
-
'$.xgafv'?: '1' | '2';
|
|
1415
|
-
/** OAuth access token. */
|
|
1416
|
-
access_token?: string;
|
|
1417
|
-
/** Data format for response. */
|
|
1418
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1419
|
-
/** JSONP */
|
|
1420
|
-
callback?: string;
|
|
1421
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1422
|
-
fields?: string;
|
|
1423
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1424
|
-
key?: string;
|
|
1425
|
-
/** OAuth 2.0 token for the current user. */
|
|
1426
|
-
oauth_token?: string;
|
|
1427
|
-
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1428
|
-
parent: string;
|
|
1429
|
-
/** Returns response with indentations and line breaks. */
|
|
1430
|
-
prettyPrint?: boolean;
|
|
1431
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1432
|
-
quotaUser?: string;
|
|
1433
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1434
|
-
upload_protocol?: string;
|
|
1435
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1436
|
-
uploadType?: string;
|
|
1437
|
-
/** Request body */
|
|
1438
|
-
resource: AddSecretVersionRequest;
|
|
1439
|
-
}): Request<SecretVersion>;
|
|
1440
|
-
addVersion(
|
|
1441
|
-
request: {
|
|
1442
|
-
/** V1 error format. */
|
|
1443
|
-
'$.xgafv'?: '1' | '2';
|
|
1444
|
-
/** OAuth access token. */
|
|
1445
|
-
access_token?: string;
|
|
1446
|
-
/** Data format for response. */
|
|
1447
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1448
|
-
/** JSONP */
|
|
1449
|
-
callback?: string;
|
|
1450
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1451
|
-
fields?: string;
|
|
1452
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1453
|
-
key?: string;
|
|
1454
|
-
/** OAuth 2.0 token for the current user. */
|
|
1455
|
-
oauth_token?: string;
|
|
1456
|
-
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1457
|
-
parent: string;
|
|
1458
|
-
/** Returns response with indentations and line breaks. */
|
|
1459
|
-
prettyPrint?: boolean;
|
|
1460
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1461
|
-
quotaUser?: string;
|
|
1462
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1463
|
-
upload_protocol?: string;
|
|
1464
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1465
|
-
uploadType?: string;
|
|
1466
|
-
},
|
|
1467
|
-
body: AddSecretVersionRequest,
|
|
1468
|
-
): Request<SecretVersion>;
|
|
1469
|
-
/** Creates a new Secret containing no SecretVersions. */
|
|
1470
|
-
create(request: {
|
|
1471
|
-
/** V1 error format. */
|
|
1472
|
-
'$.xgafv'?: '1' | '2';
|
|
1473
|
-
/** OAuth access token. */
|
|
1474
|
-
access_token?: string;
|
|
1475
|
-
/** Data format for response. */
|
|
1476
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1477
|
-
/** JSONP */
|
|
1478
|
-
callback?: string;
|
|
1479
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1480
|
-
fields?: string;
|
|
1481
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1482
|
-
key?: string;
|
|
1483
|
-
/** OAuth 2.0 token for the current user. */
|
|
1484
|
-
oauth_token?: string;
|
|
1485
|
-
/** Required. The resource name of the project to associate with the Secret, in the format `projects/*` or `projects/*/locations/*`. */
|
|
1486
|
-
parent: string;
|
|
1487
|
-
/** Returns response with indentations and line breaks. */
|
|
1488
|
-
prettyPrint?: boolean;
|
|
1489
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1490
|
-
quotaUser?: string;
|
|
1491
|
-
/** Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters. */
|
|
1492
|
-
secretId?: string;
|
|
1493
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1494
|
-
upload_protocol?: string;
|
|
1495
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1496
|
-
uploadType?: string;
|
|
1497
|
-
/** Request body */
|
|
1498
|
-
resource: Secret;
|
|
1499
|
-
}): Request<Secret>;
|
|
1500
|
-
create(
|
|
1501
|
-
request: {
|
|
1502
|
-
/** V1 error format. */
|
|
1503
|
-
'$.xgafv'?: '1' | '2';
|
|
1504
|
-
/** OAuth access token. */
|
|
1505
|
-
access_token?: string;
|
|
1506
|
-
/** Data format for response. */
|
|
1507
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1508
|
-
/** JSONP */
|
|
1509
|
-
callback?: string;
|
|
1510
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1511
|
-
fields?: string;
|
|
1512
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1513
|
-
key?: string;
|
|
1514
|
-
/** OAuth 2.0 token for the current user. */
|
|
1515
|
-
oauth_token?: string;
|
|
1516
|
-
/** Required. The resource name of the project to associate with the Secret, in the format `projects/*` or `projects/*/locations/*`. */
|
|
1517
|
-
parent: string;
|
|
1518
|
-
/** Returns response with indentations and line breaks. */
|
|
1519
|
-
prettyPrint?: boolean;
|
|
1520
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1521
|
-
quotaUser?: string;
|
|
1522
|
-
/** Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters. */
|
|
1523
|
-
secretId?: string;
|
|
1524
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1525
|
-
upload_protocol?: string;
|
|
1526
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1527
|
-
uploadType?: string;
|
|
1528
|
-
},
|
|
1529
|
-
body: Secret,
|
|
1530
|
-
): Request<Secret>;
|
|
1531
|
-
/** Deletes a Secret. */
|
|
1532
|
-
delete(request?: {
|
|
1533
|
-
/** V1 error format. */
|
|
1534
|
-
'$.xgafv'?: '1' | '2';
|
|
1535
|
-
/** OAuth access token. */
|
|
1536
|
-
access_token?: string;
|
|
1537
|
-
/** Data format for response. */
|
|
1538
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1539
|
-
/** JSONP */
|
|
1540
|
-
callback?: string;
|
|
1541
|
-
/** Optional. Etag of the Secret. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds. */
|
|
1542
|
-
etag?: string;
|
|
1543
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1544
|
-
fields?: string;
|
|
1545
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1546
|
-
key?: string;
|
|
1547
|
-
/** Required. The resource name of the Secret to delete in the format `projects/*/secrets/*`. */
|
|
1548
|
-
name: string;
|
|
1549
|
-
/** OAuth 2.0 token for the current user. */
|
|
1550
|
-
oauth_token?: string;
|
|
1551
|
-
/** Returns response with indentations and line breaks. */
|
|
1552
|
-
prettyPrint?: boolean;
|
|
1553
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1554
|
-
quotaUser?: string;
|
|
1555
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1556
|
-
upload_protocol?: string;
|
|
1557
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1558
|
-
uploadType?: string;
|
|
1559
|
-
}): Request<{}>;
|
|
1560
|
-
/** Enables the managed rotation feature for a Secret. This method can only be triggered once for a secret. In order to do further rotations, RotateSecret should be used. This method will add a secret version and update the password in Cloud SQL. */
|
|
1561
|
-
enableManagedRotation(request: {
|
|
1562
|
-
/** V1 error format. */
|
|
1563
|
-
'$.xgafv'?: '1' | '2';
|
|
1564
|
-
/** OAuth access token. */
|
|
1565
|
-
access_token?: string;
|
|
1566
|
-
/** Data format for response. */
|
|
1567
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1568
|
-
/** JSONP */
|
|
1569
|
-
callback?: string;
|
|
1570
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1571
|
-
fields?: string;
|
|
1572
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1573
|
-
key?: string;
|
|
1574
|
-
/** OAuth 2.0 token for the current user. */
|
|
1575
|
-
oauth_token?: string;
|
|
1576
|
-
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1577
|
-
parent: string;
|
|
1578
|
-
/** Returns response with indentations and line breaks. */
|
|
1579
|
-
prettyPrint?: boolean;
|
|
1580
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1581
|
-
quotaUser?: string;
|
|
1582
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1583
|
-
upload_protocol?: string;
|
|
1584
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1585
|
-
uploadType?: string;
|
|
1586
|
-
/** Request body */
|
|
1587
|
-
resource: EnableManagedRotationRequest;
|
|
1588
|
-
}): Request<SecretVersion>;
|
|
1589
|
-
enableManagedRotation(
|
|
1590
|
-
request: {
|
|
1410
|
+
}): Request<Policy>;
|
|
1411
|
+
/** Lists Secrets. */
|
|
1412
|
+
list(request?: {
|
|
1591
1413
|
/** V1 error format. */
|
|
1592
1414
|
'$.xgafv'?: '1' | '2';
|
|
1593
1415
|
/** OAuth access token. */
|
|
@@ -1598,11 +1420,17 @@ declare namespace gapi.client {
|
|
|
1598
1420
|
callback?: string;
|
|
1599
1421
|
/** Selector specifying which fields to include in a partial response. */
|
|
1600
1422
|
fields?: string;
|
|
1423
|
+
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. */
|
|
1424
|
+
filter?: string;
|
|
1601
1425
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1602
1426
|
key?: string;
|
|
1603
1427
|
/** OAuth 2.0 token for the current user. */
|
|
1604
1428
|
oauth_token?: string;
|
|
1605
|
-
/**
|
|
1429
|
+
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
1430
|
+
pageSize?: number;
|
|
1431
|
+
/** Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token. */
|
|
1432
|
+
pageToken?: string;
|
|
1433
|
+
/** Required. The resource name of the project associated with the Secrets, in the format `projects/*` or `projects/*/locations/*` */
|
|
1606
1434
|
parent: string;
|
|
1607
1435
|
/** Returns response with indentations and line breaks. */
|
|
1608
1436
|
prettyPrint?: boolean;
|
|
@@ -1612,131 +1440,9 @@ declare namespace gapi.client {
|
|
|
1612
1440
|
upload_protocol?: string;
|
|
1613
1441
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1614
1442
|
uploadType?: string;
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
/** Gets metadata for a given Secret. */
|
|
1619
|
-
get(request?: {
|
|
1620
|
-
/** V1 error format. */
|
|
1621
|
-
'$.xgafv'?: '1' | '2';
|
|
1622
|
-
/** OAuth access token. */
|
|
1623
|
-
access_token?: string;
|
|
1624
|
-
/** Data format for response. */
|
|
1625
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1626
|
-
/** JSONP */
|
|
1627
|
-
callback?: string;
|
|
1628
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1629
|
-
fields?: string;
|
|
1630
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1631
|
-
key?: string;
|
|
1632
|
-
/** Required. The resource name of the Secret, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1633
|
-
name: string;
|
|
1634
|
-
/** OAuth 2.0 token for the current user. */
|
|
1635
|
-
oauth_token?: string;
|
|
1636
|
-
/** Returns response with indentations and line breaks. */
|
|
1637
|
-
prettyPrint?: boolean;
|
|
1638
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1639
|
-
quotaUser?: string;
|
|
1640
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1641
|
-
upload_protocol?: string;
|
|
1642
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1643
|
-
uploadType?: string;
|
|
1644
|
-
}): Request<Secret>;
|
|
1645
|
-
/** Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. */
|
|
1646
|
-
getIamPolicy(request?: {
|
|
1647
|
-
/** V1 error format. */
|
|
1648
|
-
'$.xgafv'?: '1' | '2';
|
|
1649
|
-
/** OAuth access token. */
|
|
1650
|
-
access_token?: string;
|
|
1651
|
-
/** Data format for response. */
|
|
1652
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1653
|
-
/** JSONP */
|
|
1654
|
-
callback?: string;
|
|
1655
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1656
|
-
fields?: string;
|
|
1657
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1658
|
-
key?: string;
|
|
1659
|
-
/** OAuth 2.0 token for the current user. */
|
|
1660
|
-
oauth_token?: string;
|
|
1661
|
-
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1662
|
-
'options.requestedPolicyVersion'?: number;
|
|
1663
|
-
/** Returns response with indentations and line breaks. */
|
|
1664
|
-
prettyPrint?: boolean;
|
|
1665
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1666
|
-
quotaUser?: string;
|
|
1667
|
-
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1668
|
-
resource: string;
|
|
1669
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1670
|
-
upload_protocol?: string;
|
|
1671
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1672
|
-
uploadType?: string;
|
|
1673
|
-
}): Request<Policy>;
|
|
1674
|
-
/** Lists Secrets. */
|
|
1675
|
-
list(request?: {
|
|
1676
|
-
/** V1 error format. */
|
|
1677
|
-
'$.xgafv'?: '1' | '2';
|
|
1678
|
-
/** OAuth access token. */
|
|
1679
|
-
access_token?: string;
|
|
1680
|
-
/** Data format for response. */
|
|
1681
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1682
|
-
/** JSONP */
|
|
1683
|
-
callback?: string;
|
|
1684
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1685
|
-
fields?: string;
|
|
1686
|
-
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. */
|
|
1687
|
-
filter?: string;
|
|
1688
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1689
|
-
key?: string;
|
|
1690
|
-
/** OAuth 2.0 token for the current user. */
|
|
1691
|
-
oauth_token?: string;
|
|
1692
|
-
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
1693
|
-
pageSize?: number;
|
|
1694
|
-
/** Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token. */
|
|
1695
|
-
pageToken?: string;
|
|
1696
|
-
/** Required. The resource name of the project associated with the Secrets, in the format `projects/*` or `projects/*/locations/*` */
|
|
1697
|
-
parent: string;
|
|
1698
|
-
/** Returns response with indentations and line breaks. */
|
|
1699
|
-
prettyPrint?: boolean;
|
|
1700
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1701
|
-
quotaUser?: string;
|
|
1702
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1703
|
-
upload_protocol?: string;
|
|
1704
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1705
|
-
uploadType?: string;
|
|
1706
|
-
}): Request<ListSecretsResponse>;
|
|
1707
|
-
/** Updates metadata of an existing Secret. */
|
|
1708
|
-
patch(request: {
|
|
1709
|
-
/** V1 error format. */
|
|
1710
|
-
'$.xgafv'?: '1' | '2';
|
|
1711
|
-
/** OAuth access token. */
|
|
1712
|
-
access_token?: string;
|
|
1713
|
-
/** Data format for response. */
|
|
1714
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1715
|
-
/** JSONP */
|
|
1716
|
-
callback?: string;
|
|
1717
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1718
|
-
fields?: string;
|
|
1719
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1720
|
-
key?: string;
|
|
1721
|
-
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
1722
|
-
name: string;
|
|
1723
|
-
/** OAuth 2.0 token for the current user. */
|
|
1724
|
-
oauth_token?: string;
|
|
1725
|
-
/** Returns response with indentations and line breaks. */
|
|
1726
|
-
prettyPrint?: boolean;
|
|
1727
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1728
|
-
quotaUser?: string;
|
|
1729
|
-
/** Required. Specifies the fields to be updated. */
|
|
1730
|
-
updateMask?: string;
|
|
1731
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1732
|
-
upload_protocol?: string;
|
|
1733
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1734
|
-
uploadType?: string;
|
|
1735
|
-
/** Request body */
|
|
1736
|
-
resource: Secret;
|
|
1737
|
-
}): Request<Secret>;
|
|
1738
|
-
patch(
|
|
1739
|
-
request: {
|
|
1443
|
+
}): Request<ListSecretsResponse>;
|
|
1444
|
+
/** Updates metadata of an existing Secret. */
|
|
1445
|
+
patch(request: {
|
|
1740
1446
|
/** V1 error format. */
|
|
1741
1447
|
'$.xgafv'?: '1' | '2';
|
|
1742
1448
|
/** OAuth access token. */
|
|
@@ -1763,40 +1469,42 @@ declare namespace gapi.client {
|
|
|
1763
1469
|
upload_protocol?: string;
|
|
1764
1470
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1765
1471
|
uploadType?: string;
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1472
|
+
/** Request body */
|
|
1473
|
+
resource: Secret;
|
|
1474
|
+
}): Request<Secret>;
|
|
1475
|
+
patch(
|
|
1476
|
+
request: {
|
|
1477
|
+
/** V1 error format. */
|
|
1478
|
+
'$.xgafv'?: '1' | '2';
|
|
1479
|
+
/** OAuth access token. */
|
|
1480
|
+
access_token?: string;
|
|
1481
|
+
/** Data format for response. */
|
|
1482
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1483
|
+
/** JSONP */
|
|
1484
|
+
callback?: string;
|
|
1485
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1486
|
+
fields?: string;
|
|
1487
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1488
|
+
key?: string;
|
|
1489
|
+
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
1490
|
+
name: string;
|
|
1491
|
+
/** OAuth 2.0 token for the current user. */
|
|
1492
|
+
oauth_token?: string;
|
|
1493
|
+
/** Returns response with indentations and line breaks. */
|
|
1494
|
+
prettyPrint?: boolean;
|
|
1495
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1496
|
+
quotaUser?: string;
|
|
1497
|
+
/** Required. Specifies the fields to be updated. */
|
|
1498
|
+
updateMask?: string;
|
|
1499
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1500
|
+
upload_protocol?: string;
|
|
1501
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1502
|
+
uploadType?: string;
|
|
1503
|
+
},
|
|
1504
|
+
body: Secret,
|
|
1505
|
+
): Request<Secret>;
|
|
1506
|
+
/** Do a managed rotation for a Secret. This can only be triggered after Managed rotation has been enabled. This method will add a secret version and update the password in Cloud SQL. */
|
|
1507
|
+
rotateSecret(request: {
|
|
1800
1508
|
/** V1 error format. */
|
|
1801
1509
|
'$.xgafv'?: '1' | '2';
|
|
1802
1510
|
/** OAuth access token. */
|
|
@@ -1821,76 +1529,362 @@ declare namespace gapi.client {
|
|
|
1821
1529
|
upload_protocol?: string;
|
|
1822
1530
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1823
1531
|
uploadType?: string;
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1532
|
+
/** Request body */
|
|
1533
|
+
resource: RotateSecretRequest;
|
|
1534
|
+
}): Request<SecretVersion>;
|
|
1535
|
+
rotateSecret(
|
|
1536
|
+
request: {
|
|
1537
|
+
/** V1 error format. */
|
|
1538
|
+
'$.xgafv'?: '1' | '2';
|
|
1539
|
+
/** OAuth access token. */
|
|
1540
|
+
access_token?: string;
|
|
1541
|
+
/** Data format for response. */
|
|
1542
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1543
|
+
/** JSONP */
|
|
1544
|
+
callback?: string;
|
|
1545
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1546
|
+
fields?: string;
|
|
1547
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1548
|
+
key?: string;
|
|
1549
|
+
/** OAuth 2.0 token for the current user. */
|
|
1550
|
+
oauth_token?: string;
|
|
1551
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1552
|
+
parent: string;
|
|
1553
|
+
/** Returns response with indentations and line breaks. */
|
|
1554
|
+
prettyPrint?: boolean;
|
|
1555
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1556
|
+
quotaUser?: string;
|
|
1557
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1558
|
+
upload_protocol?: string;
|
|
1559
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1560
|
+
uploadType?: string;
|
|
1561
|
+
},
|
|
1562
|
+
body: RotateSecretRequest,
|
|
1563
|
+
): Request<SecretVersion>;
|
|
1564
|
+
/** Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. */
|
|
1565
|
+
setIamPolicy(
|
|
1566
|
+
request: {
|
|
1567
|
+
/** V1 error format. */
|
|
1568
|
+
'$.xgafv'?: '1' | '2';
|
|
1569
|
+
/** OAuth access token. */
|
|
1570
|
+
access_token?: string;
|
|
1571
|
+
/** Data format for response. */
|
|
1572
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1573
|
+
/** JSONP */
|
|
1574
|
+
callback?: string;
|
|
1575
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1576
|
+
fields?: string;
|
|
1577
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1578
|
+
key?: string;
|
|
1579
|
+
/** OAuth 2.0 token for the current user. */
|
|
1580
|
+
oauth_token?: string;
|
|
1581
|
+
/** Returns response with indentations and line breaks. */
|
|
1582
|
+
prettyPrint?: boolean;
|
|
1583
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1584
|
+
quotaUser?: string;
|
|
1585
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1586
|
+
resource: string;
|
|
1587
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1588
|
+
upload_protocol?: string;
|
|
1589
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1590
|
+
uploadType?: string;
|
|
1591
|
+
},
|
|
1592
|
+
body: SetIamPolicyRequest,
|
|
1593
|
+
): Request<Policy>;
|
|
1594
|
+
/** Returns permissions that a caller has for the specified secret. If the secret does not exist, this call returns an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1595
|
+
testIamPermissions(
|
|
1596
|
+
request: {
|
|
1597
|
+
/** V1 error format. */
|
|
1598
|
+
'$.xgafv'?: '1' | '2';
|
|
1599
|
+
/** OAuth access token. */
|
|
1600
|
+
access_token?: string;
|
|
1601
|
+
/** Data format for response. */
|
|
1602
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1603
|
+
/** JSONP */
|
|
1604
|
+
callback?: string;
|
|
1605
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1606
|
+
fields?: string;
|
|
1607
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1608
|
+
key?: string;
|
|
1609
|
+
/** OAuth 2.0 token for the current user. */
|
|
1610
|
+
oauth_token?: string;
|
|
1611
|
+
/** Returns response with indentations and line breaks. */
|
|
1612
|
+
prettyPrint?: boolean;
|
|
1613
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1614
|
+
quotaUser?: string;
|
|
1615
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1616
|
+
resource: string;
|
|
1617
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1618
|
+
upload_protocol?: string;
|
|
1619
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1620
|
+
uploadType?: string;
|
|
1621
|
+
},
|
|
1622
|
+
body: TestIamPermissionsRequest,
|
|
1623
|
+
): Request<TestIamPermissionsResponse>;
|
|
1624
|
+
versions: {
|
|
1625
|
+
/** Accesses a SecretVersion. This call returns the secret data. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1626
|
+
access(request?: {
|
|
1627
|
+
/** V1 error format. */
|
|
1628
|
+
'$.xgafv'?: '1' | '2';
|
|
1629
|
+
/** OAuth access token. */
|
|
1630
|
+
access_token?: string;
|
|
1631
|
+
/** Data format for response. */
|
|
1632
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1633
|
+
/** JSONP */
|
|
1634
|
+
callback?: string;
|
|
1635
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1636
|
+
fields?: string;
|
|
1637
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1638
|
+
key?: string;
|
|
1639
|
+
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1640
|
+
name: string;
|
|
1641
|
+
/** OAuth 2.0 token for the current user. */
|
|
1642
|
+
oauth_token?: string;
|
|
1643
|
+
/** Returns response with indentations and line breaks. */
|
|
1644
|
+
prettyPrint?: boolean;
|
|
1645
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1646
|
+
quotaUser?: string;
|
|
1647
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1648
|
+
upload_protocol?: string;
|
|
1649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1650
|
+
uploadType?: string;
|
|
1651
|
+
}): Request<AccessSecretVersionResponse>;
|
|
1652
|
+
/** Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the secret data. */
|
|
1653
|
+
destroy(request: {
|
|
1654
|
+
/** V1 error format. */
|
|
1655
|
+
'$.xgafv'?: '1' | '2';
|
|
1656
|
+
/** OAuth access token. */
|
|
1657
|
+
access_token?: string;
|
|
1658
|
+
/** Data format for response. */
|
|
1659
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1660
|
+
/** JSONP */
|
|
1661
|
+
callback?: string;
|
|
1662
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1663
|
+
fields?: string;
|
|
1664
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1665
|
+
key?: string;
|
|
1666
|
+
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1667
|
+
name: string;
|
|
1668
|
+
/** OAuth 2.0 token for the current user. */
|
|
1669
|
+
oauth_token?: string;
|
|
1670
|
+
/** Returns response with indentations and line breaks. */
|
|
1671
|
+
prettyPrint?: boolean;
|
|
1672
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1673
|
+
quotaUser?: string;
|
|
1674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1675
|
+
upload_protocol?: string;
|
|
1676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1677
|
+
uploadType?: string;
|
|
1678
|
+
/** Request body */
|
|
1679
|
+
resource: DestroySecretVersionRequest;
|
|
1680
|
+
}): Request<SecretVersion>;
|
|
1681
|
+
destroy(
|
|
1682
|
+
request: {
|
|
1683
|
+
/** V1 error format. */
|
|
1684
|
+
'$.xgafv'?: '1' | '2';
|
|
1685
|
+
/** OAuth access token. */
|
|
1686
|
+
access_token?: string;
|
|
1687
|
+
/** Data format for response. */
|
|
1688
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1689
|
+
/** JSONP */
|
|
1690
|
+
callback?: string;
|
|
1691
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1692
|
+
fields?: string;
|
|
1693
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1694
|
+
key?: string;
|
|
1695
|
+
/** Required. The resource name of the SecretVersion to destroy in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1696
|
+
name: string;
|
|
1697
|
+
/** OAuth 2.0 token for the current user. */
|
|
1698
|
+
oauth_token?: string;
|
|
1699
|
+
/** Returns response with indentations and line breaks. */
|
|
1700
|
+
prettyPrint?: boolean;
|
|
1701
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1702
|
+
quotaUser?: string;
|
|
1703
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1704
|
+
upload_protocol?: string;
|
|
1705
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1706
|
+
uploadType?: string;
|
|
1707
|
+
},
|
|
1708
|
+
body: DestroySecretVersionRequest,
|
|
1709
|
+
): Request<SecretVersion>;
|
|
1710
|
+
/** Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED. */
|
|
1711
|
+
disable(request: {
|
|
1712
|
+
/** V1 error format. */
|
|
1713
|
+
'$.xgafv'?: '1' | '2';
|
|
1714
|
+
/** OAuth access token. */
|
|
1715
|
+
access_token?: string;
|
|
1716
|
+
/** Data format for response. */
|
|
1717
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1718
|
+
/** JSONP */
|
|
1719
|
+
callback?: string;
|
|
1720
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1721
|
+
fields?: string;
|
|
1722
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1723
|
+
key?: string;
|
|
1724
|
+
/** Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1725
|
+
name: string;
|
|
1726
|
+
/** OAuth 2.0 token for the current user. */
|
|
1727
|
+
oauth_token?: string;
|
|
1728
|
+
/** Returns response with indentations and line breaks. */
|
|
1729
|
+
prettyPrint?: boolean;
|
|
1730
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1731
|
+
quotaUser?: string;
|
|
1732
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1733
|
+
upload_protocol?: string;
|
|
1734
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1735
|
+
uploadType?: string;
|
|
1736
|
+
/** Request body */
|
|
1737
|
+
resource: DisableSecretVersionRequest;
|
|
1738
|
+
}): Request<SecretVersion>;
|
|
1739
|
+
disable(
|
|
1740
|
+
request: {
|
|
1741
|
+
/** V1 error format. */
|
|
1742
|
+
'$.xgafv'?: '1' | '2';
|
|
1743
|
+
/** OAuth access token. */
|
|
1744
|
+
access_token?: string;
|
|
1745
|
+
/** Data format for response. */
|
|
1746
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1747
|
+
/** JSONP */
|
|
1748
|
+
callback?: string;
|
|
1749
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1750
|
+
fields?: string;
|
|
1751
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1752
|
+
key?: string;
|
|
1753
|
+
/** Required. The resource name of the SecretVersion to disable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1754
|
+
name: string;
|
|
1755
|
+
/** OAuth 2.0 token for the current user. */
|
|
1756
|
+
oauth_token?: string;
|
|
1757
|
+
/** Returns response with indentations and line breaks. */
|
|
1758
|
+
prettyPrint?: boolean;
|
|
1759
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1760
|
+
quotaUser?: string;
|
|
1761
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1762
|
+
upload_protocol?: string;
|
|
1763
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1764
|
+
uploadType?: string;
|
|
1765
|
+
},
|
|
1766
|
+
body: DisableSecretVersionRequest,
|
|
1767
|
+
): Request<SecretVersion>;
|
|
1768
|
+
/** Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED. */
|
|
1769
|
+
enable(request: {
|
|
1770
|
+
/** V1 error format. */
|
|
1771
|
+
'$.xgafv'?: '1' | '2';
|
|
1772
|
+
/** OAuth access token. */
|
|
1773
|
+
access_token?: string;
|
|
1774
|
+
/** Data format for response. */
|
|
1775
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1776
|
+
/** JSONP */
|
|
1777
|
+
callback?: string;
|
|
1778
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1779
|
+
fields?: string;
|
|
1780
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1781
|
+
key?: string;
|
|
1782
|
+
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1783
|
+
name: string;
|
|
1784
|
+
/** OAuth 2.0 token for the current user. */
|
|
1785
|
+
oauth_token?: string;
|
|
1786
|
+
/** Returns response with indentations and line breaks. */
|
|
1787
|
+
prettyPrint?: boolean;
|
|
1788
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1789
|
+
quotaUser?: string;
|
|
1790
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1791
|
+
upload_protocol?: string;
|
|
1792
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1793
|
+
uploadType?: string;
|
|
1794
|
+
/** Request body */
|
|
1795
|
+
resource: EnableSecretVersionRequest;
|
|
1796
|
+
}): Request<SecretVersion>;
|
|
1797
|
+
enable(
|
|
1798
|
+
request: {
|
|
1799
|
+
/** V1 error format. */
|
|
1800
|
+
'$.xgafv'?: '1' | '2';
|
|
1801
|
+
/** OAuth access token. */
|
|
1802
|
+
access_token?: string;
|
|
1803
|
+
/** Data format for response. */
|
|
1804
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1805
|
+
/** JSONP */
|
|
1806
|
+
callback?: string;
|
|
1807
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1808
|
+
fields?: string;
|
|
1809
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1810
|
+
key?: string;
|
|
1811
|
+
/** Required. The resource name of the SecretVersion to enable in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. */
|
|
1812
|
+
name: string;
|
|
1813
|
+
/** OAuth 2.0 token for the current user. */
|
|
1814
|
+
oauth_token?: string;
|
|
1815
|
+
/** Returns response with indentations and line breaks. */
|
|
1816
|
+
prettyPrint?: boolean;
|
|
1817
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1818
|
+
quotaUser?: string;
|
|
1819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1820
|
+
upload_protocol?: string;
|
|
1821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1822
|
+
uploadType?: string;
|
|
1823
|
+
},
|
|
1824
|
+
body: EnableSecretVersionRequest,
|
|
1825
|
+
): Request<SecretVersion>;
|
|
1826
|
+
/** Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1827
|
+
get(request?: {
|
|
1828
|
+
/** V1 error format. */
|
|
1829
|
+
'$.xgafv'?: '1' | '2';
|
|
1830
|
+
/** OAuth access token. */
|
|
1831
|
+
access_token?: string;
|
|
1832
|
+
/** Data format for response. */
|
|
1833
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1834
|
+
/** JSONP */
|
|
1835
|
+
callback?: string;
|
|
1836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1837
|
+
fields?: string;
|
|
1838
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1839
|
+
key?: string;
|
|
1840
|
+
/** Required. The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` or `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most recently created SecretVersion. */
|
|
1841
|
+
name: string;
|
|
1842
|
+
/** OAuth 2.0 token for the current user. */
|
|
1843
|
+
oauth_token?: string;
|
|
1844
|
+
/** Returns response with indentations and line breaks. */
|
|
1845
|
+
prettyPrint?: boolean;
|
|
1846
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1847
|
+
quotaUser?: string;
|
|
1848
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1849
|
+
upload_protocol?: string;
|
|
1850
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1851
|
+
uploadType?: string;
|
|
1852
|
+
}): Request<SecretVersion>;
|
|
1853
|
+
/** Lists SecretVersions. This call does not return secret data. */
|
|
1854
|
+
list(request?: {
|
|
1855
|
+
/** V1 error format. */
|
|
1856
|
+
'$.xgafv'?: '1' | '2';
|
|
1857
|
+
/** OAuth access token. */
|
|
1858
|
+
access_token?: string;
|
|
1859
|
+
/** Data format for response. */
|
|
1860
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1861
|
+
/** JSONP */
|
|
1862
|
+
callback?: string;
|
|
1863
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1864
|
+
fields?: string;
|
|
1865
|
+
/** Optional. Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secret versions matching the filter. If filter is empty, all secret versions are listed. */
|
|
1866
|
+
filter?: string;
|
|
1867
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1868
|
+
key?: string;
|
|
1869
|
+
/** OAuth 2.0 token for the current user. */
|
|
1870
|
+
oauth_token?: string;
|
|
1871
|
+
/** Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000. */
|
|
1872
|
+
pageSize?: number;
|
|
1873
|
+
/** Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][]. */
|
|
1874
|
+
pageToken?: string;
|
|
1875
|
+
/** Required. The resource name of the Secret associated with the SecretVersions to list, in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1876
|
+
parent: string;
|
|
1877
|
+
/** Returns response with indentations and line breaks. */
|
|
1878
|
+
prettyPrint?: boolean;
|
|
1879
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1880
|
+
quotaUser?: string;
|
|
1881
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1882
|
+
upload_protocol?: string;
|
|
1883
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1884
|
+
uploadType?: string;
|
|
1885
|
+
}): Request<ListSecretVersionsResponse>;
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1895
1889
|
}
|
|
1896
1890
|
}
|