connectors

package
v0.0.0-...-e6d459c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuthType_name = map[int32]string{
		0: "AUTH_TYPE_UNSPECIFIED",
		1: "USER_PASSWORD",
		2: "OAUTH2_JWT_BEARER",
		3: "OAUTH2_CLIENT_CREDENTIALS",
		4: "SSH_PUBLIC_KEY",
	}
	AuthType_value = map[string]int32{
		"AUTH_TYPE_UNSPECIFIED":     0,
		"USER_PASSWORD":             1,
		"OAUTH2_JWT_BEARER":         2,
		"OAUTH2_CLIENT_CREDENTIALS": 3,
		"SSH_PUBLIC_KEY":            4,
	}
)

Enum value maps for AuthType.

View Source
var (
	LaunchStage_name = map[int32]string{
		0: "LAUNCH_STAGE_UNSPECIFIED",
		1: "PREVIEW",
		2: "GA",
		3: "DEPRECATED",
	}
	LaunchStage_value = map[string]int32{
		"LAUNCH_STAGE_UNSPECIFIED": 0,
		"PREVIEW":                  1,
		"GA":                       2,
		"DEPRECATED":               3,
	}
)

Enum value maps for LaunchStage.

View Source
var (
	ConfigVariableTemplate_ValueType_name = map[int32]string{
		0: "VALUE_TYPE_UNSPECIFIED",
		1: "STRING",
		2: "INT",
		3: "BOOL",
		4: "SECRET",
		5: "ENUM",
		6: "AUTHORIZATION_CODE",
	}
	ConfigVariableTemplate_ValueType_value = map[string]int32{
		"VALUE_TYPE_UNSPECIFIED": 0,
		"STRING":                 1,
		"INT":                    2,
		"BOOL":                   3,
		"SECRET":                 4,
		"ENUM":                   5,
		"AUTHORIZATION_CODE":     6,
	}
)

Enum value maps for ConfigVariableTemplate_ValueType.

View Source
var (
	ConfigVariableTemplate_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "DEPRECATED",
	}
	ConfigVariableTemplate_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"DEPRECATED":        2,
	}
)

Enum value maps for ConfigVariableTemplate_State.

View Source
var (
	RoleGrant_Principal_name = map[int32]string{
		0: "PRINCIPAL_UNSPECIFIED",
		1: "CONNECTOR_SA",
	}
	RoleGrant_Principal_value = map[string]int32{
		"PRINCIPAL_UNSPECIFIED": 0,
		"CONNECTOR_SA":          1,
	}
)

Enum value maps for RoleGrant_Principal.

View Source
var (
	RoleGrant_Resource_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "GCP_PROJECT",
		2: "GCP_RESOURCE",
		3: "GCP_SECRETMANAGER_SECRET",
		4: "GCP_SECRETMANAGER_SECRET_VERSION",
	}
	RoleGrant_Resource_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":                 0,
		"GCP_PROJECT":                      1,
		"GCP_RESOURCE":                     2,
		"GCP_SECRETMANAGER_SECRET":         3,
		"GCP_SECRETMANAGER_SECRET_VERSION": 4,
	}
)

Enum value maps for RoleGrant_Resource_Type.

View Source
var (
	DataType_name = map[int32]string{
		0:  "DATA_TYPE_UNSPECIFIED",
		1:  "DATA_TYPE_INT",
		2:  "DATA_TYPE_SMALLINT",
		3:  "DATA_TYPE_DOUBLE",
		4:  "DATA_TYPE_DATE",
		5:  "DATA_TYPE_DATETIME",
		6:  "DATA_TYPE_TIME",
		7:  "DATA_TYPE_STRING",
		8:  "DATA_TYPE_LONG",
		9:  "DATA_TYPE_BOOLEAN",
		10: "DATA_TYPE_DECIMAL",
		11: "DATA_TYPE_UUID",
		12: "DATA_TYPE_BLOB",
		13: "DATA_TYPE_BIT",
		14: "DATA_TYPE_TINYINT",
		15: "DATA_TYPE_INTEGER",
		16: "DATA_TYPE_BIGINT",
		17: "DATA_TYPE_FLOAT",
		18: "DATA_TYPE_REAL",
		19: "DATA_TYPE_NUMERIC",
		20: "DATA_TYPE_CHAR",
		21: "DATA_TYPE_VARCHAR",
		22: "DATA_TYPE_LONGVARCHAR",
		23: "DATA_TYPE_TIMESTAMP",
		24: "DATA_TYPE_NCHAR",
		25: "DATA_TYPE_NVARCHAR",
		26: "DATA_TYPE_LONGNVARCHAR",
		27: "DATA_TYPE_NULL",
		28: "DATA_TYPE_OTHER",
		29: "DATA_TYPE_JAVA_OBJECT",
		30: "DATA_TYPE_DISTINCT",
		31: "DATA_TYPE_STRUCT",
		32: "DATA_TYPE_ARRAY",
		33: "DATA_TYPE_CLOB",
		34: "DATA_TYPE_REF",
		35: "DATA_TYPE_DATALINK",
		36: "DATA_TYPE_ROWID",
		37: "DATA_TYPE_BINARY",
		38: "DATA_TYPE_VARBINARY",
		39: "DATA_TYPE_LONGVARBINARY",
		40: "DATA_TYPE_NCLOB",
		41: "DATA_TYPE_SQLXML",
		42: "DATA_TYPE_REF_CURSOR",
		43: "DATA_TYPE_TIME_WITH_TIMEZONE",
		44: "DATA_TYPE_TIMESTAMP_WITH_TIMEZONE",
	}
	DataType_value = map[string]int32{
		"DATA_TYPE_UNSPECIFIED":             0,
		"DATA_TYPE_INT":                     1,
		"DATA_TYPE_SMALLINT":                2,
		"DATA_TYPE_DOUBLE":                  3,
		"DATA_TYPE_DATE":                    4,
		"DATA_TYPE_DATETIME":                5,
		"DATA_TYPE_TIME":                    6,
		"DATA_TYPE_STRING":                  7,
		"DATA_TYPE_LONG":                    8,
		"DATA_TYPE_BOOLEAN":                 9,
		"DATA_TYPE_DECIMAL":                 10,
		"DATA_TYPE_UUID":                    11,
		"DATA_TYPE_BLOB":                    12,
		"DATA_TYPE_BIT":                     13,
		"DATA_TYPE_TINYINT":                 14,
		"DATA_TYPE_INTEGER":                 15,
		"DATA_TYPE_BIGINT":                  16,
		"DATA_TYPE_FLOAT":                   17,
		"DATA_TYPE_REAL":                    18,
		"DATA_TYPE_NUMERIC":                 19,
		"DATA_TYPE_CHAR":                    20,
		"DATA_TYPE_VARCHAR":                 21,
		"DATA_TYPE_LONGVARCHAR":             22,
		"DATA_TYPE_TIMESTAMP":               23,
		"DATA_TYPE_NCHAR":                   24,
		"DATA_TYPE_NVARCHAR":                25,
		"DATA_TYPE_LONGNVARCHAR":            26,
		"DATA_TYPE_NULL":                    27,
		"DATA_TYPE_OTHER":                   28,
		"DATA_TYPE_JAVA_OBJECT":             29,
		"DATA_TYPE_DISTINCT":                30,
		"DATA_TYPE_STRUCT":                  31,
		"DATA_TYPE_ARRAY":                   32,
		"DATA_TYPE_CLOB":                    33,
		"DATA_TYPE_REF":                     34,
		"DATA_TYPE_DATALINK":                35,
		"DATA_TYPE_ROWID":                   36,
		"DATA_TYPE_BINARY":                  37,
		"DATA_TYPE_VARBINARY":               38,
		"DATA_TYPE_LONGVARBINARY":           39,
		"DATA_TYPE_NCLOB":                   40,
		"DATA_TYPE_SQLXML":                  41,
		"DATA_TYPE_REF_CURSOR":              42,
		"DATA_TYPE_TIME_WITH_TIMEZONE":      43,
		"DATA_TYPE_TIMESTAMP_WITH_TIMEZONE": 44,
	}
)

Enum value maps for DataType.

View Source
var (
	ConnectionView_name = map[int32]string{
		0: "CONNECTION_VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "FULL",
	}
	ConnectionView_value = map[string]int32{
		"CONNECTION_VIEW_UNSPECIFIED": 0,
		"BASIC":                       1,
		"FULL":                        2,
	}
)

Enum value maps for ConnectionView.

View Source
var (
	ConnectionStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "INACTIVE",
		4: "DELETING",
		5: "UPDATING",
		6: "ERROR",
	}
	ConnectionStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"INACTIVE":          3,
		"DELETING":          4,
		"UPDATING":          5,
		"ERROR":             6,
	}
)

Enum value maps for ConnectionStatus_State.

View Source
var (
	ConnectorVersionView_name = map[int32]string{
		0: "CONNECTOR_VERSION_VIEW_UNSPECIFIED",
		1: "CONNECTOR_VERSION_VIEW_BASIC",
		2: "CONNECTOR_VERSION_VIEW_FULL",
	}
	ConnectorVersionView_value = map[string]int32{
		"CONNECTOR_VERSION_VIEW_UNSPECIFIED": 0,
		"CONNECTOR_VERSION_VIEW_BASIC":       1,
		"CONNECTOR_VERSION_VIEW_FULL":        2,
	}
)

Enum value maps for ConnectorVersionView.

View Source
var (
	ExtractionRule_SourceType_name = map[int32]string{
		0: "SOURCE_TYPE_UNSPECIFIED",
		1: "CONFIG_VARIABLE",
	}
	ExtractionRule_SourceType_value = map[string]int32{
		"SOURCE_TYPE_UNSPECIFIED": 0,
		"CONFIG_VARIABLE":         1,
	}
)

Enum value maps for ExtractionRule_SourceType.

View Source
var (
	RuntimeConfig_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "INACTIVE",
		2: "ACTIVATING",
		3: "ACTIVE",
		4: "CREATING",
		5: "DELETING",
		6: "UPDATING",
	}
	RuntimeConfig_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"INACTIVE":          1,
		"ACTIVATING":        2,
		"ACTIVE":            3,
		"CREATING":          4,
		"DELETING":          5,
		"UPDATING":          6,
	}
)

Enum value maps for RuntimeConfig_State.

View Source
var File_google_cloud_connectors_v1_authconfig_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_connection_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_connector_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_connector_version_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_connectors_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_destination_config_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_provider_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_connectors_v1_runtime_proto protoreflect.FileDescriptor

Functions

func RegisterConnectorsServer

func RegisterConnectorsServer(s *grpc.Server, srv ConnectorsServer)

Types

type AuthConfig

type AuthConfig struct {

	// The type of authentication configured.
	AuthType AuthType `` /* 127-byte string literal not displayed */
	// Supported auth types.
	//
	// Types that are assignable to Type:
	//
	//	*AuthConfig_UserPassword_
	//	*AuthConfig_Oauth2JwtBearer_
	//	*AuthConfig_Oauth2ClientCredentials_
	//	*AuthConfig_SshPublicKey_
	Type isAuthConfig_Type `protobuf_oneof:"type"`
	// List containing additional auth configs.
	AdditionalVariables []*ConfigVariable `protobuf:"bytes,5,rep,name=additional_variables,json=additionalVariables,proto3" json:"additional_variables,omitempty"`
	// contains filtered or unexported fields
}

AuthConfig defines details of a authentication type.

func (*AuthConfig) Descriptor deprecated

func (*AuthConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig) GetAdditionalVariables

func (x *AuthConfig) GetAdditionalVariables() []*ConfigVariable

func (*AuthConfig) GetAuthType

func (x *AuthConfig) GetAuthType() AuthType

func (*AuthConfig) GetOauth2ClientCredentials

func (x *AuthConfig) GetOauth2ClientCredentials() *AuthConfig_Oauth2ClientCredentials

func (*AuthConfig) GetOauth2JwtBearer

func (x *AuthConfig) GetOauth2JwtBearer() *AuthConfig_Oauth2JwtBearer

func (*AuthConfig) GetSshPublicKey

func (x *AuthConfig) GetSshPublicKey() *AuthConfig_SshPublicKey

func (*AuthConfig) GetType

func (m *AuthConfig) GetType() isAuthConfig_Type

func (*AuthConfig) GetUserPassword

func (x *AuthConfig) GetUserPassword() *AuthConfig_UserPassword

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) ProtoReflect

func (x *AuthConfig) ProtoReflect() protoreflect.Message

func (*AuthConfig) Reset

func (x *AuthConfig) Reset()

func (*AuthConfig) String

func (x *AuthConfig) String() string

type AuthConfigTemplate

