Memorystore for Memcached V1beta2 Client - Class GetInstanceRequest (1.3.4)

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

Request for GetInstance.

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

Namespace

Google \ Cloud \ Memcache \ V1beta2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this