google-apis-workstations_v1beta 0.12.0 → 0.14.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd7c865b5c820ae410400cba85772982b30be7bfa872827291217668fb177a87
|
4
|
+
data.tar.gz: 27495fbf3f42fb2e175dcd7b622e00e078fb919ec75ac38e47926e0cecabf0fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57974a045731a687c678d8b891617718548d4c1954a88f218d261cacedcb914636c054f2011f192dcfe6205bcc801de1b73792848b9a73dc211da603da49f311
|
7
|
+
data.tar.gz: dd7cf2ccaf25eb6246722f01a0f60a5955f5cd2e82e136e67eb05f00e6b92f876f336578fec9c698a7be08b42fce7da1076db7257846be5e2c866a58721c14dd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
2
2
|
|
3
|
+
### v0.14.0 (2023-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230619
|
6
|
+
|
7
|
+
### v0.13.0 (2023-06-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230531
|
10
|
+
|
3
11
|
### v0.12.0 (2023-05-21)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230510
|
@@ -227,8 +227,14 @@ module Google
|
|
227
227
|
# @return [Hash<String,String>]
|
228
228
|
attr_accessor :env
|
229
229
|
|
230
|
-
# Docker image
|
231
|
-
#
|
230
|
+
# A Docker container image that defines a custom environment. Cloud Workstations
|
231
|
+
# provides a number of [preconfigured images](https://cloud.google.com/
|
232
|
+
# workstations/docs/preconfigured-base-images), but you can create your own [
|
233
|
+
# custom container images](https://cloud.google.com/workstations/docs/custom-
|
234
|
+
# container-images). If using a private image, the `host.gceInstance.
|
235
|
+
# serviceAccount` field must be specified in the workstation configuration and
|
236
|
+
# must have permission to pull the specified image. Otherwise, the image must be
|
237
|
+
# publicly accessible.
|
232
238
|
# Corresponds to the JSON property `image`
|
233
239
|
# @return [String]
|
234
240
|
attr_accessor :image
|
@@ -258,8 +264,11 @@ module Google
|
|
258
264
|
end
|
259
265
|
end
|
260
266
|
|
261
|
-
# A customer-managed encryption key for the Compute Engine resources of
|
262
|
-
# workstation configuration.
|
267
|
+
# A customer-managed encryption key (CMEK) for the Compute Engine resources of
|
268
|
+
# the associated workstation configuration. Specify the name of your Cloud KMS
|
269
|
+
# encryption key and the default service account. We recommend that you use a
|
270
|
+
# separate service account and follow [Cloud KMS best practices](https://cloud.
|
271
|
+
# google.com/kms/docs/separation-of-duties).
|
263
272
|
class CustomerEncryptionKey
|
264
273
|
include Google::Apis::Core::Hashable
|
265
274
|
|
@@ -374,7 +383,8 @@ module Google
|
|
374
383
|
# @return [Array<Google::Apis::WorkstationsV1beta::Accelerator>]
|
375
384
|
attr_accessor :accelerators
|
376
385
|
|
377
|
-
#
|
386
|
+
# The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk
|
387
|
+
# size is `30` GB. Defaults to `50` GB.
|
378
388
|
# Corresponds to the JSON property `bootDiskSizeGb`
|
379
389
|
# @return [Fixnum]
|
380
390
|
attr_accessor :boot_disk_size_gb
|
@@ -384,18 +394,33 @@ module Google
|
|
384
394
|
# @return [Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig]
|
385
395
|
attr_accessor :confidential_instance_config
|
386
396
|
|
387
|
-
#
|
397
|
+
# When set to true, disables public IP addresses for VMs. If you disable public
|
398
|
+
# IP addresses, you must set up Private Google Access or Cloud NAT on your
|
399
|
+
# network. If you use Private Google Access and you use `private.googleapis.com`
|
400
|
+
# or `restricted.googleapis.com` for Container Registry and Artifact Registry,
|
401
|
+
# make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`.
|
402
|
+
# Defaults to false (VMs have public IP addresses).
|
388
403
|
# Corresponds to the JSON property `disablePublicIpAddresses`
|
389
404
|
# @return [Boolean]
|
390
405
|
attr_accessor :disable_public_ip_addresses
|
391
406
|
alias_method :disable_public_ip_addresses?, :disable_public_ip_addresses
|
392
407
|
|
393
|
-
#
|
408
|
+
# Whether to enable nested virtualization on instances.
|
409
|
+
# Corresponds to the JSON property `enableNestedVirtualization`
|
410
|
+
# @return [Boolean]
|
411
|
+
attr_accessor :enable_nested_virtualization
|
412
|
+
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
|
413
|
+
|
414
|
+
# The type of machine to use for VM instances—for example, `e2-standard-4`. For
|
415
|
+
# more information about machine types that Cloud Workstations supports, see the
|
416
|
+
# list of [available machine types](https://cloud.google.com/workstations/docs/
|
417
|
+
# available-machine-types).
|
394
418
|
# Corresponds to the JSON property `machineType`
|
395
419
|
# @return [String]
|
396
420
|
attr_accessor :machine_type
|
397
421
|
|
398
|
-
#
|
422
|
+
# The number of VMs that the system should keep idle so that new workstations
|
423
|
+
# can be started quickly for new users. Defaults to `0` in the API.
|
399
424
|
# Corresponds to the JSON property `poolSize`
|
400
425
|
# @return [Fixnum]
|
401
426
|
attr_accessor :pool_size
|
@@ -406,10 +431,17 @@ module Google
|
|
406
431
|
# @return [Fixnum]
|
407
432
|
attr_accessor :pooled_instances
|
408
433
|
|
409
|
-
#
|
410
|
-
# configuration.
|
411
|
-
#
|
412
|
-
#
|
434
|
+
# The email address of the service account for Cloud Workstations VMs created
|
435
|
+
# with this configuration. When specified, be sure that the service account has `
|
436
|
+
# logginglogEntries.create` permission on the project so it can write logs out
|
437
|
+
# to Cloud Logging. If using a custom container image, the service account must
|
438
|
+
# have permissions to pull the specified image. If you as the administrator want
|
439
|
+
# to be able to `ssh` into the underlying VM, you need to set this value to a
|
440
|
+
# service account for which you have the `iam.serviceAccounts.actAs` permission.
|
441
|
+
# Conversely, if you don't want anyone to be able to `ssh` into the underlying
|
442
|
+
# VM, use a service account where no one has that permission. If not set, VMs
|
443
|
+
# run with a service account provided by the Cloud Workstations service, and the
|
444
|
+
# image must be publicly accessible.
|
413
445
|
# Corresponds to the JSON property `serviceAccount`
|
414
446
|
# @return [String]
|
415
447
|
attr_accessor :service_account
|
@@ -419,7 +451,11 @@ module Google
|
|
419
451
|
# @return [Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig]
|
420
452
|
attr_accessor :shielded_instance_config
|
421
453
|
|
422
|
-
# Network tags to add to the Compute Engine machines backing the
|
454
|
+
# Network tags to add to the Compute Engine machines backing the workstations.
|
455
|
+
# This option applies [network tags](https://cloud.google.com/vpc/docs/add-
|
456
|
+
# remove-network-tags) to VMs created with this configuration. These network
|
457
|
+
# tags enable the creation of [firewall rules](https://cloud.google.com/
|
458
|
+
# workstations/docs/configure-firewall-rules).
|
423
459
|
# Corresponds to the JSON property `tags`
|
424
460
|
# @return [Array<String>]
|
425
461
|
attr_accessor :tags
|
@@ -434,6 +470,7 @@ module Google
|
|
434
470
|
@boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
|
435
471
|
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
|
436
472
|
@disable_public_ip_addresses = args[:disable_public_ip_addresses] if args.key?(:disable_public_ip_addresses)
|
473
|
+
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
437
474
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
438
475
|
@pool_size = args[:pool_size] if args.key?(:pool_size)
|
439
476
|
@pooled_instances = args[:pooled_instances] if args.key?(:pooled_instances)
|
@@ -443,30 +480,39 @@ module Google
|
|
443
480
|
end
|
444
481
|
end
|
445
482
|
|
446
|
-
# A PersistentDirectory backed by a Compute Engine regional persistent disk.
|
483
|
+
# A PersistentDirectory backed by a Compute Engine regional persistent disk. The
|
484
|
+
# `persistentDirectories[]` field is repeated, but it may contain only one entry.
|
485
|
+
# It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/
|
486
|
+
# persistent-disks) that mounts to the workstation VM at `/home` when the
|
487
|
+
# session starts and detaches when the session ends. If this field is empty,
|
488
|
+
# workstations created with this configuration do not have a persistent home
|
489
|
+
# directory.
|
447
490
|
class GceRegionalPersistentDisk
|
448
491
|
include Google::Apis::Core::Hashable
|
449
492
|
|
450
|
-
#
|
493
|
+
# The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#
|
494
|
+
# disk-types) for the home directory. Defaults to `pd-standard`.
|
451
495
|
# Corresponds to the JSON property `diskType`
|
452
496
|
# @return [String]
|
453
497
|
attr_accessor :disk_type
|
454
498
|
|
455
499
|
# Type of file system that the disk should be formatted with. The workstation
|
456
500
|
# image must support this file system type. Must be empty if source_snapshot is
|
457
|
-
# set. Defaults to ext4
|
501
|
+
# set. Defaults to `ext4`.
|
458
502
|
# Corresponds to the JSON property `fsType`
|
459
503
|
# @return [String]
|
460
504
|
attr_accessor :fs_type
|
461
505
|
|
462
|
-
#
|
463
|
-
# DELETE
|
506
|
+
# Whether the persistent disk should be deleted when the workstation is deleted.
|
507
|
+
# Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
|
464
508
|
# Corresponds to the JSON property `reclaimPolicy`
|
465
509
|
# @return [String]
|
466
510
|
attr_accessor :reclaim_policy
|
467
511
|
|
468
|
-
#
|
469
|
-
#
|
512
|
+
# The GB capacity of a persistent home directory for each workstation created
|
513
|
+
# with this configuration. Must be empty if `source_snapshot` is set. Valid
|
514
|
+
# values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If
|
515
|
+
# less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`.
|
470
516
|
# Corresponds to the JSON property `sizeGb`
|
471
517
|
# @return [Fixnum]
|
472
518
|
attr_accessor :size_gb
|
@@ -924,7 +970,13 @@ module Google
|
|
924
970
|
class PersistentDirectory
|
925
971
|
include Google::Apis::Core::Hashable
|
926
972
|
|
927
|
-
# A PersistentDirectory backed by a Compute Engine regional persistent disk.
|
973
|
+
# A PersistentDirectory backed by a Compute Engine regional persistent disk. The
|
974
|
+
# `persistentDirectories[]` field is repeated, but it may contain only one entry.
|
975
|
+
# It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/
|
976
|
+
# persistent-disks) that mounts to the workstation VM at `/home` when the
|
977
|
+
# session starts and detaches when the session ends. If this field is empty,
|
978
|
+
# workstations created with this configuration do not have a persistent home
|
979
|
+
# directory.
|
928
980
|
# Corresponds to the JSON property `gcePd`
|
929
981
|
# @return [Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk]
|
930
982
|
attr_accessor :gce_pd
|
@@ -1366,7 +1418,7 @@ module Google
|
|
1366
1418
|
# @return [String]
|
1367
1419
|
attr_accessor :state
|
1368
1420
|
|
1369
|
-
# Output only. A system-assigned unique
|
1421
|
+
# Output only. A system-assigned unique identifier for this resource.
|
1370
1422
|
# Corresponds to the JSON property `uid`
|
1371
1423
|
# @return [String]
|
1372
1424
|
attr_accessor :uid
|
@@ -1486,7 +1538,7 @@ module Google
|
|
1486
1538
|
# @return [String]
|
1487
1539
|
attr_accessor :subnetwork
|
1488
1540
|
|
1489
|
-
# Output only. A system-assigned unique
|
1541
|
+
# Output only. A system-assigned unique identifier for this resource.
|
1490
1542
|
# Corresponds to the JSON property `uid`
|
1491
1543
|
# @return [String]
|
1492
1544
|
attr_accessor :uid
|
@@ -1521,7 +1573,7 @@ module Google
|
|
1521
1573
|
end
|
1522
1574
|
end
|
1523
1575
|
|
1524
|
-
# A set of configuration options
|
1576
|
+
# A set of configuration options that describe how a workstation runs.
|
1525
1577
|
# Workstation configurations are intended to be shared across multiple
|
1526
1578
|
# workstations.
|
1527
1579
|
class WorkstationConfig
|
@@ -1547,9 +1599,8 @@ module Google
|
|
1547
1599
|
# @return [String]
|
1548
1600
|
attr_accessor :create_time
|
1549
1601
|
|
1550
|
-
# Output only. Whether this resource is
|
1551
|
-
#
|
1552
|
-
# `conditions` field.
|
1602
|
+
# Output only. Whether this resource is degraded, in which case it may require
|
1603
|
+
# user action to restore full functionality. See also the `conditions` field.
|
1553
1604
|
# Corresponds to the JSON property `degraded`
|
1554
1605
|
# @return [Boolean]
|
1555
1606
|
attr_accessor :degraded
|
@@ -1565,8 +1616,8 @@ module Google
|
|
1565
1616
|
# @return [String]
|
1566
1617
|
attr_accessor :display_name
|
1567
1618
|
|
1568
|
-
# Whether to enable
|
1569
|
-
# service account must also be specified that has logging.buckets.write
|
1619
|
+
# Whether to enable Linux `auditd` logging on the workstation. When enabled, a
|
1620
|
+
# service account must also be specified that has `logging.buckets.write`
|
1570
1621
|
# permission on the project. Operating system audit logging is distinct from [
|
1571
1622
|
# Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
|
1572
1623
|
# Corresponds to the JSON property `enableAuditAgent`
|
@@ -1574,8 +1625,11 @@ module Google
|
|
1574
1625
|
attr_accessor :enable_audit_agent
|
1575
1626
|
alias_method :enable_audit_agent?, :enable_audit_agent
|
1576
1627
|
|
1577
|
-
# A customer-managed encryption key for the Compute Engine resources of
|
1578
|
-
# workstation configuration.
|
1628
|
+
# A customer-managed encryption key (CMEK) for the Compute Engine resources of
|
1629
|
+
# the associated workstation configuration. Specify the name of your Cloud KMS
|
1630
|
+
# encryption key and the default service account. We recommend that you use a
|
1631
|
+
# separate service account and follow [Cloud KMS best practices](https://cloud.
|
1632
|
+
# google.com/kms/docs/separation-of-duties).
|
1579
1633
|
# Corresponds to the JSON property `encryptionKey`
|
1580
1634
|
# @return [Google::Apis::WorkstationsV1beta::CustomerEncryptionKey]
|
1581
1635
|
attr_accessor :encryption_key
|
@@ -1591,9 +1645,12 @@ module Google
|
|
1591
1645
|
# @return [Google::Apis::WorkstationsV1beta::Host]
|
1592
1646
|
attr_accessor :host
|
1593
1647
|
|
1594
|
-
#
|
1595
|
-
# received
|
1596
|
-
# never time out due to idleness.
|
1648
|
+
# Number of seconds to wait before automatically stopping a workstation after it
|
1649
|
+
# last received user traffic. A value of `0s` indicates that Cloud Workstations
|
1650
|
+
# VMs created with this configuration should never time out due to idleness.
|
1651
|
+
# Provide [duration](https://developers.google.com/protocol-buffers/docs/
|
1652
|
+
# reference/google.protobuf#duration) terminated by `s` for seconds—for example,
|
1653
|
+
# `7200s` (2 hours). The default is `1200s` (20 minutes).
|
1597
1654
|
# Corresponds to the JSON property `idleTimeout`
|
1598
1655
|
# @return [String]
|
1599
1656
|
attr_accessor :idle_timeout
|
@@ -1628,15 +1685,24 @@ module Google
|
|
1628
1685
|
attr_accessor :reconciling
|
1629
1686
|
alias_method :reconciling?, :reconciling
|
1630
1687
|
|
1631
|
-
#
|
1632
|
-
#
|
1633
|
-
#
|
1634
|
-
#
|
1688
|
+
# Number of seconds that a workstation can run until it is automatically shut
|
1689
|
+
# down. We recommend that workstations be shut down daily to reduce costs and so
|
1690
|
+
# that security updates can be applied upon restart. The `idleTimeout` and `
|
1691
|
+
# runningTimeout` parameters are independent of each other. Note that the `
|
1692
|
+
# runningTimeout` parameter shuts down VMs after the specified time, regardless
|
1693
|
+
# of whether or not the VMs are idle. Provide duration terminated by `s` for
|
1694
|
+
# seconds—for example, `54000s` (15 hours). Defaults to `43200s` (12 hours). A
|
1695
|
+
# value of `0` indicates that workstations using this configuration should never
|
1696
|
+
# time out. If `encryption_key` is set, it must be greater than `0` and less
|
1697
|
+
# than `86400s` (24 hours). Warning: A value of `0s` indicates that Cloud
|
1698
|
+
# Workstations VMs created with this configuration have no maximum running time.
|
1699
|
+
# This is strongly discouraged because you incur costs and will not pick up
|
1700
|
+
# security updates.
|
1635
1701
|
# Corresponds to the JSON property `runningTimeout`
|
1636
1702
|
# @return [String]
|
1637
1703
|
attr_accessor :running_timeout
|
1638
1704
|
|
1639
|
-
# Output only. A system-assigned unique
|
1705
|
+
# Output only. A system-assigned unique identifier for this resource.
|
1640
1706
|
# Corresponds to the JSON property `uid`
|
1641
1707
|
# @return [String]
|
1642
1708
|
attr_accessor :uid
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230619"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -331,6 +331,7 @@ module Google
|
|
331
331
|
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig::Representation
|
332
332
|
|
333
333
|
property :disable_public_ip_addresses, as: 'disablePublicIpAddresses'
|
334
|
+
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
334
335
|
property :machine_type, as: 'machineType'
|
335
336
|
property :pool_size, as: 'poolSize'
|
336
337
|
property :pooled_instances, as: 'pooledInstances'
|
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.14.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: 2023-
|
11
|
+
date: 2023-06-25 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.14.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: []
|