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.
34163 34164 34165 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 34163 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
34160 34161 34162 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 34160 def can_reschedule @can_reschedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34168 34169 34170 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 34168 def update!(**args) @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule) end |