Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
- 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
The media type and data of the blob.
Instance Attribute Summary collapse
-
#data ⇒ String
Output only.
-
#mime_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob.
18286 18287 18288 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Output only. Raw bytes.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
18279 18280 18281 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18279 def data @data end |
#mime_type ⇒ String
Output only. The media type (MIME type) of the generated or retrieved data.
Corresponds to the JSON property mimeType
18284 18285 18286 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18284 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18291 18292 18293 18294 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18291 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |