Google Cloud Ai Platform V1 Client - Class GetPersistentResourceRequest (1.7.0)

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

Request message for PersistentResourceService.GetPersistentResource.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the PersistentResource resource. Format: projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}

getName

Required. The name of the PersistentResource resource.

Format: projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}

Returns
Type Description
string

setName

Required. The name of the PersistentResource resource.

Format: projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the PersistentResource resource. Format: projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id} Please see Google\Cloud\AIPlatform\V1\PersistentResourceServiceClient::persistentResourceName() for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\GetPersistentResourceRequest