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.



37659
37660
37661
# File 'lib/google/apis/compute_alpha/classes.rb', line 37659

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)


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