google-apis-cloudbuild_v1 0.22.0 → 0.23.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: 7d11e5c4a19fa54d4e7f4429c51b6850559cf2b748100e263d01c5ebcc5f7cf9
4
- data.tar.gz: c713c17cb3be96593f04f8f19a3dc2867480d26b97ecd3069c2664698ebae780
3
+ metadata.gz: a8f283555c0a088f6db78dc97ffc920eb293551bd60f3bdb5021fc0e54b5fcc1
4
+ data.tar.gz: 6e6efce837d854dcfc3eb2f204e76780dac2a4d41025727926c998d2f3aff984
5
5
  SHA512:
6
- metadata.gz: 5f72f47b71b05a6915258e84bd359da022469f978e47c14f7cd54a8463c16bf5b2d9792a47219a8f1b5ebacbb8b3d331eec85354d95d18e0e20db72fe5553b49
7
- data.tar.gz: 9a9c1eb654d2f0ca81536cebc30ca4425f80bdd198bdded5451fa1d943de7f4ec5e9073af2543d8a619a5a2710bf4f1e7eecb937a20acd21afc40b911423ec59
6
+ metadata.gz: 7ce1d558c7809e539cbc085e5a3ca5f6dfa71184c9b20d11f7c40bd87fb28e1abb9d348669ffee679f97c4d3eee4be54d86ec87e3968f097613746bd2df803b8
7
+ data.tar.gz: e9d5dd64ed11fc88da313303d2faf0b3374e46e716076c4a57fb7579e3270655a681ed67180e88a6ef7645991abf6c0f93eb38e6c0f6f97b8bee08a2b457ae05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.23.0 (2022-02-05)
4
+
5
+ * Regenerated from discovery document revision 20220126
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.22.0 (2022-01-11)
4
9
 
5
10
  * Regenerated from discovery document revision 20211230
@@ -2048,6 +2048,40 @@ 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
+
2051
2085
  # Represents the metadata of the long-running operation.
2052
2086
  class GoogleDevtoolsCloudbuildV2OperationMetadata
2053
2087
  include Google::Apis::Core::Hashable
@@ -2200,6 +2234,66 @@ module Google
2200
2234
  end
2201
2235
  end
2202
2236
 
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
+
2203
2297
  # Pairs a set of secret environment variables mapped to encrypted values with
2204
2298
  # the Cloud KMS key to use to decrypt the value.
2205
2299
  class InlineSecret
@@ -2735,6 +2829,11 @@ module Google
2735
2829
  # @return [String]
2736
2830
  attr_accessor :name
2737
2831
 
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
+
2738
2837
  def initialize(**args)
2739
2838
  update!(**args)
2740
2839
  end
@@ -2742,6 +2841,7 @@ module Google
2742
2841
  # Update properties of this object
2743
2842
  def update!(**args)
2744
2843
  @name = args[:name] if args.key?(:name)
2844
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
2745
2845
  end
2746
2846
  end
2747
2847
 
@@ -3788,6 +3888,11 @@ module Google
3788
3888
  # @return [String]
3789
3889
  attr_accessor :etag
3790
3890
 
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
+
3791
3896
  # Output only. The resource name of the `WorkerPool`, with format `projects/`
3792
3897
  # project`/locations/`location`/workerPools/`worker_pool``. The value of ``
3793
3898
  # worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
@@ -3827,6 +3932,7 @@ module Google
3827
3932
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3828
3933
  @display_name = args[:display_name] if args.key?(:display_name)
3829
3934
  @etag = args[:etag] if args.key?(:etag)
3935
+ @hybrid_pool_config = args[:hybrid_pool_config] if args.key?(:hybrid_pool_config)
3830
3936
  @name = args[:name] if args.key?(:name)
3831
3937
  @private_pool_v1_config = args[:private_pool_v1_config] if args.key?(:private_pool_v1_config)
3832
3938
  @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.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211230"
25
+ REVISION = "20220126"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ 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
+
283
289
  class GoogleDevtoolsCloudbuildV2OperationMetadata
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -304,6 +310,18 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
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
+
307
325
  class InlineSecret
308
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
327
 
@@ -1102,6 +1120,15 @@ module Google
1102
1120
  end
1103
1121
  end
1104
1122
 
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
+
1105
1132
  class GoogleDevtoolsCloudbuildV2OperationMetadata
1106
1133
  # @private
1107
1134
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1139,6 +1166,24 @@ module Google
1139
1166
  end
1140
1167
  end
1141
1168
 
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
+
1142
1187
  class InlineSecret
1143
1188
  # @private
1144
1189
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1296,6 +1341,8 @@ module Google
1296
1341
  # @private
1297
1342
  class Representation < Google::Apis::Core::JsonRepresentation
1298
1343
  property :name, as: 'name'
1344
+ property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
1345
+
1299
1346
  end
1300
1347
  end
1301
1348
 
@@ -1591,6 +1638,8 @@ module Google
1591
1638
  property :delete_time, as: 'deleteTime'
1592
1639
  property :display_name, as: 'displayName'
1593
1640
  property :etag, as: 'etag'
1641
+ property :hybrid_pool_config, as: 'hybridPoolConfig', class: Google::Apis::CloudbuildV1::HybridPoolConfig, decorator: Google::Apis::CloudbuildV1::HybridPoolConfig::Representation
1642
+
1594
1643
  property :name, as: 'name'
1595
1644
  property :private_pool_v1_config, as: 'privatePoolV1Config', class: Google::Apis::CloudbuildV1::PrivatePoolV1Config, decorator: Google::Apis::CloudbuildV1::PrivatePoolV1Config::Representation
1596
1645
 
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.22.0
4
+ version: 0.23.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-01-17 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.23.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: []