Skip to content

Commit 21fe68b

Browse files
feat: Automated regeneration of run v2 client (googleapis#20554)
Auto-created at 2024-11-17 09:17:34 +0000 using the toys pull request generator.
1 parent eae4699 commit 21fe68b

File tree

5 files changed

+23
-2
lines changed

5 files changed

+23
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293242,6 +293242,8 @@
293242293242
"/run:v2/GoogleCloudRunV2RevisionTemplate/containers": containers
293243293243
"/run:v2/GoogleCloudRunV2RevisionTemplate/containers/container": container
293244293244
"/run:v2/GoogleCloudRunV2RevisionTemplate/encryptionKey": encryption_key
293245+
"/run:v2/GoogleCloudRunV2RevisionTemplate/encryptionKeyRevocationAction": encryption_key_revocation_action
293246+
"/run:v2/GoogleCloudRunV2RevisionTemplate/encryptionKeyShutdownDuration": encryption_key_shutdown_duration
293245293247
"/run:v2/GoogleCloudRunV2RevisionTemplate/executionEnvironment": execution_environment
293246293248
"/run:v2/GoogleCloudRunV2RevisionTemplate/healthCheckDisabled": health_check_disabled
293247293249
"/run:v2/GoogleCloudRunV2RevisionTemplate/labels": labels

generated/google-apis-run_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-run_v2
22

3+
### v0.79.0 (2024-11-17)
4+
5+
* Regenerated from discovery document revision 20241109
6+
37
### v0.78.0 (2024-11-03)
48

59
* Regenerated from discovery document revision 20241025

generated/google-apis-run_v2/lib/google/apis/run_v2/classes.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,6 +1967,17 @@ class GoogleCloudRunV2RevisionTemplate
19671967
# @return [String]
19681968
attr_accessor :encryption_key
19691969

1970+
# Optional. The action to take if the encryption key is revoked.
1971+
# Corresponds to the JSON property `encryptionKeyRevocationAction`
1972+
# @return [String]
1973+
attr_accessor :encryption_key_revocation_action
1974+
1975+
# Optional. If encryption_key_revocation_action is SHUTDOWN, the duration before
1976+
# shutting down all instances. The minimum increment is 1 hour.
1977+
# Corresponds to the JSON property `encryptionKeyShutdownDuration`
1978+
# @return [String]
1979+
attr_accessor :encryption_key_shutdown_duration
1980+
19701981
# Optional. The sandbox environment to host this Revision.
19711982
# Corresponds to the JSON property `executionEnvironment`
19721983
# @return [String]
@@ -2059,6 +2070,8 @@ def update!(**args)
20592070
@annotations = args[:annotations] if args.key?(:annotations)
20602071
@containers = args[:containers] if args.key?(:containers)
20612072
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
2073+
@encryption_key_revocation_action = args[:encryption_key_revocation_action] if args.key?(:encryption_key_revocation_action)
2074+
@encryption_key_shutdown_duration = args[:encryption_key_shutdown_duration] if args.key?(:encryption_key_shutdown_duration)
20622075
@execution_environment = args[:execution_environment] if args.key?(:execution_environment)
20632076
@health_check_disabled = args[:health_check_disabled] if args.key?(:health_check_disabled)
20642077
@labels = args[:labels] if args.key?(:labels)

generated/google-apis-run_v2/lib/google/apis/run_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RunV2
1818
# Version of the google-apis-run_v2 gem
19-
GEM_VERSION = "0.78.0"
19+
GEM_VERSION = "0.79.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241025"
25+
REVISION = "20241109"
2626
end
2727
end
2828
end

generated/google-apis-run_v2/lib/google/apis/run_v2/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
11641164
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
11651165

11661166
property :encryption_key, as: 'encryptionKey'
1167+
property :encryption_key_revocation_action, as: 'encryptionKeyRevocationAction'
1168+
property :encryption_key_shutdown_duration, as: 'encryptionKeyShutdownDuration'
11671169
property :execution_environment, as: 'executionEnvironment'
11681170
property :health_check_disabled, as: 'healthCheckDisabled'
11691171
hash :labels, as: 'labels'

0 commit comments

Comments
 (0)