NAME
Google::Cloud::Connectors::V1::Common - Compiled Protocol Buffers messages for google/cloud/connectors/v1/common.proto
SYNOPSIS
use Google::Cloud::Connectors::V1::Common;
my $msg = Google::Cloud::Connectors::V1::Common::OperationMetadata->new({
create_time => $create_time,
end_time => $end_time,
target => $target,
verb => $verb,
});
# Read or update a field
my $val = $msg->create_time();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Connectors::V1::Common::OperationMetadata->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/connectors/v1/common.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::Common::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Connectors::V1::Common::ConfigVariableTemplate
ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.
Inherits from Protobuf::Message.
Accessors
$msg->key()/$msg->key($value)Type:
StringKey of the config variable.
$msg->value_type()/$msg->value_type($value)Type:
Enum(Google::Cloud::Connectors::V1::ConfigVariableTemplate::ValueType)Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
$msg->display_name()/$msg->display_name($value)Type:
StringDisplay name of the parameter.
$msg->description()/$msg->description($value)Type:
StringDescription.
$msg->validation_regex()/$msg->validation_regex($value)Type:
StringRegular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
$msg->required()/$msg->required($value)Type:
BoolFlag represents that this `ConfigVariable` must be provided for a connection.
$msg->role_grant()/$msg->role_grant($value)Type:
Message(Google::Cloud::Connectors::V1::Common::RoleGrant)Role grant configuration for the config variable.
$msg->enum_options()/$msg->enum_options($value)Type:
Message(Google::Cloud::Connectors::V1::Common::EnumOption)Enum options. To be populated if `ValueType` is `ENUM`
$msg->authorization_code_link()/$msg->authorization_code_link($value)Type:
Message(Google::Cloud::Connectors::V1::Common::AuthorizationCodeLink)Authorization code link options. To be populated if `ValueType` is `AUTHORIZATION_CODE`
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Connectors::V1::ConfigVariableTemplate::State)State of the config variable.
$msg->is_advanced()/$msg->is_advanced($value)Type:
BoolIndicates if current template is part of advanced settings
Enum: ConfigVariableTemplate::ValueType
VALUE_TYPE_UNSPECIFIED=>0STRING=>1INT=>2BOOL=>3SECRET=>4ENUM=>5AUTHORIZATION_CODE=>6
Enum: ConfigVariableTemplate::State
STATE_UNSPECIFIED=>0ACTIVE=>1DEPRECATED=>2
Google::Cloud::Connectors::V1::Common::Secret
Secret provides a reference to entries in Secret Manager.
Inherits from Protobuf::Message.
Accessors
$msg->secret_version()/$msg->secret_version($value)Type:
StringThe resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
Google::Cloud::Connectors::V1::Common::EnumOption
EnumOption definition
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringId of the option.
$msg->display_name()/$msg->display_name($value)Type:
StringDisplay name of the option.
Google::Cloud::Connectors::V1::Common::ConfigVariable
ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.
Inherits from Protobuf::Message.
Accessors
$msg->key()/$msg->key($value)Type:
StringKey of the config variable.
$msg->int_value()/$msg->int_value($value)Type:
Int64Value is an integer
$msg->bool_value()/$msg->bool_value($value)Type:
BoolValue is a bool.
$msg->string_value()/$msg->string_value($value)Type:
StringValue is a string.
$msg->secret_value()/$msg->secret_value($value)Type:
Message(Google::Cloud::Connectors::V1::Common::Secret)Value is a secret.
Google::Cloud::Connectors::V1::Common::RoleGrant
This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user.
Inherits from Protobuf::Message.
Accessors
$msg->principal()/$msg->principal($value)Type:
Enum(Google::Cloud::Connectors::V1::RoleGrant::Principal)Prinicipal/Identity for whom the role need to assigned.
$msg->roles()/$msg->roles($value)Type:
StringList of roles that need to be granted.
$msg->resource()/$msg->resource($value)Type:
Message(Google::Cloud::Connectors::V1::Common::RoleGrant::Resource)Resource on which the roles needs to be granted for the principal.
$msg->helper_text_template()/$msg->helper_text_template($value)Type:
StringTemplate that UI can use to provide helper text to customers.
Enum: RoleGrant::Principal
PRINCIPAL_UNSPECIFIED=>0CONNECTOR_SA=>1
Google::Cloud::Connectors::V1::Common::AuthorizationCodeLink
This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow.
Inherits from Protobuf::Message.
Accessors
$msg->uri()/$msg->uri($value)Type:
StringThe base URI the user must click to trigger the authorization code login flow.
$msg->scopes()/$msg->scopes($value)Type:
StringThe scopes for which the user will authorize GCP Connectors on the connector data source.
$msg->client_id()/$msg->client_id($value)Type:
StringThe client ID assigned to the GCP Connectors OAuth app for the connector data source.
$msg->enable_pkce()/$msg->enable_pkce($value)Type:
BoolWhether to enable PKCE for the auth code flow.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Connectors::V1::Common::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.