sql

package
v0.0.0-...-bd15449 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode_name = map[int32]string{
		0: "EXTERNAL_SYNC_MODE_UNSPECIFIED",
		1: "ONLINE",
		2: "OFFLINE",
	}
	SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode_value = map[string]int32{
		"EXTERNAL_SYNC_MODE_UNSPECIFIED": 0,
		"ONLINE":                         1,
		"OFFLINE":                        2,
	}
)

Enum value maps for SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode.

View Source
var (
	SqlFileType_name = map[int32]string{
		0: "SQL_FILE_TYPE_UNSPECIFIED",
		1: "SQL",
		2: "CSV",
		4: "BAK",
	}
	SqlFileType_value = map[string]int32{
		"SQL_FILE_TYPE_UNSPECIFIED": 0,
		"SQL":                       1,
		"CSV":                       2,
		"BAK":                       4,
	}
)

Enum value maps for SqlFileType.

View Source
var (
	SqlBackupRunStatus_name = map[int32]string{
		0: "SQL_BACKUP_RUN_STATUS_UNSPECIFIED",
		1: "ENQUEUED",
		2: "OVERDUE",
		3: "RUNNING",
		4: "FAILED",
		5: "SUCCESSFUL",
		6: "SKIPPED",
		7: "DELETION_PENDING",
		8: "DELETION_FAILED",
		9: "DELETED",
	}
	SqlBackupRunStatus_value = map[string]int32{
		"SQL_BACKUP_RUN_STATUS_UNSPECIFIED": 0,
		"ENQUEUED":                          1,
		"OVERDUE":                           2,
		"RUNNING":                           3,
		"FAILED":                            4,
		"SUCCESSFUL":                        5,
		"SKIPPED":                           6,
		"DELETION_PENDING":                  7,
		"DELETION_FAILED":                   8,
		"DELETED":                           9,
	}
)

Enum value maps for SqlBackupRunStatus.

View Source
var (
	SqlBackupRunType_name = map[int32]string{
		0: "SQL_BACKUP_RUN_TYPE_UNSPECIFIED",
		1: "AUTOMATED",
		2: "ON_DEMAND",
	}
	SqlBackupRunType_value = map[string]int32{
		"SQL_BACKUP_RUN_TYPE_UNSPECIFIED": 0,
		"AUTOMATED":                       1,
		"ON_DEMAND":                       2,
	}
)

Enum value maps for SqlBackupRunType.

View Source
var (
	SqlBackupKind_name = map[int32]string{
		0: "SQL_BACKUP_KIND_UNSPECIFIED",
		1: "SNAPSHOT",
		2: "PHYSICAL",
	}
	SqlBackupKind_value = map[string]int32{
		"SQL_BACKUP_KIND_UNSPECIFIED": 0,
		"SNAPSHOT":                    1,
		"PHYSICAL":                    2,
	}
)

Enum value maps for SqlBackupKind.

View Source
var (
	SqlBackendType_name = map[int32]string{
		0: "SQL_BACKEND_TYPE_UNSPECIFIED",
		1: "FIRST_GEN",
		2: "SECOND_GEN",
		3: "EXTERNAL",
	}
	SqlBackendType_value = map[string]int32{
		"SQL_BACKEND_TYPE_UNSPECIFIED": 0,
		"FIRST_GEN":                    1,
		"SECOND_GEN":                   2,
		"EXTERNAL":                     3,
	}
)

Enum value maps for SqlBackendType.

View Source
var (
	SqlIpAddressType_name = map[int32]string{
		0: "SQL_IP_ADDRESS_TYPE_UNSPECIFIED",
		1: "PRIMARY",
		2: "OUTGOING",
		3: "PRIVATE",
		4: "MIGRATED_1ST_GEN",
	}
	SqlIpAddressType_value = map[string]int32{
		"SQL_IP_ADDRESS_TYPE_UNSPECIFIED": 0,
		"PRIMARY":                         1,
		"OUTGOING":                        2,
		"PRIVATE":                         3,
		"MIGRATED_1ST_GEN":                4,
	}
)

Enum value maps for SqlIpAddressType.

View Source
var (
	SqlInstanceType_name = map[int32]string{
		0: "SQL_INSTANCE_TYPE_UNSPECIFIED",
		1: "CLOUD_SQL_INSTANCE",
		2: "ON_PREMISES_INSTANCE",
		3: "READ_REPLICA_INSTANCE",
	}
	SqlInstanceType_value = map[string]int32{
		"SQL_INSTANCE_TYPE_UNSPECIFIED": 0,
		"CLOUD_SQL_INSTANCE":            1,
		"ON_PREMISES_INSTANCE":          2,
		"READ_REPLICA_INSTANCE":         3,
	}
)

Enum value maps for SqlInstanceType.

View Source
var (
	SqlDatabaseVersion_name = map[int32]string{
		0:   "SQL_DATABASE_VERSION_UNSPECIFIED",
		2:   "MYSQL_5_1",
		3:   "MYSQL_5_5",
		5:   "MYSQL_5_6",
		6:   "MYSQL_5_7",
		9:   "POSTGRES_9_6",
		10:  "POSTGRES_11",
		11:  "SQLSERVER_2017_STANDARD",
		14:  "SQLSERVER_2017_ENTERPRISE",
		15:  "SQLSERVER_2017_EXPRESS",
		16:  "SQLSERVER_2017_WEB",
		18:  "POSTGRES_10",
		19:  "POSTGRES_12",
		20:  "MYSQL_8_0",
		41:  "MYSQL_8_0_18",
		85:  "MYSQL_8_0_26",
		111: "MYSQL_8_0_27",
		132: "MYSQL_8_0_28",
		23:  "POSTGRES_13",
		110: "POSTGRES_14",
		26:  "SQLSERVER_2019_STANDARD",
		27:  "SQLSERVER_2019_ENTERPRISE",
		28:  "SQLSERVER_2019_EXPRESS",
		29:  "SQLSERVER_2019_WEB",
	}
	SqlDatabaseVersion_value = map[string]int32{
		"SQL_DATABASE_VERSION_UNSPECIFIED": 0,
		"MYSQL_5_1":                        2,
		"MYSQL_5_5":                        3,
		"MYSQL_5_6":                        5,
		"MYSQL_5_7":                        6,
		"POSTGRES_9_6":                     9,
		"POSTGRES_11":                      10,
		"SQLSERVER_2017_STANDARD":          11,
		"SQLSERVER_2017_ENTERPRISE":        14,
		"SQLSERVER_2017_EXPRESS":           15,
		"SQLSERVER_2017_WEB":               16,
		"POSTGRES_10":                      18,
		"POSTGRES_12":                      19,
		"MYSQL_8_0":                        20,
		"MYSQL_8_0_18":                     41,
		"MYSQL_8_0_26":                     85,
		"MYSQL_8_0_27":                     111,
		"MYSQL_8_0_28":                     132,
		"POSTGRES_13":                      23,
		"POSTGRES_14":                      110,
		"SQLSERVER_2019_STANDARD":          26,
		"SQLSERVER_2019_ENTERPRISE":        27,
		"SQLSERVER_2019_EXPRESS":           28,
		"SQLSERVER_2019_WEB":               29,
	}
)

Enum value maps for SqlDatabaseVersion.

View Source
var (
	SqlSuspensionReason_name = map[int32]string{
		0: "SQL_SUSPENSION_REASON_UNSPECIFIED",
		2: "BILLING_ISSUE",
		3: "LEGAL_ISSUE",
		4: "OPERATIONAL_ISSUE",
		5: "KMS_KEY_ISSUE",
	}
	SqlSuspensionReason_value = map[string]int32{
		"SQL_SUSPENSION_REASON_UNSPECIFIED": 0,
		"BILLING_ISSUE":                     2,
		"LEGAL_ISSUE":                       3,
		"OPERATIONAL_ISSUE":                 4,
		"KMS_KEY_ISSUE":                     5,
	}
)

Enum value maps for SqlSuspensionReason.

View Source
var (
	SqlPricingPlan_name = map[int32]string{
		0: "SQL_PRICING_PLAN_UNSPECIFIED",
		1: "PACKAGE",
		2: "PER_USE",
	}
	SqlPricingPlan_value = map[string]int32{
		"SQL_PRICING_PLAN_UNSPECIFIED": 0,
		"PACKAGE":                      1,
		"PER_USE":                      2,
	}
)

Enum value maps for SqlPricingPlan.

View Source
var (
	SqlReplicationType_name = map[int32]string{
		0: "SQL_REPLICATION_TYPE_UNSPECIFIED",
		1: "SYNCHRONOUS",
		2: "ASYNCHRONOUS",
	}
	SqlReplicationType_value = map[string]int32{
		"SQL_REPLICATION_TYPE_UNSPECIFIED": 0,
		"SYNCHRONOUS":                      1,
		"ASYNCHRONOUS":                     2,
	}
)

Enum value maps for SqlReplicationType.

View Source
var (
	SqlDataDiskType_name = map[int32]string{
		0: "SQL_DATA_DISK_TYPE_UNSPECIFIED",
		1: "PD_SSD",
		2: "PD_HDD",
		3: "OBSOLETE_LOCAL_SSD",
	}
	SqlDataDiskType_value = map[string]int32{
		"SQL_DATA_DISK_TYPE_UNSPECIFIED": 0,
		"PD_SSD":                         1,
		"PD_HDD":                         2,
		"OBSOLETE_LOCAL_SSD":             3,
	}
)

Enum value maps for SqlDataDiskType.

View Source
var (
	SqlAvailabilityType_name = map[int32]string{
		0: "SQL_AVAILABILITY_TYPE_UNSPECIFIED",
		1: "ZONAL",
		2: "REGIONAL",
	}
	SqlAvailabilityType_value = map[string]int32{
		"SQL_AVAILABILITY_TYPE_UNSPECIFIED": 0,
		"ZONAL":                             1,
		"REGIONAL":                          2,
	}
)

Enum value maps for SqlAvailabilityType.

View Source
var (
	SqlUpdateTrack_name = map[int32]string{
		0: "SQL_UPDATE_TRACK_UNSPECIFIED",
		1: "canary",
		2: "stable",
	}
	SqlUpdateTrack_value = map[string]int32{
		"SQL_UPDATE_TRACK_UNSPECIFIED": 0,
		"canary":                       1,
		"stable":                       2,
	}
)

Enum value maps for SqlUpdateTrack.

View Source
var (
	SqlFlagType_name = map[int32]string{
		0: "SQL_FLAG_TYPE_UNSPECIFIED",
		1: "BOOLEAN",
		2: "STRING",
		3: "INTEGER",
		4: "NONE",
		5: "MYSQL_TIMEZONE_OFFSET",
		6: "FLOAT",
		7: "REPEATED_STRING",
	}
	SqlFlagType_value = map[string]int32{
		"SQL_FLAG_TYPE_UNSPECIFIED": 0,
		"BOOLEAN":                   1,
		"STRING":                    2,
		"INTEGER":                   3,
		"NONE":                      4,
		"MYSQL_TIMEZONE_OFFSET":     5,
		"FLOAT":                     6,
		"REPEATED_STRING":           7,
	}
)

Enum value maps for SqlFlagType.

View Source
var (
	ApiWarning_SqlApiWarningCode_name = map[int32]string{
		0: "SQL_API_WARNING_CODE_UNSPECIFIED",
		1: "REGION_UNREACHABLE",
	}
	ApiWarning_SqlApiWarningCode_value = map[string]int32{
		"SQL_API_WARNING_CODE_UNSPECIFIED": 0,
		"REGION_UNREACHABLE":               1,
	}
)

Enum value maps for ApiWarning_SqlApiWarningCode.

View Source
var (
	BackupRetentionSettings_RetentionUnit_name = map[int32]string{
		0: "RETENTION_UNIT_UNSPECIFIED",
		1: "COUNT",
	}
	BackupRetentionSettings_RetentionUnit_value = map[string]int32{
		"RETENTION_UNIT_UNSPECIFIED": 0,
		"COUNT":                      1,
	}
)

Enum value maps for BackupRetentionSettings_RetentionUnit.

View Source
var (
	DatabaseInstance_SqlInstanceState_name = map[int32]string{
		0: "SQL_INSTANCE_STATE_UNSPECIFIED",
		1: "RUNNABLE",
		2: "SUSPENDED",
		3: "PENDING_DELETE",
		4: "PENDING_CREATE",
		5: "MAINTENANCE",
		6: "FAILED",
		7: "ONLINE_MAINTENANCE",
	}
	DatabaseInstance_SqlInstanceState_value = map[string]int32{
		"SQL_INSTANCE_STATE_UNSPECIFIED": 0,
		"RUNNABLE":                       1,
		"SUSPENDED":                      2,
		"PENDING_DELETE":                 3,
		"PENDING_CREATE":                 4,
		"MAINTENANCE":                    5,
		"FAILED":                         6,
		"ONLINE_MAINTENANCE":             7,
	}
)

Enum value maps for DatabaseInstance_SqlInstanceState.

View Source
var (
	DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState_name = map[int32]string{
		0: "SQL_OUT_OF_DISK_STATE_UNSPECIFIED",
		1: "NORMAL",
		2: "SOFT_SHUTDOWN",
	}
	DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState_value = map[string]int32{
		"SQL_OUT_OF_DISK_STATE_UNSPECIFIED": 0,
		"NORMAL":                            1,
		"SOFT_SHUTDOWN":                     2,
	}
)

Enum value maps for DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState.

View Source
var (
	SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType_name = map[int32]string{
		0:  "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED",
		1:  "CONNECTION_FAILURE",
		2:  "BINLOG_NOT_ENABLED",
		3:  "INCOMPATIBLE_DATABASE_VERSION",
		4:  "REPLICA_ALREADY_SETUP",
		5:  "INSUFFICIENT_PRIVILEGE",
		6:  "UNSUPPORTED_MIGRATION_TYPE",
		7:  "NO_PGLOGICAL_INSTALLED",
		8:  "PGLOGICAL_NODE_ALREADY_EXISTS",
		9:  "INVALID_WAL_LEVEL",
		10: "INVALID_SHARED_PRELOAD_LIBRARY",
		11: "INSUFFICIENT_MAX_REPLICATION_SLOTS",
		12: "INSUFFICIENT_MAX_WAL_SENDERS",
		13: "INSUFFICIENT_MAX_WORKER_PROCESSES",
		14: "UNSUPPORTED_EXTENSIONS",
		15: "INVALID_RDS_LOGICAL_REPLICATION",
		16: "INVALID_LOGGING_SETUP",
		17: "INVALID_DB_PARAM",
		18: "UNSUPPORTED_GTID_MODE",
		19: "SQLSERVER_AGENT_NOT_RUNNING",
		20: "UNSUPPORTED_TABLE_DEFINITION",
		21: "UNSUPPORTED_DEFINER",
		22: "SQLSERVER_SERVERNAME_MISMATCH",
		23: "PRIMARY_ALREADY_SETUP",
		24: "UNSUPPORTED_BINLOG_FORMAT",
		25: "BINLOG_RETENTION_SETTING",
		26: "UNSUPPORTED_STORAGE_ENGINE",
	}
	SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType_value = map[string]int32{
		"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED": 0,
		"CONNECTION_FAILURE":                 1,
		"BINLOG_NOT_ENABLED":                 2,
		"INCOMPATIBLE_DATABASE_VERSION":      3,
		"REPLICA_ALREADY_SETUP":              4,
		"INSUFFICIENT_PRIVILEGE":             5,
		"UNSUPPORTED_MIGRATION_TYPE":         6,
		"NO_PGLOGICAL_INSTALLED":             7,
		"PGLOGICAL_NODE_ALREADY_EXISTS":      8,
		"INVALID_WAL_LEVEL":                  9,
		"INVALID_SHARED_PRELOAD_LIBRARY":     10,
		"INSUFFICIENT_MAX_REPLICATION_SLOTS": 11,
		"INSUFFICIENT_MAX_WAL_SENDERS":       12,
		"INSUFFICIENT_MAX_WORKER_PROCESSES":  13,
		"UNSUPPORTED_EXTENSIONS":             14,
		"INVALID_RDS_LOGICAL_REPLICATION":    15,
		"INVALID_LOGGING_SETUP":              16,
		"INVALID_DB_PARAM":                   17,
		"UNSUPPORTED_GTID_MODE":              18,
		"SQLSERVER_AGENT_NOT_RUNNING":        19,
		"UNSUPPORTED_TABLE_DEFINITION":       20,
		"UNSUPPORTED_DEFINER":                21,
		"SQLSERVER_SERVERNAME_MISMATCH":      22,
		"PRIMARY_ALREADY_SETUP":              23,
		"UNSUPPORTED_BINLOG_FORMAT":          24,
		"BINLOG_RETENTION_SETTING":           25,
		"UNSUPPORTED_STORAGE_ENGINE":         26,
	}
)

Enum value maps for SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType.

View Source
var (
	Operation_SqlOperationType_name = map[int32]string{
		0:  "SQL_OPERATION_TYPE_UNSPECIFIED",
		1:  "IMPORT",
		2:  "EXPORT",
		3:  "CREATE",
		4:  "UPDATE",
		5:  "DELETE",
		6:  "RESTART",
		7:  "BACKUP",
		8:  "SNAPSHOT",
		9:  "BACKUP_VOLUME",
		10: "DELETE_VOLUME",
		11: "RESTORE_VOLUME",
		12: "INJECT_USER",
		14: "CLONE",
		15: "STOP_REPLICA",
		16: "START_REPLICA",
		17: "PROMOTE_REPLICA",
		18: "CREATE_REPLICA",
		19: "CREATE_USER",
		20: "DELETE_USER",
		21: "UPDATE_USER",
		22: "CREATE_DATABASE",
		23: "DELETE_DATABASE",
		24: "UPDATE_DATABASE",
		25: "FAILOVER",
		26: "DELETE_BACKUP",
		27: "RECREATE_REPLICA",
		28: "TRUNCATE_LOG",
		29: "DEMOTE_MASTER",
		30: "MAINTENANCE",
		31: "ENABLE_PRIVATE_IP",
		32: "DEFER_MAINTENANCE",
		33: "CREATE_CLONE",
		34: "RESCHEDULE_MAINTENANCE",
		35: "START_EXTERNAL_SYNC",
	}
	Operation_SqlOperationType_value = map[string]int32{
		"SQL_OPERATION_TYPE_UNSPECIFIED": 0,
		"IMPORT":                         1,
		"EXPORT":                         2,
		"CREATE":                         3,
		"UPDATE":                         4,
		"DELETE":                         5,
		"RESTART":                        6,
		"BACKUP":                         7,
		"SNAPSHOT":                       8,
		"BACKUP_VOLUME":                  9,
		"DELETE_VOLUME":                  10,
		"RESTORE_VOLUME":                 11,
		"INJECT_USER":                    12,
		"CLONE":                          14,
		"STOP_REPLICA":                   15,
		"START_REPLICA":                  16,
		"PROMOTE_REPLICA":                17,
		"CREATE_REPLICA":                 18,
		"CREATE_USER":                    19,
		"DELETE_USER":                    20,
		"UPDATE_USER":                    21,
		"CREATE_DATABASE":                22,
		"DELETE_DATABASE":                23,
		"UPDATE_DATABASE":                24,
		"FAILOVER":                       25,
		"DELETE_BACKUP":                  26,
		"RECREATE_REPLICA":               27,
		"TRUNCATE_LOG":                   28,
		"DEMOTE_MASTER":                  29,
		"MAINTENANCE":                    30,
		"ENABLE_PRIVATE_IP":              31,
		"DEFER_MAINTENANCE":              32,
		"CREATE_CLONE":                   33,
		"RESCHEDULE_MAINTENANCE":         34,
		"START_EXTERNAL_SYNC":            35,
	}
)

Enum value maps for Operation_SqlOperationType.

View Source
var (
	Operation_SqlOperationStatus_name = map[int32]string{
		0: "SQL_OPERATION_STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
	}
	Operation_SqlOperationStatus_value = map[string]int32{
		"SQL_OPERATION_STATUS_UNSPECIFIED": 0,
		"PENDING":                          1,
		"RUNNING":                          2,
		"DONE":                             3,
	}
)

Enum value maps for Operation_SqlOperationStatus.

View Source
var (
	PasswordValidationPolicy_Complexity_name = map[int32]string{
		0: "COMPLEXITY_UNSPECIFIED",
		1: "COMPLEXITY_DEFAULT",
	}
	PasswordValidationPolicy_Complexity_value = map[string]int32{
		"COMPLEXITY_UNSPECIFIED": 0,
		"COMPLEXITY_DEFAULT":     1,
	}
)

Enum value maps for PasswordValidationPolicy_Complexity.

View Source
var (
	Settings_SqlActivationPolicy_name = map[int32]string{
		0: "SQL_ACTIVATION_POLICY_UNSPECIFIED",
		1: "ALWAYS",
		2: "NEVER",
		3: "ON_DEMAND",
	}
	Settings_SqlActivationPolicy_value = map[string]int32{
		"SQL_ACTIVATION_POLICY_UNSPECIFIED": 0,
		"ALWAYS":                            1,
		"NEVER":                             2,
		"ON_DEMAND":                         3,
	}
)

Enum value maps for Settings_SqlActivationPolicy.

View Source
var (
	SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType_name = map[int32]string{
		0: "RESCHEDULE_TYPE_UNSPECIFIED",
		1: "IMMEDIATE",
		2: "NEXT_AVAILABLE_WINDOW",
		3: "SPECIFIC_TIME",
	}
	SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType_value = map[string]int32{
		"RESCHEDULE_TYPE_UNSPECIFIED": 0,
		"IMMEDIATE":                   1,
		"NEXT_AVAILABLE_WINDOW":       2,
		"SPECIFIC_TIME":               3,
	}
)

Enum value maps for SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType.

View Source
var (
	User_SqlUserType_name = map[int32]string{
		0: "BUILT_IN",
		1: "CLOUD_IAM_USER",
		2: "CLOUD_IAM_SERVICE_ACCOUNT",
	}
	User_SqlUserType_value = map[string]int32{
		"BUILT_IN":                  0,
		"CLOUD_IAM_USER":            1,
		"CLOUD_IAM_SERVICE_ACCOUNT": 2,
	}
)

Enum value maps for User_SqlUserType.

View Source
var File_google_cloud_sql_v1beta4_cloud_sql_connect_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_sql_v1beta4_cloud_sql_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_sql_v1beta4_cloud_sql_resources_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_sql_v1beta4_cloud_sql_tiers_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_sql_v1beta4_cloud_sql_users_proto protoreflect.FileDescriptor

Functions

func RegisterSqlBackupRunsServiceServer

func RegisterSqlBackupRunsServiceServer(s *grpc.Server, srv SqlBackupRunsServiceServer)

func RegisterSqlConnectServiceServer

func RegisterSqlConnectServiceServer(s *grpc.Server, srv SqlConnectServiceServer)

func RegisterSqlDatabasesServiceServer

func RegisterSqlDatabasesServiceServer(s *grpc.Server, srv SqlDatabasesServiceServer)

func RegisterSqlFlagsServiceServer

func RegisterSqlFlagsServiceServer(s *grpc.Server, srv SqlFlagsServiceServer)

func RegisterSqlInstancesServiceServer

func RegisterSqlInstancesServiceServer(s *grpc.Server, srv SqlInstancesServiceServer)

func RegisterSqlOperationsServiceServer

func RegisterSqlOperationsServiceServer(s *grpc.Server, srv SqlOperationsServiceServer)

func RegisterSqlSslCertsServiceServer

func RegisterSqlSslCertsServiceServer(s *grpc.Server, srv SqlSslCertsServiceServer)

func RegisterSqlTiersServiceServer

func RegisterSqlTiersServiceServer(s *grpc.Server, srv SqlTiersServiceServer)

func RegisterSqlUsersServiceServer

func RegisterSqlUsersServiceServer(s *grpc.Server, srv SqlUsersServiceServer)

Types

type AclEntry

