google-apis-cloudbuild_v1 0.23.0 → 0.24.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: a8f283555c0a088f6db78dc97ffc920eb293551bd60f3bdb5021fc0e54b5fcc1
4
- data.tar.gz: 6e6efce837d854dcfc3eb2f204e76780dac2a4d41025727926c998d2f3aff984
3
+ metadata.gz: 1835e459f08dd3d7cda155fae1206f8b5cefd2817042d45adf28e7ed861255f3
4
+ data.tar.gz: 9821baaa433475e88a4d4b0148b8608ce05f136572aeb620bbd7745d41d6c810
5
5
  SHA512:
6
- metadata.gz: 7ce1d558c7809e539cbc085e5a3ca5f6dfa71184c9b20d11f7c40bd87fb28e1abb9d348669ffee679f97c4d3eee4be54d86ec87e3968f097613746bd2df803b8
7
- data.tar.gz: e9d5dd64ed11fc88da313303d2faf0b3374e46e716076c4a57fb7579e3270655a681ed67180e88a6ef7645991abf6c0f93eb38e6c0f6f97b8bee08a2b457ae05
6
+ metadata.gz: 71c9a17b0ca9c5a8555603b9cf1d66ea8e5109c307becfe42512b4362b60a29cac87e24212839b76890d6feabdd5a6398d8e299fae7c31494fcf098d28c01d9f
7
+ data.tar.gz: 95c8e7de08b6085c0b75ff164351e859d43644cd4e10e247e98fbad719be786a36961e502c0bab7c7115547fa42cdbca28647c7900c9b34ca5aa85e19e887d17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.24.0 (2022-02-11)
4
+
5
+ * Regenerated from discovery document revision 20220131
6
+
3
7
  ### v0.23.0 (2022-02-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220126
@@ -2048,40 +2048,6 @@ module Google
2048
2048
  end
2049
2049
  end
2050
2050
 
2051
- # Configuration per workload for both Private Pools and Hybrid Pools.
2052
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
2053
- include Google::Apis::Core::Hashable
2054
-
2055
- # The disk size (in GB) which is requested for the build container. If unset, a
2056
- # value of 10 GB will be used.
2057
- # Corresponds to the JSON property `diskSizeGb`
2058
- # @return [Fixnum]
2059
- attr_accessor :disk_size_gb
2060
-
2061
- # The memory (in GB) which is requested for the build container. If unset, a
2062
- # value of 4 GB will be used.
2063
- # Corresponds to the JSON property `memoryGb`
2064
- # @return [Float]
2065
- attr_accessor :memory_gb
2066
-
2067
- # The number of vCPUs which are requested for the build container. If unset, a
2068
- # value of 1 will be used.
2069
- # Corresponds to the JSON property `vcpuCount`
2070
- # @return [Float]
2071
- attr_accessor :vcpu_count
2072
-
2073
- def initialize(**args)
2074
- update!(**args)
2075
- end
2076
-
2077
- # Update properties of this object
2078
- def update!(**args)
2079
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2080
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
2081
- @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
2082
- end
2083
- end
2084
-
2085
2051
  # Represents the metadata of the long-running operation.
2086
2052
  class GoogleDevtoolsCloudbuildV2OperationMetadata
2087
2053
  include Google::Apis::Core::Hashable
@@ -2234,66 +2200,6 @@ module Google
2234
2200
  end
2235
2201
  end
2236
2202
 
2237
- # Configuration for a Hybrid Worker Pool Next ID: 6
2238
- class HybridPoolConfig
2239
- include Google::Apis::Core::Hashable
2240
-
2241
- # These settings can be applied to a user's build operations. Next ID: 4
2242
- # Corresponds to the JSON property `defaultWorkerConfig`
2243
- # @return [Google::Apis::CloudbuildV1::HybridWorkerConfig]
2244
- attr_accessor :default_worker_config
2245
-
2246
- # Required. Immutable. The Anthos/GKE Hub membership of the cluster which will
2247
- # run the actual build operations. Example: projects/`project`/locations/`
2248
- # location`/memberships/`cluster_name`
2249
- # Corresponds to the JSON property `membership`
2250
- # @return [String]
2251
- attr_accessor :membership
2252
-
2253
- def initialize(**args)
2254
- update!(**args)
2255
- end
2256
-
2257
- # Update properties of this object
2258
- def update!(**args)
2259
- @default_worker_config = args[:default_worker_config] if args.key?(:default_worker_config)
2260
- @membership = args[:membership] if args.key?(:membership)
2261
- end
2262
- end
2263
-
2264
- # These settings can be applied to a user's build operations. Next ID: 4
2265
- class HybridWorkerConfig
2266
- include Google::Apis::Core::Hashable
2267
-
2268
- # The disk size (in GB) which is requested for the build container. Defaults to
2269
- # 10 GB.
2270
- # Corresponds to the JSON property `diskSizeGb`
2271
- # @return [Fixnum]
2272
- attr_accessor :disk_size_gb
2273
-
2274
- # The memory (in GB) which is requested for the build container. Defaults to 4
2275
- # GB.
2276
- # Corresponds to the JSON property `memoryGb`
2277
- # @return [Float]
2278
- attr_accessor :memory_gb
2279
-
2280
- # The number of vCPUs which are requested for the build container. Defaults to 1.
2281
- # Corresponds to the JSON property `vcpuCount`
2282
- # @return [Float]
2283
- attr_accessor :vcpu_count
2284
-
2285
- def initialize(**args)
2286
- update!(**args)
2287
- end
2288
-
2289
- # Update properties of this object
2290
- def update!(**args)
2291
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2292
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
2293
- @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
2294
- end
2295
- end
2296
-
2297
2203
  # Pairs a set of secret environment variables mapped to encrypted values with
