google-apis-cloudbuild_v1alpha2 0.9.0 → 0.10.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: fb1ef3bdc359b4c2ffdb971fbb693a4c4177c05cd66b1463ef61a4a6bd27d278
4
- data.tar.gz: 18af1e4e96082518d4dcb4a08bf9646e773c7823c9f95092650c720dc401d74e
3
+ metadata.gz: 4aefd9eb352be620a25e9ef50de0d1993d467ba1768cbc16d5036fa7ee67a7cb
4
+ data.tar.gz: f244189e90396f597d449ab9633450c5726f07c4139bd39eaf4d3b677b176ed6
5
5
  SHA512:
6
- metadata.gz: 4a9ba02cbef9378ffa0d557f6c557ba7615f99dc1981a85e0d074ae16993657428f0b5d1ecbf79f5e114d1a1507675aa0b092f9e99ccac2f081ea4a38e820d28
7
- data.tar.gz: 9b5437592a7b6f35206427f7d0d198b5dfb3689594bbf5ccb77e71e0c9098be313a02ce065f4d7ee3d798672e0b1073c71316e0f19bfefb29aa7f58d6bd86c4d
6
+ metadata.gz: 5099abde21eb41dee7afef48c935e69212e7dc7e6d9ef24e25312953d2e896015cf4c16a02e441c12156635998dbed10d52fd0700f4d1ac468071f33195f79d2
7
+ data.tar.gz: fef736851315d874d889fdbd68cf1574edfd2c2c6a81e235b135c54b18a8e15c3255f9f1dd06e667498281f01d09a90dc1eaadb5422eb7e7baaa59abaf78aee4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha2
2
2
 
3
+ ### v0.10.0 (2021-07-20)
4
+
5
+ * Regenerated from discovery document revision 20210715
6
+
3
7
  ### v0.9.0 (2021-07-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20210709
@@ -151,6 +151,11 @@ module Google
151
151
  # @return [String]
152
152
  attr_accessor :create_time
153
153
 
154
+ # A fatal problem encountered during the execution of the build.
155
+ # Corresponds to the JSON property `failureInfo`
156
+ # @return [Google::Apis::CloudbuildV1alpha2::FailureInfo]
157
+ attr_accessor :failure_info
158
+
154
159
  # Output only. Time at which execution of the build was finished. The difference
155
160
  # between finish_time and start_time is the duration of the build's execution.
156
161
  # Corresponds to the JSON property `finishTime`
@@ -300,6 +305,7 @@ module Google
300
305
  @available_secrets = args[:available_secrets] if args.key?(:available_secrets)
301
306
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
302
307
  @create_time = args[:create_time] if args.key?(:create_time)
308
+ @failure_info = args[:failure_info] if args.key?(:failure_info)
303
309
  @finish_time = args[:finish_time] if args.key?(:finish_time)
304
310
  @id = args[:id] if args.key?(:id)
305
311
  @images = args[:images] if args.key?(:images)
@@ -724,6 +730,31 @@ module Google
724
730
  end
725
731
  end
726
732
 
733
+ # A fatal problem encountered during the execution of the build.
734
+ class FailureInfo
735
+ include Google::Apis::Core::Hashable
736
+
737
+ # Explains the failure issue in more detail using hard-coded text.
738
+ # Corresponds to the JSON property `detail`
739
+ # @return [String]
740
+ attr_accessor :detail
741
+
742
+ # The name of the failure.
743
+ # Corresponds to the JSON property `type`
744
+ # @return [String]
745
+ attr_accessor :type
746
+
747
+ def initialize(**args)
748
+ update!(**args)
749
+ end
750
+
751
+ # Update properties of this object
752
+ def update!(**args)
753
+ @detail = args[:detail] if args.key?(:detail)
754
+ @type = args[:type] if args.key?(:type)
755
+ end
756
+ end
757
+
727
758
  # Container message for hashes of byte content of files, used in
728
759
  # SourceProvenance messages to verify integrity of source input to the build.
729
760
  class FileHashes
@@ -744,6 +775,65 @@ module Google
744
775
  end
745
776
  end
746
777
 
778
+ # Represents the metadata of the long-running operation.
779
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
780
+ include Google::Apis::Core::Hashable
781
+
782
+ # Output only. API version used to start the operation.
783
+ # Corresponds to the JSON property `apiVersion`
784
+ # @return [String]
785
+ attr_accessor :api_version
786
+
787
+ # Output only. The time the operation was created.
788
+ # Corresponds to the JSON property `createTime`
789
+ # @return [String]
790
+ attr_accessor :create_time
791
+
792
+ # Output only. The time the operation finished running.
793
+ # Corresponds to the JSON property `endTime`
794
+ # @return [String]
795
+ attr_accessor :end_time
796
+
797
+ # Output only. Identifies whether the user has requested cancellation of the
798
+ # operation. Operations that have successfully been cancelled have Operation.
799
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
800
+ # CANCELLED`.
801
+ # Corresponds to the JSON property `requestedCancellation`
802
+ # @return [Boolean]
803
+ attr_accessor :requested_cancellation
804
+ alias_method :requested_cancellation?, :requested_cancellation
805
+
806
+ # Output only. Human-readable status of the operation, if any.
807
+ # Corresponds to the JSON property `statusMessage`
808
+ # @return [String]
809
+ attr_accessor :status_message
810
+
811
+ # Output only. Server-defined resource path for the target of the operation.
812
+ # Corresponds to the JSON property `target`
813
+ # @return [String]
814
+ attr_accessor :target
815
+
816
+ # Output only. Name of the verb executed by the operation.
817
+ # Corresponds to the JSON property `verb`
818
+ # @return [String]
819
+ attr_accessor :verb
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @api_version = args[:api_version] if args.key?(:api_version)
828
+ @create_time = args[:create_time] if args.key?(:create_time)
829
+ @end_time = args[:end_time] if args.key?(:end_time)
830
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
831
+ @status_message = args[:status_message] if args.key?(:status_message)
832
+ @target = args[:target] if args.key?(:target)
833
+ @verb = args[:verb] if args.key?(:verb)
834
+ end
835
+ end
836
+
747
837
  # HTTPDelivery is the delivery configuration for an HTTP notification.
748
838
  class HttpDelivery
749
839
  include Google::Apis::Core::Hashable
@@ -1115,6 +1205,65 @@ module Google
1115
1205
  end
1116
1206
  end
1117
1207
 
1208
+ # Represents the metadata of the long-running operation.
1209
+ class OperationMetadata
1210
+ include Google::Apis::Core::Hashable
1211
+
1212
+ # Output only. API version used to start the operation.
1213
+ # Corresponds to the JSON property `apiVersion`
1214
+ # @return [String]
1215
+ attr_accessor :api_version
1216
+
1217
+ # Output only. Identifies whether the user has requested cancellation of the
1218
+ # operation. Operations that have successfully been cancelled have Operation.
1219
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1220
+ # CANCELLED`.
1221
+ # Corresponds to the JSON property `cancelRequested`
1222
+ # @return [Boolean]
1223
+ attr_accessor :cancel_requested
1224
+ alias_method :cancel_requested?, :cancel_requested
1225
+
1226
+ # Output only. The time the operation was created.
1227
+ # Corresponds to the JSON property `createTime`
1228
+ # @return [String]
1229
+ attr_accessor :create_time
1230
+
1231
+ # Output only. The time the operation finished running.
1232
+ # Corresponds to the JSON property `endTime`
1233
+ # @return [String]
1234
+ attr_accessor :end_time
1235
+
1236
+ # Output only. Human-readable status of the operation, if any.
1237
+ # Corresponds to the JSON property `statusDetail`
1238
+ # @return [String]
1239
+ attr_accessor :status_detail
1240
+
1241
+ # Output only. Server-defined resource path for the target of the operation.
1242
+ # Corresponds to the JSON property `target`
1243
+ # @return [String]
1244
+ attr_accessor :target
1245
+
1246
+ # Output only. Name of the verb executed by the operation.
1247
+ # Corresponds to the JSON property `verb`
1248
+ # @return [String]
1249
+ attr_accessor :verb
1250
+
1251
+ def initialize(**args)
1252
+ update!(**args)
1253
+ end
1254
+
1255
+ # Update properties of this object
1256
+ def update!(**args)
1257
+ @api_version = args[:api_version] if args.key?(:api_version)
1258
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1259
+ @create_time = args[:create_time] if args.key?(:create_time)
1260
+ @end_time = args[:end_time] if args.key?(:end_time)
1261
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1262
+ @target = args[:target] if args.key?(:target)
1263
+ @verb = args[:verb] if args.key?(:verb)
1264
+ end
1265
+ end
1266
+
1118
1267
  # Details about how a build should be executed on a `WorkerPool`. See [running
1119
1268
  # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1120
1269
  # run-builds-in-private-pool) for more information.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1alpha2
18
18
  # Version of the google-apis-cloudbuild_v1alpha2 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.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 = "20210709"
25
+ REVISION = "20210715"
26
26
  end
27
27
  end
28
28
  end
@@ -94,12 +94,24 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class FailureInfo
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class FileHashes
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class HttpDelivery
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -172,6 +184,12 @@ module Google
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class OperationMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class PoolOption
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -323,6 +341,8 @@ module Google
323
341
 
324
342
  property :build_trigger_id, as: 'buildTriggerId'
325
343
  property :create_time, as: 'createTime'
344
+ property :failure_info, as: 'failureInfo', class: Google::Apis::CloudbuildV1alpha2::FailureInfo, decorator: Google::Apis::CloudbuildV1alpha2::FailureInfo::Representation
345
+
326
346
  property :finish_time, as: 'finishTime'
327
347
  property :id, as: 'id'
328
348
  collection :images, as: 'images'
@@ -448,6 +468,14 @@ module Google
448
468
  end
449
469
  end
450
470
 
471
+ class FailureInfo
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :detail, as: 'detail'
475
+ property :type, as: 'type'
476
+ end
477
+ end
478
+
451
479
  class FileHashes
452
480
  # @private
453
481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -456,6 +484,19 @@ module Google
456
484
  end
457
485
  end
458
486
 
487
+ class GoogleDevtoolsCloudbuildV2OperationMetadata
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :api_version, as: 'apiVersion'
491
+ property :create_time, as: 'createTime'
492
+ property :end_time, as: 'endTime'
493
+ property :requested_cancellation, as: 'requestedCancellation'
494
+ property :status_message, as: 'statusMessage'
495
+ property :target, as: 'target'
496
+ property :verb, as: 'verb'
497
+ end
498
+ end
499
+
459
500
  class HttpDelivery
460
501
  # @private
461
502
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -565,6 +606,19 @@ module Google
565
606
  end
566
607
  end
567
608
 
609
+ class OperationMetadata
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :api_version, as: 'apiVersion'
613
+ property :cancel_requested, as: 'cancelRequested'
614
+ property :create_time, as: 'createTime'
615
+ property :end_time, as: 'endTime'
616
+ property :status_detail, as: 'statusDetail'
617
+ property :target, as: 'target'
618
+ property :verb, as: 'verb'
619
+ end
620
+ end
621
+
568
622
  class PoolOption
569
623
  # @private
570
624
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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-07-19 00:00:00.000000000 Z
11
+ date: 2021-07-26 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-cloudbuild_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha2
63
63
  post_install_message:
64
64
  rdoc_options: []