Skip to content

Commit 9987079

Browse files
feat: Automated regeneration of run v2 client (#13209)
Auto-created at 2023-01-08 10:00:01 +0000 using the toys pull request generator.
1 parent 6c835ef commit 9987079

File tree

5 files changed

+40
-3
lines changed

5 files changed

+40
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229084,6 +229084,7 @@
229084229084
"/run:v2/GoogleCloudRunV2Execution": google_cloud_run_v2_execution
229085229085
"/run:v2/GoogleCloudRunV2Execution/annotations": annotations
229086229086
"/run:v2/GoogleCloudRunV2Execution/annotations/annotation": annotation
229087+
"/run:v2/GoogleCloudRunV2Execution/cancelledCount": cancelled_count
229087229088
"/run:v2/GoogleCloudRunV2Execution/completionTime": completion_time
229088229089
"/run:v2/GoogleCloudRunV2Execution/conditions": conditions
229089229090
"/run:v2/GoogleCloudRunV2Execution/conditions/condition": condition
@@ -229097,10 +229098,12 @@
229097229098
"/run:v2/GoogleCloudRunV2Execution/labels": labels
229098229099
"/run:v2/GoogleCloudRunV2Execution/labels/label": label
229099229100
"/run:v2/GoogleCloudRunV2Execution/launchStage": launch_stage
229101+
"/run:v2/GoogleCloudRunV2Execution/logUri": log_uri
229100229102
"/run:v2/GoogleCloudRunV2Execution/name": name
229101229103
"/run:v2/GoogleCloudRunV2Execution/observedGeneration": observed_generation
229102229104
"/run:v2/GoogleCloudRunV2Execution/parallelism": parallelism
229103229105
"/run:v2/GoogleCloudRunV2Execution/reconciling": reconciling
229106+
"/run:v2/GoogleCloudRunV2Execution/retriedCount": retried_count
229104229107
"/run:v2/GoogleCloudRunV2Execution/runningCount": running_count
229105229108
"/run:v2/GoogleCloudRunV2Execution/startTime": start_time
229106229109
"/run:v2/GoogleCloudRunV2Execution/succeededCount": succeeded_count
@@ -229320,6 +229323,7 @@
229320229323
"/run:v2/GoogleCloudRunV2Task/labels/label": label
229321229324
"/run:v2/GoogleCloudRunV2Task/lastAttemptResult": last_attempt_result
229322229325
"/run:v2/GoogleCloudRunV2Task/launchStage": launch_stage
229326+
"/run:v2/GoogleCloudRunV2Task/logUri": log_uri
229323229327
"/run:v2/GoogleCloudRunV2Task/maxRetries": max_retries
229324229328
"/run:v2/GoogleCloudRunV2Task/name": name
229325229329
"/run:v2/GoogleCloudRunV2Task/observedGeneration": observed_generation

generated/google-apis-run_v2/CHANGELOG.md

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

3+
### v0.28.0 (2023-01-08)
4+
5+
* Regenerated from discovery document revision 20230102
6+
* Regenerated using generator version 0.11.1
7+
38
### v0.27.0 (2022-12-19)
49

510
* Regenerated from discovery document revision 20221211

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,11 @@ class GoogleCloudRunV2Execution
339339
# @return [Hash<String,String>]
340340
attr_accessor :annotations
341341

342+
# Output only. The number of tasks which reached phase Cancelled.
343+
# Corresponds to the JSON property `cancelledCount`
344+
# @return [Fixnum]
345+
attr_accessor :cancelled_count
346+
342347
# Output only. Represents time when the execution was completed. It is not
343348
# guaranteed to be set in happens-before order across separate operations.
344349
# Corresponds to the JSON property `completionTime`
@@ -409,6 +414,11 @@ class GoogleCloudRunV2Execution
409414
# @return [String]
410415
attr_accessor :launch_stage
411416

417+
# Output only. URI where logs for this execution can be found in Cloud Console.
418+
# Corresponds to the JSON property `logUri`
419+
# @return [String]
420+
attr_accessor :log_uri
421+
412422
# Output only. The unique name of this Execution.
413423
# Corresponds to the JSON property `name`
414424
# @return [String]
@@ -438,6 +448,11 @@ class GoogleCloudRunV2Execution
438448
attr_accessor :reconciling
439449
alias_method :reconciling?, :reconciling
440450

451+
# Output only. The number of tasks which have retried at least once.
452+
# Corresponds to the JSON property `retriedCount`
453+
# @return [Fixnum]
454+
attr_accessor :retried_count
455+
441456
# Output only. The number of actively running tasks.
442457
# Corresponds to the JSON property `runningCount`
443458
# @return [Fixnum]
@@ -487,6 +502,7 @@ def initialize(**args)
487502
# Update properties of this object
488503
def update!(**args)
489504
@annotations = args[:annotations] if args.key?(:annotations)
505+
@cancelled_count = args[:cancelled_count] if args.key?(:cancelled_count)
490506
@completion_time = args[:completion_time] if args.key?(:completion_time)
491507
@conditions = args[:conditions] if args.key?(:conditions)
492508
@create_time = args[:create_time] if args.key?(:create_time)
@@ -498,10 +514,12 @@ def update!(**args)
498514
@job = args[:job] if args.key?(:job)
499515
@labels = args[:labels] if args.key?(:labels)
500516
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
517+
@log_uri = args[:log_uri] if args.key?(:log_uri)
501518
@name = args[:name] if args.key?(:name)
502519
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
503520
@parallelism = args[:parallelism] if args.key?(:parallelism)
504521
@reconciling = args[:reconciling] if args.key?(:reconciling)
522+
@retried_count = args[:retried_count] if args.key?(:retried_count)
505523
@running_count = args[:running_count] if args.key?(:running_count)
506524
@start_time = args[:start_time] if args.key?(:start_time)
507525
@succeeded_count = args[:succeeded_count] if args.key?(:succeeded_count)
@@ -1907,6 +1925,11 @@ class GoogleCloudRunV2Task
19071925
# @return [Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult]
19081926
attr_accessor :last_attempt_result
19091927

1928+
# Output only. URI where logs for this execution can be found in Cloud Console.
1929+
# Corresponds to the JSON property `logUri`
1930+
# @return [String]
1931+
attr_accessor :log_uri
1932+
19101933
# Number of retries allowed per Task, before marking this Task failed.
19111934
# Corresponds to the JSON property `maxRetries`
19121935
# @return [Fixnum]
@@ -2004,6 +2027,7 @@ def update!(**args)
20042027
@job = args[:job] if args.key?(:job)
20052028
@labels = args[:labels] if args.key?(:labels)
20062029
@last_attempt_result = args[:last_attempt_result] if args.key?(:last_attempt_result)
2030+
@log_uri = args[:log_uri] if args.key?(:log_uri)
20072031
@max_retries = args[:max_retries] if args.key?(:max_retries)
20082032
@name = args[:name] if args.key?(:name)
20092033
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)

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

