@@ -221,11 +221,11 @@ def update!(**args)
221221 end
222222
223223 # 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+ # increase its performance. If you specify a boost configuration, upon startup,
225+ # workstation users can choose to use a VM provisioned under the boost config by
226+ # passing the boost config ID in the start request. If the workstation user does
227+ # not provide a boost config ID in the start request, the system will choose a
228+ # VM from the pool provisioned under the default config.
229229 class BoostConfig
230230 include Google ::Apis ::Core ::Hashable
231231
@@ -264,7 +264,7 @@ class BoostConfig
264264 attr_accessor :enable_nested_virtualization
265265 alias_method :enable_nested_virtualization? , :enable_nested_virtualization
266266
267- # Required. The id to be used for the boost configuration.
267+ # Required. The ID to be used for the boost configuration.
268268 # Corresponds to the JSON property `id`
269269 # @return [String]
270270 attr_accessor :id
@@ -684,6 +684,37 @@ def update!(**args)
684684 end
685685 end
686686
687+ # The Compute Engine instance host.
688+ class GceInstanceHost
689+ include Google ::Apis ::Core ::Hashable
690+
691+ # Optional. Output only. The ID of the Compute Engine instance.
692+ # Corresponds to the JSON property `id`
693+ # @return [String]
694+ attr_accessor :id
695+
696+ # Optional. Output only. The name of the Compute Engine instance.
697+ # Corresponds to the JSON property `name`
698+ # @return [String]
699+ attr_accessor :name
700+
701+ # Optional. Output only. The zone of the Compute Engine instance.
702+ # Corresponds to the JSON property `zone`
703+ # @return [String]
704+ attr_accessor :zone
705+
706+ def initialize ( **args )
707+ update! ( **args )
708+ end
709+
710+ # Update properties of this object
711+ def update! ( **args )
712+ @id = args [ :id ] if args . key? ( :id )
713+ @name = args [ :name ] if args . key? ( :name )
714+ @zone = args [ :zone ] if args . key? ( :zone )
715+ end
716+ end
717+
687718 # An EphemeralDirectory is backed by a Compute Engine persistent disk.
688719 class GcePersistentDisk
689720 include Google ::Apis ::Core ::Hashable
@@ -937,13 +968,24 @@ class HttpOptions
937968 attr_accessor :allowed_unauthenticated_cors_preflight_requests
938969 alias_method :allowed_unauthenticated_cors_preflight_requests? , :allowed_unauthenticated_cors_preflight_requests
939970
971+ # Optional. By default, the workstations service replaces references to
972+ # localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
973+ # responses from the workstation so that applications under development run
974+ # properly on the workstation. This may intefere with some applications, and so
975+ # this option allows that behavior to be disabled.
976+ # Corresponds to the JSON property `disableLocalhostReplacement`
977+ # @return [Boolean]
978+ attr_accessor :disable_localhost_replacement
979+ alias_method :disable_localhost_replacement? , :disable_localhost_replacement
980+
940981 def initialize ( **args )
941982 update! ( **args )
942983 end
943984
944985 # Update properties of this object
945986 def update! ( **args )
946987 @allowed_unauthenticated_cors_preflight_requests = args [ :allowed_unauthenticated_cors_preflight_requests ] if args . key? ( :allowed_unauthenticated_cors_preflight_requests )
988+ @disable_localhost_replacement = args [ :disable_localhost_replacement ] if args . key? ( :disable_localhost_replacement )
947989 end
948990 end
949991
@@ -1251,7 +1293,8 @@ def update!(**args)
12511293 end
12521294 end
12531295
1254- # A directory to persist across workstation sessions.
1296+ # A directory to persist across workstation sessions. Updates to this field will
1297+ # not update existing workstations and will only take effect on new workstations.
12551298 class PersistentDirectory
12561299 include Google ::Apis ::Core ::Hashable
12571300
@@ -1478,6 +1521,25 @@ def update!(**args)
14781521 end
14791522 end
14801523
1524+ # Runtime host for the workstation.
1525+ class RuntimeHost
1526+ include Google ::Apis ::Core ::Hashable
1527+
1528+ # The Compute Engine instance host.
1529+ # Corresponds to the JSON property `gceInstanceHost`
1530+ # @return [Google::Apis::WorkstationsV1beta::GceInstanceHost]
1531+ attr_accessor :gce_instance_host
1532+
1533+ def initialize ( **args )
1534+ update! ( **args )
1535+ end
1536+
1537+ # Update properties of this object
1538+ def update! ( **args )
1539+ @gce_instance_host = args [ :gce_instance_host ] if args . key? ( :gce_instance_host )
1540+ end
1541+ end
1542+
14811543 # Request message for `SetIamPolicy` method.
14821544 class SetIamPolicyRequest
14831545 include Google ::Apis ::Core ::Hashable
@@ -1750,6 +1812,11 @@ class Workstation
17501812 attr_accessor :reconciling
17511813 alias_method :reconciling? , :reconciling
17521814
1815+ # Runtime host for the workstation.
1816+ # Corresponds to the JSON property `runtimeHost`
1817+ # @return [Google::Apis::WorkstationsV1beta::RuntimeHost]
1818+ attr_accessor :runtime_host
1819+
17531820 # Output only. Reserved for future use.
17541821 # Corresponds to the JSON property `satisfiesPzi`
17551822 # @return [Boolean]
@@ -1807,6 +1874,7 @@ def update!(**args)
18071874 @labels = args [ :labels ] if args . key? ( :labels )
18081875 @name = args [ :name ] if args . key? ( :name )
18091876 @reconciling = args [ :reconciling ] if args . key? ( :reconciling )
1877+ @runtime_host = args [ :runtime_host ] if args . key? ( :runtime_host )
18101878 @satisfies_pzi = args [ :satisfies_pzi ] if args . key? ( :satisfies_pzi )
18111879 @satisfies_pzs = args [ :satisfies_pzs ] if args . key? ( :satisfies_pzs )
18121880 @source_workstation = args [ :source_workstation ] if args . key? ( :source_workstation )
0 commit comments