Skip to content

Commit be08227

Browse files
feat(secretmanager): update the api
#### secretmanager:v1 The following keys were added: - schemas.SecretPayload.properties.dataCrc32c (Total Keys: 2) - schemas.SecretVersion.properties.clientSpecifiedPayloadChecksum (Total Keys: 2)
1 parent a3dbf93 commit be08227

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

docs/dyn/secretmanager_v1.projects.secrets.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ <h3>Method Details</h3>
125125
{ # Request message for SecretManagerService.AddSecretVersion.
126126
&quot;payload&quot;: { # A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion. # Required. The secret payload of the SecretVersion.
127127
&quot;data&quot;: &quot;A String&quot;, # The secret data. Must be no larger than 64KiB.
128+
&quot;dataCrc32c&quot;: &quot;A String&quot;, # Optional. If specified, SecretManagerService will verify the integrity of the received data on SecretManagerService.AddSecretVersion calls using the crc32c checksum and store it to include in future SecretManagerService.AccessSecretVersion responses. If a checksum is not provided in the SecretManagerService.AddSecretVersion request, the SecretManagerService will generate and store one for you. The CRC32C value is encoded as a Int64 for compatibility, and can be safely downconverted to uint32 in languages that support this type. https://cloud.google.com/apis/design/design_patterns#integer_types
128129
},
129130
}
130131

@@ -137,6 +138,7 @@ <h3>Method Details</h3>
137138
An object of the form:
138139

139140
{ # A secret version resource in the Secret Manager API.
141+
&quot;clientSpecifiedPayloadChecksum&quot;: True or False, # Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
140142
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SecretVersion was created.
141143
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
142144
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag of the currently stored SecretVersion.

docs/dyn/secretmanager_v1.projects.secrets.versions.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ <h3>Method Details</h3>
117117
&quot;name&quot;: &quot;A String&quot;, # The resource name of the SecretVersion in the format `projects/*/secrets/*/versions/*`.
118118
&quot;payload&quot;: { # A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion. # Secret payload
119119
&quot;data&quot;: &quot;A String&quot;, # The secret data. Must be no larger than 64KiB.
120+
&quot;dataCrc32c&quot;: &quot;A String&quot;, # Optional. If specified, SecretManagerService will verify the integrity of the received data on SecretManagerService.AddSecretVersion calls using the crc32c checksum and store it to include in future SecretManagerService.AccessSecretVersion responses. If a checksum is not provided in the SecretManagerService.AddSecretVersion request, the SecretManagerService will generate and store one for you. The CRC32C value is encoded as a Int64 for compatibility, and can be safely downconverted to uint32 in languages that support this type. https://cloud.google.com/apis/design/design_patterns#integer_types
120121
},
121122
}</pre>
122123
</div>
@@ -148,6 +149,7 @@ <h3>Method Details</h3>
148149
An object of the form:
149150

150151
{ # A secret version resource in the Secret Manager API.
152+
&quot;clientSpecifiedPayloadChecksum&quot;: True or False, # Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
151153
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SecretVersion was created.
152154
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
153155
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag of the currently stored SecretVersion.
@@ -195,6 +197,7 @@ <h3>Method Details</h3>
195197
An object of the form:
196198

197199
{ # A secret version resource in the Secret Manager API.
200+
&quot;clientSpecifiedPayloadChecksum&quot;: True or False, # Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
198201
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SecretVersion was created.
199202
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
200203
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag of the currently stored SecretVersion.
@@ -242,6 +245,7 @@ <h3>Method Details</h3>
242245
An object of the form:
243246

244247
{ # A secret version resource in the Secret Manager API.
248+
&quot;clientSpecifiedPayloadChecksum&quot;: True or False, # Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
245249
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SecretVersion was created.
246250
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
247251
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag of the currently stored SecretVersion.
@@ -282,6 +286,7 @@ <h3>Method Details</h3>
282286
An object of the form:
283287

284288
{ # A secret version resource in the Secret Manager API.
289+
&quot;clientSpecifiedPayloadChecksum&quot;: True or False, # Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
285290
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SecretVersion was created.
286291
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
287292
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag of the currently stored SecretVersion.
@@ -329,6 +334,7 @@ <h3>Method Details</h3>
329334
&quot;totalSize&quot;: 42, # The total number of SecretVersions.
330335
&quot;versions&quot;: [ # The list of SecretVersions sorted in reverse by create_time (newest first).
331336
{ # A secret version resource in the Secret Manager API.
337+
&quot;clientSpecifiedPayloadChecksum&quot;: True or False, # Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.
332338
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SecretVersion was created.
333339
&quot;destroyTime&quot;: &quot;A String&quot;, # Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
334340
&quot;etag&quot;: &quot;A String&quot;, # Output only. Etag of the currently stored SecretVersion.

googleapiclient/discovery_cache/documents/secretmanager.v1.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@
643643
}
644644
}
645645
},
646-
"revision": "20220108",
646+
"revision": "20220115",
647647
"rootUrl": "https://secretmanager.googleapis.com/",
648648
"schemas": {
649649
"AccessSecretVersionResponse": {
@@ -1119,6 +1119,11 @@
11191119
"description": "The secret data. Must be no larger than 64KiB.",
11201120
"format": "byte",
11211121
"type": "string"
1122+
},
1123+
"dataCrc32c": {
1124+
"description": "Optional. If specified, SecretManagerService will verify the integrity of the received data on SecretManagerService.AddSecretVersion calls using the crc32c checksum and store it to include in future SecretManagerService.AccessSecretVersion responses. If a checksum is not provided in the SecretManagerService.AddSecretVersion request, the SecretManagerService will generate and store one for you. The CRC32C value is encoded as a Int64 for compatibility, and can be safely downconverted to uint32 in languages that support this type. https://cloud.google.com/apis/design/design_patterns#integer_types",
1125+
"format": "int64",
1126+
"type": "string"
11221127
}
11231128
},
11241129
"type": "object"
@@ -1127,6 +1132,11 @@
11271132
"description": "A secret version resource in the Secret Manager API.",
11281133
"id": "SecretVersion",
11291134
"properties": {
1135+
"clientSpecifiedPayloadChecksum": {
1136+
"description": "Output only. True if payload checksum specified in SecretPayload object has been received by SecretManagerService on SecretManagerService.AddSecretVersion.",
1137+
"readOnly": true,
1138+
"type": "boolean"
1139+
},
11301140
"createTime": {
11311141
"description": "Output only. The time at which the SecretVersion was created.",
11321142
"format": "google-datetime",

googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
}
629629
}
630630
},
631-
"revision": "20220108",
631+
"revision": "20220115",
632632
"rootUrl": "https://secretmanager.googleapis.com/",
633633
"schemas": {
634634
"AccessSecretVersionResponse": {

0 commit comments

Comments
 (0)