Class: Google::Apis::ContactcenteraiplatformV1alpha1::Critical
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenteraiplatformV1alpha1::Critical
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb
Overview
Instances in this Channel will receive updates after all instances in Normal
were updated. They also will only be updated outside of their peak hours.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ Critical
constructor
A new instance of Critical.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Critical
Returns a new instance of Critical.
269 270 271 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#peak_hours ⇒ Array<Google::Apis::ContactcenteraiplatformV1alpha1::WeeklySchedule>
Required. Hours during which the instance should not be updated.
Corresponds to the JSON property peakHours
267 268 269 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 267 def peak_hours @peak_hours end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
274 275 276 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 274 def update!(**args) @peak_hours = args[:peak_hours] if args.key?(:peak_hours) end |