google-apis-workstations_v1beta 0.23.0 → 0.25.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: e1874098e82c9424bdafdfb172c0c15b5f90e39b1bdefcde0aa943a21c683f9e
4
- data.tar.gz: '0386efcd9d6519faed69008d717ec47d2ceb99ba0e0df5db98dddbff88edbe6e'
3
+ metadata.gz: a6a67c02fdb09390b2c6af99ea16657d7c36349f716b7e950f481d0cafc5a5fb
4
+ data.tar.gz: 5e856007b1ce9f0b15d6bdcca71abe932c7d4e9be9cd97fdc2ffd7c78569ffbe
5
5
  SHA512:
6
- metadata.gz: 87f9966a7f902b876b9ec3d0f8a4556a11d6f336cf57b81d954e3aa167896b0b6a1a773983b46f1d5183a7268402338c4e6c806340749dd3c274f77dde1eaf1e
7
- data.tar.gz: 32431d0091f5b712ca00bc9c527dc3c7efeb852575bbfcd901bc695e5dce8c1e06dfd8124186b513ecb97600bde053c4cfc2a0dded63bf3f811f004b29820af9
6
+ metadata.gz: 3038102faae4b164906401d0238362f3023fac5c3f4c7caf4b013606c71812c1f8cc5d63af412b5ac76989e8745fea105ff4df47dc80a3f950a1c8569213b9c7
7
+ data.tar.gz: 95b42be6ed7d0253737f3b1d15f7085fb67e7a38d4b360ca366f02e4d9ccd0d197188e198f8bbacdd1435eba45fb2321f091a578ecae9bada79628e3fa1fe702
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.25.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240221
6
+
7
+ ### v0.24.0 (2024-02-24)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.23.0 (2024-02-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240130
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/workstations) may provide g
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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
@@ -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 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
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 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
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 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.
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.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
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 = "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.23.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-02-04 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.23.0
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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Workstations API V1beta