Google Cloud Vision Ai V1 Client - Class CreateSearchHypernymRequest (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 SearchHypernym

Required. The SearchHypernym to create.

↳ 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}

Returns
Type Description
string

setParent

Required. The parent resource where this SearchHypernym will be created.

Format: projects/{project_number}/locations/{location}/corpora/{corpus}

Parameter
Name Description
var string
Returns
Type Description
$this

getSearchHypernym

Required. The SearchHypernym to create.

Returns
Type Description
SearchHypernym|null

hasSearchHypernym

clearSearchHypernym

setSearchHypernym

Required. The SearchHypernym to create.

Parameter
Name Description
var SearchHypernym
Returns
Type Description
$this

getSearchHypernymId

Optional. The search hypernym id.

If omitted, a random UUID will be generated.

Returns
Type Description
string

hasSearchHypernymId

clearSearchHypernymId

setSearchHypernymId

Optional. The search hypernym id.

If omitted, a random UUID will be generated.

Parameter
Name Description
var string
Returns
Type Description
$this