Skip to content

Commit f34201d

Browse files
authored
docs(secret_manager): revamp secret manager (#627)
1 parent e2a140e commit f34201d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/clients/src/api/secret/v1alpha1/api.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ const jsonContentHeaders = {
5050
}
5151

5252
/**
53-
* Secret Manager API documentation.
53+
* Secret Manager API.
5454
*
55-
* This API allows you to conveniently store, access and share sensitive data.
56-
* Secret Manager API documentation.
55+
* Secret Manager API. This API allows you to conveniently store, access and
56+
* share sensitive data.
5757
*/
5858
export class API extends ParentAPI {
5959
/** Lists the available regions of the API. */

packages/clients/src/api/secret/v1alpha1/types.gen.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface AccessSecretVersionResponse {
3030
/** The base64-encoded secret payload of the version. */
3131
data: string
3232
/**
33-
* The CRC32 checksum of the data as a base-10 integer. This field is present
34-
* only if a CRC32 was supplied during the creation of the version.
33+
* The CRC32 checksum of the data as a base-10 integer. This field is only
34+
* available if a CRC32 was supplied during the creation of the version.
3535
*/
3636
dataCrc32?: number
3737
}
@@ -235,7 +235,7 @@ export type CreateSecretVersionRequest = {
235235
disablePrevious?: boolean
236236
/**
237237
* Options to generate a password. Optional. If specified, a random password
238-
* will be generated. The data and data_crc32 fields must be empty. By
238+
* will be generated. The `data` and `data_crc32` fields must be empty. By
239239
* default, the generator will use upper and lower case letters, and digits.
240240
* This behavior can be tuned using the generation parameters.
241241
*
@@ -245,9 +245,9 @@ export type CreateSecretVersionRequest = {
245245
passwordGeneration?: PasswordGenerationParams
246246
/**
247247
* The CRC32 checksum of the data as a base-10 integer. Optional. If
248-
* specified, the Secret Manager will verify the integrity of the data
249-
* received against the given CRC32. An error is returned if the CRC32 does
250-
* not match. Otherwise, the CRC32 will be stored and returned along with the
248+
* specified, Secret Manager will verify the integrity of the data received
249+
* against the given CRC32. An error is returned if the CRC32 does not match.
250+
* Otherwise, the CRC32 will be stored and returned along with the
251251
* SecretVersion on futur accesses.
252252
*/
253253
dataCrc32?: number

0 commit comments

Comments
 (0)