google-apis-workstations_v1 0.17.0 → 0.18.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: 805c5b9c35ed6a2bfe42c6d47cfc505453f011b26b858224f46e6f0d9ebcab78
4
- data.tar.gz: e1fbcfb3526e7ff03b161848514f8defc3fddcec39a2c1f3e8c59b9008ad871c
3
+ metadata.gz: 1e7aeb896c9da474ff141d126190581c5048394c7266e5bedf8460a800ee711f
4
+ data.tar.gz: 4a1784359976a1655e4217f887148eebba9f5406ef62277330d5f39aad813a8e
5
5
  SHA512:
6
- metadata.gz: ae8a8aa1f44286b91c5c1b5ba5435046bc24ca3b6b8d44cd73a7931a2d4eaac59bf9e6b0bffd065e9a9072f268ccd1bf0371d424d0dab4f4c4dbeffc99397601
7
- data.tar.gz: b1c3808fe0bd0430b5665fe7fda027ee4d1b11b369832cf706ae3db917359b3e9a8a93f326f434851b090e73a5bc48475c0ba0b4ead94437d86dd1625a761e54
6
+ metadata.gz: 7e2947c2d573691b7a7780124d94c24e2234dab1d5a8ebbe1bec7ef1f4b7af75eb9763fcf2febafc35d72584bd7fdeee40a1c421743ffa388d558d9e22603254
7
+ data.tar.gz: efeb9fa63b5dc65f1b301a84913a94b1c0afe1fbd5de4fb357d60c72069bbb0fcf5fcbb51f9650926dd3ff81a7cda4ba55a2230c108430d36df7699522dff281
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.18.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241009
6
+
3
7
  ### v0.17.0 (2024-09-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20240904
@@ -220,6 +220,80 @@ module Google
220
220
  end
221
221
  end
222
222
 
223
+ # A configuration that workstations can boost to.
224
+ class BoostConfig
225
+ include Google::Apis::Core::Hashable
226
+
227
+ # Optional. A list of the type and count of accelerator cards attached to the
228
+ # boost instance. Defaults to `none`.
229
+ # Corresponds to the JSON property `accelerators`
230
+ # @return [Array<Google::Apis::WorkstationsV1::Accelerator>]
231
+ attr_accessor :accelerators
232
+
233
+ # Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum
234
+ # boot disk size is `30` GB. Defaults to `50` GB.
235
+ # Corresponds to the JSON property `bootDiskSizeGb`
236
+ # @return [Fixnum]
237
+ attr_accessor :boot_disk_size_gb
238
+
239
+ # Optional. Whether to enable nested virtualization on boosted Cloud
240
+ # Workstations VMs running using this boost configuration. Defaults to false.
241
+ # Nested virtualization lets you run virtual machine (VM) instances inside your
242
+ # workstation. Before enabling nested virtualization, consider the following
243
+ # important considerations. Cloud Workstations instances are subject to the [
244
+ # same restrictions as Compute Engine instances](https://cloud.google.com/
245
+ # compute/docs/instances/nested-virtualization/overview#restrictions): * **
246
+ # Organization policy**: projects, folders, or organizations may be restricted
247
+ # from creating nested VMs if the **Disable VM nested virtualization**
248
+ # constraint is enforced in the organization policy. For more information, see
249
+ # the Compute Engine section, [Checking whether nested virtualization is allowed]
250
+ # (https://cloud.google.com/compute/docs/instances/nested-virtualization/
251
+ # managing-constraint#checking_whether_nested_virtualization_is_allowed). * **
252
+ # Performance**: nested VMs might experience a 10% or greater decrease in
253
+ # performance for workloads that are CPU-bound and possibly greater than a 10%
254
+ # decrease for workloads that are input/output bound. * **Machine Type**: nested
255
+ # virtualization can only be enabled on boost configurations that specify a
256
+ # machine_type in the N1 or N2 machine series.
257
+ # Corresponds to the JSON property `enableNestedVirtualization`
258
+ # @return [Boolean]
259
+ attr_accessor :enable_nested_virtualization
260
+ alias_method :enable_nested_virtualization?, :enable_nested_virtualization
261
+
262
+ # Optional. Required. The id to be used for the boost configuration.
263
+ # Corresponds to the JSON property `id`
264
+ # @return [String]
265
+ attr_accessor :id
266
+
267
+ # Optional. The type of machine that boosted VM instances will use—for example, `
268
+ # e2-standard-4`. For more information about machine types that Cloud
269
+ # Workstations supports, see the list of [available machine types](https://cloud.
270
+ # google.com/workstations/docs/available-machine-types). Defaults to `e2-
271
+ # standard-4`.
272
+ # Corresponds to the JSON property `machineType`
273
+ # @return [String]
274
+ attr_accessor :machine_type
275
+
276
+ # Optional. The number of boost VMs that the system should keep idle so that
277
+ # workstations can be boosted quickly. Defaults to `0`.
278
+ # Corresponds to the JSON property `poolSize`
279
+ # @return [Fixnum]
280
+ attr_accessor :pool_size
281
+
282
+ def initialize(**args)
283
+ update!(**args)
284
+ end
285
+
286
+ # Update properties of this object
287
+ def update!(**args)
288
+ @accelerators = args[:accelerators] if args.key?(:accelerators)
289
+ @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
290
+ @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
291
+ @id = args[:id] if args.key?(:id)
292
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
293
+ @pool_size = args[:pool_size] if args.key?(:pool_size)
294
+ end
295
+ end
296
+
223
297
  # The request message for Operations.CancelOperation.
