Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionExpiration
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionExpiration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Instance Attribute Summary collapse
-
#expire_after_ms ⇒ Fixnum
Milliseconds after which the suspension expires, if no action taken.
-
#lift_when_expired ⇒ Boolean
(also: #lift_when_expired?)
Whether the suspension will be REJECTED or LIFTED upon expiration.
-
#remind_after_ms ⇒ Fixnum
Milliseconds after which the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoSuspensionExpiration
constructor
A new instance of EnterpriseCrmEventbusProtoSuspensionExpiration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoSuspensionExpiration
Returns a new instance of EnterpriseCrmEventbusProtoSuspensionExpiration.
2625 2626 2627 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2625 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_after_ms ⇒ Fixnum
Milliseconds after which the suspension expires, if no action taken.
Corresponds to the JSON property expireAfterMs
2609 2610 2611 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2609 def expire_after_ms @expire_after_ms end |
#lift_when_expired ⇒ Boolean Also known as: lift_when_expired?
Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is
the default behavior.
Corresponds to the JSON property liftWhenExpired
2615 2616 2617 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2615 def lift_when_expired @lift_when_expired end |
#remind_after_ms ⇒ Fixnum
Milliseconds after which the previous suspension action reminder, if any, is
sent using the selected notification option, for a suspension which is still
PENDING_UNSPECIFIED.
Corresponds to the JSON property remindAfterMs
2623 2624 2625 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2623 def remind_after_ms @remind_after_ms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2630 2631 2632 2633 2634 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2630 def update!(**args) @expire_after_ms = args[:expire_after_ms] if args.key?(:expire_after_ms) @lift_when_expired = args[:lift_when_expired] if args.key?(:lift_when_expired) @remind_after_ms = args[:remind_after_ms] if args.key?(:remind_after_ms) end |