Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment

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

Stores binarydata attached to text answer, e.g. image, video, audio, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment.



32777
32778
32779
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32777

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

Instance Attribute Details

#attribution_typeString

Output only. The attribution type of the blob. Corresponds to the JSON property attributionType

Returns:

  • (String)


32770
32771
32772
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32770

def attribution_type
  @attribution_type
end

#dataGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob

Stores type and data of the blob. Corresponds to the JSON property data



32775
32776
32777
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32775

def data
  @data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32782
32783
32784
32785
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32782

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