- 1.70.0 (latest)
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.2
- 1.65.0
- 1.64.0
- 1.63.1
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.1
- 1.58.0
- 1.57.1
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.2
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.2
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
Variables
CloudSqlProperties_DatabaseType_name, CloudSqlProperties_DatabaseType_value
var (
CloudSqlProperties_DatabaseType_name = map[int32]string{
0: "DATABASE_TYPE_UNSPECIFIED",
1: "POSTGRES",
2: "MYSQL",
}
CloudSqlProperties_DatabaseType_value = map[string]int32{
"DATABASE_TYPE_UNSPECIFIED": 0,
"POSTGRES": 1,
"MYSQL": 2,
}
)
Enum value maps for CloudSqlProperties_DatabaseType.
File_google_cloud_bigquery_connection_v1beta1_connection_proto
var File_google_cloud_bigquery_connection_v1beta1_connection_proto protoreflect.FileDescriptor
Functions
func RegisterConnectionServiceServer
func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer)
CloudSqlCredential
type CloudSqlCredential struct {
// The username for the credential.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// The password for the credential.
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
Credential info for the Cloud SQL.
func (*CloudSqlCredential) Descriptor
func (*CloudSqlCredential) Descriptor() ([]byte, []int)
Deprecated: Use CloudSqlCredential.ProtoReflect.Descriptor instead.
func (*CloudSqlCredential) GetPassword
func (x *CloudSqlCredential) GetPassword() string
func (*CloudSqlCredential) GetUsername
func (x *CloudSqlCredential) GetUsername() string
func (*CloudSqlCredential) ProtoMessage
func (*CloudSqlCredential) ProtoMessage()
func (*CloudSqlCredential) ProtoReflect
func (x *CloudSqlCredential) ProtoReflect() protoreflect.Message
func (*CloudSqlCredential) Reset
func (x *CloudSqlCredential) Reset()
func (*CloudSqlCredential) String
func (x *CloudSqlCredential) String() string
CloudSqlProperties
type CloudSqlProperties struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
Type CloudSqlProperties_DatabaseType "" /* 140 byte string literal not displayed */
Credential *CloudSqlCredential `protobuf:"bytes,4,opt,name=credential,proto3" json:"credential,omitempty"`
ServiceAccountId string `protobuf:"bytes,5,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
}
Connection properties specific to the Cloud SQL.
func (*CloudSqlProperties) Descriptor
func (*CloudSqlProperties) Descriptor() ([]byte, []int)
Deprecated: Use CloudSqlProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlProperties) GetCredential
func (x *CloudSqlProperties) GetCredential() *CloudSqlCredential
func (*CloudSqlProperties) GetDatabase
func (x *CloudSqlProperties) GetDatabase() string
func (*CloudSqlProperties) GetInstanceId
func (x *CloudSqlProperties) GetInstanceId() string
func (*CloudSqlProperties) GetServiceAccountId
func (x *CloudSqlProperties) GetServiceAccountId() string
func (*CloudSqlProperties) GetType
func (x *CloudSqlProperties) GetType() CloudSqlProperties_DatabaseType
func (*CloudSqlProperties) ProtoMessage
func (*CloudSqlProperties) ProtoMessage()
func (*CloudSqlProperties) ProtoReflect
func (x *CloudSqlProperties) ProtoReflect() protoreflect.Message
func (*CloudSqlProperties) Reset
func (x *CloudSqlProperties) Reset()
func (*CloudSqlProperties) String
func (x *CloudSqlProperties) String() string
CloudSqlProperties_DatabaseType
type CloudSqlProperties_DatabaseType int32
Supported Cloud SQL database types.
CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED, CloudSqlProperties_POSTGRES, CloudSqlProperties_MYSQL
const (
// Unspecified database type.
CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED CloudSqlProperties_DatabaseType = 0
// Cloud SQL for PostgreSQL.
CloudSqlProperties_POSTGRES CloudSqlProperties_DatabaseType = 1
// Cloud SQL for MySQL.
CloudSqlProperties_MYSQL CloudSqlProperties_DatabaseType = 2
)
func (CloudSqlProperties_DatabaseType) Descriptor
func (CloudSqlProperties_DatabaseType) Descriptor() protoreflect.EnumDescriptor
func (CloudSqlProperties_DatabaseType) Enum
func (x CloudSqlProperties_DatabaseType) Enum() *CloudSqlProperties_DatabaseType
func (CloudSqlProperties_DatabaseType) EnumDescriptor
func (CloudSqlProperties_DatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudSqlProperties_DatabaseType.Descriptor instead.
func (CloudSqlProperties_DatabaseType) Number
func (x CloudSqlProperties_DatabaseType) Number() protoreflect.EnumNumber
func (CloudSqlProperties_DatabaseType) String
func (x CloudSqlProperties_DatabaseType) String() string
func (CloudSqlProperties_DatabaseType) Type
func (CloudSqlProperties_DatabaseType) Type() protoreflect.EnumType
Connection
type Connection struct {
// The resource name of the connection in the form of:
// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// User provided display name for the connection.
FriendlyName