Skip to content

Commit

Permalink
For Secret Manager v1 and v1beta1, noted Secret ID character limitati…
Browse files Browse the repository at this point in the history
…ons.

PiperOrigin-RevId: 304035052
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 31, 2020
1 parent 2ee8c4d commit dc65f39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/cloud/secretmanager/v1/service.proto
Expand Up @@ -253,6 +253,10 @@ message CreateSecretRequest {
];

// 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.
string secret_id = 2 [(google.api.field_behavior) = REQUIRED];

// Required. A [Secret][google.cloud.secretmanager.v1.Secret] with initial field values.
Expand Down
4 changes: 4 additions & 0 deletions google/cloud/secrets/v1beta1/service.proto
Expand Up @@ -253,6 +253,10 @@ message CreateSecretRequest {
];

// 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.
string secret_id = 2 [(google.api.field_behavior) = REQUIRED];

// A [Secret][google.cloud.secrets.v1beta1.Secret] with initial field values.
Expand Down

0 comments on commit dc65f39

Please sign in to comment.