Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoNotification

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

Returns a new instance of EnterpriseCrmEventbusProtoNotification.



1647
1648
1649
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1647

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

Instance Attribute Details

#buganizer_notificationGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoBuganizerNotification

Corresponds to the JSON property buganizerNotification



1621
1622
1623
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1621

def buganizer_notification
  @buganizer_notification
end

#email_addressGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAddress

Email address along with optional name and tokens. These tokens will be substituted for the variables in the form of [var_name], where var_name could be any string of no more than 32 bytes. Corresponds to the JSON property emailAddress



1628
1629
1630
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1628

def email_address
  @email_address
end

#escalator_queueString

Corresponds to the JSON property escalatorQueue

Returns:

  • (String)


1633
1634
1635
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1633

def escalator_queue
  @escalator_queue
end

#pubsub_topicString

Corresponds to the JSON property pubsubTopic

Returns:

  • (String)


1638
1639
1640
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1638

def pubsub_topic
  @pubsub_topic
end

#requestGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoCustomSuspensionRequest

If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution. Corresponds to the JSON property request



1645
1646
1647
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1645

def request
  @request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1652
1653
1654
1655
1656
1657
1658
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1652

def update!(**args)
  @buganizer_notification = args[:buganizer_notification] if args.key?(:buganizer_notification)
  @email_address = args[:email_address] if args.key?(:email_address)
  @escalator_queue = args[:escalator_queue] if args.key?(:escalator_queue)
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
  @request = args[:request] if args.key?(:request)
end