google-apis-workstations_v1beta 0.32.0 → 0.33.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: 1d6c37570243da427d46ff921a29684e28a4cd18bc7558c1fee15d508c16c94c
4
- data.tar.gz: d52ad7bc2787dc4a0a21fed4dfc98109185814caab889e19f9e5004f91af4020
3
+ metadata.gz: 11a34e75cc4dcf22a814cce9047028cf9d267dc23670ff0cc59261c8afa17346
4
+ data.tar.gz: 307c7931c8b344733905dd796a65f579f0124c6bc1c695a58a19c304ba9bf622
5
5
  SHA512:
6
- metadata.gz: 24f75a707fce8893a6884aa0e58ead1123b4c2d4c9c755247441d647d2a932785deb32ddeec0c057b671480e49c97da4c65ebeb1760637e51ab704fd807d55f1
7
- data.tar.gz: 840e06319e06795f1195cf0f07a41c1f1fa6b38df3cea2f723ab97f5915f4c820f3d25c43eb1381ddfd67537f3ff27ca16b2deb78a8dda8c11949833f99524f2
6
+ metadata.gz: 9320314df4dfad9e2b6f4cd61152b37917e544cb44ac2e72faa50819b09bc5934af75aad334fe49adee932803161226b0ef7116e8085fd9b926b826895cb4510
7
+ data.tar.gz: 2125d3270811a424d66eb7cb3bbe70ec589c2b16a9a570314b7e967ba1c63f09ff53da9088d2e585a741fa296010dc928aa958d915a477b6b61ca64dbf836a55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.33.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241009
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.32.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240716
@@ -259,7 +259,7 @@ module Google
259
259
  attr_accessor :enable_nested_virtualization
260
260
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
261
261
 
262
- # Optional. Required. The id to be used for the boost config.
262
+ # Optional. Required. The id to be used for the boost configuration.
263
263
  # Corresponds to the JSON property `id`
264
264
  # @return [String]
265
265
  attr_accessor :id
@@ -646,9 +646,9 @@ module Google
646
646
  attr_accessor :tags
647
647
 
648
648
  # Optional. Resource manager tags to be bound to this instance. Tag keys and
649
- # values have the same definition as https://cloud.google.com/resource-manager/
650
- # docs/tags/tags-overview Keys must be in the format `tagKeys/`tag_key_id``, and
651
- # values are in the format `tagValues/456`.
649
+ # values have the same definition as [resource manager tags](https://cloud.
650
+ # google.com/resource-manager/docs/tags/tags-overview). Keys must be in the
651
+ # format `tagKeys/`tag_key_id``, and values are in the format `tagValues/456`.
652
652
  # Corresponds to the JSON property `vmTags`
653
653
  # @return [Hash<String,String>]
654
654
  attr_accessor :vm_tags
@@ -914,7 +914,7 @@ module Google
914
914
  end
915
915
  end
916
916
 
917
- # Http options for the running workstations.
917
+ # HTTP options for the running workstations.
918
918
  class HttpOptions
919
919
  include Google::Apis::Core::Hashable
920
920
 
@@ -1375,12 +1375,14 @@ module Google
1375
1375
  class PortRange
1376
1376
  include Google::Apis::Core::Hashable
1377
1377
 
1378
- # Required. Starting port number for the current range of ports.
1378
+ # Required. Starting port number for the current range of ports. Valid ports are
1379
+ # 22, 80, and ports within the range 1024-65535.
1379
1380
  # Corresponds to the JSON property `first`
1380
1381
  # @return [Fixnum]
1381
1382
  attr_accessor :first
1382
1383
 
1383
- # Required. Ending port number for the current range of ports.
1384
+ # Required. Ending port number for the current range of ports. Valid ports are
1385
+ # 22, 80, and ports within the range 1024-65535.
1384
1386
  # Corresponds to the JSON property `last`
1385
1387
  # @return [Fixnum]
1386
1388
  attr_accessor :last
@@ -1673,8 +1675,8 @@ module Google
1673
1675
  # @return [Hash<String,String>]
