Class: Google::Apis::ComputeAlpha::ResourceStatusUpcomingMaintenance
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ResourceStatusUpcomingMaintenance
- 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
Instance Attribute Summary collapse
-
#can_reschedule ⇒ Boolean
(also: #can_reschedule?)
Indicates if the maintenance can be customer triggered.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceStatusUpcomingMaintenance
constructor
A new instance of ResourceStatusUpcomingMaintenance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceStatusUpcomingMaintenance
Returns a new instance of ResourceStatusUpcomingMaintenance.
37659 37660 37661 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 37659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#can_reschedule ⇒ Boolean Also known as: can_reschedule?
Indicates if the maintenance can be customer triggered. See go/sf-ctm-design
for more details
Corresponds to the JSON property canReschedule
37656 37657 37658 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 37656 def can_reschedule @can_reschedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37664 37665 37666 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 37664 def update!(**args) @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule) end |