Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudCesV1mainImage
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudCesV1mainImage
- 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 an image input or output in the conversation.
Instance Attribute Summary collapse
-
#data ⇒ String
Required.
-
#mime_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudCesV1mainImage
constructor
A new instance of GoogleCloudCesV1mainImage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudCesV1mainImage
Returns a new instance of GoogleCloudCesV1mainImage.
194 195 196 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 194 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Required. Raw bytes of the image.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
186 187 188 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 186 def data @data end |
#mime_type ⇒ String
Required. The IANA standard MIME type of the source data. Supported image
types includes: * image/png * image/jpeg * image/webp
Corresponds to the JSON property mimeType
192 193 194 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 192 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
199 200 201 202 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 199 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |