google-apis-workstations_v1beta 0.24.0 → 0.25.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6a67c02fdb09390b2c6af99ea16657d7c36349f716b7e950f481d0cafc5a5fb
|
4
|
+
data.tar.gz: 5e856007b1ce9f0b15d6bdcca71abe932c7d4e9be9cd97fdc2ffd7c78569ffbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3038102faae4b164906401d0238362f3023fac5c3f4c7caf4b013606c71812c1f8cc5d63af412b5ac76989e8745fea105ff4df47dc80a3f950a1c8569213b9c7
|
7
|
+
data.tar.gz: 95b42be6ed7d0253737f3b1d15f7085fb67e7a38d4b360ca366f02e4d9ccd0d197188e198f8bbacdd1435eba45fb2321f091a578ecae9bada79628e3fa1fe702
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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
|
@@ -579,6 +628,7 @@ module Google
|
|
579
628
|
# Update properties of this object
|
580
629
|
def update!(**args)
|
581
630
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
631
|
+
@boost_configs = args[:boost_configs] if args.key?(:boost_configs)
|
582
632
|
@boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
|
583
633
|
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
|
584
634
|
@disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
|
@@ -639,10 +689,10 @@ module Google
|
|
639
689
|
end
|
640
690
|
end
|
641
691
|
|
642
|
-
# A
|
643
|
-
# persistent_directories field is repeated, but it may contain only one
|
644
|
-
# It creates a [persistent disk](https://cloud.google.com/compute/docs/
|
645
|
-
# persistent-disks) that mounts to the workstation VM at `/home` when the
|
692
|
+
# A Persistent Directory backed by a Compute Engine regional persistent disk.
|
693
|
+
# The persistent_directories field is repeated, but it may contain only one
|
694
|
+
# entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
|
695
|
+
# disks/persistent-disks) that mounts to the workstation VM at `/home` when the
|
646
696
|
# session starts and detaches when the session ends. If this field is empty,
|
647
697
|
# workstations created with this configuration do not have a persistent home
|
648
698
|
# directory.
|
@@ -1129,10 +1179,10 @@ module Google
|
|
1129
1179
|
class PersistentDirectory
|
1130
1180
|
include Google::Apis::Core::Hashable
|
1131
1181
|
|
1132
|
-
# A
|
1133
|
-
# persistent_directories field is repeated, but it may contain only one
|
1134
|
-
# It creates a [persistent disk](https://cloud.google.com/compute/docs/
|
1135
|
-
# persistent-disks) that mounts to the workstation VM at `/home` when the
|
1182
|
+
# A Persistent Directory backed by a Compute Engine regional persistent disk.
|
1183
|
+
# The persistent_directories field is repeated, but it may contain only one
|
1184
|
+
# entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/
|
1185
|
+
# disks/persistent-disks) that mounts to the workstation VM at `/home` when the
|
1136
1186
|
# session starts and detaches when the session ends. If this field is empty,
|
1137
1187
|
# workstations created with this configuration do not have a persistent home
|
1138
1188
|
# directory.
|
@@ -1381,6 +1431,12 @@ module Google
|
|
1381
1431
|
class StartWorkstationRequest
|
1382
1432
|
include Google::Apis::Core::Hashable
|
1383
1433
|
|
1434
|
+
# Optional. If set, the workstation starts using the boost configuration with
|
1435
|
+
# the specified ID.
|
1436
|
+
# Corresponds to the JSON property `boostConfig`
|
1437
|
+
# @return [String]
|
1438
|
+
attr_accessor :boost_config
|
1439
|
+
|
1384
1440
|
# Optional. If set, the request will be rejected if the latest version of the
|
1385
1441
|
# workstation on the server does not have this ETag.
|
1386
1442
|
# Corresponds to the JSON property `etag`
|
@@ -1400,6 +1456,7 @@ module Google
|
|
1400
1456
|
|
1401
1457
|
# Update properties of this object
|
1402
1458
|
def update!(**args)
|
1459
|
+
@boost_config = args[:boost_config] if args.key?(:boost_config)
|
1403
1460
|
@etag = args[:etag] if args.key?(:etag)
|
1404
1461
|
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1405
1462
|
end
|
@@ -1803,10 +1860,10 @@ module Google
|
|
1803
1860
|
attr_accessor :delete_time
|
1804
1861
|
|
1805
1862
|
# Optional. Disables support for plain TCP connections in the workstation. By
|
1806
|
-
# default the service supports TCP connections
|
1807
|
-
# this option to true disables that relay, which prevents the usage of
|
1808
|
-
# that require plain
|
1809
|
-
# communication must occur over
|
1863
|
+
# default the service supports TCP connections through a websocket relay.
|
1864
|
+
# Setting this option to true disables that relay, which prevents the usage of
|
1865
|
+
# services that require plain TCP connections, such as SSH. When enabled, all
|
1866
|
+
# communication must occur over HTTPS or WSS.
|
1810
1867
|
# Corresponds to the JSON property `disableTcpConnections`
|
1811
1868
|
# @return [Boolean]
|
1812
1869
|
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.
|
19
|
+
GEM_VERSION = "0.25.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 = "
|
25
|
+
REVISION = "20240221"
|
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
|
|
@@ -573,6 +592,7 @@ module Google
|
|
573
592
|
class StartWorkstationRequest
|
574
593
|
# @private
|
575
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
595
|
+
property :boost_config, as: 'boostConfig'
|
576
596
|
property :etag, as: 'etag'
|
577
597
|
property :validate_only, as: 'validateOnly'
|
578
598
|
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.
|
4
|
+
version: 0.25.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-
|
11
|
+
date: 2024-03-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.25.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: []
|