Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Inline blob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentBlob

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentBlob.



8243
8244
8245
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8243

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

Instance Attribute Details

#dataString

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

Returns:

  • (String)


8236
8237
8238
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8236

def data
  @data
end

#mime_typeString

Required. The media type (MIME type) of the generated data. Corresponds to the JSON property mimeType

Returns:

  • (String)


8241
8242
8243
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8241

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8248
8249
8250
8251
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8248

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