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.
4829 4830 4831 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4829 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
4795 4796 4797 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4795 def create_time @create_time end |
#description ⇒ String
Optional. Human-readable description of the omnichannel resource.
Corresponds to the JSON property description
4800 4801 4802 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4800 def description @description end |
#display_name ⇒ String
Required. Display name of the omnichannel resource.
Corresponds to the JSON property displayName
4805 4806 4807 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4805 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
4811 4812 4813 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4811 def etag @etag end |
#integration_config ⇒ Google::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 |
#name ⇒ String
Identifier. The unique identifier of the omnichannel resource. Format:
projects/project/locations/location/omnichannels/omnichannel`
Corresponds to the JSON propertyname`
4822 4823 4824 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4822 def name @name end |
#update_time ⇒ String
Output only. Timestamp when the omnichannel resource was last updated.
Corresponds to the JSON property updateTime
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 |