google-apis-workstations_v1beta 0.32.0 → 0.34.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 +9 -0
- data/lib/google/apis/workstations_v1beta/classes.rb +64 -23
- data/lib/google/apis/workstations_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/workstations_v1beta/representations.rb +3 -0
- data/lib/google/apis/workstations_v1beta/service.rb +4 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a597997bdf7d61de4f5a60b6842d8bb066317d90531b7149ac23be6c676cd98
|
4
|
+
data.tar.gz: 02c44c9ea6f965b8e623304255cdd24e1269fcfbd25c53211924b05daa1857b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 917b787cae83c75a6313af18524d36b516c6ed238e114ea7d4550e2aed9d09f0a4d914cb9b0ca5f85a82f92c67fc1e60d21daa6bd9b8fba524c76e211eb52a20
|
7
|
+
data.tar.gz: b49b3eaaa8135154440d4182ab72b19b46f621d9e1143e977922ab73f5aa9ad077c52f901a26d560c855feb2fb884ff69cad27d0c33daca09cc9a355960d4636
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
2
2
|
|
3
|
+
### v0.34.0 (2024-12-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241202
|
6
|
+
|
7
|
+
### v0.33.0 (2024-12-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241009
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.32.0 (2024-07-25)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240716
|
@@ -220,7 +220,12 @@ module Google
|
|
220
220
|
end
|
221
221
|
end
|
222
222
|
|
223
|
-
# A configuration that
|
223
|
+
# A boost configuration is a set of resources that a workstation can use to
|
224
|
+
# increase its performance. If a boost configuration is specified, when starting
|
225
|
+
# a workstation, users can choose to use a VM provisioned under the boost config
|
226
|
+
# by passing the boost config id in the start request. If no boost config id is
|
227
|
+
# provided in the start request, the system will choose a VM from the pool
|
228
|
+
# provisioned under the default config.
|
224
229
|
class BoostConfig
|
225
230
|
include Google::Apis::Core::Hashable
|
226
231
|
|
@@ -259,7 +264,7 @@ module Google
|
|
259
264
|
attr_accessor :enable_nested_virtualization
|
260
265
|
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
|
261
266
|
|
262
|
-
#
|
267
|
+
# Required. The id to be used for the boost configuration.
|
263
268
|
# Corresponds to the JSON property `id`
|
264
269
|
# @return [String]
|
265
270
|
attr_accessor :id
|
@@ -531,7 +536,9 @@ module Google
|
|
531
536
|
attr_accessor :accelerators
|
532
537
|
|
533
538
|
# Optional. A list of the boost configurations that workstations created using
|
534
|
-
# this workstation configuration are allowed to use.
|
539
|
+
# this workstation configuration are allowed to use. If specified, users will
|
540
|
+
# have the option to choose from the list of boost configs when starting a
|
541
|
+
# workstation.
|
535
542
|
# Corresponds to the JSON property `boostConfigs`
|
536
543
|
# @return [Array<Google::Apis::WorkstationsV1beta::BoostConfig>]
|
537
544
|
attr_accessor :boost_configs
|
@@ -646,9 +653,9 @@ module Google
|
|
646
653
|
attr_accessor :tags
|
647
654
|
|
648
655
|
# Optional. Resource manager tags to be bound to this instance. Tag keys and
|
649
|
-
# values have the same definition as https://cloud.
|
650
|
-
# docs/tags/tags-overview Keys must be in the
|
651
|
-
# values are in the format `tagValues/456`.
|
656
|
+
# values have the same definition as [resource manager tags](https://cloud.
|
657
|
+
# google.com/resource-manager/docs/tags/tags-overview). Keys must be in the
|
658
|
+
# format `tagKeys/`tag_key_id``, and values are in the format `tagValues/456`.
|
652
659
|
# Corresponds to the JSON property `vmTags`
|
653
660
|
# @return [Hash<String,String>]
|
654
661
|
attr_accessor :vm_tags
|
@@ -914,7 +921,7 @@ module Google
|
|
914
921
|
end
|
915
922
|
end
|
916
923
|
|
917
|
-
#
|
924
|
+
# HTTP options for the running workstations.
|
918
925
|
class HttpOptions
|
919
926
|
include Google::Apis::Core::Hashable
|
920
927
|
|
@@ -1375,12 +1382,14 @@ module Google
|
|
1375
1382
|
class PortRange
|
1376
1383
|
include Google::Apis::Core::Hashable
|
1377
1384
|
|
1378
|
-
# Required. Starting port number for the current range of ports.
|
1385
|
+
# Required. Starting port number for the current range of ports. Valid ports are
|
1386
|
+
# 22, 80, and ports within the range 1024-65535.
|
1379
1387
|
# Corresponds to the JSON property `first`
|
1380
1388
|
# @return [Fixnum]
|
1381
1389
|
attr_accessor :first
|
1382
1390
|
|
1383
|
-
# Required. Ending port number for the current range of ports.
|
1391
|
+
# Required. Ending port number for the current range of ports. Valid ports are
|
1392
|
+
# 22, 80, and ports within the range 1024-65535.
|
1384
1393
|
# Corresponds to the JSON property `last`
|
1385
1394
|
# @return [Fixnum]
|
1386
1395
|
attr_accessor :last
|
@@ -1673,8 +1682,8 @@ module Google
|
|
1673
1682
|
# @return [Hash<String,String>]
|
1674
1683
|
attr_accessor :annotations
|
1675
1684
|
|
1676
|
-
# Output only. List of available boost configuration
|
1677
|
-
# can be boosted up to
|
1685
|
+
# Output only. List of available boost configuration IDs that this workstation
|
1686
|
+
# can be boosted up to.
|
1678
1687
|
# Corresponds to the JSON property `boostConfigs`
|
1679
1688
|
# @return [Array<Google::Apis::WorkstationsV1beta::WorkstationBoostConfig>]
|
1680
1689
|
attr_accessor :boost_configs
|
@@ -1753,7 +1762,7 @@ module Google
|
|
1753
1762
|
attr_accessor :satisfies_pzs
|
1754
1763
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
1755
1764
|
|
1756
|
-
# Optional. The source workstation from which this
|
1765
|
+
# Optional. The source workstation from which this workstation's persistent
|
1757
1766
|
# directories were cloned on creation.
|
1758
1767
|
# Corresponds to the JSON property `sourceWorkstation`
|
1759
1768
|
# @return [String]
|
@@ -1808,12 +1817,12 @@ module Google
|
|
1808
1817
|
end
|
1809
1818
|
end
|
1810
1819
|
|
1811
|
-
# Boost
|
1812
|
-
# workstation
|
1820
|
+
# Boost configuration for this workstation. This object is populated from the
|
1821
|
+
# parent workstation configuration.
|
1813
1822
|
class WorkstationBoostConfig
|
1814
1823
|
include Google::Apis::Core::Hashable
|
1815
1824
|
|
1816
|
-
# Output only. Boost
|
1825
|
+
# Output only. Boost configuration ID.
|
1817
1826
|
# Corresponds to the JSON property `id`
|
1818
1827
|
# @return [String]
|
1819
1828
|
attr_accessor :id
|
@@ -1936,6 +1945,12 @@ module Google
|
|
1936
1945
|
# @return [String]
|
1937
1946
|
attr_accessor :subnetwork
|
1938
1947
|
|
1948
|
+
# Optional. Tag keys/values directly bound to this resource. For example: "123/
|
1949
|
+
# environment": "production", "123/costCenter": "marketing"
|
1950
|
+
# Corresponds to the JSON property `tags`
|
1951
|
+
# @return [Hash<String,String>]
|
1952
|
+
attr_accessor :tags
|
1953
|
+
|
1939
1954
|
# Output only. A system-assigned unique identifier for this workstation cluster.
|
1940
1955
|
# Corresponds to the JSON property `uid`
|
1941
1956
|
# @return [String]
|
@@ -1969,6 +1984,7 @@ module Google
|
|
1969
1984
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
1970
1985
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1971
1986
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
1987
|
+
@tags = args[:tags] if args.key?(:tags)
|
1972
1988
|
@uid = args[:uid] if args.key?(:uid)
|
1973
1989
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1974
1990
|
end
|
@@ -1984,8 +2000,10 @@ module Google
|
|
1984
2000
|
class WorkstationConfig
|
1985
2001
|
include Google::Apis::Core::Hashable
|
1986
2002
|
|
1987
|
-
# Optional. A
|
1988
|
-
#
|
2003
|
+
# Optional. A list of PortRanges specifying single ports or ranges of ports that
|
2004
|
+
# are externally accessible in the workstation. Allowed ports must be one of 22,
|
2005
|
+
# 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and
|
2006
|
+
# ports 1024-65535.
|
1989
2007
|
# Corresponds to the JSON property `allowedPorts`
|
1990
2008
|
# @return [Array<Google::Apis::WorkstationsV1beta::PortRange>]
|
1991
2009
|
attr_accessor :allowed_ports
|
@@ -2041,11 +2059,11 @@ module Google
|
|
2041
2059
|
# enabled, a service_account must also be specified that has `roles/logging.
|
2042
2060
|
# logWriter` and `roles/monitoring.metricWriter` on the project. Operating
|
2043
2061
|
# system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.
|
2044
|
-
# com/workstations/docs/audit-logging) and [Container output logging](
|
2045
|
-
# cloud/workstations/docs/container-output-logging#overview).
|
2046
|
-
# audit logs are available in the [Cloud Logging](https://cloud.
|
2047
|
-
# logging/docs) console by querying: resource.type="gce_instance"
|
2048
|
-
# logs/linux-auditd"
|
2062
|
+
# com/workstations/docs/audit-logging) and [Container output logging](https://
|
2063
|
+
# cloud.google.com/workstations/docs/container-output-logging#overview).
|
2064
|
+
# Operating system audit logs are available in the [Cloud Logging](https://cloud.
|
2065
|
+
# google.com/logging/docs) console by querying: resource.type="gce_instance"
|
2066
|
+
# log_name:"/logs/linux-auditd"
|
2049
2067
|
# Corresponds to the JSON property `enableAuditAgent`
|
2050
2068
|
# @return [Boolean]
|
2051
2069
|
attr_accessor :enable_audit_agent
|
@@ -2073,12 +2091,21 @@ module Google
|
|
2073
2091
|
# @return [String]
|
2074
2092
|
attr_accessor :etag
|
2075
2093
|
|
2094
|
+
# Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role
|
2095
|
+
# along with `roles/workstations.user` role on the workstation created by them.
|
2096
|
+
# This allows workstation users to share access to either their entire
|
2097
|
+
# workstation, or individual ports. Defaults to false.
|
2098
|
+
# Corresponds to the JSON property `grantWorkstationAdminRoleOnCreate`
|
2099
|
+
# @return [Boolean]
|
2100
|
+
attr_accessor :grant_workstation_admin_role_on_create
|
2101
|
+
alias_method :grant_workstation_admin_role_on_create?, :grant_workstation_admin_role_on_create
|
2102
|
+
|
2076
2103
|
# Runtime host for a workstation.
|
2077
2104
|
# Corresponds to the JSON property `host`
|
2078
2105
|
# @return [Google::Apis::WorkstationsV1beta::Host]
|
2079
2106
|
attr_accessor :host
|
2080
2107
|
|
2081
|
-
#
|
2108
|
+
# HTTP options for the running workstations.
|
2082
2109
|
# Corresponds to the JSON property `httpOptions`
|
2083
2110
|
# @return [Google::Apis::WorkstationsV1beta::HttpOptions]
|
2084
2111
|
attr_accessor :http_options
|
@@ -2100,6 +2127,18 @@ module Google
|
|
2100
2127
|
# @return [Hash<String,String>]
|
2101
2128
|
attr_accessor :labels
|
2102
2129
|
|
2130
|
+
# Optional. Maximum number of workstations under this configuration a user can
|
2131
|
+
# have `workstations.workstation.use` permission on. Only enforced on
|
2132
|
+
# CreateWorkstation API calls on the user issuing the API request. Can be
|
2133
|
+
# overridden by: - granting a user workstations.workstationConfigs.
|
2134
|
+
# exemptMaxUsableWorkstationLimit permission, or - having a user with that
|
2135
|
+
# permission create a workstation and granting another user `workstations.
|
2136
|
+
# workstation.use` permission on that workstation. If not specified, defaults to
|
2137
|
+
# `0`, which indicates unlimited.
|
2138
|
+
# Corresponds to the JSON property `maxUsableWorkstations`
|
2139
|
+
# @return [Fixnum]
|
2140
|
+
attr_accessor :max_usable_workstations
|
2141
|
+
|
2103
2142
|
# Identifier. Full name of this workstation configuration.
|
2104
2143
|
# Corresponds to the JSON property `name`
|
2105
2144
|
# @return [String]
|
@@ -2193,10 +2232,12 @@ module Google
|
|
2193
2232
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
2194
2233
|
@ephemeral_directories = args[:ephemeral_directories] if args.key?(:ephemeral_directories)
|
2195
2234
|
@etag = args[:etag] if args.key?(:etag)
|
2235
|
+
@grant_workstation_admin_role_on_create = args[:grant_workstation_admin_role_on_create] if args.key?(:grant_workstation_admin_role_on_create)
|
2196
2236
|
@host = args[:host] if args.key?(:host)
|
2197
2237
|
@http_options = args[:http_options] if args.key?(:http_options)
|
2198
2238
|
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
2199
2239
|
@labels = args[:labels] if args.key?(:labels)
|
2240
|
+
@max_usable_workstations = args[:max_usable_workstations] if args.key?(:max_usable_workstations)
|
2200
2241
|
@name = args[:name] if args.key?(:name)
|
2201
2242
|
@persistent_directories = args[:persistent_directories] if args.key?(:persistent_directories)
|
2202
2243
|
@readiness_checks = args[:readiness_checks] if args.key?(:readiness_checks)
|
@@ -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.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241202"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -722,6 +722,7 @@ module Google
|
|
722
722
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
723
723
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
724
724
|
property :subnetwork, as: 'subnetwork'
|
725
|
+
hash :tags, as: 'tags'
|
725
726
|
property :uid, as: 'uid'
|
726
727
|
property :update_time, as: 'updateTime'
|
727
728
|
end
|
@@ -748,12 +749,14 @@ module Google
|
|
748
749
|
collection :ephemeral_directories, as: 'ephemeralDirectories', class: Google::Apis::WorkstationsV1beta::EphemeralDirectory, decorator: Google::Apis::WorkstationsV1beta::EphemeralDirectory::Representation
|
749
750
|
|
750
751
|
property :etag, as: 'etag'
|
752
|
+
property :grant_workstation_admin_role_on_create, as: 'grantWorkstationAdminRoleOnCreate'
|
751
753
|
property :host, as: 'host', class: Google::Apis::WorkstationsV1beta::Host, decorator: Google::Apis::WorkstationsV1beta::Host::Representation
|
752
754
|
|
753
755
|
property :http_options, as: 'httpOptions', class: Google::Apis::WorkstationsV1beta::HttpOptions, decorator: Google::Apis::WorkstationsV1beta::HttpOptions::Representation
|
754
756
|
|
755
757
|
property :idle_timeout, as: 'idleTimeout'
|
756
758
|
hash :labels, as: 'labels'
|
759
|
+
property :max_usable_workstations, as: 'maxUsableWorkstations'
|
757
760
|
property :name, as: 'name'
|
758
761
|
collection :persistent_directories, as: 'persistentDirectories', class: Google::Apis::WorkstationsV1beta::PersistentDirectory, decorator: Google::Apis::WorkstationsV1beta::PersistentDirectory::Representation
|
759
762
|
|
@@ -57,8 +57,8 @@ module Google
|
|
57
57
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
58
58
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
59
59
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
60
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
61
|
-
# corresponding to `Code.CANCELLED`.
|
60
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
61
|
+
# , corresponding to `Code.CANCELLED`.
|
62
62
|
# @param [String] name
|
63
63
|
# The name of the operation resource to be cancelled.
|
64
64
|
# @param [Google::Apis::WorkstationsV1beta::CancelOperationRequest] cancel_operation_request_object
|
@@ -821,7 +821,8 @@ module Google
|
|
821
821
|
end
|
822
822
|
|
823
823
|
# Returns a short-lived credential that can be used to send authenticated and
|
824
|
-
# authorized traffic to a workstation.
|
824
|
+
# authorized traffic to a workstation. Once generated this token cannot be
|
825
|
+
# revoked and is good for the lifetime of the token.
|
825
826
|
# @param [String] workstation
|
826
827
|
# Required. Name of the workstation for which the access token should be
|
827
828
|
# generated.
|
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.34.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-12-08 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.34.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Workstations API V1beta
|