google-apis-workstations_v1 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb283c60d5ce5b8304e895b95811546716fc0fc36b256ecea712fcaeb795036f
4
- data.tar.gz: 2e5e520ff3de28525c714f9e61308fac87d49bba1bd3079d122c6f8e9d52bad7
3
+ metadata.gz: e5b3557642f9588d9ebb0bd478ea61683b1d56334d3dd72c1ba757fd5a769982
4
+ data.tar.gz: 0af259a2071fc131f246e6c9d739ecbf6e9521ebc272905e9f6fe3aba6cd7591
5
5
  SHA512:
6
- metadata.gz: 7e7ce083da9026c86b5b41cb49add699c51bddc24360817bd252120224b998c831f337b131e0ba3e1b93c73f94708065a3914fce83bdf4f3691b5581121dec87
7
- data.tar.gz: a9f45c6c55af5ab5d74473bba83eb7b4b31e35a99d5fd57a2022bc63517a2bdc2942ec2b17f817d431875dd21f2277c3c85c6b3fbd5eebdf7717a7e0157c905c
6
+ metadata.gz: e57b27bd5181152ea6f88c7dc263fab0662779c540394b9a321a991d258d2e92474c0f7ce60793d7e44bf71c3dc6582503d041bec715f6c5ca2eae34fa63a435
7
+ data.tar.gz: e5d0ea8771ca5da91dc0f63b8d08e436264d88e9302dcfbec8235617164b099ae711a02403b5fcbe46a4c3dbe73864d54011ac96cfd3beb189c7fba6f3ea3b81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.15.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240723
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.14.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240716
11
+
3
12
  ### v0.13.0 (2024-06-26)
4
13
 
5
14
  * Regenerated from discovery document revision 20240619
@@ -327,11 +327,11 @@ module Google
327
327
  end
328
328
  end
329
329
 
330
- # Configuration options for private workstation clusters.
330
+ # Configuration options for a custom domain.
331
331
  class DomainConfig
332
332
  include Google::Apis::Core::Hashable
333
333
 
334
- # Immutable. Whether Workstations endpoint is private.
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. Nested virtualization lets you
489
- # run virtual machine (VM) instances inside your workstation. Before enabling
490
- # nested virtualization, consider the following important considerations. Cloud
491
- # Workstations instances are subject to the [same restrictions as Compute Engine
492
- # instances](https://cloud.google.com/compute/docs/instances/nested-
493
- # virtualization/overview#restrictions): * **Organization policy**: projects,
494
- # folders, or organizations may be restricted from creating nested VMs if the **
495
- # Disable VM nested virtualization** constraint is enforced in the organization
496
- # policy. For more information, see the Compute Engine section, [Checking
497
- # whether nested virtualization is allowed](https://cloud.google.com/compute/
498
- # docs/instances/nested-virtualization/managing-constraint#
499
- # checking_whether_nested_virtualization_is_allowed). * **Performance**: nested
500
- # VMs might experience a 10% or greater decrease in performance for workloads
501
- # that are CPU-bound and possibly greater than a 10% decrease for workloads that
502
- # are input/output bound. * **Machine Type**: nested virtualization can only be
503
- # enabled on workstation configurations that specify a machine_type in the N1 or
504
- # N2 machine series. * **GPUs**: nested virtualization may not be enabled on
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
@@ -572,9 +566,9 @@ module Google
572
566
  attr_accessor :tags
573
567
 
574
568
  # Optional. Resource manager tags to be bound to this instance. Tag keys and
575
- # values have the same definition as https://cloud.google.com/resource-manager/
576
- # docs/tags/tags-overview Keys must be in the format `tagKeys/`tag_key_id``, and
577
- # values are in the format `tagValues/456`.
569
+ # values have the same definition as [resource manager tags](https://cloud.
570
+ # google.com/resource-manager/docs/tags/tags-overview). Keys must be in the
571
+ # format `tagKeys/`tag_key_id``, and values are in the format `tagValues/456`.
578
572
  # Corresponds to the JSON property `vmTags`
579
573
  # @return [Hash<String,String>]
580
574
  attr_accessor :vm_tags
@@ -1341,27 +1335,65 @@ 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. Valid ports are
1344
+ # 22, 80, and ports within the range 1024-65535.
1345
+ # Corresponds to the JSON property `first`
1346
+ # @return [Fixnum]
1347
+ attr_accessor :first
1348
+
1349
+ # Required. Ending port number for the current range of ports. Valid ports are
1350
+ # 22, 80, and ports within the range 1024-65535.
1351
+ # Corresponds to the JSON property `last`
1352
+ # @return [Fixnum]
1353
+ attr_accessor :last
1354
+
1355
+ def initialize(**args)
1356
+ update!(**args)
1357
+ end
1358
+
1359
+ # Update properties of this object
1360
+ def update!(**args)
1361
+ @first = args[:first] if args.key?(:first)
1362
+ @last = args[:last] if args.key?(:last)
1363
+ end
1364
+ end
1365
+
1366
+ # Configuration options for private workstation clusters.
1345
1367
  class PrivateClusterConfig
1346
1368
  include Google::Apis::Core::Hashable
1347
1369
 
