google-apis-workstations_v1 0.13.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
@@ -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
|
@@ -1341,27 +1335,63 @@ module Google
|
|
1341
1335
|
end
|
1342
1336
|
end
|
1343
1337
|
|
1344
|
-
#
|
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.
|
1345
1365
|
class PrivateClusterConfig
|
1346
1366
|
include Google::Apis::Core::Hashable
|
1347
1367
|
|
1348
|
-
#
|
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.
|
1349
1371
|
# Corresponds to the JSON property `allowedProjects`
|
1350
1372
|
# @return [Array<String>]
|
1351
1373
|
attr_accessor :allowed_projects
|
1352
1374
|
|
1353
|
-
#
|
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.
|
1354
1380
|
# Corresponds to the JSON property `clusterHostname`
|
1355
1381
|
# @return [String]
|
1356
1382
|
attr_accessor :cluster_hostname
|
1357
1383
|
|
1358
|
-
#
|
1384
|
+
# Immutable. Whether Workstations endpoint is private.
|
1359
1385
|
# Corresponds to the JSON property `enablePrivateEndpoint`
|
1360
1386
|
# @return [Boolean]
|
1361
1387
|
attr_accessor :enable_private_endpoint
|
1362
1388
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
1363
1389
|
|
1364
|
-
#
|
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).
|
1365
1395
|
# Corresponds to the JSON property `serviceAttachmentUri`
|
1366
1396
|
# @return [String]
|
1367
1397
|
attr_accessor :service_attachment_uri
|
@@ -1755,7 +1785,7 @@ module Google
|
|
1755
1785
|
# @return [String]
|
1756
1786
|
attr_accessor :display_name
|
1757
1787
|
|
1758
|
-
# Configuration options for
|
1788
|
+
# Configuration options for a custom domain.
|
1759
1789
|
# Corresponds to the JSON property `domainConfig`
|
1760
1790
|
# @return [Google::Apis::WorkstationsV1::DomainConfig]
|
1761
1791
|
attr_accessor :domain_config
|
@@ -1785,7 +1815,7 @@ module Google
|
|
1785
1815
|
# @return [String]
|
1786
1816
|
attr_accessor :network
|
1787
1817
|
|
1788
|
-
#
|
1818
|
+
# Configuration options for private workstation clusters.
|
1789
1819
|
# Corresponds to the JSON property `privateClusterConfig`
|
1790
1820
|
# @return [Google::Apis::WorkstationsV1::PrivateClusterConfig]
|
1791
1821
|
attr_accessor :private_cluster_config
|
@@ -1850,6 +1880,12 @@ module Google
|
|
1850
1880
|
class WorkstationConfig
|
1851
1881
|
include Google::Apis::Core::Hashable
|
1852
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
|
+
|
1853
1889
|
# Optional. Client-specified annotations.
|
1854
1890
|
# Corresponds to the JSON property `annotations`
|
1855
1891
|
# @return [Hash<String,String>]
|
@@ -1898,10 +1934,14 @@ module Google
|
|
1898
1934
|
attr_accessor :display_name
|
1899
1935
|
|
1900
1936
|
# Optional. Whether to enable Linux `auditd` logging on the workstation. When
|
1901
|
-
# enabled, a
|
1902
|
-
#
|
1903
|
-
# from [Cloud Audit Logs](https://cloud.google.
|
1904
|
-
# 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"
|
1905
1945
|
# Corresponds to the JSON property `enableAuditAgent`
|
1906
1946
|
# @return [Boolean]
|
1907
1947
|
attr_accessor :enable_audit_agent
|
@@ -2019,6 +2059,7 @@ module Google
|
|
2019
2059
|
|
2020
2060
|
# Update properties of this object
|
2021
2061
|
def update!(**args)
|
2062
|
+
@allowed_ports = args[:allowed_ports] if args.key?(:allowed_ports)
|
2022
2063
|
@annotations = args[:annotations] if args.key?(:annotations)
|
2023
2064
|
@conditions = args[:conditions] if args.key?(:conditions)
|
2024
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
|
|
@@ -577,6 +583,14 @@ module Google
|
|
577
583
|
end
|
578
584
|
end
|
579
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
|
+
|
580
594
|
class PrivateClusterConfig
|
581
595
|
# @private
|
582
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -693,6 +707,8 @@ module Google
|
|
693
707
|
class WorkstationConfig
|
694
708
|
# @private
|
695
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
|
+
|
696
712
|
hash :annotations, as: 'annotations'
|
697
713
|
collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1::Status, decorator: Google::Apis::WorkstationsV1::Status::Representation
|
698
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: []
|