ConnectorState constructor
Creates a new ConnectorState.
configs Connector config as keys/values. The keys of the map are connector property names, for example: connector.class, tasks.max, key.converter.
connectCluster The connect cluster name.
connectorId The ID to use for the connector, which will become the final component of the connector's name. This value is structured like: my-connector-id.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
location ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
name The name of the connector. The connector segment is used when connecting directly to the connect cluster. Structured like: projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER/connectors/CONNECTOR_ID.
project The ID of the project in which the resource belongs.
state The current state of the connect. Possible values: STATE_UNSPECIFIED, UNASSIGNED, RUNNING, PAUSED, FAILED, RESTARTING, and STOPPED.
taskRestartPolicy A policy that specifies how to restart the failed connectors/tasks in a Cluster resource. If not set, the failed connectors/tasks won't be restarted.
Implementation
const ConnectorState({
this.configs,
this.connectCluster,
this.connectorId,
this.deletionPolicy,
this.location,
this.name,
this.project,
this.state,
this.taskRestartPolicy,
});