1348
- #
1370
+ # Optional. Additional projects that are allowed to attach to the workstation
1371
+ # cluster's service attachment. By default, the workstation cluster's project
1372
+ # and the VPC host project (if different) are allowed.
1349
1373
  # Corresponds to the JSON property `allowedProjects`
1350
1374
  # @return [Array<String>]
1351
1375
  attr_accessor :allowed_projects
1352
1376
 
1353
- #
1377
+ # Output only. Hostname for the workstation cluster. This field will be
1378
+ # populated only when private endpoint is enabled. To access workstations in the
1379
+ # workstation cluster, create a new DNS zone mapping this domain name to an
1380
+ # internal IP address and a forwarding rule mapping that address to the service
1381
+ # attachment.
1354
1382
  # Corresponds to the JSON property `clusterHostname`
1355
1383
  # @return [String]
1356
1384
  attr_accessor :cluster_hostname
1357
1385
 
1358
- #
1386
+ # Immutable. Whether Workstations endpoint is private.
1359
1387
  # Corresponds to the JSON property `enablePrivateEndpoint`
1360
1388
  # @return [Boolean]
1361
1389
  attr_accessor :enable_private_endpoint
1362
1390
  alias_method :enable_private_endpoint?, :enable_private_endpoint
1363
1391
 
1364
- #
1392
+ # Output only. Service attachment URI for the workstation cluster. The service
1393
+ # attachemnt is created when private endpoint is enabled. To access workstations
1394
+ # in the workstation cluster, configure access to the managed service using [
1395
+ # Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-
1396
+ # service-connect-services).
1365
1397
  # Corresponds to the JSON property `serviceAttachmentUri`
1366
1398
  # @return [String]
1367
1399
  attr_accessor :service_attachment_uri
@@ -1755,7 +1787,7 @@ module Google
1755
1787
  # @return [String]
1756
1788
  attr_accessor :display_name
1757
1789
 
1758
- # Configuration options for private workstation clusters.
1790
+ # Configuration options for a custom domain.
1759
1791
  # Corresponds to the JSON property `domainConfig`
1760
1792
  # @return [Google::Apis::WorkstationsV1::DomainConfig]
1761
1793
  attr_accessor :domain_config
@@ -1785,7 +1817,7 @@ module Google
1785
1817
  # @return [String]
1786
1818
  attr_accessor :network
1787
1819
 
1788
- # Optional. Configuration for private workstation cluster.
1820
+ # Configuration options for private workstation clusters.
1789
1821
  # Corresponds to the JSON property `privateClusterConfig`
1790
1822
  # @return [Google::Apis::WorkstationsV1::PrivateClusterConfig]
1791
1823
  attr_accessor :private_cluster_config
@@ -1850,6 +1882,14 @@ module Google
1850
1882
  class WorkstationConfig
1851
1883
  include Google::Apis::Core::Hashable
1852
1884
 
1885
+ # Optional. A list of PortRanges specifying single ports or ranges of ports that
1886
+ # are externally accessible in the workstation. Allowed ports must be one of 22,
1887
+ # 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and
1888
+ # ports 1024-65535.
1889
+ # Corresponds to the JSON property `allowedPorts`
1890
+ # @return [Array<Google::Apis::WorkstationsV1::PortRange>]
1891
+ attr_accessor :allowed_ports
1892
+
1853
1893
  # Optional. Client-specified annotations.
1854
1894
  # Corresponds to the JSON property `annotations`
1855
1895
  # @return [Hash<String,String>]
@@ -1898,10 +1938,14 @@ module Google
1898
1938
  attr_accessor :display_name
1899
1939
 
1900
1940
  # Optional. Whether to enable Linux `auditd` logging on the workstation. When
1901
- # enabled, a service account must also be specified that has `logging.buckets.
1902
- # write` permission on the project. Operating system audit logging is distinct
1903
- # from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-
1904
- # logging).
1941
+ # enabled, a service_account must also be specified that has `roles/logging.
1942
+ # logWriter` and `roles/monitoring.metricWriter` on the project. Operating
1943
+ # system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.
1944
+ # com/workstations/docs/audit-logging) and [Container output logging](http://
1945
+ # cloud/workstations/docs/container-output-logging#overview). Operating system
1946
+ # audit logs are available in the [Cloud Logging](https://cloud.google.com/
1947
+ # logging/docs) console by querying: resource.type="gce_instance" log_name:"/
1948
+ # logs/linux-auditd"
1905
1949
  # Corresponds to the JSON property `enableAuditAgent`
1906
1950
  # @return [Boolean]
1907
1951
  attr_accessor :enable_audit_agent
@@ -2019,6 +2063,7 @@ module Google
2019
2063
 
2020
2064
  # Update properties of this object
2021
2065
  def update!(**args)
2066
+ @allowed_ports = args[:allowed_ports] if args.key?(:allowed_ports)
2022
2067
  @annotations = args[:annotations] if args.key?(:annotations)
2023
2068
  @conditions = args[:conditions] if args.key?(:conditions)
2024
2069
  @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.13.0"
19
+ GEM_VERSION = "0.15.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 = "20240619"
25
+ REVISION = "20240723"
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.13.0
4
+ version: 0.15.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-06-27 00:00:00.000000000 Z
11
+ date: 2024-08-11 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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.15.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: []