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.
66735 66736 66737 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 66735 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Corresponds to the JSON property mode
66733 66734 66735 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 66733 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
66740 66741 66742 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 66740 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |