Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CreateSearchHypernymRequest.
Request message for creating SearchHypernym.
Generated from protobuf message google.cloud.visionai.v1.CreateSearchHypernymRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource where this SearchHypernym will be created. Format: projects/{project_number}/locations/{location}/corpora/{corpus}
↳ search_hypernym
↳ search_hypernym_id
string
Optional. The search hypernym id. If omitted, a random UUID will be generated.
getParent
Required. The parent resource where this SearchHypernym will be created.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}
string
setParent
Required. The parent resource where this SearchHypernym will be created.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}
var
string
$this
getSearchHypernym
Required. The SearchHypernym to create.
hasSearchHypernym
clearSearchHypernym
setSearchHypernym
Required. The SearchHypernym to create.
$this
getSearchHypernymId
Optional. The search hypernym id.
If omitted, a random UUID will be generated.
string
hasSearchHypernymId
clearSearchHypernymId
setSearchHypernymId
Optional. The search hypernym id.
If omitted, a random UUID will be generated.
var
string
$this
static::build
parent
string
Required. The parent resource where this SearchHypernym will be created.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}
Please see WarehouseClient::corpusName()
for help formatting this field.
searchHypernym
searchHypernymId
string
Optional. The search hypernym id. If omitted, a random UUID will be generated.

