Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob.
7474 7475 7476 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7474 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.
7467 7468 7469 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7467 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
7472 7473 7474 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7472 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7479 7480 7481 7482 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7479 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |