Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoSuspensionExpiration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoSuspensionExpiration

Returns a new instance of EnterpriseCrmEventbusProtoSuspensionExpiration.



2612
2613
2614
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2612

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

Instance Attribute Details

#expire_after_msFixnum

Milliseconds after which the suspension expires, if no action taken. Corresponds to the JSON property expireAfterMs

Returns:

  • (Fixnum)


2596
2597
2598
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2596

def expire_after_ms
  @expire_after_ms
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)


2602
2603
2604
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2602

def lift_when_expired
  @lift_when_expired
end

#remind_after_msFixnum

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

Returns:

  • (Fixnum)


2610
2611
2612
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2610

def remind_after_ms
  @remind_after_ms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2617
2618
2619
2620
2621
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2617

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