google-apis-workstations_v1beta 0.12.0 → 0.13.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: 7c7b8b5e0b5b16e3601671684a178a00be13092ce6a426bbeb21c1837f334b1f
4
- data.tar.gz: 80e50b0301f243ff7753cc1b181c29aacb89138f56856a69e721bfbe496b3bc4
3
+ metadata.gz: ddbba4de95302002642d5362ab163b19cfdcd5c96657d964229d535e88c054d0
4
+ data.tar.gz: ee46f81d156dcee82288a2b640410fa69828bb3cfd958959d97600e5164993fb
5
5
  SHA512:
6
- metadata.gz: 672084f7d3217eb57bf4834b444f1441dce6e558e5be031cadffc71259168c671ea40f395ae862b743716d4906dc4cacdd3c712d44b68d0aa7bdd853f13031da
7
- data.tar.gz: 93c2b291b3734ff259e8d0a91a93d274c368498a023d10cc00b1b13a606ffd4750ef7b6f63e6b832c16caac71e923b106f2a1bf467c34369b7fb1b9c7644298b
6
+ metadata.gz: d95610de59b50657b96b25a6e03f0697fed370db0919cec403b183dc15c76cec669ee51bfb349df970f00547e465cd4a7f29a9d4fb2d712d07dded162d74d80d
7
+ data.tar.gz: 1e5e14c38159172823eefa9abbce3894a545cc8f093d57fdbe0469b1f6edf8338b8cad7dd0718d0c5df3d77ae758b23abf87eb2b4f94f224b24112818ceb5c81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.13.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230531
6
+
3
7
  ### v0.12.0 (2023-05-21)
4
8
 
5
9
  * 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 defining the container. This image must be accessible by the
231
- # service account specified in the workstation configuration.
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.s
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 this
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
- # Size of the boot disk in GB. Defaults to 50.
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,27 @@ module Google
384
394
  # @return [Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig]
385
395
  attr_accessor :confidential_instance_config
386
396
 
387
- # Whether instances have no public IP address.
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
- # The name of a Compute Engine machine type.
408
+ # The type of machine to use for VM instances—for example, `e2-standard-4`. For
409
+ # more information about machine types that Cloud Workstations supports, see the
410
+ # list of [available machine types](https://cloud.google.com/workstations/docs/
411
+ # available-machine-types).
394
412
  # Corresponds to the JSON property `machineType`
395
413
  # @return [String]
396
414
  attr_accessor :machine_type
397
415
 
398
- # Number of instances to pool for faster workstation startup.
416
+ # The number of VMs that the system should keep idle so that new workstations
417
+ # can be started quickly for new users. Defaults to `0` in the API.
399
418
  # Corresponds to the JSON property `poolSize`
400
419
  # @return [Fixnum]
401
420
  attr_accessor :pool_size
@@ -406,10 +425,17 @@ module Google
406
425
  # @return [Fixnum]
407
426
  attr_accessor :pooled_instances
408
427
 
409
- # Email address of the service account used on VM instances used to support this
410
- # configuration. If not set, VMs run with a Google-managed service account. This
411
- # service account must have permission to pull the specified container image;
412
- # otherwise, the image must be publicly accessible.
428
+ # The email address of the service account for Cloud Workstations VMs created
429
+ # with this configuration. When specified, be sure that the service account has `
430
+ # logginglogEntries.create` permission on the project so it can write logs out
431
+ # to Cloud Logging. If using a custom container image, the service account must
432
+ # have permissions to pull the specified image. If you as the administrator want
433
+ # to be able to `ssh` into the underlying VM, you need to set this value to a
434
+ # service account for which you have the `iam.serviceAccounts.actAs` permission.
435
+ # Conversely, if you don't want anyone to be able to `ssh` into the underlying
436
+ # VM, use a service account where no one has that permission. If not set, VMs
437
+ # run with a service account provided by the Cloud Workstations service, and the
438
+ # image must be publicly accessible.
413
439
  # Corresponds to the JSON property `serviceAccount`
414
440
  # @return [String]
415
441
  attr_accessor :service_account
@@ -419,7 +445,11 @@ module Google
419
445
  # @return [Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig]
420
446
  attr_accessor :shielded_instance_config
421
447
 
422
- # Network tags to add to the Compute Engine machines backing the Workstations.
448
+ # Network tags to add to the Compute Engine machines backing the workstations.
449
+ # This option applies [network tags](https://cloud.google.com/vpc/docs/add-
450
+ # remove-network-tags) to VMs created with this configuration. These network
451
+ # tags enable the creation of [firewall rules](https://cloud.google.com/
452
+ # workstations/docs/configure-firewall-rules).
423
453
  # Corresponds to the JSON property `tags`
