Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoSuspensionConfig

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) ⇒ EnterpriseCrmEventbusProtoSuspensionConfig

Returns a new instance of EnterpriseCrmEventbusProtoSuspensionConfig.



2537
2538
2539
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2537

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

Instance Attribute Details

#custom_messageString

Optional information to provide recipients of the suspension in addition to the resolution URL, typically containing relevant parameter values from the originating workflow. Corresponds to the JSON property customMessage

Returns:

  • (String)


2520
2521
2522
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2520

def custom_message
  @custom_message
end

#notificationsArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoNotification>

Corresponds to the JSON property notifications



2525
2526
2527
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2525

def notifications
  @notifications
end

#suspension_expirationGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoSuspensionExpiration

Indicates the next steps when no external actions happen on the suspension. Corresponds to the JSON property suspensionExpiration



2530
2531
2532
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2530

def suspension_expiration
  @suspension_expiration
end

#who_may_resolveArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoSuspensionAuthPermissions>

Identities able to resolve this suspension. Corresponds to the JSON property whoMayResolve



2535
2536
2537
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2535

def who_may_resolve
  @who_may_resolve
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2542
2543
2544
2545
2546
2547
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2542

def update!(**args)
  @custom_message = args[:custom_message] if args.key?(:custom_message)
  @notifications = args[:notifications] if args.key?(:notifications)
  @suspension_expiration = args[:suspension_expiration] if args.key?(:suspension_expiration)
  @who_may_resolve = args[:who_may_resolve] if args.key?(:who_may_resolve)
end