Class: Google::Apis::CesV1::Omnichannel
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::Omnichannel
- 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
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#etag ⇒ String
Output only.
-
#integration_config ⇒ Google::Apis::CesV1::OmnichannelIntegrationConfig
OmnichannelIntegrationConfig contains all App integration configs.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Omnichannel
constructor
A new instance of Omnichannel.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_time ⇒ String
Output only. Timestamp when the omnichannel resource was created.
Corresponds to the JSON property createTime
4962 4963 4964 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4962 def create_time @create_time end |
#description ⇒ String
Optional. Human-readable description of the omnichannel resource.
Corresponds to the JSON property description
4967 4968 4969 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4967 def description @description end |
#display_name ⇒ String
Required. Display name of the omnichannel resource.
Corresponds to the JSON property displayName
4972 4973 4974 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4972 def display_name @display_name end |
#etag ⇒ String
Output only. Etag used to ensure the object hasn't changed during a read-
modify-write operation.
Corresponds to the JSON property etag
4978 4979 4980 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4978 def etag @etag end |
#integration_config ⇒ Google::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 |
#name ⇒ String
Identifier. The unique identifier of the omnichannel resource. Format:
projects/project/locations/location/omnichannels/omnichannel`
Corresponds to the JSON propertyname`
4989 4990 4991 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4989 def name @name end |
#update_time ⇒ String
Output only. Timestamp when the omnichannel resource was last updated.
Corresponds to the JSON property updateTime
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 |