google-apis-cloudbuild_v1alpha2 0.17.0 → 0.20.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: 467b56aa1927f2fa0fe8cccc6db85c09008f617914a13356fe37dc517e7c0d72
4
- data.tar.gz: 61ed17a8683a275694c88c301dfca3ceaf40e5429aba914a50b75b676655be6e
3
+ metadata.gz: 3165c7b9c84fbccc989457b468b24c5af552b5f361a5639fd51fcf10b48d2dd0
4
+ data.tar.gz: c41b78de535887b3c8fbb598c034a717ccf4b71d704a33053753bb1b448d5ba3
5
5
  SHA512:
6
- metadata.gz: 7b4d51dbac4872bbd89b718a6d58859536f46dc611aeee99deeccc9fb744cfaf18353109c5ba97c343970be9a6b8fe1179e12e328c10510987e8989388455e1e
7
- data.tar.gz: 62a837690f7800cd2858e52f3147a2bbc3c1f190da84ebd06b338a2790a6a4cdd47af9545b2b62aa26b060eaeb25041c967bf29ffa3fc7b50e2f7c1571fe6966
6
+ metadata.gz: 846cbefb2268e9585f5d55046923d1aad59cbfa7d5723720885ce2a1cd70b70afb59f98fc024211117ce60f9c55e079bbec5262fa0fe0b6935c9f7cf923b7966
7
+ data.tar.gz: c4f8b2af5c65cb4943038eac2afd8e325a96a6337052a9ff872996c5f2baa7362ccdc7ff76d4e8a2f671ecb9141acf96c8aa319a05516d4b2e5f6e5250f0792d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudbuild_v1alpha2
2
2
 
3
+ ### v0.20.0 (2022-03-29)
4
+
5
+ * Regenerated from discovery document revision 20220322
6
+
7
+ ### v0.19.0 (2022-03-02)
8
+
9
+ * Regenerated from discovery document revision 20220218
10
+
11
+ ### v0.18.0 (2022-02-11)
12
+
13
+ * Regenerated from discovery document revision 20220131
14
+
3
15
  ### v0.17.0 (2022-02-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220126
@@ -1151,8 +1151,7 @@ module Google
1151
1151
  # A generic empty message that you can re-use to avoid defining duplicated empty
1152
1152
  # messages in your APIs. A typical example is to use it as the request or the
1153
1153
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1154
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1155
- # `Empty` is empty JSON object ````.
1154
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1156
1155
  class Empty
1157
1156
  include Google::Apis::Core::Hashable
1158
1157
 
@@ -1210,40 +1209,6 @@ module Google
1210
1209
  end
1211
1210
  end
1212
1211
 
1213
- # Configuration per workload for both Private Pools and Hybrid Pools.
1214
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1215
- include Google::Apis::Core::Hashable
1216
-
1217
- # The disk size (in GB) which is requested for the build container. If unset, a
1218
- # value of 10 GB will be used.
1219
- # Corresponds to the JSON property `diskSizeGb`
1220
- # @return [Fixnum]
1221
- attr_accessor :disk_size_gb
1222
-
1223
- # The memory (in GB) which is requested for the build container. If unset, a
1224
- # value of 4 GB will be used.
1225
- # Corresponds to the JSON property `memoryGb`
1226
- # @return [Float]
1227
- attr_accessor :memory_gb
1228
-
1229
- # The number of vCPUs which are requested for the build container. If unset, a
1230
- # value of 1 will be used.
1231
- # Corresponds to the JSON property `vcpuCount`
1232
- # @return [Float]
1233
- attr_accessor :vcpu_count
1234
-
1235
- def initialize(**args)
1236
- update!(**args)
1237
- end
1238
-
1239
- # Update properties of this object
1240
- def update!(**args)
1241
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1242
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1243
- @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
1244
- end
1245
- end
1246
-
1247
1212
  # Represents the metadata of the long-running operation.
1248
1213
  class GoogleDevtoolsCloudbuildV2OperationMetadata
1249
1214
  include Google::Apis::Core::Hashable
@@ -1746,11 +1711,6 @@ module Google
1746
1711
  # @return [String]
1747
1712
  attr_accessor :name
1748
1713
 
1749
- # Configuration per workload for both Private Pools and Hybrid Pools.
1750
- # Corresponds to the JSON property `workerConfig`
1751
- # @return [Google::Apis::CloudbuildV1alpha2::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
1752
- attr_accessor :worker_config
1753
-
1754
1714
  def initialize(**args)
1755
1715
  update!(**args)
1756
1716
  end
@@ -1758,7 +1718,6 @@ module Google
1758
1718
  # Update properties of this object
1759
1719
  def update!(**args)
1760
1720
  @name = args[:name] if args.key?(:name)
1761
- @worker_config = args[:worker_config] if args.key?(:worker_config)
1762
1721
  end
1763
1722
  end
1764
1723
 
@@ -1916,6 +1875,65 @@ module Google
1916
1875
  end