224
298
  class CancelOperationRequest
225
299
  include Google::Apis::Core::Hashable
@@ -456,6 +530,12 @@ module Google
456
530
  # @return [Array<Google::Apis::WorkstationsV1::Accelerator>]
457
531
  attr_accessor :accelerators
458
532
 
533
+ # Optional. A list of the boost configurations that workstations created using
534
+ # this workstation configuration are allowed to use.
535
+ # Corresponds to the JSON property `boostConfigs`
536
+ # @return [Array<Google::Apis::WorkstationsV1::BoostConfig>]
537
+ attr_accessor :boost_configs
538
+
459
539
  # Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum
460
540
  # boot disk size is `30` GB. Defaults to `50` GB.
461
541
  # Corresponds to the JSON property `bootDiskSizeGb`
@@ -580,6 +660,7 @@ module Google
580
660
  # Update properties of this object
581
661
  def update!(**args)
582
662
  @accelerators = args[:accelerators] if args.key?(:accelerators)
663
+ @boost_configs = args[:boost_configs] if args.key?(:boost_configs)
583
664
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
584
665
  @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
585
666
  @disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
@@ -1836,6 +1917,12 @@ module Google
1836
1917
  # @return [String]
1837
1918
  attr_accessor :subnetwork
1838
1919
 
1920
+ # Optional. Tag keys/values directly bound to this resource. For example: "123/
1921
+ # environment": "production", "123/costCenter": "marketing"
1922
+ # Corresponds to the JSON property `tags`
1923
+ # @return [Hash<String,String>]
1924
+ attr_accessor :tags
1925
+
1839
1926
  # Output only. A system-assigned unique identifier for this workstation cluster.
1840
1927
  # Corresponds to the JSON property `uid`
1841
1928
  # @return [String]
@@ -1867,6 +1954,7 @@ module Google
1867
1954
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
1868
1955
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1869
1956
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1957
+ @tags = args[:tags] if args.key?(:tags)
1870
1958
  @uid = args[:uid] if args.key?(:uid)
1871
1959
  @update_time = args[:update_time] if args.key?(:update_time)
1872
1960
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1
18
18
  # Version of the google-apis-workstations_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240904"
25
+ REVISION = "20241009"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class BoostConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class CancelOperationRequest
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -315,6 +321,19 @@ module Google
315
321
  end
316
322
  end
317
323
 
324
+ class BoostConfig
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1::Accelerator, decorator: Google::Apis::WorkstationsV1::Accelerator::Representation
328
+
329
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
330
+ property :enable_nested_virtualization, as: 'enableNestedVirtualization'
331
+ property :id, as: 'id'
332
+ property :machine_type, as: 'machineType'
333
+ property :pool_size, as: 'poolSize'
334
+ end
335
+ end
336
+
318
337
  class CancelOperationRequest
319
338
  # @private
320
339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -379,6 +398,8 @@ module Google
379
398
  class Representation < Google::Apis::Core::JsonRepresentation
380
399
  collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1::Accelerator, decorator: Google::Apis::WorkstationsV1::Accelerator::Representation
381
400
 
401
+ collection :boost_configs, as: 'boostConfigs', class: Google::Apis::WorkstationsV1::BoostConfig, decorator: Google::Apis::WorkstationsV1::BoostConfig::Representation
402
+
382
403
  property :boot_disk_size_gb, as: 'bootDiskSizeGb'
383
404
  property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::WorkstationsV1::GceConfidentialInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceConfidentialInstanceConfig::Representation
384
405
 
@@ -699,6 +720,7 @@ module Google
699
720
 
700
721
  property :reconciling, as: 'reconciling'
701
722
  property :subnetwork, as: 'subnetwork'
723
+ hash :tags, as: 'tags'
702
724
  property :uid, as: 'uid'
703
725
  property :update_time, as: 'updateTime'
704
726
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.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: 2024-09-15 00:00:00.000000000 Z
11
+ date: 2024-10-27 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-workstations_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Workstations API V1