Google Cloud Managed Kafka V1 Client - Class GetClusterRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class GetClusterRequest.

Request for GetCluster.

Generated from protobuf message google.cloud.managedkafka.v1.GetClusterRequest

Namespace

Google \ Cloud \ ManagedKafka \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the cluster whose configuration to return.

getName

Required. The name of the cluster whose configuration to return.

Returns
Type Description
string

setName

Required. The name of the cluster whose configuration to return.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the cluster whose configuration to return. Please see ManagedKafkaClient::clusterName() for help formatting this field.

Returns
Type Description
GetClusterRequest