type AclEntry struct {

	// The allowlisted value for the access control list.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// The time when this access control entry expires in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Optional. A label to identify this entry.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// This is always `sql#aclEntry`.
	Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

An entry for an Access Control list.

func (*AclEntry) Descriptor deprecated

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

Deprecated: Use AclEntry.ProtoReflect.Descriptor instead.

func (*AclEntry) GetExpirationTime

func (x *AclEntry) GetExpirationTime() *timestamppb.Timestamp

func (*AclEntry) GetKind

func (x *AclEntry) GetKind() string

func (*AclEntry) GetName

func (x *AclEntry) GetName() string

func (*AclEntry) GetValue

func (x *AclEntry) GetValue() string

func (*AclEntry) ProtoMessage

func (*AclEntry) ProtoMessage()

func (*AclEntry) ProtoReflect

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

func (*AclEntry) Reset

func (x *AclEntry) Reset()

func (*AclEntry) String

func (x *AclEntry) String() string

type ApiWarning

type ApiWarning struct {

	// Code to uniquely identify the warning type.
	Code ApiWarning_SqlApiWarningCode `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.sql.v1beta4.ApiWarning_SqlApiWarningCode" json:"code,omitempty"`
	// The warning message.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// The region name for REGION_UNREACHABLE warning.
	Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

An Admin API warning message.

func (*ApiWarning) Descriptor deprecated

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

Deprecated: Use ApiWarning.ProtoReflect.Descriptor instead.

func (*ApiWarning) GetCode

func (*ApiWarning) GetMessage

func (x *ApiWarning) GetMessage() string

func (*ApiWarning) GetRegion

func (x *ApiWarning) GetRegion() string

func (*ApiWarning) ProtoMessage

func (*ApiWarning) ProtoMessage()

func (*ApiWarning) ProtoReflect

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

func (*ApiWarning) Reset

func (x *ApiWarning) Reset()

func (*ApiWarning) String

func (x *ApiWarning) String() string

type ApiWarning_SqlApiWarningCode

type ApiWarning_SqlApiWarningCode int32
const (
	// An unknown or unset warning type from Cloud SQL API.
	ApiWarning_SQL_API_WARNING_CODE_UNSPECIFIED ApiWarning_SqlApiWarningCode = 0
	// Warning when one or more regions are not reachable.  The returned result
	// set may be incomplete.
	ApiWarning_REGION_UNREACHABLE ApiWarning_SqlApiWarningCode = 1
)

func (ApiWarning_SqlApiWarningCode) Descriptor

func (ApiWarning_SqlApiWarningCode) Enum

func (ApiWarning_SqlApiWarningCode) EnumDescriptor deprecated

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

Deprecated: Use ApiWarning_SqlApiWarningCode.Descriptor instead.

func (ApiWarning_SqlApiWarningCode) Number

func (ApiWarning_SqlApiWarningCode) String

func (ApiWarning_SqlApiWarningCode) Type

type BackupConfiguration

type BackupConfiguration struct {

	// Start time for the daily backup configuration in UTC timezone in the 24
	// hour format - `HH:MM`.
	StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Whether this configuration is enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// This is always `sql#backupConfiguration`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// (MySQL only) Whether binary log is enabled. If backup configuration is
	// disabled, binarylog must be disabled as well.
	BinaryLogEnabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=binary_log_enabled,json=binaryLogEnabled,proto3" json:"binary_log_enabled,omitempty"`
	// Reserved for future use.
	ReplicationLogArchivingEnabled *wrapperspb.BoolValue `` /* 155-byte string literal not displayed */
	// Location of the backup
	Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
	// (Postgres only) Whether point in time recovery is enabled.
	PointInTimeRecoveryEnabled *wrapperspb.BoolValue `` /* 145-byte string literal not displayed */
	// The number of days of transaction logs we retain for point in time
	// restore, from 1-7.
	TransactionLogRetentionDays *wrapperspb.Int32Value `` /* 146-byte string literal not displayed */
	// Backup retention settings.
	BackupRetentionSettings *BackupRetentionSettings `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Database instance backup configuration.

func (*BackupConfiguration) Descriptor deprecated

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

Deprecated: Use BackupConfiguration.ProtoReflect.Descriptor instead.

func (*BackupConfiguration) GetBackupRetentionSettings

func (x *BackupConfiguration) GetBackupRetentionSettings() *BackupRetentionSettings

func (*BackupConfiguration) GetBinaryLogEnabled

func (x *BackupConfiguration) GetBinaryLogEnabled() *wrapperspb.BoolValue

func (*BackupConfiguration) GetEnabled

func (x *BackupConfiguration) GetEnabled() *wrapperspb.BoolValue

func (*BackupConfiguration) GetKind

func (x *BackupConfiguration) GetKind() string

func (*BackupConfiguration) GetLocation

func (x *BackupConfiguration) GetLocation() string

func (*BackupConfiguration) GetPointInTimeRecoveryEnabled

func (x *BackupConfiguration) GetPointInTimeRecoveryEnabled() *wrapperspb.BoolValue

func (*BackupConfiguration) GetReplicationLogArchivingEnabled

func (x *BackupConfiguration) GetReplicationLogArchivingEnabled() *wrapperspb.BoolValue

func (*BackupConfiguration) GetStartTime

func (x *BackupConfiguration) GetStartTime() string

func (*BackupConfiguration) GetTransactionLogRetentionDays

func (x *BackupConfiguration) GetTransactionLogRetentionDays() *wrapperspb.Int32Value

func (*BackupConfiguration) ProtoMessage

func (*BackupConfiguration) ProtoMessage()

func (*BackupConfiguration) ProtoReflect

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

func (*BackupConfiguration) Reset

func (x *BackupConfiguration) Reset()

func (*BackupConfiguration) String

func (x *BackupConfiguration) String() string

type BackupContext

type BackupContext struct {

	// The identifier of the backup.
	BackupId int64 `protobuf:"varint,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// This is always `sql#backupContext`.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Backup context.

func (*BackupContext) Descriptor deprecated

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

Deprecated: Use BackupContext.ProtoReflect.Descriptor instead.

func (*BackupContext) GetBackupId

func (x *BackupContext) GetBackupId() int64

func (*BackupContext) GetKind

func (x *BackupContext) GetKind() string

func (*BackupContext) ProtoMessage

func (*BackupContext) ProtoMessage()

func (*BackupContext) ProtoReflect

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

func (*BackupContext) Reset

func (x *BackupContext) Reset()

func (*BackupContext) String

func (x *BackupContext) String() string

type BackupRetentionSettings

type BackupRetentionSettings struct {

	// The unit that 'retained_backups' represents.
	RetentionUnit BackupRetentionSettings_RetentionUnit `` /* 169-byte string literal not displayed */
	// Depending on the value of retention_unit, this is used to determine
	// if a backup needs to be deleted.  If retention_unit is 'COUNT', we will
	// retain this many backups.
	RetainedBackups *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=retained_backups,json=retainedBackups,proto3" json:"retained_backups,omitempty"`
	// contains filtered or unexported fields
}

We currently only support backup retention by specifying the number of backups we will retain.

func (*BackupRetentionSettings) Descriptor deprecated

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

Deprecated: Use BackupRetentionSettings.ProtoReflect.Descriptor instead.

func (*BackupRetentionSettings) GetRetainedBackups

func (x *BackupRetentionSettings) GetRetainedBackups() *wrapperspb.Int32Value

func (*BackupRetentionSettings) GetRetentionUnit

func (*BackupRetentionSettings) ProtoMessage

func (*BackupRetentionSettings) ProtoMessage()

func (*BackupRetentionSettings) ProtoReflect

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

func (*BackupRetentionSettings) Reset

func (x *BackupRetentionSettings) Reset()

func (*BackupRetentionSettings) String

func (x *BackupRetentionSettings) String() string

type BackupRetentionSettings_RetentionUnit

type BackupRetentionSettings_RetentionUnit int32

The units that retained_backups specifies, we only support COUNT.

const (
	// Backup retention unit is unspecified, will be treated as COUNT.
	BackupRetentionSettings_RETENTION_UNIT_UNSPECIFIED BackupRetentionSettings_RetentionUnit = 0
	// Retention will be by count, eg. "retain the most recent 7 backups".
	BackupRetentionSettings_COUNT BackupRetentionSettings_RetentionUnit = 1
)

func (BackupRetentionSettings_RetentionUnit) Descriptor

func (BackupRetentionSettings_RetentionUnit) Enum

func (BackupRetentionSettings_RetentionUnit) EnumDescriptor deprecated

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

Deprecated: Use BackupRetentionSettings_RetentionUnit.Descriptor instead.

func (BackupRetentionSettings_RetentionUnit) Number

func (BackupRetentionSettings_RetentionUnit) String

func (BackupRetentionSettings_RetentionUnit) Type

type BackupRun

type BackupRun struct {

	// This is always `sql#backupRun`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The status of this run.
	Status SqlBackupRunStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.cloud.sql.v1beta4.SqlBackupRunStatus" json:"status,omitempty"`
	// The time the run was enqueued in UTC timezone in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	EnqueuedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=enqueued_time,json=enqueuedTime,proto3" json:"enqueued_time,omitempty"`
	// The identifier for this backup run. Unique only for a specific Cloud SQL
	// instance.
	Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
	// The time the backup operation actually started in UTC timezone in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the backup operation completed in UTC timezone in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Information about why the backup operation failed. This is only present if
	// the run has the FAILED status.
	Error *OperationError `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	// The type of this run; can be either "AUTOMATED" or "ON_DEMAND". This field
	// defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
	Type SqlBackupRunType `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.SqlBackupRunType" json:"type,omitempty"`
	// The description of this run, only applicable to on-demand backups.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// The start time of the backup window during which this the backup was
	// attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
	// example `2012-11-15T16:19:00.094Z`.
	WindowStartTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=window_start_time,json=windowStartTime,proto3" json:"window_start_time,omitempty"`
	// Name of the database instance.
	Instance string `protobuf:"bytes,11,opt,name=instance,proto3" json:"instance,omitempty"`
	// The URI of this resource.
	SelfLink string `protobuf:"bytes,12,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Location of the backups.
	Location string `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"`
	// Encryption configuration specific to a backup.
	DiskEncryptionConfiguration *DiskEncryptionConfiguration `` /* 145-byte string literal not displayed */
	// Encryption status specific to a backup.
	DiskEncryptionStatus *DiskEncryptionStatus `protobuf:"bytes,17,opt,name=disk_encryption_status,json=diskEncryptionStatus,proto3" json:"disk_encryption_status,omitempty"`
	// Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
	BackupKind SqlBackupKind `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

A BackupRun resource.

func (*BackupRun) Descriptor deprecated

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

Deprecated: Use BackupRun.ProtoReflect.Descriptor instead.

func (*BackupRun) GetBackupKind

func (x *BackupRun) GetBackupKind() SqlBackupKind

func (*BackupRun) GetDescription

func (x *BackupRun) GetDescription() string

func (*BackupRun) GetDiskEncryptionConfiguration

func (x *BackupRun) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration

func (*BackupRun) GetDiskEncryptionStatus

func (x *BackupRun) GetDiskEncryptionStatus() *DiskEncryptionStatus

func (*BackupRun) GetEndTime

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

func (*BackupRun) GetEnqueuedTime

func (x *BackupRun) GetEnqueuedTime() *timestamppb.Timestamp

func (*BackupRun) GetError

func (x *BackupRun) GetError() *OperationError

func (*BackupRun) GetId

func (x *BackupRun) GetId() int64

func (*BackupRun) GetInstance

func (x *BackupRun) GetInstance() string

func (*BackupRun) GetKind

func (x *BackupRun) GetKind() string

func (*BackupRun) GetLocation

func (x *BackupRun) GetLocation() string
func (x *BackupRun) GetSelfLink() string

func (*BackupRun) GetStartTime

func (x *BackupRun) GetStartTime() *timestamppb.Timestamp

func (*BackupRun) GetStatus

func (x *BackupRun) GetStatus() SqlBackupRunStatus

func (*BackupRun) GetType

func (x *BackupRun) GetType() SqlBackupRunType

func (*BackupRun) GetWindowStartTime

func (x *BackupRun) GetWindowStartTime() *timestamppb.Timestamp

func (*BackupRun) ProtoMessage

func (*BackupRun) ProtoMessage()

func (*BackupRun) ProtoReflect

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

func (*BackupRun) Reset

func (x *BackupRun) Reset()

func (*BackupRun) String

func (x *BackupRun) String() string

type BackupRunsListResponse

type BackupRunsListResponse struct {

	// This is always `sql#backupRunsList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// A list of backup runs in reverse chronological order of the enqueued time.
	Items []*BackupRun `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Backup run list results.

func (*BackupRunsListResponse) Descriptor deprecated

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

Deprecated: Use BackupRunsListResponse.ProtoReflect.Descriptor instead.

func (*BackupRunsListResponse) GetItems

func (x *BackupRunsListResponse) GetItems() []*BackupRun

func (*BackupRunsListResponse) GetKind

func (x *BackupRunsListResponse) GetKind() string

func (*BackupRunsListResponse) GetNextPageToken

func (x *BackupRunsListResponse) GetNextPageToken() string

func (*BackupRunsListResponse) ProtoMessage

func (*BackupRunsListResponse) ProtoMessage()

func (*BackupRunsListResponse) ProtoReflect

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

func (*BackupRunsListResponse) Reset

func (x *BackupRunsListResponse) Reset()

func (*BackupRunsListResponse) String

func (x *BackupRunsListResponse) String() string

type BinLogCoordinates

type BinLogCoordinates struct {

	// Name of the binary log file for a Cloud SQL instance.
	BinLogFileName string `protobuf:"bytes,1,opt,name=bin_log_file_name,json=binLogFileName,proto3" json:"bin_log_file_name,omitempty"`
	// Position (offset) within the binary log file.
	BinLogPosition int64 `protobuf:"varint,2,opt,name=bin_log_position,json=binLogPosition,proto3" json:"bin_log_position,omitempty"`
	// This is always `sql#binLogCoordinates`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Binary log coordinates.

func (*BinLogCoordinates) Descriptor deprecated

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

Deprecated: Use BinLogCoordinates.ProtoReflect.Descriptor instead.

func (*BinLogCoordinates) GetBinLogFileName

func (x *BinLogCoordinates) GetBinLogFileName() string

func (*BinLogCoordinates) GetBinLogPosition

func (x *BinLogCoordinates) GetBinLogPosition() int64

func (*BinLogCoordinates) GetKind

func (x *BinLogCoordinates) GetKind() string

func (*BinLogCoordinates) ProtoMessage

func (*BinLogCoordinates) ProtoMessage()

func (*BinLogCoordinates) ProtoReflect

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

func (*BinLogCoordinates) Reset

func (x *BinLogCoordinates) Reset()

func (*BinLogCoordinates) String

func (x *BinLogCoordinates) String() string

type CloneContext

type CloneContext struct {

	// This is always `sql#cloneContext`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Reserved for future use.
	PitrTimestampMs int64 `protobuf:"varint,2,opt,name=pitr_timestamp_ms,json=pitrTimestampMs,proto3" json:"pitr_timestamp_ms,omitempty"`
	// Name of the Cloud SQL instance to be created as a clone.
	DestinationInstanceName string `` /* 132-byte string literal not displayed */
	// Binary log coordinates, if specified, identify the position up to which the
	// source instance is cloned. If not specified, the source instance is
	// cloned up to the most recent binary log coordinates.
	BinLogCoordinates *BinLogCoordinates `protobuf:"bytes,4,opt,name=bin_log_coordinates,json=binLogCoordinates,proto3" json:"bin_log_coordinates,omitempty"`
	// Timestamp, if specified, identifies the time to which the source instance
	// is cloned.
	PointInTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=point_in_time,json=pointInTime,proto3" json:"point_in_time,omitempty"`
	// The name of the allocated ip range for the private ip CloudSQL instance.
	// For example: "google-managed-services-default". If set, the cloned instance
	// ip will be created in the allocated range. The range name must comply with
	// [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
	// must be 1-63 characters long and match the regular expression
	// [a-z]([-a-z0-9]*[a-z0-9])?.
	// Reserved for future use.
	AllocatedIpRange string `protobuf:"bytes,6,opt,name=allocated_ip_range,json=allocatedIpRange,proto3" json:"allocated_ip_range,omitempty"`
	// contains filtered or unexported fields
}

Database instance clone context.

func (*CloneContext) Descriptor deprecated

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

Deprecated: Use CloneContext.ProtoReflect.Descriptor instead.

func (*CloneContext) GetAllocatedIpRange

func (x *CloneContext) GetAllocatedIpRange() string

func (*CloneContext) GetBinLogCoordinates

func (x *CloneContext) GetBinLogCoordinates() *BinLogCoordinates

func (*CloneContext) GetDestinationInstanceName

func (x *CloneContext) GetDestinationInstanceName() string

func (*CloneContext) GetKind

func (x *CloneContext) GetKind() string

func (*CloneContext) GetPitrTimestampMs

func (x *CloneContext) GetPitrTimestampMs() int64

func (*CloneContext) GetPointInTime

func (x *CloneContext) GetPointInTime() *timestamppb.Timestamp

func (*CloneContext) ProtoMessage

func (*CloneContext) ProtoMessage()

func (*CloneContext) ProtoReflect

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

func (*CloneContext) Reset

func (x *CloneContext) Reset()

func (*CloneContext) String

func (x *CloneContext) String() string

type ConnectSettings

type ConnectSettings struct {

	// This is always `sql#connectSettings`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// SSL configuration.
	ServerCaCert *SslCert `protobuf:"bytes,2,opt,name=server_ca_cert,json=serverCaCert,proto3" json:"server_ca_cert,omitempty"`
	// The assigned IP addresses for the instance.
	IpAddresses []*IpMapping `protobuf:"bytes,3,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	// The cloud region for the instance. e.g. `us-central1`, `europe-west1`.
	// The region cannot be changed after instance creation.
	Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	// The database engine type and version. The `databaseVersion`
	// field cannot be changed after instance creation.
	//   MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
	// or `MYSQL_5_6`.
	//   PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
	// `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
	//   SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
	// `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
	// `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
	// `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
	// `SQLSERVER_2019_WEB`.
	DatabaseVersion SqlDatabaseVersion `` /* 157-byte string literal not displayed */
	// `SECOND_GEN`: Cloud SQL database instance.
	// `EXTERNAL`: A database server that is not managed by Google.
	// This property is read-only; use the `tier` property in the `settings`
	// object to determine the database type.
	BackendType SqlBackendType `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Connect settings retrieval response.

func (*ConnectSettings) Descriptor deprecated

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

Deprecated: Use ConnectSettings.ProtoReflect.Descriptor instead.

func (*ConnectSettings) GetBackendType

func (x *ConnectSettings) GetBackendType() SqlBackendType

func (*ConnectSettings) GetDatabaseVersion

func (x *ConnectSettings) GetDatabaseVersion() SqlDatabaseVersion

func (*ConnectSettings) GetIpAddresses

func (x *ConnectSettings) GetIpAddresses() []*IpMapping

func (*ConnectSettings) GetKind

func (x *ConnectSettings) GetKind() string

func (*ConnectSettings) GetRegion

func (x *ConnectSettings) GetRegion() string

func (*ConnectSettings) GetServerCaCert

func (x *ConnectSettings) GetServerCaCert() *SslCert

func (*ConnectSettings) ProtoMessage

func (*ConnectSettings) ProtoMessage()

func (*ConnectSettings) ProtoReflect

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

func (*ConnectSettings) Reset

func (x *ConnectSettings) Reset()

func (*ConnectSettings) String

func (x *ConnectSettings) String() string

type Database

type Database struct {

	// This is always `sql#database`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The Cloud SQL charset value.
	Charset string `protobuf:"bytes,2,opt,name=charset,proto3" json:"charset,omitempty"`
	// The Cloud SQL collation value.
	Collation string `protobuf:"bytes,3,opt,name=collation,proto3" json:"collation,omitempty"`
	// This field is deprecated and will be removed from a future version of the
	// API.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// The name of the database in the Cloud SQL instance. This does not include
	// the project ID or instance name.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the Cloud SQL instance. This does not include the project ID.
	Instance string `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"`
	// The URI of this resource.
	SelfLink string `protobuf:"bytes,7,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// The project ID of the project containing the Cloud SQL database. The Google
	// apps domain is prefixed if applicable.
	Project string `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"`
	// Types that are assignable to DatabaseDetails:
	//	*Database_SqlserverDatabaseDetails
	DatabaseDetails isDatabase_DatabaseDetails `protobuf_oneof:"database_details"`
	// contains filtered or unexported fields
}

Represents a SQL database on the Cloud SQL instance.

func (*Database) Descriptor deprecated

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

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetCharset

func (x *Database) GetCharset() string

func (*Database) GetCollation

func (x *Database) GetCollation() string

func (*Database) GetDatabaseDetails

func (m *Database) GetDatabaseDetails() isDatabase_DatabaseDetails

func (*Database) GetEtag

func (x *Database) GetEtag() string

func (*Database) GetInstance

func (x *Database) GetInstance() string

func (*Database) GetKind

func (x *Database) GetKind() string

func (*Database) GetName

func (x *Database) GetName() string

func (*Database) GetProject

func (x *Database) GetProject() string
func (x *Database) GetSelfLink() string

func (*Database) GetSqlserverDatabaseDetails

func (x *Database) GetSqlserverDatabaseDetails() *SqlServerDatabaseDetails

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

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

func (*Database) Reset

func (x *Database) Reset()

func (*Database) String

func (x *Database) String() string

type DatabaseFlags

type DatabaseFlags struct {

	// The name of the flag. These flags are passed at instance startup, so
	// include both server options and system variables. Flags are
	// specified with underscores, not hyphens. For more information, see
	// [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags)
	// in the Cloud SQL documentation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The value of the flag. Boolean flags are set to `on` for true
	// and `off` for false. This field must be omitted if the flag
	// doesn't take a value.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Database flags for Cloud SQL instances.

func (*DatabaseFlags) Descriptor deprecated

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

Deprecated: Use DatabaseFlags.ProtoReflect.Descriptor instead.

func (*DatabaseFlags) GetName

func (x *DatabaseFlags) GetName() string

func (*DatabaseFlags) GetValue

func (x *DatabaseFlags) GetValue() string

func (*DatabaseFlags) ProtoMessage

func (*DatabaseFlags) ProtoMessage()

func (*DatabaseFlags) ProtoReflect

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

func (*DatabaseFlags) Reset

func (x *DatabaseFlags) Reset()

func (*DatabaseFlags) String

func (x *DatabaseFlags) String() string

type DatabaseInstance

type DatabaseInstance struct {

	// This is always `sql#instance`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The current serving state of the Cloud SQL instance.
	State DatabaseInstance_SqlInstanceState `` /* 128-byte string literal not displayed */
	// The database engine type and version. The `databaseVersion` field cannot
	// be changed after instance creation.
	DatabaseVersion SqlDatabaseVersion `` /* 156-byte string literal not displayed */
	// The user settings.
	Settings *Settings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"`
	// This field is deprecated and will be removed from a future version of the
	// API. Use the `settings.settingsVersion` field instead.
	Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
	// The name and status of the failover replica.
	FailoverReplica *DatabaseInstance_SqlFailoverReplica `protobuf:"bytes,6,opt,name=failover_replica,json=failoverReplica,proto3" json:"failover_replica,omitempty"`
	// The name of the instance which will act as primary in the replication
	// setup.
	MasterInstanceName string `protobuf:"bytes,7,opt,name=master_instance_name,json=masterInstanceName,proto3" json:"master_instance_name,omitempty"`
	// The replicas of the instance.
	ReplicaNames []string `protobuf:"bytes,8,rep,name=replica_names,json=replicaNames,proto3" json:"replica_names,omitempty"`
	// The maximum disk size of the instance in bytes.
	//
	// Deprecated: Do not use.
	MaxDiskSize *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=max_disk_size,json=maxDiskSize,proto3" json:"max_disk_size,omitempty"`
	// The current disk usage of the instance in bytes. This property has been
	// deprecated. Use the
	// "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
	// Monitoring API instead. Please see [this
	// announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
	// for details.
	//
	// Deprecated: Do not use.
	CurrentDiskSize *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=current_disk_size,json=currentDiskSize,proto3" json:"current_disk_size,omitempty"`
	// The assigned IP addresses for the instance.
	IpAddresses []*IpMapping `protobuf:"bytes,11,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	// SSL configuration.
	ServerCaCert *SslCert `protobuf:"bytes,12,opt,name=server_ca_cert,json=serverCaCert,proto3" json:"server_ca_cert,omitempty"`
	// The instance type.
	InstanceType SqlInstanceType `` /* 145-byte string literal not displayed */
	// The project ID of the project containing the Cloud SQL instance. The Google
	// apps domain is prefixed if applicable.
	Project string `protobuf:"bytes,14,opt,name=project,proto3" json:"project,omitempty"`
	// The IPv6 address assigned to the instance.
	// (Deprecated) This property was applicable only
	// to First Generation instances.
	//
	// Deprecated: Do not use.
	Ipv6Address string `protobuf:"bytes,15,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"`
	// The service account email address assigned to the instance. \This
	// property is read-only.
	ServiceAccountEmailAddress string `` /* 144-byte string literal not displayed */
	// Configuration specific to on-premises instances.
	OnPremisesConfiguration *OnPremisesConfiguration `` /* 133-byte string literal not displayed */
	// Configuration specific to failover replicas and read replicas.
	ReplicaConfiguration *ReplicaConfiguration `protobuf:"bytes,18,opt,name=replica_configuration,json=replicaConfiguration,proto3" json:"replica_configuration,omitempty"`
	// The backend type.
	// `SECOND_GEN`: Cloud SQL database instance.
	// `EXTERNAL`: A database server that is not managed by Google.
	//
	// This property is read-only; use the `tier` property in the `settings`
	// object to determine the database type.
	BackendType SqlBackendType `` /* 141-byte string literal not displayed */
	// The URI of this resource.
	SelfLink string `protobuf:"bytes,20,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// If the instance state is SUSPENDED, the reason for the suspension.
	SuspensionReason []SqlSuspensionReason `` /* 168-byte string literal not displayed */
	// Connection name of the Cloud SQL instance used in connection strings.
	ConnectionName string `protobuf:"bytes,22,opt,name=connection_name,json=connectionName,proto3" json:"connection_name,omitempty"`
	// Name of the Cloud SQL instance. This does not include the project ID.
	Name string `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"`
	// The geographical region. Can be:
	// *  `us-central` (`FIRST_GEN` instances only)
	// *  `us-central1` (`SECOND_GEN` instances only)
	// *  `asia-east1` or `europe-west1`.
	//
	// Defaults to `us-central` or `us-central1` depending on the instance
	// type. The region cannot be changed after instance creation.
	Region string `protobuf:"bytes,24,opt,name=region,proto3" json:"region,omitempty"`
	// The Compute Engine zone that the instance is currently serving from. This
	// value could be different from the zone that was specified when the instance
	// was created if the instance has failed over to its secondary zone. WARNING:
	// Changing this might restart the instance.
	GceZone string `protobuf:"bytes,25,opt,name=gce_zone,json=gceZone,proto3" json:"gce_zone,omitempty"`
	// The Compute Engine zone that the failover instance is currently serving
	// from for a regional instance. This value could be different
	// from the zone that was specified when the instance
	// was created if the instance has failed over to its secondary/failover zone.
	SecondaryGceZone string `protobuf:"bytes,34,opt,name=secondary_gce_zone,json=secondaryGceZone,proto3" json:"secondary_gce_zone,omitempty"`
	// Disk encryption configuration specific to an instance.
	DiskEncryptionConfiguration *DiskEncryptionConfiguration `` /* 145-byte string literal not displayed */
	// Disk encryption status specific to an instance.
	DiskEncryptionStatus *DiskEncryptionStatus `protobuf:"bytes,27,opt,name=disk_encryption_status,json=diskEncryptionStatus,proto3" json:"disk_encryption_status,omitempty"`
	// Initial root password. Use only on creation.
	RootPassword string `protobuf:"bytes,29,opt,name=root_password,json=rootPassword,proto3" json:"root_password,omitempty"`
	// The start time of any upcoming scheduled maintenance for this instance.
	ScheduledMaintenance *DatabaseInstance_SqlScheduledMaintenance `protobuf:"bytes,30,opt,name=scheduled_maintenance,json=scheduledMaintenance,proto3" json:"scheduled_maintenance,omitempty"`
	// The status indicating if instance satisfiesPzs.
	// Reserved for future use.
	SatisfiesPzs *wrapperspb.BoolValue `protobuf:"bytes,35,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
	// Output only. Stores the current database version running on the instance including
	// minor version such as `MYSQL_8_0_18`.
	DatabaseInstalledVersion string `` /* 136-byte string literal not displayed */
	// This field represents the report generated by the proactive database
	// wellness job for OutOfDisk issues.
	// *  Writers:
	//   *  the proactive database wellness job for OOD.
	// *  Readers:
	//   *  the proactive database wellness job
	OutOfDiskReport *DatabaseInstance_SqlOutOfDiskReport `protobuf:"bytes,38,opt,name=out_of_disk_report,json=outOfDiskReport,proto3,oneof" json:"out_of_disk_report,omitempty"`
	// Output only. The time when the instance was created in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,39,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// List all maintenance versions applicable on the instance
	AvailableMaintenanceVersions []string `` /* 148-byte string literal not displayed */
	// The current software version on the instance.
	MaintenanceVersion string `protobuf:"bytes,42,opt,name=maintenance_version,json=maintenanceVersion,proto3" json:"maintenance_version,omitempty"`
	// contains filtered or unexported fields
}

A Cloud SQL instance resource.

func (*DatabaseInstance) Descriptor deprecated

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

Deprecated: Use DatabaseInstance.ProtoReflect.Descriptor instead.

func (*DatabaseInstance) GetAvailableMaintenanceVersions

func (x *DatabaseInstance) GetAvailableMaintenanceVersions() []string

func (*DatabaseInstance) GetBackendType

func (x *DatabaseInstance) GetBackendType() SqlBackendType

func (*DatabaseInstance) GetConnectionName

func (x *DatabaseInstance) GetConnectionName() string

func (*DatabaseInstance) GetCreateTime

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

func (*DatabaseInstance) GetCurrentDiskSize deprecated

func (x *DatabaseInstance) GetCurrentDiskSize() *wrapperspb.Int64Value

Deprecated: Do not use.

func (*DatabaseInstance) GetDatabaseInstalledVersion

func (x *DatabaseInstance) GetDatabaseInstalledVersion() string

func (*DatabaseInstance) GetDatabaseVersion

func (x *DatabaseInstance) GetDatabaseVersion() SqlDatabaseVersion

func (*DatabaseInstance) GetDiskEncryptionConfiguration

func (x *DatabaseInstance) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration

func (*DatabaseInstance) GetDiskEncryptionStatus

func (x *DatabaseInstance) GetDiskEncryptionStatus() *DiskEncryptionStatus

func (*DatabaseInstance) GetEtag

func (x *DatabaseInstance) GetEtag() string

func (*DatabaseInstance) GetFailoverReplica

func (x *DatabaseInstance) GetFailoverReplica() *DatabaseInstance_SqlFailoverReplica

func (*DatabaseInstance) GetGceZone

func (x *DatabaseInstance) GetGceZone() string

func (*DatabaseInstance) GetInstanceType

func (x *DatabaseInstance) GetInstanceType() SqlInstanceType

func (*DatabaseInstance) GetIpAddresses

func (x *DatabaseInstance) GetIpAddresses() []*IpMapping

func (*DatabaseInstance) GetIpv6Address deprecated

func (x *DatabaseInstance) GetIpv6Address() string

Deprecated: Do not use.

func (*DatabaseInstance) GetKind

func (x *DatabaseInstance) GetKind() string

func (*DatabaseInstance) GetMaintenanceVersion

func (x *DatabaseInstance) GetMaintenanceVersion() string

func (*DatabaseInstance) GetMasterInstanceName

func (x *DatabaseInstance) GetMasterInstanceName() string

func (*DatabaseInstance) GetMaxDiskSize deprecated

func (x *DatabaseInstance) GetMaxDiskSize() *wrapperspb.Int64Value

Deprecated: Do not use.

func (*DatabaseInstance) GetName

func (x *DatabaseInstance) GetName() string

func (*DatabaseInstance) GetOnPremisesConfiguration

func (x *DatabaseInstance) GetOnPremisesConfiguration() *OnPremisesConfiguration

func (*DatabaseInstance) GetOutOfDiskReport

func (x *DatabaseInstance) GetOutOfDiskReport() *DatabaseInstance_SqlOutOfDiskReport

func (*DatabaseInstance) GetProject

func (x *DatabaseInstance) GetProject() string

func (*DatabaseInstance) GetRegion

func (x *DatabaseInstance) GetRegion() string

func (*DatabaseInstance) GetReplicaConfiguration

func (x *DatabaseInstance) GetReplicaConfiguration() *ReplicaConfiguration

func (*DatabaseInstance) GetReplicaNames

func (x *DatabaseInstance) GetReplicaNames() []string

func (*DatabaseInstance) GetRootPassword

func (x *DatabaseInstance) GetRootPassword() string

func (*DatabaseInstance) GetSatisfiesPzs

func (x *DatabaseInstance) GetSatisfiesPzs() *wrapperspb.BoolValue

func (*DatabaseInstance) GetScheduledMaintenance

func (x *DatabaseInstance) GetScheduledMaintenance() *DatabaseInstance_SqlScheduledMaintenance

func (*DatabaseInstance) GetSecondaryGceZone

func (x *DatabaseInstance) GetSecondaryGceZone() string
func (x *DatabaseInstance) GetSelfLink() string

func (*DatabaseInstance) GetServerCaCert

func (x *DatabaseInstance) GetServerCaCert() *SslCert

func (*DatabaseInstance) GetServiceAccountEmailAddress

func (x *DatabaseInstance) GetServiceAccountEmailAddress() string

func (*DatabaseInstance) GetSettings

func (x *DatabaseInstance) GetSettings() *Settings

func (*DatabaseInstance) GetState

func (*DatabaseInstance) GetSuspensionReason

func (x *DatabaseInstance) GetSuspensionReason() []SqlSuspensionReason

func (*DatabaseInstance) ProtoMessage

func (*DatabaseInstance) ProtoMessage()

func (*DatabaseInstance) ProtoReflect

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

func (*DatabaseInstance) Reset

func (x *DatabaseInstance) Reset()

func (*DatabaseInstance) String

func (x *DatabaseInstance) String() string

type DatabaseInstance_SqlFailoverReplica

type DatabaseInstance_SqlFailoverReplica struct {

	// The name of the failover replica. If specified at instance creation, a
	// failover replica is created for the instance. The name
	// doesn't include the project ID.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The availability status of the failover replica. A false status indicates
	// that the failover replica is out of sync. The primary instance can only
	// failover to the failover replica when the status is true.
	Available *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=available,proto3" json:"available,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseInstance_SqlFailoverReplica) Descriptor deprecated

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

Deprecated: Use DatabaseInstance_SqlFailoverReplica.ProtoReflect.Descriptor instead.

func (*DatabaseInstance_SqlFailoverReplica) GetAvailable

func (*DatabaseInstance_SqlFailoverReplica) GetName

func (*DatabaseInstance_SqlFailoverReplica) ProtoMessage

func (*DatabaseInstance_SqlFailoverReplica) ProtoMessage()

func (*DatabaseInstance_SqlFailoverReplica) ProtoReflect

func (*DatabaseInstance_SqlFailoverReplica) Reset

func (*DatabaseInstance_SqlFailoverReplica) String

type DatabaseInstance_SqlInstanceState

type DatabaseInstance_SqlInstanceState int32

The current serving state of the database instance.

const (
	// The state of the instance is unknown.
	DatabaseInstance_SQL_INSTANCE_STATE_UNSPECIFIED DatabaseInstance_SqlInstanceState = 0
	// The instance is running, or has been stopped by owner.
	DatabaseInstance_RUNNABLE DatabaseInstance_SqlInstanceState = 1
	// The instance is not available, for example due to problems with billing.
	DatabaseInstance_SUSPENDED DatabaseInstance_SqlInstanceState = 2
	// The instance is being deleted.
	DatabaseInstance_PENDING_DELETE DatabaseInstance_SqlInstanceState = 3
	// The instance is being created.
	DatabaseInstance_PENDING_CREATE DatabaseInstance_SqlInstanceState = 4
	// The instance is down for maintenance.
	DatabaseInstance_MAINTENANCE DatabaseInstance_SqlInstanceState = 5
	// The creation of the instance failed or a fatal error occurred during
	// maintenance.
	DatabaseInstance_FAILED DatabaseInstance_SqlInstanceState = 6
	// Deprecated
	//
	// Deprecated: Do not use.
	DatabaseInstance_ONLINE_MAINTENANCE DatabaseInstance_SqlInstanceState = 7
)

func (DatabaseInstance_SqlInstanceState) Descriptor

func (DatabaseInstance_SqlInstanceState) Enum

func (DatabaseInstance_SqlInstanceState) EnumDescriptor deprecated

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

Deprecated: Use DatabaseInstance_SqlInstanceState.Descriptor instead.

func (DatabaseInstance_SqlInstanceState) Number

func (DatabaseInstance_SqlInstanceState) String

func (DatabaseInstance_SqlInstanceState) Type

type DatabaseInstance_SqlOutOfDiskReport

type DatabaseInstance_SqlOutOfDiskReport struct {

	// This field represents the state generated by the proactive database
	// wellness job for OutOfDisk issues.
	// *  Writers:
	//   *  the proactive database wellness job for OOD.
	// *  Readers:
	//   *  the proactive database wellness job
	SqlOutOfDiskState *DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState `` /* 209-byte string literal not displayed */
	// The minimum recommended increase size in GigaBytes
	// This field is consumed by the frontend
	// *  Writers:
	//   *  the proactive database wellness job for OOD.
	// *  Readers:
	SqlMinRecommendedIncreaseSizeGb *int32 `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

This message wraps up the information written by out-of-disk detection job.

func (*DatabaseInstance_SqlOutOfDiskReport) Descriptor deprecated

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

Deprecated: Use DatabaseInstance_SqlOutOfDiskReport.ProtoReflect.Descriptor instead.

func (*DatabaseInstance_SqlOutOfDiskReport) GetSqlMinRecommendedIncreaseSizeGb

func (x *DatabaseInstance_SqlOutOfDiskReport) GetSqlMinRecommendedIncreaseSizeGb() int32

func (*DatabaseInstance_SqlOutOfDiskReport) GetSqlOutOfDiskState

func (*DatabaseInstance_SqlOutOfDiskReport) ProtoMessage

func (*DatabaseInstance_SqlOutOfDiskReport) ProtoMessage()

func (*DatabaseInstance_SqlOutOfDiskReport) ProtoReflect

func (*DatabaseInstance_SqlOutOfDiskReport) Reset

func (*DatabaseInstance_SqlOutOfDiskReport) String

type DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState

type DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState int32

This enum lists all possible states regarding out-of-disk issues.

const (
	// Unspecified state
	DatabaseInstance_SqlOutOfDiskReport_SQL_OUT_OF_DISK_STATE_UNSPECIFIED DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState = 0
	// The instance has plenty space on data disk
	DatabaseInstance_SqlOutOfDiskReport_NORMAL DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState = 1
	// Data disk is almost used up. It is shutdown to prevent data
	// corruption.
	DatabaseInstance_SqlOutOfDiskReport_SOFT_SHUTDOWN DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState = 2
)

func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Descriptor

func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Enum

func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) EnumDescriptor deprecated

Deprecated: Use DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState.Descriptor instead.

func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Number

func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) String

func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Type

type DatabaseInstance_SqlScheduledMaintenance

type DatabaseInstance_SqlScheduledMaintenance struct {

	// The start time of any upcoming scheduled maintenance for this instance.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Deprecated: Do not use.
	CanDefer bool `protobuf:"varint,2,opt,name=can_defer,json=canDefer,proto3" json:"can_defer,omitempty"`
	// If the scheduled maintenance can be rescheduled.
	CanReschedule bool `protobuf:"varint,3,opt,name=can_reschedule,json=canReschedule,proto3" json:"can_reschedule,omitempty"`
	// Maintenance cannot be rescheduled to start beyond this deadline.
	ScheduleDeadlineTime *timestamppb.Timestamp `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Any scheduled maintenance for this instance.

func (*DatabaseInstance_SqlScheduledMaintenance) Descriptor deprecated

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

Deprecated: Use DatabaseInstance_SqlScheduledMaintenance.ProtoReflect.Descriptor instead.

func (*DatabaseInstance_SqlScheduledMaintenance) GetCanDefer deprecated

Deprecated: Do not use.

func (*DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule

func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule() bool

func (*DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime

func (x *DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime() *timestamppb.Timestamp

func (*DatabaseInstance_SqlScheduledMaintenance) GetStartTime

func (*DatabaseInstance_SqlScheduledMaintenance) ProtoMessage

func (*DatabaseInstance_SqlScheduledMaintenance) ProtoReflect

func (*DatabaseInstance_SqlScheduledMaintenance) Reset

func (*DatabaseInstance_SqlScheduledMaintenance) String

type Database_SqlserverDatabaseDetails

type Database_SqlserverDatabaseDetails struct {
	SqlserverDatabaseDetails *SqlServerDatabaseDetails `protobuf:"bytes,9,opt,name=sqlserver_database_details,json=sqlserverDatabaseDetails,proto3,oneof"`
}

type DatabasesListResponse

type DatabasesListResponse struct {

	// This is always `sql#databasesList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of database resources in the instance.
	Items []*Database `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Database list response.

func (*DatabasesListResponse) Descriptor deprecated

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

Deprecated: Use DatabasesListResponse.ProtoReflect.Descriptor instead.

func (*DatabasesListResponse) GetItems

func (x *DatabasesListResponse) GetItems() []*Database

func (*DatabasesListResponse) GetKind

func (x *DatabasesListResponse) GetKind() string

func (*DatabasesListResponse) ProtoMessage

func (*DatabasesListResponse) ProtoMessage()

func (*DatabasesListResponse) ProtoReflect

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

func (*DatabasesListResponse) Reset

func (x *DatabasesListResponse) Reset()

func (*DatabasesListResponse) String

func (x *DatabasesListResponse) String() string

type DemoteMasterConfiguration

type DemoteMasterConfiguration struct {

	// This is always `sql#demoteMasterConfiguration`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// MySQL specific configuration when replicating from a MySQL on-premises
	// primary instance. Replication configuration information such as the
	// username, password, certificates, and keys are not stored in the instance
	// metadata. The configuration information is used only to set up the
	// replication connection and is stored by MySQL in a file named
	// `master.info` in the data directory.
	MysqlReplicaConfiguration *DemoteMasterMySqlReplicaConfiguration `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Read-replica configuration for connecting to the on-premises primary instance.

func (*DemoteMasterConfiguration) Descriptor deprecated

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

Deprecated: Use DemoteMasterConfiguration.ProtoReflect.Descriptor instead.

func (*DemoteMasterConfiguration) GetKind

func (x *DemoteMasterConfiguration) GetKind() string

func (*DemoteMasterConfiguration) GetMysqlReplicaConfiguration

func (x *DemoteMasterConfiguration) GetMysqlReplicaConfiguration() *DemoteMasterMySqlReplicaConfiguration

func (*DemoteMasterConfiguration) ProtoMessage

func (*DemoteMasterConfiguration) ProtoMessage()

func (*DemoteMasterConfiguration) ProtoReflect

func (*DemoteMasterConfiguration) Reset

func (x *DemoteMasterConfiguration) Reset()

func (*DemoteMasterConfiguration) String

func (x *DemoteMasterConfiguration) String() string

type DemoteMasterContext

type DemoteMasterContext struct {

	// This is always `sql#demoteMasterContext`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Verify the GTID consistency for demote operation. Default value:
	// `True`. Setting this flag to `false` enables you to bypass the GTID
	// consistency check between on-premises primary instance and Cloud SQL
	// instance during the demotion operation but also exposes you to the risk of
	// future replication failures. Change the value only if you know the reason
	// for the GTID divergence and are confident that doing so will not cause any
	// replication issues.
	VerifyGtidConsistency *wrapperspb.BoolValue `` /* 126-byte string literal not displayed */
	// The name of the instance which will act as on-premises primary instance
	// in the replication setup.
	MasterInstanceName string `protobuf:"bytes,3,opt,name=master_instance_name,json=masterInstanceName,proto3" json:"master_instance_name,omitempty"`
	// Configuration specific to read-replicas replicating from the on-premises
	// primary instance.
	ReplicaConfiguration *DemoteMasterConfiguration `protobuf:"bytes,4,opt,name=replica_configuration,json=replicaConfiguration,proto3" json:"replica_configuration,omitempty"`
	// Flag to skip replication setup on the instance.
	SkipReplicationSetup bool `protobuf:"varint,5,opt,name=skip_replication_setup,json=skipReplicationSetup,proto3" json:"skip_replication_setup,omitempty"`
	// contains filtered or unexported fields
}

Database instance demote primary instance context.

func (*DemoteMasterContext) Descriptor deprecated

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

Deprecated: Use DemoteMasterContext.ProtoReflect.Descriptor instead.

func (*DemoteMasterContext) GetKind

func (x *DemoteMasterContext) GetKind() string

func (*DemoteMasterContext) GetMasterInstanceName

func (x *DemoteMasterContext) GetMasterInstanceName() string

func (*DemoteMasterContext) GetReplicaConfiguration

func (x *DemoteMasterContext) GetReplicaConfiguration() *DemoteMasterConfiguration

func (*DemoteMasterContext) GetSkipReplicationSetup

func (x *DemoteMasterContext) GetSkipReplicationSetup() bool

func (*DemoteMasterContext) GetVerifyGtidConsistency

func (x *DemoteMasterContext) GetVerifyGtidConsistency() *wrapperspb.BoolValue

func (*DemoteMasterContext) ProtoMessage

func (*DemoteMasterContext) ProtoMessage()

func (*DemoteMasterContext) ProtoReflect

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

func (*DemoteMasterContext) Reset

func (x *DemoteMasterContext) Reset()

func (*DemoteMasterContext) String

func (x *DemoteMasterContext) String() string

type DemoteMasterMySqlReplicaConfiguration

type DemoteMasterMySqlReplicaConfiguration struct {

	// This is always `sql#demoteMasterMysqlReplicaConfiguration`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The username for the replication connection.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// The password for the replication connection.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// PEM representation of the replica's private key. The corresponsing public
	// key is encoded in the client's certificate. The format of the replica's
	// private key can be either PKCS #1 or PKCS #8.
	ClientKey string `protobuf:"bytes,4,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// PEM representation of the replica's x509 certificate.
	ClientCertificate string `protobuf:"bytes,5,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
	// PEM representation of the trusted CA's x509 certificate.
	CaCertificate string `protobuf:"bytes,6,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
	// contains filtered or unexported fields
}

Read-replica configuration specific to MySQL databases.

func (*DemoteMasterMySqlReplicaConfiguration) Descriptor deprecated

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

Deprecated: Use DemoteMasterMySqlReplicaConfiguration.ProtoReflect.Descriptor instead.

func (*DemoteMasterMySqlReplicaConfiguration) GetCaCertificate

func (x *DemoteMasterMySqlReplicaConfiguration) GetCaCertificate() string

func (*DemoteMasterMySqlReplicaConfiguration) GetClientCertificate

func (x *DemoteMasterMySqlReplicaConfiguration) GetClientCertificate() string

func (*DemoteMasterMySqlReplicaConfiguration) GetClientKey

func (*DemoteMasterMySqlReplicaConfiguration) GetKind

func (*DemoteMasterMySqlReplicaConfiguration) GetPassword

func (*DemoteMasterMySqlReplicaConfiguration) GetUsername

func (*DemoteMasterMySqlReplicaConfiguration) ProtoMessage

func (*DemoteMasterMySqlReplicaConfiguration) ProtoMessage()

func (*DemoteMasterMySqlReplicaConfiguration) ProtoReflect

func (*DemoteMasterMySqlReplicaConfiguration) Reset

func (*DemoteMasterMySqlReplicaConfiguration) String

type DenyMaintenancePeriod

type DenyMaintenancePeriod struct {

	// "deny maintenance period" start date. If the year of the start date is
	// empty, the year of the end date also must be empty. In this case, it means
	// the deny maintenance period recurs every year. The date is in format
	// yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
	StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// "deny maintenance period" end date. If the year of the end date is empty,
	// the year of the start date also must be empty. In this case, it means the
	// deny maintenance period recurs every year. The date is in format yyyy-mm-dd
	// i.e., 2020-11-01, or mm-dd, i.e., 11-01
	EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// Time in UTC when the "deny maintenance period" starts on start_date and
	// ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
	Time string `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

Deny Maintenance Periods. This specifies a date range during when all CSA rollout will be denied.

func (*DenyMaintenancePeriod) Descriptor deprecated

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

Deprecated: Use DenyMaintenancePeriod.ProtoReflect.Descriptor instead.

func (*DenyMaintenancePeriod) GetEndDate

func (x *DenyMaintenancePeriod) GetEndDate() string

func (*DenyMaintenancePeriod) GetStartDate

func (x *DenyMaintenancePeriod) GetStartDate() string

func (*DenyMaintenancePeriod) GetTime

func (x *DenyMaintenancePeriod) GetTime() string

func (*DenyMaintenancePeriod) ProtoMessage

func (*DenyMaintenancePeriod) ProtoMessage()

func (*DenyMaintenancePeriod) ProtoReflect

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

func (*DenyMaintenancePeriod) Reset

func (x *DenyMaintenancePeriod) Reset()

func (*DenyMaintenancePeriod) String

func (x *DenyMaintenancePeriod) String() string

type DiskEncryptionConfiguration

type DiskEncryptionConfiguration struct {

	// Resource name of KMS key for disk encryption
	KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
	// This is always `sql#diskEncryptionConfiguration`.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Disk encryption configuration for an instance.

func (*DiskEncryptionConfiguration) Descriptor deprecated

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

Deprecated: Use DiskEncryptionConfiguration.ProtoReflect.Descriptor instead.

func (*DiskEncryptionConfiguration) GetKind

func (x *DiskEncryptionConfiguration) GetKind() string

func (*DiskEncryptionConfiguration) GetKmsKeyName

func (x *DiskEncryptionConfiguration) GetKmsKeyName() string

func (*DiskEncryptionConfiguration) ProtoMessage

func (*DiskEncryptionConfiguration) ProtoMessage()

func (*DiskEncryptionConfiguration) ProtoReflect

func (*DiskEncryptionConfiguration) Reset

func (x *DiskEncryptionConfiguration) Reset()

func (*DiskEncryptionConfiguration) String

func (x *DiskEncryptionConfiguration) String() string

type DiskEncryptionStatus

type DiskEncryptionStatus struct {

	// KMS key version used to encrypt the Cloud SQL instance resource
	KmsKeyVersionName string `protobuf:"bytes,1,opt,name=kms_key_version_name,json=kmsKeyVersionName,proto3" json:"kms_key_version_name,omitempty"`
	// This is always `sql#diskEncryptionStatus`.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Disk encryption status for an instance.

func (*DiskEncryptionStatus) Descriptor deprecated

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

Deprecated: Use DiskEncryptionStatus.ProtoReflect.Descriptor instead.

func (*DiskEncryptionStatus) GetKind

func (x *DiskEncryptionStatus) GetKind() string

func (*DiskEncryptionStatus) GetKmsKeyVersionName

func (x *DiskEncryptionStatus) GetKmsKeyVersionName() string

func (*DiskEncryptionStatus) ProtoMessage

func (*DiskEncryptionStatus) ProtoMessage()

func (*DiskEncryptionStatus) ProtoReflect

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

func (*DiskEncryptionStatus) Reset

func (x *DiskEncryptionStatus) Reset()

func (*DiskEncryptionStatus) String

func (x *DiskEncryptionStatus) String() string

type ExportContext

type ExportContext struct {

	// The path to the file in Google Cloud Storage where the export will be
	// stored. The URI is in the form `gs://bucketName/fileName`. If the file
	// already exists, the request succeeds, but the operation fails. If
	// `fileType` is `SQL` and the filename ends with .gz,
	// the contents are compressed.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Databases to be exported. <br /> `MySQL instances:` If
	// `fileType` is `SQL` and no database is specified, all
	// databases are exported, except for the `mysql` system database.
	// If `fileType` is `CSV`, you can specify one database,
	// either by using this property or by using the
	// `csvExportOptions.selectQuery` property, which takes precedence
	// over this property. <br /> `PostgreSQL instances:` You must specify
	// one database to be exported. If `fileType` is `CSV`,
	// this database must match the one specified in the
	// `csvExportOptions.selectQuery` property. <br /> `SQL Server
	// instances:` You must specify one database to be exported, and the
	// `fileType` must be `BAK`.
	Databases []string `protobuf:"bytes,2,rep,name=databases,proto3" json:"databases,omitempty"`
	// This is always `sql#exportContext`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// Options for exporting data as SQL statements.
	SqlExportOptions *ExportContext_SqlExportOptions `protobuf:"bytes,4,opt,name=sql_export_options,json=sqlExportOptions,proto3" json:"sql_export_options,omitempty"`
	// Options for exporting data as CSV. `MySQL` and `PostgreSQL`
	// instances only.
	CsvExportOptions *ExportContext_SqlCsvExportOptions `protobuf:"bytes,5,opt,name=csv_export_options,json=csvExportOptions,proto3" json:"csv_export_options,omitempty"`
	// The file type for the specified uri.
	FileType SqlFileType `` /* 128-byte string literal not displayed */
	// Option for export offload.
	Offload *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=offload,proto3" json:"offload,omitempty"`
	// contains filtered or unexported fields
}

Database instance export context.

func (*ExportContext) Descriptor deprecated

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

Deprecated: Use ExportContext.ProtoReflect.Descriptor instead.

func (*ExportContext) GetCsvExportOptions

func (x *ExportContext) GetCsvExportOptions() *ExportContext_SqlCsvExportOptions

func (*ExportContext) GetDatabases

func (x *ExportContext) GetDatabases() []string

func (*ExportContext) GetFileType

func (x *ExportContext) GetFileType() SqlFileType

func (*ExportContext) GetKind

func (x *ExportContext) GetKind() string

func (*ExportContext) GetOffload

func (x *ExportContext) GetOffload() *wrapperspb.BoolValue

func (*ExportContext) GetSqlExportOptions

func (x *ExportContext) GetSqlExportOptions() *ExportContext_SqlExportOptions

func (*ExportContext) GetUri

func (x *ExportContext) GetUri() string

func (*ExportContext) ProtoMessage

func (*ExportContext) ProtoMessage()

func (*ExportContext) ProtoReflect

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

func (*ExportContext) Reset

func (x *ExportContext) Reset()

func (*ExportContext) String

func (x *ExportContext) String() string

type ExportContext_SqlCsvExportOptions

type ExportContext_SqlCsvExportOptions struct {

	// The select query used to extract the data.
	SelectQuery string `protobuf:"bytes,1,opt,name=select_query,json=selectQuery,proto3" json:"select_query,omitempty"`
	// Specifies the character that should appear before a data character that
	// needs to be escaped.
	EscapeCharacter string `protobuf:"bytes,2,opt,name=escape_character,json=escapeCharacter,proto3" json:"escape_character,omitempty"`
	// Specifies the quoting character to be used when a data value is quoted.
	QuoteCharacter string `protobuf:"bytes,3,opt,name=quote_character,json=quoteCharacter,proto3" json:"quote_character,omitempty"`
	// Specifies the character that separates columns within each row (line) of
	// the file.
	FieldsTerminatedBy string `protobuf:"bytes,4,opt,name=fields_terminated_by,json=fieldsTerminatedBy,proto3" json:"fields_terminated_by,omitempty"`
	// This is used to separate lines. If a line does not contain all fields,
	// the rest of the columns are set to their default values.
	LinesTerminatedBy string `protobuf:"bytes,6,opt,name=lines_terminated_by,json=linesTerminatedBy,proto3" json:"lines_terminated_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportContext_SqlCsvExportOptions) Descriptor deprecated

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

Deprecated: Use ExportContext_SqlCsvExportOptions.ProtoReflect.Descriptor instead.

func (*ExportContext_SqlCsvExportOptions) GetEscapeCharacter

func (x *ExportContext_SqlCsvExportOptions) GetEscapeCharacter() string

func (*ExportContext_SqlCsvExportOptions) GetFieldsTerminatedBy

func (x *ExportContext_SqlCsvExportOptions) GetFieldsTerminatedBy() string

func (*ExportContext_SqlCsvExportOptions) GetLinesTerminatedBy

func (x *ExportContext_SqlCsvExportOptions) GetLinesTerminatedBy() string

func (*ExportContext_SqlCsvExportOptions) GetQuoteCharacter

func (x *ExportContext_SqlCsvExportOptions) GetQuoteCharacter() string

func (*ExportContext_SqlCsvExportOptions) GetSelectQuery

func (x *ExportContext_SqlCsvExportOptions) GetSelectQuery() string

func (*ExportContext_SqlCsvExportOptions) ProtoMessage

func (*ExportContext_SqlCsvExportOptions) ProtoMessage()

func (*ExportContext_SqlCsvExportOptions) ProtoReflect

func (*ExportContext_SqlCsvExportOptions) Reset

func (*ExportContext_SqlCsvExportOptions) String

type ExportContext_SqlExportOptions

type ExportContext_SqlExportOptions struct {

	// Tables to export, or that were exported, from the specified database. If
	// you specify tables, specify one and only one database. For PostgreSQL
	// instances, you can specify only one table.
	Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
	// Export only schemas.
	SchemaOnly         *wrapperspb.BoolValue                              `protobuf:"bytes,2,opt,name=schema_only,json=schemaOnly,proto3" json:"schema_only,omitempty"`
	MysqlExportOptions *ExportContext_SqlExportOptions_MysqlExportOptions `protobuf:"bytes,3,opt,name=mysql_export_options,json=mysqlExportOptions,proto3" json:"mysql_export_options,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportContext_SqlExportOptions) Descriptor deprecated

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

Deprecated: Use ExportContext_SqlExportOptions.ProtoReflect.Descriptor instead.

func (*ExportContext_SqlExportOptions) GetMysqlExportOptions

func (*ExportContext_SqlExportOptions) GetSchemaOnly

func (*ExportContext_SqlExportOptions) GetTables

func (x *ExportContext_SqlExportOptions) GetTables() []string

func (*ExportContext_SqlExportOptions) ProtoMessage

func (*ExportContext_SqlExportOptions) ProtoMessage()

func (*ExportContext_SqlExportOptions) ProtoReflect

func (*ExportContext_SqlExportOptions) Reset

func (x *ExportContext_SqlExportOptions) Reset()

func (*ExportContext_SqlExportOptions) String

type ExportContext_SqlExportOptions_MysqlExportOptions

type ExportContext_SqlExportOptions_MysqlExportOptions struct {

	// Option to include SQL statement required to set up replication. If set
	// to `1`, the dump file includes a CHANGE MASTER TO statement with the
	// binary log coordinates, and --set-gtid-purged is set to ON. If set to
	// `2`, the CHANGE MASTER TO statement is written as a SQL comment and
	// has no effect. If set to any value other than `1`, --set-gtid-purged
	// is set to OFF.
	MasterData *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=master_data,json=masterData,proto3" json:"master_data,omitempty"`
	// contains filtered or unexported fields
}

Options for exporting from MySQL.

func (*ExportContext_SqlExportOptions_MysqlExportOptions) Descriptor deprecated

Deprecated: Use ExportContext_SqlExportOptions_MysqlExportOptions.ProtoReflect.Descriptor instead.

func (*ExportContext_SqlExportOptions_MysqlExportOptions) GetMasterData

func (*ExportContext_SqlExportOptions_MysqlExportOptions) ProtoMessage

func (*ExportContext_SqlExportOptions_MysqlExportOptions) ProtoReflect

func (*ExportContext_SqlExportOptions_MysqlExportOptions) Reset

func (*ExportContext_SqlExportOptions_MysqlExportOptions) String

type FailoverContext

type FailoverContext struct {

	// The current settings version of this instance. Request will be rejected if
	// this version doesn't match the current settings version.
	SettingsVersion int64 `protobuf:"varint,1,opt,name=settings_version,json=settingsVersion,proto3" json:"settings_version,omitempty"`
	// This is always `sql#failoverContext`.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Database instance failover context.

func (*FailoverContext) Descriptor deprecated

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

Deprecated: Use FailoverContext.ProtoReflect.Descriptor instead.

func (*FailoverContext) GetKind

func (x *FailoverContext) GetKind() string

func (*FailoverContext) GetSettingsVersion

func (x *FailoverContext) GetSettingsVersion() int64

func (*FailoverContext) ProtoMessage

func (*FailoverContext) ProtoMessage()

func (*FailoverContext) ProtoReflect

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

func (*FailoverContext) Reset

func (x *FailoverContext) Reset()

func (*FailoverContext) String

func (x *FailoverContext) String() string

type Flag

type Flag struct {

	// This is the name of the flag. Flag names always use underscores, not
	// hyphens, for example: `max_allowed_packet`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
	// `INTEGER` or `NONE`. `NONE` is used for flags which do not take a
	// value, such as `skip_grant_tables`.
	Type SqlFlagType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.SqlFlagType" json:"type,omitempty"`
	// The database version this flag applies to. Can be
	// MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
	// or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
	// `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
	// `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
	// `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
	// `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
	// `SQLSERVER_2019_WEB`.
	// See [the complete
	// list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
	AppliesTo []SqlDatabaseVersion `` /* 145-byte string literal not displayed */
	// For `STRING` flags, a list of strings that the value can be set to.
	AllowedStringValues []string `protobuf:"bytes,4,rep,name=allowed_string_values,json=allowedStringValues,proto3" json:"allowed_string_values,omitempty"`
	// For `INTEGER` flags, the minimum allowed value.
	MinValue *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// For `INTEGER` flags, the maximum allowed value.
	MaxValue *wrapperspb.Int64Value `protobuf:"bytes,6,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// Indicates whether changing this flag will trigger a database restart. Only
	// applicable to Second Generation instances.
	RequiresRestart *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=requires_restart,json=requiresRestart,proto3" json:"requires_restart,omitempty"`
	// This is always `sql#flag`.
	Kind string `protobuf:"bytes,8,opt,name=kind,proto3" json:"kind,omitempty"`
	// Whether or not the flag is considered in beta.
	InBeta *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=in_beta,json=inBeta,proto3" json:"in_beta,omitempty"`
	// Use this field if only certain integers are accepted. Can be combined
	// with min_value and max_value to add additional values.
	AllowedIntValues []int64 `protobuf:"varint,10,rep,packed,name=allowed_int_values,json=allowedIntValues,proto3" json:"allowed_int_values,omitempty"`
	// contains filtered or unexported fields
}

A flag resource.

func (*Flag) Descriptor deprecated

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

Deprecated: Use Flag.ProtoReflect.Descriptor instead.

func (*Flag) GetAllowedIntValues

func (x *Flag) GetAllowedIntValues() []int64

func (*Flag) GetAllowedStringValues

func (x *Flag) GetAllowedStringValues() []string

func (*Flag) GetAppliesTo

func (x *Flag) GetAppliesTo() []SqlDatabaseVersion

func (*Flag) GetInBeta

func (x *Flag) GetInBeta() *wrapperspb.BoolValue

func (*Flag) GetKind

func (x *Flag) GetKind() string

func (*Flag) GetMaxValue

func (x *Flag) GetMaxValue() *wrapperspb.Int64Value

func (*Flag) GetMinValue

func (x *Flag) GetMinValue() *wrapperspb.Int64Value

func (*Flag) GetName

func (x *Flag) GetName() string

func (*Flag) GetRequiresRestart

func (x *Flag) GetRequiresRestart() *wrapperspb.BoolValue

func (*Flag) GetType

func (x *Flag) GetType() SqlFlagType

func (*Flag) ProtoMessage

func (*Flag) ProtoMessage()

func (*Flag) ProtoReflect

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

func (*Flag) Reset

func (x *Flag) Reset()

func (*Flag) String

func (x *Flag) String() string

type FlagsListResponse

type FlagsListResponse struct {

	// This is always `sql#flagsList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of flags.
	Items []*Flag `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Flags list response.

func (*FlagsListResponse) Descriptor deprecated

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

Deprecated: Use FlagsListResponse.ProtoReflect.Descriptor instead.

func (*FlagsListResponse) GetItems

func (x *FlagsListResponse) GetItems() []*Flag

func (*FlagsListResponse) GetKind

func (x *FlagsListResponse) GetKind() string

func (*FlagsListResponse) ProtoMessage

func (*FlagsListResponse) ProtoMessage()

func (*FlagsListResponse) ProtoReflect

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

func (*FlagsListResponse) Reset

func (x *FlagsListResponse) Reset()

func (*FlagsListResponse) String

func (x *FlagsListResponse) String() string

type GenerateEphemeralCertRequest

type GenerateEphemeralCertRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// PEM encoded public key to include in the signed certificate.
	PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Optional. Access token to include in the signed certificate.
	AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// Optional. Optional snapshot read timestamp to trade freshness for performance.
	ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
	// Optional. If set, it will contain the cert valid duration.
	ValidDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=valid_duration,json=validDuration,proto3" json:"valid_duration,omitempty"`
	// contains filtered or unexported fields
}

Ephemeral certificate creation request.

func (*GenerateEphemeralCertRequest) Descriptor deprecated

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

Deprecated: Use GenerateEphemeralCertRequest.ProtoReflect.Descriptor instead.

func (*GenerateEphemeralCertRequest) GetAccessToken

func (x *GenerateEphemeralCertRequest) GetAccessToken() string

func (*GenerateEphemeralCertRequest) GetInstance

func (x *GenerateEphemeralCertRequest) GetInstance() string

func (*GenerateEphemeralCertRequest) GetProject

func (x *GenerateEphemeralCertRequest) GetProject() string

func (*GenerateEphemeralCertRequest) GetPublicKey

func (x *GenerateEphemeralCertRequest) GetPublicKey() string

func (*GenerateEphemeralCertRequest) GetReadTime

func (*GenerateEphemeralCertRequest) GetValidDuration

func (x *GenerateEphemeralCertRequest) GetValidDuration() *durationpb.Duration

func (*GenerateEphemeralCertRequest) ProtoMessage

func (*GenerateEphemeralCertRequest) ProtoMessage()

func (*GenerateEphemeralCertRequest) ProtoReflect

func (*GenerateEphemeralCertRequest) Reset

func (x *GenerateEphemeralCertRequest) Reset()

func (*GenerateEphemeralCertRequest) String

type GenerateEphemeralCertResponse

type GenerateEphemeralCertResponse struct {

	// Generated cert
	EphemeralCert *SslCert `protobuf:"bytes,1,opt,name=ephemeral_cert,json=ephemeralCert,proto3" json:"ephemeral_cert,omitempty"`
	// contains filtered or unexported fields
}

Ephemeral certificate creation request.

func (*GenerateEphemeralCertResponse) Descriptor deprecated

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

Deprecated: Use GenerateEphemeralCertResponse.ProtoReflect.Descriptor instead.

func (*GenerateEphemeralCertResponse) GetEphemeralCert

func (x *GenerateEphemeralCertResponse) GetEphemeralCert() *SslCert

func (*GenerateEphemeralCertResponse) ProtoMessage

func (*GenerateEphemeralCertResponse) ProtoMessage()

func (*GenerateEphemeralCertResponse) ProtoReflect

func (*GenerateEphemeralCertResponse) Reset

func (x *GenerateEphemeralCertResponse) Reset()

func (*GenerateEphemeralCertResponse) String

type GetConnectSettingsRequest

type GetConnectSettingsRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Optional. Optional snapshot read timestamp to trade freshness for performance.
	ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
	// contains filtered or unexported fields
}

Connect settings retrieval request.

func (*GetConnectSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetConnectSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetConnectSettingsRequest) GetInstance

func (x *GetConnectSettingsRequest) GetInstance() string

func (*GetConnectSettingsRequest) GetProject

func (x *GetConnectSettingsRequest) GetProject() string

func (*GetConnectSettingsRequest) GetReadTime

func (*GetConnectSettingsRequest) ProtoMessage

func (*GetConnectSettingsRequest) ProtoMessage()

func (*GetConnectSettingsRequest) ProtoReflect

func (*GetConnectSettingsRequest) Reset

func (x *GetConnectSettingsRequest) Reset()

func (*GetConnectSettingsRequest) String

func (x *GetConnectSettingsRequest) String() string

type ImportContext

type ImportContext struct {

	// Path to the import file in Cloud Storage, in the form
	// `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
	// when `fileType` is `SQL`. The instance must have
	// write permissions to the bucket and read access to the file.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The target database for the import. If `fileType` is `SQL`, this field
	// is required only if the import file does not specify a database, and is
	// overridden by any database specification in the import file. If
	// `fileType` is `CSV`, one database must be specified.
	Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
	// This is always `sql#importContext`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// The file type for the specified uri.
	// *  `SQL`: The file contains SQL statements.
	// *  `CSV`: The file contains CSV data.
	// *  `BAK`: The file contains backup data for a SQL Server instance.
	FileType SqlFileType `` /* 128-byte string literal not displayed */
	// Options for importing data as CSV.
	CsvImportOptions *ImportContext_SqlCsvImportOptions `protobuf:"bytes,5,opt,name=csv_import_options,json=csvImportOptions,proto3" json:"csv_import_options,omitempty"`
	// The PostgreSQL user for this import operation. PostgreSQL instances only.
	ImportUser string `protobuf:"bytes,6,opt,name=import_user,json=importUser,proto3" json:"import_user,omitempty"`
	// Import parameters specific to SQL Server .BAK files
	BakImportOptions *ImportContext_SqlBakImportOptions `protobuf:"bytes,7,opt,name=bak_import_options,json=bakImportOptions,proto3" json:"bak_import_options,omitempty"`
	// contains filtered or unexported fields
}

Database instance import context.

func (*ImportContext) Descriptor deprecated

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

Deprecated: Use ImportContext.ProtoReflect.Descriptor instead.

func (*ImportContext) GetBakImportOptions

func (x *ImportContext) GetBakImportOptions() *ImportContext_SqlBakImportOptions

func (*ImportContext) GetCsvImportOptions

func (x *ImportContext) GetCsvImportOptions() *ImportContext_SqlCsvImportOptions

func (*ImportContext) GetDatabase

func (x *ImportContext) GetDatabase() string

func (*ImportContext) GetFileType

func (x *ImportContext) GetFileType() SqlFileType

func (*ImportContext) GetImportUser

func (x *ImportContext) GetImportUser() string

func (*ImportContext) GetKind

func (x *ImportContext) GetKind() string

func (*ImportContext) GetUri

func (x *ImportContext) GetUri() string

func (*ImportContext) ProtoMessage

func (*ImportContext) ProtoMessage()

func (*ImportContext) ProtoReflect

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

func (*ImportContext) Reset

func (x *ImportContext) Reset()

func (*ImportContext) String

func (x *ImportContext) String() string

type ImportContext_SqlBakImportOptions

type ImportContext_SqlBakImportOptions struct {
	EncryptionOptions *ImportContext_SqlBakImportOptions_EncryptionOptions `protobuf:"bytes,1,opt,name=encryption_options,json=encryptionOptions,proto3" json:"encryption_options,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportContext_SqlBakImportOptions) Descriptor deprecated

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

Deprecated: Use ImportContext_SqlBakImportOptions.ProtoReflect.Descriptor instead.

func (*ImportContext_SqlBakImportOptions) GetEncryptionOptions

func (*ImportContext_SqlBakImportOptions) ProtoMessage

func (*ImportContext_SqlBakImportOptions) ProtoMessage()

func (*ImportContext_SqlBakImportOptions) ProtoReflect

func (*ImportContext_SqlBakImportOptions) Reset

func (*ImportContext_SqlBakImportOptions) String

type ImportContext_SqlBakImportOptions_EncryptionOptions

type ImportContext_SqlBakImportOptions_EncryptionOptions struct {

	// Path to the Certificate (.cer) in Cloud Storage, in the form
	// `gs://bucketName/fileName`. The instance must have write permissions
	// to the bucket and read access to the file.
	CertPath string `protobuf:"bytes,1,opt,name=cert_path,json=certPath,proto3" json:"cert_path,omitempty"`
	// Path to the Certificate Private Key (.pvk)  in Cloud Storage, in the
	// form `gs://bucketName/fileName`. The instance must have write
	// permissions to the bucket and read access to the file.
	PvkPath string `protobuf:"bytes,2,opt,name=pvk_path,json=pvkPath,proto3" json:"pvk_path,omitempty"`
	// Password that encrypts the private key
	PvkPassword string `protobuf:"bytes,3,opt,name=pvk_password,json=pvkPassword,proto3" json:"pvk_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) Descriptor deprecated

Deprecated: Use ImportContext_SqlBakImportOptions_EncryptionOptions.ProtoReflect.Descriptor instead.

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) GetCertPath

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPassword

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPath

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoMessage

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoReflect

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) Reset

func (*ImportContext_SqlBakImportOptions_EncryptionOptions) String

type ImportContext_SqlCsvImportOptions

type ImportContext_SqlCsvImportOptions struct {

	// The table to which CSV data is imported.
	Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	// The columns to which CSV data is imported. If not specified, all columns
	// of the database table are loaded with CSV data.
	Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	// Specifies the character that should appear before a data character that
	// needs to be escaped.
	EscapeCharacter string `protobuf:"bytes,4,opt,name=escape_character,json=escapeCharacter,proto3" json:"escape_character,omitempty"`
	// Specifies the quoting character to be used when a data value is quoted.
	QuoteCharacter string `protobuf:"bytes,5,opt,name=quote_character,json=quoteCharacter,proto3" json:"quote_character,omitempty"`
	// Specifies the character that separates columns within each row (line) of
	// the file.
	FieldsTerminatedBy string `protobuf:"bytes,6,opt,name=fields_terminated_by,json=fieldsTerminatedBy,proto3" json:"fields_terminated_by,omitempty"`
	// This is used to separate lines. If a line does not contain all fields,
	// the rest of the columns are set to their default values.
	LinesTerminatedBy string `protobuf:"bytes,8,opt,name=lines_terminated_by,json=linesTerminatedBy,proto3" json:"lines_terminated_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportContext_SqlCsvImportOptions) Descriptor deprecated

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

Deprecated: Use ImportContext_SqlCsvImportOptions.ProtoReflect.Descriptor instead.

func (*ImportContext_SqlCsvImportOptions) GetColumns

func (x *ImportContext_SqlCsvImportOptions) GetColumns() []string

func (*ImportContext_SqlCsvImportOptions) GetEscapeCharacter

func (x *ImportContext_SqlCsvImportOptions) GetEscapeCharacter() string

func (*ImportContext_SqlCsvImportOptions) GetFieldsTerminatedBy

func (x *ImportContext_SqlCsvImportOptions) GetFieldsTerminatedBy() string

func (*ImportContext_SqlCsvImportOptions) GetLinesTerminatedBy

func (x *ImportContext_SqlCsvImportOptions) GetLinesTerminatedBy() string

func (*ImportContext_SqlCsvImportOptions) GetQuoteCharacter

func (x *ImportContext_SqlCsvImportOptions) GetQuoteCharacter() string

func (*ImportContext_SqlCsvImportOptions) GetTable

func (*ImportContext_SqlCsvImportOptions) ProtoMessage

func (*ImportContext_SqlCsvImportOptions) ProtoMessage()

func (*ImportContext_SqlCsvImportOptions) ProtoReflect

func (*ImportContext_SqlCsvImportOptions) Reset

func (*ImportContext_SqlCsvImportOptions) String

type InsightsConfig

type InsightsConfig struct {

	// Whether Query Insights feature is enabled.
	QueryInsightsEnabled bool `protobuf:"varint,1,opt,name=query_insights_enabled,json=queryInsightsEnabled,proto3" json:"query_insights_enabled,omitempty"`
	// Whether Query Insights will record client address when enabled.
	RecordClientAddress bool `protobuf:"varint,2,opt,name=record_client_address,json=recordClientAddress,proto3" json:"record_client_address,omitempty"`
	// Whether Query Insights will record application tags from query when
	// enabled.
	RecordApplicationTags bool `` /* 127-byte string literal not displayed */
	// Maximum query length stored in bytes. Default value: 1024 bytes.
	// Range: 256-4500 bytes. Query length more than this field value will be
	// truncated to this value. When unset, query length will be the default
	// value. Changing query length will restart the database.
	QueryStringLength *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=query_string_length,json=queryStringLength,proto3" json:"query_string_length,omitempty"`
	// Number of query execution plans captured by Insights per minute
	// for all queries combined. Default is 5.
	QueryPlansPerMinute *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=query_plans_per_minute,json=queryPlansPerMinute,proto3" json:"query_plans_per_minute,omitempty"`
	// contains filtered or unexported fields
}

Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.

func (*InsightsConfig) Descriptor deprecated

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

Deprecated: Use InsightsConfig.ProtoReflect.Descriptor instead.

func (*InsightsConfig) GetQueryInsightsEnabled

func (x *InsightsConfig) GetQueryInsightsEnabled() bool

func (*InsightsConfig) GetQueryPlansPerMinute

func (x *InsightsConfig) GetQueryPlansPerMinute() *wrapperspb.Int32Value

func (*InsightsConfig) GetQueryStringLength

func (x *InsightsConfig) GetQueryStringLength() *wrapperspb.Int32Value

func (*InsightsConfig) GetRecordApplicationTags

func (x *InsightsConfig) GetRecordApplicationTags() bool

func (*InsightsConfig) GetRecordClientAddress

func (x *InsightsConfig) GetRecordClientAddress() bool

func (*InsightsConfig) ProtoMessage

func (*InsightsConfig) ProtoMessage()

func (*InsightsConfig) ProtoReflect

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

func (*InsightsConfig) Reset

func (x *InsightsConfig) Reset()

func (*InsightsConfig) String

func (x *InsightsConfig) String() string

type InstanceReference

type InstanceReference struct {

	// The name of the Cloud SQL instance being referenced.
	// This does not include the project ID.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The region of the Cloud SQL instance being referenced.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// The project ID of the Cloud SQL instance being referenced.
	// The default is the same project ID as the instance references it.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

Reference to another Cloud SQL instance.

func (*InstanceReference) Descriptor deprecated

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

Deprecated: Use InstanceReference.ProtoReflect.Descriptor instead.

func (*InstanceReference) GetName

func (x *InstanceReference) GetName() string

func (*InstanceReference) GetProject

func (x *InstanceReference) GetProject() string

func (*InstanceReference) GetRegion

func (x *InstanceReference) GetRegion() string

func (*InstanceReference) ProtoMessage

func (*InstanceReference) ProtoMessage()

func (*InstanceReference) ProtoReflect

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

func (*InstanceReference) Reset

func (x *InstanceReference) Reset()

func (*InstanceReference) String

func (x *InstanceReference) String() string

type InstancesCloneRequest

type InstancesCloneRequest struct {

	// Contains details about the clone operation.
	CloneContext *CloneContext `protobuf:"bytes,1,opt,name=clone_context,json=cloneContext,proto3" json:"clone_context,omitempty"`
	// contains filtered or unexported fields
}

Database instance clone request.

func (*InstancesCloneRequest) Descriptor deprecated

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

Deprecated: Use InstancesCloneRequest.ProtoReflect.Descriptor instead.

func (*InstancesCloneRequest) GetCloneContext

func (x *InstancesCloneRequest) GetCloneContext() *CloneContext

func (*InstancesCloneRequest) ProtoMessage

func (*InstancesCloneRequest) ProtoMessage()

func (*InstancesCloneRequest) ProtoReflect

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

func (*InstancesCloneRequest) Reset

func (x *InstancesCloneRequest) Reset()

func (*InstancesCloneRequest) String

func (x *InstancesCloneRequest) String() string

type InstancesDemoteMasterRequest

type InstancesDemoteMasterRequest struct {

	// Contains details about the demoteMaster operation.
	DemoteMasterContext *DemoteMasterContext `protobuf:"bytes,1,opt,name=demote_master_context,json=demoteMasterContext,proto3" json:"demote_master_context,omitempty"`
	// contains filtered or unexported fields
}

Database demote primary instance request.

func (*InstancesDemoteMasterRequest) Descriptor deprecated

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

Deprecated: Use InstancesDemoteMasterRequest.ProtoReflect.Descriptor instead.

func (*InstancesDemoteMasterRequest) GetDemoteMasterContext

func (x *InstancesDemoteMasterRequest) GetDemoteMasterContext() *DemoteMasterContext

func (*InstancesDemoteMasterRequest) ProtoMessage

func (*InstancesDemoteMasterRequest) ProtoMessage()

func (*InstancesDemoteMasterRequest) ProtoReflect

func (*InstancesDemoteMasterRequest) Reset

func (x *InstancesDemoteMasterRequest) Reset()

func (*InstancesDemoteMasterRequest) String

type InstancesExportRequest

type InstancesExportRequest struct {

	// Contains details about the export operation.
	ExportContext *ExportContext `protobuf:"bytes,1,opt,name=export_context,json=exportContext,proto3" json:"export_context,omitempty"`
	// contains filtered or unexported fields
}

Database instance export request.

func (*InstancesExportRequest) Descriptor deprecated

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

Deprecated: Use InstancesExportRequest.ProtoReflect.Descriptor instead.

func (*InstancesExportRequest) GetExportContext

func (x *InstancesExportRequest) GetExportContext() *ExportContext

func (*InstancesExportRequest) ProtoMessage

func (*InstancesExportRequest) ProtoMessage()

func (*InstancesExportRequest) ProtoReflect

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

func (*InstancesExportRequest) Reset

func (x *InstancesExportRequest) Reset()

func (*InstancesExportRequest) String

func (x *InstancesExportRequest) String() string

type InstancesFailoverRequest

type InstancesFailoverRequest struct {

	// Failover Context.
	FailoverContext *FailoverContext `protobuf:"bytes,1,opt,name=failover_context,json=failoverContext,proto3" json:"failover_context,omitempty"`
	// contains filtered or unexported fields
}

Instance failover request.

func (*InstancesFailoverRequest) Descriptor deprecated

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

Deprecated: Use InstancesFailoverRequest.ProtoReflect.Descriptor instead.

func (*InstancesFailoverRequest) GetFailoverContext

func (x *InstancesFailoverRequest) GetFailoverContext() *FailoverContext

func (*InstancesFailoverRequest) ProtoMessage

func (*InstancesFailoverRequest) ProtoMessage()

func (*InstancesFailoverRequest) ProtoReflect

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

func (*InstancesFailoverRequest) Reset

func (x *InstancesFailoverRequest) Reset()

func (*InstancesFailoverRequest) String

func (x *InstancesFailoverRequest) String() string

type InstancesImportRequest

type InstancesImportRequest struct {

	// Contains details about the import operation.
	ImportContext *ImportContext `protobuf:"bytes,1,opt,name=import_context,json=importContext,proto3" json:"import_context,omitempty"`
	// contains filtered or unexported fields
}

Database instance import request.

func (*InstancesImportRequest) Descriptor deprecated

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

Deprecated: Use InstancesImportRequest.ProtoReflect.Descriptor instead.

func (*InstancesImportRequest) GetImportContext

func (x *InstancesImportRequest) GetImportContext() *ImportContext

func (*InstancesImportRequest) ProtoMessage

func (*InstancesImportRequest) ProtoMessage()

func (*InstancesImportRequest) ProtoReflect

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

func (*InstancesImportRequest) Reset

func (x *InstancesImportRequest) Reset()

func (*InstancesImportRequest) String

func (x *InstancesImportRequest) String() string

type InstancesListResponse

type InstancesListResponse struct {

	// This is always `sql#instancesList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of warnings that occurred while handling the request.
	Warnings []*ApiWarning `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// List of database instance resources.
	Items []*DatabaseInstance `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Database instances list response.

func (*InstancesListResponse) Descriptor deprecated

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

Deprecated: Use InstancesListResponse.ProtoReflect.Descriptor instead.

func (*InstancesListResponse) GetItems

func (x *InstancesListResponse) GetItems() []*DatabaseInstance

func (*InstancesListResponse) GetKind

func (x *InstancesListResponse) GetKind() string

func (*InstancesListResponse) GetNextPageToken

func (x *InstancesListResponse) GetNextPageToken() string

func (*InstancesListResponse) GetWarnings

func (x *InstancesListResponse) GetWarnings() []*ApiWarning

func (*InstancesListResponse) ProtoMessage

func (*InstancesListResponse) ProtoMessage()

func (*InstancesListResponse) ProtoReflect

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

func (*InstancesListResponse) Reset

func (x *InstancesListResponse) Reset()

func (*InstancesListResponse) String

func (x *InstancesListResponse) String() string

type InstancesListServerCasResponse

type InstancesListServerCasResponse struct {

	// List of server CA certificates for the instance.
	Certs         []*SslCert `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
	ActiveVersion string     `protobuf:"bytes,2,opt,name=active_version,json=activeVersion,proto3" json:"active_version,omitempty"`
	// This is always `sql#instancesListServerCas`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Instances ListServerCas response.

func (*InstancesListServerCasResponse) Descriptor deprecated

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

Deprecated: Use InstancesListServerCasResponse.ProtoReflect.Descriptor instead.

func (*InstancesListServerCasResponse) GetActiveVersion

func (x *InstancesListServerCasResponse) GetActiveVersion() string

func (*InstancesListServerCasResponse) GetCerts

func (x *InstancesListServerCasResponse) GetCerts() []*SslCert

func (*InstancesListServerCasResponse) GetKind

func (*InstancesListServerCasResponse) ProtoMessage

func (*InstancesListServerCasResponse) ProtoMessage()

func (*InstancesListServerCasResponse) ProtoReflect

func (*InstancesListServerCasResponse) Reset

func (x *InstancesListServerCasResponse) Reset()

func (*InstancesListServerCasResponse) String

type InstancesRestoreBackupRequest

type InstancesRestoreBackupRequest struct {

	// Parameters required to perform the restore backup operation.
	RestoreBackupContext *RestoreBackupContext `protobuf:"bytes,1,opt,name=restore_backup_context,json=restoreBackupContext,proto3" json:"restore_backup_context,omitempty"`
	// contains filtered or unexported fields
}

Database instance restore backup request.

func (*InstancesRestoreBackupRequest) Descriptor deprecated

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

Deprecated: Use InstancesRestoreBackupRequest.ProtoReflect.Descriptor instead.

func (*InstancesRestoreBackupRequest) GetRestoreBackupContext

func (x *InstancesRestoreBackupRequest) GetRestoreBackupContext() *RestoreBackupContext

func (*InstancesRestoreBackupRequest) ProtoMessage

func (*InstancesRestoreBackupRequest) ProtoMessage()

func (*InstancesRestoreBackupRequest) ProtoReflect

func (*InstancesRestoreBackupRequest) Reset

func (x *InstancesRestoreBackupRequest) Reset()

func (*InstancesRestoreBackupRequest) String

type InstancesRotateServerCaRequest

type InstancesRotateServerCaRequest struct {

	// Contains details about the rotate server CA operation.
	RotateServerCaContext *RotateServerCaContext `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Rotate Server CA request.

func (*InstancesRotateServerCaRequest) Descriptor deprecated

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

Deprecated: Use InstancesRotateServerCaRequest.ProtoReflect.Descriptor instead.

func (*InstancesRotateServerCaRequest) GetRotateServerCaContext

func (x *InstancesRotateServerCaRequest) GetRotateServerCaContext() *RotateServerCaContext

func (*InstancesRotateServerCaRequest) ProtoMessage

func (*InstancesRotateServerCaRequest) ProtoMessage()

func (*InstancesRotateServerCaRequest) ProtoReflect

func (*InstancesRotateServerCaRequest) Reset

func (x *InstancesRotateServerCaRequest) Reset()

func (*InstancesRotateServerCaRequest) String

type InstancesTruncateLogRequest

type InstancesTruncateLogRequest struct {

	// Contains details about the truncate log operation.
	TruncateLogContext *TruncateLogContext `protobuf:"bytes,1,opt,name=truncate_log_context,json=truncateLogContext,proto3" json:"truncate_log_context,omitempty"`
	// contains filtered or unexported fields
}

Instance truncate log request.

func (*InstancesTruncateLogRequest) Descriptor deprecated

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

Deprecated: Use InstancesTruncateLogRequest.ProtoReflect.Descriptor instead.

func (*InstancesTruncateLogRequest) GetTruncateLogContext

func (x *InstancesTruncateLogRequest) GetTruncateLogContext() *TruncateLogContext

func (*InstancesTruncateLogRequest) ProtoMessage

func (*InstancesTruncateLogRequest) ProtoMessage()

func (*InstancesTruncateLogRequest) ProtoReflect

func (*InstancesTruncateLogRequest) Reset

func (x *InstancesTruncateLogRequest) Reset()

func (*InstancesTruncateLogRequest) String

func (x *InstancesTruncateLogRequest) String() string

type IpConfiguration

type IpConfiguration struct {

	// Whether the instance is assigned a public IP address or not.
	Ipv4Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=ipv4_enabled,json=ipv4Enabled,proto3" json:"ipv4_enabled,omitempty"`
	// The resource link for the VPC network from which the Cloud SQL instance is
	// accessible for private IP. For example,
	// `/projects/myProject/global/networks/default`. This setting can
	// be updated, but it cannot be removed after it is set.
	PrivateNetwork string `protobuf:"bytes,2,opt,name=private_network,json=privateNetwork,proto3" json:"private_network,omitempty"`
	// Whether SSL connections over IP are enforced or not.
	RequireSsl *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=require_ssl,json=requireSsl,proto3" json:"require_ssl,omitempty"`
	// The list of external networks that are allowed to connect to the instance
	// using the IP. In 'CIDR' notation, also known as 'slash' notation (for
	// example: `157.197.200.0/24`).
	AuthorizedNetworks []*AclEntry `protobuf:"bytes,4,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"`
	// The name of the allocated ip range for the private ip CloudSQL instance.
	// For example: "google-managed-services-default". If set, the instance ip
	// will be created in the allocated range. The range name must comply with
	// [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name
	// must be 1-63 characters long and match the regular expression
	// `[a-z]([-a-z0-9]*[a-z0-9])?.`
	AllocatedIpRange string `protobuf:"bytes,6,opt,name=allocated_ip_range,json=allocatedIpRange,proto3" json:"allocated_ip_range,omitempty"`
	// contains filtered or unexported fields
}

IP Management configuration.

func (*IpConfiguration) Descriptor deprecated

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

Deprecated: Use IpConfiguration.ProtoReflect.Descriptor instead.

func (*IpConfiguration) GetAllocatedIpRange

func (x *IpConfiguration) GetAllocatedIpRange() string

func (*IpConfiguration) GetAuthorizedNetworks

func (x *IpConfiguration) GetAuthorizedNetworks() []*AclEntry

func (*IpConfiguration) GetIpv4Enabled

func (x *IpConfiguration) GetIpv4Enabled() *wrapperspb.BoolValue

func (*IpConfiguration) GetPrivateNetwork

func (x *IpConfiguration) GetPrivateNetwork() string

func (*IpConfiguration) GetRequireSsl

func (x *IpConfiguration) GetRequireSsl() *wrapperspb.BoolValue

func (*IpConfiguration) ProtoMessage

func (*IpConfiguration) ProtoMessage()

func (*IpConfiguration) ProtoReflect

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

func (*IpConfiguration) Reset

func (x *IpConfiguration) Reset()

func (*IpConfiguration) String

func (x *IpConfiguration) String() string

type IpMapping

type IpMapping struct {

	// The type of this IP address. A `PRIMARY` address is a public address that
	// can accept incoming connections. A `PRIVATE` address is a private address
	// that can accept incoming connections. An `OUTGOING` address is the source
	// address of connections originating from the instance, if supported.
	Type SqlIpAddressType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.SqlIpAddressType" json:"type,omitempty"`
	// The IP address assigned.
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// The due time for this IP to be retired in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`. This field is only available when
	// the IP is scheduled to be retired.
	TimeToRetire *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_to_retire,json=timeToRetire,proto3" json:"time_to_retire,omitempty"`
	// contains filtered or unexported fields
}

Database instance IP Mapping.

func (*IpMapping) Descriptor deprecated

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

Deprecated: Use IpMapping.ProtoReflect.Descriptor instead.

func (*IpMapping) GetIpAddress

func (x *IpMapping) GetIpAddress() string

func (*IpMapping) GetTimeToRetire

func (x *IpMapping) GetTimeToRetire() *timestamppb.Timestamp

func (*IpMapping) GetType

func (x *IpMapping) GetType() SqlIpAddressType

func (*IpMapping) ProtoMessage

func (*IpMapping) ProtoMessage()

func (*IpMapping) ProtoReflect

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

func (*IpMapping) Reset

func (x *IpMapping) Reset()

func (*IpMapping) String

func (x *IpMapping) String() string

type LocationPreference

type LocationPreference struct {

	// The App Engine application to follow, it must be in the same region as the
	// Cloud SQL instance. WARNING: Changing this might restart the instance.
	//
	// Deprecated: Do not use.
	FollowGaeApplication string `protobuf:"bytes,1,opt,name=follow_gae_application,json=followGaeApplication,proto3" json:"follow_gae_application,omitempty"`
	// The preferred Compute Engine zone (for example: us-central1-a,
	// us-central1-b, etc.). WARNING: Changing this might restart the instance.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The preferred Compute Engine zone for the secondary/failover
	// (for example: us-central1-a, us-central1-b, etc.).
	SecondaryZone string `protobuf:"bytes,4,opt,name=secondary_zone,json=secondaryZone,proto3" json:"secondary_zone,omitempty"`
	// This is always `sql#locationPreference`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.

func (*LocationPreference) Descriptor deprecated

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

Deprecated: Use LocationPreference.ProtoReflect.Descriptor instead.

func (*LocationPreference) GetFollowGaeApplication deprecated

func (x *LocationPreference) GetFollowGaeApplication() string

Deprecated: Do not use.

func (*LocationPreference) GetKind

func (x *LocationPreference) GetKind() string

func (*LocationPreference) GetSecondaryZone

func (x *LocationPreference) GetSecondaryZone() string

func (*LocationPreference) GetZone

func (x *LocationPreference) GetZone() string

func (*LocationPreference) ProtoMessage

func (*LocationPreference) ProtoMessage()

func (*LocationPreference) ProtoReflect

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

func (*LocationPreference) Reset

func (x *LocationPreference) Reset()

func (*LocationPreference) String

func (x *LocationPreference) String() string

type MaintenanceWindow

type MaintenanceWindow struct {

	// hour of day - 0 to 23.
	Hour *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
	// day of week (1-7), starting on Monday.
	Day *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"`
	// Maintenance timing setting: `canary` (Earlier) or `stable` (Later).
	// [Learn
	// more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
	UpdateTrack SqlUpdateTrack `` /* 140-byte string literal not displayed */
	// This is always `sql#maintenanceWindow`.
	Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.

func (*MaintenanceWindow) Descriptor deprecated

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

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetDay

func (*MaintenanceWindow) GetHour

func (x *MaintenanceWindow) GetHour() *wrapperspb.Int32Value

func (*MaintenanceWindow) GetKind

func (x *MaintenanceWindow) GetKind() string

func (*MaintenanceWindow) GetUpdateTrack

func (x *MaintenanceWindow) GetUpdateTrack() SqlUpdateTrack

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

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

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MySqlReplicaConfiguration

type MySqlReplicaConfiguration struct {

	// Path to a SQL dump file in Google Cloud Storage from which the replica
	// instance is to be created. The URI is in the form gs://bucketName/fileName.
	// Compressed gzip files (.gz) are also supported.
	// Dumps have the binlog co-ordinates from which replication
	// begins. This can be accomplished by setting --master-data to 1 when using
	// mysqldump.
	DumpFilePath string `protobuf:"bytes,1,opt,name=dump_file_path,json=dumpFilePath,proto3" json:"dump_file_path,omitempty"`
	// The username for the replication connection.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// The password for the replication connection.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// Seconds to wait between connect retries. MySQL's default is 60 seconds.
	ConnectRetryInterval *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=connect_retry_interval,json=connectRetryInterval,proto3" json:"connect_retry_interval,omitempty"`
	// Interval in milliseconds between replication heartbeats.
	MasterHeartbeatPeriod *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */
	// PEM representation of the trusted CA's x509 certificate.
	CaCertificate string `protobuf:"bytes,6,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
	// PEM representation of the replica's x509 certificate.
	ClientCertificate string `protobuf:"bytes,7,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
	// PEM representation of the replica's private key. The corresponsing public
	// key is encoded in the client's certificate.
	ClientKey string `protobuf:"bytes,8,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// A list of permissible ciphers to use for SSL encryption.
	SslCipher string `protobuf:"bytes,9,opt,name=ssl_cipher,json=sslCipher,proto3" json:"ssl_cipher,omitempty"`
	// Whether or not to check the primary instance's Common Name value in the
	// certificate that it sends during the SSL handshake.
	VerifyServerCertificate *wrapperspb.BoolValue `` /* 133-byte string literal not displayed */
	// This is always `sql#mysqlReplicaConfiguration`.
	Kind string `protobuf:"bytes,11,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Read-replica configuration specific to MySQL databases.

func (*MySqlReplicaConfiguration) Descriptor deprecated

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

Deprecated: Use MySqlReplicaConfiguration.ProtoReflect.Descriptor instead.

func (*MySqlReplicaConfiguration) GetCaCertificate

func (x *MySqlReplicaConfiguration) GetCaCertificate() string

func (*MySqlReplicaConfiguration) GetClientCertificate

func (x *MySqlReplicaConfiguration) GetClientCertificate() string

func (*MySqlReplicaConfiguration) GetClientKey

func (x *MySqlReplicaConfiguration) GetClientKey() string

func (*MySqlReplicaConfiguration) GetConnectRetryInterval

func (x *MySqlReplicaConfiguration) GetConnectRetryInterval() *wrapperspb.Int32Value

func (*MySqlReplicaConfiguration) GetDumpFilePath

func (x *MySqlReplicaConfiguration) GetDumpFilePath() string

func (*MySqlReplicaConfiguration) GetKind

func (x *MySqlReplicaConfiguration) GetKind() string

func (*MySqlReplicaConfiguration) GetMasterHeartbeatPeriod

func (x *MySqlReplicaConfiguration) GetMasterHeartbeatPeriod() *wrapperspb.Int64Value

func (*MySqlReplicaConfiguration) GetPassword

func (x *MySqlReplicaConfiguration) GetPassword() string

func (*MySqlReplicaConfiguration) GetSslCipher

func (x *MySqlReplicaConfiguration) GetSslCipher() string

func (*MySqlReplicaConfiguration) GetUsername

func (x *MySqlReplicaConfiguration) GetUsername() string

func (*MySqlReplicaConfiguration) GetVerifyServerCertificate

func (x *MySqlReplicaConfiguration) GetVerifyServerCertificate() *wrapperspb.BoolValue

func (*MySqlReplicaConfiguration) ProtoMessage

func (*MySqlReplicaConfiguration) ProtoMessage()

func (*MySqlReplicaConfiguration) ProtoReflect

func (*MySqlReplicaConfiguration) Reset

func (x *MySqlReplicaConfiguration) Reset()

func (*MySqlReplicaConfiguration) String

func (x *MySqlReplicaConfiguration) String() string

type MySqlSyncConfig

type MySqlSyncConfig struct {

	// Flags to use for the initial dump.
	InitialSyncFlags []*SyncFlags `protobuf:"bytes,1,rep,name=initial_sync_flags,json=initialSyncFlags,proto3" json:"initial_sync_flags,omitempty"`
	// contains filtered or unexported fields
}

MySQL-specific external server sync settings.

func (*MySqlSyncConfig) Descriptor deprecated

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

Deprecated: Use MySqlSyncConfig.ProtoReflect.Descriptor instead.

func (*MySqlSyncConfig) GetInitialSyncFlags

func (x *MySqlSyncConfig) GetInitialSyncFlags() []*SyncFlags

func (*MySqlSyncConfig) ProtoMessage

func (*MySqlSyncConfig) ProtoMessage()

func (*MySqlSyncConfig) ProtoReflect

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

func (*MySqlSyncConfig) Reset

func (x *MySqlSyncConfig) Reset()

func (*MySqlSyncConfig) String

func (x *MySqlSyncConfig) String() string

type OnPremisesConfiguration

type OnPremisesConfiguration struct {

	// The host and port of the on-premises instance in host:port format
	HostPort string `protobuf:"bytes,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	// This is always `sql#onPremisesConfiguration`.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// The username for connecting to on-premises instance.
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// The password for connecting to on-premises instance.
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// PEM representation of the trusted CA's x509 certificate.
	CaCertificate string `protobuf:"bytes,5,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
	// PEM representation of the replica's x509 certificate.
	ClientCertificate string `protobuf:"bytes,6,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
	// PEM representation of the replica's private key. The corresponsing public
	// key is encoded in the client's certificate.
	ClientKey string `protobuf:"bytes,7,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// The dump file to create the Cloud SQL replica.
	DumpFilePath string `protobuf:"bytes,8,opt,name=dump_file_path,json=dumpFilePath,proto3" json:"dump_file_path,omitempty"`
	// The reference to Cloud SQL instance if the source is Cloud SQL.
	SourceInstance *InstanceReference `protobuf:"bytes,15,opt,name=source_instance,json=sourceInstance,proto3" json:"source_instance,omitempty"`
	// contains filtered or unexported fields
}

On-premises instance configuration.

func (*OnPremisesConfiguration) Descriptor deprecated

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

Deprecated: Use OnPremisesConfiguration.ProtoReflect.Descriptor instead.

func (*OnPremisesConfiguration) GetCaCertificate

func (x *OnPremisesConfiguration) GetCaCertificate() string

func (*OnPremisesConfiguration) GetClientCertificate

func (x *OnPremisesConfiguration) GetClientCertificate() string

func (*OnPremisesConfiguration) GetClientKey

func (x *OnPremisesConfiguration) GetClientKey() string

func (*OnPremisesConfiguration) GetDumpFilePath

func (x *OnPremisesConfiguration) GetDumpFilePath() string

func (*OnPremisesConfiguration) GetHostPort

func (x *OnPremisesConfiguration) GetHostPort() string

func (*OnPremisesConfiguration) GetKind

func (x *OnPremisesConfiguration) GetKind() string

func (*OnPremisesConfiguration) GetPassword

func (x *OnPremisesConfiguration) GetPassword() string

func (*OnPremisesConfiguration) GetSourceInstance

func (x *OnPremisesConfiguration) GetSourceInstance() *InstanceReference

func (*OnPremisesConfiguration) GetUsername

func (x *OnPremisesConfiguration) GetUsername() string

func (*OnPremisesConfiguration) ProtoMessage

func (*OnPremisesConfiguration) ProtoMessage()

func (*OnPremisesConfiguration) ProtoReflect

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

func (*OnPremisesConfiguration) Reset

func (x *OnPremisesConfiguration) Reset()

func (*OnPremisesConfiguration) String

func (x *OnPremisesConfiguration) String() string

type Operation

type Operation struct {

	// This is always `sql#operation`.
	Kind       string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	TargetLink string `protobuf:"bytes,2,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"`
	// The status of an operation.
	Status Operation_SqlOperationStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.cloud.sql.v1beta4.Operation_SqlOperationStatus" json:"status,omitempty"`
	// The email address of the user who initiated this operation.
	User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// The time this operation was enqueued in UTC timezone in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	InsertTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
	// The time this operation actually started in UTC timezone in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time this operation finished in UTC timezone in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// If errors occurred during processing of this operation, this field will be
	// populated.
	Error *OperationErrors `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
	// The type of the operation. Valid values are:
	// *  `CREATE`
	// *  `DELETE`
	// *  `UPDATE`
	// *  `RESTART`
	// *  `IMPORT`
	// *  `EXPORT`
	// *  `BACKUP_VOLUME`
	// *  `RESTORE_VOLUME`
	// *  `CREATE_USER`
	// *  `DELETE_USER`
	// *  `CREATE_DATABASE`
	// *  `DELETE_DATABASE`
	OperationType Operation_SqlOperationType `` /* 158-byte string literal not displayed */
	// The context for import operation, if applicable.
	ImportContext *ImportContext `protobuf:"bytes,10,opt,name=import_context,json=importContext,proto3" json:"import_context,omitempty"`
	// The context for export operation, if applicable.
	ExportContext *ExportContext `protobuf:"bytes,11,opt,name=export_context,json=exportContext,proto3" json:"export_context,omitempty"`
	// The context for backup operation, if applicable.
	BackupContext *BackupContext `protobuf:"bytes,17,opt,name=backup_context,json=backupContext,proto3" json:"backup_context,omitempty"`
	// An identifier that uniquely identifies the operation. You can use this
	// identifier to retrieve the Operations resource that has information about
	// the operation.
	Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`
	// Name of the database instance related to this operation.
	TargetId string `protobuf:"bytes,13,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// The URI of this resource.
	SelfLink string `protobuf:"bytes,14,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// The project ID of the target instance related to this operation.
	TargetProject string `protobuf:"bytes,15,opt,name=target_project,json=targetProject,proto3" json:"target_project,omitempty"`
	// contains filtered or unexported fields
}

An Operation resource.&nbsp;For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetBackupContext

func (x *Operation) GetBackupContext() *BackupContext

func (*Operation) GetEndTime

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

func (*Operation) GetError

func (x *Operation) GetError() *OperationErrors

func (*Operation) GetExportContext

func (x *Operation) GetExportContext() *ExportContext

func (*Operation) GetImportContext

func (x *Operation) GetImportContext() *ImportContext

func (*Operation) GetInsertTime

func (x *Operation) GetInsertTime() *timestamppb.Timestamp

func (*Operation) GetKind

func (x *Operation) GetKind() string

func (*Operation) GetName

func (x *Operation) GetName() string

func (*Operation) GetOperationType

func (x *Operation) GetOperationType() Operation_SqlOperationType
func (x *Operation) GetSelfLink() string

func (*Operation) GetStartTime

func (x *Operation) GetStartTime() *timestamppb.Timestamp

func (*Operation) GetStatus

func (x *Operation) GetStatus() Operation_SqlOperationStatus

func (*Operation) GetTargetId

func (x *Operation) GetTargetId() string
func (x *Operation) GetTargetLink() string

func (*Operation) GetTargetProject

func (x *Operation) GetTargetProject() string

func (*Operation) GetUser

func (x *Operation) GetUser() string

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type OperationError

type OperationError struct {

	// This is always `sql#operationError`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Identifies the specific error that occurred.
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// Additional information about the error encountered.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Database instance operation error.

func (*OperationError) Descriptor deprecated

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

Deprecated: Use OperationError.ProtoReflect.Descriptor instead.

func (*OperationError) GetCode

func (x *OperationError) GetCode() string

func (*OperationError) GetKind

func (x *OperationError) GetKind() string

func (*OperationError) GetMessage

func (x *OperationError) GetMessage() string

func (*OperationError) ProtoMessage

func (*OperationError) ProtoMessage()

func (*OperationError) ProtoReflect

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

func (*OperationError) Reset

func (x *OperationError) Reset()

func (*OperationError) String

func (x *OperationError) String() string

type OperationErrors

type OperationErrors struct {

	// This is always `sql#operationErrors`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The list of errors encountered while processing this operation.
	Errors []*OperationError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

Database instance operation errors list wrapper.

func (*OperationErrors) Descriptor deprecated

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

Deprecated: Use OperationErrors.ProtoReflect.Descriptor instead.

func (*OperationErrors) GetErrors

func (x *OperationErrors) GetErrors() []*OperationError

func (*OperationErrors) GetKind

func (x *OperationErrors) GetKind() string

func (*OperationErrors) ProtoMessage

func (*OperationErrors) ProtoMessage()

func (*OperationErrors) ProtoReflect

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

func (*OperationErrors) Reset

func (x *OperationErrors) Reset()

func (*OperationErrors) String

func (x *OperationErrors) String() string

type Operation_SqlOperationStatus

type Operation_SqlOperationStatus int32

The status of an operation.

const (
	// The state of the operation is unknown.
	Operation_SQL_OPERATION_STATUS_UNSPECIFIED Operation_SqlOperationStatus = 0
	// The operation has been queued, but has not started yet.
	Operation_PENDING Operation_SqlOperationStatus = 1
	// The operation is running.
	Operation_RUNNING Operation_SqlOperationStatus = 2
	// The operation completed.
	Operation_DONE Operation_SqlOperationStatus = 3
)

func (Operation_SqlOperationStatus) Descriptor

func (Operation_SqlOperationStatus) Enum

func (Operation_SqlOperationStatus) EnumDescriptor deprecated

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

Deprecated: Use Operation_SqlOperationStatus.Descriptor instead.

func (Operation_SqlOperationStatus) Number

func (Operation_SqlOperationStatus) String

func (Operation_SqlOperationStatus) Type

type Operation_SqlOperationType

type Operation_SqlOperationType int32

The type of Cloud SQL operation.

const (
	// Unknown operation type.
	Operation_SQL_OPERATION_TYPE_UNSPECIFIED Operation_SqlOperationType = 0
	// Imports data into a Cloud SQL instance.
	Operation_IMPORT Operation_SqlOperationType = 1
	// Exports data from a Cloud SQL instance to a Cloud Storage
	// bucket.
	Operation_EXPORT Operation_SqlOperationType = 2
	// Creates a new Cloud SQL instance.
	Operation_CREATE Operation_SqlOperationType = 3
	// Updates the settings of a Cloud SQL instance.
	Operation_UPDATE Operation_SqlOperationType = 4
	// Deletes a Cloud SQL instance.
	Operation_DELETE Operation_SqlOperationType = 5
	// Restarts the Cloud SQL instance.
	Operation_RESTART Operation_SqlOperationType = 6
	// Deprecated: Do not use.
	Operation_BACKUP Operation_SqlOperationType = 7
	// Deprecated: Do not use.
	Operation_SNAPSHOT Operation_SqlOperationType = 8
	// Performs instance backup.
	Operation_BACKUP_VOLUME Operation_SqlOperationType = 9
	// Deletes an instance backup.
	Operation_DELETE_VOLUME Operation_SqlOperationType = 10
	// Restores an instance backup.
	Operation_RESTORE_VOLUME Operation_SqlOperationType = 11
	// Injects a privileged user in mysql for MOB instances.
	Operation_INJECT_USER Operation_SqlOperationType = 12
	// Clones a Cloud SQL instance.
	Operation_CLONE Operation_SqlOperationType = 14
	// Stops replication on a Cloud SQL read replica instance.
	Operation_STOP_REPLICA Operation_SqlOperationType = 15
	// Starts replication on a Cloud SQL read replica instance.
	Operation_START_REPLICA Operation_SqlOperationType = 16
	// Promotes a Cloud SQL replica instance.
	Operation_PROMOTE_REPLICA Operation_SqlOperationType = 17
	// Creates a Cloud SQL replica instance.
	Operation_CREATE_REPLICA Operation_SqlOperationType = 18
	// Creates a new user in a Cloud SQL instance.
	Operation_CREATE_USER Operation_SqlOperationType = 19
	// Deletes a user from a Cloud SQL instance.
	Operation_DELETE_USER Operation_SqlOperationType = 20
	// Updates an existing user in a Cloud SQL instance.
	Operation_UPDATE_USER Operation_SqlOperationType = 21
	// Creates a database in the Cloud SQL instance.
	Operation_CREATE_DATABASE Operation_SqlOperationType = 22
	// Deletes a database in the Cloud SQL instance.
	Operation_DELETE_DATABASE Operation_SqlOperationType = 23
	// Updates a database in the Cloud SQL instance.
	Operation_UPDATE_DATABASE Operation_SqlOperationType = 24
	// Performs failover of an HA-enabled Cloud SQL
	// failover replica.
	Operation_FAILOVER Operation_SqlOperationType = 25
	// Deletes the backup taken by a backup run.
	Operation_DELETE_BACKUP    Operation_SqlOperationType = 26
	Operation_RECREATE_REPLICA Operation_SqlOperationType = 27
	// Truncates a general or slow log table in MySQL.
	Operation_TRUNCATE_LOG Operation_SqlOperationType = 28
	// Demotes the stand-alone instance to be a Cloud SQL
	// read replica for an external database server.
	Operation_DEMOTE_MASTER Operation_SqlOperationType = 29
	// Indicates that the instance is currently in maintenance. Maintenance
	// typically causes the instance to be unavailable for 1-3 minutes.
	Operation_MAINTENANCE Operation_SqlOperationType = 30
	// This field is deprecated, and will be removed in future version of API.
	//
	// Deprecated: Do not use.
	Operation_ENABLE_PRIVATE_IP Operation_SqlOperationType = 31
	// Deprecated: Do not use.
	Operation_DEFER_MAINTENANCE Operation_SqlOperationType = 32
	// Creates clone instance.
	//
	// Deprecated: Do not use.
	Operation_CREATE_CLONE Operation_SqlOperationType = 33
	// Reschedule maintenance to another time.
	Operation_RESCHEDULE_MAINTENANCE Operation_SqlOperationType = 34
	// Starts external sync of a Cloud SQL EM replica to an external primary
	// instance.
	Operation_START_EXTERNAL_SYNC Operation_SqlOperationType = 35
)

func (Operation_SqlOperationType) Descriptor

func (Operation_SqlOperationType) Enum

func (Operation_SqlOperationType) EnumDescriptor deprecated

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

Deprecated: Use Operation_SqlOperationType.Descriptor instead.

func (Operation_SqlOperationType) Number

func (Operation_SqlOperationType) String

func (Operation_SqlOperationType) Type

type OperationsListResponse

type OperationsListResponse struct {

	// This is always `sql#operationsList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of operation resources.
	Items []*Operation `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Operations list response.

func (*OperationsListResponse) Descriptor deprecated

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

Deprecated: Use OperationsListResponse.ProtoReflect.Descriptor instead.

func (*OperationsListResponse) GetItems

func (x *OperationsListResponse) GetItems() []*Operation

func (*OperationsListResponse) GetKind

func (x *OperationsListResponse) GetKind() string

func (*OperationsListResponse) GetNextPageToken

func (x *OperationsListResponse) GetNextPageToken() string

func (*OperationsListResponse) ProtoMessage

func (*OperationsListResponse) ProtoMessage()

func (*OperationsListResponse) ProtoReflect

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

func (*OperationsListResponse) Reset

func (x *OperationsListResponse) Reset()

func (*OperationsListResponse) String

func (x *OperationsListResponse) String() string

type PasswordStatus

type PasswordStatus struct {

	// If true, user does not have login privileges.
	Locked bool `protobuf:"varint,1,opt,name=locked,proto3" json:"locked,omitempty"`
	// The expiration time of the current password.
	PasswordExpirationTime *timestamppb.Timestamp `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Read-only password status.

func (*PasswordStatus) Descriptor deprecated

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

Deprecated: Use PasswordStatus.ProtoReflect.Descriptor instead.

func (*PasswordStatus) GetLocked

func (x *PasswordStatus) GetLocked() bool

func (*PasswordStatus) GetPasswordExpirationTime

func (x *PasswordStatus) GetPasswordExpirationTime() *timestamppb.Timestamp

func (*PasswordStatus) ProtoMessage

func (*PasswordStatus) ProtoMessage()

func (*PasswordStatus) ProtoReflect

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

func (*PasswordStatus) Reset

func (x *PasswordStatus) Reset()

func (*PasswordStatus) String

func (x *PasswordStatus) String() string

type PasswordValidationPolicy

type PasswordValidationPolicy struct {

	// Minimum number of characters allowed.
	MinLength *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	// The complexity of the password.
	Complexity PasswordValidationPolicy_Complexity `` /* 140-byte string literal not displayed */
	// Number of previous passwords that cannot be reused.
	ReuseInterval *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=reuse_interval,json=reuseInterval,proto3" json:"reuse_interval,omitempty"`
	// Disallow username as a part of the password.
	DisallowUsernameSubstring *wrapperspb.BoolValue `` /* 138-byte string literal not displayed */
	// Minimum interval after which the password can be changed. This flag is only
	// supported for PostgresSQL.
	PasswordChangeInterval *durationpb.Duration `` /* 129-byte string literal not displayed */
	// Whether the password policy is enabled or not.
	EnablePasswordPolicy *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=enable_password_policy,json=enablePasswordPolicy,proto3" json:"enable_password_policy,omitempty"`
	// contains filtered or unexported fields
}

Database instance local user password validation policy

func (*PasswordValidationPolicy) Descriptor deprecated

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

Deprecated: Use PasswordValidationPolicy.ProtoReflect.Descriptor instead.

func (*PasswordValidationPolicy) GetComplexity

func (*PasswordValidationPolicy) GetDisallowUsernameSubstring

func (x *PasswordValidationPolicy) GetDisallowUsernameSubstring() *wrapperspb.BoolValue

func (*PasswordValidationPolicy) GetEnablePasswordPolicy

func (x *PasswordValidationPolicy) GetEnablePasswordPolicy() *wrapperspb.BoolValue

func (*PasswordValidationPolicy) GetMinLength

func (x *PasswordValidationPolicy) GetMinLength() *wrapperspb.Int32Value

func (*PasswordValidationPolicy) GetPasswordChangeInterval

func (x *PasswordValidationPolicy) GetPasswordChangeInterval() *durationpb.Duration

func (*PasswordValidationPolicy) GetReuseInterval

func (x *PasswordValidationPolicy) GetReuseInterval() *wrapperspb.Int32Value

func (*PasswordValidationPolicy) ProtoMessage

func (*PasswordValidationPolicy) ProtoMessage()

func (*PasswordValidationPolicy) ProtoReflect

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

func (*PasswordValidationPolicy) Reset

func (x *PasswordValidationPolicy) Reset()

func (*PasswordValidationPolicy) String

func (x *PasswordValidationPolicy) String() string

type PasswordValidationPolicy_Complexity

type PasswordValidationPolicy_Complexity int32

The complexity choices of the password.

const (
	// Complexity check is not specified.
	PasswordValidationPolicy_COMPLEXITY_UNSPECIFIED PasswordValidationPolicy_Complexity = 0
	// A combination of lowercase, uppercase, numeric, and non-alphanumeric
	// characters.
	PasswordValidationPolicy_COMPLEXITY_DEFAULT PasswordValidationPolicy_Complexity = 1
)

func (PasswordValidationPolicy_Complexity) Descriptor

func (PasswordValidationPolicy_Complexity) Enum

func (PasswordValidationPolicy_Complexity) EnumDescriptor deprecated

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

Deprecated: Use PasswordValidationPolicy_Complexity.Descriptor instead.

func (PasswordValidationPolicy_Complexity) Number

func (PasswordValidationPolicy_Complexity) String

func (PasswordValidationPolicy_Complexity) Type

type ReplicaConfiguration

type ReplicaConfiguration struct {

	// This is always `sql#replicaConfiguration`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// MySQL specific configuration when replicating from a MySQL on-premises
	// primary instance. Replication configuration information such as the
	// username, password, certificates, and keys are not stored in the instance
	// metadata. The configuration information is used only to set up the
	// replication connection and is stored by MySQL in a file named
	// `master.info` in the data directory.
	MysqlReplicaConfiguration *MySqlReplicaConfiguration `` /* 138-byte string literal not displayed */
	// Specifies if the replica is the failover target. If the field is set to
	// `true` the replica will be designated as a failover replica. In case the
	// primary instance fails, the replica instance will be promoted as the new
	// primary instance. Only one replica can be specified as failover target, and
	// the replica has to be in different zone with the primary instance.
	FailoverTarget *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=failover_target,json=failoverTarget,proto3" json:"failover_target,omitempty"`
	// contains filtered or unexported fields
}

Read-replica configuration for connecting to the primary instance.

func (*ReplicaConfiguration) Descriptor deprecated

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

Deprecated: Use ReplicaConfiguration.ProtoReflect.Descriptor instead.

func (*ReplicaConfiguration) GetFailoverTarget

func (x *ReplicaConfiguration) GetFailoverTarget() *wrapperspb.BoolValue

func (*ReplicaConfiguration) GetKind

func (x *ReplicaConfiguration) GetKind() string

func (*ReplicaConfiguration) GetMysqlReplicaConfiguration

func (x *ReplicaConfiguration) GetMysqlReplicaConfiguration() *MySqlReplicaConfiguration

func (*ReplicaConfiguration) ProtoMessage

func (*ReplicaConfiguration) ProtoMessage()

func (*ReplicaConfiguration) ProtoReflect

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

func (*ReplicaConfiguration) Reset

func (x *ReplicaConfiguration) Reset()

func (*ReplicaConfiguration) String

func (x *ReplicaConfiguration) String() string

type RestoreBackupContext

type RestoreBackupContext struct {

	// This is always `sql#restoreBackupContext`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The ID of the backup run to restore from.
	BackupRunId int64 `protobuf:"varint,2,opt,name=backup_run_id,json=backupRunId,proto3" json:"backup_run_id,omitempty"`
	// The ID of the instance that the backup was taken from.
	InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The full project ID of the source instance.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

Database instance restore from backup context. Backup context contains source instance id and project id.

func (*RestoreBackupContext) Descriptor deprecated

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

Deprecated: Use RestoreBackupContext.ProtoReflect.Descriptor instead.

func (*RestoreBackupContext) GetBackupRunId

func (x *RestoreBackupContext) GetBackupRunId() int64

func (*RestoreBackupContext) GetInstanceId

func (x *RestoreBackupContext) GetInstanceId() string

func (*RestoreBackupContext) GetKind

func (x *RestoreBackupContext) GetKind() string

func (*RestoreBackupContext) GetProject

func (x *RestoreBackupContext) GetProject() string

func (*RestoreBackupContext) ProtoMessage

func (*RestoreBackupContext) ProtoMessage()

func (*RestoreBackupContext) ProtoReflect

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

func (*RestoreBackupContext) Reset

func (x *RestoreBackupContext) Reset()

func (*RestoreBackupContext) String

func (x *RestoreBackupContext) String() string

type RotateServerCaContext

type RotateServerCaContext struct {

	// This is always `sql#rotateServerCaContext`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The fingerprint of the next version to be rotated to. If left unspecified,
	// will be rotated to the most recently added server CA version.
	NextVersion string `protobuf:"bytes,2,opt,name=next_version,json=nextVersion,proto3" json:"next_version,omitempty"`
	// contains filtered or unexported fields
}

Instance rotate server CA context.

func (*RotateServerCaContext) Descriptor deprecated

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

Deprecated: Use RotateServerCaContext.ProtoReflect.Descriptor instead.

func (*RotateServerCaContext) GetKind

func (x *RotateServerCaContext) GetKind() string

func (*RotateServerCaContext) GetNextVersion

func (x *RotateServerCaContext) GetNextVersion() string

func (*RotateServerCaContext) ProtoMessage

func (*RotateServerCaContext) ProtoMessage()

func (*RotateServerCaContext) ProtoReflect

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

func (*RotateServerCaContext) Reset

func (x *RotateServerCaContext) Reset()

func (*RotateServerCaContext) String

func (x *RotateServerCaContext) String() string

type Settings

type Settings struct {

	// The version of instance settings. This is a required field for update
	// method to make sure concurrent updates are handled properly. During update,
	// use the most recent settingsVersion value for this instance and do not try
	// to update this value.
	SettingsVersion *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=settings_version,json=settingsVersion,proto3" json:"settings_version,omitempty"`
	// The App Engine app IDs that can access this instance.
	// (Deprecated) Applied to First Generation instances only.
	//
	// Deprecated: Do not use.
	AuthorizedGaeApplications []string `` /* 138-byte string literal not displayed */
	// The tier (or machine type) for this instance, for example
	// `db-custom-1-3840`. WARNING: Changing this restarts the instance.
	Tier string `protobuf:"bytes,3,opt,name=tier,proto3" json:"tier,omitempty"`
	// This is always `sql#settings`.
	Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	// User-provided labels, represented as a dictionary where each label is a
	// single key value pair.
	UserLabels map[string]string `` /* 179-byte string literal not displayed */
	// Availability type. Potential values:
	// *  `ZONAL`: The instance serves data from only one zone. Outages in that
	// zone affect data accessibility.
	// *  `REGIONAL`: The instance can serve data from more than one zone in a
	// region (it is highly available)./
	//
	// For more information, see [Overview of the High Availability
	// Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
	AvailabilityType SqlAvailabilityType `` /* 160-byte string literal not displayed */
	// The pricing plan for this instance. This can be either `PER_USE` or
	// `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
	PricingPlan SqlPricingPlan `` /* 140-byte string literal not displayed */
	// The type of replication this instance uses. This can be either
	// `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
	// applicable to First Generation instances.
	//
	// Deprecated: Do not use.
	ReplicationType SqlReplicationType `` /* 156-byte string literal not displayed */
	// The maximum size to which storage capacity can be automatically increased.
	// The default value is 0, which specifies that there is no limit.
	StorageAutoResizeLimit *wrapperspb.Int64Value `` /* 131-byte string literal not displayed */
	// The activation policy specifies when the instance is activated; it is
	// applicable only when the instance state is RUNNABLE. Valid values:
	// *  `ALWAYS`: The instance is on, and remains so even in the absence of
	// connection requests.
	// *  `NEVER`: The instance is off; it is not activated, even if a
	// connection request arrives.
	ActivationPolicy Settings_SqlActivationPolicy `` /* 170-byte string literal not displayed */
	// The settings for IP Management. This allows to enable or disable the
	// instance IP and manage which external networks can connect to the instance.
	// The IPv4 address cannot be disabled for Second Generation instances.
	IpConfiguration *IpConfiguration `protobuf:"bytes,11,opt,name=ip_configuration,json=ipConfiguration,proto3" json:"ip_configuration,omitempty"`
	// Configuration to increase storage size automatically. The default value is
	// true.
	StorageAutoResize *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=storage_auto_resize,json=storageAutoResize,proto3" json:"storage_auto_resize,omitempty"`
	// The location preference settings. This allows the instance to be located as
	// near as possible to either an App Engine app or Compute Engine zone for
	// better performance. App Engine co-location was only applicable to First
	// Generation instances.
	LocationPreference *LocationPreference `protobuf:"bytes,13,opt,name=location_preference,json=locationPreference,proto3" json:"location_preference,omitempty"`
	// The database flags passed to the instance at startup.
	DatabaseFlags []*DatabaseFlags `protobuf:"bytes,14,rep,name=database_flags,json=databaseFlags,proto3" json:"database_flags,omitempty"`
	// The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
	// First Generation instances.
	DataDiskType SqlDataDiskType `` /* 147-byte string literal not displayed */
	// The maintenance window for this instance. This specifies when the instance
	// can be restarted for maintenance purposes.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,16,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// The daily backup configuration for the instance.
	BackupConfiguration *BackupConfiguration `protobuf:"bytes,17,opt,name=backup_configuration,json=backupConfiguration,proto3" json:"backup_configuration,omitempty"`
	// Configuration specific to read replica instances. Indicates whether
	// replication is enabled or not. WARNING: Changing this restarts the
	// instance.
	DatabaseReplicationEnabled *wrapperspb.BoolValue `` /* 142-byte string literal not displayed */
	// Configuration specific to read replica instances. Indicates whether
	// database flags for crash-safe replication are enabled. This property was
	// only applicable to First Generation instances.
	//
	// Deprecated: Do not use.
	CrashSafeReplicationEnabled *wrapperspb.BoolValue `` /* 147-byte string literal not displayed */
	// The size of data disk, in GB. The data disk size minimum is 10GB.
	DataDiskSizeGb *wrapperspb.Int64Value `protobuf:"bytes,20,opt,name=data_disk_size_gb,json=dataDiskSizeGb,proto3" json:"data_disk_size_gb,omitempty"`
	// Active Directory configuration, relevant only for Cloud SQL for SQL Server.
	ActiveDirectoryConfig *SqlActiveDirectoryConfig `` /* 127-byte string literal not displayed */
	// The name of server Instance collation.
	Collation string `protobuf:"bytes,23,opt,name=collation,proto3" json:"collation,omitempty"`
	// Deny maintenance periods
	DenyMaintenancePeriods []*DenyMaintenancePeriod `` /* 130-byte string literal not displayed */
	// Insights configuration, for now relevant only for Postgres.
	InsightsConfig *InsightsConfig `protobuf:"bytes,25,opt,name=insights_config,json=insightsConfig,proto3" json:"insights_config,omitempty"`
	// The local user password validation policy of the instance.
	PasswordValidationPolicy *PasswordValidationPolicy `` /* 136-byte string literal not displayed */
	// SQL Server specific audit configuration.
	SqlServerAuditConfig *SqlServerAuditConfig `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Database instance settings.

func (*Settings) Descriptor deprecated

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetActivationPolicy

func (x *Settings) GetActivationPolicy() Settings_SqlActivationPolicy

func (*Settings) GetActiveDirectoryConfig

func (x *Settings) GetActiveDirectoryConfig() *SqlActiveDirectoryConfig

func (*Settings) GetAuthorizedGaeApplications deprecated

func (x *Settings) GetAuthorizedGaeApplications() []string

Deprecated: Do not use.

func (*Settings) GetAvailabilityType

func (x *Settings) GetAvailabilityType() SqlAvailabilityType

func (*Settings) GetBackupConfiguration

func (x *Settings) GetBackupConfiguration() *BackupConfiguration

func (*Settings) GetCollation

func (x *Settings) GetCollation() string

func (*Settings) GetCrashSafeReplicationEnabled deprecated

func (x *Settings) GetCrashSafeReplicationEnabled() *wrapperspb.BoolValue

Deprecated: Do not use.

func (*Settings) GetDataDiskSizeGb

func (x *Settings) GetDataDiskSizeGb() *wrapperspb.Int64Value

func (*Settings) GetDataDiskType

func (x *Settings) GetDataDiskType() SqlDataDiskType

func (*Settings) GetDatabaseFlags

func (x *Settings) GetDatabaseFlags() []*DatabaseFlags

func (*Settings) GetDatabaseReplicationEnabled

func (x *Settings) GetDatabaseReplicationEnabled() *wrapperspb.BoolValue

func (*Settings) GetDenyMaintenancePeriods

func (x *Settings) GetDenyMaintenancePeriods() []*DenyMaintenancePeriod

func (*Settings) GetInsightsConfig

func (x *Settings) GetInsightsConfig() *InsightsConfig

func (*Settings) GetIpConfiguration

func (x *Settings) GetIpConfiguration() *IpConfiguration

func (*Settings) GetKind

func (x *Settings) GetKind() string

func (*Settings) GetLocationPreference

func (x *Settings) GetLocationPreference() *LocationPreference

func (*Settings) GetMaintenanceWindow

func (x *Settings) GetMaintenanceWindow() *MaintenanceWindow

func (*Settings) GetPasswordValidationPolicy

func (x *Settings) GetPasswordValidationPolicy() *PasswordValidationPolicy

func (*Settings) GetPricingPlan

func (x *Settings) GetPricingPlan() SqlPricingPlan

func (*Settings) GetReplicationType deprecated

func (x *Settings) GetReplicationType() SqlReplicationType

Deprecated: Do not use.

func (*Settings) GetSettingsVersion

func (x *Settings) GetSettingsVersion() *wrapperspb.Int64Value

func (*Settings) GetSqlServerAuditConfig

func (x *Settings) GetSqlServerAuditConfig() *SqlServerAuditConfig

func (*Settings) GetStorageAutoResize

func (x *Settings) GetStorageAutoResize() *wrapperspb.BoolValue

func (*Settings) GetStorageAutoResizeLimit

func (x *Settings) GetStorageAutoResizeLimit() *wrapperspb.Int64Value

func (*Settings) GetTier

func (x *Settings) GetTier() string

func (*Settings) GetUserLabels

func (x *Settings) GetUserLabels() map[string]string

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

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

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type Settings_SqlActivationPolicy

type Settings_SqlActivationPolicy int32

Specifies when the instance is activated.

const (
	// Unknown activation plan.
	Settings_SQL_ACTIVATION_POLICY_UNSPECIFIED Settings_SqlActivationPolicy = 0
	// The instance is always up and running.
	Settings_ALWAYS Settings_SqlActivationPolicy = 1
	// The instance never starts.
	Settings_NEVER Settings_SqlActivationPolicy = 2
	// The instance starts upon receiving requests.
	//
	// Deprecated: Do not use.
	Settings_ON_DEMAND Settings_SqlActivationPolicy = 3
)

func (Settings_SqlActivationPolicy) Descriptor

func (Settings_SqlActivationPolicy) Enum

func (Settings_SqlActivationPolicy) EnumDescriptor deprecated

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

Deprecated: Use Settings_SqlActivationPolicy.Descriptor instead.

func (Settings_SqlActivationPolicy) Number

func (Settings_SqlActivationPolicy) String

func (Settings_SqlActivationPolicy) Type

type SqlActiveDirectoryConfig

type SqlActiveDirectoryConfig struct {

	// This is always sql#activeDirectoryConfig.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The name of the domain (e.g., mydomain.com).
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

Active Directory configuration, relevant only for Cloud SQL for SQL Server.

func (*SqlActiveDirectoryConfig) Descriptor deprecated

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

Deprecated: Use SqlActiveDirectoryConfig.ProtoReflect.Descriptor instead.

func (*SqlActiveDirectoryConfig) GetDomain

func (x *SqlActiveDirectoryConfig) GetDomain() string

func (*SqlActiveDirectoryConfig) GetKind

func (x *SqlActiveDirectoryConfig) GetKind() string

func (*SqlActiveDirectoryConfig) ProtoMessage

func (*SqlActiveDirectoryConfig) ProtoMessage()

func (*SqlActiveDirectoryConfig) ProtoReflect

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

func (*SqlActiveDirectoryConfig) Reset

func (x *SqlActiveDirectoryConfig) Reset()

func (*SqlActiveDirectoryConfig) String

func (x *SqlActiveDirectoryConfig) String() string

type SqlAvailabilityType

type SqlAvailabilityType int32

The availability type of the given Cloud SQL instance.

const (
	// This is an unknown Availability type.
	SqlAvailabilityType_SQL_AVAILABILITY_TYPE_UNSPECIFIED SqlAvailabilityType = 0
	// Zonal available instance.
	SqlAvailabilityType_ZONAL SqlAvailabilityType = 1
	// Regional available instance.
	SqlAvailabilityType_REGIONAL SqlAvailabilityType = 2
)

func (SqlAvailabilityType) Descriptor

func (SqlAvailabilityType) Enum

func (SqlAvailabilityType) EnumDescriptor deprecated

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

Deprecated: Use SqlAvailabilityType.Descriptor instead.

func (SqlAvailabilityType) Number

func (SqlAvailabilityType) String

func (x SqlAvailabilityType) String() string

func (SqlAvailabilityType) Type

type SqlBackendType

type SqlBackendType int32
const (
	// This is an unknown backend type for instance.
	SqlBackendType_SQL_BACKEND_TYPE_UNSPECIFIED SqlBackendType = 0
	// V1 speckle instance.
	//
	// Deprecated: Do not use.
	SqlBackendType_FIRST_GEN SqlBackendType = 1
	// V2 speckle instance.
	SqlBackendType_SECOND_GEN SqlBackendType = 2
	// On premises instance.
	SqlBackendType_EXTERNAL SqlBackendType = 3
)

func (SqlBackendType) Descriptor

func (SqlBackendType) Enum

func (x SqlBackendType) Enum() *SqlBackendType

func (SqlBackendType) EnumDescriptor deprecated

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

Deprecated: Use SqlBackendType.Descriptor instead.

func (SqlBackendType) Number

func (SqlBackendType) String

func (x SqlBackendType) String() string

func (SqlBackendType) Type

type SqlBackupKind

type SqlBackupKind int32

Defines the supported backup kinds

const (
	// This is an unknown BackupKind.
	SqlBackupKind_SQL_BACKUP_KIND_UNSPECIFIED SqlBackupKind = 0
	// The snapshot based backups
	SqlBackupKind_SNAPSHOT SqlBackupKind = 1
	// Physical backups
	SqlBackupKind_PHYSICAL SqlBackupKind = 2
)

func (SqlBackupKind) Descriptor

func (SqlBackupKind) Enum

func (x SqlBackupKind) Enum() *SqlBackupKind

func (SqlBackupKind) EnumDescriptor deprecated

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

Deprecated: Use SqlBackupKind.Descriptor instead.

func (SqlBackupKind) Number

func (SqlBackupKind) String

func (x SqlBackupKind) String() string

func (SqlBackupKind) Type

type SqlBackupRunStatus

type SqlBackupRunStatus int32

The status of a backup run.

const (
	// The status of the run is unknown.
	SqlBackupRunStatus_SQL_BACKUP_RUN_STATUS_UNSPECIFIED SqlBackupRunStatus = 0
	// The backup operation was enqueued.
	SqlBackupRunStatus_ENQUEUED SqlBackupRunStatus = 1
	// The backup is overdue across a given backup window. Indicates a
	// problem. Example: Long-running operation in progress during
	// the whole window.
	SqlBackupRunStatus_OVERDUE SqlBackupRunStatus = 2
	// The backup is in progress.
	SqlBackupRunStatus_RUNNING SqlBackupRunStatus = 3
	// The backup failed.
	SqlBackupRunStatus_FAILED SqlBackupRunStatus = 4
	// The backup was successful.
	SqlBackupRunStatus_SUCCESSFUL SqlBackupRunStatus = 5
	// The backup was skipped (without problems) for a given backup
	// window. Example: Instance was idle.
	SqlBackupRunStatus_SKIPPED SqlBackupRunStatus = 6
	// The backup is about to be deleted.
	SqlBackupRunStatus_DELETION_PENDING SqlBackupRunStatus = 7
	// The backup deletion failed.
	SqlBackupRunStatus_DELETION_FAILED SqlBackupRunStatus = 8
	// The backup has been deleted.
	SqlBackupRunStatus_DELETED SqlBackupRunStatus = 9
)

func (SqlBackupRunStatus) Descriptor

func (SqlBackupRunStatus) Enum

func (SqlBackupRunStatus) EnumDescriptor deprecated

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

Deprecated: Use SqlBackupRunStatus.Descriptor instead.

func (SqlBackupRunStatus) Number

func (SqlBackupRunStatus) String

func (x SqlBackupRunStatus) String() string

func (SqlBackupRunStatus) Type

type SqlBackupRunType

type SqlBackupRunType int32
const (
	// This is an unknown BackupRun type.
	SqlBackupRunType_SQL_BACKUP_RUN_TYPE_UNSPECIFIED SqlBackupRunType = 0
	// The backup schedule automatically triggers a backup.
	SqlBackupRunType_AUTOMATED SqlBackupRunType = 1
	// The user manually triggers a backup.
	SqlBackupRunType_ON_DEMAND SqlBackupRunType = 2
)

func (SqlBackupRunType) Descriptor

func (SqlBackupRunType) Enum

func (SqlBackupRunType) EnumDescriptor deprecated

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

Deprecated: Use SqlBackupRunType.Descriptor instead.

func (SqlBackupRunType) Number

func (SqlBackupRunType) String

func (x SqlBackupRunType) String() string

func (SqlBackupRunType) Type

type SqlBackupRunsDeleteRequest

type SqlBackupRunsDeleteRequest struct {

	// The ID of the backup run to delete. To find a backup run ID, use the
	// [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
	// method.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlBackupRunsDeleteRequest) Descriptor deprecated

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

Deprecated: Use SqlBackupRunsDeleteRequest.ProtoReflect.Descriptor instead.

func (*SqlBackupRunsDeleteRequest) GetId

func (x *SqlBackupRunsDeleteRequest) GetId() int64

func (*SqlBackupRunsDeleteRequest) GetInstance

func (x *SqlBackupRunsDeleteRequest) GetInstance() string

func (*SqlBackupRunsDeleteRequest) GetProject

func (x *SqlBackupRunsDeleteRequest) GetProject() string

func (*SqlBackupRunsDeleteRequest) ProtoMessage

func (*SqlBackupRunsDeleteRequest) ProtoMessage()

func (*SqlBackupRunsDeleteRequest) ProtoReflect

func (*SqlBackupRunsDeleteRequest) Reset

func (x *SqlBackupRunsDeleteRequest) Reset()

func (*SqlBackupRunsDeleteRequest) String

func (x *SqlBackupRunsDeleteRequest) String() string

type SqlBackupRunsGetRequest

type SqlBackupRunsGetRequest struct {

	// The ID of this backup run.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlBackupRunsGetRequest) Descriptor deprecated

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

Deprecated: Use SqlBackupRunsGetRequest.ProtoReflect.Descriptor instead.

func (*SqlBackupRunsGetRequest) GetId

func (x *SqlBackupRunsGetRequest) GetId() int64

func (*SqlBackupRunsGetRequest) GetInstance

func (x *SqlBackupRunsGetRequest) GetInstance() string

func (*SqlBackupRunsGetRequest) GetProject

func (x *SqlBackupRunsGetRequest) GetProject() string

func (*SqlBackupRunsGetRequest) ProtoMessage

func (*SqlBackupRunsGetRequest) ProtoMessage()

func (*SqlBackupRunsGetRequest) ProtoReflect

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

func (*SqlBackupRunsGetRequest) Reset

func (x *SqlBackupRunsGetRequest) Reset()

func (*SqlBackupRunsGetRequest) String

func (x *SqlBackupRunsGetRequest) String() string

type SqlBackupRunsInsertRequest

type SqlBackupRunsInsertRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string     `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *BackupRun `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlBackupRunsInsertRequest) Descriptor deprecated

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

Deprecated: Use SqlBackupRunsInsertRequest.ProtoReflect.Descriptor instead.

func (*SqlBackupRunsInsertRequest) GetBody

func (x *SqlBackupRunsInsertRequest) GetBody() *BackupRun

func (*SqlBackupRunsInsertRequest) GetInstance

func (x *SqlBackupRunsInsertRequest) GetInstance() string

func (*SqlBackupRunsInsertRequest) GetProject

func (x *SqlBackupRunsInsertRequest) GetProject() string

func (*SqlBackupRunsInsertRequest) ProtoMessage

func (*SqlBackupRunsInsertRequest) ProtoMessage()

func (*SqlBackupRunsInsertRequest) ProtoReflect

func (*SqlBackupRunsInsertRequest) Reset

func (x *SqlBackupRunsInsertRequest) Reset()

func (*SqlBackupRunsInsertRequest) String

func (x *SqlBackupRunsInsertRequest) String() string

type SqlBackupRunsListRequest

type SqlBackupRunsListRequest struct {

	// Cloud SQL instance ID, or "-" for all instances. This does not include
	// the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Maximum number of backup runs per response.
	MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlBackupRunsListRequest) Descriptor deprecated

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

Deprecated: Use SqlBackupRunsListRequest.ProtoReflect.Descriptor instead.

func (*SqlBackupRunsListRequest) GetInstance

func (x *SqlBackupRunsListRequest) GetInstance() string

func (*SqlBackupRunsListRequest) GetMaxResults

func (x *SqlBackupRunsListRequest) GetMaxResults() int32

func (*SqlBackupRunsListRequest) GetPageToken

func (x *SqlBackupRunsListRequest) GetPageToken() string

func (*SqlBackupRunsListRequest) GetProject

func (x *SqlBackupRunsListRequest) GetProject() string

func (*SqlBackupRunsListRequest) ProtoMessage

func (*SqlBackupRunsListRequest) ProtoMessage()

func (*SqlBackupRunsListRequest) ProtoReflect

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

func (*SqlBackupRunsListRequest) Reset

func (x *SqlBackupRunsListRequest) Reset()

func (*SqlBackupRunsListRequest) String

func (x *SqlBackupRunsListRequest) String() string

type SqlBackupRunsServiceClient

type SqlBackupRunsServiceClient interface {
	// Deletes the backup taken by a backup run.
	Delete(ctx context.Context, in *SqlBackupRunsDeleteRequest, opts ...grpc.CallOption) (*Operation, error)
	// Retrieves a resource containing information about a backup run.
	Get(ctx context.Context, in *SqlBackupRunsGetRequest, opts ...grpc.CallOption) (*BackupRun, error)
	// Creates a new backup run on demand.
	Insert(ctx context.Context, in *SqlBackupRunsInsertRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists all backup runs associated with the project or a given instance and
	// configuration in the reverse chronological order of the backup initiation
	// time.
	List(ctx context.Context, in *SqlBackupRunsListRequest, opts ...grpc.CallOption) (*BackupRunsListResponse, error)
}

SqlBackupRunsServiceClient is the client API for SqlBackupRunsService service.

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

type SqlBackupRunsServiceServer

type SqlBackupRunsServiceServer interface {
	// Deletes the backup taken by a backup run.
	Delete(context.Context, *SqlBackupRunsDeleteRequest) (*Operation, error)
	// Retrieves a resource containing information about a backup run.
	Get(context.Context, *SqlBackupRunsGetRequest) (*BackupRun, error)
	// Creates a new backup run on demand.
	Insert(context.Context, *SqlBackupRunsInsertRequest) (*Operation, error)
	// Lists all backup runs associated with the project or a given instance and
	// configuration in the reverse chronological order of the backup initiation
	// time.
	List(context.Context, *SqlBackupRunsListRequest) (*BackupRunsListResponse, error)
}

SqlBackupRunsServiceServer is the server API for SqlBackupRunsService service.

type SqlConnectServiceClient

type SqlConnectServiceClient interface {
	// Retrieves connect settings about a Cloud SQL instance.
	GetConnectSettings(ctx context.Context, in *GetConnectSettingsRequest, opts ...grpc.CallOption) (*ConnectSettings, error)
	// Generates a short-lived X509 certificate containing the provided public key
	// and signed by a private key specific to the target instance. Users may use
	// the certificate to authenticate as themselves when connecting to the
	// database.
	GenerateEphemeralCert(ctx context.Context, in *GenerateEphemeralCertRequest, opts ...grpc.CallOption) (*GenerateEphemeralCertResponse, error)
}

SqlConnectServiceClient is the client API for SqlConnectService service.

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

type SqlConnectServiceServer

type SqlConnectServiceServer interface {
	// Retrieves connect settings about a Cloud SQL instance.
	GetConnectSettings(context.Context, *GetConnectSettingsRequest) (*ConnectSettings, error)
	// Generates a short-lived X509 certificate containing the provided public key
	// and signed by a private key specific to the target instance. Users may use
	// the certificate to authenticate as themselves when connecting to the
	// database.
	GenerateEphemeralCert(context.Context, *GenerateEphemeralCertRequest) (*GenerateEphemeralCertResponse, error)
}

SqlConnectServiceServer is the server API for SqlConnectService service.

type SqlDataDiskType

type SqlDataDiskType int32

The type of disk that is used for a v2 instance to use.

const (
	// This is an unknown data disk type.
	SqlDataDiskType_SQL_DATA_DISK_TYPE_UNSPECIFIED SqlDataDiskType = 0
	// An SSD data disk.
	SqlDataDiskType_PD_SSD SqlDataDiskType = 1
	// An HDD data disk.
	SqlDataDiskType_PD_HDD SqlDataDiskType = 2
	// This field is deprecated and will be removed from a future version of the
	// API.
	//
	// Deprecated: Do not use.
	SqlDataDiskType_OBSOLETE_LOCAL_SSD SqlDataDiskType = 3
)

func (SqlDataDiskType) Descriptor

func (SqlDataDiskType) Enum

func (x SqlDataDiskType) Enum() *SqlDataDiskType

func (SqlDataDiskType) EnumDescriptor deprecated

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

Deprecated: Use SqlDataDiskType.Descriptor instead.

func (SqlDataDiskType) Number

func (SqlDataDiskType) String

func (x SqlDataDiskType) String() string

func (SqlDataDiskType) Type

type SqlDatabaseVersion

type SqlDatabaseVersion int32

The database engine type and version.

const (
	// This is an unknown database version.
	SqlDatabaseVersion_SQL_DATABASE_VERSION_UNSPECIFIED SqlDatabaseVersion = 0
	// The database version is MySQL 5.1.
	//
	// Deprecated: Do not use.
	SqlDatabaseVersion_MYSQL_5_1 SqlDatabaseVersion = 2
	// The database version is MySQL 5.5.
	//
	// Deprecated: Do not use.
	SqlDatabaseVersion_MYSQL_5_5 SqlDatabaseVersion = 3
	// The database version is MySQL 5.6.
	SqlDatabaseVersion_MYSQL_5_6 SqlDatabaseVersion = 5
	// The database version is MySQL 5.7.
	SqlDatabaseVersion_MYSQL_5_7 SqlDatabaseVersion = 6
	// The database version is PostgreSQL 9.6.
	SqlDatabaseVersion_POSTGRES_9_6 SqlDatabaseVersion = 9
	// The database version is PostgreSQL 11.
	SqlDatabaseVersion_POSTGRES_11 SqlDatabaseVersion = 10
	// The database version is SQL Server 2017 Standard.
	SqlDatabaseVersion_SQLSERVER_2017_STANDARD SqlDatabaseVersion = 11
	// The database version is SQL Server 2017 Enterprise.
	SqlDatabaseVersion_SQLSERVER_2017_ENTERPRISE SqlDatabaseVersion = 14
	// The database version is SQL Server 2017 Express.
	SqlDatabaseVersion_SQLSERVER_2017_EXPRESS SqlDatabaseVersion = 15
	// The database version is SQL Server 2017 Web.
	SqlDatabaseVersion_SQLSERVER_2017_WEB SqlDatabaseVersion = 16
	// The database version is PostgreSQL 10.
	SqlDatabaseVersion_POSTGRES_10 SqlDatabaseVersion = 18
	// The database version is PostgreSQL 12.
	SqlDatabaseVersion_POSTGRES_12 SqlDatabaseVersion = 19
	// The database version is MySQL 8.
	SqlDatabaseVersion_MYSQL_8_0 SqlDatabaseVersion = 20
	// The database major version is MySQL 8.0 and the minor version is 18.
	SqlDatabaseVersion_MYSQL_8_0_18 SqlDatabaseVersion = 41
	// The database major version is MySQL 8.0 and the minor version is 26.
	SqlDatabaseVersion_MYSQL_8_0_26 SqlDatabaseVersion = 85
	// The database major version is MySQL 8.0 and the minor version is 27.
	SqlDatabaseVersion_MYSQL_8_0_27 SqlDatabaseVersion = 111
	// The database major version is MySQL 8.0 and the minor version is 28.
	SqlDatabaseVersion_MYSQL_8_0_28 SqlDatabaseVersion = 132
	// The database version is PostgreSQL 13.
	SqlDatabaseVersion_POSTGRES_13 SqlDatabaseVersion = 23
	// The database version is PostgreSQL 14.
	SqlDatabaseVersion_POSTGRES_14 SqlDatabaseVersion = 110
	// The database version is SQL Server 2019 Standard.
	SqlDatabaseVersion_SQLSERVER_2019_STANDARD SqlDatabaseVersion = 26
	// The database version is SQL Server 2019 Enterprise.
	SqlDatabaseVersion_SQLSERVER_2019_ENTERPRISE SqlDatabaseVersion = 27
	// The database version is SQL Server 2019 Express.
	SqlDatabaseVersion_SQLSERVER_2019_EXPRESS SqlDatabaseVersion = 28
	// The database version is SQL Server 2019 Web.
	SqlDatabaseVersion_SQLSERVER_2019_WEB SqlDatabaseVersion = 29
)

func (SqlDatabaseVersion) Descriptor

func (SqlDatabaseVersion) Enum

func (SqlDatabaseVersion) EnumDescriptor deprecated

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

Deprecated: Use SqlDatabaseVersion.Descriptor instead.

func (SqlDatabaseVersion) Number

func (SqlDatabaseVersion) String

func (x SqlDatabaseVersion) String() string

func (SqlDatabaseVersion) Type

type SqlDatabasesDeleteRequest

type SqlDatabasesDeleteRequest struct {

	// Name of the database to be deleted in the instance.
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlDatabasesDeleteRequest) Descriptor deprecated

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

Deprecated: Use SqlDatabasesDeleteRequest.ProtoReflect.Descriptor instead.

func (*SqlDatabasesDeleteRequest) GetDatabase

func (x *SqlDatabasesDeleteRequest) GetDatabase() string

func (*SqlDatabasesDeleteRequest) GetInstance

func (x *SqlDatabasesDeleteRequest) GetInstance() string

func (*SqlDatabasesDeleteRequest) GetProject

func (x *SqlDatabasesDeleteRequest) GetProject() string

func (*SqlDatabasesDeleteRequest) ProtoMessage

func (*SqlDatabasesDeleteRequest) ProtoMessage()

func (*SqlDatabasesDeleteRequest) ProtoReflect

func (*SqlDatabasesDeleteRequest) Reset

func (x *SqlDatabasesDeleteRequest) Reset()

func (*SqlDatabasesDeleteRequest) String

func (x *SqlDatabasesDeleteRequest) String() string

type SqlDatabasesGetRequest

type SqlDatabasesGetRequest struct {

	// Name of the database in the instance.
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlDatabasesGetRequest) Descriptor deprecated

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

Deprecated: Use SqlDatabasesGetRequest.ProtoReflect.Descriptor instead.

func (*SqlDatabasesGetRequest) GetDatabase

func (x *SqlDatabasesGetRequest) GetDatabase() string

func (*SqlDatabasesGetRequest) GetInstance

func (x *SqlDatabasesGetRequest) GetInstance() string

func (*SqlDatabasesGetRequest) GetProject

func (x *SqlDatabasesGetRequest) GetProject() string

func (*SqlDatabasesGetRequest) ProtoMessage

func (*SqlDatabasesGetRequest) ProtoMessage()

func (*SqlDatabasesGetRequest) ProtoReflect

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

func (*SqlDatabasesGetRequest) Reset

func (x *SqlDatabasesGetRequest) Reset()

func (*SqlDatabasesGetRequest) String

func (x *SqlDatabasesGetRequest) String() string

type SqlDatabasesInsertRequest

type SqlDatabasesInsertRequest struct {

	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string    `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *Database `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlDatabasesInsertRequest) Descriptor deprecated

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

Deprecated: Use SqlDatabasesInsertRequest.ProtoReflect.Descriptor instead.

func (*SqlDatabasesInsertRequest) GetBody

func (x *SqlDatabasesInsertRequest) GetBody() *Database

func (*SqlDatabasesInsertRequest) GetInstance

func (x *SqlDatabasesInsertRequest) GetInstance() string

func (*SqlDatabasesInsertRequest) GetProject

func (x *SqlDatabasesInsertRequest) GetProject() string

func (*SqlDatabasesInsertRequest) ProtoMessage

func (*SqlDatabasesInsertRequest) ProtoMessage()

func (*SqlDatabasesInsertRequest) ProtoReflect

func (*SqlDatabasesInsertRequest) Reset

func (x *SqlDatabasesInsertRequest) Reset()

func (*SqlDatabasesInsertRequest) String

func (x *SqlDatabasesInsertRequest) String() string

type SqlDatabasesListRequest

type SqlDatabasesListRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlDatabasesListRequest) Descriptor deprecated

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

Deprecated: Use SqlDatabasesListRequest.ProtoReflect.Descriptor instead.

func (*SqlDatabasesListRequest) GetInstance

func (x *SqlDatabasesListRequest) GetInstance() string

func (*SqlDatabasesListRequest) GetProject

func (x *SqlDatabasesListRequest) GetProject() string

func (*SqlDatabasesListRequest) ProtoMessage

func (*SqlDatabasesListRequest) ProtoMessage()

func (*SqlDatabasesListRequest) ProtoReflect

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

func (*SqlDatabasesListRequest) Reset

func (x *SqlDatabasesListRequest) Reset()

func (*SqlDatabasesListRequest) String

func (x *SqlDatabasesListRequest) String() string

type SqlDatabasesServiceClient

type SqlDatabasesServiceClient interface {
	// Deletes a database from a Cloud SQL instance.
	Delete(ctx context.Context, in *SqlDatabasesDeleteRequest, opts ...grpc.CallOption) (*Operation, error)
	// Retrieves a resource containing information about a database inside a Cloud
	// SQL instance.
	Get(ctx context.Context, in *SqlDatabasesGetRequest, opts ...grpc.CallOption) (*Database, error)
	// Inserts a resource containing information about a database inside a Cloud
	// SQL instance.
	Insert(ctx context.Context, in *SqlDatabasesInsertRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists databases in the specified Cloud SQL instance.
	List(ctx context.Context, in *SqlDatabasesListRequest, opts ...grpc.CallOption) (*DatabasesListResponse, error)
	// Partially updates a resource containing information about a database inside
	// a Cloud SQL instance. This method supports patch semantics.
	Patch(ctx context.Context, in *SqlDatabasesUpdateRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates a resource containing information about a database inside a Cloud
	// SQL instance.
	Update(ctx context.Context, in *SqlDatabasesUpdateRequest, opts ...grpc.CallOption) (*Operation, error)
}

SqlDatabasesServiceClient is the client API for SqlDatabasesService service.

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

type SqlDatabasesServiceServer

type SqlDatabasesServiceServer interface {
	// Deletes a database from a Cloud SQL instance.
	Delete(context.Context, *SqlDatabasesDeleteRequest) (*Operation, error)
	// Retrieves a resource containing information about a database inside a Cloud
	// SQL instance.
	Get(context.Context, *SqlDatabasesGetRequest) (*Database, error)
	// Inserts a resource containing information about a database inside a Cloud
	// SQL instance.
	Insert(context.Context, *SqlDatabasesInsertRequest) (*Operation, error)
	// Lists databases in the specified Cloud SQL instance.
	List(context.Context, *SqlDatabasesListRequest) (*DatabasesListResponse, error)
	// Partially updates a resource containing information about a database inside
	// a Cloud SQL instance. This method supports patch semantics.
	Patch(context.Context, *SqlDatabasesUpdateRequest) (*Operation, error)
	// Updates a resource containing information about a database inside a Cloud
	// SQL instance.
	Update(context.Context, *SqlDatabasesUpdateRequest) (*Operation, error)
}

SqlDatabasesServiceServer is the server API for SqlDatabasesService service.

type SqlDatabasesUpdateRequest

type SqlDatabasesUpdateRequest struct {

	// Name of the database to be updated in the instance.
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string    `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	Body    *Database `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlDatabasesUpdateRequest) Descriptor deprecated

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

Deprecated: Use SqlDatabasesUpdateRequest.ProtoReflect.Descriptor instead.

func (*SqlDatabasesUpdateRequest) GetBody

func (x *SqlDatabasesUpdateRequest) GetBody() *Database

func (*SqlDatabasesUpdateRequest) GetDatabase

func (x *SqlDatabasesUpdateRequest) GetDatabase() string

func (*SqlDatabasesUpdateRequest) GetInstance

func (x *SqlDatabasesUpdateRequest) GetInstance() string

func (*SqlDatabasesUpdateRequest) GetProject

func (x *SqlDatabasesUpdateRequest) GetProject() string

func (*SqlDatabasesUpdateRequest) ProtoMessage

func (*SqlDatabasesUpdateRequest) ProtoMessage()

func (*SqlDatabasesUpdateRequest) ProtoReflect

func (*SqlDatabasesUpdateRequest) Reset

func (x *SqlDatabasesUpdateRequest) Reset()

func (*SqlDatabasesUpdateRequest) String

func (x *SqlDatabasesUpdateRequest) String() string

type SqlExternalSyncSettingError

type SqlExternalSyncSettingError struct {

	// Can be `sql#externalSyncSettingError` or
	// `sql#externalSyncSettingWarning`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Identifies the specific error that occurred.
	Type SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType `` /* 152-byte string literal not displayed */
	// Additional information about the error encountered.
	Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

External primary instance migration setting error/warning.

func (*SqlExternalSyncSettingError) Descriptor deprecated

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

Deprecated: Use SqlExternalSyncSettingError.ProtoReflect.Descriptor instead.

func (*SqlExternalSyncSettingError) GetDetail

func (x *SqlExternalSyncSettingError) GetDetail() string

func (*SqlExternalSyncSettingError) GetKind

func (x *SqlExternalSyncSettingError) GetKind() string

func (*SqlExternalSyncSettingError) ProtoMessage

func (*SqlExternalSyncSettingError) ProtoMessage()

func (*SqlExternalSyncSettingError) ProtoReflect

func (*SqlExternalSyncSettingError) Reset

func (x *SqlExternalSyncSettingError) Reset()

func (*SqlExternalSyncSettingError) String

func (x *SqlExternalSyncSettingError) String() string

type SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType

type SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType int32
const (
	SqlExternalSyncSettingError_SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 0
	SqlExternalSyncSettingError_CONNECTION_FAILURE                               SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 1
	SqlExternalSyncSettingError_BINLOG_NOT_ENABLED                               SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 2
	SqlExternalSyncSettingError_INCOMPATIBLE_DATABASE_VERSION                    SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 3
	SqlExternalSyncSettingError_REPLICA_ALREADY_SETUP                            SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 4
	SqlExternalSyncSettingError_INSUFFICIENT_PRIVILEGE                           SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 5
	// Unsupported migration type.
	SqlExternalSyncSettingError_UNSUPPORTED_MIGRATION_TYPE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 6
	// No pglogical extension installed on databases, applicable for postgres.
	SqlExternalSyncSettingError_NO_PGLOGICAL_INSTALLED SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 7
	// pglogical node already exists on databases, applicable for postgres.
	SqlExternalSyncSettingError_PGLOGICAL_NODE_ALREADY_EXISTS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 8
	// The value of parameter wal_level is not set to logical.
	SqlExternalSyncSettingError_INVALID_WAL_LEVEL SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 9
	// The value of parameter shared_preload_libraries does not include
	// pglogical.
	SqlExternalSyncSettingError_INVALID_SHARED_PRELOAD_LIBRARY SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 10
	// The value of parameter max_replication_slots is not sufficient.
	SqlExternalSyncSettingError_INSUFFICIENT_MAX_REPLICATION_SLOTS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 11
	// The value of parameter max_wal_senders is not sufficient.
	SqlExternalSyncSettingError_INSUFFICIENT_MAX_WAL_SENDERS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 12
	// The value of parameter max_worker_processes is not sufficient.
	SqlExternalSyncSettingError_INSUFFICIENT_MAX_WORKER_PROCESSES SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 13
	// Extensions installed are either not supported or having unsupported
	// versions
	SqlExternalSyncSettingError_UNSUPPORTED_EXTENSIONS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 14
	// The value of parameter rds.logical_replication is not set to 1.
	SqlExternalSyncSettingError_INVALID_RDS_LOGICAL_REPLICATION SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 15
	// The primary instance logging setup doesn't allow EM sync.
	SqlExternalSyncSettingError_INVALID_LOGGING_SETUP SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 16
	// The primary instance database parameter setup doesn't allow EM sync.
	SqlExternalSyncSettingError_INVALID_DB_PARAM SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 17
	// The gtid_mode is not supported, applicable for MySQL.
	SqlExternalSyncSettingError_UNSUPPORTED_GTID_MODE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 18
	// SQL Server Agent is not running.
	SqlExternalSyncSettingError_SQLSERVER_AGENT_NOT_RUNNING SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 19
	// The table definition is not support due to missing primary key or replica
	// identity, applicable for postgres.
	SqlExternalSyncSettingError_UNSUPPORTED_TABLE_DEFINITION SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 20
	// The customer has a definer that will break EM setup.
	SqlExternalSyncSettingError_UNSUPPORTED_DEFINER SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 21
	// SQL Server @@SERVERNAME does not match actual host name
	SqlExternalSyncSettingError_SQLSERVER_SERVERNAME_MISMATCH SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 22
	// The primary instance has been setup and will fail the setup.
	SqlExternalSyncSettingError_PRIMARY_ALREADY_SETUP SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 23
	// The primary instance has unsupported binary log format.
	SqlExternalSyncSettingError_UNSUPPORTED_BINLOG_FORMAT SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 24
	// The primary instance's binary log retention setting.
	SqlExternalSyncSettingError_BINLOG_RETENTION_SETTING SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 25
	// The primary instance has tables with unsupported storage engine.
	SqlExternalSyncSettingError_UNSUPPORTED_STORAGE_ENGINE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 26
)

func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Descriptor

func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Enum

func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) EnumDescriptor deprecated

Deprecated: Use SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType.Descriptor instead.

func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Number

func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) String

func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Type

type SqlFileType

type SqlFileType int32
const (
	// Unknown file type.
	SqlFileType_SQL_FILE_TYPE_UNSPECIFIED SqlFileType = 0
	// File containing SQL statements.
	SqlFileType_SQL SqlFileType = 1
	// File in CSV format.
	SqlFileType_CSV SqlFileType = 2
	SqlFileType_BAK SqlFileType = 4
)

func (SqlFileType) Descriptor

func (SqlFileType) Enum

func (x SqlFileType) Enum() *SqlFileType

func (SqlFileType) EnumDescriptor deprecated

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

Deprecated: Use SqlFileType.Descriptor instead.

func (SqlFileType) Number

func (x SqlFileType) Number() protoreflect.EnumNumber

func (SqlFileType) String

func (x SqlFileType) String() string

func (SqlFileType) Type

type SqlFlagType

type SqlFlagType int32
const (
	// This is an unknown flag type.
	SqlFlagType_SQL_FLAG_TYPE_UNSPECIFIED SqlFlagType = 0
	// Boolean type flag.
	SqlFlagType_BOOLEAN SqlFlagType = 1
	// String type flag.
	SqlFlagType_STRING SqlFlagType = 2
	// Integer type flag.
	SqlFlagType_INTEGER SqlFlagType = 3
	// Flag type used for a server startup option.
	SqlFlagType_NONE SqlFlagType = 4
	// Type introduced specially for MySQL TimeZone offset. Accept a string value
	// with the format [-12:59, 13:00].
	SqlFlagType_MYSQL_TIMEZONE_OFFSET SqlFlagType = 5
	// Float type flag.
	SqlFlagType_FLOAT SqlFlagType = 6
	// Comma-separated list of the strings in a SqlFlagType enum.
	SqlFlagType_REPEATED_STRING SqlFlagType = 7
)

func (SqlFlagType) Descriptor

func (SqlFlagType) Enum

func (x SqlFlagType) Enum() *SqlFlagType

func (SqlFlagType) EnumDescriptor deprecated

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

Deprecated: Use SqlFlagType.Descriptor instead.

func (SqlFlagType) Number

func (x SqlFlagType) Number() protoreflect.EnumNumber

func (SqlFlagType) String

func (x SqlFlagType) String() string

func (SqlFlagType) Type

type SqlFlagsListRequest

type SqlFlagsListRequest struct {

	// Database type and version you want to retrieve flags for. By default, this
	// method returns flags for all database types and versions.
	DatabaseVersion string `protobuf:"bytes,1,opt,name=database_version,json=databaseVersion,proto3" json:"database_version,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlFlagsListRequest) Descriptor deprecated

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

Deprecated: Use SqlFlagsListRequest.ProtoReflect.Descriptor instead.

func (*SqlFlagsListRequest) GetDatabaseVersion

func (x *SqlFlagsListRequest) GetDatabaseVersion() string

func (*SqlFlagsListRequest) ProtoMessage

func (*SqlFlagsListRequest) ProtoMessage()

func (*SqlFlagsListRequest) ProtoReflect

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

func (*SqlFlagsListRequest) Reset

func (x *SqlFlagsListRequest) Reset()

func (*SqlFlagsListRequest) String

func (x *SqlFlagsListRequest) String() string

type SqlFlagsServiceClient

type SqlFlagsServiceClient interface {
	// Lists all available database flags for Cloud SQL instances.
	List(ctx context.Context, in *SqlFlagsListRequest, opts ...grpc.CallOption) (*FlagsListResponse, error)
}

SqlFlagsServiceClient is the client API for SqlFlagsService service.

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

type SqlFlagsServiceServer

type SqlFlagsServiceServer interface {
	// Lists all available database flags for Cloud SQL instances.
	List(context.Context, *SqlFlagsListRequest) (*FlagsListResponse, error)
}

SqlFlagsServiceServer is the server API for SqlFlagsService service.

type SqlInstanceType

type SqlInstanceType int32
const (
	// This is an unknown Cloud SQL instance type.
	SqlInstanceType_SQL_INSTANCE_TYPE_UNSPECIFIED SqlInstanceType = 0
	// A regular Cloud SQL instance that is not replicating from a primary
	// instance.
	SqlInstanceType_CLOUD_SQL_INSTANCE SqlInstanceType = 1
	// An instance running on the customer's premises that is not managed by
	// Cloud SQL.
	SqlInstanceType_ON_PREMISES_INSTANCE SqlInstanceType = 2
	// A Cloud SQL instance acting as a read-replica.
	SqlInstanceType_READ_REPLICA_INSTANCE SqlInstanceType = 3
)

func (SqlInstanceType) Descriptor

func (SqlInstanceType) Enum

func (x SqlInstanceType) Enum() *SqlInstanceType

func (SqlInstanceType) EnumDescriptor deprecated

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

Deprecated: Use SqlInstanceType.Descriptor instead.

func (SqlInstanceType) Number

func (SqlInstanceType) String

func (x SqlInstanceType) String() string

func (SqlInstanceType) Type

type SqlInstancesAddServerCaRequest

type SqlInstancesAddServerCaRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesAddServerCaRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesAddServerCaRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesAddServerCaRequest) GetInstance

func (x *SqlInstancesAddServerCaRequest) GetInstance() string

func (*SqlInstancesAddServerCaRequest) GetProject

func (x *SqlInstancesAddServerCaRequest) GetProject() string

func (*SqlInstancesAddServerCaRequest) ProtoMessage

func (*SqlInstancesAddServerCaRequest) ProtoMessage()

func (*SqlInstancesAddServerCaRequest) ProtoReflect

func (*SqlInstancesAddServerCaRequest) Reset

func (x *SqlInstancesAddServerCaRequest) Reset()

func (*SqlInstancesAddServerCaRequest) String

type SqlInstancesCloneRequest

type SqlInstancesCloneRequest struct {

	// The ID of the Cloud SQL instance to be cloned (source). This does not
	// include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the source as well as the clone Cloud SQL instance.
	Project string                 `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesCloneRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesCloneRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesCloneRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesCloneRequest) GetBody

func (*SqlInstancesCloneRequest) GetInstance

func (x *SqlInstancesCloneRequest) GetInstance() string

func (*SqlInstancesCloneRequest) GetProject

func (x *SqlInstancesCloneRequest) GetProject() string

func (*SqlInstancesCloneRequest) ProtoMessage

func (*SqlInstancesCloneRequest) ProtoMessage()

func (*SqlInstancesCloneRequest) ProtoReflect

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

func (*SqlInstancesCloneRequest) Reset

func (x *SqlInstancesCloneRequest) Reset()

func (*SqlInstancesCloneRequest) String

func (x *SqlInstancesCloneRequest) String() string

type SqlInstancesCreateEphemeralCertRequest

type SqlInstancesCreateEphemeralCertRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the Cloud SQL project.
	Project string                          `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *SslCertsCreateEphemeralRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesCreateEphemeralCertRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesCreateEphemeralCertRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesCreateEphemeralCertRequest) GetBody

func (*SqlInstancesCreateEphemeralCertRequest) GetInstance

func (*SqlInstancesCreateEphemeralCertRequest) GetProject

func (*SqlInstancesCreateEphemeralCertRequest) ProtoMessage

func (*SqlInstancesCreateEphemeralCertRequest) ProtoReflect

func (*SqlInstancesCreateEphemeralCertRequest) Reset

func (*SqlInstancesCreateEphemeralCertRequest) String

type SqlInstancesDeleteRequest

type SqlInstancesDeleteRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance to be deleted.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesDeleteRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesDeleteRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesDeleteRequest) GetInstance

func (x *SqlInstancesDeleteRequest) GetInstance() string

func (*SqlInstancesDeleteRequest) GetProject

func (x *SqlInstancesDeleteRequest) GetProject() string

func (*SqlInstancesDeleteRequest) ProtoMessage

func (*SqlInstancesDeleteRequest) ProtoMessage()

func (*SqlInstancesDeleteRequest) ProtoReflect

func (*SqlInstancesDeleteRequest) Reset

func (x *SqlInstancesDeleteRequest) Reset()

func (*SqlInstancesDeleteRequest) String

func (x *SqlInstancesDeleteRequest) String() string

type SqlInstancesDemoteMasterRequest

type SqlInstancesDemoteMasterRequest struct {

	// Cloud SQL instance name.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the instance.
	Project string                        `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesDemoteMasterRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesDemoteMasterRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesDemoteMasterRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesDemoteMasterRequest) GetBody

func (*SqlInstancesDemoteMasterRequest) GetInstance

func (x *SqlInstancesDemoteMasterRequest) GetInstance() string

func (*SqlInstancesDemoteMasterRequest) GetProject

func (x *SqlInstancesDemoteMasterRequest) GetProject() string

func (*SqlInstancesDemoteMasterRequest) ProtoMessage

func (*SqlInstancesDemoteMasterRequest) ProtoMessage()

func (*SqlInstancesDemoteMasterRequest) ProtoReflect

func (*SqlInstancesDemoteMasterRequest) Reset

func (*SqlInstancesDemoteMasterRequest) String

type SqlInstancesExportRequest

type SqlInstancesExportRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance to be exported.
	Project string                  `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesExportRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesExportRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesExportRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesExportRequest) GetBody

func (*SqlInstancesExportRequest) GetInstance

func (x *SqlInstancesExportRequest) GetInstance() string

func (*SqlInstancesExportRequest) GetProject

func (x *SqlInstancesExportRequest) GetProject() string

func (*SqlInstancesExportRequest) ProtoMessage

func (*SqlInstancesExportRequest) ProtoMessage()

func (*SqlInstancesExportRequest) ProtoReflect

func (*SqlInstancesExportRequest) Reset

func (x *SqlInstancesExportRequest) Reset()

func (*SqlInstancesExportRequest) String

func (x *SqlInstancesExportRequest) String() string

type SqlInstancesFailoverRequest

type SqlInstancesFailoverRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the read replica.
	Project string                    `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesFailoverRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesFailoverRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesFailoverRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesFailoverRequest) GetBody

func (*SqlInstancesFailoverRequest) GetInstance

func (x *SqlInstancesFailoverRequest) GetInstance() string

func (*SqlInstancesFailoverRequest) GetProject

func (x *SqlInstancesFailoverRequest) GetProject() string

func (*SqlInstancesFailoverRequest) ProtoMessage

func (*SqlInstancesFailoverRequest) ProtoMessage()

func (*SqlInstancesFailoverRequest) ProtoReflect

func (*SqlInstancesFailoverRequest) Reset

func (x *SqlInstancesFailoverRequest) Reset()

func (*SqlInstancesFailoverRequest) String

func (x *SqlInstancesFailoverRequest) String() string

type SqlInstancesGetRequest

type SqlInstancesGetRequest struct {

	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesGetRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesGetRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesGetRequest) GetInstance

func (x *SqlInstancesGetRequest) GetInstance() string

func (*SqlInstancesGetRequest) GetProject

func (x *SqlInstancesGetRequest) GetProject() string

func (*SqlInstancesGetRequest) ProtoMessage

func (*SqlInstancesGetRequest) ProtoMessage()

func (*SqlInstancesGetRequest) ProtoReflect

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

func (*SqlInstancesGetRequest) Reset

func (x *SqlInstancesGetRequest) Reset()

func (*SqlInstancesGetRequest) String

func (x *SqlInstancesGetRequest) String() string

type SqlInstancesImportRequest

type SqlInstancesImportRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string                  `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesImportRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesImportRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesImportRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesImportRequest) GetBody

func (*SqlInstancesImportRequest) GetInstance

func (x *SqlInstancesImportRequest) GetInstance() string

func (*SqlInstancesImportRequest) GetProject

func (x *SqlInstancesImportRequest) GetProject() string

func (*SqlInstancesImportRequest) ProtoMessage

func (*SqlInstancesImportRequest) ProtoMessage()

func (*SqlInstancesImportRequest) ProtoReflect

func (*SqlInstancesImportRequest) Reset

func (x *SqlInstancesImportRequest) Reset()

func (*SqlInstancesImportRequest) String

func (x *SqlInstancesImportRequest) String() string

type SqlInstancesInsertRequest

type SqlInstancesInsertRequest struct {

	// Project ID of the project to which the newly created Cloud SQL instances
	// should belong.
	Project string            `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Body    *DatabaseInstance `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesInsertRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesInsertRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesInsertRequest) GetBody

func (*SqlInstancesInsertRequest) GetProject

func (x *SqlInstancesInsertRequest) GetProject() string

func (*SqlInstancesInsertRequest) ProtoMessage

func (*SqlInstancesInsertRequest) ProtoMessage()

func (*SqlInstancesInsertRequest) ProtoReflect

func (*SqlInstancesInsertRequest) Reset

func (x *SqlInstancesInsertRequest) Reset()

func (*SqlInstancesInsertRequest) String

func (x *SqlInstancesInsertRequest) String() string

type SqlInstancesListRequest

type SqlInstancesListRequest struct {

	// A filter expression that filters resources listed in the response.
	// The expression is in the form of field:value. For example,
	// 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
	// their JSON representation, such as 'settings.userLabels.auto_start:true'.
	//
	// Multiple filter queries are space-separated. For example.
	// 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
	// expression is an AND expression. However, you can include AND and OR
	// expressions explicitly.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// The maximum number of results to return per response.
	MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Project ID of the project for which to list Cloud SQL instances.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesListRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesListRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesListRequest) GetFilter

func (x *SqlInstancesListRequest) GetFilter() string

func (*SqlInstancesListRequest) GetMaxResults

func (x *SqlInstancesListRequest) GetMaxResults() uint32

func (*SqlInstancesListRequest) GetPageToken

func (x *SqlInstancesListRequest) GetPageToken() string

func (*SqlInstancesListRequest) GetProject

func (x *SqlInstancesListRequest) GetProject() string

func (*SqlInstancesListRequest) ProtoMessage

func (*SqlInstancesListRequest) ProtoMessage()

func (*SqlInstancesListRequest) ProtoReflect

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

func (*SqlInstancesListRequest) Reset

func (x *SqlInstancesListRequest) Reset()

func (*SqlInstancesListRequest) String

func (x *SqlInstancesListRequest) String() string

type SqlInstancesListServerCasRequest

type SqlInstancesListServerCasRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesListServerCasRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesListServerCasRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesListServerCasRequest) GetInstance

func (x *SqlInstancesListServerCasRequest) GetInstance() string

func (*SqlInstancesListServerCasRequest) GetProject

func (x *SqlInstancesListServerCasRequest) GetProject() string

func (*SqlInstancesListServerCasRequest) ProtoMessage

func (*SqlInstancesListServerCasRequest) ProtoMessage()

func (*SqlInstancesListServerCasRequest) ProtoReflect

func (*SqlInstancesListServerCasRequest) Reset

func (*SqlInstancesListServerCasRequest) String

type SqlInstancesPatchRequest

type SqlInstancesPatchRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string            `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *DatabaseInstance `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesPatchRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesPatchRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesPatchRequest) GetBody

func (*SqlInstancesPatchRequest) GetInstance

func (x *SqlInstancesPatchRequest) GetInstance() string

func (*SqlInstancesPatchRequest) GetProject

func (x *SqlInstancesPatchRequest) GetProject() string

func (*SqlInstancesPatchRequest) ProtoMessage

func (*SqlInstancesPatchRequest) ProtoMessage()

func (*SqlInstancesPatchRequest) ProtoReflect

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

func (*SqlInstancesPatchRequest) Reset

func (x *SqlInstancesPatchRequest) Reset()

func (*SqlInstancesPatchRequest) String

func (x *SqlInstancesPatchRequest) String() string

type SqlInstancesPromoteReplicaRequest

type SqlInstancesPromoteReplicaRequest struct {

	// Cloud SQL read replica instance name.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the read replica.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesPromoteReplicaRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesPromoteReplicaRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesPromoteReplicaRequest) GetInstance

func (x *SqlInstancesPromoteReplicaRequest) GetInstance() string

func (*SqlInstancesPromoteReplicaRequest) GetProject

func (x *SqlInstancesPromoteReplicaRequest) GetProject() string

func (*SqlInstancesPromoteReplicaRequest) ProtoMessage

func (*SqlInstancesPromoteReplicaRequest) ProtoMessage()

func (*SqlInstancesPromoteReplicaRequest) ProtoReflect

func (*SqlInstancesPromoteReplicaRequest) Reset

func (*SqlInstancesPromoteReplicaRequest) String

type SqlInstancesRescheduleMaintenanceRequest

type SqlInstancesRescheduleMaintenanceRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the instance.
	Project string                                        `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *SqlInstancesRescheduleMaintenanceRequestBody `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesRescheduleMaintenanceRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesRescheduleMaintenanceRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesRescheduleMaintenanceRequest) GetBody

func (*SqlInstancesRescheduleMaintenanceRequest) GetInstance

func (*SqlInstancesRescheduleMaintenanceRequest) GetProject

func (*SqlInstancesRescheduleMaintenanceRequest) ProtoMessage

func (*SqlInstancesRescheduleMaintenanceRequest) ProtoReflect

func (*SqlInstancesRescheduleMaintenanceRequest) Reset

func (*SqlInstancesRescheduleMaintenanceRequest) String

type SqlInstancesRescheduleMaintenanceRequestBody

type SqlInstancesRescheduleMaintenanceRequestBody struct {

	// Required. The type of the reschedule the user wants.
	Reschedule *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule `protobuf:"bytes,3,opt,name=reschedule,proto3" json:"reschedule,omitempty"`
	// contains filtered or unexported fields
}

Reschedule options for maintenance windows.

func (*SqlInstancesRescheduleMaintenanceRequestBody) Descriptor deprecated

Deprecated: Use SqlInstancesRescheduleMaintenanceRequestBody.ProtoReflect.Descriptor instead.

func (*SqlInstancesRescheduleMaintenanceRequestBody) GetReschedule

func (*SqlInstancesRescheduleMaintenanceRequestBody) ProtoMessage

func (*SqlInstancesRescheduleMaintenanceRequestBody) ProtoReflect

func (*SqlInstancesRescheduleMaintenanceRequestBody) Reset

func (*SqlInstancesRescheduleMaintenanceRequestBody) String

type SqlInstancesRescheduleMaintenanceRequestBody_Reschedule

type SqlInstancesRescheduleMaintenanceRequestBody_Reschedule struct {

	// Required. The type of the reschedule.
	RescheduleType SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType `` /* 194-byte string literal not displayed */
	// Optional. Timestamp when the maintenance shall be rescheduled to if
	// reschedule_type=SPECIFIC_TIME, in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Descriptor deprecated

Deprecated: Use SqlInstancesRescheduleMaintenanceRequestBody_Reschedule.ProtoReflect.Descriptor instead.

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetRescheduleType

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetScheduleTime

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoMessage

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoReflect

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Reset

func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) String

type SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType

type SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType int32
const (
	SqlInstancesRescheduleMaintenanceRequestBody_RESCHEDULE_TYPE_UNSPECIFIED SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType = 0
	// Reschedules maintenance to happen now (within 5 minutes).
	SqlInstancesRescheduleMaintenanceRequestBody_IMMEDIATE SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType = 1
	// Reschedules maintenance to occur within one week from the originally
	// scheduled day and time.
	SqlInstancesRescheduleMaintenanceRequestBody_NEXT_AVAILABLE_WINDOW SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType = 2
	// Reschedules maintenance to a specific time and day.
	SqlInstancesRescheduleMaintenanceRequestBody_SPECIFIC_TIME SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType = 3
)

func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Descriptor

func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Enum

func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) EnumDescriptor deprecated

Deprecated: Use SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType.Descriptor instead.

func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Number

func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) String

func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Type

type SqlInstancesResetSslConfigRequest

type SqlInstancesResetSslConfigRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesResetSslConfigRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesResetSslConfigRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesResetSslConfigRequest) GetInstance

func (x *SqlInstancesResetSslConfigRequest) GetInstance() string

func (*SqlInstancesResetSslConfigRequest) GetProject

func (x *SqlInstancesResetSslConfigRequest) GetProject() string

func (*SqlInstancesResetSslConfigRequest) ProtoMessage

func (*SqlInstancesResetSslConfigRequest) ProtoMessage()

func (*SqlInstancesResetSslConfigRequest) ProtoReflect

func (*SqlInstancesResetSslConfigRequest) Reset

func (*SqlInstancesResetSslConfigRequest) String

type SqlInstancesRestartRequest

type SqlInstancesRestartRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance to be restarted.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesRestartRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesRestartRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesRestartRequest) GetInstance

func (x *SqlInstancesRestartRequest) GetInstance() string

func (*SqlInstancesRestartRequest) GetProject

func (x *SqlInstancesRestartRequest) GetProject() string

func (*SqlInstancesRestartRequest) ProtoMessage

func (*SqlInstancesRestartRequest) ProtoMessage()

func (*SqlInstancesRestartRequest) ProtoReflect

func (*SqlInstancesRestartRequest) Reset

func (x *SqlInstancesRestartRequest) Reset()

func (*SqlInstancesRestartRequest) String

func (x *SqlInstancesRestartRequest) String() string

type SqlInstancesRestoreBackupRequest

type SqlInstancesRestoreBackupRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string                         `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesRestoreBackupRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesRestoreBackupRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesRestoreBackupRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesRestoreBackupRequest) GetBody

func (*SqlInstancesRestoreBackupRequest) GetInstance

func (x *SqlInstancesRestoreBackupRequest) GetInstance() string

func (*SqlInstancesRestoreBackupRequest) GetProject

func (x *SqlInstancesRestoreBackupRequest) GetProject() string

func (*SqlInstancesRestoreBackupRequest) ProtoMessage

func (*SqlInstancesRestoreBackupRequest) ProtoMessage()

func (*SqlInstancesRestoreBackupRequest) ProtoReflect

func (*SqlInstancesRestoreBackupRequest) Reset

func (*SqlInstancesRestoreBackupRequest) String

type SqlInstancesRotateServerCaRequest

type SqlInstancesRotateServerCaRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string                          `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesRotateServerCaRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesRotateServerCaRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesRotateServerCaRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesRotateServerCaRequest) GetBody

func (*SqlInstancesRotateServerCaRequest) GetInstance

func (x *SqlInstancesRotateServerCaRequest) GetInstance() string

func (*SqlInstancesRotateServerCaRequest) GetProject

func (x *SqlInstancesRotateServerCaRequest) GetProject() string

func (*SqlInstancesRotateServerCaRequest) ProtoMessage

func (*SqlInstancesRotateServerCaRequest) ProtoMessage()

func (*SqlInstancesRotateServerCaRequest) ProtoReflect

func (*SqlInstancesRotateServerCaRequest) Reset

func (*SqlInstancesRotateServerCaRequest) String

type SqlInstancesServiceClient

type SqlInstancesServiceClient interface {
	// Add a new trusted Certificate Authority (CA) version for the specified
	// instance. Required to prepare for a certificate rotation. If a CA version
	// was previously added but never used in a certificate rotation, this
	// operation replaces that version. There cannot be more than one CA version
	// waiting to be rotated in.
	AddServerCa(ctx context.Context, in *SqlInstancesAddServerCaRequest, opts ...grpc.CallOption) (*Operation, error)
	// Creates a Cloud SQL instance as a clone of the source instance. Using this
	// operation might cause your instance to restart.
	Clone(ctx context.Context, in *SqlInstancesCloneRequest, opts ...grpc.CallOption) (*Operation, error)
	// Deletes a Cloud SQL instance.
	Delete(ctx context.Context, in *SqlInstancesDeleteRequest, opts ...grpc.CallOption) (*Operation, error)
	// Demotes the stand-alone instance to be a Cloud SQL read replica for an
	// external database server.
	DemoteMaster(ctx context.Context, in *SqlInstancesDemoteMasterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL
	// dump or CSV file.
	Export(ctx context.Context, in *SqlInstancesExportRequest, opts ...grpc.CallOption) (*Operation, error)
	// Initiates a manual failover of a high availability (HA) primary instance
	// to a standby instance, which becomes the primary instance. Users are
	// then rerouted to the new primary. For more information, see the
	// [Overview of high
	// availability](https://cloud.google.com/sql/docs/mysql/high-availability)
	// page in the Cloud SQL documentation.
	// If using Legacy HA (MySQL only), this causes the instance to failover to
	// its failover replica instance.
	Failover(ctx context.Context, in *SqlInstancesFailoverRequest, opts ...grpc.CallOption) (*Operation, error)
	// Retrieves a resource containing information about a Cloud SQL instance.
	Get(ctx context.Context, in *SqlInstancesGetRequest, opts ...grpc.CallOption) (*DatabaseInstance, error)
	// Imports data into a Cloud SQL instance from a SQL dump  or CSV file in
	// Cloud Storage.
	Import(ctx context.Context, in *SqlInstancesImportRequest, opts ...grpc.CallOption) (*Operation, error)
	// Creates a new Cloud SQL instance.
	Insert(ctx context.Context, in *SqlInstancesInsertRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists instances under a given project.
	List(ctx context.Context, in *SqlInstancesListRequest, opts ...grpc.CallOption) (*InstancesListResponse, error)
	// Lists all of the trusted Certificate Authorities (CAs) for the specified
	// instance. There can be up to three CAs listed: the CA that was used to sign
	// the certificate that is currently in use, a CA that has been added but not
	// yet used to sign a certificate, and a CA used to sign a certificate that
	// has previously rotated out.
	ListServerCas(ctx context.Context, in *SqlInstancesListServerCasRequest, opts ...grpc.CallOption) (*InstancesListServerCasResponse, error)
	// Updates settings of a Cloud SQL instance.
	// This method supports patch semantics.
	Patch(ctx context.Context, in *SqlInstancesPatchRequest, opts ...grpc.CallOption) (*Operation, error)
	// Promotes the read replica instance to be a stand-alone Cloud SQL instance.
	// Using this operation might cause your instance to restart.
	PromoteReplica(ctx context.Context, in *SqlInstancesPromoteReplicaRequest, opts ...grpc.CallOption) (*Operation, error)
	// Deletes all client certificates and generates a new server SSL certificate
	// for the instance.
	ResetSslConfig(ctx context.Context, in *SqlInstancesResetSslConfigRequest, opts ...grpc.CallOption) (*Operation, error)
	// Restarts a Cloud SQL instance.
	Restart(ctx context.Context, in *SqlInstancesRestartRequest, opts ...grpc.CallOption) (*Operation, error)
	// Restores a backup of a Cloud SQL instance. Using this operation might cause
	// your instance to restart.
	RestoreBackup(ctx context.Context, in *SqlInstancesRestoreBackupRequest, opts ...grpc.CallOption) (*Operation, error)
	// Rotates the server certificate to one signed by the Certificate Authority
	// (CA) version previously added with the addServerCA method.
	RotateServerCa(ctx context.Context, in *SqlInstancesRotateServerCaRequest, opts ...grpc.CallOption) (*Operation, error)
	// Starts the replication in the read replica instance.
	StartReplica(ctx context.Context, in *SqlInstancesStartReplicaRequest, opts ...grpc.CallOption) (*Operation, error)
	// Stops the replication in the read replica instance.
	StopReplica(ctx context.Context, in *SqlInstancesStopReplicaRequest, opts ...grpc.CallOption) (*Operation, error)
	// Truncate MySQL general and slow query log tables
	// MySQL only.
	TruncateLog(ctx context.Context, in *SqlInstancesTruncateLogRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates settings of a Cloud SQL instance. Using this operation might cause
	// your instance to restart.
	Update(ctx context.Context, in *SqlInstancesUpdateRequest, opts ...grpc.CallOption) (*Operation, error)
	// Generates a short-lived X509 certificate containing the provided public key
	// and signed by a private key specific to the target instance. Users may use
	// the certificate to authenticate as themselves when connecting to the
	// database.
	CreateEphemeral(ctx context.Context, in *SqlInstancesCreateEphemeralCertRequest, opts ...grpc.CallOption) (*SslCert, error)
	// Reschedules the maintenance on the given instance.
	RescheduleMaintenance(ctx context.Context, in *SqlInstancesRescheduleMaintenanceRequest, opts ...grpc.CallOption) (*Operation, error)
	// Verify External primary instance external sync settings.
	VerifyExternalSyncSettings(ctx context.Context, in *SqlInstancesVerifyExternalSyncSettingsRequest, opts ...grpc.CallOption) (*SqlInstancesVerifyExternalSyncSettingsResponse, error)
	// Start External primary instance migration.
	StartExternalSync(ctx context.Context, in *SqlInstancesStartExternalSyncRequest, opts ...grpc.CallOption) (*Operation, error)
}

SqlInstancesServiceClient is the client API for SqlInstancesService service.

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

type SqlInstancesServiceServer

type SqlInstancesServiceServer interface {
	// Add a new trusted Certificate Authority (CA) version for the specified
	// instance. Required to prepare for a certificate rotation. If a CA version
	// was previously added but never used in a certificate rotation, this
	// operation replaces that version. There cannot be more than one CA version
	// waiting to be rotated in.
	AddServerCa(context.Context, *SqlInstancesAddServerCaRequest) (*Operation, error)
	// Creates a Cloud SQL instance as a clone of the source instance. Using this
	// operation might cause your instance to restart.
	Clone(context.Context, *SqlInstancesCloneRequest) (*Operation, error)
	// Deletes a Cloud SQL instance.
	Delete(context.Context, *SqlInstancesDeleteRequest) (*Operation, error)
	// Demotes the stand-alone instance to be a Cloud SQL read replica for an
	// external database server.
	DemoteMaster(context.Context, *SqlInstancesDemoteMasterRequest) (*Operation, error)
	// Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL
	// dump or CSV file.
	Export(context.Context, *SqlInstancesExportRequest) (*Operation, error)
	// Initiates a manual failover of a high availability (HA) primary instance
	// to a standby instance, which becomes the primary instance. Users are
	// then rerouted to the new primary. For more information, see the
	// [Overview of high
	// availability](https://cloud.google.com/sql/docs/mysql/high-availability)
	// page in the Cloud SQL documentation.
	// If using Legacy HA (MySQL only), this causes the instance to failover to
	// its failover replica instance.
	Failover(context.Context, *SqlInstancesFailoverRequest) (*Operation, error)
	// Retrieves a resource containing information about a Cloud SQL instance.
	Get(context.Context, *SqlInstancesGetRequest) (*DatabaseInstance, error)
	// Imports data into a Cloud SQL instance from a SQL dump  or CSV file in
	// Cloud Storage.
	Import(context.Context, *SqlInstancesImportRequest) (*Operation, error)
	// Creates a new Cloud SQL instance.
	Insert(context.Context, *SqlInstancesInsertRequest) (*Operation, error)
	// Lists instances under a given project.
	List(context.Context, *SqlInstancesListRequest) (*InstancesListResponse, error)
	// Lists all of the trusted Certificate Authorities (CAs) for the specified
	// instance. There can be up to three CAs listed: the CA that was used to sign
	// the certificate that is currently in use, a CA that has been added but not
	// yet used to sign a certificate, and a CA used to sign a certificate that
	// has previously rotated out.
	ListServerCas(context.Context, *SqlInstancesListServerCasRequest) (*InstancesListServerCasResponse, error)
	// Updates settings of a Cloud SQL instance.
	// This method supports patch semantics.
	Patch(context.Context, *SqlInstancesPatchRequest) (*Operation, error)
	// Promotes the read replica instance to be a stand-alone Cloud SQL instance.
	// Using this operation might cause your instance to restart.
	PromoteReplica(context.Context, *SqlInstancesPromoteReplicaRequest) (*Operation, error)
	// Deletes all client certificates and generates a new server SSL certificate
	// for the instance.
	ResetSslConfig(context.Context, *SqlInstancesResetSslConfigRequest) (*Operation, error)
	// Restarts a Cloud SQL instance.
	Restart(context.Context, *SqlInstancesRestartRequest) (*Operation, error)
	// Restores a backup of a Cloud SQL instance. Using this operation might cause
	// your instance to restart.
	RestoreBackup(context.Context, *SqlInstancesRestoreBackupRequest) (*Operation, error)
	// Rotates the server certificate to one signed by the Certificate Authority
	// (CA) version previously added with the addServerCA method.
	RotateServerCa(context.Context, *SqlInstancesRotateServerCaRequest) (*Operation, error)
	// Starts the replication in the read replica instance.
	StartReplica(context.Context, *SqlInstancesStartReplicaRequest) (*Operation, error)
	// Stops the replication in the read replica instance.
	StopReplica(context.Context, *SqlInstancesStopReplicaRequest) (*Operation, error)
	// Truncate MySQL general and slow query log tables
	// MySQL only.
	TruncateLog(context.Context, *SqlInstancesTruncateLogRequest) (*Operation, error)
	// Updates settings of a Cloud SQL instance. Using this operation might cause
	// your instance to restart.
	Update(context.Context, *SqlInstancesUpdateRequest) (*Operation, error)
	// Generates a short-lived X509 certificate containing the provided public key
	// and signed by a private key specific to the target instance. Users may use
	// the certificate to authenticate as themselves when connecting to the
	// database.
	CreateEphemeral(context.Context, *SqlInstancesCreateEphemeralCertRequest) (*SslCert, error)
	// Reschedules the maintenance on the given instance.
	RescheduleMaintenance(context.Context, *SqlInstancesRescheduleMaintenanceRequest) (*Operation, error)
	// Verify External primary instance external sync settings.
	VerifyExternalSyncSettings(context.Context, *SqlInstancesVerifyExternalSyncSettingsRequest) (*SqlInstancesVerifyExternalSyncSettingsResponse, error)
	// Start External primary instance migration.
	StartExternalSync(context.Context, *SqlInstancesStartExternalSyncRequest) (*Operation, error)
}

SqlInstancesServiceServer is the server API for SqlInstancesService service.

type SqlInstancesStartExternalSyncRequest

type SqlInstancesStartExternalSyncRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// External sync mode.
	SyncMode SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode `` /* 179-byte string literal not displayed */
	// Whether to skip the verification step (VESS).
	SkipVerification bool `protobuf:"varint,4,opt,name=skip_verification,json=skipVerification,proto3" json:"skip_verification,omitempty"`
	// Types that are assignable to SyncConfig:
	//	*SqlInstancesStartExternalSyncRequest_MysqlSyncConfig
	SyncConfig isSqlInstancesStartExternalSyncRequest_SyncConfig `protobuf_oneof:"sync_config"`
	// contains filtered or unexported fields
}

func (*SqlInstancesStartExternalSyncRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesStartExternalSyncRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesStartExternalSyncRequest) GetInstance

func (*SqlInstancesStartExternalSyncRequest) GetMysqlSyncConfig

func (x *SqlInstancesStartExternalSyncRequest) GetMysqlSyncConfig() *MySqlSyncConfig

func (*SqlInstancesStartExternalSyncRequest) GetProject

func (*SqlInstancesStartExternalSyncRequest) GetSkipVerification

func (x *SqlInstancesStartExternalSyncRequest) GetSkipVerification() bool

func (*SqlInstancesStartExternalSyncRequest) GetSyncConfig

func (m *SqlInstancesStartExternalSyncRequest) GetSyncConfig() isSqlInstancesStartExternalSyncRequest_SyncConfig

func (*SqlInstancesStartExternalSyncRequest) GetSyncMode

func (*SqlInstancesStartExternalSyncRequest) ProtoMessage

func (*SqlInstancesStartExternalSyncRequest) ProtoMessage()

func (*SqlInstancesStartExternalSyncRequest) ProtoReflect

func (*SqlInstancesStartExternalSyncRequest) Reset

func (*SqlInstancesStartExternalSyncRequest) String

type SqlInstancesStartExternalSyncRequest_MysqlSyncConfig

type SqlInstancesStartExternalSyncRequest_MysqlSyncConfig struct {
	// MySQL-specific settings for start external sync.
	MysqlSyncConfig *MySqlSyncConfig `protobuf:"bytes,6,opt,name=mysql_sync_config,json=mysqlSyncConfig,proto3,oneof"`
}

type SqlInstancesStartReplicaRequest

type SqlInstancesStartReplicaRequest struct {

	// Cloud SQL read replica instance name.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the read replica.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesStartReplicaRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesStartReplicaRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesStartReplicaRequest) GetInstance

func (x *SqlInstancesStartReplicaRequest) GetInstance() string

func (*SqlInstancesStartReplicaRequest) GetProject

func (x *SqlInstancesStartReplicaRequest) GetProject() string

func (*SqlInstancesStartReplicaRequest) ProtoMessage

func (*SqlInstancesStartReplicaRequest) ProtoMessage()

func (*SqlInstancesStartReplicaRequest) ProtoReflect

func (*SqlInstancesStartReplicaRequest) Reset

func (*SqlInstancesStartReplicaRequest) String

type SqlInstancesStopReplicaRequest

type SqlInstancesStopReplicaRequest struct {

	// Cloud SQL read replica instance name.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// ID of the project that contains the read replica.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesStopReplicaRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesStopReplicaRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesStopReplicaRequest) GetInstance

func (x *SqlInstancesStopReplicaRequest) GetInstance() string

func (*SqlInstancesStopReplicaRequest) GetProject

func (x *SqlInstancesStopReplicaRequest) GetProject() string

func (*SqlInstancesStopReplicaRequest) ProtoMessage

func (*SqlInstancesStopReplicaRequest) ProtoMessage()

func (*SqlInstancesStopReplicaRequest) ProtoReflect

func (*SqlInstancesStopReplicaRequest) Reset

func (x *SqlInstancesStopReplicaRequest) Reset()

func (*SqlInstancesStopReplicaRequest) String

type SqlInstancesTruncateLogRequest

type SqlInstancesTruncateLogRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the Cloud SQL project.
	Project string                       `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *InstancesTruncateLogRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesTruncateLogRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesTruncateLogRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesTruncateLogRequest) GetBody

func (*SqlInstancesTruncateLogRequest) GetInstance

func (x *SqlInstancesTruncateLogRequest) GetInstance() string

func (*SqlInstancesTruncateLogRequest) GetProject

func (x *SqlInstancesTruncateLogRequest) GetProject() string

func (*SqlInstancesTruncateLogRequest) ProtoMessage

func (*SqlInstancesTruncateLogRequest) ProtoMessage()

func (*SqlInstancesTruncateLogRequest) ProtoReflect

func (*SqlInstancesTruncateLogRequest) Reset

func (x *SqlInstancesTruncateLogRequest) Reset()

func (*SqlInstancesTruncateLogRequest) String

type SqlInstancesUpdateRequest

type SqlInstancesUpdateRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string            `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *DatabaseInstance `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlInstancesUpdateRequest) Descriptor deprecated

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

Deprecated: Use SqlInstancesUpdateRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesUpdateRequest) GetBody

func (*SqlInstancesUpdateRequest) GetInstance

func (x *SqlInstancesUpdateRequest) GetInstance() string

func (*SqlInstancesUpdateRequest) GetProject

func (x *SqlInstancesUpdateRequest) GetProject() string

func (*SqlInstancesUpdateRequest) ProtoMessage

func (*SqlInstancesUpdateRequest) ProtoMessage()

func (*SqlInstancesUpdateRequest) ProtoReflect

func (*SqlInstancesUpdateRequest) Reset

func (x *SqlInstancesUpdateRequest) Reset()

func (*SqlInstancesUpdateRequest) String

func (x *SqlInstancesUpdateRequest) String() string

type SqlInstancesVerifyExternalSyncSettingsRequest

type SqlInstancesVerifyExternalSyncSettingsRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Flag to enable verifying connection only
	VerifyConnectionOnly bool `protobuf:"varint,3,opt,name=verify_connection_only,json=verifyConnectionOnly,proto3" json:"verify_connection_only,omitempty"`
	// External sync mode
	SyncMode SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode `` /* 179-byte string literal not displayed */
	// Optional. Flag to verify settings required by replication setup only
	VerifyReplicationOnly bool `` /* 127-byte string literal not displayed */
	// Types that are assignable to SyncConfig:
	//	*SqlInstancesVerifyExternalSyncSettingsRequest_MysqlSyncConfig
	SyncConfig isSqlInstancesVerifyExternalSyncSettingsRequest_SyncConfig `protobuf_oneof:"sync_config"`
	// contains filtered or unexported fields
}

func (*SqlInstancesVerifyExternalSyncSettingsRequest) Descriptor deprecated

Deprecated: Use SqlInstancesVerifyExternalSyncSettingsRequest.ProtoReflect.Descriptor instead.

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetInstance

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetMysqlSyncConfig

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetProject

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncConfig

func (m *SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncConfig() isSqlInstancesVerifyExternalSyncSettingsRequest_SyncConfig

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncMode

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyConnectionOnly

func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyConnectionOnly() bool

func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyReplicationOnly

func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyReplicationOnly() bool

func (*SqlInstancesVerifyExternalSyncSettingsRequest) ProtoMessage

func (*SqlInstancesVerifyExternalSyncSettingsRequest) ProtoReflect

func (*SqlInstancesVerifyExternalSyncSettingsRequest) Reset

func (*SqlInstancesVerifyExternalSyncSettingsRequest) String

type SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode

type SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode int32
const (
	// Unknown external sync mode, will be defaulted to ONLINE mode
	SqlInstancesVerifyExternalSyncSettingsRequest_EXTERNAL_SYNC_MODE_UNSPECIFIED SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode = 0
	// Online external sync will set up replication after initial data external
	// sync
	SqlInstancesVerifyExternalSyncSettingsRequest_ONLINE SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode = 1
	// Offline external sync only dumps and loads a one-time snapshot of
	// the primary instance's data
	SqlInstancesVerifyExternalSyncSettingsRequest_OFFLINE SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode = 2
)

func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Descriptor

func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Enum

func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) EnumDescriptor deprecated

Deprecated: Use SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode.Descriptor instead.

func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Number

func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) String

func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Type

type SqlInstancesVerifyExternalSyncSettingsRequest_MysqlSyncConfig

type SqlInstancesVerifyExternalSyncSettingsRequest_MysqlSyncConfig struct {
	// Optional. MySQL-specific settings for start external sync.
	MysqlSyncConfig *MySqlSyncConfig `protobuf:"bytes,6,opt,name=mysql_sync_config,json=mysqlSyncConfig,proto3,oneof"`
}

type SqlInstancesVerifyExternalSyncSettingsResponse

type SqlInstancesVerifyExternalSyncSettingsResponse struct {

	// This is always `sql#migrationSettingErrorList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of migration violations.
	Errors []*SqlExternalSyncSettingError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// List of migration warnings.
	Warnings []*SqlExternalSyncSettingError `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

Instance verify external sync settings response.

func (*SqlInstancesVerifyExternalSyncSettingsResponse) Descriptor deprecated

Deprecated: Use SqlInstancesVerifyExternalSyncSettingsResponse.ProtoReflect.Descriptor instead.

func (*SqlInstancesVerifyExternalSyncSettingsResponse) GetErrors

func (*SqlInstancesVerifyExternalSyncSettingsResponse) GetKind

func (*SqlInstancesVerifyExternalSyncSettingsResponse) GetWarnings

func (*SqlInstancesVerifyExternalSyncSettingsResponse) ProtoMessage

func (*SqlInstancesVerifyExternalSyncSettingsResponse) ProtoReflect

func (*SqlInstancesVerifyExternalSyncSettingsResponse) Reset

func (*SqlInstancesVerifyExternalSyncSettingsResponse) String

type SqlIpAddressType

type SqlIpAddressType int32
const (
	// This is an unknown IP address type.
	SqlIpAddressType_SQL_IP_ADDRESS_TYPE_UNSPECIFIED SqlIpAddressType = 0
	// IP address the customer is supposed to connect to. Usually this is the
	// load balancer's IP address
	SqlIpAddressType_PRIMARY SqlIpAddressType = 1
	// Source IP address of the connection a read replica establishes to its
	// external primary instance. This IP address can be allowlisted by the
	// customer in case it has a firewall that filters incoming connection to its
	// on premises primary instance.
	SqlIpAddressType_OUTGOING SqlIpAddressType = 2
	// Private IP used when using private IPs and network peering.
	SqlIpAddressType_PRIVATE SqlIpAddressType = 3
	// V1 IP of a migrated instance. We want the user to
	// decommission this IP as soon as the migration is complete.
	// Note: V1 instances with V1 ip addresses will be counted as PRIMARY.
	SqlIpAddressType_MIGRATED_1ST_GEN SqlIpAddressType = 4
)

func (SqlIpAddressType) Descriptor

func (SqlIpAddressType) Enum

func (SqlIpAddressType) EnumDescriptor deprecated

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

Deprecated: Use SqlIpAddressType.Descriptor instead.

func (SqlIpAddressType) Number

func (SqlIpAddressType) String

func (x SqlIpAddressType) String() string

func (SqlIpAddressType) Type

type SqlOperationsGetRequest

type SqlOperationsGetRequest struct {

	// Instance operation ID.
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlOperationsGetRequest) Descriptor deprecated

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

Deprecated: Use SqlOperationsGetRequest.ProtoReflect.Descriptor instead.

func (*SqlOperationsGetRequest) GetOperation

func (x *SqlOperationsGetRequest) GetOperation() string

func (*SqlOperationsGetRequest) GetProject

func (x *SqlOperationsGetRequest) GetProject() string

func (*SqlOperationsGetRequest) ProtoMessage

func (*SqlOperationsGetRequest) ProtoMessage()

func (*SqlOperationsGetRequest) ProtoReflect

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

func (*SqlOperationsGetRequest) Reset

func (x *SqlOperationsGetRequest) Reset()

func (*SqlOperationsGetRequest) String

func (x *SqlOperationsGetRequest) String() string

type SqlOperationsListRequest

type SqlOperationsListRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Maximum number of operations per response.
	MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlOperationsListRequest) Descriptor deprecated

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

Deprecated: Use SqlOperationsListRequest.ProtoReflect.Descriptor instead.

func (*SqlOperationsListRequest) GetInstance

func (x *SqlOperationsListRequest) GetInstance() string

func (*SqlOperationsListRequest) GetMaxResults

func (x *SqlOperationsListRequest) GetMaxResults() uint32

func (*SqlOperationsListRequest) GetPageToken

func (x *SqlOperationsListRequest) GetPageToken() string

func (*SqlOperationsListRequest) GetProject

func (x *SqlOperationsListRequest) GetProject() string

func (*SqlOperationsListRequest) ProtoMessage

func (*SqlOperationsListRequest) ProtoMessage()

func (*SqlOperationsListRequest) ProtoReflect

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

func (*SqlOperationsListRequest) Reset

func (x *SqlOperationsListRequest) Reset()

func (*SqlOperationsListRequest) String

func (x *SqlOperationsListRequest) String() string

type SqlOperationsServiceClient

type SqlOperationsServiceClient interface {
	// Retrieves an instance operation that has been performed on an instance.
	Get(ctx context.Context, in *SqlOperationsGetRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists all instance operations that have been performed on the given Cloud
	// SQL instance in the reverse chronological order of the start time.
	List(ctx context.Context, in *SqlOperationsListRequest, opts ...grpc.CallOption) (*OperationsListResponse, error)
}

SqlOperationsServiceClient is the client API for SqlOperationsService service.

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

type SqlOperationsServiceServer

type SqlOperationsServiceServer interface {
	// Retrieves an instance operation that has been performed on an instance.
	Get(context.Context, *SqlOperationsGetRequest) (*Operation, error)
	// Lists all instance operations that have been performed on the given Cloud
	// SQL instance in the reverse chronological order of the start time.
	List(context.Context, *SqlOperationsListRequest) (*OperationsListResponse, error)
}

SqlOperationsServiceServer is the server API for SqlOperationsService service.

type SqlPricingPlan

type SqlPricingPlan int32

The pricing plan for this instance.

const (
	// This is an unknown pricing plan for this instance.
	SqlPricingPlan_SQL_PRICING_PLAN_UNSPECIFIED SqlPricingPlan = 0
	// The instance is billed at a monthly flat rate.
	SqlPricingPlan_PACKAGE SqlPricingPlan = 1
	// The instance is billed per usage.
	SqlPricingPlan_PER_USE SqlPricingPlan = 2
)

func (SqlPricingPlan) Descriptor

func (SqlPricingPlan) Enum

func (x SqlPricingPlan) Enum() *SqlPricingPlan

func (SqlPricingPlan) EnumDescriptor deprecated

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

Deprecated: Use SqlPricingPlan.Descriptor instead.

func (SqlPricingPlan) Number

func (SqlPricingPlan) String

func (x SqlPricingPlan) String() string

func (SqlPricingPlan) Type

type SqlReplicationType

type SqlReplicationType int32
const (
	// This is an unknown replication type for a Cloud SQL instance.
	SqlReplicationType_SQL_REPLICATION_TYPE_UNSPECIFIED SqlReplicationType = 0
	// The synchronous replication mode for First Generation instances. It is the
	// default value.
	SqlReplicationType_SYNCHRONOUS SqlReplicationType = 1
	// The asynchronous replication mode for First Generation instances. It
	// provides a slight performance gain, but if an outage occurs while this
	// option is set to asynchronous, you can lose up to a few seconds of updates
	// to your data.
	SqlReplicationType_ASYNCHRONOUS SqlReplicationType = 2
)

func (SqlReplicationType) Descriptor

func (SqlReplicationType) Enum

func (SqlReplicationType) EnumDescriptor deprecated

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

Deprecated: Use SqlReplicationType.Descriptor instead.

func (SqlReplicationType) Number

func (SqlReplicationType) String

func (x SqlReplicationType) String() string

func (SqlReplicationType) Type

type SqlServerAuditConfig

type SqlServerAuditConfig struct {

	// This is always sql#sqlServerAuditConfig
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The name of the destination bucket (e.g., gs://mybucket).
	Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// How long to keep generated audit files.
	RetentionInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=retention_interval,json=retentionInterval,proto3" json:"retention_interval,omitempty"`
	// How often to upload generated audit files.
	UploadInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=upload_interval,json=uploadInterval,proto3" json:"upload_interval,omitempty"`
	// contains filtered or unexported fields
}

SQL Server specific audit configuration.

func (*SqlServerAuditConfig) Descriptor deprecated

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

Deprecated: Use SqlServerAuditConfig.ProtoReflect.Descriptor instead.

func (*SqlServerAuditConfig) GetBucket

func (x *SqlServerAuditConfig) GetBucket() string

func (*SqlServerAuditConfig) GetKind

func (x *SqlServerAuditConfig) GetKind() string

func (*SqlServerAuditConfig) GetRetentionInterval

func (x *SqlServerAuditConfig) GetRetentionInterval() *durationpb.Duration

func (*SqlServerAuditConfig) GetUploadInterval

func (x *SqlServerAuditConfig) GetUploadInterval() *durationpb.Duration

func (*SqlServerAuditConfig) ProtoMessage

func (*SqlServerAuditConfig) ProtoMessage()

func (*SqlServerAuditConfig) ProtoReflect

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

func (*SqlServerAuditConfig) Reset

func (x *SqlServerAuditConfig) Reset()

func (*SqlServerAuditConfig) String

func (x *SqlServerAuditConfig) String() string

type SqlServerDatabaseDetails

type SqlServerDatabaseDetails struct {

	// The version of SQL Server with which the database is to be made compatible
	CompatibilityLevel int32 `protobuf:"varint,1,opt,name=compatibility_level,json=compatibilityLevel,proto3" json:"compatibility_level,omitempty"`
	// The recovery model of a SQL Server database
	RecoveryModel string `protobuf:"bytes,2,opt,name=recovery_model,json=recoveryModel,proto3" json:"recovery_model,omitempty"`
	// contains filtered or unexported fields
}

Represents a Sql Server database on the Cloud SQL instance.

func (*SqlServerDatabaseDetails) Descriptor deprecated

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

Deprecated: Use SqlServerDatabaseDetails.ProtoReflect.Descriptor instead.

func (*SqlServerDatabaseDetails) GetCompatibilityLevel

func (x *SqlServerDatabaseDetails) GetCompatibilityLevel() int32

func (*SqlServerDatabaseDetails) GetRecoveryModel

func (x *SqlServerDatabaseDetails) GetRecoveryModel() string

func (*SqlServerDatabaseDetails) ProtoMessage

func (*SqlServerDatabaseDetails) ProtoMessage()

func (*SqlServerDatabaseDetails) ProtoReflect

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

func (*SqlServerDatabaseDetails) Reset

func (x *SqlServerDatabaseDetails) Reset()

func (*SqlServerDatabaseDetails) String

func (x *SqlServerDatabaseDetails) String() string

type SqlServerUserDetails

type SqlServerUserDetails struct {

	// If the user has been disabled
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// The server roles for this user
	ServerRoles []string `protobuf:"bytes,2,rep,name=server_roles,json=serverRoles,proto3" json:"server_roles,omitempty"`
	// contains filtered or unexported fields
}

Represents a Sql Server user on the Cloud SQL instance.

func (*SqlServerUserDetails) Descriptor deprecated

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

Deprecated: Use SqlServerUserDetails.ProtoReflect.Descriptor instead.

func (*SqlServerUserDetails) GetDisabled

func (x *SqlServerUserDetails) GetDisabled() bool

func (*SqlServerUserDetails) GetServerRoles

func (x *SqlServerUserDetails) GetServerRoles() []string

func (*SqlServerUserDetails) ProtoMessage

func (*SqlServerUserDetails) ProtoMessage()

func (*SqlServerUserDetails) ProtoReflect

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

func (*SqlServerUserDetails) Reset

func (x *SqlServerUserDetails) Reset()

func (*SqlServerUserDetails) String

func (x *SqlServerUserDetails) String() string

type SqlSslCertsDeleteRequest

type SqlSslCertsDeleteRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Sha1 FingerPrint.
	Sha1Fingerprint string `protobuf:"bytes,3,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlSslCertsDeleteRequest) Descriptor deprecated

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

Deprecated: Use SqlSslCertsDeleteRequest.ProtoReflect.Descriptor instead.

func (*SqlSslCertsDeleteRequest) GetInstance

func (x *SqlSslCertsDeleteRequest) GetInstance() string

func (*SqlSslCertsDeleteRequest) GetProject

func (x *SqlSslCertsDeleteRequest) GetProject() string

func (*SqlSslCertsDeleteRequest) GetSha1Fingerprint

func (x *SqlSslCertsDeleteRequest) GetSha1Fingerprint() string

func (*SqlSslCertsDeleteRequest) ProtoMessage

func (*SqlSslCertsDeleteRequest) ProtoMessage()

func (*SqlSslCertsDeleteRequest) ProtoReflect

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

func (*SqlSslCertsDeleteRequest) Reset

func (x *SqlSslCertsDeleteRequest) Reset()

func (*SqlSslCertsDeleteRequest) String

func (x *SqlSslCertsDeleteRequest) String() string

type SqlSslCertsGetRequest

type SqlSslCertsGetRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Sha1 FingerPrint.
	Sha1Fingerprint string `protobuf:"bytes,3,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlSslCertsGetRequest) Descriptor deprecated

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

Deprecated: Use SqlSslCertsGetRequest.ProtoReflect.Descriptor instead.

func (*SqlSslCertsGetRequest) GetInstance

func (x *SqlSslCertsGetRequest) GetInstance() string

func (*SqlSslCertsGetRequest) GetProject

func (x *SqlSslCertsGetRequest) GetProject() string

func (*SqlSslCertsGetRequest) GetSha1Fingerprint

func (x *SqlSslCertsGetRequest) GetSha1Fingerprint() string

func (*SqlSslCertsGetRequest) ProtoMessage

func (*SqlSslCertsGetRequest) ProtoMessage()

func (*SqlSslCertsGetRequest) ProtoReflect

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

func (*SqlSslCertsGetRequest) Reset

func (x *SqlSslCertsGetRequest) Reset()

func (*SqlSslCertsGetRequest) String

func (x *SqlSslCertsGetRequest) String() string

type SqlSslCertsInsertRequest

type SqlSslCertsInsertRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string                 `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *SslCertsInsertRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlSslCertsInsertRequest) Descriptor deprecated

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

Deprecated: Use SqlSslCertsInsertRequest.ProtoReflect.Descriptor instead.

func (*SqlSslCertsInsertRequest) GetBody

func (*SqlSslCertsInsertRequest) GetInstance

func (x *SqlSslCertsInsertRequest) GetInstance() string

func (*SqlSslCertsInsertRequest) GetProject

func (x *SqlSslCertsInsertRequest) GetProject() string

func (*SqlSslCertsInsertRequest) ProtoMessage

func (*SqlSslCertsInsertRequest) ProtoMessage()

func (*SqlSslCertsInsertRequest) ProtoReflect

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

func (*SqlSslCertsInsertRequest) Reset

func (x *SqlSslCertsInsertRequest) Reset()

func (*SqlSslCertsInsertRequest) String

func (x *SqlSslCertsInsertRequest) String() string

type SqlSslCertsListRequest

type SqlSslCertsListRequest struct {

	// Cloud SQL instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlSslCertsListRequest) Descriptor deprecated

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

Deprecated: Use SqlSslCertsListRequest.ProtoReflect.Descriptor instead.

func (*SqlSslCertsListRequest) GetInstance

func (x *SqlSslCertsListRequest) GetInstance() string

func (*SqlSslCertsListRequest) GetProject

func (x *SqlSslCertsListRequest) GetProject() string

func (*SqlSslCertsListRequest) ProtoMessage

func (*SqlSslCertsListRequest) ProtoMessage()

func (*SqlSslCertsListRequest) ProtoReflect

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

func (*SqlSslCertsListRequest) Reset

func (x *SqlSslCertsListRequest) Reset()

func (*SqlSslCertsListRequest) String

func (x *SqlSslCertsListRequest) String() string

type SqlSslCertsServiceClient

type SqlSslCertsServiceClient interface {
	// Deletes the SSL certificate. For First Generation instances, the
	// certificate remains valid until the instance is restarted.
	Delete(ctx context.Context, in *SqlSslCertsDeleteRequest, opts ...grpc.CallOption) (*Operation, error)
	// Retrieves a particular SSL certificate.  Does not include the private key
	// (required for usage).  The private key must be saved from the response to
	// initial creation.
	Get(ctx context.Context, in *SqlSslCertsGetRequest, opts ...grpc.CallOption) (*SslCert, error)
	// Creates an SSL certificate and returns it along with the private key and
	// server certificate authority.  The new certificate will not be usable until
	// the instance is restarted.
	Insert(ctx context.Context, in *SqlSslCertsInsertRequest, opts ...grpc.CallOption) (*SslCertsInsertResponse, error)
	// Lists all of the current SSL certificates for the instance.
	List(ctx context.Context, in *SqlSslCertsListRequest, opts ...grpc.CallOption) (*SslCertsListResponse, error)
}

SqlSslCertsServiceClient is the client API for SqlSslCertsService service.

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

type SqlSslCertsServiceServer

type SqlSslCertsServiceServer interface {
	// Deletes the SSL certificate. For First Generation instances, the
	// certificate remains valid until the instance is restarted.
	Delete(context.Context, *SqlSslCertsDeleteRequest) (*Operation, error)
	// Retrieves a particular SSL certificate.  Does not include the private key
	// (required for usage).  The private key must be saved from the response to
	// initial creation.
	Get(context.Context, *SqlSslCertsGetRequest) (*SslCert, error)
	// Creates an SSL certificate and returns it along with the private key and
	// server certificate authority.  The new certificate will not be usable until
	// the instance is restarted.
	Insert(context.Context, *SqlSslCertsInsertRequest) (*SslCertsInsertResponse, error)
	// Lists all of the current SSL certificates for the instance.
	List(context.Context, *SqlSslCertsListRequest) (*SslCertsListResponse, error)
}

SqlSslCertsServiceServer is the server API for SqlSslCertsService service.

type SqlSuspensionReason

type SqlSuspensionReason int32

The suspension reason of the database instance if the state is SUSPENDED.

const (
	// This is an unknown suspension reason.
	SqlSuspensionReason_SQL_SUSPENSION_REASON_UNSPECIFIED SqlSuspensionReason = 0
	// The instance is suspended due to billing issues (for example:, GCP account
	// issue)
	SqlSuspensionReason_BILLING_ISSUE SqlSuspensionReason = 2
	// The instance is suspended due to illegal content (for example:, child
	// pornography, copyrighted material, etc.).
	SqlSuspensionReason_LEGAL_ISSUE SqlSuspensionReason = 3
	// The instance is causing operational issues (for example:, causing the
	// database to crash).
	SqlSuspensionReason_OPERATIONAL_ISSUE SqlSuspensionReason = 4
	// The KMS key used by the instance is either revoked or denied access to
	SqlSuspensionReason_KMS_KEY_ISSUE SqlSuspensionReason = 5
)

func (SqlSuspensionReason) Descriptor

func (SqlSuspensionReason) Enum

func (SqlSuspensionReason) EnumDescriptor deprecated

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

Deprecated: Use SqlSuspensionReason.Descriptor instead.

func (SqlSuspensionReason) Number

func (SqlSuspensionReason) String

func (x SqlSuspensionReason) String() string

func (SqlSuspensionReason) Type

type SqlTiersListRequest

type SqlTiersListRequest struct {

	// Project ID of the project for which to list tiers.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlTiersListRequest) Descriptor deprecated

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

Deprecated: Use SqlTiersListRequest.ProtoReflect.Descriptor instead.

func (*SqlTiersListRequest) GetProject

func (x *SqlTiersListRequest) GetProject() string

func (*SqlTiersListRequest) ProtoMessage

func (*SqlTiersListRequest) ProtoMessage()

func (*SqlTiersListRequest) ProtoReflect

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

func (*SqlTiersListRequest) Reset

func (x *SqlTiersListRequest) Reset()

func (*SqlTiersListRequest) String

func (x *SqlTiersListRequest) String() string

type SqlTiersServiceClient

type SqlTiersServiceClient interface {
	// Lists all available machine types (tiers) for Cloud SQL, for example,
	// `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
	List(ctx context.Context, in *SqlTiersListRequest, opts ...grpc.CallOption) (*TiersListResponse, error)
}

SqlTiersServiceClient is the client API for SqlTiersService service.

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

type SqlTiersServiceServer

type SqlTiersServiceServer interface {
	// Lists all available machine types (tiers) for Cloud SQL, for example,
	// `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
	List(context.Context, *SqlTiersListRequest) (*TiersListResponse, error)
}

SqlTiersServiceServer is the server API for SqlTiersService service.

type SqlUpdateTrack

type SqlUpdateTrack int32
const (
	// This is an unknown maintenance timing preference.
	SqlUpdateTrack_SQL_UPDATE_TRACK_UNSPECIFIED SqlUpdateTrack = 0
	// For instance update that requires a restart, this update track indicates
	// your instance prefer to restart for new version early in maintenance
	// window.
	SqlUpdateTrack_canary SqlUpdateTrack = 1
	// For instance update that requires a restart, this update track indicates
	// your instance prefer to let Cloud SQL choose the timing of restart (within
	// its Maintenance window, if applicable).
	SqlUpdateTrack_stable SqlUpdateTrack = 2
)

func (SqlUpdateTrack) Descriptor

func (SqlUpdateTrack) Enum

func (x SqlUpdateTrack) Enum() *SqlUpdateTrack

func (SqlUpdateTrack) EnumDescriptor deprecated

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

Deprecated: Use SqlUpdateTrack.Descriptor instead.

func (SqlUpdateTrack) Number

func (SqlUpdateTrack) String

func (x SqlUpdateTrack) String() string

func (SqlUpdateTrack) Type

type SqlUsersDeleteRequest

type SqlUsersDeleteRequest struct {

	// Host of the user in the instance.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Name of the user in the instance.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlUsersDeleteRequest) Descriptor deprecated

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

Deprecated: Use SqlUsersDeleteRequest.ProtoReflect.Descriptor instead.

func (*SqlUsersDeleteRequest) GetHost

func (x *SqlUsersDeleteRequest) GetHost() string

func (*SqlUsersDeleteRequest) GetInstance

func (x *SqlUsersDeleteRequest) GetInstance() string

func (*SqlUsersDeleteRequest) GetName

func (x *SqlUsersDeleteRequest) GetName() string

func (*SqlUsersDeleteRequest) GetProject

func (x *SqlUsersDeleteRequest) GetProject() string

func (*SqlUsersDeleteRequest) ProtoMessage

func (*SqlUsersDeleteRequest) ProtoMessage()

func (*SqlUsersDeleteRequest) ProtoReflect

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

func (*SqlUsersDeleteRequest) Reset

func (x *SqlUsersDeleteRequest) Reset()

func (*SqlUsersDeleteRequest) String

func (x *SqlUsersDeleteRequest) String() string

type SqlUsersInsertRequest

type SqlUsersInsertRequest struct {

	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Body    *User  `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlUsersInsertRequest) Descriptor deprecated

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

Deprecated: Use SqlUsersInsertRequest.ProtoReflect.Descriptor instead.

func (*SqlUsersInsertRequest) GetBody

func (x *SqlUsersInsertRequest) GetBody() *User

func (*SqlUsersInsertRequest) GetInstance

func (x *SqlUsersInsertRequest) GetInstance() string

func (*SqlUsersInsertRequest) GetProject

func (x *SqlUsersInsertRequest) GetProject() string

func (*SqlUsersInsertRequest) ProtoMessage

func (*SqlUsersInsertRequest) ProtoMessage()

func (*SqlUsersInsertRequest) ProtoReflect

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

func (*SqlUsersInsertRequest) Reset

func (x *SqlUsersInsertRequest) Reset()

func (*SqlUsersInsertRequest) String

func (x *SqlUsersInsertRequest) String() string

type SqlUsersListRequest

type SqlUsersListRequest struct {

	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlUsersListRequest) Descriptor deprecated

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

Deprecated: Use SqlUsersListRequest.ProtoReflect.Descriptor instead.

func (*SqlUsersListRequest) GetInstance

func (x *SqlUsersListRequest) GetInstance() string

func (*SqlUsersListRequest) GetProject

func (x *SqlUsersListRequest) GetProject() string

func (*SqlUsersListRequest) ProtoMessage

func (*SqlUsersListRequest) ProtoMessage()

func (*SqlUsersListRequest) ProtoReflect

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

func (*SqlUsersListRequest) Reset

func (x *SqlUsersListRequest) Reset()

func (*SqlUsersListRequest) String

func (x *SqlUsersListRequest) String() string

type SqlUsersServiceClient

type SqlUsersServiceClient interface {
	// Deletes a user from a Cloud SQL instance.
	Delete(ctx context.Context, in *SqlUsersDeleteRequest, opts ...grpc.CallOption) (*Operation, error)
	// Creates a new user in a Cloud SQL instance.
	Insert(ctx context.Context, in *SqlUsersInsertRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists users in the specified Cloud SQL instance.
	List(ctx context.Context, in *SqlUsersListRequest, opts ...grpc.CallOption) (*UsersListResponse, error)
	// Updates an existing user in a Cloud SQL instance.
	Update(ctx context.Context, in *SqlUsersUpdateRequest, opts ...grpc.CallOption) (*Operation, error)
}

SqlUsersServiceClient is the client API for SqlUsersService service.

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

type SqlUsersServiceServer

type SqlUsersServiceServer interface {
	// Deletes a user from a Cloud SQL instance.
	Delete(context.Context, *SqlUsersDeleteRequest) (*Operation, error)
	// Creates a new user in a Cloud SQL instance.
	Insert(context.Context, *SqlUsersInsertRequest) (*Operation, error)
	// Lists users in the specified Cloud SQL instance.
	List(context.Context, *SqlUsersListRequest) (*UsersListResponse, error)
	// Updates an existing user in a Cloud SQL instance.
	Update(context.Context, *SqlUsersUpdateRequest) (*Operation, error)
}

SqlUsersServiceServer is the server API for SqlUsersService service.

type SqlUsersUpdateRequest

type SqlUsersUpdateRequest struct {

	// Optional. Host of the user in the instance.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Database instance ID. This does not include the project ID.
	Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Name of the user in the instance.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Project ID of the project that contains the instance.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	Body    *User  `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*SqlUsersUpdateRequest) Descriptor deprecated

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

Deprecated: Use SqlUsersUpdateRequest.ProtoReflect.Descriptor instead.

func (*SqlUsersUpdateRequest) GetBody

func (x *SqlUsersUpdateRequest) GetBody() *User

func (*SqlUsersUpdateRequest) GetHost

func (x *SqlUsersUpdateRequest) GetHost() string

func (*SqlUsersUpdateRequest) GetInstance

func (x *SqlUsersUpdateRequest) GetInstance() string

func (*SqlUsersUpdateRequest) GetName

func (x *SqlUsersUpdateRequest) GetName() string

func (*SqlUsersUpdateRequest) GetProject

func (x *SqlUsersUpdateRequest) GetProject() string

func (*SqlUsersUpdateRequest) ProtoMessage

func (*SqlUsersUpdateRequest) ProtoMessage()

func (*SqlUsersUpdateRequest) ProtoReflect

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

func (*SqlUsersUpdateRequest) Reset

func (x *SqlUsersUpdateRequest) Reset()

func (*SqlUsersUpdateRequest) String

func (x *SqlUsersUpdateRequest) String() string

type SslCert

type SslCert struct {

	// This is always `sql#sslCert`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Serial number, as extracted from the certificate.
	CertSerialNumber string `protobuf:"bytes,2,opt,name=cert_serial_number,json=certSerialNumber,proto3" json:"cert_serial_number,omitempty"`
	// PEM representation.
	Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
	// The time when the certificate was created in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// User supplied name.  Constrained to [a-zA-Z.-_ ]+.
	CommonName string `protobuf:"bytes,5,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// The time when the certificate expires in
	// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
	// `2012-11-15T16:19:00.094Z`.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Sha1 Fingerprint.
	Sha1Fingerprint string `protobuf:"bytes,7,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"`
	// Name of the database instance.
	Instance string `protobuf:"bytes,8,opt,name=instance,proto3" json:"instance,omitempty"`
	// The URI of this resource.
	SelfLink string `protobuf:"bytes,9,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// contains filtered or unexported fields
}

SslCerts Resource

func (*SslCert) Descriptor deprecated

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

Deprecated: Use SslCert.ProtoReflect.Descriptor instead.

func (*SslCert) GetCert

func (x *SslCert) GetCert() string

func (*SslCert) GetCertSerialNumber

func (x *SslCert) GetCertSerialNumber() string

func (*SslCert) GetCommonName

func (x *SslCert) GetCommonName() string

func (*SslCert) GetCreateTime

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

func (*SslCert) GetExpirationTime

func (x *SslCert) GetExpirationTime() *timestamppb.Timestamp

func (*SslCert) GetInstance

func (x *SslCert) GetInstance() string

func (*SslCert) GetKind

func (x *SslCert) GetKind() string
func (x *SslCert) GetSelfLink() string

func (*SslCert) GetSha1Fingerprint

func (x *SslCert) GetSha1Fingerprint() string

func (*SslCert) ProtoMessage

func (*SslCert) ProtoMessage()

func (*SslCert) ProtoReflect

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

func (*SslCert) Reset

func (x *SslCert) Reset()

func (*SslCert) String

func (x *SslCert) String() string

type SslCertDetail

type SslCertDetail struct {

	// The public information about the cert.
	CertInfo *SslCert `protobuf:"bytes,1,opt,name=cert_info,json=certInfo,proto3" json:"cert_info,omitempty"`
	// The private key for the client cert, in pem format.  Keep private in order
	// to protect your security.
	CertPrivateKey string `protobuf:"bytes,2,opt,name=cert_private_key,json=certPrivateKey,proto3" json:"cert_private_key,omitempty"`
	// contains filtered or unexported fields
}

SslCertDetail.

func (*SslCertDetail) Descriptor deprecated

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

Deprecated: Use SslCertDetail.ProtoReflect.Descriptor instead.

func (*SslCertDetail) GetCertInfo

func (x *SslCertDetail) GetCertInfo() *SslCert

func (*SslCertDetail) GetCertPrivateKey

func (x *SslCertDetail) GetCertPrivateKey() string

func (*SslCertDetail) ProtoMessage

func (*SslCertDetail) ProtoMessage()

func (*SslCertDetail) ProtoReflect

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

func (*SslCertDetail) Reset

func (x *SslCertDetail) Reset()

func (*SslCertDetail) String

func (x *SslCertDetail) String() string

type SslCertsCreateEphemeralRequest

type SslCertsCreateEphemeralRequest struct {

	// PEM encoded public key to include in the signed certificate.
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Access token to include in the signed certificate.
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

SslCerts create ephemeral certificate request.

func (*SslCertsCreateEphemeralRequest) Descriptor deprecated

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

Deprecated: Use SslCertsCreateEphemeralRequest.ProtoReflect.Descriptor instead.

func (*SslCertsCreateEphemeralRequest) GetAccessToken

func (x *SslCertsCreateEphemeralRequest) GetAccessToken() string

func (*SslCertsCreateEphemeralRequest) GetPublicKey

func (x *SslCertsCreateEphemeralRequest) GetPublicKey() string

func (*SslCertsCreateEphemeralRequest) ProtoMessage

func (*SslCertsCreateEphemeralRequest) ProtoMessage()

func (*SslCertsCreateEphemeralRequest) ProtoReflect

func (*SslCertsCreateEphemeralRequest) Reset

func (x *SslCertsCreateEphemeralRequest) Reset()

func (*SslCertsCreateEphemeralRequest) String

type SslCertsInsertRequest

type SslCertsInsertRequest struct {

	// User supplied name.  Must be a distinct name from the other certificates
	// for this instance.
	CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// contains filtered or unexported fields
}

SslCerts insert request.

func (*SslCertsInsertRequest) Descriptor deprecated

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

Deprecated: Use SslCertsInsertRequest.ProtoReflect.Descriptor instead.

func (*SslCertsInsertRequest) GetCommonName

func (x *SslCertsInsertRequest) GetCommonName() string

func (*SslCertsInsertRequest) ProtoMessage

func (*SslCertsInsertRequest) ProtoMessage()

func (*SslCertsInsertRequest) ProtoReflect

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

func (*SslCertsInsertRequest) Reset

func (x *SslCertsInsertRequest) Reset()

func (*SslCertsInsertRequest) String

func (x *SslCertsInsertRequest) String() string

type SslCertsInsertResponse

type SslCertsInsertResponse struct {

	// This is always `sql#sslCertsInsert`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The operation to track the ssl certs insert request.
	Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// The server Certificate Authority's certificate.  If this is missing you can
	// force a new one to be generated by calling resetSslConfig method on
	// instances resource.
	ServerCaCert *SslCert `protobuf:"bytes,3,opt,name=server_ca_cert,json=serverCaCert,proto3" json:"server_ca_cert,omitempty"`
	// The new client certificate and private key.
	ClientCert *SslCertDetail `protobuf:"bytes,4,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"`
	// contains filtered or unexported fields
}

SslCert insert response.

func (*SslCertsInsertResponse) Descriptor deprecated

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

Deprecated: Use SslCertsInsertResponse.ProtoReflect.Descriptor instead.

func (*SslCertsInsertResponse) GetClientCert

func (x *SslCertsInsertResponse) GetClientCert() *SslCertDetail

func (*SslCertsInsertResponse) GetKind

func (x *SslCertsInsertResponse) GetKind() string

func (*SslCertsInsertResponse) GetOperation

func (x *SslCertsInsertResponse) GetOperation() *Operation

func (*SslCertsInsertResponse) GetServerCaCert

func (x *SslCertsInsertResponse) GetServerCaCert() *SslCert

func (*SslCertsInsertResponse) ProtoMessage

func (*SslCertsInsertResponse) ProtoMessage()

func (*SslCertsInsertResponse) ProtoReflect

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

func (*SslCertsInsertResponse) Reset

func (x *SslCertsInsertResponse) Reset()

func (*SslCertsInsertResponse) String

func (x *SslCertsInsertResponse) String() string

type SslCertsListResponse

type SslCertsListResponse struct {

	// This is always `sql#sslCertsList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of client certificates for the instance.
	Items []*SslCert `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

SslCerts list response.

func (*SslCertsListResponse) Descriptor deprecated

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

Deprecated: Use SslCertsListResponse.ProtoReflect.Descriptor instead.

func (*SslCertsListResponse) GetItems

func (x *SslCertsListResponse) GetItems() []*SslCert

func (*SslCertsListResponse) GetKind

func (x *SslCertsListResponse) GetKind() string

func (*SslCertsListResponse) ProtoMessage

func (*SslCertsListResponse) ProtoMessage()

func (*SslCertsListResponse) ProtoReflect

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

func (*SslCertsListResponse) Reset

func (x *SslCertsListResponse) Reset()

func (*SslCertsListResponse) String

func (x *SslCertsListResponse) String() string

type SyncFlags

type SyncFlags struct {

	// The name of the flag.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The value of the flag. This field must be omitted if the flag
	// doesn't take a value.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.

func (*SyncFlags) Descriptor deprecated

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

Deprecated: Use SyncFlags.ProtoReflect.Descriptor instead.

func (*SyncFlags) GetName

func (x *SyncFlags) GetName() string

func (*SyncFlags) GetValue

func (x *SyncFlags) GetValue() string

func (*SyncFlags) ProtoMessage

func (*SyncFlags) ProtoMessage()

func (*SyncFlags) ProtoReflect

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

func (*SyncFlags) Reset

func (x *SyncFlags) Reset()

func (*SyncFlags) String

func (x *SyncFlags) String() string

type Tier

type Tier struct {

	// An identifier for the machine type, for example, `db-custom-1-3840`. For
	// related information, see [Pricing](/sql/pricing).
	Tier string `protobuf:"bytes,1,opt,name=tier,proto3" json:"tier,omitempty"`
	// The maximum RAM usage of this tier in bytes.
	RAM int64 `protobuf:"varint,2,opt,name=RAM,proto3" json:"RAM,omitempty"`
	// This is always `sql#tier`.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// The maximum disk size of this tier in bytes.
	Disk_Quota int64 `protobuf:"varint,4,opt,name=Disk_Quota,json=DiskQuota,proto3" json:"Disk_Quota,omitempty"`
	// The applicable regions for this tier.
	Region []string `protobuf:"bytes,5,rep,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

A Google Cloud SQL service tier resource.

func (*Tier) Descriptor deprecated

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

Deprecated: Use Tier.ProtoReflect.Descriptor instead.

func (*Tier) GetDisk_Quota

func (x *Tier) GetDisk_Quota() int64

func (*Tier) GetKind

func (x *Tier) GetKind() string

func (*Tier) GetRAM

func (x *Tier) GetRAM() int64

func (*Tier) GetRegion

func (x *Tier) GetRegion() []string

func (*Tier) GetTier

func (x *Tier) GetTier() string

func (*Tier) ProtoMessage

func (*Tier) ProtoMessage()

func (*Tier) ProtoReflect

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

func (*Tier) Reset

func (x *Tier) Reset()

func (*Tier) String

func (x *Tier) String() string

type TiersListResponse

type TiersListResponse struct {

	// This is always `sql#tiersList`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of tiers.
	Items []*Tier `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Tiers list response.

func (*TiersListResponse) Descriptor deprecated

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

Deprecated: Use TiersListResponse.ProtoReflect.Descriptor instead.

func (*TiersListResponse) GetItems

func (x *TiersListResponse) GetItems() []*Tier

func (*TiersListResponse) GetKind

func (x *TiersListResponse) GetKind() string

func (*TiersListResponse) ProtoMessage

func (*TiersListResponse) ProtoMessage()

func (*TiersListResponse) ProtoReflect

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

func (*TiersListResponse) Reset

func (x *TiersListResponse) Reset()

func (*TiersListResponse) String

func (x *TiersListResponse) String() string

type TruncateLogContext

type TruncateLogContext struct {

	// This is always `sql#truncateLogContext`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and
	// `MYSQL_SLOW_TABLE`.
	LogType string `protobuf:"bytes,2,opt,name=log_type,json=logType,proto3" json:"log_type,omitempty"`
	// contains filtered or unexported fields
}

Database Instance truncate log context.

func (*TruncateLogContext) Descriptor deprecated

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

Deprecated: Use TruncateLogContext.ProtoReflect.Descriptor instead.

func (*TruncateLogContext) GetKind

func (x *TruncateLogContext) GetKind() string

func (*TruncateLogContext) GetLogType

func (x *TruncateLogContext) GetLogType() string

func (*TruncateLogContext) ProtoMessage

func (*TruncateLogContext) ProtoMessage()

func (*TruncateLogContext) ProtoReflect

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

func (*TruncateLogContext) Reset

func (x *TruncateLogContext) Reset()

func (*TruncateLogContext) String

func (x *TruncateLogContext) String() string

type UnimplementedSqlBackupRunsServiceServer

type UnimplementedSqlBackupRunsServiceServer struct {
}

UnimplementedSqlBackupRunsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlBackupRunsServiceServer) Delete

func (*UnimplementedSqlBackupRunsServiceServer) Get

func (*UnimplementedSqlBackupRunsServiceServer) Insert

func (*UnimplementedSqlBackupRunsServiceServer) List

type UnimplementedSqlConnectServiceServer

type UnimplementedSqlConnectServiceServer struct {
}

UnimplementedSqlConnectServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlConnectServiceServer) GenerateEphemeralCert

func (*UnimplementedSqlConnectServiceServer) GetConnectSettings

type UnimplementedSqlDatabasesServiceServer

type UnimplementedSqlDatabasesServiceServer struct {
}

UnimplementedSqlDatabasesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlDatabasesServiceServer) Delete

func (*UnimplementedSqlDatabasesServiceServer) Get

func (*UnimplementedSqlDatabasesServiceServer) Insert

func (*UnimplementedSqlDatabasesServiceServer) List

func (*UnimplementedSqlDatabasesServiceServer) Patch

func (*UnimplementedSqlDatabasesServiceServer) Update

type UnimplementedSqlFlagsServiceServer

type UnimplementedSqlFlagsServiceServer struct {
}

UnimplementedSqlFlagsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlFlagsServiceServer) List

type UnimplementedSqlInstancesServiceServer

type UnimplementedSqlInstancesServiceServer struct {
}

UnimplementedSqlInstancesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlInstancesServiceServer) AddServerCa

func (*UnimplementedSqlInstancesServiceServer) Clone

func (*UnimplementedSqlInstancesServiceServer) CreateEphemeral

func (*UnimplementedSqlInstancesServiceServer) Delete

func (*UnimplementedSqlInstancesServiceServer) DemoteMaster

func (*UnimplementedSqlInstancesServiceServer) Export

func (*UnimplementedSqlInstancesServiceServer) Failover

func (*UnimplementedSqlInstancesServiceServer) Get

func (*UnimplementedSqlInstancesServiceServer) Import

func (*UnimplementedSqlInstancesServiceServer) Insert

func (*UnimplementedSqlInstancesServiceServer) List

func (*UnimplementedSqlInstancesServiceServer) Patch

func (*UnimplementedSqlInstancesServiceServer) PromoteReplica

func (*UnimplementedSqlInstancesServiceServer) RescheduleMaintenance

func (*UnimplementedSqlInstancesServiceServer) ResetSslConfig

func (*UnimplementedSqlInstancesServiceServer) Restart

func (*UnimplementedSqlInstancesServiceServer) RestoreBackup

func (*UnimplementedSqlInstancesServiceServer) RotateServerCa

func (*UnimplementedSqlInstancesServiceServer) StartExternalSync

func (*UnimplementedSqlInstancesServiceServer) StartReplica

func (*UnimplementedSqlInstancesServiceServer) StopReplica

func (*UnimplementedSqlInstancesServiceServer) TruncateLog

func (*UnimplementedSqlInstancesServiceServer) Update

type UnimplementedSqlOperationsServiceServer

type UnimplementedSqlOperationsServiceServer struct {
}

UnimplementedSqlOperationsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlOperationsServiceServer) Get

func (*UnimplementedSqlOperationsServiceServer) List

type UnimplementedSqlSslCertsServiceServer

type UnimplementedSqlSslCertsServiceServer struct {
}

UnimplementedSqlSslCertsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlSslCertsServiceServer) Delete

func (*UnimplementedSqlSslCertsServiceServer) Get

func (*UnimplementedSqlSslCertsServiceServer) Insert

func (*UnimplementedSqlSslCertsServiceServer) List

type UnimplementedSqlTiersServiceServer

type UnimplementedSqlTiersServiceServer struct {
}

UnimplementedSqlTiersServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlTiersServiceServer) List

type UnimplementedSqlUsersServiceServer

type UnimplementedSqlUsersServiceServer struct {
}

UnimplementedSqlUsersServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSqlUsersServiceServer) Delete

func (*UnimplementedSqlUsersServiceServer) Insert

func (*UnimplementedSqlUsersServiceServer) List

func (*UnimplementedSqlUsersServiceServer) Update

type User

type User struct {

	// This is always `sql#user`.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The password for the user.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// This field is deprecated and will be removed from a future version of the
	// API.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// The name of the user in the Cloud SQL instance. Can be omitted for
	// `update` because it is already specified in the URL.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The host from which the user can connect. For `insert`
	// operations, host defaults to an empty string. For `update`
	// operations, host is specified as part of the request URL. The host name
	// cannot be updated after insertion.  For a MySQL instance, it's required;
	// for a PostgreSQL or SQL Server instance, it's optional.
	Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	// The name of the Cloud SQL instance. This does not include the project ID.
	// Can be omitted for <b>update</b> because it is already specified on the
	// URL.
	Instance string `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"`
	// The project ID of the project containing the Cloud SQL database. The Google
	// apps domain is prefixed if applicable. Can be omitted for
	// <b>update</b> because it is already specified on the URL.
	Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
	// The user type. It determines the method to authenticate the user during
	// login. The default is the database's built-in user type.
	Type User_SqlUserType `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.User_SqlUserType" json:"type,omitempty"`
	// User details for specific database type
	//
	// Types that are assignable to UserDetails:
	//	*User_SqlserverUserDetails
	UserDetails isUser_UserDetails `protobuf_oneof:"user_details"`
	// User level password validation policy.
	PasswordPolicy *UserPasswordValidationPolicy `protobuf:"bytes,12,opt,name=password_policy,json=passwordPolicy,proto3" json:"password_policy,omitempty"`
	// contains filtered or unexported fields
}

A Cloud SQL user resource.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEtag

func (x *User) GetEtag() string

func (*User) GetHost

func (x *User) GetHost() string

func (*User) GetInstance

func (x *User) GetInstance() string

func (*User) GetKind

func (x *User) GetKind() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetPasswordPolicy

func (x *User) GetPasswordPolicy() *UserPasswordValidationPolicy

func (*User) GetProject

func (x *User) GetProject() string

func (*User) GetSqlserverUserDetails

func (x *User) GetSqlserverUserDetails() *SqlServerUserDetails

func (*User) GetType

func (x *User) GetType() User_SqlUserType

func (*User) GetUserDetails

func (m *User) GetUserDetails() isUser_UserDetails

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserPasswordValidationPolicy

type UserPasswordValidationPolicy struct {

	// Number of failed login attempts allowed before user get locked.
	AllowedFailedAttempts int32 `` /* 127-byte string literal not displayed */
	// Expiration duration after password is updated.
	PasswordExpirationDuration *durationpb.Duration `` /* 141-byte string literal not displayed */
	// If true, failed login attempts check will be enabled.
	EnableFailedAttemptsCheck bool `` /* 141-byte string literal not displayed */
	// Output only. Read-only password status.
	Status *PasswordStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

User level password validation policy.

func (*UserPasswordValidationPolicy) Descriptor deprecated

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

Deprecated: Use UserPasswordValidationPolicy.ProtoReflect.Descriptor instead.

func (*UserPasswordValidationPolicy) GetAllowedFailedAttempts

func (x *UserPasswordValidationPolicy) GetAllowedFailedAttempts() int32

func (*UserPasswordValidationPolicy) GetEnableFailedAttemptsCheck

func (x *UserPasswordValidationPolicy) GetEnableFailedAttemptsCheck() bool

func (*UserPasswordValidationPolicy) GetPasswordExpirationDuration

func (x *UserPasswordValidationPolicy) GetPasswordExpirationDuration() *durationpb.Duration

func (*UserPasswordValidationPolicy) GetStatus

func (*UserPasswordValidationPolicy) ProtoMessage

func (*UserPasswordValidationPolicy) ProtoMessage()

func (*UserPasswordValidationPolicy) ProtoReflect

func (*UserPasswordValidationPolicy) Reset

func (x *UserPasswordValidationPolicy) Reset()

func (*UserPasswordValidationPolicy) String

type User_SqlUserType

type User_SqlUserType int32

The user type.

const (
	// The database's built-in user type.
	User_BUILT_IN User_SqlUserType = 0
	// Cloud IAM user.
	User_CLOUD_IAM_USER User_SqlUserType = 1
	// Cloud IAM service account.
	User_CLOUD_IAM_SERVICE_ACCOUNT User_SqlUserType = 2
)

func (User_SqlUserType) Descriptor

func (User_SqlUserType) Enum

func (User_SqlUserType) EnumDescriptor deprecated

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

Deprecated: Use User_SqlUserType.Descriptor instead.

func (User_SqlUserType) Number

func (User_SqlUserType) String

func (x User_SqlUserType) String() string

func (User_SqlUserType) Type

type User_SqlserverUserDetails

type User_SqlserverUserDetails struct {
	SqlserverUserDetails *SqlServerUserDetails `protobuf:"bytes,9,opt,name=sqlserver_user_details,json=sqlserverUserDetails,proto3,oneof"`
}

type UsersListResponse

type UsersListResponse struct {

	// This is always <b>sql#usersList</b>.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// List of user resources in the instance.
	Items []*User `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// An identifier that uniquely identifies the operation. You can use this
	// identifier to retrieve the Operations resource that has information about
	// the operation.
	NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

User list response.

func (*UsersListResponse) Descriptor deprecated

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

Deprecated: Use UsersListResponse.ProtoReflect.Descriptor instead.

func (*UsersListResponse) GetItems

func (x *UsersListResponse) GetItems() []*User

func (*UsersListResponse) GetKind

func (x *UsersListResponse) GetKind() string

func (*UsersListResponse) GetNextPageToken

func (x *UsersListResponse) GetNextPageToken() string

func (*UsersListResponse) ProtoMessage

func (*UsersListResponse) ProtoMessage()

func (*UsersListResponse) ProtoReflect

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

func (*UsersListResponse) Reset

func (x *UsersListResponse) Reset()

func (*UsersListResponse) String

func (x *UsersListResponse) String() string

Jump to

Keyboard shortcuts

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