Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Instance Attribute Summary collapse
-
#custom_message ⇒ String
Optional information to provide recipients of the suspension in addition to the resolution URL, typically containing relevant parameter values from the originating workflow.
-
#notifications ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoNotification>
Corresponds to the JSON property
notifications
. -
#suspension_expiration ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionExpiration
Indicates the next steps when no external actions happen on the suspension.
-
#who_may_resolve ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionAuthPermissions>
Identities able to resolve this suspension.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoSuspensionConfig
constructor
A new instance of EnterpriseCrmEventbusProtoSuspensionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoSuspensionConfig
Returns a new instance of EnterpriseCrmEventbusProtoSuspensionConfig.
2589 2590 2591 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2589 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_message ⇒ String
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
2572 2573 2574 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2572 def @custom_message end |
#notifications ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoNotification>
Corresponds to the JSON property notifications
2577 2578 2579 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2577 def notifications @notifications end |
#suspension_expiration ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionExpiration
Indicates the next steps when no external actions happen on the suspension.
Corresponds to the JSON property suspensionExpiration
2582 2583 2584 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2582 def suspension_expiration @suspension_expiration end |
#who_may_resolve ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionAuthPermissions>
Identities able to resolve this suspension.
Corresponds to the JSON property whoMayResolve
2587 2588 2589 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2587 def who_may_resolve @who_may_resolve end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2594 2595 2596 2597 2598 2599 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 2594 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 |