1674
1676
  attr_accessor :annotations
1675
1677
 
1676
- # Output only. List of available boost configuration ids that this workstation
1677
- # can be boosted up to
1678
+ # Output only. List of available boost configuration IDs that this workstation
1679
+ # can be boosted up to.
1678
1680
  # Corresponds to the JSON property `boostConfigs`
1679
1681
  # @return [Array<Google::Apis::WorkstationsV1beta::WorkstationBoostConfig>]
1680
1682
  attr_accessor :boost_configs
@@ -1753,7 +1755,7 @@ module Google
1753
1755
  attr_accessor :satisfies_pzs
1754
1756
  alias_method :satisfies_pzs?, :satisfies_pzs
1755
1757
 
1756
- # Optional. The source workstation from which this workstations persistent
1758
+ # Optional. The source workstation from which this workstation's persistent
1757
1759
  # directories were cloned on creation.
1758
1760
  # Corresponds to the JSON property `sourceWorkstation`
1759
1761
  # @return [String]
@@ -1808,12 +1810,12 @@ module Google
1808
1810
  end
1809
1811
  end
1810
1812
 
1811
- # Boost config for this workstation. This object is populated from the parent
1812
- # workstation config.
1813
+ # Boost configuration for this workstation. This object is populated from the
1814
+ # parent workstation configuration.
1813
1815
  class WorkstationBoostConfig
1814
1816
  include Google::Apis::Core::Hashable
1815
1817
 
1816
- # Output only. Boost config id.
1818
+ # Output only. Boost configuration ID.
1817
1819
  # Corresponds to the JSON property `id`
1818
1820
  # @return [String]
1819
1821
  attr_accessor :id
@@ -1936,6 +1938,12 @@ module Google
1936
1938
  # @return [String]
1937
1939
  attr_accessor :subnetwork
1938
1940
 
1941
+ # Optional. Tag keys/values directly bound to this resource. For example: "123/
1942
+ # environment": "production", "123/costCenter": "marketing"
1943
+ # Corresponds to the JSON property `tags`
1944
+ # @return [Hash<String,String>]
1945
+ attr_accessor :tags
1946
+
1939
1947
  # Output only. A system-assigned unique identifier for this workstation cluster.
1940
1948
  # Corresponds to the JSON property `uid`
1941
1949
  # @return [String]
@@ -1969,6 +1977,7 @@ module Google
1969
1977
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1970
1978
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1971
1979
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1980
+ @tags = args[:tags] if args.key?(:tags)
1972
1981
  @uid = args[:uid] if args.key?(:uid)
1973
1982
  @update_time = args[:update_time] if args.key?(:update_time)
1974
1983
  end
@@ -1984,8 +1993,10 @@ module Google
1984
1993
  class WorkstationConfig
1985
1994
  include Google::Apis::Core::Hashable
1986
1995
 
1987
- # Optional. A Single or Range of ports externally accessible in the workstation.
1988
- # If not specified defaults to ports 22, 80 and ports 1024-65535.
1996
+ # Optional. A list of PortRanges specifying single ports or ranges of ports that
1997
+ # are externally accessible in the workstation. Allowed ports must be one of 22,
1998
+ # 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and
1999
+ # ports 1024-65535.
1989
2000
  # Corresponds to the JSON property `allowedPorts`
1990
2001
  # @return [Array<Google::Apis::WorkstationsV1beta::PortRange>]
1991
2002
  attr_accessor :allowed_ports
@@ -2041,11 +2052,11 @@ module Google
2041
2052
  # enabled, a service_account must also be specified that has `roles/logging.
2042
2053
  # logWriter` and `roles/monitoring.metricWriter` on the project. Operating
2043
2054
  # system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.
