Skip to content

Commit

Permalink
docs:fixed formatting of some documentation
Browse files Browse the repository at this point in the history
feat:add EncryptionKeyRevocationAction and shutdown duration configuration to Services

PiperOrigin-RevId: 695811695
  • Loading branch information
Google APIs authored and copybara-github committed Nov 12, 2024
1 parent de97a5f commit b800515
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
14 changes: 6 additions & 8 deletions google/cloud/run/v2/k8s.min.proto
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,9 @@ message SecretVolumeSource {
// * Internally, a umask of 0222 will be applied to any non-zero value.
// * This is an integer representation of the mode bits. So, the octal
// integer value should look exactly as the chmod numeric notation with a
// leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
// 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
// 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
// (base-10).
// leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
// or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
// 493 (base-10).
// * This might be in conflict with other options that affect the
// file mode, like fsGroup, and the result can be other mode bits set.
//
Expand Down Expand Up @@ -272,10 +271,9 @@ message VersionToPath {
// * Internally, a umask of 0222 will be applied to any non-zero value.
// * This is an integer representation of the mode bits. So, the octal
// integer value should look exactly as the chmod numeric notation with a
// leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
// 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
// 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
// (base-10).
// leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal)
// or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or
// 493 (base-10).
// * This might be in conflict with other options that affect the
// file mode, like fsGroup, and the result can be other mode bits set.
int32 mode = 3;
Expand Down
13 changes: 11 additions & 2 deletions google/cloud/run/v2/revision_template.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,23 @@ message RevisionTemplate {
}];

// Optional. Sets the maximum number of requests that each serving instance
// can receive. If not specified or 0, defaults to 80 when requested
// `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
// can receive. If not specified or 0, concurrency defaults to 80 when
// requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
int32 max_instance_request_concurrency = 15
[(google.api.field_behavior) = OPTIONAL];

// Optional. Enables service mesh connectivity.
ServiceMesh service_mesh = 16 [(google.api.field_behavior) = OPTIONAL];

// Optional. The action to take if the encryption key is revoked.
EncryptionKeyRevocationAction encryption_key_revocation_action = 17
[(google.api.field_behavior) = OPTIONAL];

// Optional. If encryption_key_revocation_action is SHUTDOWN, the duration
// before shutting down all instances. The minimum increment is 1 hour.
google.protobuf.Duration encryption_key_shutdown_duration = 18
[(google.api.field_behavior) = OPTIONAL];

// Optional. Enable session affinity.
bool session_affinity = 19 [(google.api.field_behavior) = OPTIONAL];

Expand Down

0 comments on commit b800515

Please sign in to comment.