Skip to content

Commit 832e5e9

Browse files
feat: Automated regeneration of workstations v1beta client (googleapis#23408)
Auto-created at 2025-06-15 09:51:58 +0000 using the toys pull request generator.
1 parent ad55ca3 commit 832e5e9

File tree

5 files changed

+53
-3
lines changed

5 files changed

+53
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373971,6 +373971,8 @@
373971373971
"/workstations:v1beta/Expr/expression": expression
373972373972
"/workstations:v1beta/Expr/location": location
373973373973
"/workstations:v1beta/Expr/title": title
373974+
"/workstations:v1beta/GatewayConfig": gateway_config
373975+
"/workstations:v1beta/GatewayConfig/http2Enabled": http2_enabled
373974373976
"/workstations:v1beta/GceConfidentialInstanceConfig": gce_confidential_instance_config
373975373977
"/workstations:v1beta/GceConfidentialInstanceConfig/enableConfidentialCompute": enable_confidential_compute
373976373978
"/workstations:v1beta/GceInstance": gce_instance
@@ -374166,6 +374168,7 @@
374166374168
"/workstations:v1beta/WorkstationCluster/displayName": display_name
374167374169
"/workstations:v1beta/WorkstationCluster/domainConfig": domain_config
374168374170
"/workstations:v1beta/WorkstationCluster/etag": etag
374171+
"/workstations:v1beta/WorkstationCluster/gatewayConfig": gateway_config
374169374172
"/workstations:v1beta/WorkstationCluster/labels": labels
374170374173
"/workstations:v1beta/WorkstationCluster/labels/label": label
374171374174
"/workstations:v1beta/WorkstationCluster/name": name

generated/google-apis-workstations_v1beta/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-workstations_v1beta
22

3+
### v0.40.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250604
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.39.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-workstations_v1beta/lib/google/apis/workstations_v1beta/classes.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,27 @@ def update!(**args)
505505
end
506506
end
507507

508+
# Configuration options for Cluster HTTP Gateway.
509+
class GatewayConfig
510+
include Google::Apis::Core::Hashable
511+
512+
# Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to
513+
# false.
514+
# Corresponds to the JSON property `http2Enabled`
515+
# @return [Boolean]
516+
attr_accessor :http2_enabled
517+
alias_method :http2_enabled?, :http2_enabled
518+
519+
def initialize(**args)
520+
update!(**args)
521+
end
522+
523+
# Update properties of this object
524+
def update!(**args)
525+
@http2_enabled = args[:http2_enabled] if args.key?(:http2_enabled)
526+
end
527+
end
528+
508529
# A set of Compute Engine Confidential VM instance options.
509530
class GceConfidentialInstanceConfig
510531
include Google::Apis::Core::Hashable
@@ -1987,6 +2008,11 @@ class WorkstationCluster
19872008
# @return [String]
19882009
attr_accessor :etag
19892010

2011+
# Configuration options for Cluster HTTP Gateway.
2012+
# Corresponds to the JSON property `gatewayConfig`
2013+
# @return [Google::Apis::WorkstationsV1beta::GatewayConfig]
2014+
attr_accessor :gateway_config
2015+
19902016
# Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources)
19912017
# that are applied to the workstation cluster and that are also propagated to
19922018
# the underlying Compute Engine resources.
@@ -2068,6 +2094,7 @@ def update!(**args)
20682094
@display_name = args[:display_name] if args.key?(:display_name)
20692095
@domain_config = args[:domain_config] if args.key?(:domain_config)
20702096
@etag = args[:etag] if args.key?(:etag)
2097+
@gateway_config = args[:gateway_config] if args.key?(:gateway_config)
20712098
@labels = args[:labels] if args.key?(:labels)
20722099
@name = args[:name] if args.key?(:name)
20732100
@network = args[:network] if args.key?(:network)

generated/google-apis-workstations_v1beta/lib/google/apis/workstations_v1beta/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module WorkstationsV1beta
1818
# Version of the google-apis-workstations_v1beta gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250326"
25+
REVISION = "20250604"
2626
end
2727
end
2828
end

generated/google-apis-workstations_v1beta/lib/google/apis/workstations_v1beta/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
8888
include Google::Apis::Core::JsonObjectSupport
8989
end
9090

91+
class GatewayConfig
92+
class Representation < Google::Apis::Core::JsonRepresentation; end
93+
94+
include Google::Apis::Core::JsonObjectSupport
95+
end
96+
9197
class GceConfidentialInstanceConfig
9298
class Representation < Google::Apis::Core::JsonRepresentation; end
9399

@@ -398,6 +404,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
398404
end
399405
end
400406

407+
class GatewayConfig
408+
# @private
409+
class Representation < Google::Apis::Core::JsonRepresentation
410+
property :http2_enabled, as: 'http2Enabled'
411+
end
412+
end
413+
401414
class GceConfidentialInstanceConfig
402415
# @private
403416
class Representation < Google::Apis::Core::JsonRepresentation
@@ -748,6 +761,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
748761
property :domain_config, as: 'domainConfig', class: Google::Apis::WorkstationsV1beta::DomainConfig, decorator: Google::Apis::WorkstationsV1beta::DomainConfig::Representation
749762

750763
property :etag, as: 'etag'
764+
property :gateway_config, as: 'gatewayConfig', class: Google::Apis::WorkstationsV1beta::GatewayConfig, decorator: Google::Apis::WorkstationsV1beta::GatewayConfig::Representation
765+
751766
hash :labels, as: 'labels'
752767
property :name, as: 'name'
753768
property :network, as: 'network'

0 commit comments

Comments
 (0)