Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration

Returns a new instance of GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration.



8368
8369
8370
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8368

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#expire_timeString

Output only. Time after which the suspension expires, if no action taken. Corresponds to the JSON property expireTime

Returns:

  • (String)


8352
8353
8354
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8352

def expire_time
  @expire_time
end

#lift_when_expiredBoolean 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

Returns:

  • (Boolean)


8358
8359
8360
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8358

def lift_when_expired
  @lift_when_expired
end

#remind_timeString

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

Returns:

  • (String)


8366
8367
8368
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8366

def remind_time
  @remind_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8373
8374
8375
8376
8377
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8373

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