Class: Google::Apis::ComputeAlpha::ResourceStatusUpcomingMaintenance

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceStatusUpcomingMaintenance

Returns a new instance of ResourceStatusUpcomingMaintenance.



34197
34198
34199
# File 'lib/google/apis/compute_alpha/classes.rb', line 34197

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

Instance Attribute Details

#can_rescheduleBoolean 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

Returns:

  • (Boolean)


34194
34195
34196
# File 'lib/google/apis/compute_alpha/classes.rb', line 34194

def can_reschedule
  @can_reschedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34202
34203
34204
# File 'lib/google/apis/compute_alpha/classes.rb', line 34202

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