Class: Google::Apis::ContactcenteraiplatformV1alpha1::Component
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenteraiplatformV1alpha1::Component
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb
Overview
Defines a logical CCAIP component that e.g. “EMAIL”, "CRM". For more information see go/ccaip-private-path-v2. Each logical component is associated with a list of service attachments.
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the component.
-
#service_attachments ⇒ Array<Google::Apis::ContactcenteraiplatformV1alpha1::ServiceAttachment>
Associated service attachments.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Component
constructor
A new instance of Component.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Component
Returns a new instance of Component.
79 80 81 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 79 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name of the component.
Corresponds to the JSON property name
72 73 74 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 72 def name @name end |
#service_attachments ⇒ Array<Google::Apis::ContactcenteraiplatformV1alpha1::ServiceAttachment>
Associated service attachments.
Corresponds to the JSON property serviceAttachments
77 78 79 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 77 def @service_attachments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
84 85 86 87 |
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 84 def update!(**args) @name = args[:name] if args.key?(:name) @service_attachments = args[:service_attachments] if args.key?(:service_attachments) end |