Skip to content

Commit 99577f2

Browse files
chore(secretmanager): update the api
#### secretmanager:v1 The following keys were added: - schemas.Secret.properties.expireTime (Total Keys: 2) - schemas.Secret.properties.topics (Total Keys: 2) - schemas.Secret.properties.ttl (Total Keys: 2) - schemas.Topic (Total Keys: 3)
1 parent 0169b56 commit 99577f2

File tree

2 files changed

+1193
-1123
lines changed

2 files changed

+1193
-1123
lines changed

docs/dyn/secretmanager_v1.projects.secrets.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ <h3>Method Details</h3>
177177

178178
{ # A Secret is a logical secret whose value and versions can be accessed. A Secret is made up of zero or more SecretVersions that represent the secret data.
179179
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Secret was created.
180+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
180181
&quot;labels&quot;: { # The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource.
181182
&quot;a_key&quot;: &quot;A String&quot;,
182183
},
@@ -198,6 +199,12 @@ <h3>Method Details</h3>
198199
],
199200
},
200201
},
202+
&quot;topics&quot;: [ # 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.
203+
{ # A Pub/Sub topic which SM will publish to when control plane events occur on this secret.
204+
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
205+
},
206+
],
207+
&quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the Secret.
201208
}
202209

203210
secretId: string, 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.
@@ -211,6 +218,7 @@ <h3>Method Details</h3>
211218

212219
{ # A Secret is a logical secret whose value and versions can be accessed. A Secret is made up of zero or more SecretVersions that represent the secret data.
213220
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Secret was created.
221+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
214222
&quot;labels&quot;: { # The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource.
215223
&quot;a_key&quot;: &quot;A String&quot;,
216224
},
@@ -232,6 +240,12 @@ <h3>Method Details</h3>
232240
],
233241
},
234242
},
243+
&quot;topics&quot;: [ # 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.
244+
{ # A Pub/Sub topic which SM will publish to when control plane events occur on this secret.
245+
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
246+
},
247+
],
248+
&quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the Secret.
235249
}</pre>
236250
</div>
237251

@@ -269,6 +283,7 @@ <h3>Method Details</h3>
269283

270284
{ # A Secret is a logical secret whose value and versions can be accessed. A Secret is made up of zero or more SecretVersions that represent the secret data.
271285
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Secret was created.
286+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
272287
&quot;labels&quot;: { # The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource.
273288
&quot;a_key&quot;: &quot;A String&quot;,
274289
},
@@ -290,6 +305,12 @@ <h3>Method Details</h3>
290305
],
291306
},
292307
},
308+
&quot;topics&quot;: [ # 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.
309+
{ # A Pub/Sub topic which SM will publish to when control plane events occur on this secret.
310+
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
311+
},
312+
],
313+
&quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the Secret.
293314
}</pre>
294315
</div>
295316

@@ -362,6 +383,7 @@ <h3>Method Details</h3>
362383
&quot;secrets&quot;: [ # The list of Secrets sorted in reverse by create_time (newest first).
363384
{ # A Secret is a logical secret whose value and versions can be accessed. A Secret is made up of zero or more SecretVersions that represent the secret data.
364385
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Secret was created.
386+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
365387
&quot;labels&quot;: { # The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource.
366388
&quot;a_key&quot;: &quot;A String&quot;,
367389
},
@@ -383,6 +405,12 @@ <h3>Method Details</h3>
383405
],
384406
},
385407
},
408+
&quot;topics&quot;: [ # 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.
409+
{ # A Pub/Sub topic which SM will publish to when control plane events occur on this secret.
410+
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
411+
},
412+
],
413+
&quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the Secret.
386414
},
387415
],
388416
&quot;totalSize&quot;: 42, # The total number of Secrets.
@@ -414,6 +442,7 @@ <h3>Method Details</h3>
414442

415443
{ # A Secret is a logical secret whose value and versions can be accessed. A Secret is made up of zero or more SecretVersions that represent the secret data.
416444
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Secret was created.
445+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
417446
&quot;labels&quot;: { # The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource.
418447
&quot;a_key&quot;: &quot;A String&quot;,
419448
},
@@ -435,6 +464,12 @@ <h3>Method Details</h3>
435464
],
436465
},
437466
},
467+
&quot;topics&quot;: [ # 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.
468+
{ # A Pub/Sub topic which SM will publish to when control plane events occur on this secret.
469+
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
470+
},
471+
],
472+
&quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the Secret.
438473
}
439474

440475
updateMask: string, Required. Specifies the fields to be updated.
@@ -448,6 +483,7 @@ <h3>Method Details</h3>
448483

449484
{ # A Secret is a logical secret whose value and versions can be accessed. A Secret is made up of zero or more SecretVersions that represent the secret data.
450485
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Secret was created.
486+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
451487
&quot;labels&quot;: { # The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource.
452488
&quot;a_key&quot;: &quot;A String&quot;,
453489
},
@@ -469,6 +505,12 @@ <h3>Method Details</h3>
469505
],
470506
},
471507
},
508+
&quot;topics&quot;: [ # 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.
509+
{ # A Pub/Sub topic which SM will publish to when control plane events occur on this secret.
510+
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.
511+
},
512+
],
513+
&quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the Secret.
472514
}</pre>
473515
</div>
474516

0 commit comments

Comments
 (0)