Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudCesV1mainBlob

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudCesV1mainBlob

Returns a new instance of GoogleCloudCesV1mainBlob.



625
626
627
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 625

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataString

Required. Raw bytes of the blob. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


618
619
620
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 618

def data
  @data
end

#mime_typeString

Required. The IANA standard MIME type of the source data. Corresponds to the JSON property mimeType

Returns:

  • (String)


623
624
625
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 623

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



630
631
632
633
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 630

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end