google-apis-workstations_v1beta 0.28.0 → 0.30.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: 246df60bea584010c297b4386cfa33aca8ed34c6ef501974742464844e9fde54
4
- data.tar.gz: 4c7dbb98f16ab8890afc9cbf9527d4aa7ff718b6bc36f9eb84f9f764ff7d36dc
3
+ metadata.gz: c074571e4cf043e80ac0398a2bb2ef38501d54acce3611c1b8d01af7eadf8a19
4
+ data.tar.gz: 5ed2b8e8207be93c39b0446c25271e6b7e379bf868c7c5f42c4ce15875dc0179
5
5
  SHA512:
6
- metadata.gz: f603e2ad032ba3f8b540129e70e55e78594191df4ffc5e42dc576ff68990a45a00e7b327acb520d29169fb74c1f051eefc6aa5b281776f8150c7e7ecf28b007f
7
- data.tar.gz: 8622401170bddbf5302b60e87af1c1747f96a024de82109707e01797e23a8c7cb376244ba45e19a763952ff85a765dfe0588378f9a921a76446fb8f74dfc1aa0
6
+ metadata.gz: 17912e40feb4683c864e46ec5ff633b69d71f533636942eb5b64777cf0174194fafcf90813392fda6aafc400074a24560272dfd8f824a78b457c2115105fe911
7
+ data.tar.gz: 4e89d96c6189ac975b682b94702bd13b239684c52c8adf2d0d9c5f7c46d975a6b797b50edc3911701df3a743412db92ff795592c986a9ccda53fffd0b381db23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.30.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240528
6
+
7
+ ### v0.29.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240520
10
+
3
11
  ### v0.28.0 (2024-05-19)
4
12
 
5
13
  * 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)
@@ -370,11 +407,11 @@ module Google
370
407
  end
371
408
  end
372
409
 
373
- # Configuration options for a custom domain.
410
+ # Configuration options for private workstation clusters.
374
411
  class DomainConfig
375
412
  include Google::Apis::Core::Hashable
376
413
 
377
- # Immutable. Domain used by Workstations for HTTP ingress.
414
+ # Immutable. Whether Workstations endpoint is private.
378
415
  # Corresponds to the JSON property `domain`
379
416
  # @return [String]
380
417
  attr_accessor :domain
@@ -551,7 +588,7 @@ module Google
551
588
  # are input/output bound. * **Machine Type**: nested virtualization can only be
552
589
  # enabled on workstation configurations that specify a machine_type in the N1 or
553
590
  # N2 machine series. * **GPUs**: nested virtualization may not be enabled on
554
- # workstation configurations with accelerators. * **Operating System**: Because [
591
+ # workstation configurations with accelerators. * **Operating System**: because [
555
592
  # Container-Optimized OS](https://cloud.google.com/compute/docs/images/os-
556
593
  # details#container-optimized_os_cos) does not support nested virtualization,
557
594
  # when nested virtualization is enabled, the underlying Compute Engine VM
@@ -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 grants 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 grants 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
@@ -1310,7 +1357,7 @@ module Google
1310
1357
  end
1311
1358
 
1312
1359
  # A PortsConfig defines a range of ports. Both first and last are inclusive. To
1313
- # specify a single port, both first and last should be same.
1360
+ # specify a single port, both first and last should be the same.
1314
1361
  class PortRange
1315
1362
  include Google::Apis::Core::Hashable
1316
1363
 
@@ -1335,37 +1382,27 @@ module Google
1335
1382
  end
1336
1383
  end
1337
1384
 
1338
- # Configuration options for private workstation clusters.
1385
+ #
1339
1386
  class PrivateClusterConfig
1340
1387
  include Google::Apis::Core::Hashable
1341
1388
 
1342
- # Optional. Additional projects that are allowed to attach to the workstation
1343
- # cluster's service attachment. By default, the workstation cluster's project
1344
- # and the VPC host project (if different) are allowed.
1389
+ #
1345
1390
  # Corresponds to the JSON property `allowedProjects`
1346
1391
  # @return [Array<String>]
1347
1392
  attr_accessor :allowed_projects
1348
1393
 
1349
- # Output only. Hostname for the workstation cluster. This field will be
1350
- # populated only when private endpoint is enabled. To access workstations in the
1351
- # workstation cluster, create a new DNS zone mapping this domain name to an
1352
- # internal IP address and a forwarding rule mapping that address to the service
1353
- # attachment.
1394
+ #
1354
1395
  # Corresponds to the JSON property `clusterHostname`
1355
1396
  # @return [String]
1356
1397
  attr_accessor :cluster_hostname
1357
1398
 
1358
- # Immutable. Whether Workstations endpoint is private.
1399
+ #
1359
1400
  # Corresponds to the JSON property `enablePrivateEndpoint`
1360
1401
  # @return [Boolean]
1361
1402
  attr_accessor :enable_private_endpoint
1362
1403
  alias_method :enable_private_endpoint?, :enable_private_endpoint
1363
1404
 
1364
- # Output only. Service attachment URI for the workstation cluster. The service
1365
- # attachemnt is created when private endpoint is enabled. To access workstations
1366
- # in the workstation cluster, configure access to the managed service using [
1367
- # Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-
1368
- # service-connect-services).
1405
+ #
1369
1406
  # Corresponds to the JSON property `serviceAttachmentUri`
1370
1407
  # @return [String]
1371
1408
  attr_accessor :service_attachment_uri
@@ -1766,7 +1803,7 @@ module Google
1766
1803
  # @return [String]
1767
1804
  attr_accessor :display_name
1768
1805
 
1769
- # Configuration options for a custom domain.
1806
+ # Configuration options for private workstation clusters.
1770
1807
  # Corresponds to the JSON property `domainConfig`
1771
1808
  # @return [Google::Apis::WorkstationsV1beta::DomainConfig]
1772
1809
  attr_accessor :domain_config
@@ -1796,7 +1833,7 @@ module Google
1796
1833
  # @return [String]
1797
1834
  attr_accessor :network
1798
1835
 
1799
- # Configuration options for private workstation clusters.
1836
+ # Optional. Configuration for private workstation cluster.
1800
1837
  # Corresponds to the JSON property `privateClusterConfig`
1801
1838
  # @return [Google::Apis::WorkstationsV1beta::PrivateClusterConfig]
1802
1839
  attr_accessor :private_cluster_config
@@ -1861,7 +1898,7 @@ module Google
1861
1898
  class WorkstationConfig
1862
1899
  include Google::Apis::Core::Hashable
1863
1900
 
1864
- # Optional. Single or Range of ports externally accessible in the workstation.
1901
+ # Optional. A Single or Range of ports externally accessible in the workstation.
1865
1902
  # If not specified defaults to ports 22, 80 and ports 1024-65535.
1866
1903
  # Corresponds to the JSON property `allowedPorts`
1867
1904
  # @return [Array<Google::Apis::WorkstationsV1beta::PortRange>]
@@ -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.30.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 = "20240528"
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.30.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-06-02 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.30.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: []