google-apis-workstations_v1beta 0.29.0 → 0.31.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: be0363d3d36fe3457a0947209e65df7a77f93f32d5a43660906a8367b19b8022
|
4
|
+
data.tar.gz: ff612f56ff616c7e2922ac219a50384fd052a72ba14ca6c3fb1ad9a871f2ade2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de891f635c5643ea4e9eb19b330226fad4cf6dabc6e8f61e246605a94380c2c0b7b9c915d89253eee0fe626c4cd7993428a9b939eb3f5cd455859cc8e28e08e
|
7
|
+
data.tar.gz: fc1752608218c8efb1aaa5dd476faad9e1efc10ae0d3f0b47eed29ad9d4fa450c73edf009460d89246327e669a9ad6ec7b32ed4c25608fd64513066b93bd0f6d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
2
2
|
|
3
|
+
### v0.31.0 (2024-06-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240619
|
6
|
+
|
7
|
+
### v0.30.0 (2024-06-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240528
|
10
|
+
|
3
11
|
### v0.29.0 (2024-05-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240520
|
@@ -407,11 +407,11 @@ module Google
|
|
407
407
|
end
|
408
408
|
end
|
409
409
|
|
410
|
-
# Configuration options for
|
410
|
+
# Configuration options for private workstation clusters.
|
411
411
|
class DomainConfig
|
412
412
|
include Google::Apis::Core::Hashable
|
413
413
|
|
414
|
-
# Immutable.
|
414
|
+
# Immutable. Whether Workstations endpoint is private.
|
415
415
|
# Corresponds to the JSON property `domain`
|
416
416
|
# @return [String]
|
417
417
|
attr_accessor :domain
|
@@ -588,7 +588,7 @@ module Google
|
|
588
588
|
# are input/output bound. * **Machine Type**: nested virtualization can only be
|
589
589
|
# enabled on workstation configurations that specify a machine_type in the N1 or
|
590
590
|
# N2 machine series. * **GPUs**: nested virtualization may not be enabled on
|
591
|
-
# workstation configurations with accelerators. * **Operating System**:
|
591
|
+
# workstation configurations with accelerators. * **Operating System**: because [
|
592
592
|
# Container-Optimized OS](https://cloud.google.com/compute/docs/images/os-
|
593
593
|
# details#container-optimized_os_cos) does not support nested virtualization,
|
594
594
|
# when nested virtualization is enabled, the underlying Compute Engine VM
|
@@ -837,9 +837,9 @@ module Google
|
|
837
837
|
attr_accessor :expire_time
|
838
838
|
|
839
839
|
# Optional. Port for which the access token should be generated. If specified,
|
840
|
-
# the generated access token
|
840
|
+
# the generated access token grants access only to the specified port of the
|
841
841
|
# workstation. If specified, values must be within the range [1 - 65535]. If not
|
842
|
-
# specified, the generated access token
|
842
|
+
# specified, the generated access token grants access to all ports of the
|
843
843
|
# workstation.
|
844
844
|
# Corresponds to the JSON property `port`
|
845
845
|
# @return [Fixnum]
|
@@ -926,6 +926,32 @@ module Google
|
|
926
926
|
end
|
927
927
|
end
|
928
928
|
|
929
|
+
# Http options for the running workstations.
|
930
|
+
class HttpOptions
|
931
|
+
include Google::Apis::Core::Hashable
|
932
|
+
|
933
|
+
# Optional. By default, the workstations service makes sure that all requests to
|
934
|
+
# the workstation are authenticated. CORS preflight requests do not include
|
935
|
+
# cookies or custom headers, and so are considered unauthenticated and blocked
|
936
|
+
# by the workstations service. Enabling this option allows these unauthenticated
|
937
|
+
# CORS preflight requests through to the workstation, where it becomes the
|
938
|
+
# responsibility of the destination server in the workstation to validate the
|
939
|
+
# request.
|
940
|
+
# Corresponds to the JSON property `allowedUnauthenticatedCorsPreflightRequests`
|
941
|
+
# @return [Boolean]
|
942
|
+
attr_accessor :allowed_unauthenticated_cors_preflight_requests
|
943
|
+
alias_method :allowed_unauthenticated_cors_preflight_requests?, :allowed_unauthenticated_cors_preflight_requests
|
944
|
+
|
945
|
+
def initialize(**args)
|
946
|
+
update!(**args)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Update properties of this object
|
950
|
+
def update!(**args)
|
951
|
+
@allowed_unauthenticated_cors_preflight_requests = args[:allowed_unauthenticated_cors_preflight_requests] if args.key?(:allowed_unauthenticated_cors_preflight_requests)
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
929
955
|
# The response message for Operations.ListOperations.
|
930
956
|
class ListOperationsResponse
|
931
957
|
include Google::Apis::Core::Hashable
|
@@ -1357,7 +1383,7 @@ module Google
|
|
1357
1383
|
end
|
1358
1384
|
|
1359
1385
|
# A PortsConfig defines a range of ports. Both first and last are inclusive. To
|
1360
|
-
# specify a single port, both first and last should be same.
|
1386
|
+
# specify a single port, both first and last should be the same.
|
1361
1387
|
class PortRange
|
1362
1388
|
include Google::Apis::Core::Hashable
|
1363
1389
|
|
@@ -1382,37 +1408,27 @@ module Google
|
|
1382
1408
|
end
|
1383
1409
|
end
|
1384
1410
|
|
1385
|
-
#
|
1411
|
+
#
|
1386
1412
|
class PrivateClusterConfig
|
1387
1413
|
include Google::Apis::Core::Hashable
|
1388
1414
|
|
1389
|
-
#
|
1390
|
-
# cluster's service attachment. By default, the workstation cluster's project
|
1391
|
-
# and the VPC host project (if different) are allowed.
|
1415
|
+
#
|
1392
1416
|
# Corresponds to the JSON property `allowedProjects`
|
1393
1417
|
# @return [Array<String>]
|
1394
1418
|
attr_accessor :allowed_projects
|
1395
1419
|
|
1396
|
-
#
|
1397
|
-
# populated only when private endpoint is enabled. To access workstations in the
|
1398
|
-
# workstation cluster, create a new DNS zone mapping this domain name to an
|
1399
|
-
# internal IP address and a forwarding rule mapping that address to the service
|
1400
|
-
# attachment.
|
1420
|
+
#
|
1401
1421
|
# Corresponds to the JSON property `clusterHostname`
|
1402
1422
|
# @return [String]
|
1403
1423
|
attr_accessor :cluster_hostname
|
1404
1424
|
|
1405
|
-
#
|
1425
|
+
#
|
1406
1426
|
# Corresponds to the JSON property `enablePrivateEndpoint`
|
1407
1427
|
# @return [Boolean]
|
1408
1428
|
attr_accessor :enable_private_endpoint
|
1409
1429
|
alias_method :enable_private_endpoint?, :enable_private_endpoint
|
1410
1430
|
|
1411
|
-
#
|
1412
|
-
# attachemnt is created when private endpoint is enabled. To access workstations
|
1413
|
-
# in the workstation cluster, configure access to the managed service using [
|
1414
|
-
# Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-
|
1415
|
-
# service-connect-services).
|
1431
|
+
#
|
1416
1432
|
# Corresponds to the JSON property `serviceAttachmentUri`
|
1417
1433
|
# @return [String]
|
1418
1434
|
attr_accessor :service_attachment_uri
|
@@ -1721,6 +1737,12 @@ module Google
|
|
1721
1737
|
attr_accessor :reconciling
|
1722
1738
|
alias_method :reconciling?, :reconciling
|
1723
1739
|
|
1740
|
+
# Optional. The source workstation from which this workstations persistent
|
1741
|
+
# directories were cloned on creation.
|
1742
|
+
# Corresponds to the JSON property `sourceWorkstation`
|
1743
|
+
# @return [String]
|
1744
|
+
attr_accessor :source_workstation
|
1745
|
+
|
1724
1746
|
# Output only. Time when this workstation was most recently successfully started,
|
1725
1747
|
# regardless of the workstation's initial state.
|
1726
1748
|
# Corresponds to the JSON property `startTime`
|
@@ -1759,6 +1781,7 @@ module Google
|
|
1759
1781
|
@labels = args[:labels] if args.key?(:labels)
|
1760
1782
|
@name = args[:name] if args.key?(:name)
|
1761
1783
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
1784
|
+
@source_workstation = args[:source_workstation] if args.key?(:source_workstation)
|
1762
1785
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1763
1786
|
@state = args[:state] if args.key?(:state)
|
1764
1787
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -1813,7 +1836,7 @@ module Google
|
|
1813
1836
|
# @return [String]
|
1814
1837
|
attr_accessor :display_name
|
1815
1838
|
|
1816
|
-
# Configuration options for
|
1839
|
+
# Configuration options for private workstation clusters.
|
1817
1840
|
# Corresponds to the JSON property `domainConfig`
|
1818
1841
|
# @return [Google::Apis::WorkstationsV1beta::DomainConfig]
|
1819
1842
|
attr_accessor :domain_config
|
@@ -1843,7 +1866,7 @@ module Google
|
|
1843
1866
|
# @return [String]
|
1844
1867
|
attr_accessor :network
|
1845
1868
|
|
1846
|
-
# Configuration
|
1869
|
+
# Optional. Configuration for private workstation cluster.
|
1847
1870
|
# Corresponds to the JSON property `privateClusterConfig`
|
1848
1871
|
# @return [Google::Apis::WorkstationsV1beta::PrivateClusterConfig]
|
1849
1872
|
attr_accessor :private_cluster_config
|
@@ -1908,7 +1931,7 @@ module Google
|
|
1908
1931
|
class WorkstationConfig
|
1909
1932
|
include Google::Apis::Core::Hashable
|
1910
1933
|
|
1911
|
-
# Optional. Single or Range of ports externally accessible in the workstation.
|
1934
|
+
# Optional. A Single or Range of ports externally accessible in the workstation.
|
1912
1935
|
# If not specified defaults to ports 22, 80 and ports 1024-65535.
|
1913
1936
|
# Corresponds to the JSON property `allowedPorts`
|
1914
1937
|
# @return [Array<Google::Apis::WorkstationsV1beta::PortRange>]
|
@@ -1998,6 +2021,11 @@ module Google
|
|
1998
2021
|
# @return [Google::Apis::WorkstationsV1beta::Host]
|
1999
2022
|
attr_accessor :host
|
2000
2023
|
|
2024
|
+
# Http options for the running workstations.
|
2025
|
+
# Corresponds to the JSON property `httpOptions`
|
2026
|
+
# @return [Google::Apis::WorkstationsV1beta::HttpOptions]
|
2027
|
+
attr_accessor :http_options
|
2028
|
+
|
2001
2029
|
# Optional. Number of seconds to wait before automatically stopping a
|
2002
2030
|
# workstation after it last received user traffic. A value of `"0s"` indicates
|
2003
2031
|
# that Cloud Workstations VMs created with this configuration should never time
|
@@ -2097,6 +2125,7 @@ module Google
|
|
2097
2125
|
@ephemeral_directories = args[:ephemeral_directories] if args.key?(:ephemeral_directories)
|
2098
2126
|
@etag = args[:etag] if args.key?(:etag)
|
2099
2127
|
@host = args[:host] if args.key?(:host)
|
2128
|
+
@http_options = args[:http_options] if args.key?(:http_options)
|
2100
2129
|
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
2101
2130
|
@labels = args[:labels] if args.key?(:labels)
|
2102
2131
|
@name = args[:name] if args.key?(:name)
|
@@ -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.31.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 = "20240619"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,6 +142,12 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
+
class HttpOptions
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
145
151
|
class ListOperationsResponse
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
@@ -467,6 +473,13 @@ module Google
|
|
467
473
|
end
|
468
474
|
end
|
469
475
|
|
476
|
+
class HttpOptions
|
477
|
+
# @private
|
478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
479
|
+
property :allowed_unauthenticated_cors_preflight_requests, as: 'allowedUnauthenticatedCorsPreflightRequests'
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
470
483
|
class ListOperationsResponse
|
471
484
|
# @private
|
472
485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -661,6 +674,7 @@ module Google
|
|
661
674
|
hash :labels, as: 'labels'
|
662
675
|
property :name, as: 'name'
|
663
676
|
property :reconciling, as: 'reconciling'
|
677
|
+
property :source_workstation, as: 'sourceWorkstation'
|
664
678
|
property :start_time, as: 'startTime'
|
665
679
|
property :state, as: 'state'
|
666
680
|
property :uid, as: 'uid'
|
@@ -717,6 +731,8 @@ module Google
|
|
717
731
|
property :etag, as: 'etag'
|
718
732
|
property :host, as: 'host', class: Google::Apis::WorkstationsV1beta::Host, decorator: Google::Apis::WorkstationsV1beta::Host::Representation
|
719
733
|
|
734
|
+
property :http_options, as: 'httpOptions', class: Google::Apis::WorkstationsV1beta::HttpOptions, decorator: Google::Apis::WorkstationsV1beta::HttpOptions::Representation
|
735
|
+
|
720
736
|
property :idle_timeout, as: 'idleTimeout'
|
721
737
|
hash :labels, as: 'labels'
|
722
738
|
property :name, as: 'name'
|
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.31.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-06-27 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.31.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: []
|