Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class CreateConnectorRequest.
Request for CreateConnector.
Generated from protobuf message google.cloud.managedkafka.v1.CreateConnectorRequest
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent Connect cluster in which to create the connector. Structured like |
↳ connector_id |
string
Required. The ID to use for the connector, which will become the final component of the connector's name. The ID must be 1-63 characters long, and match the regular expression |
↳ connector |
Connector
Required. The connector to create. |
getParent
Required. The parent Connect cluster in which to create the connector.
Structured like
projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent Connect cluster in which to create the connector.
Structured like
projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConnectorId
Required. The ID to use for the connector, which will become the final
component of the connector's name. The ID must be 1-63 characters long, and
match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
to comply with
RFC 1035.
This value is structured like: my-connector-id
.
Returns | |
---|---|
Type | Description |
string |
setConnectorId
Required. The ID to use for the connector, which will become the final
component of the connector's name. The ID must be 1-63 characters long, and
match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
to comply with
RFC 1035.
This value is structured like: my-connector-id
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConnector
Required. The connector to create.
Returns | |
---|---|
Type | Description |
Connector|null |
hasConnector
clearConnector
setConnector
Required. The connector to create.
Parameter | |
---|---|
Name | Description |
var |
Connector
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent Connect cluster in which to create the connector.
Structured like
|
connector |
Connector
Required. The connector to create. |
connectorId |
string
Required. The ID to use for the connector, which will become the final
component of the connector's name. The ID must be 1-63 characters long, and
match the regular expression This value is structured like: |
Returns | |
---|---|
Type | Description |
CreateConnectorRequest |