Class: Google::Apis::CesV1::Omnichannel

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

Represents an Omnichannel resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Omnichannel

Returns a new instance of Omnichannel.



4829
4830
4831
# File 'lib/google/apis/ces_v1/classes.rb', line 4829

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when the omnichannel resource was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4795
4796
4797
# File 'lib/google/apis/ces_v1/classes.rb', line 4795

def create_time
  @create_time
end

#descriptionString

Optional. Human-readable description of the omnichannel resource. Corresponds to the JSON property description

Returns:

  • (String)


4800
4801
4802
# File 'lib/google/apis/ces_v1/classes.rb', line 4800

def description
  @description
end

#display_nameString

Required. Display name of the omnichannel resource. Corresponds to the JSON property displayName

Returns:

  • (String)


4805
4806
4807
# File 'lib/google/apis/ces_v1/classes.rb', line 4805

def display_name
  @display_name
end

#etagString

Output only. Etag used to ensure the object hasn't changed during a read- modify-write operation. Corresponds to the JSON property etag

Returns:

  • (String)


4811
4812
4813
# File 'lib/google/apis/ces_v1/classes.rb', line 4811

def etag
  @etag
end

#integration_configGoogle::Apis::CesV1::OmnichannelIntegrationConfig

OmnichannelIntegrationConfig contains all App integration configs. Corresponds to the JSON property integrationConfig



4816
4817
4818
# File 'lib/google/apis/ces_v1/classes.rb', line 4816

def integration_config
  @integration_config
end

#nameString

Identifier. The unique identifier of the omnichannel resource. Format: projects/project/locations/location/omnichannels/omnichannel` Corresponds to the JSON propertyname`

Returns:

  • (String)


4822
4823
4824
# File 'lib/google/apis/ces_v1/classes.rb', line 4822

def name
  @name
end

#update_timeString

Output only. Timestamp when the omnichannel resource was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


4827
4828
4829
# File 'lib/google/apis/ces_v1/classes.rb', line 4827

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/google/apis/ces_v1/classes.rb', line 4834

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @etag = args[:etag] if args.key?(:etag)
  @integration_config = args[:integration_config] if args.key?(:integration_config)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end