Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Index.
An Index is a resource in Corpus. It contains an indexed version of the assets and annotations. When deployed to an endpoint, it will allow users to search the Index.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The create timestamp.
#deployed_indexes
def deployed_indexes() -> ::Array<::Google::Cloud::VisionAI::V1::DeployedIndexReference>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::DeployedIndexReference>) — Output only. References to the deployed index instance. Index of VIDEO_ON_DEMAND corpus can have at most one deployed index. Index of IMAGE corpus can have multiple deployed indexes.
#description
def description() -> ::String
Returns
- (::String) — Optional. Optional description of the index.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Optional description of the index.
Returns
- (::String) — Optional. Optional description of the index.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Optional user-specified display name of the index.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Optional user-specified display name of the index.
Returns
- (::String) — Optional. Optional user-specified display name of the index.
#entire_corpus
def entire_corpus() -> ::Boolean
Returns
- (::Boolean) — Include all assets under the corpus.
#entire_corpus=
def entire_corpus=(value) -> ::Boolean
Parameter
- value (::Boolean) — Include all assets under the corpus.
Returns
- (::Boolean) — Include all assets under the corpus.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Resource name of the Index resource.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}
#satisfies_pzi
def satisfies_pzi() -> ::Boolean
Returns
- (::Boolean) — Output only. This boolean field is only set for projects that have Physical Zone Isolation enabled via an Org Policy constraint. It is set to true when the index is a valid zone isolated index and false if it isn't.
#satisfies_pzs
def satisfies_pzs() -> ::Boolean
Returns
- (::Boolean) — Output only. This boolean field is only set for projects that have Physical Zone Separation enabled via an Org Policy constraint. It is set to true when the index is a valid zone separated index and false if it isn't.
#state
def state() -> ::Google::Cloud::VisionAI::V1::Index::State
Returns
- (::Google::Cloud::VisionAI::V1::Index::State) — Output only. State of the index.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The update timestamp.