@maxim_mazurok/gapi.client.secretmanager-v1 0.2.20260622 → 0.2.20260705
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 +270 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://secretmanager.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260705
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -67,6 +67,14 @@ declare namespace gapi.client {
|
|
|
67
67
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
68
68
|
role?: string;
|
|
69
69
|
}
|
|
70
|
+
interface CloudSQLSingleUserCredentials {
|
|
71
|
+
/** Required. Instance ID of the Cloud SQL instance. */
|
|
72
|
+
instanceId?: string;
|
|
73
|
+
/** Optional. Password of the Cloud SQL instance. If this is not provided, a random password will be generated. */
|
|
74
|
+
password?: string;
|
|
75
|
+
/** Required. Username of the Cloud SQL instance. */
|
|
76
|
+
username?: string;
|
|
77
|
+
}
|
|
70
78
|
interface CustomerManagedEncryption {
|
|
71
79
|
/** Required. The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. For secrets using the UserManaged replication policy type, Cloud KMS CryptoKeys must reside in the same location as the replica location. For secrets using the Automatic replication policy type, Cloud KMS CryptoKeys must reside in `global`. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */
|
|
72
80
|
kmsKeyName?: string;
|
|
@@ -84,6 +92,10 @@ declare namespace gapi.client {
|
|
|
84
92
|
etag?: string;
|
|
85
93
|
}
|
|
86
94
|
interface Empty {}
|
|
95
|
+
interface EnableManagedRotationRequest {
|
|
96
|
+
/** Credentials required for Cloud SQL DB for Single user Managed Rotation. */
|
|
97
|
+
cloudSqlSingleUserCredentials?: CloudSQLSingleUserCredentials;
|
|
98
|
+
}
|
|
87
99
|
interface EnableSecretVersionRequest {
|
|
88
100
|
/** Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds. */
|
|
89
101
|
etag?: string;
|
|
@@ -132,6 +144,12 @@ declare namespace gapi.client {
|
|
|
132
144
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
133
145
|
name?: string;
|
|
134
146
|
}
|
|
147
|
+
interface ManagedRotationStatus {
|
|
148
|
+
/** Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors. */
|
|
149
|
+
error?: Status;
|
|
150
|
+
/** Output only. Indicates whether the Managed Rotation is active or not. */
|
|
151
|
+
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
152
|
+
}
|
|
135
153
|
interface Operation {
|
|
136
154
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
137
155
|
done?: boolean;
|
|
@@ -204,7 +222,16 @@ declare namespace gapi.client {
|
|
|
204
222
|
/** Describes the replication status of a SecretVersion with user-managed replication. Only populated if the parent Secret has a user-managed replication policy. */
|
|
205
223
|
userManaged?: UserManagedStatus;
|
|
206
224
|
}
|
|
225
|
+
interface ResourcePolicyMember {
|
|
226
|
+
/** Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter` */
|
|
227
|
+
iamPolicyNamePrincipal?: string;
|
|
228
|
+
/** Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5` */
|
|
229
|
+
iamPolicyUidPrincipal?: string;
|
|
230
|
+
}
|
|
231
|
+
interface RotateSecretRequest {}
|
|
207
232
|
interface Rotation {
|
|
233
|
+
/** Output only. The current status of the managed rotation. This field is only applicable to Typed Secrets. This field is set by the service and cannot be set by the user. */
|
|
234
|
+
managedRotationStatus?: ManagedRotationStatus;
|
|
208
235
|
/** Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). next_rotation_time MUST be set if rotation_period is set. */
|
|
209
236
|
nextRotationTime?: string;
|
|
210
237
|
/** Input only. The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotation_period is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications. */
|
|
@@ -225,10 +252,20 @@ declare namespace gapi.client {
|
|
|
225
252
|
labels?: {[P in string]: string};
|
|
226
253
|
/** Output only. The resource name of the Secret in the format `projects/*/secrets/*`. */
|
|
227
254
|
name?: string;
|
|
255
|
+
/** Output only. Defines the policy member for the secret. This will be used to check if the caller has the permission to perform certain operations on the typed secret. */
|
|
256
|
+
policyMember?: ResourcePolicyMember;
|
|
228
257
|
/** Optional. Immutable. The replication policy of the secret data attached to the Secret. The replication policy cannot be changed after the Secret has been created. */
|
|
229
258
|
replication?: Replication;
|
|
230
259
|
/** Optional. Rotation policy attached to the Secret. May be excluded if there is no rotation policy. */
|
|
231
260
|
rotation?: Rotation;
|
|
261
|
+
/** Optional. Immutable. This defines the type of the secret. Enforces certain structural requirements on the SecretVersions. For secret of type UNSPECIFIED, the SecretVersions can be of any type. */
|
|
262
|
+
secretType?:
|
|
263
|
+
| 'SECRET_TYPE_UNSPECIFIED'
|
|
264
|
+
| 'CLOUD_SQL_DB_CREDENTIALS'
|
|
265
|
+
| 'ACCESS_KEY'
|
|
266
|
+
| 'CERTIFICATE'
|
|
267
|
+
| 'OTHER_DB_CREDENTIALS'
|
|
268
|
+
| 'OTHER';
|
|
232
269
|
/** Optional. Input only. Immutable. Mapping of Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing" Tags are used to organize and group resources. Tags can be used to control policy evaluation for the resource. */
|
|
233
270
|
tags?: {[P in string]: string};
|
|
234
271
|
/** Optional. A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. */
|
|
@@ -713,6 +750,64 @@ declare namespace gapi.client {
|
|
|
713
750
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
714
751
|
uploadType?: string;
|
|
715
752
|
}): Request<{}>;
|
|
753
|
+
/** 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. */
|
|
754
|
+
enableManagedRotation(request: {
|
|
755
|
+
/** V1 error format. */
|
|
756
|
+
'$.xgafv'?: '1' | '2';
|
|
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: {
|
|
784
|
+
/** V1 error format. */
|
|
785
|
+
'$.xgafv'?: '1' | '2';
|
|
786
|
+
/** OAuth access token. */
|
|
787
|
+
access_token?: string;
|
|
788
|
+
/** Data format for response. */
|
|
789
|
+
alt?: 'json' | 'media' | 'proto';
|
|
790
|
+
/** JSONP */
|
|
791
|
+
callback?: string;
|
|
792
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
793
|
+
fields?: string;
|
|
794
|
+
/** 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
|
+
key?: string;
|
|
796
|
+
/** OAuth 2.0 token for the current user. */
|
|
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>;
|
|
716
811
|
/** Gets metadata for a given Secret. */
|
|
717
812
|
get(request?: {
|
|
718
813
|
/** V1 error format. */
|
|
@@ -864,6 +959,64 @@ declare namespace gapi.client {
|
|
|
864
959
|
},
|
|
865
960
|
body: Secret,
|
|
866
961
|
): Request<Secret>;
|
|
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: {
|
|
993
|
+
/** V1 error format. */
|
|
994
|
+
'$.xgafv'?: '1' | '2';
|
|
995
|
+
/** OAuth access token. */
|
|
996
|
+
access_token?: string;
|
|
997
|
+
/** Data format for response. */
|
|
998
|
+
alt?: 'json' | 'media' | 'proto';
|
|
999
|
+
/** JSONP */
|
|
1000
|
+
callback?: string;
|
|
1001
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1002
|
+
fields?: string;
|
|
1003
|
+
/** 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. */
|
|
1004
|
+
key?: string;
|
|
1005
|
+
/** OAuth 2.0 token for the current user. */
|
|
1006
|
+
oauth_token?: string;
|
|
1007
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1008
|
+
parent: string;
|
|
1009
|
+
/** Returns response with indentations and line breaks. */
|
|
1010
|
+
prettyPrint?: boolean;
|
|
1011
|
+
/** 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. */
|
|
1012
|
+
quotaUser?: string;
|
|
1013
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1014
|
+
upload_protocol?: string;
|
|
1015
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1016
|
+
uploadType?: string;
|
|
1017
|
+
},
|
|
1018
|
+
body: RotateSecretRequest,
|
|
1019
|
+
): Request<SecretVersion>;
|
|
867
1020
|
/** 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. */
|
|
868
1021
|
setIamPolicy(
|
|
869
1022
|
request: {
|
|
@@ -1404,6 +1557,64 @@ declare namespace gapi.client {
|
|
|
1404
1557
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1405
1558
|
uploadType?: string;
|
|
1406
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: {
|
|
1591
|
+
/** V1 error format. */
|
|
1592
|
+
'$.xgafv'?: '1' | '2';
|
|
1593
|
+
/** OAuth access token. */
|
|
1594
|
+
access_token?: string;
|
|
1595
|
+
/** Data format for response. */
|
|
1596
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1597
|
+
/** JSONP */
|
|
1598
|
+
callback?: string;
|
|
1599
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1600
|
+
fields?: string;
|
|
1601
|
+
/** 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
|
+
key?: string;
|
|
1603
|
+
/** OAuth 2.0 token for the current user. */
|
|
1604
|
+
oauth_token?: string;
|
|
1605
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1606
|
+
parent: string;
|
|
1607
|
+
/** Returns response with indentations and line breaks. */
|
|
1608
|
+
prettyPrint?: boolean;
|
|
1609
|
+
/** 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. */
|
|
1610
|
+
quotaUser?: string;
|
|
1611
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1612
|
+
upload_protocol?: string;
|
|
1613
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1614
|
+
uploadType?: string;
|
|
1615
|
+
},
|
|
1616
|
+
body: EnableManagedRotationRequest,
|
|
1617
|
+
): Request<SecretVersion>;
|
|
1407
1618
|
/** Gets metadata for a given Secret. */
|
|
1408
1619
|
get(request?: {
|
|
1409
1620
|
/** V1 error format. */
|
|
@@ -1555,6 +1766,64 @@ declare namespace gapi.client {
|
|
|
1555
1766
|
},
|
|
1556
1767
|
body: Secret,
|
|
1557
1768
|
): Request<Secret>;
|
|
1769
|
+
/** 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. */
|
|
1770
|
+
rotateSecret(request: {
|
|
1771
|
+
/** V1 error format. */
|
|
1772
|
+
'$.xgafv'?: '1' | '2';
|
|
1773
|
+
/** OAuth access token. */
|
|
1774
|
+
access_token?: string;
|
|
1775
|
+
/** Data format for response. */
|
|
1776
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1777
|
+
/** JSONP */
|
|
1778
|
+
callback?: string;
|
|
1779
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1780
|
+
fields?: string;
|
|
1781
|
+
/** 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. */
|
|
1782
|
+
key?: string;
|
|
1783
|
+
/** OAuth 2.0 token for the current user. */
|
|
1784
|
+
oauth_token?: string;
|
|
1785
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1786
|
+
parent: string;
|
|
1787
|
+
/** Returns response with indentations and line breaks. */
|
|
1788
|
+
prettyPrint?: boolean;
|
|
1789
|
+
/** 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. */
|
|
1790
|
+
quotaUser?: string;
|
|
1791
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1792
|
+
upload_protocol?: string;
|
|
1793
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1794
|
+
uploadType?: string;
|
|
1795
|
+
/** Request body */
|
|
1796
|
+
resource: RotateSecretRequest;
|
|
1797
|
+
}): Request<SecretVersion>;
|
|
1798
|
+
rotateSecret(
|
|
1799
|
+
request: {
|
|
1800
|
+
/** V1 error format. */
|
|
1801
|
+
'$.xgafv'?: '1' | '2';
|
|
1802
|
+
/** OAuth access token. */
|
|
1803
|
+
access_token?: string;
|
|
1804
|
+
/** Data format for response. */
|
|
1805
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1806
|
+
/** JSONP */
|
|
1807
|
+
callback?: string;
|
|
1808
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1809
|
+
fields?: string;
|
|
1810
|
+
/** 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. */
|
|
1811
|
+
key?: string;
|
|
1812
|
+
/** OAuth 2.0 token for the current user. */
|
|
1813
|
+
oauth_token?: string;
|
|
1814
|
+
/** Required. The resource name of the Secret to associate with the SecretVersion in the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`. */
|
|
1815
|
+
parent: string;
|
|
1816
|
+
/** Returns response with indentations and line breaks. */
|
|
1817
|
+
prettyPrint?: boolean;
|
|
1818
|
+
/** 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. */
|
|
1819
|
+
quotaUser?: string;
|
|
1820
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1821
|
+
upload_protocol?: string;
|
|
1822
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1823
|
+
uploadType?: string;
|
|
1824
|
+
},
|
|
1825
|
+
body: RotateSecretRequest,
|
|
1826
|
+
): Request<SecretVersion>;
|
|
1558
1827
|
/** 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. */
|
|
1559
1828
|
setIamPolicy(
|
|
1560
1829
|
request: {
|