Vision AI V1 API - Class Google::Cloud::VisionAI::V1::IndexedAsset (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::IndexedAsset.

An IndexedAsset is an asset that the index is built upon.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#asset

def asset() -> ::String
Returns
  • (::String) — Required. The resource name of the asset. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

#asset=

def asset=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the asset. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
Returns
  • (::String) — Required. The resource name of the asset. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#index

def index() -> ::String
Returns
  • (::String) — Required. The index that this indexed asset belongs to. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}

#index=

def index=(value) -> ::String
Parameter
  • value (::String) — Required. The index that this indexed asset belongs to. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
Returns
  • (::String) — Required. The index that this indexed asset belongs to. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns