Class: Google::Apis::ComputeAlpha::UpcomingMaintenance
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::UpcomingMaintenance
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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.
Constructor Details
#initialize(**args) ⇒ UpcomingMaintenance
Returns a new instance of UpcomingMaintenance.
40476 40477 40478 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 40476 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. DEPRECATED: Use start_time_window instead.
Corresponds to the JSON property date
40463 40464 40465 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 40463 def date @date end |
#time ⇒ String
[Output Only] The time when the maintenance will take place. This value is in
RFC3339 text format. DEPRECATED: Use start_time_window instead.
Corresponds to the JSON property time
40469 40470 40471 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 40469 def time @time end |
#type ⇒ String
Defines the type of maintenance.
Corresponds to the JSON property type
40474 40475 40476 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 40474 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40481 40482 40483 40484 40485 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 40481 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 |