Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
- 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
Overview
Expiration configs for the approval request.
Instance Attribute Summary collapse
-
#expire_time ⇒ String
Output only.
-
#lift_when_expired ⇒ Boolean
(also: #lift_when_expired?)
Whether the suspension will be REJECTED or LIFTED upon expiration.
-
#remind_time ⇒ String
Time after 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) ⇒ GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
constructor
A new instance of GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
Returns a new instance of GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration.
10529 10530 10531 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_time ⇒ String
Output only. Time after which the suspension expires, if no action taken.
Corresponds to the JSON property expireTime
10513 10514 10515 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10513 def expire_time @expire_time 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
10519 10520 10521 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10519 def lift_when_expired @lift_when_expired end |
#remind_time ⇒ String
Time after 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 remindTime
10527 10528 10529 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10527 def remind_time @remind_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10534 10535 10536 10537 10538 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10534 def update!(**args) @expire_time = args[:expire_time] if args.key?(:expire_time) @lift_when_expired = args[:lift_when_expired] if args.key?(:lift_when_expired) @remind_time = args[:remind_time] if args.key?(:remind_time) end |