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.
8454 8455 8456 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8454 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
8438 8439 8440 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8438 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
8444 8445 8446 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8444 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
8452 8453 8454 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8452 def remind_time @remind_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8459 8460 8461 8462 8463 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8459 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 |