type AuthConfigTemplate struct {

	// The type of authentication configured.
	AuthType AuthType `` /* 127-byte string literal not displayed */
	// Config variables to describe an `AuthConfig` for a `Connection`.
	ConfigVariableTemplates []*ConfigVariableTemplate `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

AuthConfigTemplate defines required field over an authentication type.

func (*AuthConfigTemplate) Descriptor deprecated

func (*AuthConfigTemplate) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfigTemplate.ProtoReflect.Descriptor instead.

func (*AuthConfigTemplate) GetAuthType

func (x *AuthConfigTemplate) GetAuthType() AuthType

func (*AuthConfigTemplate) GetConfigVariableTemplates

func (x *AuthConfigTemplate) GetConfigVariableTemplates() []*ConfigVariableTemplate

func (*AuthConfigTemplate) ProtoMessage

func (*AuthConfigTemplate) ProtoMessage()

func (*AuthConfigTemplate) ProtoReflect

func (x *AuthConfigTemplate) ProtoReflect() protoreflect.Message

func (*AuthConfigTemplate) Reset

func (x *AuthConfigTemplate) Reset()

func (*AuthConfigTemplate) String

func (x *AuthConfigTemplate) String() string

type AuthConfig_Oauth2ClientCredentials

type AuthConfig_Oauth2ClientCredentials struct {

	// The client identifier.
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Secret version reference containing the client secret.
	ClientSecret *Secret `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.

func (*AuthConfig_Oauth2ClientCredentials) Descriptor deprecated

func (*AuthConfig_Oauth2ClientCredentials) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_Oauth2ClientCredentials.ProtoReflect.Descriptor instead.

func (*AuthConfig_Oauth2ClientCredentials) GetClientId

func (x *AuthConfig_Oauth2ClientCredentials) GetClientId() string

func (*AuthConfig_Oauth2ClientCredentials) GetClientSecret

func (x *AuthConfig_Oauth2ClientCredentials) GetClientSecret() *Secret

func (*AuthConfig_Oauth2ClientCredentials) ProtoMessage

func (*AuthConfig_Oauth2ClientCredentials) ProtoMessage()

func (*AuthConfig_Oauth2ClientCredentials) ProtoReflect

func (*AuthConfig_Oauth2ClientCredentials) Reset

func (*AuthConfig_Oauth2ClientCredentials) String

type AuthConfig_Oauth2ClientCredentials_

type AuthConfig_Oauth2ClientCredentials_ struct {
	// Oauth2ClientCredentials.
	Oauth2ClientCredentials *AuthConfig_Oauth2ClientCredentials `protobuf:"bytes,4,opt,name=oauth2_client_credentials,json=oauth2ClientCredentials,proto3,oneof"`
}

type AuthConfig_Oauth2JwtBearer

type AuthConfig_Oauth2JwtBearer struct {

	// Secret version reference containing a PKCS#8 PEM-encoded private
	// key associated with the Client Certificate. This private key will be
	// used to sign JWTs used for the jwt-bearer authorization grant.
	// Specified in the form as: `projects/*/secrets/*/versions/*`.
	ClientKey *Secret `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// JwtClaims providers fields to generate the token.
	JwtClaims *AuthConfig_Oauth2JwtBearer_JwtClaims `protobuf:"bytes,2,opt,name=jwt_claims,json=jwtClaims,proto3" json:"jwt_claims,omitempty"`
	// contains filtered or unexported fields
}

Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details.

func (*AuthConfig_Oauth2JwtBearer) Descriptor deprecated

func (*AuthConfig_Oauth2JwtBearer) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_Oauth2JwtBearer.ProtoReflect.Descriptor instead.

func (*AuthConfig_Oauth2JwtBearer) GetClientKey

func (x *AuthConfig_Oauth2JwtBearer) GetClientKey() *Secret

func (*AuthConfig_Oauth2JwtBearer) GetJwtClaims

func (*AuthConfig_Oauth2JwtBearer) ProtoMessage

func (*AuthConfig_Oauth2JwtBearer) ProtoMessage()

func (*AuthConfig_Oauth2JwtBearer) ProtoReflect

func (*AuthConfig_Oauth2JwtBearer) Reset

func (x *AuthConfig_Oauth2JwtBearer) Reset()

func (*AuthConfig_Oauth2JwtBearer) String

func (x *AuthConfig_Oauth2JwtBearer) String() string

type AuthConfig_Oauth2JwtBearer_

type AuthConfig_Oauth2JwtBearer_ struct {
	// Oauth2JwtBearer.
	Oauth2JwtBearer *AuthConfig_Oauth2JwtBearer `protobuf:"bytes,3,opt,name=oauth2_jwt_bearer,json=oauth2JwtBearer,proto3,oneof"`
}

type AuthConfig_Oauth2JwtBearer_JwtClaims

type AuthConfig_Oauth2JwtBearer_JwtClaims struct {

	// Value for the "iss" claim.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Value for the "sub" claim.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// Value for the "aud" claim.
	Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
	// contains filtered or unexported fields
}

JWT claims used for the jwt-bearer authorization grant.

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) Descriptor deprecated

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_Oauth2JwtBearer_JwtClaims.ProtoReflect.Descriptor instead.

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) GetAudience

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) GetIssuer

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) GetSubject

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) ProtoMessage

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) ProtoMessage()

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) ProtoReflect

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) Reset

func (*AuthConfig_Oauth2JwtBearer_JwtClaims) String

type AuthConfig_SshPublicKey

type AuthConfig_SshPublicKey struct {

	// The user account used to authenticate.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// This is an optional field used in case client has enabled multi-factor
	// authentication
	Password *Secret `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// SSH Client Cert. It should contain both public and private key.
	SshClientCert *Secret `protobuf:"bytes,3,opt,name=ssh_client_cert,json=sshClientCert,proto3" json:"ssh_client_cert,omitempty"`
	// Format of SSH Client cert.
	CertType string `protobuf:"bytes,4,opt,name=cert_type,json=certType,proto3" json:"cert_type,omitempty"`
	// Password (passphrase) for ssh client certificate if it has one.
	SshClientCertPass *Secret `protobuf:"bytes,5,opt,name=ssh_client_cert_pass,json=sshClientCertPass,proto3" json:"ssh_client_cert_pass,omitempty"`
	// contains filtered or unexported fields
}

Parameters to support Ssh public key Authentication.

func (*AuthConfig_SshPublicKey) Descriptor deprecated

func (*AuthConfig_SshPublicKey) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_SshPublicKey.ProtoReflect.Descriptor instead.

func (*AuthConfig_SshPublicKey) GetCertType

func (x *AuthConfig_SshPublicKey) GetCertType() string

func (*AuthConfig_SshPublicKey) GetPassword

func (x *AuthConfig_SshPublicKey) GetPassword() *Secret

func (*AuthConfig_SshPublicKey) GetSshClientCert

func (x *AuthConfig_SshPublicKey) GetSshClientCert() *Secret

func (*AuthConfig_SshPublicKey) GetSshClientCertPass

func (x *AuthConfig_SshPublicKey) GetSshClientCertPass() *Secret

func (*AuthConfig_SshPublicKey) GetUsername

func (x *AuthConfig_SshPublicKey) GetUsername() string

func (*AuthConfig_SshPublicKey) ProtoMessage

func (*AuthConfig_SshPublicKey) ProtoMessage()

func (*AuthConfig_SshPublicKey) ProtoReflect

func (x *AuthConfig_SshPublicKey) ProtoReflect() protoreflect.Message

func (*AuthConfig_SshPublicKey) Reset

func (x *AuthConfig_SshPublicKey) Reset()

func (*AuthConfig_SshPublicKey) String

func (x *AuthConfig_SshPublicKey) String() string

type AuthConfig_SshPublicKey_

type AuthConfig_SshPublicKey_ struct {
	// SSH Public Key.
	SshPublicKey *AuthConfig_SshPublicKey `protobuf:"bytes,6,opt,name=ssh_public_key,json=sshPublicKey,proto3,oneof"`
}

type AuthConfig_UserPassword

type AuthConfig_UserPassword struct {

	// Username.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Secret version reference containing the password.
	Password *Secret `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

Parameters to support Username and Password Authentication.

func (*AuthConfig_UserPassword) Descriptor deprecated

func (*AuthConfig_UserPassword) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig_UserPassword.ProtoReflect.Descriptor instead.

func (*AuthConfig_UserPassword) GetPassword

func (x *AuthConfig_UserPassword) GetPassword() *Secret

func (*AuthConfig_UserPassword) GetUsername

func (x *AuthConfig_UserPassword) GetUsername() string

func (*AuthConfig_UserPassword) ProtoMessage

func (*AuthConfig_UserPassword) ProtoMessage()

func (*AuthConfig_UserPassword) ProtoReflect

func (x *AuthConfig_UserPassword) ProtoReflect() protoreflect.Message

func (*AuthConfig_UserPassword) Reset

func (x *AuthConfig_UserPassword) Reset()

func (*AuthConfig_UserPassword) String

func (x *AuthConfig_UserPassword) String() string

type AuthConfig_UserPassword_

type AuthConfig_UserPassword_ struct {
	// UserPassword.
	UserPassword *AuthConfig_UserPassword `protobuf:"bytes,2,opt,name=user_password,json=userPassword,proto3,oneof"`
}

type AuthType

type AuthType int32

AuthType defines different authentication types.

const (
	// Authentication type not specified.
	AuthType_AUTH_TYPE_UNSPECIFIED AuthType = 0
	// Username and Password Authentication.
	AuthType_USER_PASSWORD AuthType = 1
	// JSON Web Token (JWT) Profile for Oauth 2.0
	// Authorization Grant based authentication
	AuthType_OAUTH2_JWT_BEARER AuthType = 2
	// Oauth 2.0 Client Credentials Grant Authentication
	AuthType_OAUTH2_CLIENT_CREDENTIALS AuthType = 3
	// SSH Public Key Authentication
	AuthType_SSH_PUBLIC_KEY AuthType = 4
)

func (AuthType) Descriptor

func (AuthType) Descriptor() protoreflect.EnumDescriptor

func (AuthType) Enum

func (x AuthType) Enum() *AuthType

func (AuthType) EnumDescriptor deprecated

func (AuthType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthType.Descriptor instead.

func (AuthType) Number

func (x AuthType) Number() protoreflect.EnumNumber

func (AuthType) String

func (x AuthType) String() string

func (AuthType) Type

type AuthorizationCodeLink struct {

	// The base URI the user must click to trigger the authorization code login
	// flow.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The scopes for which the user will authorize GCP Connectors on the
	// connector data source.
	Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// The client ID assigned to the GCP Connectors OAuth app for the connector
	// data source.
	ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Whether to enable PKCE for the auth code flow.
	EnablePkce bool `protobuf:"varint,4,opt,name=enable_pkce,json=enablePkce,proto3" json:"enable_pkce,omitempty"`
	// contains filtered or unexported fields
}

This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow.

func (*AuthorizationCodeLink) Descriptor deprecated

func (*AuthorizationCodeLink) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizationCodeLink.ProtoReflect.Descriptor instead.

func (*AuthorizationCodeLink) GetClientId

func (x *AuthorizationCodeLink) GetClientId() string

func (*AuthorizationCodeLink) GetEnablePkce

func (x *AuthorizationCodeLink) GetEnablePkce() bool

func (*AuthorizationCodeLink) GetScopes

func (x *AuthorizationCodeLink) GetScopes() []string

func (*AuthorizationCodeLink) GetUri

func (x *AuthorizationCodeLink) GetUri() string

func (*AuthorizationCodeLink) ProtoMessage

func (*AuthorizationCodeLink) ProtoMessage()

func (*AuthorizationCodeLink) ProtoReflect

func (x *AuthorizationCodeLink) ProtoReflect() protoreflect.Message

func (*AuthorizationCodeLink) Reset

func (x *AuthorizationCodeLink) Reset()

func (*AuthorizationCodeLink) String

func (x *AuthorizationCodeLink) String() string

type ConfigVariable

type ConfigVariable struct {

	// Key of the config variable.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value type of the config variable.
	//
	// Types that are assignable to Value:
	//
	//	*ConfigVariable_IntValue
	//	*ConfigVariable_BoolValue
	//	*ConfigVariable_StringValue
	//	*ConfigVariable_SecretValue
	Value isConfigVariable_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.

func (*ConfigVariable) Descriptor deprecated

func (*ConfigVariable) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariable.ProtoReflect.Descriptor instead.

func (*ConfigVariable) GetBoolValue

func (x *ConfigVariable) GetBoolValue() bool

func (*ConfigVariable) GetIntValue

func (x *ConfigVariable) GetIntValue() int64

func (*ConfigVariable) GetKey

func (x *ConfigVariable) GetKey() string

func (*ConfigVariable) GetSecretValue

func (x *ConfigVariable) GetSecretValue() *Secret

func (*ConfigVariable) GetStringValue

func (x *ConfigVariable) GetStringValue() string

func (*ConfigVariable) GetValue

func (m *ConfigVariable) GetValue() isConfigVariable_Value

func (*ConfigVariable) ProtoMessage

func (*ConfigVariable) ProtoMessage()

func (*ConfigVariable) ProtoReflect

func (x *ConfigVariable) ProtoReflect() protoreflect.Message

func (*ConfigVariable) Reset

func (x *ConfigVariable) Reset()

func (*ConfigVariable) String

func (x *ConfigVariable) String() string

type ConfigVariableTemplate

type ConfigVariableTemplate struct {

	// Key of the config variable.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Type of the parameter: string, int, bool etc.
	// consider custom type for the benefit for the validation.
	ValueType ConfigVariableTemplate_ValueType `` /* 154-byte string literal not displayed */
	// Display name of the parameter.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Description.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Regular expression in RE2 syntax used for validating the `value` of a
	// `ConfigVariable`.
	ValidationRegex string `protobuf:"bytes,5,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`
	// Flag represents that this `ConfigVariable` must be provided for a
	// connection.
	Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
	// Role grant configuration for the config variable.
	RoleGrant *RoleGrant `protobuf:"bytes,7,opt,name=role_grant,json=roleGrant,proto3" json:"role_grant,omitempty"`
	// Enum options. To be populated if `ValueType` is `ENUM`
	EnumOptions []*EnumOption `protobuf:"bytes,8,rep,name=enum_options,json=enumOptions,proto3" json:"enum_options,omitempty"`
	// Authorization code link options. To be populated if `ValueType` is
	// `AUTHORIZATION_CODE`
	AuthorizationCodeLink *AuthorizationCodeLink `` /* 126-byte string literal not displayed */
	// State of the config variable.
	State ConfigVariableTemplate_State `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection.

func (*ConfigVariableTemplate) Descriptor deprecated

func (*ConfigVariableTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ConfigVariableTemplate.ProtoReflect.Descriptor instead.

func (x *ConfigVariableTemplate) GetAuthorizationCodeLink() *AuthorizationCodeLink

func (*ConfigVariableTemplate) GetDescription

func (x *ConfigVariableTemplate) GetDescription() string

func (*ConfigVariableTemplate) GetDisplayName

func (x *ConfigVariableTemplate) GetDisplayName() string

func (*ConfigVariableTemplate) GetEnumOptions

func (x *ConfigVariableTemplate) GetEnumOptions() []*EnumOption

func (*ConfigVariableTemplate) GetKey

func (x *ConfigVariableTemplate) GetKey() string

func (*ConfigVariableTemplate) GetRequired

func (x *ConfigVariableTemplate) GetRequired() bool

func (*ConfigVariableTemplate) GetRoleGrant

func (x *ConfigVariableTemplate) GetRoleGrant() *RoleGrant

func (*ConfigVariableTemplate) GetState

func (*ConfigVariableTemplate) GetValidationRegex

func (x *ConfigVariableTemplate) GetValidationRegex() string

func (*ConfigVariableTemplate) GetValueType

func (*ConfigVariableTemplate) ProtoMessage

func (*ConfigVariableTemplate) ProtoMessage()

func (*ConfigVariableTemplate) ProtoReflect

func (x *ConfigVariableTemplate) ProtoReflect() protoreflect.Message

func (*ConfigVariableTemplate) Reset

func (x *ConfigVariableTemplate) Reset()

func (*ConfigVariableTemplate) String

func (x *ConfigVariableTemplate) String() string

type ConfigVariableTemplate_State

type ConfigVariableTemplate_State int32

Indicates the state of the config variable.

const (
	// Status is unspecified.
	ConfigVariableTemplate_STATE_UNSPECIFIED ConfigVariableTemplate_State = 0
	// Config variable is active
	ConfigVariableTemplate_ACTIVE ConfigVariableTemplate_State = 1
	// Config variable is deprecated.
	ConfigVariableTemplate_DEPRECATED ConfigVariableTemplate_State = 2
)

func (ConfigVariableTemplate_State) Descriptor

func (ConfigVariableTemplate_State) Enum

func (ConfigVariableTemplate_State) EnumDescriptor deprecated

func (ConfigVariableTemplate_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConfigVariableTemplate_State.Descriptor instead.

func (ConfigVariableTemplate_State) Number

func (ConfigVariableTemplate_State) String

func (ConfigVariableTemplate_State) Type

type ConfigVariableTemplate_ValueType

type ConfigVariableTemplate_ValueType int32

ValueType indicates the data type of the value.

const (
	// Value type is not specified.
	ConfigVariableTemplate_VALUE_TYPE_UNSPECIFIED ConfigVariableTemplate_ValueType = 0
	// Value type is string.
	ConfigVariableTemplate_STRING ConfigVariableTemplate_ValueType = 1
	// Value type is integer.
	ConfigVariableTemplate_INT ConfigVariableTemplate_ValueType = 2
	// Value type is boolean.
	ConfigVariableTemplate_BOOL ConfigVariableTemplate_ValueType = 3
	// Value type is secret.
	ConfigVariableTemplate_SECRET ConfigVariableTemplate_ValueType = 4
	// Value type is enum.
	ConfigVariableTemplate_ENUM ConfigVariableTemplate_ValueType = 5
	// Value type is authorization code.
	ConfigVariableTemplate_AUTHORIZATION_CODE ConfigVariableTemplate_ValueType = 6
)

func (ConfigVariableTemplate_ValueType) Descriptor

func (ConfigVariableTemplate_ValueType) Enum

func (ConfigVariableTemplate_ValueType) EnumDescriptor deprecated

func (ConfigVariableTemplate_ValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConfigVariableTemplate_ValueType.Descriptor instead.

func (ConfigVariableTemplate_ValueType) Number

func (ConfigVariableTemplate_ValueType) String

func (ConfigVariableTemplate_ValueType) Type

type ConfigVariable_BoolValue

type ConfigVariable_BoolValue struct {
	// Value is a bool.
	BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type ConfigVariable_IntValue

type ConfigVariable_IntValue struct {
	// Value is an integer
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

type ConfigVariable_SecretValue

type ConfigVariable_SecretValue struct {
	// Value is a secret.
	SecretValue *Secret `protobuf:"bytes,5,opt,name=secret_value,json=secretValue,proto3,oneof"`
}

type ConfigVariable_StringValue

type ConfigVariable_StringValue struct {
	// Value is a string.
	StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Connection

type Connection struct {

	// Output only. Resource name of the Connection.
	// Format: projects/{project}/locations/{location}/connections/{connection}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Created time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Updated time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// 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
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. Description of the resource.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// 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.
	ConnectorVersion string `protobuf:"bytes,6,opt,name=connector_version,json=connectorVersion,proto3" json:"connector_version,omitempty"`
	// Output only. Current status of the connection.
	Status *ConnectionStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// Optional. Configuration for configuring the connection with an external system.
	ConfigVariables []*ConfigVariable `protobuf:"bytes,8,rep,name=config_variables,json=configVariables,proto3" json:"config_variables,omitempty"`
	// Optional. Configuration for establishing the connection's authentication with an
	// external system.
	AuthConfig *AuthConfig `protobuf:"bytes,9,opt,name=auth_config,json=authConfig,proto3" json:"auth_config,omitempty"`
	// Optional. Configuration that indicates whether or not the Connection can be edited.
	LockConfig *LockConfig `protobuf:"bytes,10,opt,name=lock_config,json=lockConfig,proto3" json:"lock_config,omitempty"`
	// Optional. Configuration of the Connector's destination. Only accepted for Connectors
	// that accepts user defined destination(s).
	DestinationConfigs []*DestinationConfig `protobuf:"bytes,18,rep,name=destination_configs,json=destinationConfigs,proto3" json:"destination_configs,omitempty"`
	// Output only. GCR location where the runtime image is stored.
	// formatted like: gcr.io/{bucketName}/{imageName}
	ImageLocation string `protobuf:"bytes,11,opt,name=image_location,json=imageLocation,proto3" json:"image_location,omitempty"`
	// Optional. Service account needed for runtime plane to access GCP resources.
	ServiceAccount string `protobuf:"bytes,12,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// 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"
	ServiceDirectory string `protobuf:"bytes,13,opt,name=service_directory,json=serviceDirectory,proto3" json:"service_directory,omitempty"`
	// Output only. GCR location where the envoy image is stored.
	// formatted like: gcr.io/{bucketName}/{imageName}
	EnvoyImageLocation string `protobuf:"bytes,15,opt,name=envoy_image_location,json=envoyImageLocation,proto3" json:"envoy_image_location,omitempty"`
	// Optional. Suspended indicates if a user has suspended a connection or not.
	Suspended bool `protobuf:"varint,17,opt,name=suspended,proto3" json:"suspended,omitempty"`
	// Optional. Configuration for the connection.
	NodeConfig *NodeConfig `protobuf:"bytes,19,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
	// contains filtered or unexported fields
}

Connection represents an instance of connector.

func (*Connection) Descriptor deprecated

func (*Connection) Descriptor() ([]byte, []int)

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetAuthConfig

func (x *Connection) GetAuthConfig() *AuthConfig

func (*Connection) GetConfigVariables

func (x *Connection) GetConfigVariables() []*ConfigVariable

func (*Connection) GetConnectorVersion

func (x *Connection) GetConnectorVersion() string

func (*Connection) GetCreateTime

func (x *Connection) GetCreateTime() *timestamppb.Timestamp

func (*Connection) GetDescription

func (x *Connection) GetDescription() string

func (*Connection) GetDestinationConfigs

func (x *Connection) GetDestinationConfigs() []*DestinationConfig

func (*Connection) GetEnvoyImageLocation

func (x *Connection) GetEnvoyImageLocation() string

func (*Connection) GetImageLocation

func (x *Connection) GetImageLocation() string

func (*Connection) GetLabels

func (x *Connection) GetLabels() map[string]string

func (*Connection) GetLockConfig

func (x *Connection) GetLockConfig() *LockConfig

func (*Connection) GetName

func (x *Connection) GetName() string

func (*Connection) GetNodeConfig

func (x *Connection) GetNodeConfig() *NodeConfig

func (*Connection) GetServiceAccount

func (x *Connection) GetServiceAccount() string

func (*Connection) GetServiceDirectory

func (x *Connection) GetServiceDirectory() string

func (*Connection) GetStatus

func (x *Connection) GetStatus() *ConnectionStatus

func (*Connection) GetSuspended

func (x *Connection) GetSuspended() bool

func (*Connection) GetUpdateTime

func (x *Connection) GetUpdateTime() *timestamppb.Timestamp

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect

func (x *Connection) ProtoReflect() protoreflect.Message

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) String

func (x *Connection) String() string

type ConnectionSchemaMetadata

type ConnectionSchemaMetadata struct {

	// Output only. List of entity names.
	Entities []string `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// Output only. List of actions.
	Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

Metadata of connection schema.

func (*ConnectionSchemaMetadata) Descriptor deprecated

func (*ConnectionSchemaMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionSchemaMetadata.ProtoReflect.Descriptor instead.

func (*ConnectionSchemaMetadata) GetActions

func (x *ConnectionSchemaMetadata) GetActions() []string

func (*ConnectionSchemaMetadata) GetEntities

func (x *ConnectionSchemaMetadata) GetEntities() []string

func (*ConnectionSchemaMetadata) ProtoMessage

func (*ConnectionSchemaMetadata) ProtoMessage()

func (*ConnectionSchemaMetadata) ProtoReflect

func (x *ConnectionSchemaMetadata) ProtoReflect() protoreflect.Message

func (*ConnectionSchemaMetadata) Reset

func (x *ConnectionSchemaMetadata) Reset()

func (*ConnectionSchemaMetadata) String

func (x *ConnectionSchemaMetadata) String() string

type ConnectionStatus

type ConnectionStatus struct {

	// State.
	State ConnectionStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.connectors.v1.ConnectionStatus_State" json:"state,omitempty"`
	// Description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Status provides detailed information for the state.
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ConnectionStatus indicates the state of the connection.

func (*ConnectionStatus) Descriptor deprecated

func (*ConnectionStatus) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionStatus.ProtoReflect.Descriptor instead.

func (*ConnectionStatus) GetDescription

func (x *ConnectionStatus) GetDescription() string

func (*ConnectionStatus) GetState

func (*ConnectionStatus) GetStatus

func (x *ConnectionStatus) GetStatus() string

func (*ConnectionStatus) ProtoMessage

func (*ConnectionStatus) ProtoMessage()

func (*ConnectionStatus) ProtoReflect

func (x *ConnectionStatus) ProtoReflect() protoreflect.Message

func (*ConnectionStatus) Reset

func (x *ConnectionStatus) Reset()

func (*ConnectionStatus) String

func (x *ConnectionStatus) String() string

type ConnectionStatus_State

type ConnectionStatus_State int32

All the possible Connection State.

const (
	// Connection does not have a state yet.
	ConnectionStatus_STATE_UNSPECIFIED ConnectionStatus_State = 0
	// Connection is being created.
	ConnectionStatus_CREATING ConnectionStatus_State = 1
	// Connection is running and ready for requests.
	ConnectionStatus_ACTIVE ConnectionStatus_State = 2
	// Connection is stopped.
	ConnectionStatus_INACTIVE ConnectionStatus_State = 3
	// Connection is being deleted.
	ConnectionStatus_DELETING ConnectionStatus_State = 4
	// Connection is being updated.
	ConnectionStatus_UPDATING ConnectionStatus_State = 5
	// Connection is not running due to an error.
	ConnectionStatus_ERROR ConnectionStatus_State = 6
)

func (ConnectionStatus_State) Descriptor

func (ConnectionStatus_State) Enum

func (ConnectionStatus_State) EnumDescriptor deprecated

func (ConnectionStatus_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionStatus_State.Descriptor instead.

func (ConnectionStatus_State) Number

func (ConnectionStatus_State) String

func (x ConnectionStatus_State) String() string

func (ConnectionStatus_State) Type

type ConnectionView

type ConnectionView int32

Enum to control which fields should be included in the response.

const (
	// CONNECTION_UNSPECIFIED.
	ConnectionView_CONNECTION_VIEW_UNSPECIFIED ConnectionView = 0
	// Do not include runtime required configs.
	ConnectionView_BASIC ConnectionView = 1
	// Include runtime required configs.
	ConnectionView_FULL ConnectionView = 2
)

func (ConnectionView) Descriptor

func (ConnectionView) Enum

func (x ConnectionView) Enum() *ConnectionView

func (ConnectionView) EnumDescriptor deprecated

func (ConnectionView) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionView.Descriptor instead.

func (ConnectionView) Number

func (ConnectionView) String

func (x ConnectionView) String() string

func (ConnectionView) Type

type Connector

type Connector struct {

	// Output only. Resource name of the Connector.
	// Format:
	// projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}
	// Only global location is supported for Connector resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Created time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Updated time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Resource labels to represent user-provided metadata.
	// Refer to cloud documentation on labels for more details.
	// https://cloud.google.com/compute/docs/labeling-resources
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. Link to documentation page.
	DocumentationUri string `protobuf:"bytes,6,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
	// Output only. Link to external page.
	ExternalUri string `protobuf:"bytes,7,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
	// Output only. Description of the resource.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Cloud storage location of icons etc consumed by UI.
	WebAssetsLocation string `protobuf:"bytes,9,opt,name=web_assets_location,json=webAssetsLocation,proto3" json:"web_assets_location,omitempty"`
	// Output only. Display name.
	DisplayName string `protobuf:"bytes,10,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Flag to mark the version indicating the launch stage.
	LaunchStage LaunchStage `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.

func (*Connector) Descriptor deprecated

func (*Connector) Descriptor() ([]byte, []int)

Deprecated: Use Connector.ProtoReflect.Descriptor instead.

func (*Connector) GetCreateTime

func (x *Connector) GetCreateTime() *timestamppb.Timestamp

func (*Connector) GetDescription

func (x *Connector) GetDescription() string

func (*Connector) GetDisplayName

func (x *Connector) GetDisplayName() string

func (*Connector) GetDocumentationUri

func (x *Connector) GetDocumentationUri() string

func (*Connector) GetExternalUri

func (x *Connector) GetExternalUri() string

func (*Connector) GetLabels

func (x *Connector) GetLabels() map[string]string

func (*Connector) GetLaunchStage

func (x *Connector) GetLaunchStage() LaunchStage

func (*Connector) GetName

func (x *Connector) GetName() string

func (*Connector) GetUpdateTime

func (x *Connector) GetUpdateTime() *timestamppb.Timestamp

func (*Connector) GetWebAssetsLocation

func (x *Connector) GetWebAssetsLocation() string

func (*Connector) ProtoMessage

func (*Connector) ProtoMessage()

func (*Connector) ProtoReflect

func (x *Connector) ProtoReflect() protoreflect.Message

func (*Connector) Reset

func (x *Connector) Reset()

func (*Connector) String

func (x *Connector) String() string

type ConnectorVersion

type ConnectorVersion struct {

	// Output only. Resource name of the Version.
	// Format:
	// projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}
	// Only global location is supported for Connector resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Created time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Updated time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Resource labels to represent user-provided metadata.
	// Refer to cloud documentation on labels for more details.
	// https://cloud.google.com/compute/docs/labeling-resources
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. Flag to mark the version indicating the launch stage.
	LaunchStage LaunchStage `` /* 139-byte string literal not displayed */
	// Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha".
	ReleaseVersion string `protobuf:"bytes,7,opt,name=release_version,json=releaseVersion,proto3" json:"release_version,omitempty"`
	// Output only. List of auth configs supported by the Connector Version.
	AuthConfigTemplates []*AuthConfigTemplate `protobuf:"bytes,8,rep,name=auth_config_templates,json=authConfigTemplates,proto3" json:"auth_config_templates,omitempty"`
	// Output only. List of config variables needed to create a connection.
	ConfigVariableTemplates []*ConfigVariableTemplate `` /* 132-byte string literal not displayed */
	// Output only. Information about the runtime features supported by the Connector.
	SupportedRuntimeFeatures *SupportedRuntimeFeatures `` /* 136-byte string literal not displayed */
	// Output only. Display name.
	DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Configuration for Egress Control.
	EgressControlConfig *EgressControlConfig `protobuf:"bytes,12,opt,name=egress_control_config,json=egressControlConfig,proto3" json:"egress_control_config,omitempty"`
	// Output only. Role grant configurations for this connector version.
	RoleGrants []*RoleGrant `protobuf:"bytes,14,rep,name=role_grants,json=roleGrants,proto3" json:"role_grants,omitempty"`
	// Output only. Role grant configuration for this config variable. It will be DEPRECATED
	// soon.
	RoleGrant *RoleGrant `protobuf:"bytes,15,opt,name=role_grant,json=roleGrant,proto3" json:"role_grant,omitempty"`
	// contains filtered or unexported fields
}

ConnectorVersion indicates a specific version of a connector.

func (*ConnectorVersion) Descriptor deprecated

func (*ConnectorVersion) Descriptor() ([]byte, []int)

Deprecated: Use ConnectorVersion.ProtoReflect.Descriptor instead.

func (*ConnectorVersion) GetAuthConfigTemplates

func (x *ConnectorVersion) GetAuthConfigTemplates() []*AuthConfigTemplate

func (*ConnectorVersion) GetConfigVariableTemplates

func (x *ConnectorVersion) GetConfigVariableTemplates() []*ConfigVariableTemplate

func (*ConnectorVersion) GetCreateTime

func (x *ConnectorVersion) GetCreateTime() *timestamppb.Timestamp

func (*ConnectorVersion) GetDisplayName

func (x *ConnectorVersion) GetDisplayName() string

func (*ConnectorVersion) GetEgressControlConfig

func (x *ConnectorVersion) GetEgressControlConfig() *EgressControlConfig

func (*ConnectorVersion) GetLabels

func (x *ConnectorVersion) GetLabels() map[string]string

func (*ConnectorVersion) GetLaunchStage

func (x *ConnectorVersion) GetLaunchStage() LaunchStage

func (*ConnectorVersion) GetName

func (x *ConnectorVersion) GetName() string

func (*ConnectorVersion) GetReleaseVersion

func (x *ConnectorVersion) GetReleaseVersion() string

func (*ConnectorVersion) GetRoleGrant

func (x *ConnectorVersion) GetRoleGrant() *RoleGrant

func (*ConnectorVersion) GetRoleGrants

func (x *ConnectorVersion) GetRoleGrants() []*RoleGrant

func (*ConnectorVersion) GetSupportedRuntimeFeatures

func (x *ConnectorVersion) GetSupportedRuntimeFeatures() *SupportedRuntimeFeatures

func (*ConnectorVersion) GetUpdateTime

func (x *ConnectorVersion) GetUpdateTime() *timestamppb.Timestamp

func (*ConnectorVersion) ProtoMessage

func (*ConnectorVersion) ProtoMessage()

func (*ConnectorVersion) ProtoReflect

func (x *ConnectorVersion) ProtoReflect() protoreflect.Message

func (*ConnectorVersion) Reset

func (x *ConnectorVersion) Reset()

func (*ConnectorVersion) String

func (x *ConnectorVersion) String() string

type ConnectorVersionView

type ConnectorVersionView int32

Enum to control which fields should be included in the response.

const (
	// CONNECTOR_VERSION_VIEW_UNSPECIFIED.
	ConnectorVersionView_CONNECTOR_VERSION_VIEW_UNSPECIFIED ConnectorVersionView = 0
	// Do not include role grant configs.
	ConnectorVersionView_CONNECTOR_VERSION_VIEW_BASIC ConnectorVersionView = 1
	// Include role grant configs.
	ConnectorVersionView_CONNECTOR_VERSION_VIEW_FULL ConnectorVersionView = 2
)

func (ConnectorVersionView) Descriptor

func (ConnectorVersionView) Enum

func (ConnectorVersionView) EnumDescriptor deprecated

func (ConnectorVersionView) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectorVersionView.Descriptor instead.

func (ConnectorVersionView) Number

func (ConnectorVersionView) String

func (x ConnectorVersionView) String() string

func (ConnectorVersionView) Type

type ConnectorsClient

type ConnectorsClient interface {
	// Lists Connections in a given project and location.
	ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error)
	// Gets details of a single Connection.
	GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*Connection, error)
	// Creates a new Connection in a given project and location.
	CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single Connection.
	UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single Connection.
	DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists Providers in a given project and location.
	ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error)
	// Gets details of a provider.
	GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*Provider, error)
	// Lists Connectors in a given project and location.
	ListConnectors(ctx context.Context, in *ListConnectorsRequest, opts ...grpc.CallOption) (*ListConnectorsResponse, error)
	// Gets details of a single Connector.
	GetConnector(ctx context.Context, in *GetConnectorRequest, opts ...grpc.CallOption) (*Connector, error)
	// Lists Connector Versions in a given project and location.
	ListConnectorVersions(ctx context.Context, in *ListConnectorVersionsRequest, opts ...grpc.CallOption) (*ListConnectorVersionsResponse, error)
	// Gets details of a single connector version.
	GetConnectorVersion(ctx context.Context, in *GetConnectorVersionRequest, opts ...grpc.CallOption) (*ConnectorVersion, error)
	// Gets schema metadata of a connection.
	// SchemaMetadata is a singleton resource for each connection.
	GetConnectionSchemaMetadata(ctx context.Context, in *GetConnectionSchemaMetadataRequest, opts ...grpc.CallOption) (*ConnectionSchemaMetadata, error)
	// List schema of a runtime entities filtered by entity name.
	ListRuntimeEntitySchemas(ctx context.Context, in *ListRuntimeEntitySchemasRequest, opts ...grpc.CallOption) (*ListRuntimeEntitySchemasResponse, error)
	// List schema of a runtime actions filtered by action name.
	ListRuntimeActionSchemas(ctx context.Context, in *ListRuntimeActionSchemasRequest, opts ...grpc.CallOption) (*ListRuntimeActionSchemasResponse, error)
	// Gets the runtimeConfig of a location.
	// RuntimeConfig is a singleton resource for each location.
	GetRuntimeConfig(ctx context.Context, in *GetRuntimeConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error)
}

ConnectorsClient is the client API for Connectors service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewConnectorsClient

func NewConnectorsClient(cc grpc.ClientConnInterface) ConnectorsClient

type ConnectorsServer

type ConnectorsServer interface {
	// Lists Connections in a given project and location.
	ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
	// Gets details of a single Connection.
	GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
	// Creates a new Connection in a given project and location.
	CreateConnection(context.Context, *CreateConnectionRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single Connection.
	UpdateConnection(context.Context, *UpdateConnectionRequest) (*longrunning.Operation, error)
	// Deletes a single Connection.
	DeleteConnection(context.Context, *DeleteConnectionRequest) (*longrunning.Operation, error)
	// Lists Providers in a given project and location.
	ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
	// Gets details of a provider.
	GetProvider(context.Context, *GetProviderRequest) (*Provider, error)
	// Lists Connectors in a given project and location.
	ListConnectors(context.Context, *ListConnectorsRequest) (*ListConnectorsResponse, error)
	// Gets details of a single Connector.
	GetConnector(context.Context, *GetConnectorRequest) (*Connector, error)
	// Lists Connector Versions in a given project and location.
	ListConnectorVersions(context.Context, *ListConnectorVersionsRequest) (*ListConnectorVersionsResponse, error)
	// Gets details of a single connector version.
	GetConnectorVersion(context.Context, *GetConnectorVersionRequest) (*ConnectorVersion, error)
	// Gets schema metadata of a connection.
	// SchemaMetadata is a singleton resource for each connection.
	GetConnectionSchemaMetadata(context.Context, *GetConnectionSchemaMetadataRequest) (*ConnectionSchemaMetadata, error)
	// List schema of a runtime entities filtered by entity name.
	ListRuntimeEntitySchemas(context.Context, *ListRuntimeEntitySchemasRequest) (*ListRuntimeEntitySchemasResponse, error)
	// List schema of a runtime actions filtered by action name.
	ListRuntimeActionSchemas(context.Context, *ListRuntimeActionSchemasRequest) (*ListRuntimeActionSchemasResponse, error)
	// Gets the runtimeConfig of a location.
	// RuntimeConfig is a singleton resource for each location.
	GetRuntimeConfig(context.Context, *GetRuntimeConfigRequest) (*RuntimeConfig, error)
}

ConnectorsServer is the server API for Connectors service.

type CreateConnectionRequest

type CreateConnectionRequest struct {

	// Required. Parent resource of the Connection, of the form:
	// `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Identifier to assign to the Connection. Must be unique within scope of
	// the parent resource.
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// Required. Connection resource.
	Connection *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

Request message for ConnectorsService.CreateConnection

func (*CreateConnectionRequest) Descriptor deprecated

func (*CreateConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateConnectionRequest) GetConnection

func (x *CreateConnectionRequest) GetConnection() *Connection

func (*CreateConnectionRequest) GetConnectionId

func (x *CreateConnectionRequest) GetConnectionId() string

func (*CreateConnectionRequest) GetParent

func (x *CreateConnectionRequest) GetParent() string

func (*CreateConnectionRequest) ProtoMessage

func (*CreateConnectionRequest) ProtoMessage()

func (*CreateConnectionRequest) ProtoReflect

func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message

func (*CreateConnectionRequest) Reset

func (x *CreateConnectionRequest) Reset()

func (*CreateConnectionRequest) String

func (x *CreateConnectionRequest) String() string

type DataType

type DataType int32

All possible data types of a entity or action field.

const (
	// Data type is not specified.
	DataType_DATA_TYPE_UNSPECIFIED DataType = 0
	// DEPRECATED! Use DATA_TYPE_INTEGER.
	//
	// Deprecated: Do not use.
	DataType_DATA_TYPE_INT DataType = 1
	// Short integer(int16) data type.
	DataType_DATA_TYPE_SMALLINT DataType = 2
	// Double data type.
	DataType_DATA_TYPE_DOUBLE DataType = 3
	// Date data type.
	DataType_DATA_TYPE_DATE DataType = 4
	// DEPRECATED! Use DATA_TYPE_TIMESTAMP.
	//
	// Deprecated: Do not use.
	DataType_DATA_TYPE_DATETIME DataType = 5
	// Time data type.
	DataType_DATA_TYPE_TIME DataType = 6
	// DEPRECATED! Use DATA_TYPE_VARCHAR.
	//
	// Deprecated: Do not use.
	DataType_DATA_TYPE_STRING DataType = 7
	// DEPRECATED! Use DATA_TYPE_BIGINT.
	//
	// Deprecated: Do not use.
	DataType_DATA_TYPE_LONG DataType = 8
	// Boolean data type.
	DataType_DATA_TYPE_BOOLEAN DataType = 9
	// Decimal data type.
	DataType_DATA_TYPE_DECIMAL DataType = 10
	// DEPRECATED! Use DATA_TYPE_VARCHAR.
	//
	// Deprecated: Do not use.
	DataType_DATA_TYPE_UUID DataType = 11
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_BLOB DataType = 12
	// Bit data type.
	DataType_DATA_TYPE_BIT DataType = 13
	// Small integer(int8) data type.
	DataType_DATA_TYPE_TINYINT DataType = 14
	// Integer(int32) data type.
	DataType_DATA_TYPE_INTEGER DataType = 15
	// Long integer(int64) data type.
	DataType_DATA_TYPE_BIGINT DataType = 16
	// Float data type.
	DataType_DATA_TYPE_FLOAT DataType = 17
	// Real data type.
	DataType_DATA_TYPE_REAL DataType = 18
	// Numeric data type.
	DataType_DATA_TYPE_NUMERIC DataType = 19
	// Char data type.
	DataType_DATA_TYPE_CHAR DataType = 20
	// Varchar data type.
	DataType_DATA_TYPE_VARCHAR DataType = 21
	// Longvarchar data type.
	DataType_DATA_TYPE_LONGVARCHAR DataType = 22
	// Timestamp data type.
	DataType_DATA_TYPE_TIMESTAMP DataType = 23
	// Nchar data type.
	DataType_DATA_TYPE_NCHAR DataType = 24
	// Nvarchar data type.
	DataType_DATA_TYPE_NVARCHAR DataType = 25
	// Longnvarchar data type.
	DataType_DATA_TYPE_LONGNVARCHAR DataType = 26
	// Null data type.
	DataType_DATA_TYPE_NULL DataType = 27
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_OTHER DataType = 28
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_JAVA_OBJECT DataType = 29
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_DISTINCT DataType = 30
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_STRUCT DataType = 31
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_ARRAY DataType = 32
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_CLOB DataType = 33
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_REF DataType = 34
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_DATALINK DataType = 35
	// UNSUPPORTED! Row id data type.
	DataType_DATA_TYPE_ROWID DataType = 36
	// UNSUPPORTED! Binary data type.
	DataType_DATA_TYPE_BINARY DataType = 37
	// UNSUPPORTED! Variable binary data type.
	DataType_DATA_TYPE_VARBINARY DataType = 38
	// UNSUPPORTED! Long variable binary data type.
	DataType_DATA_TYPE_LONGVARBINARY DataType = 39
	// UNSUPPORTED! NCLOB data type.
	DataType_DATA_TYPE_NCLOB DataType = 40
	// UNSUPPORTED! SQL XML data type is not supported.
	DataType_DATA_TYPE_SQLXML DataType = 41
	// UNSUPPORTED! Cursor reference type is not supported.
	DataType_DATA_TYPE_REF_CURSOR DataType = 42
	// UNSUPPORTED! Use TIME or TIMESTAMP instead.
	DataType_DATA_TYPE_TIME_WITH_TIMEZONE DataType = 43
	// UNSUPPORTED! Use TIMESTAMP instead.
	DataType_DATA_TYPE_TIMESTAMP_WITH_TIMEZONE DataType = 44
)

func (DataType) Descriptor

func (DataType) Descriptor() protoreflect.EnumDescriptor

func (DataType) Enum

func (x DataType) Enum() *DataType

func (DataType) EnumDescriptor deprecated

func (DataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataType.Descriptor instead.

func (DataType) Number

func (x DataType) Number() protoreflect.EnumNumber

func (DataType) String

func (x DataType) String() string

func (DataType) Type

type DeleteConnectionRequest

type DeleteConnectionRequest struct {

	// Required. Resource name of the form:
	// `projects/*/locations/*/connections/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ConnectorsService.DeleteConnection.

func (*DeleteConnectionRequest) Descriptor deprecated

func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteConnectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteConnectionRequest) GetName

func (x *DeleteConnectionRequest) GetName() string

func (*DeleteConnectionRequest) ProtoMessage

func (*DeleteConnectionRequest) ProtoMessage()

func (*DeleteConnectionRequest) ProtoReflect

func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message

func (*DeleteConnectionRequest) Reset

func (x *DeleteConnectionRequest) Reset()

func (*DeleteConnectionRequest) String

func (x *DeleteConnectionRequest) String() string

type Destination

type Destination struct {

	// Types that are assignable to Destination:
	//
	//	*Destination_ServiceAttachment
	//	*Destination_Host
	Destination isDestination_Destination `protobuf_oneof:"destination"`
	// The port is the target port number that is accepted by the destination.
	Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*Destination) Descriptor deprecated

func (*Destination) Descriptor() ([]byte, []int)

Deprecated: Use Destination.ProtoReflect.Descriptor instead.

func (*Destination) GetDestination

func (m *Destination) GetDestination() isDestination_Destination

func (*Destination) GetHost

func (x *Destination) GetHost() string

func (*Destination) GetPort

func (x *Destination) GetPort() int32

func (*Destination) GetServiceAttachment

func (x *Destination) GetServiceAttachment() string

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) ProtoReflect

func (x *Destination) ProtoReflect() protoreflect.Message

func (*Destination) Reset

func (x *Destination) Reset()

func (*Destination) String

func (x *Destination) String() string

type DestinationConfig

type DestinationConfig struct {

	// The key is the destination identifier that is supported by the Connector.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The destinations for the key.
	Destinations []*Destination `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// contains filtered or unexported fields
}

Define the Connectors target endpoint.

func (*DestinationConfig) Descriptor deprecated

func (*DestinationConfig) Descriptor() ([]byte, []int)

Deprecated: Use DestinationConfig.ProtoReflect.Descriptor instead.

func (*DestinationConfig) GetDestinations

func (x *DestinationConfig) GetDestinations() []*Destination

func (*DestinationConfig) GetKey

func (x *DestinationConfig) GetKey() string

func (*DestinationConfig) ProtoMessage

func (*DestinationConfig) ProtoMessage()

func (*DestinationConfig) ProtoReflect

func (x *DestinationConfig) ProtoReflect() protoreflect.Message

func (*DestinationConfig) Reset

func (x *DestinationConfig) Reset()

func (*DestinationConfig) String

func (x *DestinationConfig) String() string

type Destination_Host

type Destination_Host struct {
	// For publicly routable host.
	Host string `protobuf:"bytes,2,opt,name=host,proto3,oneof"`
}

type Destination_ServiceAttachment

type Destination_ServiceAttachment struct {
	// PSC service attachments.
	// Format: projects/*/regions/*/serviceAttachments/*
	ServiceAttachment string `protobuf:"bytes,1,opt,name=service_attachment,json=serviceAttachment,proto3,oneof"`
}

type EgressControlConfig

type EgressControlConfig struct {

	// Types that are assignable to OneofBackends:
	//
	//	*EgressControlConfig_Backends
	//	*EgressControlConfig_ExtractionRules
	OneofBackends isEgressControlConfig_OneofBackends `protobuf_oneof:"oneof_backends"`
	// contains filtered or unexported fields
}

Egress control config for connector runtime. These configurations define the rules to identify which outbound domains/hosts needs to be whitelisted. It may be a static information for a particular connector version or it is derived from the configurations provided by the customer in Connection resource.

func (*EgressControlConfig) Descriptor deprecated

func (*EgressControlConfig) Descriptor() ([]byte, []int)

Deprecated: Use EgressControlConfig.ProtoReflect.Descriptor instead.

func (*EgressControlConfig) GetBackends

func (x *EgressControlConfig) GetBackends() string

func (*EgressControlConfig) GetExtractionRules

func (x *EgressControlConfig) GetExtractionRules() *ExtractionRules

func (*EgressControlConfig) GetOneofBackends

func (m *EgressControlConfig) GetOneofBackends() isEgressControlConfig_OneofBackends

func (*EgressControlConfig) ProtoMessage

func (*EgressControlConfig) ProtoMessage()

func (*EgressControlConfig) ProtoReflect

func (x *EgressControlConfig) ProtoReflect() protoreflect.Message

func (*EgressControlConfig) Reset

func (x *EgressControlConfig) Reset()

func (*EgressControlConfig) String

func (x *EgressControlConfig) String() string

type EgressControlConfig_Backends

type EgressControlConfig_Backends struct {
	// Static Comma separated backends which are common for all Connection
	// resources. Supported formats for each backend are host:port or just
	// host (host can be ip address or domain name).
	Backends string `protobuf:"bytes,1,opt,name=backends,proto3,oneof"`
}

type EgressControlConfig_ExtractionRules

type EgressControlConfig_ExtractionRules struct {
	// Extractions Rules to extract the backends from customer provided
	// configuration.
	ExtractionRules *ExtractionRules `protobuf:"bytes,2,opt,name=extraction_rules,json=extractionRules,proto3,oneof"`
}

type EnumOption

type EnumOption struct {

	// Id of the option.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name of the option.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

EnumOption definition

func (*EnumOption) Descriptor deprecated

func (*EnumOption) Descriptor() ([]byte, []int)

Deprecated: Use EnumOption.ProtoReflect.Descriptor instead.

func (*EnumOption) GetDisplayName

func (x *EnumOption) GetDisplayName() string

func (*EnumOption) GetId

func (x *EnumOption) GetId() string

func (*EnumOption) ProtoMessage

func (*EnumOption) ProtoMessage()

func (*EnumOption) ProtoReflect

func (x *EnumOption) ProtoReflect() protoreflect.Message

func (*EnumOption) Reset

func (x *EnumOption) Reset()

func (*EnumOption) String

func (x *EnumOption) String() string

type ExtractionRule

type ExtractionRule struct {

	// Source on which the rule is applied.
	Source *ExtractionRule_Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Regex used to extract backend details from source. If empty, whole source
	// value will be used.
	ExtractionRegex string `protobuf:"bytes,2,opt,name=extraction_regex,json=extractionRegex,proto3" json:"extraction_regex,omitempty"`
	// contains filtered or unexported fields
}

Extraction Rule.

func (*ExtractionRule) Descriptor deprecated

func (*ExtractionRule) Descriptor() ([]byte, []int)

Deprecated: Use ExtractionRule.ProtoReflect.Descriptor instead.

func (*ExtractionRule) GetExtractionRegex

func (x *ExtractionRule) GetExtractionRegex() string

func (*ExtractionRule) GetSource

func (x *ExtractionRule) GetSource() *ExtractionRule_Source

func (*ExtractionRule) ProtoMessage

func (*ExtractionRule) ProtoMessage()

func (*ExtractionRule) ProtoReflect

func (x *ExtractionRule) ProtoReflect() protoreflect.Message

func (*ExtractionRule) Reset

func (x *ExtractionRule) Reset()

func (*ExtractionRule) String

func (x *ExtractionRule) String() string

type ExtractionRule_Source

type ExtractionRule_Source struct {

	// Type of the source.
	SourceType ExtractionRule_SourceType `` /* 150-byte string literal not displayed */
	// Field identifier. For example config vaiable name.
	FieldId string `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
	// contains filtered or unexported fields
}

Source to extract the backend from.

func (*ExtractionRule_Source) Descriptor deprecated

func (*ExtractionRule_Source) Descriptor() ([]byte, []int)

Deprecated: Use ExtractionRule_Source.ProtoReflect.Descriptor instead.

func (*ExtractionRule_Source) GetFieldId

func (x *ExtractionRule_Source) GetFieldId() string

func (*ExtractionRule_Source) GetSourceType

func (*ExtractionRule_Source) ProtoMessage

func (*ExtractionRule_Source) ProtoMessage()

func (*ExtractionRule_Source) ProtoReflect

func (x *ExtractionRule_Source) ProtoReflect() protoreflect.Message

func (*ExtractionRule_Source) Reset

func (x *ExtractionRule_Source) Reset()

func (*ExtractionRule_Source) String

func (x *ExtractionRule_Source) String() string

type ExtractionRule_SourceType

type ExtractionRule_SourceType int32

Supported Source types for extraction.

const (
	// Default SOURCE.
	ExtractionRule_SOURCE_TYPE_UNSPECIFIED ExtractionRule_SourceType = 0
	// Config Variable source type.
	ExtractionRule_CONFIG_VARIABLE ExtractionRule_SourceType = 1
)

func (ExtractionRule_SourceType) Descriptor

func (ExtractionRule_SourceType) Enum

func (ExtractionRule_SourceType) EnumDescriptor deprecated

func (ExtractionRule_SourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExtractionRule_SourceType.Descriptor instead.

func (ExtractionRule_SourceType) Number

func (ExtractionRule_SourceType) String

func (x ExtractionRule_SourceType) String() string

func (ExtractionRule_SourceType) Type

type ExtractionRules

type ExtractionRules struct {

	// Collection of Extraction Rule.
	ExtractionRule []*ExtractionRule `protobuf:"bytes,1,rep,name=extraction_rule,json=extractionRule,proto3" json:"extraction_rule,omitempty"`
	// contains filtered or unexported fields
}

Extraction Rules to identity the backends from customer provided configuration in Connection resource.

func (*ExtractionRules) Descriptor deprecated

func (*ExtractionRules) Descriptor() ([]byte, []int)

Deprecated: Use ExtractionRules.ProtoReflect.Descriptor instead.

func (*ExtractionRules) GetExtractionRule

func (x *ExtractionRules) GetExtractionRule() []*ExtractionRule

func (*ExtractionRules) ProtoMessage

func (*ExtractionRules) ProtoMessage()

func (*ExtractionRules) ProtoReflect

func (x *ExtractionRules) ProtoReflect() protoreflect.Message

func (*ExtractionRules) Reset

func (x *ExtractionRules) Reset()

func (*ExtractionRules) String

func (x *ExtractionRules) String() string

type GetConnectionRequest

type GetConnectionRequest struct {

	// Required. Resource name of the form:
	// `projects/*/locations/*/connections/*`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Specifies which fields of the Connection are returned in the response.
	// Defaults to `BASIC` view.
	View ConnectionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.connectors.v1.ConnectionView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

Request message for ConnectorsService.GetConnection

func (*GetConnectionRequest) Descriptor deprecated

func (*GetConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetConnectionRequest) GetName

func (x *GetConnectionRequest) GetName() string

func (*GetConnectionRequest) GetView

func (x *GetConnectionRequest) GetView() ConnectionView

func (*GetConnectionRequest) ProtoMessage

func (*GetConnectionRequest) ProtoMessage()

func (*GetConnectionRequest) ProtoReflect

func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message

func (*GetConnectionRequest) Reset

func (x *GetConnectionRequest) Reset()

func (*GetConnectionRequest) String

func (x *GetConnectionRequest) String() string

type GetConnectionSchemaMetadataRequest

type GetConnectionSchemaMetadataRequest struct {

	// Required. Connection name
	// Format:
	// projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ConnectorsService.GetConnectionSchemaMetadata.

func (*GetConnectionSchemaMetadataRequest) Descriptor deprecated

func (*GetConnectionSchemaMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectionSchemaMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetConnectionSchemaMetadataRequest) GetName

func (*GetConnectionSchemaMetadataRequest) ProtoMessage

func (*GetConnectionSchemaMetadataRequest) ProtoMessage()

func (*GetConnectionSchemaMetadataRequest) ProtoReflect

func (*GetConnectionSchemaMetadataRequest) Reset

func (*GetConnectionSchemaMetadataRequest) String

type GetConnectorRequest

type GetConnectorRequest struct {

	// Required. Resource name of the form:
	// `projects/*/locations/*/providers/*/connectors/*`
	// Only global location is supported for Connector resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.GetConnector.

func (*GetConnectorRequest) Descriptor deprecated

func (*GetConnectorRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectorRequest.ProtoReflect.Descriptor instead.

func (*GetConnectorRequest) GetName

func (x *GetConnectorRequest) GetName() string

func (*GetConnectorRequest) ProtoMessage

func (*GetConnectorRequest) ProtoMessage()

func (*GetConnectorRequest) ProtoReflect

func (x *GetConnectorRequest) ProtoReflect() protoreflect.Message

func (*GetConnectorRequest) Reset

func (x *GetConnectorRequest) Reset()

func (*GetConnectorRequest) String

func (x *GetConnectorRequest) String() string

type GetConnectorVersionRequest

type GetConnectorVersionRequest struct {

	// Required. Resource name of the form:
	// `projects/*/locations/*/providers/*/connectors/*/versions/*`
	// Only global location is supported for ConnectorVersion resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Specifies which fields of the ConnectorVersion are returned in the
	// response. Defaults to `CUSTOMER` view.
	View ConnectorVersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.connectors.v1.ConnectorVersionView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.GetConnectorVersion.

func (*GetConnectorVersionRequest) Descriptor deprecated

func (*GetConnectorVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectorVersionRequest.ProtoReflect.Descriptor instead.

func (*GetConnectorVersionRequest) GetName

func (x *GetConnectorVersionRequest) GetName() string

func (*GetConnectorVersionRequest) GetView

func (*GetConnectorVersionRequest) ProtoMessage

func (*GetConnectorVersionRequest) ProtoMessage()

func (*GetConnectorVersionRequest) ProtoReflect

func (*GetConnectorVersionRequest) Reset

func (x *GetConnectorVersionRequest) Reset()

func (*GetConnectorVersionRequest) String

func (x *GetConnectorVersionRequest) String() string

type GetProviderRequest

type GetProviderRequest struct {

	// Required. Resource name of the form:
	// `projects/*/locations/*/providers/*`
	// Only global location is supported for Provider resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.GetProvider.

func (*GetProviderRequest) Descriptor deprecated

func (*GetProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.

func (*GetProviderRequest) GetName

func (x *GetProviderRequest) GetName() string

func (*GetProviderRequest) ProtoMessage

func (*GetProviderRequest) ProtoMessage()

func (*GetProviderRequest) ProtoReflect

func (x *GetProviderRequest) ProtoReflect() protoreflect.Message

func (*GetProviderRequest) Reset

func (x *GetProviderRequest) Reset()

func (*GetProviderRequest) String

func (x *GetProviderRequest) String() string

type GetRuntimeConfigRequest

type GetRuntimeConfigRequest struct {

	// Required. Resource name of the form:
	// `projects/*/locations/*/runtimeConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.GetRuntimeConfig.

func (*GetRuntimeConfigRequest) Descriptor deprecated

func (*GetRuntimeConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRuntimeConfigRequest.ProtoReflect.Descriptor instead.

func (*GetRuntimeConfigRequest) GetName

func (x *GetRuntimeConfigRequest) GetName() string

func (*GetRuntimeConfigRequest) ProtoMessage

func (*GetRuntimeConfigRequest) ProtoMessage()

func (*GetRuntimeConfigRequest) ProtoReflect

func (x *GetRuntimeConfigRequest) ProtoReflect() protoreflect.Message

func (*GetRuntimeConfigRequest) Reset

func (x *GetRuntimeConfigRequest) Reset()

func (*GetRuntimeConfigRequest) String

func (x *GetRuntimeConfigRequest) String() string

type LaunchStage

type LaunchStage int32

LaunchStage is a enum to indicate launch stage: PREVIEW, GA, DEPRECATED.

const (
	// LAUNCH_STAGE_UNSPECIFIED.
	LaunchStage_LAUNCH_STAGE_UNSPECIFIED LaunchStage = 0
	// PREVIEW.
	LaunchStage_PREVIEW LaunchStage = 1
	// GA.
	LaunchStage_GA LaunchStage = 2
	// DEPRECATED.
	LaunchStage_DEPRECATED LaunchStage = 3
)

func (LaunchStage) Descriptor

func (LaunchStage) Enum

func (x LaunchStage) Enum() *LaunchStage

func (LaunchStage) EnumDescriptor deprecated

func (LaunchStage) EnumDescriptor() ([]byte, []int)

Deprecated: Use LaunchStage.Descriptor instead.

func (LaunchStage) Number

func (x LaunchStage) Number() protoreflect.EnumNumber

func (LaunchStage) String

func (x LaunchStage) String() string

func (LaunchStage) Type

type ListConnectionsRequest

type ListConnectionsRequest struct {

	// Required. Parent resource of the Connection, of the form:
	// `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Order by parameters.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Specifies which fields of the Connection are returned in the response.
	// Defaults to `BASIC` view.
	View ConnectionView `protobuf:"varint,6,opt,name=view,proto3,enum=google.cloud.connectors.v1.ConnectionView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

Request message for ConnectorsService.ListConnections

func (*ListConnectionsRequest) Descriptor deprecated

func (*ListConnectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectionsRequest) GetFilter

func (x *ListConnectionsRequest) GetFilter() string

func (*ListConnectionsRequest) GetOrderBy

func (x *ListConnectionsRequest) GetOrderBy() string

func (*ListConnectionsRequest) GetPageSize

func (x *ListConnectionsRequest) GetPageSize() int32

func (*ListConnectionsRequest) GetPageToken

func (x *ListConnectionsRequest) GetPageToken() string

func (*ListConnectionsRequest) GetParent

func (x *ListConnectionsRequest) GetParent() string

func (*ListConnectionsRequest) GetView

func (*ListConnectionsRequest) ProtoMessage

func (*ListConnectionsRequest) ProtoMessage()

func (*ListConnectionsRequest) ProtoReflect

func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message

func (*ListConnectionsRequest) Reset

func (x *ListConnectionsRequest) Reset()

func (*ListConnectionsRequest) String

func (x *ListConnectionsRequest) String() string

type ListConnectionsResponse

type ListConnectionsResponse struct {

	// Connections.
	Connections []*Connection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ConnectorsService.ListConnections

func (*ListConnectionsResponse) Descriptor deprecated

func (*ListConnectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectionsResponse) GetConnections

func (x *ListConnectionsResponse) GetConnections() []*Connection

func (*ListConnectionsResponse) GetNextPageToken

func (x *ListConnectionsResponse) GetNextPageToken() string

func (*ListConnectionsResponse) GetUnreachable

func (x *ListConnectionsResponse) GetUnreachable() []string

func (*ListConnectionsResponse) ProtoMessage

func (*ListConnectionsResponse) ProtoMessage()

func (*ListConnectionsResponse) ProtoReflect

func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message

func (*ListConnectionsResponse) Reset

func (x *ListConnectionsResponse) Reset()

func (*ListConnectionsResponse) String

func (x *ListConnectionsResponse) String() string

type ListConnectorVersionsRequest

type ListConnectorVersionsRequest struct {

	// Required. Parent resource of the connectors, of the form:
	// `projects/*/locations/*/providers/*/connectors/*`
	// Only global location is supported for ConnectorVersion resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Specifies which fields of the ConnectorVersion are returned in the
	// response. Defaults to `BASIC` view.
	View ConnectorVersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.connectors.v1.ConnectorVersionView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.ListConnectorVersions.

func (*ListConnectorVersionsRequest) Descriptor deprecated

func (*ListConnectorVersionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectorVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectorVersionsRequest) GetPageSize

func (x *ListConnectorVersionsRequest) GetPageSize() int32

func (*ListConnectorVersionsRequest) GetPageToken

func (x *ListConnectorVersionsRequest) GetPageToken() string

func (*ListConnectorVersionsRequest) GetParent

func (x *ListConnectorVersionsRequest) GetParent() string

func (*ListConnectorVersionsRequest) GetView

func (*ListConnectorVersionsRequest) ProtoMessage

func (*ListConnectorVersionsRequest) ProtoMessage()

func (*ListConnectorVersionsRequest) ProtoReflect

func (*ListConnectorVersionsRequest) Reset

func (x *ListConnectorVersionsRequest) Reset()

func (*ListConnectorVersionsRequest) String

type ListConnectorVersionsResponse

type ListConnectorVersionsResponse struct {

	// A list of connector versions.
	ConnectorVersions []*ConnectorVersion `protobuf:"bytes,1,rep,name=connector_versions,json=connectorVersions,proto3" json:"connector_versions,omitempty"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for Connectors.ListConnectorVersions.

func (*ListConnectorVersionsResponse) Descriptor deprecated

func (*ListConnectorVersionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectorVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectorVersionsResponse) GetConnectorVersions

func (x *ListConnectorVersionsResponse) GetConnectorVersions() []*ConnectorVersion

func (*ListConnectorVersionsResponse) GetNextPageToken

func (x *ListConnectorVersionsResponse) GetNextPageToken() string

func (*ListConnectorVersionsResponse) GetUnreachable

func (x *ListConnectorVersionsResponse) GetUnreachable() []string

func (*ListConnectorVersionsResponse) ProtoMessage

func (*ListConnectorVersionsResponse) ProtoMessage()

func (*ListConnectorVersionsResponse) ProtoReflect

func (*ListConnectorVersionsResponse) Reset

func (x *ListConnectorVersionsResponse) Reset()

func (*ListConnectorVersionsResponse) String

type ListConnectorsRequest

type ListConnectorsRequest struct {

	// Required. Parent resource of the connectors, of the form:
	// `projects/*/locations/*/providers/*`
	// Only global location is supported for Connector resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.ListConnectors.

func (*ListConnectorsRequest) Descriptor deprecated

func (*ListConnectorsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectorsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectorsRequest) GetPageSize

func (x *ListConnectorsRequest) GetPageSize() int32

func (*ListConnectorsRequest) GetPageToken

func (x *ListConnectorsRequest) GetPageToken() string

func (*ListConnectorsRequest) GetParent

func (x *ListConnectorsRequest) GetParent() string

func (*ListConnectorsRequest) ProtoMessage

func (*ListConnectorsRequest) ProtoMessage()

func (*ListConnectorsRequest) ProtoReflect

func (x *ListConnectorsRequest) ProtoReflect() protoreflect.Message

func (*ListConnectorsRequest) Reset

func (x *ListConnectorsRequest) Reset()

func (*ListConnectorsRequest) String

func (x *ListConnectorsRequest) String() string

type ListConnectorsResponse

type ListConnectorsResponse struct {

	// A list of connectors.
	Connectors []*Connector `protobuf:"bytes,1,rep,name=connectors,proto3" json:"connectors,omitempty"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for Connectors.ListConnectors.

func (*ListConnectorsResponse) Descriptor deprecated

func (*ListConnectorsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConnectorsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectorsResponse) GetConnectors

func (x *ListConnectorsResponse) GetConnectors() []*Connector

func (*ListConnectorsResponse) GetNextPageToken

func (x *ListConnectorsResponse) GetNextPageToken() string

func (*ListConnectorsResponse) GetUnreachable

func (x *ListConnectorsResponse) GetUnreachable() []string

func (*ListConnectorsResponse) ProtoMessage

func (*ListConnectorsResponse) ProtoMessage()

func (*ListConnectorsResponse) ProtoReflect

func (x *ListConnectorsResponse) ProtoReflect() protoreflect.Message

func (*ListConnectorsResponse) Reset

func (x *ListConnectorsResponse) Reset()

func (*ListConnectorsResponse) String

func (x *ListConnectorsResponse) String() string

type ListProvidersRequest

type ListProvidersRequest struct {

	// Required. Parent resource of the API, of the form:
	// `projects/*/locations/*`
	// Only global location is supported for Provider resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for Connectors.ListProviders.

func (*ListProvidersRequest) Descriptor deprecated

func (*ListProvidersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListProvidersRequest) GetPageSize

func (x *ListProvidersRequest) GetPageSize() int32

func (*ListProvidersRequest) GetPageToken

func (x *ListProvidersRequest) GetPageToken() string

func (*ListProvidersRequest) GetParent

func (x *ListProvidersRequest) GetParent() string

func (*ListProvidersRequest) ProtoMessage

func (*ListProvidersRequest) ProtoMessage()

func (*ListProvidersRequest) ProtoReflect

func (x *ListProvidersRequest) ProtoReflect() protoreflect.Message

func (*ListProvidersRequest) Reset

func (x *ListProvidersRequest) Reset()

func (*ListProvidersRequest) String

func (x *ListProvidersRequest) String() string

type ListProvidersResponse

type ListProvidersResponse struct {

	// A list of providers.
	Providers []*Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for Connectors.ListProviders.

func (*ListProvidersResponse) Descriptor deprecated

func (*ListProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListProvidersResponse) GetNextPageToken

func (x *ListProvidersResponse) GetNextPageToken() string

func (*ListProvidersResponse) GetProviders

func (x *ListProvidersResponse) GetProviders() []*Provider

func (*ListProvidersResponse) GetUnreachable

func (x *ListProvidersResponse) GetUnreachable() []string

func (*ListProvidersResponse) ProtoMessage

func (*ListProvidersResponse) ProtoMessage()

func (*ListProvidersResponse) ProtoReflect

func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message

func (*ListProvidersResponse) Reset

func (x *ListProvidersResponse) Reset()

func (*ListProvidersResponse) String

func (x *ListProvidersResponse) String() string

type ListRuntimeActionSchemasRequest

type ListRuntimeActionSchemasRequest struct {

	// Required. Parent resource of RuntimeActionSchema
	// Format:
	// projects/{project}/locations/{location}/connections/{connection}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// 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.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ListRuntimeActionSchemasRequest) Descriptor deprecated

func (*ListRuntimeActionSchemasRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimeActionSchemasRequest.ProtoReflect.Descriptor instead.

func (*ListRuntimeActionSchemasRequest) GetFilter

func (x *ListRuntimeActionSchemasRequest) GetFilter() string

func (*ListRuntimeActionSchemasRequest) GetPageSize

func (x *ListRuntimeActionSchemasRequest) GetPageSize() int32

func (*ListRuntimeActionSchemasRequest) GetPageToken

func (x *ListRuntimeActionSchemasRequest) GetPageToken() string

func (*ListRuntimeActionSchemasRequest) GetParent

func (x *ListRuntimeActionSchemasRequest) GetParent() string

func (*ListRuntimeActionSchemasRequest) ProtoMessage

func (*ListRuntimeActionSchemasRequest) ProtoMessage()

func (*ListRuntimeActionSchemasRequest) ProtoReflect

func (*ListRuntimeActionSchemasRequest) Reset

func (*ListRuntimeActionSchemasRequest) String

type ListRuntimeActionSchemasResponse

type ListRuntimeActionSchemasResponse struct {

	// Runtime action schemas.
	RuntimeActionSchemas []*RuntimeActionSchema `protobuf:"bytes,1,rep,name=runtime_action_schemas,json=runtimeActionSchemas,proto3" json:"runtime_action_schemas,omitempty"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ConnectorsService.ListRuntimeActionSchemas.

func (*ListRuntimeActionSchemasResponse) Descriptor deprecated

func (*ListRuntimeActionSchemasResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimeActionSchemasResponse.ProtoReflect.Descriptor instead.

func (*ListRuntimeActionSchemasResponse) GetNextPageToken

func (x *ListRuntimeActionSchemasResponse) GetNextPageToken() string

func (*ListRuntimeActionSchemasResponse) GetRuntimeActionSchemas

func (x *ListRuntimeActionSchemasResponse) GetRuntimeActionSchemas() []*RuntimeActionSchema

func (*ListRuntimeActionSchemasResponse) ProtoMessage

func (*ListRuntimeActionSchemasResponse) ProtoMessage()

func (*ListRuntimeActionSchemasResponse) ProtoReflect

func (*ListRuntimeActionSchemasResponse) Reset

func (*ListRuntimeActionSchemasResponse) String

type ListRuntimeEntitySchemasRequest

type ListRuntimeEntitySchemasRequest struct {

	// Required. Parent resource of RuntimeEntitySchema
	// Format:
	// projects/{project}/locations/{location}/connections/{connection}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Page size.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// 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.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ListRuntimeEntitySchemasRequest) Descriptor deprecated

func (*ListRuntimeEntitySchemasRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimeEntitySchemasRequest.ProtoReflect.Descriptor instead.

func (*ListRuntimeEntitySchemasRequest) GetFilter

func (x *ListRuntimeEntitySchemasRequest) GetFilter() string

func (*ListRuntimeEntitySchemasRequest) GetPageSize

func (x *ListRuntimeEntitySchemasRequest) GetPageSize() int32

func (*ListRuntimeEntitySchemasRequest) GetPageToken

func (x *ListRuntimeEntitySchemasRequest) GetPageToken() string

func (*ListRuntimeEntitySchemasRequest) GetParent

func (x *ListRuntimeEntitySchemasRequest) GetParent() string

func (*ListRuntimeEntitySchemasRequest) ProtoMessage

func (*ListRuntimeEntitySchemasRequest) ProtoMessage()

func (*ListRuntimeEntitySchemasRequest) ProtoReflect

func (*ListRuntimeEntitySchemasRequest) Reset

func (*ListRuntimeEntitySchemasRequest) String

type ListRuntimeEntitySchemasResponse

type ListRuntimeEntitySchemasResponse struct {

	// Runtime entity schemas.
	RuntimeEntitySchemas []*RuntimeEntitySchema `protobuf:"bytes,1,rep,name=runtime_entity_schemas,json=runtimeEntitySchemas,proto3" json:"runtime_entity_schemas,omitempty"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ConnectorsService.ListRuntimeEntitySchemas.

func (*ListRuntimeEntitySchemasResponse) Descriptor deprecated

func (*ListRuntimeEntitySchemasResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimeEntitySchemasResponse.ProtoReflect.Descriptor instead.

func (*ListRuntimeEntitySchemasResponse) GetNextPageToken

func (x *ListRuntimeEntitySchemasResponse) GetNextPageToken() string

func (*ListRuntimeEntitySchemasResponse) GetRuntimeEntitySchemas

func (x *ListRuntimeEntitySchemasResponse) GetRuntimeEntitySchemas() []*RuntimeEntitySchema

func (*ListRuntimeEntitySchemasResponse) ProtoMessage

func (*ListRuntimeEntitySchemasResponse) ProtoMessage()

func (*ListRuntimeEntitySchemasResponse) ProtoReflect

func (*ListRuntimeEntitySchemasResponse) Reset

func (*ListRuntimeEntitySchemasResponse) String

type LockConfig

type LockConfig struct {

	// Indicates whether or not the connection is locked.
	Locked bool `protobuf:"varint,1,opt,name=locked,proto3" json:"locked,omitempty"`
	// Describes why a connection is locked.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

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

func (*LockConfig) Descriptor deprecated

func (*LockConfig) Descriptor() ([]byte, []int)

Deprecated: Use LockConfig.ProtoReflect.Descriptor instead.

func (*LockConfig) GetLocked

func (x *LockConfig) GetLocked() bool

func (*LockConfig) GetReason

func (x *LockConfig) GetReason() string

func (*LockConfig) ProtoMessage

func (*LockConfig) ProtoMessage()

func (*LockConfig) ProtoReflect

func (x *LockConfig) ProtoReflect() protoreflect.Message

func (*LockConfig) Reset

func (x *LockConfig) Reset()

func (*LockConfig) String

func (x *LockConfig) String() string

type NodeConfig

type NodeConfig struct {

	// Minimum number of nodes in the runtime nodes.
	MinNodeCount int32 `protobuf:"varint,1,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
	// Maximum number of nodes in the runtime nodes.
	MaxNodeCount int32 `protobuf:"varint,2,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the connection.

func (*NodeConfig) Descriptor deprecated

func (*NodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.

func (*NodeConfig) GetMaxNodeCount

func (x *NodeConfig) GetMaxNodeCount() int32

func (*NodeConfig) GetMinNodeCount

func (x *NodeConfig) GetMinNodeCount() int32

func (*NodeConfig) ProtoMessage

func (*NodeConfig) ProtoMessage()

func (*NodeConfig) ProtoReflect

func (x *NodeConfig) ProtoReflect() protoreflect.Message

func (*NodeConfig) Reset

func (x *NodeConfig) Reset()

func (*NodeConfig) String

func (x *NodeConfig) String() string

type OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output 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`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type Provider

type Provider struct {

	// Output only. Resource name of the Provider.
	// Format: projects/{project}/locations/{location}/providers/{provider}
	// Only global location is supported for Provider resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Created time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Updated time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Resource labels to represent user-provided metadata.
	// Refer to cloud documentation on labels for more details.
	// https://cloud.google.com/compute/docs/labeling-resources
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. Link to documentation page.
	DocumentationUri string `protobuf:"bytes,6,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
	// Output only. Link to external page.
	ExternalUri string `protobuf:"bytes,7,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
	// Output only. Description of the resource.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Cloud storage location of icons etc consumed by UI.
	WebAssetsLocation string `protobuf:"bytes,9,opt,name=web_assets_location,json=webAssetsLocation,proto3" json:"web_assets_location,omitempty"`
	// Output only. Display name.
	DisplayName string `protobuf:"bytes,10,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Flag to mark the version indicating the launch stage.
	LaunchStage LaunchStage `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Provider indicates the owner who provides the connectors.

func (*Provider) Descriptor deprecated

func (*Provider) Descriptor() ([]byte, []int)

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetCreateTime

func (x *Provider) GetCreateTime() *timestamppb.Timestamp

func (*Provider) GetDescription

func (x *Provider) GetDescription() string

func (*Provider) GetDisplayName

func (x *Provider) GetDisplayName() string

func (*Provider) GetDocumentationUri

func (x *Provider) GetDocumentationUri() string

func (*Provider) GetExternalUri

func (x *Provider) GetExternalUri() string

func (*Provider) GetLabels

func (x *Provider) GetLabels() map[string]string

func (*Provider) GetLaunchStage

func (x *Provider) GetLaunchStage() LaunchStage

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) GetUpdateTime

func (x *Provider) GetUpdateTime() *timestamppb.Timestamp

func (*Provider) GetWebAssetsLocation

func (x *Provider) GetWebAssetsLocation() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

func (x *Provider) ProtoReflect() protoreflect.Message

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

type RoleGrant

type RoleGrant struct {

	// Prinicipal/Identity for whom the role need to assigned.
	Principal RoleGrant_Principal `protobuf:"varint,1,opt,name=principal,proto3,enum=google.cloud.connectors.v1.RoleGrant_Principal" json:"principal,omitempty"`
	// List of roles that need to be granted.
	Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// Resource on which the roles needs to be granted for the principal.
	Resource *RoleGrant_Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// Template that UI can use to provide helper text to customers.
	HelperTextTemplate string `protobuf:"bytes,4,opt,name=helper_text_template,json=helperTextTemplate,proto3" json:"helper_text_template,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*RoleGrant) Descriptor deprecated

func (*RoleGrant) Descriptor() ([]byte, []int)

Deprecated: Use RoleGrant.ProtoReflect.Descriptor instead.

func (*RoleGrant) GetHelperTextTemplate

func (x *RoleGrant) GetHelperTextTemplate() string

func (*RoleGrant) GetPrincipal

func (x *RoleGrant) GetPrincipal() RoleGrant_Principal

func (*RoleGrant) GetResource

func (x *RoleGrant) GetResource() *RoleGrant_Resource

func (*RoleGrant) GetRoles

func (x *RoleGrant) GetRoles() []string

func (*RoleGrant) ProtoMessage

func (*RoleGrant) ProtoMessage()

func (*RoleGrant) ProtoReflect

func (x *RoleGrant) ProtoReflect() protoreflect.Message

func (*RoleGrant) Reset

func (x *RoleGrant) Reset()

func (*RoleGrant) String

func (x *RoleGrant) String() string

type RoleGrant_Principal

type RoleGrant_Principal int32

Supported Principal values.

const (
	// Value type is not specified.
	RoleGrant_PRINCIPAL_UNSPECIFIED RoleGrant_Principal = 0
	// Service Account used for Connector workload identity
	// This is either the default service account if unspecified or Service
	// Account provided by Customers through BYOSA.
	RoleGrant_CONNECTOR_SA RoleGrant_Principal = 1
)

func (RoleGrant_Principal) Descriptor

func (RoleGrant_Principal) Enum

func (RoleGrant_Principal) EnumDescriptor deprecated

func (RoleGrant_Principal) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoleGrant_Principal.Descriptor instead.

func (RoleGrant_Principal) Number

func (RoleGrant_Principal) String

func (x RoleGrant_Principal) String() string

func (RoleGrant_Principal) Type

type RoleGrant_Resource

type RoleGrant_Resource struct {

	// Different types of resource supported.
	Type RoleGrant_Resource_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.connectors.v1.RoleGrant_Resource_Type" json:"type,omitempty"`
	// Template to uniquely represent a GCP resource in a format IAM expects
	// This is a template that can have references to other values provided in
	// the config variable template.
	PathTemplate string `protobuf:"bytes,3,opt,name=path_template,json=pathTemplate,proto3" json:"path_template,omitempty"`
	// contains filtered or unexported fields
}

Resource definition

func (*RoleGrant_Resource) Descriptor deprecated

func (*RoleGrant_Resource) Descriptor() ([]byte, []int)

Deprecated: Use RoleGrant_Resource.ProtoReflect.Descriptor instead.

func (*RoleGrant_Resource) GetPathTemplate

func (x *RoleGrant_Resource) GetPathTemplate() string

func (*RoleGrant_Resource) GetType

func (*RoleGrant_Resource) ProtoMessage

func (*RoleGrant_Resource) ProtoMessage()

func (*RoleGrant_Resource) ProtoReflect

func (x *RoleGrant_Resource) ProtoReflect() protoreflect.Message

func (*RoleGrant_Resource) Reset

func (x *RoleGrant_Resource) Reset()

func (*RoleGrant_Resource) String

func (x *RoleGrant_Resource) String() string

type RoleGrant_Resource_Type

type RoleGrant_Resource_Type int32

Resource Type definition.

const (
	// Value type is not specified.
	RoleGrant_Resource_TYPE_UNSPECIFIED RoleGrant_Resource_Type = 0
	// GCP Project Resource.
	RoleGrant_Resource_GCP_PROJECT RoleGrant_Resource_Type = 1
	// Any GCP Resource which is identified uniquely by IAM.
	RoleGrant_Resource_GCP_RESOURCE RoleGrant_Resource_Type = 2
	// GCP Secret Resource.
	RoleGrant_Resource_GCP_SECRETMANAGER_SECRET RoleGrant_Resource_Type = 3
	// GCP Secret Version Resource.
	RoleGrant_Resource_GCP_SECRETMANAGER_SECRET_VERSION RoleGrant_Resource_Type = 4
)

func (RoleGrant_Resource_Type) Descriptor

func (RoleGrant_Resource_Type) Enum

func (RoleGrant_Resource_Type) EnumDescriptor deprecated

func (RoleGrant_Resource_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoleGrant_Resource_Type.Descriptor instead.

func (RoleGrant_Resource_Type) Number

func (RoleGrant_Resource_Type) String

func (x RoleGrant_Resource_Type) String() string

func (RoleGrant_Resource_Type) Type

type RuntimeActionSchema

type RuntimeActionSchema struct {

	// Output only. Name of the action.
	Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	// Output only. List of input parameter metadata for the action.
	InputParameters []*RuntimeActionSchema_InputParameter `protobuf:"bytes,2,rep,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"`
	// Output only. List of result field metadata.
	ResultMetadata []*RuntimeActionSchema_ResultMetadata `protobuf:"bytes,3,rep,name=result_metadata,json=resultMetadata,proto3" json:"result_metadata,omitempty"`
	// contains filtered or unexported fields
}

Schema of a runtime action.

func (*RuntimeActionSchema) Descriptor deprecated

func (*RuntimeActionSchema) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeActionSchema.ProtoReflect.Descriptor instead.

func (*RuntimeActionSchema) GetAction

func (x *RuntimeActionSchema) GetAction() string

func (*RuntimeActionSchema) GetInputParameters

func (x *RuntimeActionSchema) GetInputParameters() []*RuntimeActionSchema_InputParameter

func (*RuntimeActionSchema) GetResultMetadata

func (x *RuntimeActionSchema) GetResultMetadata() []*RuntimeActionSchema_ResultMetadata

func (*RuntimeActionSchema) ProtoMessage

func (*RuntimeActionSchema) ProtoMessage()

func (*RuntimeActionSchema) ProtoReflect

func (x *RuntimeActionSchema) ProtoReflect() protoreflect.Message

func (*RuntimeActionSchema) Reset

func (x *RuntimeActionSchema) Reset()

func (*RuntimeActionSchema) String

func (x *RuntimeActionSchema) String() string

type RuntimeActionSchema_InputParameter

type RuntimeActionSchema_InputParameter struct {

	// Name of the Parameter.
	Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// A brief description of the Parameter.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The data type of the Parameter.
	DataType DataType `` /* 127-byte string literal not displayed */
	// Specifies whether a null value is allowed.
	Nullable bool `protobuf:"varint,4,opt,name=nullable,proto3" json:"nullable,omitempty"`
	// The following field specifies the default value of the Parameter
	// provided by the external system if a value is not provided.
	DefaultValue *structpb.Value `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// contains filtered or unexported fields
}

Metadata of an input parameter.

func (*RuntimeActionSchema_InputParameter) Descriptor deprecated

func (*RuntimeActionSchema_InputParameter) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeActionSchema_InputParameter.ProtoReflect.Descriptor instead.

func (*RuntimeActionSchema_InputParameter) GetDataType

func (*RuntimeActionSchema_InputParameter) GetDefaultValue

func (x *RuntimeActionSchema_InputParameter) GetDefaultValue() *structpb.Value

func (*RuntimeActionSchema_InputParameter) GetDescription

func (x *RuntimeActionSchema_InputParameter) GetDescription() string

func (*RuntimeActionSchema_InputParameter) GetNullable

func (x *RuntimeActionSchema_InputParameter) GetNullable() bool

func (*RuntimeActionSchema_InputParameter) GetParameter

func (x *RuntimeActionSchema_InputParameter) GetParameter() string

func (*RuntimeActionSchema_InputParameter) ProtoMessage

func (*RuntimeActionSchema_InputParameter) ProtoMessage()

func (*RuntimeActionSchema_InputParameter) ProtoReflect

func (*RuntimeActionSchema_InputParameter) Reset

func (*RuntimeActionSchema_InputParameter) String

type RuntimeActionSchema_ResultMetadata

type RuntimeActionSchema_ResultMetadata struct {

	// Name of the result field.
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// A brief description of the field.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The data type of the field.
	DataType DataType `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata of result field.

func (*RuntimeActionSchema_ResultMetadata) Descriptor deprecated

func (*RuntimeActionSchema_ResultMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeActionSchema_ResultMetadata.ProtoReflect.Descriptor instead.

func (*RuntimeActionSchema_ResultMetadata) GetDataType

func (*RuntimeActionSchema_ResultMetadata) GetDescription

func (x *RuntimeActionSchema_ResultMetadata) GetDescription() string

func (*RuntimeActionSchema_ResultMetadata) GetField

func (*RuntimeActionSchema_ResultMetadata) ProtoMessage

func (*RuntimeActionSchema_ResultMetadata) ProtoMessage()

func (*RuntimeActionSchema_ResultMetadata) ProtoReflect

func (*RuntimeActionSchema_ResultMetadata) Reset

func (*RuntimeActionSchema_ResultMetadata) String

type RuntimeConfig

type RuntimeConfig struct {

	// Output only. location_id of the runtime location. E.g. "us-west1".
	LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Output only. Pub/Sub topic for connd to send message.
	// E.g. projects/{project-id}/topics/{topic-id}
	ConndTopic string `protobuf:"bytes,2,opt,name=connd_topic,json=conndTopic,proto3" json:"connd_topic,omitempty"`
	// Output only. Pub/Sub subscription for connd to receive message.
	// E.g. projects/{project-id}/subscriptions/{topic-id}
	ConndSubscription string `protobuf:"bytes,3,opt,name=connd_subscription,json=conndSubscription,proto3" json:"connd_subscription,omitempty"`
	// Output only. Pub/Sub topic for control plne to send message.
	// communication.
	// E.g. projects/{project-id}/topics/{topic-id}
	ControlPlaneTopic string `protobuf:"bytes,4,opt,name=control_plane_topic,json=controlPlaneTopic,proto3" json:"control_plane_topic,omitempty"`
	// Output only. Pub/Sub subscription for control plane to receive message.
	// E.g. projects/{project-id}/subscriptions/{topic-id}
	ControlPlaneSubscription string `` /* 135-byte string literal not displayed */
	// Output only. The endpoint of the connectors runtime ingress.
	RuntimeEndpoint string `protobuf:"bytes,6,opt,name=runtime_endpoint,json=runtimeEndpoint,proto3" json:"runtime_endpoint,omitempty"`
	// Output only. The state of the location.
	State RuntimeConfig_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.connectors.v1.RuntimeConfig_State" json:"state,omitempty"`
	// Output only. The Cloud Storage bucket that stores connector's schema reports.
	SchemaGcsBucket string `protobuf:"bytes,8,opt,name=schema_gcs_bucket,json=schemaGcsBucket,proto3" json:"schema_gcs_bucket,omitempty"`
	// Output only. The name of the Service Directory service name.
	ServiceDirectory string `protobuf:"bytes,9,opt,name=service_directory,json=serviceDirectory,proto3" json:"service_directory,omitempty"`
	// Output only. Name of the runtimeConfig resource.
	// Format: projects/{project}/locations/{location}/runtimeConfig
	Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

RuntimeConfig is the singleton resource of each location. It includes generic resource configs consumed by control plane and runtime plane like: pub/sub topic/subscription resource name, Cloud Storage location storing schema etc.

func (*RuntimeConfig) Descriptor deprecated

func (*RuntimeConfig) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.

func (*RuntimeConfig) GetConndSubscription

func (x *RuntimeConfig) GetConndSubscription() string

func (*RuntimeConfig) GetConndTopic

func (x *RuntimeConfig) GetConndTopic() string

func (*RuntimeConfig) GetControlPlaneSubscription

func (x *RuntimeConfig) GetControlPlaneSubscription() string

func (*RuntimeConfig) GetControlPlaneTopic

func (x *RuntimeConfig) GetControlPlaneTopic() string

func (*RuntimeConfig) GetLocationId

func (x *RuntimeConfig) GetLocationId() string

func (*RuntimeConfig) GetName

func (x *RuntimeConfig) GetName() string

func (*RuntimeConfig) GetRuntimeEndpoint

func (x *RuntimeConfig) GetRuntimeEndpoint() string

func (*RuntimeConfig) GetSchemaGcsBucket

func (x *RuntimeConfig) GetSchemaGcsBucket() string

func (*RuntimeConfig) GetServiceDirectory

func (x *RuntimeConfig) GetServiceDirectory() string

func (*RuntimeConfig) GetState

func (x *RuntimeConfig) GetState() RuntimeConfig_State

func (*RuntimeConfig) ProtoMessage

func (*RuntimeConfig) ProtoMessage()

func (*RuntimeConfig) ProtoReflect

func (x *RuntimeConfig) ProtoReflect() protoreflect.Message

func (*RuntimeConfig) Reset

func (x *RuntimeConfig) Reset()

func (*RuntimeConfig) String

func (x *RuntimeConfig) String() string

type RuntimeConfig_State

type RuntimeConfig_State int32

State of the location.

const (
	// STATE_UNSPECIFIED.
	RuntimeConfig_STATE_UNSPECIFIED RuntimeConfig_State = 0
	// INACTIVE.
	//
	// Deprecated: Do not use.
	RuntimeConfig_INACTIVE RuntimeConfig_State = 1
	// ACTIVATING.
	//
	// Deprecated: Do not use.
	RuntimeConfig_ACTIVATING RuntimeConfig_State = 2
	// ACTIVE.
	RuntimeConfig_ACTIVE RuntimeConfig_State = 3
	// CREATING.
	RuntimeConfig_CREATING RuntimeConfig_State = 4
	// DELETING.
	RuntimeConfig_DELETING RuntimeConfig_State = 5
	// UPDATING.
	RuntimeConfig_UPDATING RuntimeConfig_State = 6
)

func (RuntimeConfig_State) Descriptor

func (RuntimeConfig_State) Enum

func (RuntimeConfig_State) EnumDescriptor deprecated

func (RuntimeConfig_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use RuntimeConfig_State.Descriptor instead.

func (RuntimeConfig_State) Number

func (RuntimeConfig_State) String

func (x RuntimeConfig_State) String() string

func (RuntimeConfig_State) Type

type RuntimeEntitySchema

type RuntimeEntitySchema struct {

	// Output only. Name of the entity.
	Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Output only. List of fields in the entity.
	Fields []*RuntimeEntitySchema_Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

Schema of a runtime entity.

func (*RuntimeEntitySchema) Descriptor deprecated

func (*RuntimeEntitySchema) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeEntitySchema.ProtoReflect.Descriptor instead.

func (*RuntimeEntitySchema) GetEntity

func (x *RuntimeEntitySchema) GetEntity() string

func (*RuntimeEntitySchema) GetFields

func (*RuntimeEntitySchema) ProtoMessage

func (*RuntimeEntitySchema) ProtoMessage()

func (*RuntimeEntitySchema) ProtoReflect

func (x *RuntimeEntitySchema) ProtoReflect() protoreflect.Message

func (*RuntimeEntitySchema) Reset

func (x *RuntimeEntitySchema) Reset()

func (*RuntimeEntitySchema) String

func (x *RuntimeEntitySchema) String() string

type RuntimeEntitySchema_Field

type RuntimeEntitySchema_Field struct {

	// Name of the Field.
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// A brief description of the Field.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The data type of the Field.
	DataType DataType `` /* 127-byte string literal not displayed */
	// The following boolean field specifies if the current Field acts
	// as a primary key or id if the parent is of type entity.
	Key bool `protobuf:"varint,4,opt,name=key,proto3" json:"key,omitempty"`
	// Specifies if the Field is readonly.
	Readonly bool `protobuf:"varint,5,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// Specifies whether a null value is allowed.
	Nullable bool `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
	// The following field specifies the default value of the Field provided
	// by the external system if a value is not provided.
	DefaultValue *structpb.Value `protobuf:"bytes,7,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// The following map contains fields that are not explicitly mentioned
	// above,this give connectors the flexibility to add new metadata
	// fields.
	AdditionalDetails *structpb.Struct `protobuf:"bytes,8,opt,name=additional_details,json=additionalDetails,proto3" json:"additional_details,omitempty"`
	// contains filtered or unexported fields
}

Metadata of an entity field.

func (*RuntimeEntitySchema_Field) Descriptor deprecated

func (*RuntimeEntitySchema_Field) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeEntitySchema_Field.ProtoReflect.Descriptor instead.

func (*RuntimeEntitySchema_Field) GetAdditionalDetails

func (x *RuntimeEntitySchema_Field) GetAdditionalDetails() *structpb.Struct

func (*RuntimeEntitySchema_Field) GetDataType

func (x *RuntimeEntitySchema_Field) GetDataType() DataType

func (*RuntimeEntitySchema_Field) GetDefaultValue

func (x *RuntimeEntitySchema_Field) GetDefaultValue() *structpb.Value

func (*RuntimeEntitySchema_Field) GetDescription

func (x *RuntimeEntitySchema_Field) GetDescription() string

func (*RuntimeEntitySchema_Field) GetField

func (x *RuntimeEntitySchema_Field) GetField() string

func (*RuntimeEntitySchema_Field) GetKey

func (x *RuntimeEntitySchema_Field) GetKey() bool

func (*RuntimeEntitySchema_Field) GetNullable

func (x *RuntimeEntitySchema_Field) GetNullable() bool

func (*RuntimeEntitySchema_Field) GetReadonly

func (x *RuntimeEntitySchema_Field) GetReadonly() bool

func (*RuntimeEntitySchema_Field) ProtoMessage

func (*RuntimeEntitySchema_Field) ProtoMessage()

func (*RuntimeEntitySchema_Field) ProtoReflect

func (*RuntimeEntitySchema_Field) Reset

func (x *RuntimeEntitySchema_Field) Reset()

func (*RuntimeEntitySchema_Field) String

func (x *RuntimeEntitySchema_Field) String() string

type Secret

type Secret struct {

	// The resource name of the secret version in the format,
	// format as: `projects/*/secrets/*/versions/*`.
	SecretVersion string `protobuf:"bytes,1,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"`
	// contains filtered or unexported fields
}

Secret provides a reference to entries in Secret Manager.

func (*Secret) Descriptor deprecated

func (*Secret) Descriptor() ([]byte, []int)

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetSecretVersion

func (x *Secret) GetSecretVersion() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

func (x *Secret) ProtoReflect() protoreflect.Message

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type SupportedRuntimeFeatures

type SupportedRuntimeFeatures struct {

	// Specifies if the connector supports entity apis like 'createEntity'.
	EntityApis bool `protobuf:"varint,1,opt,name=entity_apis,json=entityApis,proto3" json:"entity_apis,omitempty"`
	// Specifies if the connector supports action apis like 'executeAction'.
	ActionApis bool `protobuf:"varint,2,opt,name=action_apis,json=actionApis,proto3" json:"action_apis,omitempty"`
	// Specifies if the connector supports 'ExecuteSqlQuery' operation.
	SqlQuery bool `protobuf:"varint,3,opt,name=sql_query,json=sqlQuery,proto3" json:"sql_query,omitempty"`
	// contains filtered or unexported fields
}

Supported runtime features of a connector version. This is passed to the management layer to add a new connector version by the connector developer. Details about how this proto is passed to the management layer is covered in this doc - go/runtime-manifest.

func (*SupportedRuntimeFeatures) Descriptor deprecated

func (*SupportedRuntimeFeatures) Descriptor() ([]byte, []int)

Deprecated: Use SupportedRuntimeFeatures.ProtoReflect.Descriptor instead.

func (*SupportedRuntimeFeatures) GetActionApis

func (x *SupportedRuntimeFeatures) GetActionApis() bool

func (*SupportedRuntimeFeatures) GetEntityApis

func (x *SupportedRuntimeFeatures) GetEntityApis() bool

func (*SupportedRuntimeFeatures) GetSqlQuery

func (x *SupportedRuntimeFeatures) GetSqlQuery() bool

func (*SupportedRuntimeFeatures) ProtoMessage

func (*SupportedRuntimeFeatures) ProtoMessage()

func (*SupportedRuntimeFeatures) ProtoReflect

func (x *SupportedRuntimeFeatures) ProtoReflect() protoreflect.Message

func (*SupportedRuntimeFeatures) Reset

func (x *SupportedRuntimeFeatures) Reset()

func (*SupportedRuntimeFeatures) String

func (x *SupportedRuntimeFeatures) String() string

type UnimplementedConnectorsServer

type UnimplementedConnectorsServer struct {
}

UnimplementedConnectorsServer can be embedded to have forward compatible implementations.

func (*UnimplementedConnectorsServer) CreateConnection

func (*UnimplementedConnectorsServer) DeleteConnection

func (*UnimplementedConnectorsServer) GetConnection

func (*UnimplementedConnectorsServer) GetConnectionSchemaMetadata

func (*UnimplementedConnectorsServer) GetConnector

func (*UnimplementedConnectorsServer) GetConnectorVersion

func (*UnimplementedConnectorsServer) GetProvider

func (*UnimplementedConnectorsServer) GetRuntimeConfig

func (*UnimplementedConnectorsServer) ListConnections

func (*UnimplementedConnectorsServer) ListConnectors

func (*UnimplementedConnectorsServer) ListProviders

func (*UnimplementedConnectorsServer) UpdateConnection

type UpdateConnectionRequest

type UpdateConnectionRequest struct {

	// Required. Connection resource.
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// Required. Field mask is used to specify the fields to be overwritten in the
	// Connection 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. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for ConnectorsService.UpdateConnection

func (*UpdateConnectionRequest) Descriptor deprecated

func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateConnectionRequest.ProtoReflect.Descriptor instead.

func (*UpdateConnectionRequest) GetConnection

func (x *UpdateConnectionRequest) GetConnection() *Connection

func (*UpdateConnectionRequest) GetUpdateMask

func (x *UpdateConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateConnectionRequest) ProtoMessage

func (*UpdateConnectionRequest) ProtoMessage()

func (*UpdateConnectionRequest) ProtoReflect

func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message

func (*UpdateConnectionRequest) Reset

func (x *UpdateConnectionRequest) Reset()

func (*UpdateConnectionRequest) String

func (x *UpdateConnectionRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL