Class: Google::Apis::CesV1::OmnichannelIntegrationConfig

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

OmnichannelIntegrationConfig contains all App integration configs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OmnichannelIntegrationConfig

Returns a new instance of OmnichannelIntegrationConfig.



5032
5033
5034
# File 'lib/google/apis/ces_v1/classes.rb', line 5032

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

Instance Attribute Details

#channel_configsHash<String,Google::Apis::CesV1::OmnichannelIntegrationConfigChannelConfig>

Optional. Various of configuration for handling App events. Corresponds to the JSON property channelConfigs



5019
5020
5021
# File 'lib/google/apis/ces_v1/classes.rb', line 5019

def channel_configs
  @channel_configs
end

#routing_configsHash<String,Google::Apis::CesV1::OmnichannelIntegrationConfigRoutingConfig>

Optional. The key of routing_configs is a key of app_configs, value is a RoutingConfig, which contains subscriber's key. Corresponds to the JSON property routingConfigs



5025
5026
5027
# File 'lib/google/apis/ces_v1/classes.rb', line 5025

def routing_configs
  @routing_configs
end

#subscriber_configsHash<String,Google::Apis::CesV1::OmnichannelIntegrationConfigSubscriberConfig>

Optional. Various of subscribers configs. Corresponds to the JSON property subscriberConfigs



5030
5031
5032
# File 'lib/google/apis/ces_v1/classes.rb', line 5030

def subscriber_configs
  @subscriber_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5037
5038
5039
5040
5041
# File 'lib/google/apis/ces_v1/classes.rb', line 5037

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