Lines changed: 3 additions & 3 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.27.0"
19+
GEM_VERSION = "0.28.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.11.0"
22+
GENERATOR_VERSION = "0.11.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20221211"
25+
REVISION = "20230102"
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
@@ -404,6 +404,7 @@ class GoogleCloudRunV2Execution
404404
# @private
405405
class Representation < Google::Apis::Core::JsonRepresentation
406406
hash :annotations, as: 'annotations'
407+
property :cancelled_count, as: 'cancelledCount'
407408
property :completion_time, as: 'completionTime'
408409
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
409410

@@ -416,10 +417,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
416417
property :job, as: 'job'
417418
hash :labels, as: 'labels'
418419
property :launch_stage, as: 'launchStage'
420+
property :log_uri, as: 'logUri'
419421
property :name, as: 'name'
420422
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
421423
property :parallelism, as: 'parallelism'
422424
property :reconciling, as: 'reconciling'
425+
property :retried_count, as: 'retriedCount'
423426
property :running_count, as: 'runningCount'
424427
property :start_time, as: 'startTime'
425428
property :succeeded_count, as: 'succeededCount'
@@ -743,6 +746,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
743746
hash :labels, as: 'labels'
744747
property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult::Representation
745748

749+
property :log_uri, as: 'logUri'
746750
property :max_retries, as: 'maxRetries'
747751
property :name, as: 'name'
748752
property :observed_generation, :numeric_string => true, as: 'observedGeneration'

0 commit comments

Comments
 (0)