Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob
- 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) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentBlob
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAssistantContentBlob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentBlob
Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantContentBlob.
21122 21123 21124 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21122 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.
21115 21116 21117 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21115 def data @data end |
#mime_type ⇒ String
Required. The media type (MIME type) of the generated data.
Corresponds to the JSON property mimeType
21120 21121 21122 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21120 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21127 21128 21129 21130 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21127 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) end |