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.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent Connect cluster in which to create the connector. Structured like projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
.
↳ 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 [a-z]([-a-z0-9]*[a-z0-9])?
to comply with RFC 1035. This value is structured like: my-connector-id
.
↳ connector
getParent
Required. The parent Connect cluster in which to create the connector.
Structured like projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
.
string
setParent
Required. The parent Connect cluster in which to create the connector.
Structured like projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
.
var
string
$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
.
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
.
var
string
$this
getConnector
Required. The connector to create.
hasConnector
clearConnector
setConnector
Required. The connector to create.
$this
static::build
parent
string
Required. The parent Connect cluster in which to create the connector.
Structured like projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
. Please see ManagedKafkaConnectClient::connectClusterName()
for help formatting this field.
connector
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 [a-z]([-a-z0-9]*[a-z0-9])?
to comply with
RFC 1035.
This value is structured like: my-connector-id
.