Class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/file_v1/classes.rb,
generated/google/apis/file_v1/representations.rb,
generated/google/apis/file_v1/representations.rb
Overview
NotificationMetadata is the notification state for an instance.
Instance Attribute Summary collapse
-
#rescheduled ⇒ Boolean
(also: #rescheduled?)
Whether the instance update has been rescheduled.
-
#scheduled_end_time ⇒ String
The scheduled end time for the maintenance window during which update can be performed on the instance.
-
#scheduled_start_time ⇒ String
The scheduled start time for the maintenance window during which update can be performed on the instance.
-
#target_release ⇒ String
The target release to be applied to the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
constructor
A new instance of GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
Returns a new instance of GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata.
397 398 399 |
# File 'generated/google/apis/file_v1/classes.rb', line 397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rescheduled ⇒ Boolean Also known as: rescheduled?
Whether the instance update has been rescheduled.
Corresponds to the JSON property rescheduled
377 378 379 |
# File 'generated/google/apis/file_v1/classes.rb', line 377 def rescheduled @rescheduled end |
#scheduled_end_time ⇒ String
The scheduled end time for the maintenance window during which update
can be performed on the instance.
Corresponds to the JSON property scheduledEndTime
384 385 386 |
# File 'generated/google/apis/file_v1/classes.rb', line 384 def scheduled_end_time @scheduled_end_time end |
#scheduled_start_time ⇒ String
The scheduled start time for the maintenance window during which
update can be performed on the instance.
Corresponds to the JSON property scheduledStartTime
390 391 392 |
# File 'generated/google/apis/file_v1/classes.rb', line 390 def scheduled_start_time @scheduled_start_time end |
#target_release ⇒ String
The target release to be applied to the instance.
Corresponds to the JSON property targetRelease
395 396 397 |
# File 'generated/google/apis/file_v1/classes.rb', line 395 def target_release @target_release end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
402 403 404 405 406 407 |
# File 'generated/google/apis/file_v1/classes.rb', line 402 def update!(**args) @rescheduled = args[:rescheduled] if args.key?(:rescheduled) @scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time) @scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time) @target_release = args[:target_release] if args.key?(:target_release) end |