Cloud Spanner V1 Client - Class GetInstancePartitionRequest (1.91.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class GetInstancePartitionRequest.

The request for GetInstancePartition.

Generated from protobuf message google.spanner.admin.instance.v1.GetInstancePartitionRequest

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the requested instance partition. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}.

getName

Required. The name of the requested instance partition. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}.

Returns
Type Description
string

setName

Required. The name of the requested instance partition. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the requested instance partition. Values are of the form projects/{project}/instances/{instance}/instancePartitions/{instance_partition}. Please see InstanceAdminClient::instancePartitionName() for help formatting this field.

Returns
Type Description
GetInstancePartitionRequest