You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/secretmanager_v1.projects.secrets.html
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,7 @@ <h3>Method Details</h3>
177
177
178
178
{ # 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.
179
179
"createTime": "A String", # Output only. The time at which the Secret was created.
180
+
"expireTime": "A String", # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
180
181
"labels": { # 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.
181
182
"a_key": "A String",
182
183
},
@@ -198,6 +199,12 @@ <h3>Method Details</h3>
198
199
],
199
200
},
200
201
},
202
+
"topics": [ # 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
+
"name": "A String", # 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
+
"ttl": "A String", # Input only. The TTL for the Secret.
201
208
}
202
209
203
210
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>
211
218
212
219
{ # 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.
213
220
"createTime": "A String", # Output only. The time at which the Secret was created.
221
+
"expireTime": "A String", # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
214
222
"labels": { # 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.
215
223
"a_key": "A String",
216
224
},
@@ -232,6 +240,12 @@ <h3>Method Details</h3>
232
240
],
233
241
},
234
242
},
243
+
"topics": [ # 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
+
"name": "A String", # 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
+
"ttl": "A String", # Input only. The TTL for the Secret.
235
249
}</pre>
236
250
</div>
237
251
@@ -269,6 +283,7 @@ <h3>Method Details</h3>
269
283
270
284
{ # 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.
271
285
"createTime": "A String", # Output only. The time at which the Secret was created.
286
+
"expireTime": "A String", # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
272
287
"labels": { # 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.
273
288
"a_key": "A String",
274
289
},
@@ -290,6 +305,12 @@ <h3>Method Details</h3>
290
305
],
291
306
},
292
307
},
308
+
"topics": [ # 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
+
"name": "A String", # 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
+
"ttl": "A String", # Input only. The TTL for the Secret.
293
314
}</pre>
294
315
</div>
295
316
@@ -362,6 +383,7 @@ <h3>Method Details</h3>
362
383
"secrets": [ # The list of Secrets sorted in reverse by create_time (newest first).
363
384
{ # 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.
364
385
"createTime": "A String", # Output only. The time at which the Secret was created.
386
+
"expireTime": "A String", # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
365
387
"labels": { # 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.
366
388
"a_key": "A String",
367
389
},
@@ -383,6 +405,12 @@ <h3>Method Details</h3>
383
405
],
384
406
},
385
407
},
408
+
"topics": [ # 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
+
"name": "A String", # 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
+
"ttl": "A String", # Input only. The TTL for the Secret.
386
414
},
387
415
],
388
416
"totalSize": 42, # The total number of Secrets.
@@ -414,6 +442,7 @@ <h3>Method Details</h3>
414
442
415
443
{ # 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.
416
444
"createTime": "A String", # Output only. The time at which the Secret was created.
445
+
"expireTime": "A String", # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
417
446
"labels": { # 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.
418
447
"a_key": "A String",
419
448
},
@@ -435,6 +464,12 @@ <h3>Method Details</h3>
435
464
],
436
465
},
437
466
},
467
+
"topics": [ # 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
+
"name": "A String", # 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
+
"ttl": "A String", # Input only. The TTL for the Secret.
438
473
}
439
474
440
475
updateMask: string, Required. Specifies the fields to be updated.
@@ -448,6 +483,7 @@ <h3>Method Details</h3>
448
483
449
484
{ # 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.
450
485
"createTime": "A String", # Output only. The time at which the Secret was created.
486
+
"expireTime": "A String", # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
451
487
"labels": { # 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.
452
488
"a_key": "A String",
453
489
},
@@ -469,6 +505,12 @@ <h3>Method Details</h3>
469
505
],
470
506
},
471
507
},
508
+
"topics": [ # 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
+
"name": "A String", # 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
+
"ttl": "A String", # Input only. The TTL for the Secret.
0 commit comments