2044
- # com/workstations/docs/audit-logging) and [Container output logging](http://
2045
- # cloud/workstations/docs/container-output-logging#overview). Operating system
2046
- # audit logs are available in the [Cloud Logging](https://cloud.google.com/
2047
- # logging/docs) console by querying: resource.type="gce_instance" log_name:"/
2048
- # logs/linux-auditd"
2055
+ # com/workstations/docs/audit-logging) and [Container output logging](https://
2056
+ # cloud.google.com/workstations/docs/container-output-logging#overview).
2057
+ # Operating system audit logs are available in the [Cloud Logging](https://cloud.
2058
+ # google.com/logging/docs) console by querying: resource.type="gce_instance"
2059
+ # log_name:"/logs/linux-auditd"
2049
2060
  # Corresponds to the JSON property `enableAuditAgent`
2050
2061
  # @return [Boolean]
2051
2062
  attr_accessor :enable_audit_agent
@@ -2073,12 +2084,21 @@ module Google
2073
2084
  # @return [String]
2074
2085
  attr_accessor :etag
2075
2086
 
2087
+ # Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role
2088
+ # along with `roles/workstations.user` role on the workstation created by them.
2089
+ # This allows workstation users to share access to either their entire
2090
+ # workstation, or individual ports. Defaults to false.
2091
+ # Corresponds to the JSON property `grantWorkstationAdminRoleOnCreate`
2092
+ # @return [Boolean]
2093
+ attr_accessor :grant_workstation_admin_role_on_create
2094
+ alias_method :grant_workstation_admin_role_on_create?, :grant_workstation_admin_role_on_create
2095
+
2076
2096
  # Runtime host for a workstation.
2077
2097
  # Corresponds to the JSON property `host`
2078
2098
  # @return [Google::Apis::WorkstationsV1beta::Host]
2079
2099
  attr_accessor :host
2080
2100
 
2081
- # Http options for the running workstations.
2101
+ # HTTP options for the running workstations.
2082
2102
  # Corresponds to the JSON property `httpOptions`
2083
2103
  # @return [Google::Apis::WorkstationsV1beta::HttpOptions]
2084
2104
  attr_accessor :http_options
@@ -2100,6 +2120,18 @@ module Google
2100
2120
  # @return [Hash<String,String>]
2101
2121
  attr_accessor :labels
2102
2122
 
2123
+ # Optional. Maximum number of workstations under this configuration a user can
2124
+ # have `workstations.workstation.use` permission on. Only enforced on
2125
+ # CreateWorkstation API calls on the user issuing the API request. Can be
2126
+ # overridden by: - granting a user workstations.workstationConfigs.
2127
+ # exemptMaxUsableWorkstationLimit permission, or - having a user with that
2128
+ # permission create a workstation and granting another user `workstations.
2129
+ # workstation.use` permission on that workstation. If not specified, defaults to
2130
+ # `0`, which indicates unlimited.
2131
+ # Corresponds to the JSON property `maxUsableWorkstations`
2132
+ # @return [Fixnum]
2133
+ attr_accessor :max_usable_workstations
2134
+
2103
2135
  # Identifier. Full name of this workstation configuration.
2104
2136
  # Corresponds to the JSON property `name`
2105
2137
  # @return [String]
@@ -2193,10 +2225,12 @@ module Google
2193
2225
  @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
2194
2226
  @ephemeral_directories = args[:ephemeral_directories] if args.key?(:ephemeral_directories)
2195
2227
  @etag = args[:etag] if args.key?(:etag)
2228
+ @grant_workstation_admin_role_on_create = args[:grant_workstation_admin_role_on_create] if args.key?(:grant_workstation_admin_role_on_create)
2196
2229
  @host = args[:host] if args.key?(:host)
2197
2230
  @http_options = args[:http_options] if args.key?(:http_options)
2198
2231
  @idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
2199
2232
  @labels = args[:labels] if args.key?(:labels)
2233
+ @max_usable_workstations = args[:max_usable_workstations] if args.key?(:max_usable_workstations)
2200
2234
  @name = args[:name] if args.key?(:name)
2201
2235
  @persistent_directories = args[:persistent_directories] if args.key?(:persistent_directories)
2202
2236
  @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.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240716"
25
+ REVISION = "20241009"
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
 
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.32.0
4
+ version: 0.33.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.33.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.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Workstations API V1beta