google-apis-workstations_v1beta 0.24.0 → 0.26.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: 5c8ffc88120063fd9b8b19dbdd311df3cc0afb0ef8536803fea774d916cb71c3
4
- data.tar.gz: fc47b936ca05831a129132bef481eb287c850e85847175c8e0203900441d89d1
3
+ metadata.gz: 364a9e73eb73d37973ba998ce088bba03cd27caad146b9e59745ce591f168603
4
+ data.tar.gz: 6c0e872c3444b335111ce1b237db1eb3d993f3fc1d90c976ae01b6e73783e982
5
5
  SHA512:
6
- metadata.gz: f6d9c086b2a433655048962323e52d8acce48fcc794bdfc1fe717b34be76b1e89ee6f93f4cb9941c917b0cb86e7ecddba0b90f4afb634a9de07f68fb93768a91
7
- data.tar.gz: 99068f32e31de60e3be8075145a26c3f521cb8c7719bebe11d48dda90f00cfbef4cb75a552fbf469640988cd87fdebc9cc7098b650fca27264d8683918b8677f
6
+ metadata.gz: 7d4b1a6123219137e851c3282b6e3521988f45ed8b4ac9fb84f755c90f8b9073fed7bb8b31a8ff36a235fc28f952b6b7a0ac217d2f25ba1aeb0fd138cc894e7a
7
+ data.tar.gz: 66976a06b95805022ee8cbf0f389decb8f9754275cbb9ea5307ff0bb6df4b3c8e293d74d1b08631045a2c0606cf9c72f27916f40019939cff9e0997403d5beca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.26.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240318
6
+
7
+ ### v0.25.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240221
10
+
3
11
  ### v0.24.0 (2024-02-24)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -220,6 +220,49 @@ 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::WorkstationsV1beta::Accelerator>]
231
+ attr_accessor :accelerators
232
+
233
+ # Optional. Required. The id to be used for the boost config.
234
+ # Corresponds to the JSON property `id`
235
+ # @return [String]
236
+ attr_accessor :id
237
+
238
+ # Optional. The type of machine that boosted VM instances will use—for example, `
239
+ # e2-standard-4`. For more information about machine types that Cloud
240
+ # Workstations supports, see the list of [available machine types](https://cloud.
241
+ # google.com/workstations/docs/available-machine-types). Defaults to `e2-
242
+ # standard-4`.
243
+ # Corresponds to the JSON property `machineType`
244
+ # @return [String]
245
+ attr_accessor :machine_type
246
+
247
+ # Optional. The number of boost VMs that the system should keep idle so that
248
+ # workstations can be boosted quickly. Defaults to `0`.
249
+ # Corresponds to the JSON property `poolSize`
250
+ # @return [Fixnum]
251
+ attr_accessor :pool_size
252
+
253
+ def initialize(**args)
254
+ update!(**args)
255
+ end
256
+
257
+ # Update properties of this object
258
+ def update!(**args)
259
+ @accelerators = args[:accelerators] if args.key?(:accelerators)
260
+ @id = args[:id] if args.key?(:id)
261
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
262
+ @pool_size = args[:pool_size] if args.key?(:pool_size)
263
+ end
264
+ end
265
+
223
266
  # The request message for Operations.CancelOperation.
224
267
  class CancelOperationRequest
225
268
  include Google::Apis::Core::Hashable
@@ -456,6 +499,12 @@ module Google
456
499
  # @return [Array<Google::Apis::WorkstationsV1beta::Accelerator>]
457
500
  attr_accessor :accelerators
458
501
 
502
+ # Optional. A list of the boost configurations that workstations created using
503
+ # this workstation configuration are allowed to use.
504
+ # Corresponds to the JSON property `boostConfigs`
505
+ # @return [Array<Google::Apis::WorkstationsV1beta::BoostConfig>]
506
+ attr_accessor :boost_configs
507
+
459
508
  # Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum
460
509
  # boot disk size is `30` GB. Defaults to `50` GB.
461
510
  # Corresponds to the JSON property `bootDiskSizeGb`
@@ -485,7 +534,7 @@ module Google
485
534
  alias_method :disable_ssh?, :disable_ssh
486
535
 
487
536
  # Optional. Whether to enable nested virtualization on Cloud Workstations VMs
488
- # created under this workstation configuration. Nested virtualization lets you
537
+ # created using this workstation configuration. Nested virtualization lets you
489
538
  # run virtual machine (VM) instances inside your workstation. Before enabling
490
539
  # nested virtualization, consider the following important considerations. Cloud
491
540
  # Workstations instances are subject to the [same restrictions as Compute Engine
@@ -572,6 +621,14 @@ module Google
572
621
  # @return [Array<String>]
573
622
  attr_accessor :tags
574
623
 
624
+ # Optional. Resource manager tags to be bound to this instance. Tag keys and
625
+ # values have the same definition as https://cloud.google.com/resource-manager/
626
+ # docs/tags/tags-overview Keys must be in the format `tagKeys/`tag_key_id``, and
627
+ # values are in the format `tagValues/456`.
628
+ # Corresponds to the JSON property `vmTags`
629
+ # @return [Hash<String,String>]
630
+ attr_accessor :vm_tags
631
+
575
632
  def initialize(**args)
576
633
  update!(**args)
577
634
  end
@@ -579,6 +636,7 @@ module Google
579
636
  # Update properties of this object
580
637
  def update!(**args)
581
638
  @accelerators = args[:accelerators] if args.key?(:accelerators)
639
+ @boost_configs = args[:boost_configs] if args.key?(:boost_configs)
582
640
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
583
641
  @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
584
642
  @disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
@@ -591,6 +649,7 @@ module Google
591
649
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
592
650
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
593
651
  @tags = args[:tags] if args.key?(:tags)
652
+ @vm_tags = args[:vm_tags] if args.key?(:vm_tags)
594
653
  end
595
654
  end
596
655
 
@@ -639,10 +698,10 @@ module Google
639
698
  end
640
699
  end
641
700
 
642
- # A PersistentDirectory backed by a Compute Engine regional persistent disk. The
643
- # persistent_directories field is repeated, but it may contain only one entry.
644
- # It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/
645
- # persistent-disks) that mounts to the workstation VM at `/home` when the
701
+ # A Persistent Directory backed by a Compute Engine regional persistent disk.
702
+ # The persistent_directories field is repeated, but it may contain only one
703
+ # entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
704
+ # disks/persistent-disks) that mounts to the workstation VM at `/home` when the
646
705
  # session starts and detaches when the session ends. If this field is empty,
647
706
  # workstations created with this configuration do not have a persistent home
648
707
  # directory.
@@ -1129,10 +1188,10 @@ module Google
1129
1188
  class PersistentDirectory
1130
1189
  include Google::Apis::Core::Hashable
1131
1190
 
1132
- # A PersistentDirectory backed by a Compute Engine regional persistent disk. The
1133
- # persistent_directories field is repeated, but it may contain only one entry.
1134
- # It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/
1135
- # persistent-disks) that mounts to the workstation VM at `/home` when the
1191
+ # A Persistent Directory backed by a Compute Engine regional persistent disk.
1192
+ # The persistent_directories field is repeated, but it may contain only one
1193
+ # entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
1194
+ # disks/persistent-disks) that mounts to the workstation VM at `/home` when the
1136
1195
  # session starts and detaches when the session ends. If this field is empty,
1137
1196
  # workstations created with this configuration do not have a persistent home
1138
1197
  # directory.
@@ -1381,6 +1440,12 @@ module Google
1381
1440
  class StartWorkstationRequest
1382
1441
  include Google::Apis::Core::Hashable
1383
1442
 
1443
+ # Optional. If set, the workstation starts using the boost configuration with
1444
+ # the specified ID.
1445
+ # Corresponds to the JSON property `boostConfig`
1446
+ # @return [String]
1447
+ attr_accessor :boost_config
1448
+
1384
1449
  # Optional. If set, the request will be rejected if the latest version of the
1385
1450
  # workstation on the server does not have this ETag.
1386
1451
  # Corresponds to the JSON property `etag`
@@ -1400,6 +1465,7 @@ module Google
1400
1465
 
1401
1466
  # Update properties of this object
1402
1467
  def update!(**args)
1468
+ @boost_config = args[:boost_config] if args.key?(:boost_config)
1403
1469
  @etag = args[:etag] if args.key?(:etag)
1404
1470
  @validate_only = args[:validate_only] if args.key?(:validate_only)
1405
1471
  end
@@ -1803,10 +1869,10 @@ module Google
1803
1869
  attr_accessor :delete_time
1804
1870
 
1805
1871
  # Optional. Disables support for plain TCP connections in the workstation. By
1806
- # default the service supports TCP connections via a websocket relay. Setting
1807
- # this option to true disables that relay, which prevents the usage of services
1808
- # that require plain tcp connections, such as ssh. When enabled, all
1809
- # communication must occur over https or wss.
1872
+ # default the service supports TCP connections through a websocket relay.
1873
+ # Setting this option to true disables that relay, which prevents the usage of
1874
+ # services that require plain TCP connections, such as SSH. When enabled, all
1875
+ # communication must occur over HTTPS or WSS.
1810
1876
  # Corresponds to the JSON property `disableTcpConnections`
1811
1877
  # @return [Boolean]
1812
1878
  attr_accessor :disable_tcp_connections
@@ -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.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240130"
25
+ REVISION = "20240318"
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
 
@@ -297,6 +303,17 @@ module Google
297
303
  end
298
304
  end
299
305
 
306
+ class BoostConfig
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1beta::Accelerator, decorator: Google::Apis::WorkstationsV1beta::Accelerator::Representation
310
+
311
+ property :id, as: 'id'
312
+ property :machine_type, as: 'machineType'
313
+ property :pool_size, as: 'poolSize'
314
+ end
315
+ end
316
+
300
317
  class CancelOperationRequest
301
318
  # @private
302
319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -361,6 +378,8 @@ module Google
361
378
  class Representation < Google::Apis::Core::JsonRepresentation
362
379
  collection :accelerators, as: 'accelerators', class: Google::Apis::WorkstationsV1beta::Accelerator, decorator: Google::Apis::WorkstationsV1beta::Accelerator::Representation
363
380
 
381
+ collection :boost_configs, as: 'boostConfigs', class: Google::Apis::WorkstationsV1beta::BoostConfig, decorator: Google::Apis::WorkstationsV1beta::BoostConfig::Representation
382
+
364
383
  property :boot_disk_size_gb, as: 'bootDiskSizeGb'
365
384
  property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig::Representation
366
385
 
@@ -375,6 +394,7 @@ module Google
375
394
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
376
395
 
377
396
  collection :tags, as: 'tags'
397
+ hash :vm_tags, as: 'vmTags'
378
398
  end
379
399
  end
380
400
 
@@ -573,6 +593,7 @@ module Google
573
593
  class StartWorkstationRequest
574
594
  # @private
575
595
  class Representation < Google::Apis::Core::JsonRepresentation
596
+ property :boost_config, as: 'boostConfig'
576
597
  property :etag, as: 'etag'
577
598
  property :validate_only, as: 'validateOnly'
578
599
  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.24.0
4
+ version: 0.26.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-31 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.26.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: []