Google Cloud Memorystore V1 Client - Class GetInstanceRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Memorystore V1 Client class GetInstanceRequest.

Request message for GetInstance.

Generated from protobuf message google.cloud.memorystore.v1.GetInstanceRequest

Namespace

Google \ Cloud \ Memorystore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the instance to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}

getName

Required. The name of the instance to retrieve.

Format: projects/{project}/locations/{location}/instances/{instance}

Returns
Type Description
string

setName

Required. The name of the instance to retrieve.

Format: projects/{project}/locations/{location}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the instance to retrieve. Format: projects/{project}/locations/{location}/instances/{instance} Please see MemorystoreClient::instanceName() for help formatting this field.

Returns
Type Description
GetInstanceRequest