Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
- 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
Inline blob.
Instance Attribute Summary collapse
-
#data ⇒ String
Required.
-
#mime_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentBlob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentBlob.
8345 8346 8347 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8345 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Required. Raw bytes.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
8338 8339 8340 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8338 def data @data end |
#mime_type ⇒ String
Required. The media type (MIME type) of the generated data.
Corresponds to the JSON property mimeType
8343 8344 8345 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8343 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8350 8351 8352 8353 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8350 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |