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.



31784
31785
31786
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31784

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)


31777
31778
31779
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31777

def attribution_type
  @attribution_type
end

#dataGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob

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



31782
31783
31784
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31782

def data
  @data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31789
31790
31791
31792
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31789

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