Optional. Restarts the individual tasks of a Connector.
↳ name
string
Identifier. The name of the connector. Structured like: projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Managed Kafka V1 Client - Class Connector (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-managedkafka/latest/V1.Connector)\n- [0.6.0](/php/docs/reference/cloud-managedkafka/0.6.0/V1.Connector)\n- [0.5.0](/php/docs/reference/cloud-managedkafka/0.5.0/V1.Connector)\n- [0.4.1](/php/docs/reference/cloud-managedkafka/0.4.1/V1.Connector)\n- [0.3.1](/php/docs/reference/cloud-managedkafka/0.3.1/V1.Connector)\n- [0.2.3](/php/docs/reference/cloud-managedkafka/0.2.3/V1.Connector)\n- [0.1.3](/php/docs/reference/cloud-managedkafka/0.1.3/V1.Connector) \nReference documentation and code samples for the Google Cloud Managed Kafka V1 Client class Connector.\n\nA Kafka Connect connector in a given ConnectCluster.\n\nGenerated from protobuf message `google.cloud.managedkafka.v1.Connector`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ManagedKafka \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTaskRestartPolicy\n\nOptional. Restarts the individual tasks of a Connector.\n\n### hasTaskRestartPolicy\n\n### setTaskRestartPolicy\n\nOptional. Restarts the individual tasks of a Connector.\n\n### getName\n\nIdentifier. The name of the connector.\n\nStructured like:\nprojects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}\n\n### setName\n\nIdentifier. The name of the connector.\n\nStructured like:\nprojects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}\n\n### getConfigs\n\nOptional. Connector config as keys/values.\n\nThe keys of the map are connector property names, for example:\n`connector.class`, `tasks.max`, `key.converter`.\n\n### setConfigs\n\nOptional. Connector config as keys/values.\n\nThe keys of the map are connector property names, for example:\n`connector.class`, `tasks.max`, `key.converter`.\n\n### getState\n\nOutput only. The current state of the connector.\n\n### setState\n\nOutput only. The current state of the connector.\n\n### getRestartPolicy"]]