google-apis-workstations_v1 0.12.0 → 0.14.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ace205b1fe52558b73a3b279c536ab45245769d836cc9100fb248f2e92472b77
|
4
|
+
data.tar.gz: bba200b4e402ea6091aa6bea8b2abd8fc5e23f1d04dce03a391509da1a6ec7cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 944703f98bb50c90e0c906c48e7a1cab15142f85ca263179984562cf5d3aed799585dd0104275f1e73cf85d0ecbb936eeafb1900e28cfc49a987da3b952067b0
|
7
|
+
data.tar.gz: daa2ec04e43d9ce335668f498301bbac76f8bd4e907cb0a49f373dd0a79bfcd269ccccc92734e8f8e3a8d7dc0935044518564a8bcc373c37d9b22aa5a89236c1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240716
|
6
|
+
|
7
|
+
### v0.13.0 (2024-06-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240619
|
10
|
+
|
3
11
|
### v0.12.0 (2024-06-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240528
|
@@ -327,11 +327,11 @@ module Google
|
|
327
327
|
end
|
328
328
|
end
|
329
329
|
|
330
|
-
# Configuration options for
|
330
|
+
# Configuration options for a custom domain.
|
331
331
|
class DomainConfig
|
332
332
|
include Google::Apis::Core::Hashable
|
333
333
|
|
334
|
-
# Immutable.
|
334
|
+
# Immutable. Domain used by Workstations for HTTP ingress.
|
335
335
|
# Corresponds to the JSON property `domain`
|
336
336
|
# @return [String]
|
337
337
|
attr_accessor :domain
|
@@ -485,29 +485,23 @@ module Google
|
|
485
485
|
alias_method :disable_ssh?, :disable_ssh
|
486
486
|
|
487
487
|
# Optional. Whether to enable nested virtualization on Cloud Workstations VMs
|
488
|
-
# created using this workstation configuration.
|
489
|
-
# run virtual machine (VM) instances inside your
|
490
|
-
# nested virtualization, consider the following
|
491
|
-
# Workstations instances are subject to the [
|
492
|
-
# instances](https://cloud.google.com/
|
493
|
-
# virtualization/overview#restrictions): * **
|
494
|
-
# folders, or organizations may be restricted
|
495
|
-
#
|
496
|
-
# policy. For more information, see
|
497
|
-
# whether nested virtualization is allowed]
|
498
|
-
# docs/instances/nested-virtualization/
|
499
|
-
# checking_whether_nested_virtualization_is_allowed). * **
|
500
|
-
# VMs might experience a 10% or greater decrease in
|
501
|
-
# that are CPU-bound and possibly greater than a 10%
|
502
|
-
# are input/output bound. * **Machine Type**: nested
|
503
|
-
# enabled on workstation configurations that specify
|
504
|
-
#
|
505
|
-
# workstation configurations with accelerators. * **Operating System**: because [
|
506
|
-
# Container-Optimized OS](https://cloud.google.com/compute/docs/images/os-
|
507
|
-
# details#container-optimized_os_cos) does not support nested virtualization,
|
508
|
-
# when nested virtualization is enabled, the underlying Compute Engine VM
|
509
|
-
# instances boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/
|
510
|
-
# images/os-details#ubuntu_lts) image.
|
488
|
+
# created using this workstation configuration. Defaults to false. Nested
|
489
|
+
# virtualization lets you run virtual machine (VM) instances inside your
|
490
|
+
# workstation. Before enabling nested virtualization, consider the following
|
491
|
+
# important considerations. Cloud Workstations instances are subject to the [
|
492
|
+
# same restrictions as Compute Engine instances](https://cloud.google.com/
|
493
|
+
# compute/docs/instances/nested-virtualization/overview#restrictions): * **
|
494
|
+
# Organization policy**: projects, folders, or organizations may be restricted
|
495
|
+
# from creating nested VMs if the **Disable VM nested virtualization**
|
496
|
+
# constraint is enforced in the organization policy. For more information, see
|
497
|
+
# the Compute Engine section, [Checking whether nested virtualization is allowed]
|
498
|
+
# (https://cloud.google.com/compute/docs/instances/nested-virtualization/
|
499
|
+
# managing-constraint#checking_whether_nested_virtualization_is_allowed). * **
|
500
|
+
# Performance**: nested VMs might experience a 10% or greater decrease in
|
501
|
+
# performance for workloads that are CPU-bound and possibly greater than a 10%
|
502
|
+
# decrease for workloads that are input/output bound. * **Machine Type**: nested
|
503
|
+
# virtualization can only be enabled on workstation configurations that specify
|
504
|
+
# a machine_type in the N1 or N2 machine series.
|
511
505
|
# Corresponds to the JSON property `enableNestedVirtualization`
|
512
506
|
# @return [Boolean]
|
513
507
|
attr_accessor :enable_nested_virtualization
|
@@ -571,6 +565,14 @@ module Google
|
|
571
565
|
# @return [Array<String>]
|
572
566
|
attr_accessor :tags
|
573
567
|
|
568
|
+
# Optional. Resource manager tags to be bound to this instance. Tag keys and
|
569
|
+
# values have the same definition as https://cloud.google.com/resource-manager/
|
570
|
+
# docs/tags/tags-overview Keys must be in the format `tagKeys/`tag_key_id``, and
|
571
|
+
# values are in the format `tagValues/456`.
|
572
|
+
# Corresponds to the JSON property `vmTags`
|
573
|
+
# @return [Hash<String,String>]
|
574
|
+
attr_accessor :vm_tags
|
575
|
+
|
574
576
|
def initialize(**args)
|
575
577
|
update!(**args)
|
576
578
|
end
|
@@ -590,6 +592,7 @@ module Google
|
|
590
592
|
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
|
591
593
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
592
594
|
@tags = args[:tags] if args.key?(:tags)
|
595
|
+
@vm_tags = args[:vm_tags] if args.key?(:vm_tags)
|
593
596
|
end
|
594
597
|
end
|
595
598
|
|
@@ -740,6 +743,15 @@ module Google
|
|
740
743
|
# @return [String]
|
741
744
|
attr_accessor :expire_time
|
742
745
|
|
746
|
+
# Optional. Port for which the access token should be generated. If specified,
|
747
|
+
# the generated access token grants access only to the specified port of the
|
748
|
+
# workstation. If specified, values must be within the range [1 - 65535]. If not
|
749
|
+
# specified, the generated access token grants access to all ports of the
|
750
|
+
# workstation.
|
751
|
+
# Corresponds to the JSON property `port`
|
752
|
+
# @return [Fixnum]
|
753
|
+
attr_accessor :port
|
754
|
+
|
743
755
|
# Desired lifetime duration of the access token. This value must be at most 24
|
744
756
|
# hours. If a value is not specified, the token's lifetime will be set to a
|
745
757
|
# default value of 1 hour.
|
@@ -754,6 +766,7 @@ module Google
|
|
754
766
|
# Update properties of this object
|
755
767
|
def update!(**args)
|
756
768
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
769
|
+
@port = args[:port] if args.key?(:port)
|
757
770
|
@ttl = args[:ttl] if args.key?(:ttl)
|
758
771
|
end
|
759
772
|
end
|
@@ -1322,27 +1335,63 @@ module Google
|
|
1322
1335
|
end
|
1323
1336
|
end
|
1324
1337
|
|
1325
|
-
#
|
1338
|
+
# A PortRange defines a range of ports. Both first and last are inclusive. To
|
1339
|
+
# specify a single port, both first and last should be the same.
|
1340
|
+
class PortRange
|
1341
|
+
include Google::Apis::Core::Hashable
|
1342
|
+
|
1343
|
+
# Required. Starting port number for the current range of ports.
|
1344
|
+
# Corresponds to the JSON property `first`
|
1345
|
+
# @return [Fixnum]
|
1346
|
+
attr_accessor :first
|
1347
|
+
|
1348
|
+
# Required. Ending port number for the current range of ports.
|
1349
|
+
# Corresponds to the JSON property `last`
|
1350
|
+
# @return [Fixnum]
|
1351
|
+
attr_accessor :last
|
1352
|
+
|
1353
|
+
def initialize(**args)
|
1354
|
+
update!(**args)
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# Update properties of this object
|
1358
|
+
def update!(**args)
|
1359
|
+
@first = args[:first] if args.key?(:first)
|
1360
|
+
@last = args[:last] if args.key?(:last)
|
1361
|
+
end
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# Configuration options for private workstation clusters.
|
1326
1365
|
class PrivateClusterConfig
|
1327
1366
|
include Google::Apis::Core::Hashable
|
1328
1367
|
|
1329
|
-
#
|
1368
|
+
# Optional. Additional projects that are allowed to attach to the workstation
|
1369
|
+
# cluster's service attachment. By default, the workstation cluster's project
|
1370
|
+
# and the VPC host project (if different) are allowed.
|
1330
1371
|
# Corresponds to the JSON property `allowedProjects`
|
1331
1372
|
# @return [Array<String>]
|
1332
1373
|
attr_accessor :allowed_projects
|
1333
1374
|
|
1334
|
-
#
|
1375
|
+
# Output only. Hostname for the workstation cluster. This field will be
|
1376
|
+
# populated only when private endpoint is enabled. To access workstations in the
|
1377
|
+
# workstation cluster, create a new DNS zone mapping this domain name to an
|
1378
|
+
# internal IP address and a forwarding rule mapping that address to the service
|
1379
|
+
# attachment.
|
1335
1380
|
# Corresponds to the JSON property `clusterHostname`
|
1336
1381
|
# @return [String]
|
1337
1382
|
attr_accessor :cluster_hostname
|
1338
1383
|
|
1339
|
-
#
|
1384
|
+
# Immutable. Whether Workstations endpoint is private.
|
1340
1385
|
# Corresponds to the JSON property `enablePrivateEndpoint`
|
1341
1386
|
# @return [Boolean]
|
1342
1387
|
attr_accessor :enable_private_endpoint
|
1343
1388
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
1344
1389
|
|
1345
|
-
#
|
1390
|
+
# Output only. Service attachment URI for the workstation cluster. The service
|
1391
|
+
# attachemnt is created when private endpoint is enabled. To access workstations
|
1392
|
+
# in the workstation cluster, configure access to the managed service using [
|
1393
|
+
# Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-
|
1394
|
+
# service-connect-services).
|
1346
1395
|
# Corresponds to the JSON property `serviceAttachmentUri`
|
1347
1396
|
# @return [String]
|
1348
1397
|
attr_accessor :service_attachment_uri
|
@@ -1736,7 +1785,7 @@ module Google
|
|
1736
1785
|
# @return [String]
|
1737
1786
|
attr_accessor :display_name
|
1738
1787
|
|
1739
|
-
# Configuration options for
|
1788
|
+
# Configuration options for a custom domain.
|
1740
1789
|
# Corresponds to the JSON property `domainConfig`
|
1741
1790
|
# @return [Google::Apis::WorkstationsV1::DomainConfig]
|
1742
1791
|
attr_accessor :domain_config
|
@@ -1766,7 +1815,7 @@ module Google
|
|
1766
1815
|
# @return [String]
|
1767
1816
|
attr_accessor :network
|
1768
1817
|
|
1769
|
-
#
|
1818
|
+
# Configuration options for private workstation clusters.
|
1770
1819
|
# Corresponds to the JSON property `privateClusterConfig`
|
1771
1820
|
# @return [Google::Apis::WorkstationsV1::PrivateClusterConfig]
|
1772
1821
|
attr_accessor :private_cluster_config
|
@@ -1831,6 +1880,12 @@ module Google
|
|
1831
1880
|
class WorkstationConfig
|
1832
1881
|
include Google::Apis::Core::Hashable
|
1833
1882
|
|
1883
|
+
# Optional. A Single or Range of ports externally accessible in the workstation.
|
1884
|
+
# If not specified defaults to ports 22, 80 and ports 1024-65535.
|
1885
|
+
# Corresponds to the JSON property `allowedPorts`
|
1886
|
+
# @return [Array<Google::Apis::WorkstationsV1::PortRange>]
|
1887
|
+
attr_accessor :allowed_ports
|
1888
|
+
|
1834
1889
|
# Optional. Client-specified annotations.
|
1835
1890
|
# Corresponds to the JSON property `annotations`
|
1836
1891
|
# @return [Hash<String,String>]
|
@@ -1879,10 +1934,14 @@ module Google
|
|
1879
1934
|
attr_accessor :display_name
|
1880
1935
|
|
1881
1936
|
# Optional. Whether to enable Linux `auditd` logging on the workstation. When
|
1882
|
-
# enabled, a
|
1883
|
-
#
|
1884
|
-
# from [Cloud Audit Logs](https://cloud.google.
|
1885
|
-
# logging)
|
1937
|
+
# enabled, a service_account must also be specified that has `roles/logging.
|
1938
|
+
# logWriter` and `roles/monitoring.metricWriter` on the project. Operating
|
1939
|
+
# system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.
|
1940
|
+
# com/workstations/docs/audit-logging) and [Container output logging](http://
|
1941
|
+
# cloud/workstations/docs/container-output-logging#overview). Operating system
|
1942
|
+
# audit logs are available in the [Cloud Logging](https://cloud.google.com/
|
1943
|
+
# logging/docs) console by querying: resource.type="gce_instance" log_name:"/
|
1944
|
+
# logs/linux-auditd"
|
1886
1945
|
# Corresponds to the JSON property `enableAuditAgent`
|
1887
1946
|
# @return [Boolean]
|
1888
1947
|
attr_accessor :enable_audit_agent
|
@@ -2000,6 +2059,7 @@ module Google
|
|
2000
2059
|
|
2001
2060
|
# Update properties of this object
|
2002
2061
|
def update!(**args)
|
2062
|
+
@allowed_ports = args[:allowed_ports] if args.key?(:allowed_ports)
|
2003
2063
|
@annotations = args[:annotations] if args.key?(:annotations)
|
2004
2064
|
@conditions = args[:conditions] if args.key?(:conditions)
|
2005
2065
|
@container = args[:container] if args.key?(:container)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module WorkstationsV1
|
18
18
|
# Version of the google-apis-workstations_v1 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.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class PortRange
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class PrivateClusterConfig
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -387,6 +393,7 @@ module Google
|
|
387
393
|
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig::Representation
|
388
394
|
|
389
395
|
collection :tags, as: 'tags'
|
396
|
+
hash :vm_tags, as: 'vmTags'
|
390
397
|
end
|
391
398
|
end
|
392
399
|
|
@@ -424,6 +431,7 @@ module Google
|
|
424
431
|
# @private
|
425
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
426
433
|
property :expire_time, as: 'expireTime'
|
434
|
+
property :port, as: 'port'
|
427
435
|
property :ttl, as: 'ttl'
|
428
436
|
end
|
429
437
|
end
|
@@ -575,6 +583,14 @@ module Google
|
|
575
583
|
end
|
576
584
|
end
|
577
585
|
|
586
|
+
class PortRange
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :first, as: 'first'
|
590
|
+
property :last, as: 'last'
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
578
594
|
class PrivateClusterConfig
|
579
595
|
# @private
|
580
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -691,6 +707,8 @@ module Google
|
|
691
707
|
class WorkstationConfig
|
692
708
|
# @private
|
693
709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
710
|
+
collection :allowed_ports, as: 'allowedPorts', class: Google::Apis::WorkstationsV1::PortRange, decorator: Google::Apis::WorkstationsV1::PortRange::Representation
|
711
|
+
|
694
712
|
hash :annotations, as: 'annotations'
|
695
713
|
collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1::Status, decorator: Google::Apis::WorkstationsV1::Status::Representation
|
696
714
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-workstations_v1
|
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: 2024-
|
11
|
+
date: 2024-07-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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|