google-apis-workstations_v1beta 0.11.0 → 0.13.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: ddbba4de95302002642d5362ab163b19cfdcd5c96657d964229d535e88c054d0
|
4
|
+
data.tar.gz: ee46f81d156dcee82288a2b640410fa69828bb3cfd958959d97600e5164993fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d95610de59b50657b96b25a6e03f0697fed370db0919cec403b183dc15c76cec669ee51bfb349df970f00547e465cd4a7f29a9d4fb2d712d07dded162d74d80d
|
7
|
+
data.tar.gz: 1e5e14c38159172823eefa9abbce3894a545cc8f093d57fdbe0469b1f6edf8338b8cad7dd0718d0c5df3d77ae758b23abf87eb2b4f94f224b24112818ceb5c81
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.12.0 (2023-05-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230510
|
10
|
+
|
3
11
|
### v0.11.0 (2023-05-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230501
|
@@ -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.s
|
232
238
|
# Corresponds to the JSON property `image`
|
233
239
|
# @return [String]
|
234
240
|
attr_accessor :image
|
@@ -258,13 +264,17 @@ 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
|
|
266
275
|
# Immutable. The name of the Google Cloud KMS encryption key. For example, `
|
267
276
|
# projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`.
|
277
|
+
# The key must be in the same region as the workstation configuration.
|
268
278
|
# Corresponds to the JSON property `kmsKey`
|
269
279
|
# @return [String]
|
270
280
|
attr_accessor :kms_key
|
@@ -373,7 +383,8 @@ module Google
|
|
373
383
|
# @return [Array<Google::Apis::WorkstationsV1beta::Accelerator>]
|
374
384
|
attr_accessor :accelerators
|
375
385
|
|
376
|
-
#
|
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.
|
377
388
|
# Corresponds to the JSON property `bootDiskSizeGb`
|
378
389
|
# @return [Fixnum]
|
379
390
|
attr_accessor :boot_disk_size_gb
|
@@ -383,18 +394,27 @@ module Google
|
|
383
394
|
# @return [Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig]
|
384
395
|
attr_accessor :confidential_instance_config
|
385
396
|
|
386
|
-
#
|
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).
|
387
403
|
# Corresponds to the JSON property `disablePublicIpAddresses`
|
388
404
|
# @return [Boolean]
|
389
405
|
attr_accessor :disable_public_ip_addresses
|
390
406
|
alias_method :disable_public_ip_addresses?, :disable_public_ip_addresses
|
391
407
|
|
392
|
-
# The
|
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).
|
393
412
|
# Corresponds to the JSON property `machineType`
|
394
413
|
# @return [String]
|
395
414
|
attr_accessor :machine_type
|
396
415
|
|
397
|
-
#
|
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.
|
398
418
|
# Corresponds to the JSON property `poolSize`
|
399
419
|
# @return [Fixnum]
|
400
420
|
attr_accessor :pool_size
|
@@ -405,10 +425,17 @@ module Google
|
|
405
425
|
# @return [Fixnum]
|
406
426
|
attr_accessor :pooled_instances
|
407
427
|
|
408
|
-
#
|
409
|
-
# configuration.
|
410
|
-
#
|
411
|
-
#
|
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.
|
412
439
|
# Corresponds to the JSON property `serviceAccount`
|
413
440
|
# @return [String]
|
414
441
|
attr_accessor :service_account
|
@@ -418,7 +445,11 @@ module Google
|
|
418
445
|
# @return [Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig]
|
419
446
|
attr_accessor :shielded_instance_config
|
420
447
|
|
421
|
-
# Network tags to add to the Compute Engine machines backing the
|
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).
|
422
453
|
# Corresponds to the JSON property `tags`
|
423
454
|
# @return [Array<String>]
|
424
455
|
attr_accessor :tags
|
@@ -442,30 +473,39 @@ module Google
|
|
442
473
|
end
|
443
474
|
end
|
444
475
|
|
445
|
-
# 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.
|
446
483
|
class GceRegionalPersistentDisk
|
447
484
|
include Google::Apis::Core::Hashable
|
448
485
|
|
449
|
-
#
|
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`.
|
450
488
|
# Corresponds to the JSON property `diskType`
|
451
489
|
# @return [String]
|
452
490
|
attr_accessor :disk_type
|
453
491
|
|
454
492
|
# Type of file system that the disk should be formatted with. The workstation
|
455
493
|
# image must support this file system type. Must be empty if source_snapshot is
|
456
|
-
# set. Defaults to ext4
|
494
|
+
# set. Defaults to `ext4`.
|
457
495
|
# Corresponds to the JSON property `fsType`
|
458
496
|
# @return [String]
|
459
497
|
attr_accessor :fs_type
|
460
498
|
|
461
|
-
#
|
462
|
-
# DELETE
|
499
|
+
# Whether the persistent disk should be deleted when the workstation is deleted.
|
500
|
+
# Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
|
463
501
|
# Corresponds to the JSON property `reclaimPolicy`
|
464
502
|
# @return [String]
|
465
503
|
attr_accessor :reclaim_policy
|
466
504
|
|
467
|
-
#
|
468
|
-
#
|
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`.
|
469
509
|
# Corresponds to the JSON property `sizeGb`
|
470
510
|
# @return [Fixnum]
|
471
511
|
attr_accessor :size_gb
|
@@ -923,7 +963,13 @@ module Google
|
|
923
963
|
class PersistentDirectory
|
924
964
|
include Google::Apis::Core::Hashable
|
925
965
|
|
926
|
-
# 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.
|
927
973
|
# Corresponds to the JSON property `gcePd`
|
928
974
|
# @return [Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk]
|
929
975
|
attr_accessor :gce_pd
|
@@ -1365,7 +1411,7 @@ module Google
|
|
1365
1411
|
# @return [String]
|
1366
1412
|
attr_accessor :state
|
1367
1413
|
|
1368
|
-
# Output only. A system-assigned unique
|
1414
|
+
# Output only. A system-assigned unique identifier for this resource.
|
1369
1415
|
# Corresponds to the JSON property `uid`
|
1370
1416
|
# @return [String]
|
1371
1417
|
attr_accessor :uid
|
@@ -1485,7 +1531,7 @@ module Google
|
|
1485
1531
|
# @return [String]
|
1486
1532
|
attr_accessor :subnetwork
|
1487
1533
|
|
1488
|
-
# Output only. A system-assigned unique
|
1534
|
+
# Output only. A system-assigned unique identifier for this resource.
|
1489
1535
|
# Corresponds to the JSON property `uid`
|
1490
1536
|
# @return [String]
|
1491
1537
|
attr_accessor :uid
|
@@ -1520,7 +1566,7 @@ module Google
|
|
1520
1566
|
end
|
1521
1567
|
end
|
1522
1568
|
|
1523
|
-
# A set of configuration options
|
1569
|
+
# A set of configuration options that describe how a workstation runs.
|
1524
1570
|
# Workstation configurations are intended to be shared across multiple
|
1525
1571
|
# workstations.
|
1526
1572
|
class WorkstationConfig
|
@@ -1564,8 +1610,8 @@ module Google
|
|
1564
1610
|
# @return [String]
|
1565
1611
|
attr_accessor :display_name
|
1566
1612
|
|
1567
|
-
# Whether to enable
|
1568
|
-
# 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`
|
1569
1615
|
# permission on the project. Operating system audit logging is distinct from [
|
1570
1616
|
# Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
|
1571
1617
|
# Corresponds to the JSON property `enableAuditAgent`
|
@@ -1573,8 +1619,11 @@ module Google
|
|
1573
1619
|
attr_accessor :enable_audit_agent
|
1574
1620
|
alias_method :enable_audit_agent?, :enable_audit_agent
|
1575
1621
|
|
1576
|
-
# A customer-managed encryption key for the Compute Engine resources of
|
1577
|
-
# 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).
|
1578
1627
|
# Corresponds to the JSON property `encryptionKey`
|
1579
1628
|
# @return [Google::Apis::WorkstationsV1beta::CustomerEncryptionKey]
|
1580
1629
|
attr_accessor :encryption_key
|
@@ -1590,9 +1639,12 @@ module Google
|
|
1590
1639
|
# @return [Google::Apis::WorkstationsV1beta::Host]
|
1591
1640
|
attr_accessor :host
|
1592
1641
|
|
1593
|
-
#
|
1594
|
-
# received
|
1595
|
-
# never time out due to idleness.
|
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).
|
1596
1648
|
# Corresponds to the JSON property `idleTimeout`
|
1597
1649
|
# @return [String]
|
1598
1650
|
attr_accessor :idle_timeout
|
@@ -1627,15 +1679,24 @@ module Google
|
|
1627
1679
|
attr_accessor :reconciling
|
1628
1680
|
alias_method :reconciling?, :reconciling
|
1629
1681
|
|
1630
|
-
#
|
1631
|
-
#
|
1632
|
-
#
|
1633
|
-
#
|
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.
|
1634
1695
|
# Corresponds to the JSON property `runningTimeout`
|
1635
1696
|
# @return [String]
|
1636
1697
|
attr_accessor :running_timeout
|
1637
1698
|
|
1638
|
-
# Output only. A system-assigned unique
|
1699
|
+
# Output only. A system-assigned unique identifier for this resource.
|
1639
1700
|
# Corresponds to the JSON property `uid`
|
1640
1701
|
# @return [String]
|
1641
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.
|
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 = "
|
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.
|
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-
|
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.
|
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: []
|