google-apis-workstations_v1beta 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/workstations_v1beta/classes.rb +43 -17
- data/lib/google/apis/workstations_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/workstations_v1beta/representations.rb +3 -0
- data/lib/google/apis/workstations_v1beta/service.rb +18 -15
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f15ae3a9d45ec946fda986f7ae0bb997b5ac396fe0e1c2b4852de61dc9800bb4
|
4
|
+
data.tar.gz: 6c70ba597bd4cf451504fa59e9bdeff0dd89990a963f714ed336917e6381ef0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d42b3442e903633af0a1c906d63d37d230e74b3d554b8e48577cfb254ab3f2cf481d2f3d0ea4ae37316cc1399d67c4cbb86de509b8bc18a86821168bd5c8ca0
|
7
|
+
data.tar.gz: b6fb0d872a5eefbce6da25a2c842c2389411696e6a6899183350b3ab521e6b3e4f256d5065a5e4ee96a607458cc6149f895d202a35b036a42c0f8b0792451d41
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
2
2
|
|
3
|
+
### v0.9.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230412
|
6
|
+
|
7
|
+
### v0.8.0 (2023-04-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230327
|
10
|
+
|
3
11
|
### v0.7.0 (2023-03-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230308
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
attr_accessor :env
|
203
203
|
|
204
204
|
# Docker image defining the container. This image must be accessible by the
|
205
|
-
#
|
205
|
+
# service account specified in the workstation configuration.
|
206
206
|
# Corresponds to the JSON property `image`
|
207
207
|
# @return [String]
|
208
208
|
attr_accessor :image
|
@@ -237,15 +237,15 @@ module Google
|
|
237
237
|
class CustomerEncryptionKey
|
238
238
|
include Google::Apis::Core::Hashable
|
239
239
|
|
240
|
-
# The name of the Google Cloud KMS encryption key. For example, `
|
241
|
-
# PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`.
|
240
|
+
# Immutable. The name of the Google Cloud KMS encryption key. For example, `
|
241
|
+
# projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`.
|
242
242
|
# Corresponds to the JSON property `kmsKey`
|
243
243
|
# @return [String]
|
244
244
|
attr_accessor :kms_key
|
245
245
|
|
246
|
-
# The service account to use with the specified KMS key. We recommend
|
247
|
-
# use a separate service account and follow KMS best practices. For
|
248
|
-
# information, see [Separation of duties](https://cloud.google.com/kms/docs/
|
246
|
+
# Immutable. The service account to use with the specified KMS key. We recommend
|
247
|
+
# that you use a separate service account and follow KMS best practices. For
|
248
|
+
# more information, see [Separation of duties](https://cloud.google.com/kms/docs/
|
249
249
|
# separation-of-duties) and `gcloud kms keys add-iam-policy-binding` [`--member`]
|
250
250
|
# (https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#
|
251
251
|
# --member).
|
@@ -342,7 +342,7 @@ module Google
|
|
342
342
|
class GceInstance
|
343
343
|
include Google::Apis::Core::Hashable
|
344
344
|
|
345
|
-
# Size of the boot disk in GB.
|
345
|
+
# Size of the boot disk in GB. Defaults to 50.
|
346
346
|
# Corresponds to the JSON property `bootDiskSizeGb`
|
347
347
|
# @return [Fixnum]
|
348
348
|
attr_accessor :boot_disk_size_gb
|
@@ -368,10 +368,10 @@ module Google
|
|
368
368
|
# @return [Fixnum]
|
369
369
|
attr_accessor :pool_size
|
370
370
|
|
371
|
-
# Email address of the service account
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
371
|
+
# Email address of the service account used on VM instances used to support this
|
372
|
+
# configuration. If not set, VMs run with a Google-managed service account. This
|
373
|
+
# service account must have permission to pull the specified container image;
|
374
|
+
# otherwise, the image must be publicly accessible.
|
375
375
|
# Corresponds to the JSON property `serviceAccount`
|
376
376
|
# @return [String]
|
377
377
|
attr_accessor :service_account
|
@@ -407,14 +407,14 @@ module Google
|
|
407
407
|
class GceRegionalPersistentDisk
|
408
408
|
include Google::Apis::Core::Hashable
|
409
409
|
|
410
|
-
# Type of the disk to use.
|
410
|
+
# Type of the disk to use. Defaults to pd-standard.
|
411
411
|
# Corresponds to the JSON property `diskType`
|
412
412
|
# @return [String]
|
413
413
|
attr_accessor :disk_type
|
414
414
|
|
415
415
|
# Type of file system that the disk should be formatted with. The workstation
|
416
416
|
# image must support this file system type. Must be empty if source_snapshot is
|
417
|
-
# set.
|
417
|
+
# set. Defaults to ext4.
|
418
418
|
# Corresponds to the JSON property `fsType`
|
419
419
|
# @return [String]
|
420
420
|
attr_accessor :fs_type
|
@@ -425,7 +425,8 @@ module Google
|
|
425
425
|
# @return [String]
|
426
426
|
attr_accessor :reclaim_policy
|
427
427
|
|
428
|
-
# Size of the disk in GB. Must be empty if source_snapshot is set.
|
428
|
+
# Size of the disk in GB. Must be empty if source_snapshot is set. Defaults to
|
429
|
+
# 200.
|
429
430
|
# Corresponds to the JSON property `sizeGb`
|
430
431
|
# @return [Fixnum]
|
431
432
|
attr_accessor :size_gb
|
@@ -1258,8 +1259,13 @@ module Google
|
|
1258
1259
|
# @return [String]
|
1259
1260
|
attr_accessor :display_name
|
1260
1261
|
|
1262
|
+
# Environment variables passed to the workstation container.
|
1263
|
+
# Corresponds to the JSON property `env`
|
1264
|
+
# @return [Hash<String,String>]
|
1265
|
+
attr_accessor :env
|
1266
|
+
|
1261
1267
|
# Checksum computed by the server. May be sent on update and delete requests to
|
1262
|
-
#
|
1268
|
+
# make sure that the client has an up-to-date value before proceeding.
|
1263
1269
|
# Corresponds to the JSON property `etag`
|
1264
1270
|
# @return [String]
|
1265
1271
|
attr_accessor :etag
|
@@ -1315,6 +1321,7 @@ module Google
|
|
1315
1321
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1316
1322
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1317
1323
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1324
|
+
@env = args[:env] if args.key?(:env)
|
1318
1325
|
@etag = args[:etag] if args.key?(:etag)
|
1319
1326
|
@host = args[:host] if args.key?(:host)
|
1320
1327
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1341,6 +1348,14 @@ module Google
|
|
1341
1348
|
# @return [Array<Google::Apis::WorkstationsV1beta::Status>]
|
1342
1349
|
attr_accessor :conditions
|
1343
1350
|
|
1351
|
+
# Output only. The private IP address of the control plane for this cluster.
|
1352
|
+
# Workstation VMs need access to this IP address to work with the service, so
|
1353
|
+
# make sure that your firewall rules allow egress from the workstation VMs to
|
1354
|
+
# this address.
|
1355
|
+
# Corresponds to the JSON property `controlPlaneIp`
|
1356
|
+
# @return [String]
|
1357
|
+
attr_accessor :control_plane_ip
|
1358
|
+
|
1344
1359
|
# Output only. Time when this resource was created.
|
1345
1360
|
# Corresponds to the JSON property `createTime`
|
1346
1361
|
# @return [String]
|
@@ -1365,7 +1380,7 @@ module Google
|
|
1365
1380
|
attr_accessor :display_name
|
1366
1381
|
|
1367
1382
|
# Checksum computed by the server. May be sent on update and delete requests to
|
1368
|
-
#
|
1383
|
+
# make sure that the client has an up-to-date value before proceeding.
|
1369
1384
|
# Corresponds to the JSON property `etag`
|
1370
1385
|
# @return [String]
|
1371
1386
|
attr_accessor :etag
|
@@ -1424,6 +1439,7 @@ module Google
|
|
1424
1439
|
def update!(**args)
|
1425
1440
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1426
1441
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1442
|
+
@control_plane_ip = args[:control_plane_ip] if args.key?(:control_plane_ip)
|
1427
1443
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1428
1444
|
@degraded = args[:degraded] if args.key?(:degraded)
|
1429
1445
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -1484,6 +1500,15 @@ module Google
|
|
1484
1500
|
# @return [String]
|
1485
1501
|
attr_accessor :display_name
|
1486
1502
|
|
1503
|
+
# Whether to enable linux auditd logging on the workstation. When enabled, a
|
1504
|
+
# service account must also be specified that has logging.buckets.write
|
1505
|
+
# permission on the project. Operating system audit logging is distinct from [
|
1506
|
+
# Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
|
1507
|
+
# Corresponds to the JSON property `enableAuditAgent`
|
1508
|
+
# @return [Boolean]
|
1509
|
+
attr_accessor :enable_audit_agent
|
1510
|
+
alias_method :enable_audit_agent?, :enable_audit_agent
|
1511
|
+
|
1487
1512
|
# A customer-managed encryption key for the Compute Engine resources of this
|
1488
1513
|
# workstation configuration.
|
1489
1514
|
# Corresponds to the JSON property `encryptionKey`
|
@@ -1491,7 +1516,7 @@ module Google
|
|
1491
1516
|
attr_accessor :encryption_key
|
1492
1517
|
|
1493
1518
|
# Checksum computed by the server. May be sent on update and delete requests to
|
1494
|
-
#
|
1519
|
+
# make sure that the client has an up-to-date value before proceeding.
|
1495
1520
|
# Corresponds to the JSON property `etag`
|
1496
1521
|
# @return [String]
|
1497
1522
|
attr_accessor :etag
|
@@ -1562,6 +1587,7 @@ module Google
|
|
1562
1587
|
@degraded = args[:degraded] if args.key?(:degraded)
|
1563
1588
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1564
1589
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1590
|
+
@enable_audit_agent = args[:enable_audit_agent] if args.key?(:enable_audit_agent)
|
1565
1591
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
1566
1592
|
@etag = args[:etag] if args.key?(:etag)
|
1567
1593
|
@host = args[:host] if args.key?(:host)
|
@@ -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.9.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 = "20230412"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -538,6 +538,7 @@ module Google
|
|
538
538
|
property :create_time, as: 'createTime'
|
539
539
|
property :delete_time, as: 'deleteTime'
|
540
540
|
property :display_name, as: 'displayName'
|
541
|
+
hash :env, as: 'env'
|
541
542
|
property :etag, as: 'etag'
|
542
543
|
property :host, as: 'host'
|
543
544
|
hash :labels, as: 'labels'
|
@@ -555,6 +556,7 @@ module Google
|
|
555
556
|
hash :annotations, as: 'annotations'
|
556
557
|
collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
|
557
558
|
|
559
|
+
property :control_plane_ip, as: 'controlPlaneIp'
|
558
560
|
property :create_time, as: 'createTime'
|
559
561
|
property :degraded, as: 'degraded'
|
560
562
|
property :delete_time, as: 'deleteTime'
|
@@ -584,6 +586,7 @@ module Google
|
|
584
586
|
property :degraded, as: 'degraded'
|
585
587
|
property :delete_time, as: 'deleteTime'
|
586
588
|
property :display_name, as: 'displayName'
|
589
|
+
property :enable_audit_agent, as: 'enableAuditAgent'
|
587
590
|
property :encryption_key, as: 'encryptionKey', class: Google::Apis::WorkstationsV1beta::CustomerEncryptionKey, decorator: Google::Apis::WorkstationsV1beta::CustomerEncryptionKey::Representation
|
588
591
|
|
589
592
|
property :etag, as: 'etag'
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
# If set, validate the request and preview the review, but do not actually apply
|
395
395
|
# it.
|
396
396
|
# @param [String] workstation_config_id
|
397
|
-
# Required. ID to use for the
|
397
|
+
# Required. ID to use for the workstation configuration.
|
398
398
|
# @param [String] fields
|
399
399
|
# Selector specifying which fields to include in a partial response.
|
400
400
|
# @param [String] quota_user
|
@@ -428,13 +428,14 @@ module Google
|
|
428
428
|
|
429
429
|
# Deletes the specified workstation configuration.
|
430
430
|
# @param [String] name
|
431
|
-
# Required. Name of the
|
431
|
+
# Required. Name of the workstation configuration to delete.
|
432
432
|
# @param [String] etag
|
433
|
-
# If set, the request
|
434
|
-
# the server does not have this etag.
|
433
|
+
# If set, the request is rejected if the latest version of the workstation
|
434
|
+
# configuration on the server does not have this etag.
|
435
435
|
# @param [Boolean] force
|
436
|
-
# If set, any
|
437
|
-
# request
|
436
|
+
# If set, any workstations in the workstation configuration are also deleted.
|
437
|
+
# Otherwise, the request works only if the workstation configuration has no
|
438
|
+
# workstations.
|
438
439
|
# @param [Boolean] validate_only
|
439
440
|
# If set, validate the request and preview the review, but do not actually apply
|
440
441
|
# it.
|
@@ -621,10 +622,11 @@ module Google
|
|
621
622
|
# Full name of this resource.
|
622
623
|
# @param [Google::Apis::WorkstationsV1beta::WorkstationConfig] workstation_config_object
|
623
624
|
# @param [Boolean] allow_missing
|
624
|
-
# If set
|
625
|
-
# situation, update_mask is ignored.
|
625
|
+
# If set and the workstation configuration is not found, a new workstation
|
626
|
+
# configuration will be created. In this situation, update_mask is ignored.
|
626
627
|
# @param [String] update_mask
|
627
|
-
# Required. Mask specifying which fields in the
|
628
|
+
# Required. Mask specifying which fields in the workstation configuration should
|
629
|
+
# be updated.
|
628
630
|
# @param [Boolean] validate_only
|
629
631
|
# If set, validate the request and preview the review, but do not actually apply
|
630
632
|
# it.
|
@@ -924,7 +926,7 @@ module Google
|
|
924
926
|
execute_or_queue_command(command, &block)
|
925
927
|
end
|
926
928
|
|
927
|
-
# Returns all Workstations using the specified
|
929
|
+
# Returns all Workstations using the specified workstation configuration.
|
928
930
|
# @param [String] parent
|
929
931
|
# Required. Parent resource name.
|
930
932
|
# @param [Fixnum] page_size
|
@@ -960,8 +962,8 @@ module Google
|
|
960
962
|
execute_or_queue_command(command, &block)
|
961
963
|
end
|
962
964
|
|
963
|
-
# Returns all
|
964
|
-
# the "workstations.workstations.use" permission.
|
965
|
+
# Returns all workstations using the specified workstation configuration on
|
966
|
+
# which the caller has the "workstations.workstations.use" permission.
|
965
967
|
# @param [String] parent
|
966
968
|
# Required. Parent resource name.
|
967
969
|
# @param [Fixnum] page_size
|
@@ -1002,10 +1004,11 @@ module Google
|
|
1002
1004
|
# Full name of this resource.
|
1003
1005
|
# @param [Google::Apis::WorkstationsV1beta::Workstation] workstation_object
|
1004
1006
|
# @param [Boolean] allow_missing
|
1005
|
-
# If set
|
1006
|
-
# situation, update_mask is ignored.
|
1007
|
+
# If set and the workstation configuration is not found, a new workstation
|
1008
|
+
# configuration is created. In this situation, update_mask is ignored.
|
1007
1009
|
# @param [String] update_mask
|
1008
|
-
# Required. Mask specifying which fields in the
|
1010
|
+
# Required. Mask specifying which fields in the workstation configuration should
|
1011
|
+
# be updated.
|
1009
1012
|
# @param [Boolean] validate_only
|
1010
1013
|
# If set, validate the request and preview the review, but do not actually apply
|
1011
1014
|
# it.
|
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.9.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-04-23 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.9.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: []
|