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.



4996
4997
4998
# File 'lib/google/apis/ces_v1/classes.rb', line 4996

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)


4962
4963
4964
# File 'lib/google/apis/ces_v1/classes.rb', line 4962

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


4967
4968
4969
# File 'lib/google/apis/ces_v1/classes.rb', line 4967

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


4972
4973
4974
# File 'lib/google/apis/ces_v1/classes.rb', line 4972

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)


4978
4979
4980
# File 'lib/google/apis/ces_v1/classes.rb', line 4978

def etag
  @etag
end

#integration_configGoogle::Apis::CesV1::OmnichannelIntegrationConfig

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



4983
4984
4985
# File 'lib/google/apis/ces_v1/classes.rb', line 4983

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)


4989
4990
4991
# File 'lib/google/apis/ces_v1/classes.rb', line 4989

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


4994
4995
4996
# File 'lib/google/apis/ces_v1/classes.rb', line 4994

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5001
5002
5003
5004
5005
5006
5007
5008
5009
# File 'lib/google/apis/ces_v1/classes.rb', line 5001

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