Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class RestartConnectorRequest.
Request for RestartConnector.
Generated from protobuf message google.cloud.managedkafka.v1.RestartConnectorRequest
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the connector to restart. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |
getName
Required. The name of the connector to restart.
Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the connector to restart.
Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of the connector to restart. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} Please see ManagedKafkaConnectClient::connectorName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
RestartConnectorRequest |
|