Skip to content

Commit bac3ec9

Browse files
feat: Automated regeneration of run v2 client (googleapis#21936)
Auto-created at 2025-03-02 10:29:27 +0000 using the toys pull request generator.
1 parent ba48cc7 commit bac3ec9

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309568,6 +309568,7 @@
309568309568
"/run:v2/GoogleCloudRunV2Task/logUri": log_uri
309569309569
"/run:v2/GoogleCloudRunV2Task/maxRetries": max_retries
309570309570
"/run:v2/GoogleCloudRunV2Task/name": name
309571+
"/run:v2/GoogleCloudRunV2Task/nodeSelector": node_selector
309571309572
"/run:v2/GoogleCloudRunV2Task/observedGeneration": observed_generation
309572309573
"/run:v2/GoogleCloudRunV2Task/reconciling": reconciling
309573309574
"/run:v2/GoogleCloudRunV2Task/retried": retried
@@ -309590,6 +309591,7 @@
309590309591
"/run:v2/GoogleCloudRunV2TaskTemplate/encryptionKey": encryption_key
309591309592
"/run:v2/GoogleCloudRunV2TaskTemplate/executionEnvironment": execution_environment
309592309593
"/run:v2/GoogleCloudRunV2TaskTemplate/maxRetries": max_retries
309594+
"/run:v2/GoogleCloudRunV2TaskTemplate/nodeSelector": node_selector
309593309595
"/run:v2/GoogleCloudRunV2TaskTemplate/serviceAccount": service_account
309594309596
"/run:v2/GoogleCloudRunV2TaskTemplate/timeout": timeout
309595309597
"/run:v2/GoogleCloudRunV2TaskTemplate/volumes": volumes

generated/google-apis-run_v2/CHANGELOG.md

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

3-
### v0.83.0 (2025-02-26)
3+
### v0.83.0 (2025-03-02)
44

5-
* Regenerated from discovery document revision 20250214
5+
* Regenerated from discovery document revision 20250223
66

77
### v0.82.0 (2025-01-12)
88

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3060,6 +3060,11 @@ class GoogleCloudRunV2Task
30603060
# @return [String]
30613061
attr_accessor :name
30623062

3063+
# Hardware constraints configuration.
3064+
# Corresponds to the JSON property `nodeSelector`
3065+
# @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
3066+
attr_accessor :node_selector
3067+
30633068
# Output only. The generation of this Task. See comments in `Job.reconciling`
30643069
# for additional information on reconciliation process in Cloud Run.
30653070
# Corresponds to the JSON property `observedGeneration`
@@ -3161,6 +3166,7 @@ def update!(**args)
31613166
@log_uri = args[:log_uri] if args.key?(:log_uri)
31623167
@max_retries = args[:max_retries] if args.key?(:max_retries)
31633168
@name = args[:name] if args.key?(:name)
3169+
@node_selector = args[:node_selector] if args.key?(:node_selector)
31643170
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
31653171
@reconciling = args[:reconciling] if args.key?(:reconciling)
31663172
@retried = args[:retried] if args.key?(:retried)
@@ -3236,6 +3242,11 @@ class GoogleCloudRunV2TaskTemplate
32363242
# @return [Fixnum]
32373243
attr_accessor :max_retries
32383244

3245+
# Hardware constraints configuration.
3246+
# Corresponds to the JSON property `nodeSelector`
3247+
# @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
3248+
attr_accessor :node_selector
3249+
32393250
# Optional. Email address of the IAM service account associated with the Task of
32403251
# a Job. The service account represents the identity of the running task, and
32413252
# determines what permissions the task has. If not provided, the task will use
@@ -3273,6 +3284,7 @@ def update!(**args)
32733284
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
32743285
@execution_environment = args[:execution_environment] if args.key?(:execution_environment)
32753286
@max_retries = args[:max_retries] if args.key?(:max_retries)
3287+
@node_selector = args[:node_selector] if args.key?(:node_selector)
32763288
@service_account = args[:service_account] if args.key?(:service_account)
32773289
@timeout = args[:timeout] if args.key?(:timeout)
32783290
@volumes = args[:volumes] if args.key?(:volumes)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module RunV2
2222
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
14821482
property :log_uri, as: 'logUri'
14831483
property :max_retries, as: 'maxRetries'
14841484
property :name, as: 'name'
1485+
property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1486+
14851487
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
14861488
property :reconciling, as: 'reconciling'
14871489
property :retried, as: 'retried'
@@ -1516,6 +1518,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
15161518
property :encryption_key, as: 'encryptionKey'
15171519
property :execution_environment, as: 'executionEnvironment'
15181520
property :max_retries, as: 'maxRetries'
1521+
property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1522+
15191523
property :service_account, as: 'serviceAccount'
15201524
property :timeout, as: 'timeout'
15211525
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation

0 commit comments

Comments
 (0)