1917
1876
  end
1918
1877
 
1878
+ # Represents the custom metadata of the RunWorkflow long-running operation.
1879
+ class RunWorkflowCustomOperationMetadata
1880
+ include Google::Apis::Core::Hashable
1881
+
1882
+ # Output only. API version used to start the operation.
1883
+ # Corresponds to the JSON property `apiVersion`
1884
+ # @return [String]
1885
+ attr_accessor :api_version
1886
+
1887
+ # Output only. The time the operation was created.
1888
+ # Corresponds to the JSON property `createTime`
1889
+ # @return [String]
1890
+ attr_accessor :create_time
1891
+
1892
+ # Output only. The time the operation finished running.
1893
+ # Corresponds to the JSON property `endTime`
1894
+ # @return [String]
1895
+ attr_accessor :end_time
1896
+
1897
+ # Output only. ID of the pipeline run created by RunWorkflow.
1898
+ # Corresponds to the JSON property `pipelineRunId`
1899
+ # @return [String]
1900
+ attr_accessor :pipeline_run_id
1901
+
1902
+ # Output only. Identifies whether the user has requested cancellation of the
1903
+ # operation. Operations that have successfully been cancelled have Operation.
1904
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1905
+ # CANCELLED`.
1906
+ # Corresponds to the JSON property `requestedCancellation`
1907
+ # @return [Boolean]
1908
+ attr_accessor :requested_cancellation
1909
+ alias_method :requested_cancellation?, :requested_cancellation
1910
+
1911
+ # Output only. Server-defined resource path for the target of the operation.
1912
+ # Corresponds to the JSON property `target`
1913
+ # @return [String]
1914
+ attr_accessor :target
1915
+
1916
+ # Output only. Name of the verb executed by the operation.
1917
+ # Corresponds to the JSON property `verb`
1918
+ # @return [String]
1919
+ attr_accessor :verb
1920
+
1921
+ def initialize(**args)
1922
+ update!(**args)
1923
+ end
1924
+
1925
+ # Update properties of this object
1926
+ def update!(**args)
1927
+ @api_version = args[:api_version] if args.key?(:api_version)
1928
+ @create_time = args[:create_time] if args.key?(:create_time)
1929
+ @end_time = args[:end_time] if args.key?(:end_time)
1930
+ @pipeline_run_id = args[:pipeline_run_id] if args.key?(:pipeline_run_id)
1931
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1932
+ @target = args[:target] if args.key?(:target)
1933
+ @verb = args[:verb] if args.key?(:verb)
1934
+ end
1935
+ end
1936
+
1919
1937
  # SMTPDelivery is the delivery configuration for an SMTP (email) notification.
1920
1938
  class SmtpDelivery
1921
1939
  include Google::Apis::Core::Hashable
@@ -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.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220126"
25
+ REVISION = "20220322"
26
26
  end
27
27
  end
28
28
  end
@@ -184,12 +184,6 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
187
  class GoogleDevtoolsCloudbuildV2OperationMetadata
194
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
189
 
@@ -298,6 +292,12 @@ module Google
298
292
  include Google::Apis::Core::JsonObjectSupport
299
293
  end
300
294
 
295
+ class RunWorkflowCustomOperationMetadata
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
301
  class SmtpDelivery
302
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
303
 
@@ -715,15 +715,6 @@ module Google
715
715
  end
716
716
  end
717
717
 
718
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
719
- # @private
720
- class Representation < Google::Apis::Core::JsonRepresentation
721
- property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
722
- property :memory_gb, as: 'memoryGb'
723
- property :vcpu_count, as: 'vcpuCount'
724
- end
725
- end
726
-
727
718
  class GoogleDevtoolsCloudbuildV2OperationMetadata
728
719
  # @private
729
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -863,8 +854,6 @@ module Google
863
854
  # @private
864
855
  class Representation < Google::Apis::Core::JsonRepresentation
865
856
  property :name, as: 'name'
866
- property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1alpha2::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1alpha2::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
867
-
868
857
  end
869
858
  end
870
859
 
@@ -905,6 +894,19 @@ module Google
905
894
  end
906
895
  end
907
896
 
897
+ class RunWorkflowCustomOperationMetadata
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :api_version, as: 'apiVersion'
901
+ property :create_time, as: 'createTime'
902
+ property :end_time, as: 'endTime'
903
+ property :pipeline_run_id, as: 'pipelineRunId'
904
+ property :requested_cancellation, as: 'requestedCancellation'
905
+ property :target, as: 'target'
906
+ property :verb, as: 'verb'
907
+ end
908
+ end
909
+
908
910
  class SmtpDelivery
909
911
  # @private
910
912
  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.17.0
4
+ version: 0.20.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: 2022-02-07 00:00:00.000000000 Z
11
+ date: 2022-04-04 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/main/generated/google-apis-cloudbuild_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha2/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha2
63
63
  post_install_message:
64
64
  rdoc_options: []