google-apis-cloudbuild_v1alpha1 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: 3be0b5224d3c4d66b08f7240ad436e37543190c2e96aa2b9c23adb0028adf8ab
4
- data.tar.gz: 811d191e188bfedd96f5943d5b9fedecfeec64cf363f488cd315e7382254a1fe
3
+ metadata.gz: 5f8930b789ee8d8c1b747a71f7fdbd9303fe42d0e6e83d0d5365a2959bdc220b
4
+ data.tar.gz: 97f6896eaeedf3730d65b9f4046af3eec3d27ebbbd916de2e6c2bdacdab80f0d
5
5
  SHA512:
6
- metadata.gz: ecf11b0b4b93cca459f7102988ad4e06b43e079d8761ca2396387fe267fbfdebf4003bd19a0b35552d56903dda3a79b3a76cb678ead207a0256075c140e84894
7
- data.tar.gz: 27a025efae10ebf16cca499760b8f6c5bcaa5b2e1b8d3ab8cbf16ec4853ae135c484f59b5c049c8db8a0fb7e5327d4a10cf5c27eeea9bb5ce939144ed0452ade
6
+ metadata.gz: f5e90a524797bb2f1612cbfd272ad14950b043c933d84735d633c222ab0d22fb41bbdc90f75ef390ed1bec8ad94d02d32d714fdfbe54e795ad2e8cbd76465d83
7
+ data.tar.gz: fa2b50aaef1dc80e3a3f1a7fe57ec8f0eb1ba7278f0c468a0725128a9db26789f282f46d11942c38dd2eb7dc6546ef9f77f4da83017fbfdc2ae72f55bce6d327
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha1
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::CloudbuildV1alpha1::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
@@ -1128,6 +1218,65 @@ module Google
1128
1218
  end
1129
1219
  end
1130
1220
 
1221
+ # Represents the metadata of the long-running operation.
1222
+ class OperationMetadata
1223
+ include Google::Apis::Core::Hashable
1224
+
1225
+ # Output only. API version used to start the operation.
1226
+ # Corresponds to the JSON property `apiVersion`
1227
+ # @return [String]
1228
+ attr_accessor :api_version
1229
+
1230
+ # Output only. Identifies whether the user has requested cancellation of the
1231
+ # operation. Operations that have successfully been cancelled have Operation.
1232
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1233
+ # CANCELLED`.
1234
+ # Corresponds to the JSON property `cancelRequested`
1235
+ # @return [Boolean]
1236
+ attr_accessor :cancel_requested
1237
+ alias_method :cancel_requested?, :cancel_requested
1238
+
1239
+ # Output only. The time the operation was created.
1240
+ # Corresponds to the JSON property `createTime`
1241
+ # @return [String]
1242
+ attr_accessor :create_time
1243
+
1244
+ # Output only. The time the operation finished running.
1245
+ # Corresponds to the JSON property `endTime`
1246
+ # @return [String]
1247
+ attr_accessor :end_time
1248
+
1249
+ # Output only. Human-readable status of the operation, if any.
1250
+ # Corresponds to the JSON property `statusDetail`
1251
+ # @return [String]
1252
+ attr_accessor :status_detail
1253
+
1254
+ # Output only. Server-defined resource path for the target of the operation.
1255
+ # Corresponds to the JSON property `target`
1256
+ # @return [String]
1257
+ attr_accessor :target
1258
+
1259
+ # Output only. Name of the verb executed by the operation.
1260
+ # Corresponds to the JSON property `verb`
1261
+ # @return [String]
1262
+ attr_accessor :verb
1263
+
1264
+ def initialize(**args)
1265
+ update!(**args)
1266
+ end
1267
+
1268
+ # Update properties of this object
1269
+ def update!(**args)
1270
+ @api_version = args[:api_version] if args.key?(:api_version)
1271
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1272
+ @create_time = args[:create_time] if args.key?(:create_time)
1273
+ @end_time = args[:end_time] if args.key?(:end_time)
1274
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1275
+ @target = args[:target] if args.key?(:target)
1276
+ @verb = args[:verb] if args.key?(:verb)
1277
+ end
1278
+ end
1279
+
1131
1280
  # Details about how a build should be executed on a `WorkerPool`. See [running
1132
1281
  # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1133
1282
  # run-builds-in-private-pool) for more information.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1alpha1
18
18
  # Version of the google-apis-cloudbuild_v1alpha1 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::CloudbuildV1alpha1::FailureInfo, decorator: Google::Apis::CloudbuildV1alpha1::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
@@ -567,6 +608,19 @@ module Google
567
608
  end
568
609
  end
569
610
 
611
+ class OperationMetadata
612
+ # @private
613
+ class Representation < Google::Apis::Core::JsonRepresentation
614
+ property :api_version, as: 'apiVersion'
615
+ property :cancel_requested, as: 'cancelRequested'
616
+ property :create_time, as: 'createTime'
617
+ property :end_time, as: 'endTime'
618
+ property :status_detail, as: 'statusDetail'
619
+ property :target, as: 'target'
620
+ property :verb, as: 'verb'
621
+ end
622
+ end
623
+
570
624
  class PoolOption
571
625
  # @private
572
626
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1alpha1
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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []