Class: Google::Apis::WorkstationsV1beta::Host

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/representations.rb

Overview

Runtime host for a workstation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Host

Returns a new instance of Host.



1086
1087
1088
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1086

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gce_instanceGoogle::Apis::WorkstationsV1beta::GceInstance

A runtime using a Compute Engine instance. Corresponds to the JSON property gceInstance



1084
1085
1086
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1084

def gce_instance
  @gce_instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1091
1092
1093
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1091

def update!(**args)
  @gce_instance = args[:gce_instance] if args.key?(:gce_instance)
end