Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class 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.
Generated from protobuf message google.cloud.visionai.v1.Index
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ entire_corpus
bool
Include all assets under the corpus.
↳ name
string
Output only. Resource name of the Index resource. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}
↳ display_name
string
Optional. Optional user-specified display name of the index.
↳ description
string
Optional. Optional description of the index.
↳ state
int
Output only. State of the index.
↳ create_time
↳ update_time
↳ deployed_indexes
array< 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.
↳ satisfies_pzs
bool
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.
↳ satisfies_pzi
bool
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.
getEntireCorpus
Include all assets under the corpus.
bool
hasEntireCorpus
setEntireCorpus
Include all assets under the corpus.
var
bool
$this
getName
Output only. Resource name of the Index resource.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}
string
setName
Output only. Resource name of the Index resource.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}
var
string
$this
getDisplayName
Optional. Optional user-specified display name of the index.
string
setDisplayName
Optional. Optional user-specified display name of the index.
var
string
$this
getDescription
Optional. Optional description of the index.
string
setDescription
Optional. Optional description of the index.
var
string
$this
getState
Output only. State of the index.
setState
Output only. State of the index.
$this
getCreateTime
Output only. The create timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The create timestamp.
$this
getUpdateTime
Output only. The update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update timestamp.
$this
getDeployedIndexes
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.
setDeployedIndexes
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.
$this
getSatisfiesPzs
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.
bool
hasSatisfiesPzs
clearSatisfiesPzs
setSatisfiesPzs
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.
var
bool
$this
getSatisfiesPzi
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.
bool
hasSatisfiesPzi
clearSatisfiesPzi
setSatisfiesPzi
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.
var
bool
$this
getAssetFilter
string