2298
2204
  # the Cloud KMS key to use to decrypt the value.
2299
2205
  class InlineSecret
@@ -2829,11 +2735,6 @@ module Google
2829
2735
  # @return [String]
2830
2736
  attr_accessor :name
2831
2737
 
2832
- # Configuration per workload for both Private Pools and Hybrid Pools.
2833
- # Corresponds to the JSON property `workerConfig`
2834
- # @return [Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
2835
- attr_accessor :worker_config
2836
-
2837
2738
  def initialize(**args)
2838
2739
  update!(**args)
2839
2740
  end
@@ -2841,7 +2742,6 @@ module Google
2841
2742
  # Update properties of this object
2842
2743
  def update!(**args)
2843
2744
  @name = args[:name] if args.key?(:name)
2844
- @worker_config = args[:worker_config] if args.key?(:worker_config)
2845
2745
  end
2846
2746
  end
2847
2747
 
@@ -3888,11 +3788,6 @@ module Google
3888
3788
  # @return [String]
3889
3789
  attr_accessor :etag
3890
3790
 
3891
- # Configuration for a Hybrid Worker Pool Next ID: 6
3892
- # Corresponds to the JSON property `hybridPoolConfig`
3893
- # @return [Google::Apis::CloudbuildV1::HybridPoolConfig]
3894
- attr_accessor :hybrid_pool_config
3895
-
3896
3791
  # Output only. The resource name of the `WorkerPool`, with format `projects/`
3897
3792
  # project`/locations/`location`/workerPools/`worker_pool``. The value of ``
3898
3793
  # worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
@@ -3932,7 +3827,6 @@ module Google
3932
3827
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3933
3828
  @display_name = args[:display_name] if args.key?(:display_name)
3934
3829
  @etag = args[:etag] if args.key?(:etag)
3935
- @hybrid_pool_config = args[:hybrid_pool_config] if args.key?(:hybrid_pool_config)
3936
3830
  @name = args[:name] if args.key?(:name)
3937
3831
  @private_pool_v1_config = args[:private_pool_v1_config] if args.key?(:private_pool_v1_config)
3938
3832
  @state = args[:state] if args.key?(:state)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.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 = "20220131"
26
26
  end
27
27
  end
28
28
  end
@@ -280,12 +280,6 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
283
  class GoogleDevtoolsCloudbuildV2OperationMetadata
290
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
285
 
@@ -310,18 +304,6 @@ module Google
310
304
  include Google::Apis::Core::JsonObjectSupport
311
305
  end
312
306
 
313
- class HybridPoolConfig
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class HybridWorkerConfig
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
307
  class InlineSecret
326
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
309
 
@@ -1120,15 +1102,6 @@ module Google
1120
1102
  end
1121
1103
  end
1122
1104
 
1123
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1124
- # @private
1125
- class Representation < Google::Apis::Core::JsonRepresentation
1126
- property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1127
- property :memory_gb, as: 'memoryGb'
1128
- property :vcpu_count, as: 'vcpuCount'
1129
- end
1130
- end
1131
-
1132
1105
  class GoogleDevtoolsCloudbuildV2OperationMetadata
1133
1106
  # @private
1134
1107
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1166,24 +1139,6 @@ module Google
1166
1139
  end
1167
1140
  end
1168
1141
 
1169
- class HybridPoolConfig
1170
- # @private
1171
- class Representation < Google::Apis::Core::JsonRepresentation
1172
- property :default_worker_config, as: 'defaultWorkerConfig', class: Google::Apis::CloudbuildV1::HybridWorkerConfig, decorator: Google::Apis::CloudbuildV1::HybridWorkerConfig::Representation
1173
-
1174
- property :membership, as: 'membership'
1175
- end
1176
- end
1177
-
1178
- class HybridWorkerConfig
1179
- # @private
1180
- class Representation < Google::Apis::Core::JsonRepresentation
1181
- property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1182
- property :memory_gb, as: 'memoryGb'
1183
- property :vcpu_count, as: 'vcpuCount'
1184
- end
1185
- end
1186
-
1187
1142
  class InlineSecret
1188
1143
  # @private
1189
1144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1341,8 +1296,6 @@ module Google
1341
1296
  # @private
1342
1297
  class Representation < Google::Apis::Core::JsonRepresentation
1343
1298
  property :name, as: 'name'
1344
- property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
1345
-
1346
1299
  end
1347
1300
  end
1348
1301
 
@@ -1638,8 +1591,6 @@ module Google
1638
1591
  property :delete_time, as: 'deleteTime'
1639
1592
  property :display_name, as: 'displayName'
1640
1593
  property :etag, as: 'etag'
1641
- property :hybrid_pool_config, as: 'hybridPoolConfig', class: Google::Apis::CloudbuildV1::HybridPoolConfig, decorator: Google::Apis::CloudbuildV1::HybridPoolConfig::Representation
1642
-
1643
1594
  property :name, as: 'name'
1644
1595
  property :private_pool_v1_config, as: 'privatePoolV1Config', class: Google::Apis::CloudbuildV1::PrivatePoolV1Config, decorator: Google::Apis::CloudbuildV1::PrivatePoolV1Config::Representation
1645
1596
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.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-02-14 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
63
63
  post_install_message:
64
64
  rdoc_options: []