424
454
  # @return [Array<String>]
425
455
  attr_accessor :tags
@@ -443,30 +473,39 @@ module Google
443
473
  end
444
474
  end
445
475
 
446
- # A PersistentDirectory backed by a Compute Engine regional persistent disk.
476
+ # A PersistentDirectory backed by a Compute Engine regional persistent disk. The
477
+ # `persistentDirectories[]` field is repeated, but it may contain only one entry.
478
+ # It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/
479
+ # persistent-disks) that mounts to the workstation VM at `/home` when the
480
+ # session starts and detaches when the session ends. If this field is empty,
481
+ # workstations created with this configuration do not have a persistent home
482
+ # directory.
447
483
  class GceRegionalPersistentDisk
448
484
  include Google::Apis::Core::Hashable
449
485
 
450
- # Type of the disk to use. Defaults to pd-standard.
486
+ # The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#
487
+ # disk-types) for the home directory. Defaults to `pd-standard`.
451
488
  # Corresponds to the JSON property `diskType`
452
489
  # @return [String]
453
490
  attr_accessor :disk_type
454
491
 
455
492
  # Type of file system that the disk should be formatted with. The workstation
456
493
  # image must support this file system type. Must be empty if source_snapshot is
457
- # set. Defaults to ext4.
494
+ # set. Defaults to `ext4`.
458
495
  # Corresponds to the JSON property `fsType`
459
496
  # @return [String]
460
497
  attr_accessor :fs_type
461
498
 
462
- # What should happen to the disk after the workstation is deleted. Defaults to
463
- # DELETE.
499
+ # Whether the persistent disk should be deleted when the workstation is deleted.
500
+ # Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
464
501
  # Corresponds to the JSON property `reclaimPolicy`
465
502
  # @return [String]
466
503
  attr_accessor :reclaim_policy
467
504
 
468
- # Size of the disk in GB. Must be empty if source_snapshot is set. Defaults to
469
- # 200.
505
+ # The GB capacity of a persistent home directory for each workstation created
506
+ # with this configuration. Must be empty if `source_snapshot` is set. Valid
507
+ # values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If
508
+ # less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`.
470
509
  # Corresponds to the JSON property `sizeGb`
471
510
  # @return [Fixnum]
472
511
  attr_accessor :size_gb
@@ -924,7 +963,13 @@ module Google
924
963
  class PersistentDirectory
925
964
  include Google::Apis::Core::Hashable
926
965
 
927
- # A PersistentDirectory backed by a Compute Engine regional persistent disk.
966
+ # A PersistentDirectory backed by a Compute Engine regional persistent disk. The
967
+ # `persistentDirectories[]` field is repeated, but it may contain only one entry.
968
+ # It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/
969
+ # persistent-disks) that mounts to the workstation VM at `/home` when the
970
+ # session starts and detaches when the session ends. If this field is empty,
971
+ # workstations created with this configuration do not have a persistent home
972
+ # directory.
928
973
  # Corresponds to the JSON property `gcePd`
929
974
  # @return [Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk]
930
975
  attr_accessor :gce_pd
@@ -1366,7 +1411,7 @@ module Google
1366
1411
  # @return [String]
1367
1412
  attr_accessor :state
1368
1413
 
1369
- # Output only. A system-assigned unique identified for this resource.
1414
+ # Output only. A system-assigned unique identifier for this resource.
1370
1415
  # Corresponds to the JSON property `uid`
1371
1416
  # @return [String]
1372
1417
  attr_accessor :uid
@@ -1486,7 +1531,7 @@ module Google
1486
1531
  # @return [String]
1487
1532
  attr_accessor :subnetwork
1488
1533
 
1489
- # Output only. A system-assigned unique identified for this resource.
1534
+ # Output only. A system-assigned unique identifier for this resource.
1490
1535
  # Corresponds to the JSON property `uid`
1491
1536
  # @return [String]
1492
1537
  attr_accessor :uid
@@ -1521,7 +1566,7 @@ module Google
1521
1566
  end
1522
1567
  end
1523
1568
 
1524
- # A set of configuration options describing how a workstation will be run.
1569
+ # A set of configuration options that describe how a workstation runs.
1525
1570
  # Workstation configurations are intended to be shared across multiple
1526
1571
  # workstations.
1527
1572
  class WorkstationConfig
@@ -1565,8 +1610,8 @@ module Google
1565
1610
  # @return [String]
1566
1611
  attr_accessor :display_name
1567
1612
 
1568
- # Whether to enable linux auditd logging on the workstation. When enabled, a
1569
- # service account must also be specified that has logging.buckets.write
1613
+ # Whether to enable Linux `auditd` logging on the workstation. When enabled, a
1614
+ # service account must also be specified that has `logging.buckets.write`
1570
1615
  # permission on the project. Operating system audit logging is distinct from [
1571
1616
  # Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
1572
1617
  # Corresponds to the JSON property `enableAuditAgent`
@@ -1574,8 +1619,11 @@ module Google
1574
1619
  attr_accessor :enable_audit_agent
1575
1620
  alias_method :enable_audit_agent?, :enable_audit_agent
1576
1621
 
1577
- # A customer-managed encryption key for the Compute Engine resources of this
1578
- # workstation configuration.
1622
+ # A customer-managed encryption key (CMEK) for the Compute Engine resources of
1623
+ # the associated workstation configuration. Specify the name of your Cloud KMS
1624
+ # encryption key and the default service account. We recommend that you use a
1625
+ # separate service account and follow [Cloud KMS best practices](https://cloud.
1626
+ # google.com/kms/docs/separation-of-duties).
1579
1627
  # Corresponds to the JSON property `encryptionKey`
1580
1628
  # @return [Google::Apis::WorkstationsV1beta::CustomerEncryptionKey]
1581
1629
  attr_accessor :encryption_key
@@ -1591,9 +1639,12 @@ module Google
1591
1639
  # @return [Google::Apis::WorkstationsV1beta::Host]
1592
1640
  attr_accessor :host
1593
1641
 
1594
- # How long to wait before automatically stopping an instance that hasn't
1595
- # received any user traffic. A value of 0 indicates that this instance should
1596
- # never time out due to idleness. Defaults to 20 minutes.
1642
+ # Number of seconds to wait before automatically stopping a workstation after it
1643
+ # last received user traffic. A value of `0s` indicates that Cloud Workstations
1644
+ # VMs created with this configuration should never time out due to idleness.
1645
+ # Provide [duration](https://developers.google.com/protocol-buffers/docs/
1646
+ # reference/google.protobuf#duration) terminated by `s` for seconds—for example,
1647
+ # `7200s` (2 hours). The default is `1200s` (20 minutes).
1597
1648
  # Corresponds to the JSON property `idleTimeout`
1598
1649
  # @return [String]
1599
1650
  attr_accessor :idle_timeout
@@ -1628,15 +1679,24 @@ module Google
1628
1679
  attr_accessor :reconciling
1629
1680
  alias_method :reconciling?, :reconciling
1630
1681
 
1631
- # How long to wait before automatically stopping a workstation after it started.
1632
- # A value of 0 indicates that workstations using this configuration should never
1633
- # time out. Must be greater than 0 and less than 24 hours if encryption_key is
1634
- # set. Defaults to 12 hours.
1682
+ # Number of seconds that a workstation can run until it is automatically shut
1683
+ # down. We recommend that workstations be shut down daily to reduce costs and so
1684
+ # that security updates can be applied upon restart. The `idleTimeout` and `
1685
+ # runningTimeout` parameters are independent of each other. Note that the `
1686
+ # runningTimeout` parameter shuts down VMs after the specified time, regardless
1687
+ # of whether or not the VMs are idle. Provide duration terminated by `s` for
1688
+ # seconds—for example, `54000s` (15 hours). Defaults to `43200s` (12 hours). A
1689
+ # value of `0` indicates that workstations using this configuration should never
1690
+ # time out. If `encryption_key` is set, it must be greater than `0` and less
1691
+ # than `86400s` (24 hours). Warning: A value of `0s` indicates that Cloud
1692
+ # Workstations VMs created with this configuration have no maximum running time.
1693
+ # This is strongly discouraged because you incur costs and will not pick up
1694
+ # security updates.
1635
1695
  # Corresponds to the JSON property `runningTimeout`
1636
1696
  # @return [String]
1637
1697
  attr_accessor :running_timeout
1638
1698
 
1639
- # Output only. A system-assigned unique identified for this resource.
1699
+ # Output only. A system-assigned unique identifier for this resource.
1640
1700
  # Corresponds to the JSON property `uid`
1641
1701
  # @return [String]
1642
1702
  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.12.0"
19
+ GEM_VERSION = "0.13.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 = "20230510"
25
+ REVISION = "20230531"
26
26
  end
27
27
  end
28
28
  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.12.0
4
+ version: 0.13.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-05-21 00:00:00.000000000 Z
11
+ date: 2023-06-11 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.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.13.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: []