Class: Google::Apis::CesV1::OmnichannelIntegrationConfigChannelConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

ChannelConfig contains config for various of app integration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OmnichannelIntegrationConfigChannelConfig

Returns a new instance of OmnichannelIntegrationConfigChannelConfig.



4906
4907
4908
# File 'lib/google/apis/ces_v1/classes.rb', line 4906

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

Instance Attribute Details

#whatsapp_configGoogle::Apis::CesV1::OmnichannelIntegrationConfigWhatsappConfig

How Omnichannel should receive/reply events from WhatsApp. Corresponds to the JSON property whatsappConfig



4904
4905
4906
# File 'lib/google/apis/ces_v1/classes.rb', line 4904

def whatsapp_config
  @whatsapp_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4911
4912
4913
# File 'lib/google/apis/ces_v1/classes.rb', line 4911

def update!(**args)
  @whatsapp_config = args[:whatsapp_config] if args.key?(:whatsapp_config)
end