Google Cloud Vision Ai V1 Client - Class CreateIndexEndpointRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CreateIndexEndpointRequest.

Request message for CreateIndexEndpoint.

Generated from protobuf message google.cloud.visionai.v1.CreateIndexEndpointRequest

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. Format: projects/{project}/locations/{location}

↳ index_endpoint_id
string

Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated. This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.

↳ index_endpoint
IndexEndpoint

Required. The resource being created.

getParent

Required. Format: projects/{project}/locations/{location}

Returns
Type
Description
string

setParent

Required. Format: projects/{project}/locations/{location}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIndexEndpointId

Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it.

Otherwise, IndexEndpoint id will be autogenerated. This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.

Returns
Type
Description
string

setIndexEndpointId

Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it.

Otherwise, IndexEndpoint id will be autogenerated. This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIndexEndpoint

Required. The resource being created.

Returns
Type
Description

hasIndexEndpoint

clearIndexEndpoint

setIndexEndpoint

Required. The resource being created.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. Format: projects/{project}/locations/{location} Please see WarehouseClient::locationName() for help formatting this field.

indexEndpoint
IndexEndpoint

Required. The resource being created.

indexEndpointId
string

Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated.

This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: