Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.
8793 8794 8795 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8793 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
8777 8778 8779 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8777 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
8783 8784 8785 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8783 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
8791 8792 8793 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8791 def remind_time @remind_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8798 8799 8800 8801 8802 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8798 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 |