NAME

Google::Cloud::Connectors::V1::Connection - Compiled Protocol Buffers messages for google/cloud/connectors/v1/connection.proto

SYNOPSIS

use Google::Cloud::Connectors::V1::Connection;

my $msg = Google::Cloud::Connectors::V1::Connection::Connection->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    labels => $labels,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/connectors/v1/connection.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::Connectors::V1::Connection::Connection

Connection represents an instance of connector.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Created time.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Updated time.

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::Connection::LabelsEntry)

    Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

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

    Type: String

    Optional. Description of the resource.

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

    Type: String

    Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::ConnectionStatus)

    Output only. Current status of the connection.

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

    Type: Message (Google::Cloud::Connectors::V1::Common::ConfigVariable)

    Optional. Configuration for configuring the connection with an external system.

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

    Type: Message (Google::Cloud::Connectors::V1::Authconfig::AuthConfig)

    Optional. Configuration for establishing the connection's authentication with an external system.

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::LockConfig)

    Optional. Configuration that indicates whether or not the Connection can be edited.

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

    Type: Message (Google::Cloud::Connectors::V1::DestinationConfig::DestinationConfig)

    Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s).

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

    Type: String

    Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}

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

    Type: String

    Optional. Service account needed for runtime plane to access GCP resources.

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

    Type: String

    Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"

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

    Type: String

    Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}

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

    Type: Bool

    Optional. Suspended indicates if a user has suspended a connection or not.

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::NodeConfig)

    Optional. Node configuration for the connection.

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

    Type: Message (Google::Cloud::Connectors::V1::SslConfig::SslConfig)

    Optional. Ssl config of a connection

Google::Cloud::Connectors::V1::Connection::NodeConfig

Node configuration for the connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Minimum number of nodes in the runtime nodes.

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

    Type: Int32

    Maximum number of nodes in the runtime nodes.

Google::Cloud::Connectors::V1::Connection::ConnectionSchemaMetadata

ConnectionSchemaMetadata is the singleton resource of each connection. It includes the entity and action names of runtime resources exposed by a connection backend.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. List of entity names.

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

    Type: String

    Output only. List of actions.

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

    Type: String

    Output only. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the connection runtime schema was updated.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the connection runtime schema refresh was triggered.

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

    Type: Enum (Google::Cloud::Connectors::V1::ConnectionSchemaMetadata::State)

    Output only. The current state of runtime schema.

Enum: ConnectionSchemaMetadata::State

  • STATE_UNSPECIFIED => 0

  • REFRESHING => 1

  • UPDATED => 2

Google::Cloud::Connectors::V1::Connection::RuntimeEntitySchema

Schema of a runtime entity.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Connectors::V1::Connection::RuntimeActionSchema

Schema of a runtime action.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Connectors::V1::Connection::LockConfig

Determines whether or no a connection is locked. If locked, a reason must be specified.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Indicates whether or not the connection is locked.

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

    Type: String

    Describes why a connection is locked.

Google::Cloud::Connectors::V1::Connection::ListConnectionsRequest

Request message for ConnectorsService.ListConnections

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent resource of the Connection, of the form: `projects/*/locations/*`

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

    Type: Int32

    Page size.

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

    Type: String

    Page token.

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

    Type: String

    Filter.

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

    Type: String

    Order by parameters.

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

    Type: Enum (Google::Cloud::Connectors::V1::ConnectionView)

    Specifies which fields of the Connection are returned in the response. Defaults to `BASIC` view.

Google::Cloud::Connectors::V1::Connection::ListConnectionsResponse

Response message for ConnectorsService.ListConnections

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::Connection)

    Connections.

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

    Type: String

    Next page token.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Connectors::V1::Connection::GetConnectionRequest

Request message for ConnectorsService.GetConnection

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the form: `projects/*/locations/*/connections/*`

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

    Type: Enum (Google::Cloud::Connectors::V1::ConnectionView)

    Specifies which fields of the Connection are returned in the response. Defaults to `BASIC` view.

Google::Cloud::Connectors::V1::Connection::CreateConnectionRequest

Request message for ConnectorsService.CreateConnection

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent resource of the Connection, of the form: `projects/*/locations/*`

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

    Type: String

    Required. Identifier to assign to the Connection. Must be unique within scope of the parent resource.

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::Connection)

    Required. Connection resource.

Google::Cloud::Connectors::V1::Connection::UpdateConnectionRequest

Request message for ConnectorsService.UpdateConnection

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Connectors::V1::Connection::Connection)

    Required. Connection resource.

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

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

    Required. You can modify only the fields listed below.

    To lock/unlock a connection: * `lock_config`

    To suspend/resume a connection: * `suspended`

    To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config`

Google::Cloud::Connectors::V1::Connection::DeleteConnectionRequest

Request message for ConnectorsService.DeleteConnection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the form: `projects/*/locations/*/connections/*`

Google::Cloud::Connectors::V1::Connection::GetConnectionSchemaMetadataRequest

Request message for ConnectorsService.GetConnectionSchemaMetadata.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Connection name Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata

Google::Cloud::Connectors::V1::Connection::RefreshConnectionSchemaMetadataRequest

Request message for ConnectorsService.RefreshConnectionSchemaMetadata.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata

Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasRequest

Request message for ConnectorsService.ListRuntimeEntitySchemas. For filter, only entity field is supported with literal equality operator. Accepted filter example: entity="Order" Wildcards are not supported in the filter currently.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent resource of RuntimeEntitySchema Format: projects/{project}/locations/{location}/connections/{connection}

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

    Type: Int32

    Page size.

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

    Type: String

    Page token.

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

    Type: String

    Required. Filter Format: entity="{entityId}" Only entity field is supported with literal equality operator. Accepted filter example: entity="Order" Wildcards are not supported in the filter currently.

Google::Cloud::Connectors::V1::Connection::ListRuntimeEntitySchemasResponse

Response message for ConnectorsService.ListRuntimeEntitySchemas.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasRequest

Request message for ConnectorsService.ListRuntimeActionSchemas. For filter, only action field is supported with literal equality operator. Accepted filter example: action="approveOrder" Wildcards are not supported in the filter currently.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent resource of RuntimeActionSchema Format: projects/{project}/locations/{location}/connections/{connection}

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

    Type: Int32

    Page size.

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

    Type: String

    Page token.

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

    Type: String

    Required. Filter Format: action="{actionId}" Only action field is supported with literal equality operator. Accepted filter example: action="CancelOrder" Wildcards are not supported in the filter currently.

Google::Cloud::Connectors::V1::Connection::ListRuntimeActionSchemasResponse

Response message for ConnectorsService.ListRuntimeActionSchemas.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Connectors::V1::Connection::ConnectionStatus

ConnectionStatus indicates the state of the connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Connectors::V1::ConnectionStatus::State)

    State.

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

    Type: String

    Description.

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

    Type: String

    Status provides detailed information for the state.

Enum: ConnectionStatus::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • INACTIVE => 3

  • DELETING => 4

  • UPDATING => 5

  • ERROR => 6

  • AUTHORIZATION_REQUIRED => 7

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Connectors::V1::Connection::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.