Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob

Inherits:
Object
  • Object
show all
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 type and data of the blob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob.



31810
31811
31812
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31810

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataString

Output only. Raw bytes. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


31803
31804
31805
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31803

def data
  @data
end

#mime_typeString

Output only. The media type (MIME type) of the generated data. Corresponds to the JSON property mimeType

Returns:

  • (String)


31808
31809
31810
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31808

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31815
31816
31817
31818
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 31815

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end