google-apis-workstations_v1beta 0.27.0 → 0.29.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: 1ef364d56fab21079bc3148fcd78b9c0bf2c96b282294a7594ab4ed147345f9a
4
- data.tar.gz: f639d8a52da82ad956b8899d99116e3e899cf0f25d5866ed1b0eabd06f6ed158
3
+ metadata.gz: 6e24066cf7d97913fe2b097f1fba2643e2819b00f4bc2ea664b654364792782c
4
+ data.tar.gz: 3ea42fd65c8d7c80503cbcfa69a83850671bd7d6ab6fa1d3412db2b220f8077c
5
5
  SHA512:
6
- metadata.gz: 1852e6148710c12eb02459714a310c62d03556074befa4cd9c68280e2116fa615122584a7b69e070d5a8b2c3f841ee17dcc359fc2c77dd55ae7b37a1a3bacaa2
7
- data.tar.gz: e746a92f2c9dd4e70aafa6cff54c4b9c5be056cd0e99c09dc5e81e53c2cc74f095b76e21a5f63933d3a284a8562a01b72008dd486bc5f0d0745bc64af0b01423
6
+ metadata.gz: 539604980c7872152d8badc1ccb31c0d7f4768ca73e954938443b3a5f70a901fa8965dfd6a63f3b38608b712b55dfc21753d017e4b36ccc3bf7c882fefe9dd61
7
+ data.tar.gz: d5ce21d7079f57f46d772ccae867c04900d363dcbbed03805fd045088e784b326991c24c4eea83675254b2b1bdbb1c0782f539917c4ba90a0ae9f13bfda1eb75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.28.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240508
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.27.0 (2024-05-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20240424
@@ -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
@@ -1309,6 +1356,32 @@ module Google
1309
1356
  end
1310
1357
  end
1311
1358
 
1359
+ # A PortsConfig defines a range of ports. Both first and last are inclusive. To
1360
+ # specify a single port, both first and last should be same.
1361
+ class PortRange
1362
+ include Google::Apis::Core::Hashable
1363
+
1364
+ # Required. Starting port number for the current range of ports.
1365
+ # Corresponds to the JSON property `first`
1366
+ # @return [Fixnum]
1367
+ attr_accessor :first
1368
+
1369
+ # Required. Ending port number for the current range of ports.
1370
+ # Corresponds to the JSON property `last`
1371
+ # @return [Fixnum]
1372
+ attr_accessor :last
1373
+
1374
+ def initialize(**args)
1375
+ update!(**args)
1376
+ end
1377
+
1378
+ # Update properties of this object
1379
+ def update!(**args)
1380
+ @first = args[:first] if args.key?(:first)
1381
+ @last = args[:last] if args.key?(:last)
1382
+ end
1383
+ end
1384
+
1312
1385
  # Configuration options for private workstation clusters.
1313
1386
  class PrivateClusterConfig
1314
1387
  include Google::Apis::Core::Hashable
@@ -1835,6 +1908,12 @@ module Google
1835
1908
  class WorkstationConfig
1836
1909
  include Google::Apis::Core::Hashable
1837
1910
 
1911
+ # Optional. Single or Range of ports externally accessible in the workstation.
1912
+ # If not specified defaults to ports 22, 80 and ports 1024-65535.
1913
+ # Corresponds to the JSON property `allowedPorts`
1914
+ # @return [Array<Google::Apis::WorkstationsV1beta::PortRange>]
1915
+ attr_accessor :allowed_ports
1916
+
1838
1917
  # Optional. Client-specified annotations.
1839
1918
  # Corresponds to the JSON property `annotations`
1840
1919
  # @return [Hash<String,String>]
@@ -2004,6 +2083,7 @@ module Google
2004
2083
 
2005
2084
  # Update properties of this object
2006
2085
  def update!(**args)
2086
+ @allowed_ports = args[:allowed_ports] if args.key?(:allowed_ports)
2007
2087
  @annotations = args[:annotations] if args.key?(:annotations)
2008
2088
  @conditions = args[:conditions] if args.key?(:conditions)
2009
2089
  @container = args[:container] if args.key?(:container)
@@ -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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240424"
25
+ REVISION = "20240520"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class PortRange
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class PrivateClusterConfig
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -308,6 +314,8 @@ module Google
308
314
  class Representation < Google::Apis::Core::JsonRepresentation
309
315
  collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1beta::Accelerator, decorator: Google::Apis::WorkstationsV1beta::Accelerator::Representation
310
316
 
317
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
318
+ property :enable_nested_virtualization, as: 'enableNestedVirtualization'
311
319
  property :id, as: 'id'
312
320
  property :machine_type, as: 'machineType'
313
321
  property :pool_size, as: 'poolSize'
@@ -432,6 +440,7 @@ module Google
432
440
  # @private
433
441
  class Representation < Google::Apis::Core::JsonRepresentation
434
442
  property :expire_time, as: 'expireTime'
443
+ property :port, as: 'port'
435
444
  property :ttl, as: 'ttl'
436
445
  end
437
446
  end
@@ -563,6 +572,14 @@ module Google
563
572
  end
564
573
  end
565
574
 
575
+ class PortRange
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ property :first, as: 'first'
579
+ property :last, as: 'last'
580
+ end
581
+ end
582
+
566
583
  class PrivateClusterConfig
567
584
  # @private
568
585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -680,6 +697,8 @@ module Google
680
697
  class WorkstationConfig
681
698
  # @private
682
699
  class Representation < Google::Apis::Core::JsonRepresentation
700
+ collection :allowed_ports, as: 'allowedPorts', class: Google::Apis::WorkstationsV1beta::PortRange, decorator: Google::Apis::WorkstationsV1beta::PortRange::Representation
701
+
683
702
  hash :annotations, as: 'annotations'
684
703
  collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
685
704
 
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.27.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-05 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.27.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: []