google-apis-cloudbuild_v1beta1 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a16e3554e2ed7fb3d6f8b51966b2ca0672063180f350e381a575c086abe3ab05
4
- data.tar.gz: f680d40ebece1ebd24ba43a3e2ec958b0002729a9e261213864b9a390e5df33e
3
+ metadata.gz: 8a03c58e7ec20e75f42ce674649100c2405ec410d10a676f628d8df807a14b50
4
+ data.tar.gz: 602db79dd2227082a31c294142c0de8479d2da122c59cabc589ee813772121fc
5
5
  SHA512:
6
- metadata.gz: cadf5bb70efebc053670444a472b97ea708871133dcc5321f0607be86ab27eea2bfac6e488057e56d543226d87f2f082cdc41d12a520bfd1d75bf2b28a387cd2
7
- data.tar.gz: 9471b64ae15d994468b3d1f3601cf0b43f21320ce3928fab7e6fa4e249dd4e0c6d539e385a20e7eea5ec7bfeed0a539473e23796194578ed98e407de2992fb96
6
+ metadata.gz: d4dbc3280fe7c9f2e9d6b225422821b6054b9dc3a97f2af60b86f381cef0b0af26862343c835b71e9ad0064226306fe653f339cc2a609465cbb95725dca814ed
7
+ data.tar.gz: 34cdac9b34f861f090c290e319e00604e1b1a08fdb327ec00f5b3e7649b5e66a601a301d8f4b3b39d5688b1c5ef93995831e75e286faf770e6b76278fac34598
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.8.0 (2021-07-20)
4
+
5
+ * Regenerated from discovery document revision 20210715
6
+
3
7
  ### v0.7.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::CloudbuildV1beta1::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
@@ -1118,6 +1208,65 @@ module Google
1118
1208
  end
1119
1209
  end
1120
1210
 
1211
+ # Represents the metadata of the long-running operation.
1212
+ class OperationMetadata
1213
+ include Google::Apis::Core::Hashable
1214
+
1215
+ # Output only. API version used to start the operation.
1216
+ # Corresponds to the JSON property `apiVersion`
1217
+ # @return [String]
1218
+ attr_accessor :api_version
1219
+
1220
+ # Output only. Identifies whether the user has requested cancellation of the
1221
+ # operation. Operations that have successfully been cancelled have Operation.
1222
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1223
+ # CANCELLED`.
1224
+ # Corresponds to the JSON property `cancelRequested`
1225
+ # @return [Boolean]
1226
+ attr_accessor :cancel_requested
1227
+ alias_method :cancel_requested?, :cancel_requested
1228
+
1229
+ # Output only. The time the operation was created.
1230
+ # Corresponds to the JSON property `createTime`
1231
+ # @return [String]
1232
+ attr_accessor :create_time
1233
+
1234
+ # Output only. The time the operation finished running.
1235
+ # Corresponds to the JSON property `endTime`
1236
+ # @return [String]
1237
+ attr_accessor :end_time
1238
+
1239
+ # Output only. Human-readable status of the operation, if any.
1240
+ # Corresponds to the JSON property `statusDetail`
1241
+ # @return [String]
1242
+ attr_accessor :status_detail
1243
+
1244
+ # Output only. Server-defined resource path for the target of the operation.
1245
+ # Corresponds to the JSON property `target`
1246
+ # @return [String]
1247
+ attr_accessor :target
1248
+
1249
+ # Output only. Name of the verb executed by the operation.
1250
+ # Corresponds to the JSON property `verb`
1251
+ # @return [String]
1252
+ attr_accessor :verb
1253
+
1254
+ def initialize(**args)
1255
+ update!(**args)
1256
+ end
1257
+
1258
+ # Update properties of this object
1259
+ def update!(**args)
1260
+ @api_version = args[:api_version] if args.key?(:api_version)
1261
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1262
+ @create_time = args[:create_time] if args.key?(:create_time)
1263
+ @end_time = args[:end_time] if args.key?(:end_time)
1264
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1265
+ @target = args[:target] if args.key?(:target)
1266
+ @verb = args[:verb] if args.key?(:verb)
1267
+ end
1268
+ end
1269
+
1121
1270
  # Details about how a build should be executed on a `WorkerPool`. See [running
1122
1271
  # builds in a private pool](https://cloud.google.com/build/docs/private-pools/
1123
1272
  # run-builds-in-private-pool) for more information.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1beta1
18
18
  # Version of the google-apis-cloudbuild_v1beta1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.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::CloudbuildV1beta1::FailureInfo, decorator: Google::Apis::CloudbuildV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []