Google Cloud Ai Platform V1 Client - Class GetContextRequest (0.16.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GetContextRequest.

Request message for MetadataService.GetContext.

Generated from protobuf message google.cloud.aiplatform.v1.GetContextRequest

Methods

build

Parameter
NameDescription
name string

Required. The resource name of the Context to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context} Please see {@see \Google\Cloud\AIPlatform\V1\MetadataServiceClient::contextName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\GetContextRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the Context to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

getName

Required. The resource name of the Context to retrieve.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
TypeDescription
string

setName

Required. The resource name of the Context to retrieve.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Parameter
NameDescription
var string
Returns
TypeDescription
$this