google-apis-run_v1alpha1 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd9b87a644d0ab0714a1c75ba13713c3fcc7ce8f2e9f21908f52a7246907115f
4
- data.tar.gz: c375fc3ad69c691d9a55a0f3fd6205d34ee91a8cb6d77f13a6180471656c78ec
3
+ metadata.gz: 0e59a802ebf069462046eaf965f3dffded472a5280ef62c2fbd01e30a81812c6
4
+ data.tar.gz: f1cf2b12f673c98616234c5b0d9557b717333e64e4e170c07dfa1c8d79924125
5
5
  SHA512:
6
- metadata.gz: 5095d8076d51c92b0f549f1ab22c3d2fe83915bd4a20a056cfc9d51fcdfd7e9199793dae329c8050348ee4ba26068206b46ae3c849609d09a29a44ad14216f76
7
- data.tar.gz: 37fff9988ed9abf424a34607542ff473cc8753fd688d1ff85e0dcac0a621ccee4d9de3031dcdb6c3018ada78e5ac11db3fbcd9e4bea528ee88c7103447e4eb48
6
+ metadata.gz: 33548c2d6372c3fc012ffa886b4ab29b34bbdc5d5f54586254589553cbee13f35bb2e2a460fded1e366c2168cacfd7b19d97b51682d81fd00a48096412a988f9
7
+ data.tar.gz: 809924f3348d4bf06a903c17e53a6d3a4c7dbd000eda70c112f4f95ad720758c4cbf1d42e541e9b67ae2172c1f618d62d1530041717829d912a5eb7147ea427b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v1alpha1
2
2
 
3
+ ### v0.15.0 (2021-09-17)
4
+
5
+ * Regenerated from discovery document revision 20210910
6
+
3
7
  ### v0.14.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
@@ -478,6 +478,45 @@ module Google
478
478
  end
479
479
  end
480
480
 
481
+ # The `Status` type defines a logical error model that is suitable for different
482
+ # programming environments, including REST APIs and RPC APIs. It is used by [
483
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
484
+ # data: error code, error message, and error details. You can find out more
485
+ # about this error model and how to work with it in the [API Design Guide](https:
486
+ # //cloud.google.com/apis/design/errors).
487
+ class GoogleRpcStatus
488
+ include Google::Apis::Core::Hashable
489
+
490
+ # The status code, which should be an enum value of google.rpc.Code.
491
+ # Corresponds to the JSON property `code`
492
+ # @return [Fixnum]
493
+ attr_accessor :code
494
+
495
+ # A list of messages that carry the error details. There is a common set of
496
+ # message types for APIs to use.
497
+ # Corresponds to the JSON property `details`
498
+ # @return [Array<Hash<String,Object>>]
499
+ attr_accessor :details
500
+
501
+ # A developer-facing error message, which should be in English. Any user-facing
502
+ # error message should be localized and sent in the google.rpc.Status.details
503
+ # field, or localized by the client.
504
+ # Corresponds to the JSON property `message`
505
+ # @return [String]
506
+ attr_accessor :message
507
+
508
+ def initialize(**args)
509
+ update!(**args)
510
+ end
511
+
512
+ # Update properties of this object
513
+ def update!(**args)
514
+ @code = args[:code] if args.key?(:code)
515
+ @details = args[:details] if args.key?(:details)
516
+ @message = args[:message] if args.key?(:message)
517
+ end
518
+ end
519
+
481
520
  # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
482
521
  # requests.
483
522
  class HttpGetAction
@@ -543,6 +582,38 @@ module Google
543
582
  end
544
583
  end
545
584
 
585
+ # Result of an instance attempt.
586
+ class InstanceAttemptResult
587
+ include Google::Apis::Core::Hashable
588
+
589
+ # Optional. The exit code of this attempt. This may be unset if the container
590
+ # was unable to exit cleanly with a code due to some other failure. See status
591
+ # field for possible failure details.
592
+ # Corresponds to the JSON property `exitCode`
593
+ # @return [Fixnum]
594
+ attr_accessor :exit_code
595
+
596
+ # The `Status` type defines a logical error model that is suitable for different
597
+ # programming environments, including REST APIs and RPC APIs. It is used by [
598
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
599
+ # data: error code, error message, and error details. You can find out more
600
+ # about this error model and how to work with it in the [API Design Guide](https:
601
+ # //cloud.google.com/apis/design/errors).
602
+ # Corresponds to the JSON property `status`
603
+ # @return [Google::Apis::RunV1alpha1::GoogleRpcStatus]
604
+ attr_accessor :status
605
+
606
+ def initialize(**args)
607
+ update!(**args)
608
+ end
609
+
610
+ # Update properties of this object
611
+ def update!(**args)
612
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
613
+ @status = args[:status] if args.key?(:status)
614
+ end
615
+ end
616
+
546
617
  # InstanceSpec is a description of an instance.
547
618
  class InstanceSpec
548
619
  include Google::Apis::Core::Hashable
@@ -631,6 +702,11 @@ module Google
631
702
  # @return [Fixnum]
632
703
  attr_accessor :index
633
704
 
705
+ # Result of an instance attempt.
706
+ # Corresponds to the JSON property `lastAttemptResult`
707
+ # @return [Google::Apis::RunV1alpha1::InstanceAttemptResult]
708
+ attr_accessor :last_attempt_result
709
+
634
710
  # Optional. Last exit code seen for this instance. +optional
635
711
  # Corresponds to the JSON property `lastExitCode`
636
712
  # @return [Fixnum]
@@ -664,6 +740,7 @@ module Google
664
740
  @completion_time = args[:completion_time] if args.key?(:completion_time)
665
741
  @failed = args[:failed] if args.key?(:failed)
666
742
  @index = args[:index] if args.key?(:index)
743
+ @last_attempt_result = args[:last_attempt_result] if args.key?(:last_attempt_result)
667
744
  @last_exit_code = args[:last_exit_code] if args.key?(:last_exit_code)
668
745
  @restarted = args[:restarted] if args.key?(:restarted)
669
746
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1alpha1
18
18
  # Version of the google-apis-run_v1alpha1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210813"
25
+ REVISION = "20210910"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleRpcStatus
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class HttpGetAction
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -94,6 +100,12 @@ module Google
94
100
  include Google::Apis::Core::JsonObjectSupport
95
101
  end
96
102
 
103
+ class InstanceAttemptResult
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
97
109
  class InstanceSpec
98
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
111
 
@@ -343,6 +355,15 @@ module Google
343
355
  end
344
356
  end
345
357
 
358
+ class GoogleRpcStatus
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :code, as: 'code'
362
+ collection :details, as: 'details'
363
+ property :message, as: 'message'
364
+ end
365
+ end
366
+
346
367
  class HttpGetAction
347
368
  # @private
348
369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -362,6 +383,15 @@ module Google
362
383
  end
363
384
  end
364
385
 
386
+ class InstanceAttemptResult
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :exit_code, as: 'exitCode'
390
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::GoogleRpcStatus, decorator: Google::Apis::RunV1alpha1::GoogleRpcStatus::Representation
391
+
392
+ end
393
+ end
394
+
365
395
  class InstanceSpec
366
396
  # @private
367
397
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -382,6 +412,8 @@ module Google
382
412
  property :completion_time, as: 'completionTime'
383
413
  property :failed, as: 'failed'
384
414
  property :index, as: 'index'
415
+ property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV1alpha1::InstanceAttemptResult, decorator: Google::Apis::RunV1alpha1::InstanceAttemptResult::Representation
416
+
385
417
  property :last_exit_code, as: 'lastExitCode'
386
418
  property :restarted, as: 'restarted'
387
419
  property :start_time, as: 'startTime'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []