Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment
- 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::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
The media type and data of the blob.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment.
18464 18465 18466 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18464 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
18457 18458 18459 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18457 def attribution_type @attribution_type end |
#data ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
The media type and data of the blob.
Corresponds to the JSON property data
18462 18463 18464 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18462 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18469 18470 18471 18472 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18469 def update!(**args) @attribution_type = args[:attribution_type] if args.key?(:attribution_type) @data = args[:data] if args.key?(:data) end |