Class: Google::Apis::ComputeAlpha::UpcomingMaintenance
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::UpcomingMaintenance
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Upcoming Maintenance notification information.
Instance Attribute Summary collapse
-
#date ⇒ String
[Output Only] The date when the maintenance will take place.
-
#time ⇒ String
[Output Only] The time when the maintenance will take place.
-
#type ⇒ String
Defines the type of maintenance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpcomingMaintenance
constructor
A new instance of UpcomingMaintenance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpcomingMaintenance
Returns a new instance of UpcomingMaintenance.
36489 36490 36491 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date ⇒ String
[Output Only] The date when the maintenance will take place. This value is in
RFC3339 text format.
Corresponds to the JSON property date
36476 36477 36478 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36476 def date @date end |
#time ⇒ String
[Output Only] The time when the maintenance will take place. This value is in
RFC3339 text format.
Corresponds to the JSON property time
36482 36483 36484 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36482 def time @time end |
#type ⇒ String
Defines the type of maintenance.
Corresponds to the JSON property type
36487 36488 36489 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36487 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36494 36495 36496 36497 36498 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36494 def update!(**args) @date = args[:date] if args.key?(:date) @time = args[:time] if args.key?(:time) @type = args[:type] if args.key?(:type) end |