Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
- 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
-
#attribution_type ⇒ String
Output only.
-
#data ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
The media type and data of the blob.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment.
8076 8077 8078 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8076 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribution_type ⇒ String
Output only. The attribution type of the blob.
Corresponds to the JSON property attributionType
8069 8070 8071 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8069 def attribution_type @attribution_type end |
#data ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
The media type and data of the blob.
Corresponds to the JSON property data
8074 8075 8076 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8074 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8081 8082 8083 8084 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8081 def update!(**args) @attribution_type = args[:attribution_type] if args.key?(:attribution_type) @data = args[:data] if args.key?(:data) end |