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

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

Required. The resource name of the Context to retrieve.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetContextRequest