Class: Google::Apis::ComputeAlpha::SchedulingVsockMode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SchedulingVsockMode
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Message to control the enablement of the vsock device.
Instance Attribute Summary collapse
-
#mode ⇒ String
Corresponds to the JSON property
mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SchedulingVsockMode
constructor
A new instance of SchedulingVsockMode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SchedulingVsockMode
Returns a new instance of SchedulingVsockMode.
68104 68105 68106 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 68104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Corresponds to the JSON property mode
68102 68103 68104 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 68102 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
68109 68110 68111 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 68109 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |