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.



4865
4866
4867
# File 'lib/google/apis/ces_v1/classes.rb', line 4865

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



4852
4853
4854
# File 'lib/google/apis/ces_v1/classes.rb', line 4852

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



4858
4859
4860
# File 'lib/google/apis/ces_v1/classes.rb', line 4858

def routing_configs
  @routing_configs
end

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

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



4863
4864
4865
# File 'lib/google/apis/ces_v1/classes.rb', line 4863

def subscriber_configs
  @subscriber_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4870
4871
4872
4873
4874
# File 'lib/google/apis/ces_v1/classes.rb', line 4870

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