Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::IndexAssetRequest.
Request message for IndexAsset.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index
def index() -> ::String
Returns
-
(::String) — Optional. The name of the index.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
#index=
def index=(value) -> ::String
Parameter
-
value (::String) — Optional. The name of the index.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
Returns
-
(::String) — Optional. The name of the index.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the asset to index.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the asset to index.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
Returns
-
(::String) — Required. The resource name of the asset to index.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}