Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudCesV1mainBlob
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudCesV1mainBlob
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Represents a blob input or output in the conversation.
Instance Attribute Summary collapse
-
#data ⇒ String
Required.
-
#mime_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudCesV1mainBlob
constructor
A new instance of GoogleCloudCesV1mainBlob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudCesV1mainBlob
Returns a new instance of GoogleCloudCesV1mainBlob.
68 69 70 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 68 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Required. Raw bytes of the blob.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
61 62 63 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 61 def data @data end |
#mime_type ⇒ String
Required. The IANA standard MIME type of the source data.
Corresponds to the JSON property mimeType
66 67 68 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 66 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73 74 75 76 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 73 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |