google-apis-workstations_v1beta 0.28.0 → 0.29.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: 246df60bea584010c297b4386cfa33aca8ed34c6ef501974742464844e9fde54
4
- data.tar.gz: 4c7dbb98f16ab8890afc9cbf9527d4aa7ff718b6bc36f9eb84f9f764ff7d36dc
3
+ metadata.gz: 6e24066cf7d97913fe2b097f1fba2643e2819b00f4bc2ea664b654364792782c
4
+ data.tar.gz: 3ea42fd65c8d7c80503cbcfa69a83850671bd7d6ab6fa1d3412db2b220f8077c
5
5
  SHA512:
6
- metadata.gz: f603e2ad032ba3f8b540129e70e55e78594191df4ffc5e42dc576ff68990a45a00e7b327acb520d29169fb74c1f051eefc6aa5b281776f8150c7e7ecf28b007f
7
- data.tar.gz: 8622401170bddbf5302b60e87af1c1747f96a024de82109707e01797e23a8c7cb376244ba45e19a763952ff85a765dfe0588378f9a921a76446fb8f74dfc1aa0
6
+ metadata.gz: 539604980c7872152d8badc1ccb31c0d7f4768ca73e954938443b3a5f70a901fa8965dfd6a63f3b38608b712b55dfc21753d017e4b36ccc3bf7c882fefe9dd61
7
+ data.tar.gz: d5ce21d7079f57f46d772ccae867c04900d363dcbbed03805fd045088e784b326991c24c4eea83675254b2b1bdbb1c0782f539917c4ba90a0ae9f13bfda1eb75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.29.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240520
6
+
3
7
  ### v0.28.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240508
@@ -230,6 +230,41 @@ module Google
230
230
  # @return [Array<Google::Apis::WorkstationsV1beta::Accelerator>]
231
231
  attr_accessor :accelerators
232
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. Nested virtualization
241
+ # lets you run virtual machine (VM) instances inside your workstation. Before
242
+ # enabling nested virtualization, consider the following important
243
+ # considerations. Cloud Workstations instances are subject to the [same
244
+ # restrictions as Compute Engine instances](https://cloud.google.com/compute/
245
+ # docs/instances/nested-virtualization/overview#restrictions): * **Organization
246
+ # policy**: projects, folders, or organizations may be restricted from creating
247
+ # nested VMs if the **Disable VM nested virtualization** constraint is enforced
248
+ # in the organization policy. For more information, see the Compute Engine
249
+ # section, [Checking whether nested virtualization is allowed](https://cloud.
250
+ # google.com/compute/docs/instances/nested-virtualization/managing-constraint#
251
+ # checking_whether_nested_virtualization_is_allowed). * **Performance**: nested
252
+ # VMs might experience a 10% or greater decrease in performance for workloads
253
+ # that are CPU-bound and possibly greater than a 10% decrease for workloads that
254
+ # are input/output bound. * **Machine Type**: nested virtualization can only be
255
+ # enabled on boost configurations that specify a machine_type in the N1 or N2
256
+ # machine series. * **GPUs**: nested virtualization may not be enabled on boost
257
+ # configurations with accelerators. * **Operating System**: Because [Container-
258
+ # Optimized OS](https://cloud.google.com/compute/docs/images/os-details#
259
+ # container-optimized_os_cos) does not support nested virtualization, when
260
+ # nested virtualization is enabled, the underlying Compute Engine VM instances
261
+ # boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/images/os-
262
+ # details#ubuntu_lts) image. Defaults to false.
263
+ # Corresponds to the JSON property `enableNestedVirtualization`
264
+ # @return [Boolean]
265
+ attr_accessor :enable_nested_virtualization
266
+ alias_method :enable_nested_virtualization?, :enable_nested_virtualization
267
+
233
268
  # Optional. Required. The id to be used for the boost config.
234
269
  # Corresponds to the JSON property `id`
235
270
  # @return [String]
@@ -257,6 +292,8 @@ module Google
257
292
  # Update properties of this object
258
293
  def update!(**args)
259
294
  @accelerators = args[:accelerators] if args.key?(:accelerators)
295
+ @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
296
+ @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
260
297
  @id = args[:id] if args.key?(:id)
261
298
  @machine_type = args[:machine_type] if args.key?(:machine_type)
262
299
  @pool_size = args[:pool_size] if args.key?(:pool_size)
@@ -799,6 +836,15 @@ module Google
799
836
  # @return [String]
800
837
  attr_accessor :expire_time
801
838
 
839
+ # Optional. Port for which the access token should be generated. If specified,
840
+ # the generated access token will grant access only to the specified port of the
841
+ # workstation. If specified, values must be within the range [1 - 65535]. If not
842
+ # specified, the generated access token will grant access to all ports of the
843
+ # workstation.
844
+ # Corresponds to the JSON property `port`
845
+ # @return [Fixnum]
846
+ attr_accessor :port
847
+
802
848
  # Desired lifetime duration of the access token. This value must be at most 24
803
849
  # hours. If a value is not specified, the token's lifetime will be set to a
804
850
  # default value of 1 hour.
@@ -813,6 +859,7 @@ module Google
813
859
  # Update properties of this object
814
860
  def update!(**args)
815
861
  @expire_time = args[:expire_time] if args.key?(:expire_time)
862
+ @port = args[:port] if args.key?(:port)
816
863
  @ttl = args[:ttl] if args.key?(:ttl)
817
864
  end
818
865
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1beta
18
18
  # Version of the google-apis-workstations_v1beta gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240508"
25
+ REVISION = "20240520"
26
26
  end
27
27
  end
28
28
  end
@@ -314,6 +314,8 @@ module Google
314
314
  class Representation < Google::Apis::Core::JsonRepresentation
315
315
  collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1beta::Accelerator, decorator: Google::Apis::WorkstationsV1beta::Accelerator::Representation
316
316
 
317
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
318
+ property :enable_nested_virtualization, as: 'enableNestedVirtualization'
317
319
  property :id, as: 'id'
318
320
  property :machine_type, as: 'machineType'
319
321
  property :pool_size, as: 'poolSize'
@@ -438,6 +440,7 @@ module Google
438
440
  # @private
439
441
  class Representation < Google::Apis::Core::JsonRepresentation
440
442
  property :expire_time, as: 'expireTime'
443
+ property :port, as: 'port'
441
444
  property :ttl, as: 'ttl'
442
445
  end
443
446
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-05-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/main/generated/google-apis-workstations_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []