Service Client: Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ManagedKafkaConnectClient

Client stub representing the remote ManagedKafkaConnect gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to managedkafka.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect - Compiled Protocol Buffers messages for google/cloud/managedkafka/v1/managed_kafka_connect.proto

SYNOPSIS

use Google::Cloud::Managedkafka::V1::ManagedKafkaConnect;

my $msg = Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::GetConnectClusterRequest->new({
    name => $name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::GetConnectClusterRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/managedkafka/v1/managed_kafka_connect.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::GetConnectClusterRequest

Request for GetConnectCluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Kafka Connect cluster whose configuration to return. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::CreateConnectClusterRequest

Request for CreateConnectCluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent project/location in which to create the Kafka Connect cluster. Structured like `projects/{project}/locations/{location}/`.

  • $msg->connect_cluster_id() / $msg->connect_cluster_id($value)

    Type: String

    Required. The ID to use for the Connect cluster, which will become the final component of the cluster'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-cluster-id`.

  • $msg->connect_cluster() / $msg->connect_cluster($value)

    Type: Message (Google::Cloud::Managedkafka::V1::Resources::ConnectCluster)

    Required. Configuration of the Kafka Connect cluster to create. Its `name` field is ignored.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.

    The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::UpdateConnectClusterRequest

Request for UpdateConnectCluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

  • $msg->connect_cluster() / $msg->connect_cluster($value)

    Type: Message (Google::Cloud::Managedkafka::V1::Resources::ConnectCluster)

    Required. The Kafka Connect cluster to update. Its `name` field must be populated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.

    The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::DeleteConnectClusterRequest

Request for DeleteConnectCluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Kafka Connect cluster to delete. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request.

    The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ListConnectClustersRequest

Request for ListConnectClusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent project/location whose Connect clusters are to be listed. Structured like `projects/{project}/locations/{location}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of Connect clusters to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListConnectClusters` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListConnectClusters` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression for the result.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Order by fields for the result.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ListConnectClustersResponse

Response for ListConnectClusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->connect_clusters() / $msg->connect_clusters($value)

    Type: Message (Google::Cloud::Managedkafka::V1::Resources::ConnectCluster)

    The list of Connect clusters in the requested parent.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::GetConnectorRequest

Request for GetConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the connector whose configuration to return. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::CreateConnectorRequest

Request for CreateConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

  • $msg->connector_id() / $msg->connector_id($value)

    Type: 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`.

  • $msg->connector() / $msg->connector($value)

    Type: Message (Google::Cloud::Managedkafka::V1::Resources::Connector)

    Required. The connector to create.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::UpdateConnectorRequest

Request for UpdateConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.

  • $msg->connector() / $msg->connector($value)

    Type: Message (Google::Cloud::Managedkafka::V1::Resources::Connector)

    Required. The connector to update. Its `name` field must be populated.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::DeleteConnectorRequest

Request for DeleteConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the connector to delete. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ListConnectorsRequest

Request for ListConnectors.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent Connect cluster whose connectors are to be listed. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of connectors to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListConnectors` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListConnectors` must match the call that provided the page token.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ListConnectorsResponse

Response for ListConnectors.

Inherits from Protobuf::Message.

Accessors

  • $msg->connectors() / $msg->connectors($value)

    Type: Message (Google::Cloud::Managedkafka::V1::Resources::Connector)

    The list of connectors in the requested parent.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::PauseConnectorRequest

Request for PauseConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the connector to pause. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::PauseConnectorResponse

Response for PauseConnector.

Inherits from Protobuf::Message.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ResumeConnectorRequest

Request for ResumeConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the connector to pause. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::ResumeConnectorResponse

Response for ResumeConnector.

Inherits from Protobuf::Message.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::RestartConnectorRequest

Request for RestartConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the connector to restart. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::RestartConnectorResponse

Response for RestartConnector.

Inherits from Protobuf::Message.

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::StopConnectorRequest

Request for StopConnector.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the connector to stop. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}

Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::StopConnectorResponse

Response for StopConnector.

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Managedkafka::V1::ManagedKafkaConnect::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.