Class: Google::Apis::WorkstationsV1::Host
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1::Host
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1/classes.rb,
lib/google/apis/workstations_v1/representations.rb,
lib/google/apis/workstations_v1/representations.rb
Overview
Runtime host for a workstation.
Instance Attribute Summary collapse
-
#gce_instance ⇒ Google::Apis::WorkstationsV1::GceInstance
A runtime using a Compute Engine instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Host
constructor
A new instance of Host.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Host
Returns a new instance of Host.
907 908 909 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 907 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gce_instance ⇒ Google::Apis::WorkstationsV1::GceInstance
A runtime using a Compute Engine instance.
Corresponds to the JSON property gceInstance
905 906 907 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 905 def gce_instance @gce_instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
912 913 914 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 912 def update!(**args) @gce_instance = args[:gce_instance] if args.key?(:gce_instance) end |