Class: Google::Apis::ComputeBeta::ZoneResourceStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ZoneResourceStatus

Returns a new instance of ZoneResourceStatus.



77089
77090
77091
# File 'lib/google/apis/compute_beta/classes.rb', line 77089

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

Instance Attribute Details

#upcoming_maintenancesArray<Google::Apis::ComputeBeta::PeriodicPartialMaintenanceSchedule>

Output only. [Output Only] The upcoming maintenance schedule. Corresponds to the JSON property upcomingMaintenances



77087
77088
77089
# File 'lib/google/apis/compute_beta/classes.rb', line 77087

def upcoming_maintenances
  @upcoming_maintenances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



77094
77095
77096
# File 'lib/google/apis/compute_beta/classes.rb', line 77094

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