Memorystore for Memcached V1 Client - Class GetInstanceRequest (1.2.2)

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

Request for GetInstance.

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

Namespace

Google \ Cloud \ Memcache \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Memcached instance resource name in the format: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region

getName

Required. Memcached instance resource name in the format: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region

Returns
TypeDescription
string

setName

Required. Memcached instance resource name in the format: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Memcached instance resource name in the format: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region Please see Google\Cloud\Memcache\V1\CloudMemcacheClient::instanceName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Memcache\V1\GetInstanceRequest