Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob

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) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentBlob

Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantContentBlob.



21275
21276
21277
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21275

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)


21268
21269
21270
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21268

def data
  @data
end

#mime_typeString

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

Returns:

  • (String)


21273
21274
21275
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21273

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21280
21281
21282
21283
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21280

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