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.



34163
34164
34165
# File 'lib/google/apis/compute_alpha/classes.rb', line 34163

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)


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