Documentation
¶
Overview ¶
Package sqlpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package sqlpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package sqlpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package sqlpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterSqlBackupRunsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlBackupRunsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlBackupRunsServiceClient) error
- func RegisterSqlBackupRunsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlBackupRunsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlBackupRunsServiceServer) error
- func RegisterSqlBackupRunsServiceServer(s grpc.ServiceRegistrar, srv SqlBackupRunsServiceServer)
- func RegisterSqlConnectServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlConnectServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlConnectServiceClient) error
- func RegisterSqlConnectServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlConnectServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlConnectServiceServer) error
- func RegisterSqlConnectServiceServer(s grpc.ServiceRegistrar, srv SqlConnectServiceServer)
- func RegisterSqlDatabasesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlDatabasesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlDatabasesServiceClient) error
- func RegisterSqlDatabasesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlDatabasesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlDatabasesServiceServer) error
- func RegisterSqlDatabasesServiceServer(s grpc.ServiceRegistrar, srv SqlDatabasesServiceServer)
- func RegisterSqlFlagsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlFlagsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlFlagsServiceClient) error
- func RegisterSqlFlagsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlFlagsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlFlagsServiceServer) error
- func RegisterSqlFlagsServiceServer(s grpc.ServiceRegistrar, srv SqlFlagsServiceServer)
- func RegisterSqlIamPoliciesServiceServer(s grpc.ServiceRegistrar, srv SqlIamPoliciesServiceServer)
- func RegisterSqlInstancesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlInstancesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlInstancesServiceClient) error
- func RegisterSqlInstancesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlInstancesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlInstancesServiceServer) error
- func RegisterSqlInstancesServiceServer(s grpc.ServiceRegistrar, srv SqlInstancesServiceServer)
- func RegisterSqlOperationsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlOperationsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlOperationsServiceClient) error
- func RegisterSqlOperationsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlOperationsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlOperationsServiceServer) error
- func RegisterSqlOperationsServiceServer(s grpc.ServiceRegistrar, srv SqlOperationsServiceServer)
- func RegisterSqlSslCertsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlSslCertsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlSslCertsServiceClient) error
- func RegisterSqlSslCertsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlSslCertsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlSslCertsServiceServer) error
- func RegisterSqlSslCertsServiceServer(s grpc.ServiceRegistrar, srv SqlSslCertsServiceServer)
- func RegisterSqlTiersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlTiersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlTiersServiceClient) error
- func RegisterSqlTiersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlTiersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlTiersServiceServer) error
- func RegisterSqlTiersServiceServer(s grpc.ServiceRegistrar, srv SqlTiersServiceServer)
- func RegisterSqlUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSqlUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlUsersServiceClient) error
- func RegisterSqlUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSqlUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlUsersServiceServer) error
- func RegisterSqlUsersServiceServer(s grpc.ServiceRegistrar, srv SqlUsersServiceServer)
- type AclEntry
- func (*AclEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AclEntry) GetExpirationTime() *timestamp.Timestamp
- func (x *AclEntry) GetKind() string
- func (x *AclEntry) GetName() string
- func (x *AclEntry) GetValue() string
- func (*AclEntry) ProtoMessage()
- func (x *AclEntry) ProtoReflect() protoreflect.Message
- func (x *AclEntry) Reset()
- func (x *AclEntry) String() string
- type AcquireSsrsLeaseContext
- func (*AcquireSsrsLeaseContext) Descriptor() ([]byte, []int)deprecated
- func (x *AcquireSsrsLeaseContext) GetDuration() *duration.Duration
- func (x *AcquireSsrsLeaseContext) GetReportDatabase() string
- func (x *AcquireSsrsLeaseContext) GetServiceLogin() string
- func (x *AcquireSsrsLeaseContext) GetSetupLogin() string
- func (*AcquireSsrsLeaseContext) ProtoMessage()
- func (x *AcquireSsrsLeaseContext) ProtoReflect() protoreflect.Message
- func (x *AcquireSsrsLeaseContext) Reset()
- func (x *AcquireSsrsLeaseContext) String() string
- type AdvancedMachineFeatures
- func (*AdvancedMachineFeatures) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedMachineFeatures) GetThreadsPerCore() int32
- func (*AdvancedMachineFeatures) ProtoMessage()
- func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Message
- func (x *AdvancedMachineFeatures) Reset()
- func (x *AdvancedMachineFeatures) String() string
- type ApiWarning
- func (*ApiWarning) Descriptor() ([]byte, []int)deprecated
- func (x *ApiWarning) GetCode() ApiWarning_SqlApiWarningCode
- func (x *ApiWarning) GetMessage() string
- func (x *ApiWarning) GetRegion() string
- func (*ApiWarning) ProtoMessage()
- func (x *ApiWarning) ProtoReflect() protoreflect.Message
- func (x *ApiWarning) Reset()
- func (x *ApiWarning) String() string
- type ApiWarning_SqlApiWarningCode
- func (ApiWarning_SqlApiWarningCode) Descriptor() protoreflect.EnumDescriptor
- func (x ApiWarning_SqlApiWarningCode) Enum() *ApiWarning_SqlApiWarningCode
- func (ApiWarning_SqlApiWarningCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApiWarning_SqlApiWarningCode) Number() protoreflect.EnumNumber
- func (x ApiWarning_SqlApiWarningCode) String() string
- func (ApiWarning_SqlApiWarningCode) Type() protoreflect.EnumType
- type AvailableDatabaseVersion
- func (*AvailableDatabaseVersion) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableDatabaseVersion) GetDisplayName() string
- func (x *AvailableDatabaseVersion) GetMajorVersion() string
- func (x *AvailableDatabaseVersion) GetName() string
- func (*AvailableDatabaseVersion) ProtoMessage()
- func (x *AvailableDatabaseVersion) ProtoReflect() protoreflect.Message
- func (x *AvailableDatabaseVersion) Reset()
- func (x *AvailableDatabaseVersion) String() string
- type BackupConfiguration
- func (*BackupConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *BackupConfiguration) GetBackupRetentionSettings() *BackupRetentionSettings
- func (x *BackupConfiguration) GetBinaryLogEnabled() *wrappers.BoolValue
- func (x *BackupConfiguration) GetEnabled() *wrappers.BoolValue
- func (x *BackupConfiguration) GetKind() string
- func (x *BackupConfiguration) GetLocation() string
- func (x *BackupConfiguration) GetPointInTimeRecoveryEnabled() *wrappers.BoolValue
- func (x *BackupConfiguration) GetReplicationLogArchivingEnabled() *wrappers.BoolValue
- func (x *BackupConfiguration) GetStartTime() string
- func (x *BackupConfiguration) GetTransactionLogRetentionDays() *wrappers.Int32Value
- func (x *BackupConfiguration) GetTransactionalLogStorageState() BackupConfiguration_TransactionalLogStorageState
- func (*BackupConfiguration) ProtoMessage()
- func (x *BackupConfiguration) ProtoReflect() protoreflect.Message
- func (x *BackupConfiguration) Reset()
- func (x *BackupConfiguration) String() string
- type BackupConfiguration_TransactionalLogStorageState
- func (BackupConfiguration_TransactionalLogStorageState) Descriptor() protoreflect.EnumDescriptor
- func (x BackupConfiguration_TransactionalLogStorageState) Enum() *BackupConfiguration_TransactionalLogStorageState
- func (BackupConfiguration_TransactionalLogStorageState) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupConfiguration_TransactionalLogStorageState) Number() protoreflect.EnumNumber
- func (x BackupConfiguration_TransactionalLogStorageState) String() string
- func (BackupConfiguration_TransactionalLogStorageState) Type() protoreflect.EnumType
- type BackupContext
- func (*BackupContext) Descriptor() ([]byte, []int)deprecated
- func (x *BackupContext) GetBackupId() int64
- func (x *BackupContext) GetKind() string
- func (*BackupContext) ProtoMessage()
- func (x *BackupContext) ProtoReflect() protoreflect.Message
- func (x *BackupContext) Reset()
- func (x *BackupContext) String() string
- type BackupReencryptionConfig
- func (*BackupReencryptionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BackupReencryptionConfig) GetBackupLimit() int32
- func (x *BackupReencryptionConfig) GetBackupType() BackupReencryptionConfig_BackupType
- func (*BackupReencryptionConfig) ProtoMessage()
- func (x *BackupReencryptionConfig) ProtoReflect() protoreflect.Message
- func (x *BackupReencryptionConfig) Reset()
- func (x *BackupReencryptionConfig) String() string
- type BackupReencryptionConfig_BackupType
- func (BackupReencryptionConfig_BackupType) Descriptor() protoreflect.EnumDescriptor
- func (x BackupReencryptionConfig_BackupType) Enum() *BackupReencryptionConfig_BackupType
- func (BackupReencryptionConfig_BackupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupReencryptionConfig_BackupType) Number() protoreflect.EnumNumber
- func (x BackupReencryptionConfig_BackupType) String() string
- func (BackupReencryptionConfig_BackupType) Type() protoreflect.EnumType
- type BackupRetentionSettings
- func (*BackupRetentionSettings) Descriptor() ([]byte, []int)deprecated
- func (x *BackupRetentionSettings) GetRetainedBackups() *wrappers.Int32Value
- func (x *BackupRetentionSettings) GetRetentionUnit() BackupRetentionSettings_RetentionUnit
- func (*BackupRetentionSettings) ProtoMessage()
- func (x *BackupRetentionSettings) ProtoReflect() protoreflect.Message
- func (x *BackupRetentionSettings) Reset()
- func (x *BackupRetentionSettings) String() string
- type BackupRetentionSettings_RetentionUnit
- func (BackupRetentionSettings_RetentionUnit) Descriptor() protoreflect.EnumDescriptor
- func (x BackupRetentionSettings_RetentionUnit) Enum() *BackupRetentionSettings_RetentionUnit
- func (BackupRetentionSettings_RetentionUnit) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupRetentionSettings_RetentionUnit) Number() protoreflect.EnumNumber
- func (x BackupRetentionSettings_RetentionUnit) String() string
- func (BackupRetentionSettings_RetentionUnit) Type() protoreflect.EnumType
- type BackupRun
- func (*BackupRun) Descriptor() ([]byte, []int)deprecated
- func (x *BackupRun) GetBackupKind() SqlBackupKind
- func (x *BackupRun) GetDescription() string
- func (x *BackupRun) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration
- func (x *BackupRun) GetDiskEncryptionStatus() *DiskEncryptionStatus
- func (x *BackupRun) GetEndTime() *timestamp.Timestamp
- func (x *BackupRun) GetEnqueuedTime() *timestamp.Timestamp
- func (x *BackupRun) GetError() *OperationError
- func (x *BackupRun) GetId() int64
- func (x *BackupRun) GetInstance() string
- func (x *BackupRun) GetKind() string
- func (x *BackupRun) GetLocation() string
- func (x *BackupRun) GetSelfLink() string
- func (x *BackupRun) GetStartTime() *timestamp.Timestamp
- func (x *BackupRun) GetStatus() SqlBackupRunStatus
- func (x *BackupRun) GetTimeZone() string
- func (x *BackupRun) GetType() SqlBackupRunType
- func (x *BackupRun) GetWindowStartTime() *timestamp.Timestamp
- func (*BackupRun) ProtoMessage()
- func (x *BackupRun) ProtoReflect() protoreflect.Message
- func (x *BackupRun) Reset()
- func (x *BackupRun) String() string
- type BackupRunsListResponse
- func (*BackupRunsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupRunsListResponse) GetItems() []*BackupRun
- func (x *BackupRunsListResponse) GetKind() string
- func (x *BackupRunsListResponse) GetNextPageToken() string
- func (*BackupRunsListResponse) ProtoMessage()
- func (x *BackupRunsListResponse) ProtoReflect() protoreflect.Message
- func (x *BackupRunsListResponse) Reset()
- func (x *BackupRunsListResponse) String() string
- type BakType
- type BinLogCoordinates
- func (*BinLogCoordinates) Descriptor() ([]byte, []int)deprecated
- func (x *BinLogCoordinates) GetBinLogFileName() string
- func (x *BinLogCoordinates) GetBinLogPosition() int64
- func (x *BinLogCoordinates) GetKind() string
- func (*BinLogCoordinates) ProtoMessage()
- func (x *BinLogCoordinates) ProtoReflect() protoreflect.Message
- func (x *BinLogCoordinates) Reset()
- func (x *BinLogCoordinates) String() string
- type CloneContext
- func (*CloneContext) Descriptor() ([]byte, []int)deprecated
- func (x *CloneContext) GetAllocatedIpRange() string
- func (x *CloneContext) GetBinLogCoordinates() *BinLogCoordinates
- func (x *CloneContext) GetDatabaseNames() []string
- func (x *CloneContext) GetDestinationInstanceName() string
- func (x *CloneContext) GetKind() string
- func (x *CloneContext) GetPitrTimestampMs() int64
- func (x *CloneContext) GetPointInTime() *timestamp.Timestamp
- func (x *CloneContext) GetPreferredSecondaryZone() string
- func (x *CloneContext) GetPreferredZone() string
- func (*CloneContext) ProtoMessage()
- func (x *CloneContext) ProtoReflect() protoreflect.Message
- func (x *CloneContext) Reset()
- func (x *CloneContext) String() string
- type ConnectSettings
- func (*ConnectSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectSettings) GetBackendType() SqlBackendType
- func (x *ConnectSettings) GetDatabaseVersion() SqlDatabaseVersion
- func (x *ConnectSettings) GetDnsName() string
- func (x *ConnectSettings) GetIpAddresses() []*IpMapping
- func (x *ConnectSettings) GetKind() string
- func (x *ConnectSettings) GetPscEnabled() bool
- func (x *ConnectSettings) GetRegion() string
- func (x *ConnectSettings) GetServerCaCert() *SslCert
- func (*ConnectSettings) ProtoMessage()
- func (x *ConnectSettings) ProtoReflect() protoreflect.Message
- func (x *ConnectSettings) Reset()
- func (x *ConnectSettings) String() string
- type DataCacheConfig
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetCharset() string
- func (x *Database) GetCollation() string
- func (m *Database) GetDatabaseDetails() isDatabase_DatabaseDetails
- func (x *Database) GetEtag() string
- func (x *Database) GetInstance() string
- func (x *Database) GetKind() string
- func (x *Database) GetName() string
- func (x *Database) GetProject() string
- func (x *Database) GetSelfLink() string
- func (x *Database) GetSqlserverDatabaseDetails() *SqlServerDatabaseDetails
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type DatabaseFlags
- func (*DatabaseFlags) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseFlags) GetName() string
- func (x *DatabaseFlags) GetValue() string
- func (*DatabaseFlags) ProtoMessage()
- func (x *DatabaseFlags) ProtoReflect() protoreflect.Message
- func (x *DatabaseFlags) Reset()
- func (x *DatabaseFlags) String() string
- type DatabaseInstance
- func (*DatabaseInstance) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInstance) GetAvailableMaintenanceVersions() []string
- func (x *DatabaseInstance) GetBackendType() SqlBackendType
- func (x *DatabaseInstance) GetConnectionName() string
- func (x *DatabaseInstance) GetCreateTime() *timestamp.Timestamp
- func (x *DatabaseInstance) GetCurrentDiskSize() *wrappers.Int64Valuedeprecated
- func (x *DatabaseInstance) GetDatabaseInstalledVersion() string
- func (x *DatabaseInstance) GetDatabaseVersion() SqlDatabaseVersion
- func (x *DatabaseInstance) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration
- func (x *DatabaseInstance) GetDiskEncryptionStatus() *DiskEncryptionStatus
- func (x *DatabaseInstance) GetDnsName() string
- func (x *DatabaseInstance) GetEtag() string
- func (x *DatabaseInstance) GetFailoverReplica() *DatabaseInstance_SqlFailoverReplica
- func (x *DatabaseInstance) GetGceZone() string
- func (x *DatabaseInstance) GetGeminiConfig() *GeminiInstanceConfig
- func (x *DatabaseInstance) GetInstanceType() SqlInstanceType
- func (x *DatabaseInstance) GetIpAddresses() []*IpMapping
- func (x *DatabaseInstance) GetIpv6Address() stringdeprecated
- func (x *DatabaseInstance) GetKind() string
- func (x *DatabaseInstance) GetMaintenanceVersion() string
- func (x *DatabaseInstance) GetMasterInstanceName() string
- func (x *DatabaseInstance) GetMaxDiskSize() *wrappers.Int64Valuedeprecated
- func (x *DatabaseInstance) GetName() string
- func (x *DatabaseInstance) GetOnPremisesConfiguration() *OnPremisesConfiguration
- func (x *DatabaseInstance) GetOutOfDiskReport() *DatabaseInstance_SqlOutOfDiskReport
- func (x *DatabaseInstance) GetPrimaryDnsName() stringdeprecated
- func (x *DatabaseInstance) GetProject() string
- func (x *DatabaseInstance) GetPscServiceAttachmentLink() string
- func (x *DatabaseInstance) GetRegion() string
- func (x *DatabaseInstance) GetReplicaConfiguration() *ReplicaConfiguration
- func (x *DatabaseInstance) GetReplicaNames() []string
- func (x *DatabaseInstance) GetReplicationCluster() *ReplicationCluster
- func (x *DatabaseInstance) GetRootPassword() string
- func (x *DatabaseInstance) GetSatisfiesPzs() *wrappers.BoolValue
- func (x *DatabaseInstance) GetScheduledMaintenance() *DatabaseInstance_SqlScheduledMaintenance
- func (x *DatabaseInstance) GetSecondaryGceZone() string
- func (x *DatabaseInstance) GetSelfLink() string
- func (x *DatabaseInstance) GetServerCaCert() *SslCert
- func (x *DatabaseInstance) GetServiceAccountEmailAddress() string
- func (x *DatabaseInstance) GetSettings() *Settings
- func (x *DatabaseInstance) GetSqlNetworkArchitecture() DatabaseInstance_SqlNetworkArchitecture
- func (x *DatabaseInstance) GetState() DatabaseInstance_SqlInstanceState
- func (x *DatabaseInstance) GetSuspensionReason() []SqlSuspensionReason
- func (x *DatabaseInstance) GetUpgradableDatabaseVersions() []*AvailableDatabaseVersion
- func (x *DatabaseInstance) GetWriteEndpoint() string
- func (*DatabaseInstance) ProtoMessage()
- func (x *DatabaseInstance) ProtoReflect() protoreflect.Message
- func (x *DatabaseInstance) Reset()
- func (x *DatabaseInstance) String() string
- type DatabaseInstance_SqlFailoverReplica
- func (*DatabaseInstance_SqlFailoverReplica) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInstance_SqlFailoverReplica) GetAvailable() *wrappers.BoolValue
- func (x *DatabaseInstance_SqlFailoverReplica) GetName() string
- func (*DatabaseInstance_SqlFailoverReplica) ProtoMessage()
- func (x *DatabaseInstance_SqlFailoverReplica) ProtoReflect() protoreflect.Message
- func (x *DatabaseInstance_SqlFailoverReplica) Reset()
- func (x *DatabaseInstance_SqlFailoverReplica) String() string
- type DatabaseInstance_SqlInstanceState
- func (DatabaseInstance_SqlInstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseInstance_SqlInstanceState) Enum() *DatabaseInstance_SqlInstanceState
- func (DatabaseInstance_SqlInstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseInstance_SqlInstanceState) Number() protoreflect.EnumNumber
- func (x DatabaseInstance_SqlInstanceState) String() string
- func (DatabaseInstance_SqlInstanceState) Type() protoreflect.EnumType
- type DatabaseInstance_SqlNetworkArchitecture
- func (DatabaseInstance_SqlNetworkArchitecture) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseInstance_SqlNetworkArchitecture) Enum() *DatabaseInstance_SqlNetworkArchitecture
- func (DatabaseInstance_SqlNetworkArchitecture) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseInstance_SqlNetworkArchitecture) Number() protoreflect.EnumNumber
- func (x DatabaseInstance_SqlNetworkArchitecture) String() string
- func (DatabaseInstance_SqlNetworkArchitecture) Type() protoreflect.EnumType
- type DatabaseInstance_SqlOutOfDiskReport
- func (*DatabaseInstance_SqlOutOfDiskReport) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInstance_SqlOutOfDiskReport) GetSqlMinRecommendedIncreaseSizeGb() int32
- func (x *DatabaseInstance_SqlOutOfDiskReport) GetSqlOutOfDiskState() DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState
- func (*DatabaseInstance_SqlOutOfDiskReport) ProtoMessage()
- func (x *DatabaseInstance_SqlOutOfDiskReport) ProtoReflect() protoreflect.Message
- func (x *DatabaseInstance_SqlOutOfDiskReport) Reset()
- func (x *DatabaseInstance_SqlOutOfDiskReport) String() string
- type DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState
- func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Enum() *DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState
- func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Number() protoreflect.EnumNumber
- func (x DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) String() string
- func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Type() protoreflect.EnumType
- type DatabaseInstance_SqlScheduledMaintenance
- func (*DatabaseInstance_SqlScheduledMaintenance) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanDefer() booldeprecated
- func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule() bool
- func (x *DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime() *timestamp.Timestamp
- func (x *DatabaseInstance_SqlScheduledMaintenance) GetStartTime() *timestamp.Timestamp
- func (*DatabaseInstance_SqlScheduledMaintenance) ProtoMessage()
- func (x *DatabaseInstance_SqlScheduledMaintenance) ProtoReflect() protoreflect.Message
- func (x *DatabaseInstance_SqlScheduledMaintenance) Reset()
- func (x *DatabaseInstance_SqlScheduledMaintenance) String() string
- type Database_SqlserverDatabaseDetails
- type DatabasesListResponse
- func (*DatabasesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatabasesListResponse) GetItems() []*Database
- func (x *DatabasesListResponse) GetKind() string
- func (*DatabasesListResponse) ProtoMessage()
- func (x *DatabasesListResponse) ProtoReflect() protoreflect.Message
- func (x *DatabasesListResponse) Reset()
- func (x *DatabasesListResponse) String() string
- type DemoteContext
- func (*DemoteContext) Descriptor() ([]byte, []int)deprecated
- func (x *DemoteContext) GetKind() string
- func (x *DemoteContext) GetSourceRepresentativeInstanceName() string
- func (*DemoteContext) ProtoMessage()
- func (x *DemoteContext) ProtoReflect() protoreflect.Message
- func (x *DemoteContext) Reset()
- func (x *DemoteContext) String() string
- type DemoteMasterConfiguration
- func (*DemoteMasterConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *DemoteMasterConfiguration) GetKind() string
- func (x *DemoteMasterConfiguration) GetMysqlReplicaConfiguration() *DemoteMasterMySqlReplicaConfiguration
- func (*DemoteMasterConfiguration) ProtoMessage()
- func (x *DemoteMasterConfiguration) ProtoReflect() protoreflect.Message
- func (x *DemoteMasterConfiguration) Reset()
- func (x *DemoteMasterConfiguration) String() string
- type DemoteMasterContext
- func (*DemoteMasterContext) Descriptor() ([]byte, []int)deprecated
- func (x *DemoteMasterContext) GetKind() string
- func (x *DemoteMasterContext) GetMasterInstanceName() string
- func (x *DemoteMasterContext) GetReplicaConfiguration() *DemoteMasterConfiguration
- func (x *DemoteMasterContext) GetSkipReplicationSetup() bool
- func (x *DemoteMasterContext) GetVerifyGtidConsistency() *wrappers.BoolValue
- func (*DemoteMasterContext) ProtoMessage()
- func (x *DemoteMasterContext) ProtoReflect() protoreflect.Message
- func (x *DemoteMasterContext) Reset()
- func (x *DemoteMasterContext) String() string
- type DemoteMasterMySqlReplicaConfiguration
- func (*DemoteMasterMySqlReplicaConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *DemoteMasterMySqlReplicaConfiguration) GetCaCertificate() string
- func (x *DemoteMasterMySqlReplicaConfiguration) GetClientCertificate() string
- func (x *DemoteMasterMySqlReplicaConfiguration) GetClientKey() string
- func (x *DemoteMasterMySqlReplicaConfiguration) GetKind() string
- func (x *DemoteMasterMySqlReplicaConfiguration) GetPassword() string
- func (x *DemoteMasterMySqlReplicaConfiguration) GetUsername() string
- func (*DemoteMasterMySqlReplicaConfiguration) ProtoMessage()
- func (x *DemoteMasterMySqlReplicaConfiguration) ProtoReflect() protoreflect.Message
- func (x *DemoteMasterMySqlReplicaConfiguration) Reset()
- func (x *DemoteMasterMySqlReplicaConfiguration) String() string
- type DenyMaintenancePeriod
- func (*DenyMaintenancePeriod) Descriptor() ([]byte, []int)deprecated
- func (x *DenyMaintenancePeriod) GetEndDate() string
- func (x *DenyMaintenancePeriod) GetStartDate() string
- func (x *DenyMaintenancePeriod) GetTime() string
- func (*DenyMaintenancePeriod) ProtoMessage()
- func (x *DenyMaintenancePeriod) ProtoReflect() protoreflect.Message
- func (x *DenyMaintenancePeriod) Reset()
- func (x *DenyMaintenancePeriod) String() string
- type DiskEncryptionConfiguration
- func (*DiskEncryptionConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *DiskEncryptionConfiguration) GetKind() string
- func (x *DiskEncryptionConfiguration) GetKmsKeyName() string
- func (*DiskEncryptionConfiguration) ProtoMessage()
- func (x *DiskEncryptionConfiguration) ProtoReflect() protoreflect.Message
- func (x *DiskEncryptionConfiguration) Reset()
- func (x *DiskEncryptionConfiguration) String() string
- type DiskEncryptionStatus
- func (*DiskEncryptionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DiskEncryptionStatus) GetKind() string
- func (x *DiskEncryptionStatus) GetKmsKeyVersionName() string
- func (*DiskEncryptionStatus) ProtoMessage()
- func (x *DiskEncryptionStatus) ProtoReflect() protoreflect.Message
- func (x *DiskEncryptionStatus) Reset()
- func (x *DiskEncryptionStatus) String() string
- type ExportContext
- func (*ExportContext) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext) GetBakExportOptions() *ExportContext_SqlBakExportOptions
- func (x *ExportContext) GetCsvExportOptions() *ExportContext_SqlCsvExportOptions
- func (x *ExportContext) GetDatabases() []string
- func (x *ExportContext) GetFileType() SqlFileType
- func (x *ExportContext) GetKind() string
- func (x *ExportContext) GetOffload() *wrappers.BoolValue
- func (x *ExportContext) GetSqlExportOptions() *ExportContext_SqlExportOptions
- func (x *ExportContext) GetUri() string
- func (*ExportContext) ProtoMessage()
- func (x *ExportContext) ProtoReflect() protoreflect.Message
- func (x *ExportContext) Reset()
- func (x *ExportContext) String() string
- type ExportContext_SqlBakExportOptions
- func (*ExportContext_SqlBakExportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext_SqlBakExportOptions) GetBakType() BakType
- func (x *ExportContext_SqlBakExportOptions) GetCopyOnly() *wrappers.BoolValuedeprecated
- func (x *ExportContext_SqlBakExportOptions) GetDifferentialBase() *wrappers.BoolValue
- func (x *ExportContext_SqlBakExportOptions) GetStripeCount() *wrappers.Int32Value
- func (x *ExportContext_SqlBakExportOptions) GetStriped() *wrappers.BoolValue
- func (*ExportContext_SqlBakExportOptions) ProtoMessage()
- func (x *ExportContext_SqlBakExportOptions) ProtoReflect() protoreflect.Message
- func (x *ExportContext_SqlBakExportOptions) Reset()
- func (x *ExportContext_SqlBakExportOptions) String() string
- type ExportContext_SqlCsvExportOptions
- func (*ExportContext_SqlCsvExportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext_SqlCsvExportOptions) GetEscapeCharacter() string
- func (x *ExportContext_SqlCsvExportOptions) GetFieldsTerminatedBy() string
- func (x *ExportContext_SqlCsvExportOptions) GetLinesTerminatedBy() string
- func (x *ExportContext_SqlCsvExportOptions) GetQuoteCharacter() string
- func (x *ExportContext_SqlCsvExportOptions) GetSelectQuery() string
- func (*ExportContext_SqlCsvExportOptions) ProtoMessage()
- func (x *ExportContext_SqlCsvExportOptions) ProtoReflect() protoreflect.Message
- func (x *ExportContext_SqlCsvExportOptions) Reset()
- func (x *ExportContext_SqlCsvExportOptions) String() string
- type ExportContext_SqlExportOptions
- func (*ExportContext_SqlExportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext_SqlExportOptions) GetMysqlExportOptions() *ExportContext_SqlExportOptions_MysqlExportOptions
- func (x *ExportContext_SqlExportOptions) GetParallel() *wrappers.BoolValue
- func (x *ExportContext_SqlExportOptions) GetSchemaOnly() *wrappers.BoolValue
- func (x *ExportContext_SqlExportOptions) GetTables() []string
- func (x *ExportContext_SqlExportOptions) GetThreads() *wrappers.Int32Value
- func (*ExportContext_SqlExportOptions) ProtoMessage()
- func (x *ExportContext_SqlExportOptions) ProtoReflect() protoreflect.Message
- func (x *ExportContext_SqlExportOptions) Reset()
- func (x *ExportContext_SqlExportOptions) String() string
- type ExportContext_SqlExportOptions_MysqlExportOptions
- func (*ExportContext_SqlExportOptions_MysqlExportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext_SqlExportOptions_MysqlExportOptions) GetMasterData() *wrappers.Int32Value
- func (*ExportContext_SqlExportOptions_MysqlExportOptions) ProtoMessage()
- func (x *ExportContext_SqlExportOptions_MysqlExportOptions) ProtoReflect() protoreflect.Message
- func (x *ExportContext_SqlExportOptions_MysqlExportOptions) Reset()
- func (x *ExportContext_SqlExportOptions_MysqlExportOptions) String() string
- type ExternalSyncParallelLevel
- func (ExternalSyncParallelLevel) Descriptor() protoreflect.EnumDescriptor
- func (x ExternalSyncParallelLevel) Enum() *ExternalSyncParallelLevel
- func (ExternalSyncParallelLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExternalSyncParallelLevel) Number() protoreflect.EnumNumber
- func (x ExternalSyncParallelLevel) String() string
- func (ExternalSyncParallelLevel) Type() protoreflect.EnumType
- type FailoverContext
- func (*FailoverContext) Descriptor() ([]byte, []int)deprecated
- func (x *FailoverContext) GetKind() string
- func (x *FailoverContext) GetSettingsVersion() int64
- func (*FailoverContext) ProtoMessage()
- func (x *FailoverContext) ProtoReflect() protoreflect.Message
- func (x *FailoverContext) Reset()
- func (x *FailoverContext) String() string
- type Flag
- func (*Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Flag) GetAllowedIntValues() []int64
- func (x *Flag) GetAllowedStringValues() []string
- func (x *Flag) GetAppliesTo() []SqlDatabaseVersion
- func (x *Flag) GetInBeta() *wrappers.BoolValue
- func (x *Flag) GetKind() string
- func (x *Flag) GetMaxValue() *wrappers.Int64Value
- func (x *Flag) GetMinValue() *wrappers.Int64Value
- func (x *Flag) GetName() string
- func (x *Flag) GetRequiresRestart() *wrappers.BoolValue
- func (x *Flag) GetType() SqlFlagType
- func (*Flag) ProtoMessage()
- func (x *Flag) ProtoReflect() protoreflect.Message
- func (x *Flag) Reset()
- func (x *Flag) String() string
- type FlagsListResponse
- func (*FlagsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FlagsListResponse) GetItems() []*Flag
- func (x *FlagsListResponse) GetKind() string
- func (*FlagsListResponse) ProtoMessage()
- func (x *FlagsListResponse) ProtoReflect() protoreflect.Message
- func (x *FlagsListResponse) Reset()
- func (x *FlagsListResponse) String() string
- type GeminiInstanceConfig
- func (*GeminiInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GeminiInstanceConfig) GetActiveQueryEnabled() bool
- func (x *GeminiInstanceConfig) GetEntitled() bool
- func (x *GeminiInstanceConfig) GetFlagRecommenderEnabled() bool
- func (x *GeminiInstanceConfig) GetGoogleVacuumMgmtEnabled() bool
- func (x *GeminiInstanceConfig) GetIndexAdvisorEnabled() bool
- func (x *GeminiInstanceConfig) GetOomSessionCancelEnabled() bool
- func (*GeminiInstanceConfig) ProtoMessage()
- func (x *GeminiInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *GeminiInstanceConfig) Reset()
- func (x *GeminiInstanceConfig) String() string
- type GenerateEphemeralCertRequest
- func (*GenerateEphemeralCertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateEphemeralCertRequest) GetAccessToken() string
- func (x *GenerateEphemeralCertRequest) GetInstance() string
- func (x *GenerateEphemeralCertRequest) GetProject() string
- func (x *GenerateEphemeralCertRequest) GetPublicKey() string
- func (x *GenerateEphemeralCertRequest) GetReadTime() *timestamp.Timestamp
- func (x *GenerateEphemeralCertRequest) GetValidDuration() *duration.Duration
- func (*GenerateEphemeralCertRequest) ProtoMessage()
- func (x *GenerateEphemeralCertRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateEphemeralCertRequest) Reset()
- func (x *GenerateEphemeralCertRequest) String() string
- type GenerateEphemeralCertResponse
- func (*GenerateEphemeralCertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateEphemeralCertResponse) GetEphemeralCert() *SslCert
- func (*GenerateEphemeralCertResponse) ProtoMessage()
- func (x *GenerateEphemeralCertResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateEphemeralCertResponse) Reset()
- func (x *GenerateEphemeralCertResponse) String() string
- type GetConnectSettingsRequest
- func (*GetConnectSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectSettingsRequest) GetInstance() string
- func (x *GetConnectSettingsRequest) GetProject() string
- func (x *GetConnectSettingsRequest) GetReadTime() *timestamp.Timestamp
- func (*GetConnectSettingsRequest) ProtoMessage()
- func (x *GetConnectSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectSettingsRequest) Reset()
- func (x *GetConnectSettingsRequest) String() string
- type ImportContext
- func (*ImportContext) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext) GetBakImportOptions() *ImportContext_SqlBakImportOptions
- func (x *ImportContext) GetCsvImportOptions() *ImportContext_SqlCsvImportOptions
- func (x *ImportContext) GetDatabase() string
- func (x *ImportContext) GetFileType() SqlFileType
- func (x *ImportContext) GetImportUser() string
- func (x *ImportContext) GetKind() string
- func (x *ImportContext) GetSqlImportOptions() *ImportContext_SqlImportOptions
- func (x *ImportContext) GetUri() string
- func (*ImportContext) ProtoMessage()
- func (x *ImportContext) ProtoReflect() protoreflect.Message
- func (x *ImportContext) Reset()
- func (x *ImportContext) String() string
- type ImportContext_SqlBakImportOptions
- func (*ImportContext_SqlBakImportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext_SqlBakImportOptions) GetBakType() BakType
- func (x *ImportContext_SqlBakImportOptions) GetEncryptionOptions() *ImportContext_SqlBakImportOptions_EncryptionOptions
- func (x *ImportContext_SqlBakImportOptions) GetNoRecovery() *wrappers.BoolValue
- func (x *ImportContext_SqlBakImportOptions) GetRecoveryOnly() *wrappers.BoolValue
- func (x *ImportContext_SqlBakImportOptions) GetStopAt() *timestamp.Timestamp
- func (x *ImportContext_SqlBakImportOptions) GetStopAtMark() string
- func (x *ImportContext_SqlBakImportOptions) GetStriped() *wrappers.BoolValue
- func (*ImportContext_SqlBakImportOptions) ProtoMessage()
- func (x *ImportContext_SqlBakImportOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlBakImportOptions) Reset()
- func (x *ImportContext_SqlBakImportOptions) String() string
- type ImportContext_SqlBakImportOptions_EncryptionOptions
- func (*ImportContext_SqlBakImportOptions_EncryptionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetCertPath() string
- func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPassword() string
- func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPath() string
- func (*ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoMessage()
- func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) Reset()
- func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) String() string
- type ImportContext_SqlCsvImportOptions
- func (*ImportContext_SqlCsvImportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext_SqlCsvImportOptions) GetColumns() []string
- func (x *ImportContext_SqlCsvImportOptions) GetEscapeCharacter() string
- func (x *ImportContext_SqlCsvImportOptions) GetFieldsTerminatedBy() string
- func (x *ImportContext_SqlCsvImportOptions) GetLinesTerminatedBy() string
- func (x *ImportContext_SqlCsvImportOptions) GetQuoteCharacter() string
- func (x *ImportContext_SqlCsvImportOptions) GetTable() string
- func (*ImportContext_SqlCsvImportOptions) ProtoMessage()
- func (x *ImportContext_SqlCsvImportOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlCsvImportOptions) Reset()
- func (x *ImportContext_SqlCsvImportOptions) String() string
- type ImportContext_SqlImportOptions
- func (*ImportContext_SqlImportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext_SqlImportOptions) GetParallel() *wrappers.BoolValue
- func (x *ImportContext_SqlImportOptions) GetThreads() *wrappers.Int32Value
- func (*ImportContext_SqlImportOptions) ProtoMessage()
- func (x *ImportContext_SqlImportOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlImportOptions) Reset()
- func (x *ImportContext_SqlImportOptions) String() string
- type InsightsConfig
- func (*InsightsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InsightsConfig) GetQueryInsightsEnabled() bool
- func (x *InsightsConfig) GetQueryPlansPerMinute() *wrappers.Int32Value
- func (x *InsightsConfig) GetQueryStringLength() *wrappers.Int32Value
- func (x *InsightsConfig) GetRecordApplicationTags() bool
- func (x *InsightsConfig) GetRecordClientAddress() bool
- func (*InsightsConfig) ProtoMessage()
- func (x *InsightsConfig) ProtoReflect() protoreflect.Message
- func (x *InsightsConfig) Reset()
- func (x *InsightsConfig) String() string
- type InstanceReference
- func (*InstanceReference) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceReference) GetName() string
- func (x *InstanceReference) GetProject() string
- func (x *InstanceReference) GetRegion() string
- func (*InstanceReference) ProtoMessage()
- func (x *InstanceReference) ProtoReflect() protoreflect.Message
- func (x *InstanceReference) Reset()
- func (x *InstanceReference) String() string
- type InstancesAcquireSsrsLeaseRequest
- func (*InstancesAcquireSsrsLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesAcquireSsrsLeaseRequest) GetAcquireSsrsLeaseContext() *AcquireSsrsLeaseContext
- func (*InstancesAcquireSsrsLeaseRequest) ProtoMessage()
- func (x *InstancesAcquireSsrsLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesAcquireSsrsLeaseRequest) Reset()
- func (x *InstancesAcquireSsrsLeaseRequest) String() string
- type InstancesCloneRequest
- func (*InstancesCloneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesCloneRequest) GetCloneContext() *CloneContext
- func (*InstancesCloneRequest) ProtoMessage()
- func (x *InstancesCloneRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesCloneRequest) Reset()
- func (x *InstancesCloneRequest) String() string
- type InstancesDemoteMasterRequest
- func (*InstancesDemoteMasterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesDemoteMasterRequest) GetDemoteMasterContext() *DemoteMasterContext
- func (*InstancesDemoteMasterRequest) ProtoMessage()
- func (x *InstancesDemoteMasterRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesDemoteMasterRequest) Reset()
- func (x *InstancesDemoteMasterRequest) String() string
- type InstancesDemoteRequest
- func (*InstancesDemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesDemoteRequest) GetDemoteContext() *DemoteContext
- func (*InstancesDemoteRequest) ProtoMessage()
- func (x *InstancesDemoteRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesDemoteRequest) Reset()
- func (x *InstancesDemoteRequest) String() string
- type InstancesExportRequest
- func (*InstancesExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesExportRequest) GetExportContext() *ExportContext
- func (*InstancesExportRequest) ProtoMessage()
- func (x *InstancesExportRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesExportRequest) Reset()
- func (x *InstancesExportRequest) String() string
- type InstancesFailoverRequest
- func (*InstancesFailoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesFailoverRequest) GetFailoverContext() *FailoverContext
- func (*InstancesFailoverRequest) ProtoMessage()
- func (x *InstancesFailoverRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesFailoverRequest) Reset()
- func (x *InstancesFailoverRequest) String() string
- type InstancesImportRequest
- func (*InstancesImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesImportRequest) GetImportContext() *ImportContext
- func (*InstancesImportRequest) ProtoMessage()
- func (x *InstancesImportRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesImportRequest) Reset()
- func (x *InstancesImportRequest) String() string
- type InstancesListResponse
- func (*InstancesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesListResponse) GetItems() []*DatabaseInstance
- func (x *InstancesListResponse) GetKind() string
- func (x *InstancesListResponse) GetNextPageToken() string
- func (x *InstancesListResponse) GetWarnings() []*ApiWarning
- func (*InstancesListResponse) ProtoMessage()
- func (x *InstancesListResponse) ProtoReflect() protoreflect.Message
- func (x *InstancesListResponse) Reset()
- func (x *InstancesListResponse) String() string
- type InstancesListServerCasResponse
- func (*InstancesListServerCasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesListServerCasResponse) GetActiveVersion() string
- func (x *InstancesListServerCasResponse) GetCerts() []*SslCert
- func (x *InstancesListServerCasResponse) GetKind() string
- func (*InstancesListServerCasResponse) ProtoMessage()
- func (x *InstancesListServerCasResponse) ProtoReflect() protoreflect.Message
- func (x *InstancesListServerCasResponse) Reset()
- func (x *InstancesListServerCasResponse) String() string
- type InstancesReencryptRequest
- func (*InstancesReencryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesReencryptRequest) GetBackupReencryptionConfig() *BackupReencryptionConfig
- func (*InstancesReencryptRequest) ProtoMessage()
- func (x *InstancesReencryptRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesReencryptRequest) Reset()
- func (x *InstancesReencryptRequest) String() string
- type InstancesRestoreBackupRequest
- func (*InstancesRestoreBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesRestoreBackupRequest) GetRestoreBackupContext() *RestoreBackupContext
- func (*InstancesRestoreBackupRequest) ProtoMessage()
- func (x *InstancesRestoreBackupRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesRestoreBackupRequest) Reset()
- func (x *InstancesRestoreBackupRequest) String() string
- type InstancesRotateServerCaRequest
- func (*InstancesRotateServerCaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesRotateServerCaRequest) GetRotateServerCaContext() *RotateServerCaContext
- func (*InstancesRotateServerCaRequest) ProtoMessage()
- func (x *InstancesRotateServerCaRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesRotateServerCaRequest) Reset()
- func (x *InstancesRotateServerCaRequest) String() string
- type InstancesTruncateLogRequest
- func (*InstancesTruncateLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesTruncateLogRequest) GetTruncateLogContext() *TruncateLogContext
- func (*InstancesTruncateLogRequest) ProtoMessage()
- func (x *InstancesTruncateLogRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesTruncateLogRequest) Reset()
- func (x *InstancesTruncateLogRequest) String() string
- type IpConfiguration
- func (*IpConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *IpConfiguration) GetAllocatedIpRange() string
- func (x *IpConfiguration) GetAuthorizedNetworks() []*AclEntry
- func (x *IpConfiguration) GetEnablePrivatePathForGoogleCloudServices() *wrappers.BoolValue
- func (x *IpConfiguration) GetIpv4Enabled() *wrappers.BoolValue
- func (x *IpConfiguration) GetPrivateNetwork() string
- func (x *IpConfiguration) GetPscConfig() *PscConfig
- func (x *IpConfiguration) GetRequireSsl() *wrappers.BoolValue
- func (x *IpConfiguration) GetSslMode() IpConfiguration_SslMode
- func (*IpConfiguration) ProtoMessage()
- func (x *IpConfiguration) ProtoReflect() protoreflect.Message
- func (x *IpConfiguration) Reset()
- func (x *IpConfiguration) String() string
- type IpConfiguration_SslMode
- func (IpConfiguration_SslMode) Descriptor() protoreflect.EnumDescriptor
- func (x IpConfiguration_SslMode) Enum() *IpConfiguration_SslMode
- func (IpConfiguration_SslMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpConfiguration_SslMode) Number() protoreflect.EnumNumber
- func (x IpConfiguration_SslMode) String() string
- func (IpConfiguration_SslMode) Type() protoreflect.EnumType
- type IpMapping
- func (*IpMapping) Descriptor() ([]byte, []int)deprecated
- func (x *IpMapping) GetIpAddress() string
- func (x *IpMapping) GetTimeToRetire() *timestamp.Timestamp
- func (x *IpMapping) GetType() SqlIpAddressType
- func (*IpMapping) ProtoMessage()
- func (x *IpMapping) ProtoReflect() protoreflect.Message
- func (x *IpMapping) Reset()
- func (x *IpMapping) String() string
- type LocationPreference
- func (*LocationPreference) Descriptor() ([]byte, []int)deprecated
- func (x *LocationPreference) GetFollowGaeApplication() stringdeprecated
- func (x *LocationPreference) GetKind() string
- func (x *LocationPreference) GetSecondaryZone() string
- func (x *LocationPreference) GetZone() string
- func (*LocationPreference) ProtoMessage()
- func (x *LocationPreference) ProtoReflect() protoreflect.Message
- func (x *LocationPreference) Reset()
- func (x *LocationPreference) String() string
- type MaintenanceWindow
- func (*MaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceWindow) GetDay() *wrappers.Int32Value
- func (x *MaintenanceWindow) GetHour() *wrappers.Int32Value
- func (x *MaintenanceWindow) GetKind() string
- func (x *MaintenanceWindow) GetUpdateTrack() SqlUpdateTrack
- func (*MaintenanceWindow) ProtoMessage()
- func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *MaintenanceWindow) Reset()
- func (x *MaintenanceWindow) String() string
- type MySqlReplicaConfiguration
- func (*MySqlReplicaConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *MySqlReplicaConfiguration) GetCaCertificate() string
- func (x *MySqlReplicaConfiguration) GetClientCertificate() string
- func (x *MySqlReplicaConfiguration) GetClientKey() string
- func (x *MySqlReplicaConfiguration) GetConnectRetryInterval() *wrappers.Int32Value
- func (x *MySqlReplicaConfiguration) GetDumpFilePath() string
- func (x *MySqlReplicaConfiguration) GetKind() string
- func (x *MySqlReplicaConfiguration) GetMasterHeartbeatPeriod() *wrappers.Int64Value
- func (x *MySqlReplicaConfiguration) GetPassword() string
- func (x *MySqlReplicaConfiguration) GetSslCipher() string
- func (x *MySqlReplicaConfiguration) GetUsername() string
- func (x *MySqlReplicaConfiguration) GetVerifyServerCertificate() *wrappers.BoolValue
- func (*MySqlReplicaConfiguration) ProtoMessage()
- func (x *MySqlReplicaConfiguration) ProtoReflect() protoreflect.Message
- func (x *MySqlReplicaConfiguration) Reset()
- func (x *MySqlReplicaConfiguration) String() string
- type MySqlSyncConfig
- func (*MySqlSyncConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MySqlSyncConfig) GetInitialSyncFlags() []*SyncFlags
- func (*MySqlSyncConfig) ProtoMessage()
- func (x *MySqlSyncConfig) ProtoReflect() protoreflect.Message
- func (x *MySqlSyncConfig) Reset()
- func (x *MySqlSyncConfig) String() string
- type OnPremisesConfiguration
- func (*OnPremisesConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *OnPremisesConfiguration) GetCaCertificate() string
- func (x *OnPremisesConfiguration) GetClientCertificate() string
- func (x *OnPremisesConfiguration) GetClientKey() string
- func (x *OnPremisesConfiguration) GetDumpFilePath() string
- func (x *OnPremisesConfiguration) GetHostPort() string
- func (x *OnPremisesConfiguration) GetKind() string
- func (x *OnPremisesConfiguration) GetPassword() string
- func (x *OnPremisesConfiguration) GetSourceInstance() *InstanceReference
- func (x *OnPremisesConfiguration) GetUsername() string
- func (*OnPremisesConfiguration) ProtoMessage()
- func (x *OnPremisesConfiguration) ProtoReflect() protoreflect.Message
- func (x *OnPremisesConfiguration) Reset()
- func (x *OnPremisesConfiguration) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAcquireSsrsLeaseContext() *AcquireSsrsLeaseContext
- func (x *Operation) GetApiWarning() *ApiWarning
- func (x *Operation) GetBackupContext() *BackupContext
- func (x *Operation) GetEndTime() *timestamp.Timestamp
- func (x *Operation) GetError() *OperationErrors
- func (x *Operation) GetExportContext() *ExportContext
- func (x *Operation) GetImportContext() *ImportContext
- func (x *Operation) GetInsertTime() *timestamp.Timestamp
- func (x *Operation) GetKind() string
- func (x *Operation) GetName() string
- func (x *Operation) GetOperationType() Operation_SqlOperationType
- func (x *Operation) GetSelfLink() string
- func (x *Operation) GetStartTime() *timestamp.Timestamp
- func (x *Operation) GetStatus() Operation_SqlOperationStatus
- func (x *Operation) GetTargetId() string
- func (x *Operation) GetTargetLink() string
- func (x *Operation) GetTargetProject() string
- func (x *Operation) GetUser() string
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type OperationError
- func (*OperationError) Descriptor() ([]byte, []int)deprecated
- func (x *OperationError) GetCode() string
- func (x *OperationError) GetKind() string
- func (x *OperationError) GetMessage() string
- func (*OperationError) ProtoMessage()
- func (x *OperationError) ProtoReflect() protoreflect.Message
- func (x *OperationError) Reset()
- func (x *OperationError) String() string
- type OperationErrors
- func (*OperationErrors) Descriptor() ([]byte, []int)deprecated
- func (x *OperationErrors) GetErrors() []*OperationError
- func (x *OperationErrors) GetKind() string
- func (*OperationErrors) ProtoMessage()
- func (x *OperationErrors) ProtoReflect() protoreflect.Message
- func (x *OperationErrors) Reset()
- func (x *OperationErrors) String() string
- type Operation_SqlOperationStatus
- func (Operation_SqlOperationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Operation_SqlOperationStatus) Enum() *Operation_SqlOperationStatus
- func (Operation_SqlOperationStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Operation_SqlOperationStatus) Number() protoreflect.EnumNumber
- func (x Operation_SqlOperationStatus) String() string
- func (Operation_SqlOperationStatus) Type() protoreflect.EnumType
- type Operation_SqlOperationType
- func (Operation_SqlOperationType) Descriptor() protoreflect.EnumDescriptor
- func (x Operation_SqlOperationType) Enum() *Operation_SqlOperationType
- func (Operation_SqlOperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Operation_SqlOperationType) Number() protoreflect.EnumNumber
- func (x Operation_SqlOperationType) String() string
- func (Operation_SqlOperationType) Type() protoreflect.EnumType
- type OperationsListResponse
- func (*OperationsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OperationsListResponse) GetItems() []*Operation
- func (x *OperationsListResponse) GetKind() string
- func (x *OperationsListResponse) GetNextPageToken() string
- func (*OperationsListResponse) ProtoMessage()
- func (x *OperationsListResponse) ProtoReflect() protoreflect.Message
- func (x *OperationsListResponse) Reset()
- func (x *OperationsListResponse) String() string
- type PasswordStatus
- func (*PasswordStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordStatus) GetLocked() bool
- func (x *PasswordStatus) GetPasswordExpirationTime() *timestamp.Timestamp
- func (*PasswordStatus) ProtoMessage()
- func (x *PasswordStatus) ProtoReflect() protoreflect.Message
- func (x *PasswordStatus) Reset()
- func (x *PasswordStatus) String() string
- type PasswordValidationPolicy
- func (*PasswordValidationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordValidationPolicy) GetComplexity() PasswordValidationPolicy_Complexity
- func (x *PasswordValidationPolicy) GetDisallowCompromisedCredentials() *wrappers.BoolValuedeprecated
- func (x *PasswordValidationPolicy) GetDisallowUsernameSubstring() *wrappers.BoolValue
- func (x *PasswordValidationPolicy) GetEnablePasswordPolicy() *wrappers.BoolValue
- func (x *PasswordValidationPolicy) GetMinLength() *wrappers.Int32Value
- func (x *PasswordValidationPolicy) GetPasswordChangeInterval() *duration.Duration
- func (x *PasswordValidationPolicy) GetReuseInterval() *wrappers.Int32Value
- func (*PasswordValidationPolicy) ProtoMessage()
- func (x *PasswordValidationPolicy) ProtoReflect() protoreflect.Message
- func (x *PasswordValidationPolicy) Reset()
- func (x *PasswordValidationPolicy) String() string
- type PasswordValidationPolicy_Complexity
- func (PasswordValidationPolicy_Complexity) Descriptor() protoreflect.EnumDescriptor
- func (x PasswordValidationPolicy_Complexity) Enum() *PasswordValidationPolicy_Complexity
- func (PasswordValidationPolicy_Complexity) EnumDescriptor() ([]byte, []int)deprecated
- func (x PasswordValidationPolicy_Complexity) Number() protoreflect.EnumNumber
- func (x PasswordValidationPolicy_Complexity) String() string
- func (PasswordValidationPolicy_Complexity) Type() protoreflect.EnumType
- type PerformDiskShrinkContext
- func (*PerformDiskShrinkContext) Descriptor() ([]byte, []int)deprecated
- func (x *PerformDiskShrinkContext) GetTargetSizeGb() int64
- func (*PerformDiskShrinkContext) ProtoMessage()
- func (x *PerformDiskShrinkContext) ProtoReflect() protoreflect.Message
- func (x *PerformDiskShrinkContext) Reset()
- func (x *PerformDiskShrinkContext) String() string
- type PscConfig
- func (*PscConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PscConfig) GetAllowedConsumerProjects() []string
- func (x *PscConfig) GetPscEnabled() bool
- func (*PscConfig) ProtoMessage()
- func (x *PscConfig) ProtoReflect() protoreflect.Message
- func (x *PscConfig) Reset()
- func (x *PscConfig) String() string
- type ReplicaConfiguration
- func (*ReplicaConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicaConfiguration) GetCascadableReplica() *wrappers.BoolValue
- func (x *ReplicaConfiguration) GetFailoverTarget() *wrappers.BoolValue
- func (x *ReplicaConfiguration) GetKind() string
- func (x *ReplicaConfiguration) GetMysqlReplicaConfiguration() *MySqlReplicaConfiguration
- func (*ReplicaConfiguration) ProtoMessage()
- func (x *ReplicaConfiguration) ProtoReflect() protoreflect.Message
- func (x *ReplicaConfiguration) Reset()
- func (x *ReplicaConfiguration) String() string
- type ReplicationCluster
- func (*ReplicationCluster) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationCluster) GetDrReplica() bool
- func (x *ReplicationCluster) GetFailoverDrReplicaName() string
- func (x *ReplicationCluster) GetPsaWriteEndpoint() string
- func (*ReplicationCluster) ProtoMessage()
- func (x *ReplicationCluster) ProtoReflect() protoreflect.Message
- func (x *ReplicationCluster) Reset()
- func (x *ReplicationCluster) String() string
- type RestoreBackupContext
- func (*RestoreBackupContext) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreBackupContext) GetBackupRunId() int64
- func (x *RestoreBackupContext) GetInstanceId() string
- func (x *RestoreBackupContext) GetKind() string
- func (x *RestoreBackupContext) GetProject() string
- func (*RestoreBackupContext) ProtoMessage()
- func (x *RestoreBackupContext) ProtoReflect() protoreflect.Message
- func (x *RestoreBackupContext) Reset()
- func (x *RestoreBackupContext) String() string
- type RotateServerCaContext
- func (*RotateServerCaContext) Descriptor() ([]byte, []int)deprecated
- func (x *RotateServerCaContext) GetKind() string
- func (x *RotateServerCaContext) GetNextVersion() string
- func (*RotateServerCaContext) ProtoMessage()
- func (x *RotateServerCaContext) ProtoReflect() protoreflect.Message
- func (x *RotateServerCaContext) Reset()
- func (x *RotateServerCaContext) String() string
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetActivationPolicy() Settings_SqlActivationPolicy
- func (x *Settings) GetActiveDirectoryConfig() *SqlActiveDirectoryConfig
- func (x *Settings) GetAdvancedMachineFeatures() *AdvancedMachineFeatures
- func (x *Settings) GetAuthorizedGaeApplications() []stringdeprecated
- func (x *Settings) GetAvailabilityType() SqlAvailabilityType
- func (x *Settings) GetBackupConfiguration() *BackupConfiguration
- func (x *Settings) GetCollation() string
- func (x *Settings) GetConnectorEnforcement() Settings_ConnectorEnforcement
- func (x *Settings) GetCrashSafeReplicationEnabled() *wrappers.BoolValuedeprecated
- func (x *Settings) GetDataCacheConfig() *DataCacheConfig
- func (x *Settings) GetDataDiskSizeGb() *wrappers.Int64Value
- func (x *Settings) GetDataDiskType() SqlDataDiskType
- func (x *Settings) GetDatabaseFlags() []*DatabaseFlags
- func (x *Settings) GetDatabaseReplicationEnabled() *wrappers.BoolValue
- func (x *Settings) GetDeletionProtectionEnabled() *wrappers.BoolValue
- func (x *Settings) GetDenyMaintenancePeriods() []*DenyMaintenancePeriod
- func (x *Settings) GetEdition() Settings_Edition
- func (x *Settings) GetEnableDataplexIntegration() *wrappers.BoolValue
- func (x *Settings) GetEnableGoogleMlIntegration() *wrappers.BoolValue
- func (x *Settings) GetInsightsConfig() *InsightsConfig
- func (x *Settings) GetIpConfiguration() *IpConfiguration
- func (x *Settings) GetKind() string
- func (x *Settings) GetLocationPreference() *LocationPreference
- func (x *Settings) GetMaintenanceWindow() *MaintenanceWindow
- func (x *Settings) GetPasswordValidationPolicy() *PasswordValidationPolicy
- func (x *Settings) GetPricingPlan() SqlPricingPlan
- func (x *Settings) GetReplicationType() SqlReplicationTypedeprecated
- func (x *Settings) GetSettingsVersion() *wrappers.Int64Value
- func (x *Settings) GetSqlServerAuditConfig() *SqlServerAuditConfig
- func (x *Settings) GetStorageAutoResize() *wrappers.BoolValue
- func (x *Settings) GetStorageAutoResizeLimit() *wrappers.Int64Value
- func (x *Settings) GetTier() string
- func (x *Settings) GetTimeZone() string
- func (x *Settings) GetUserLabels() map[string]string
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- type Settings_ConnectorEnforcement
- func (Settings_ConnectorEnforcement) Descriptor() protoreflect.EnumDescriptor
- func (x Settings_ConnectorEnforcement) Enum() *Settings_ConnectorEnforcement
- func (Settings_ConnectorEnforcement) EnumDescriptor() ([]byte, []int)deprecated
- func (x Settings_ConnectorEnforcement) Number() protoreflect.EnumNumber
- func (x Settings_ConnectorEnforcement) String() string
- func (Settings_ConnectorEnforcement) Type() protoreflect.EnumType
- type Settings_Edition
- func (Settings_Edition) Descriptor() protoreflect.EnumDescriptor
- func (x Settings_Edition) Enum() *Settings_Edition
- func (Settings_Edition) EnumDescriptor() ([]byte, []int)deprecated
- func (x Settings_Edition) Number() protoreflect.EnumNumber
- func (x Settings_Edition) String() string
- func (Settings_Edition) Type() protoreflect.EnumType
- type Settings_SqlActivationPolicy
- func (Settings_SqlActivationPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x Settings_SqlActivationPolicy) Enum() *Settings_SqlActivationPolicy
- func (Settings_SqlActivationPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Settings_SqlActivationPolicy) Number() protoreflect.EnumNumber
- func (x Settings_SqlActivationPolicy) String() string
- func (Settings_SqlActivationPolicy) Type() protoreflect.EnumType
- type SqlActiveDirectoryConfig
- func (*SqlActiveDirectoryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SqlActiveDirectoryConfig) GetDomain() string
- func (x *SqlActiveDirectoryConfig) GetKind() string
- func (*SqlActiveDirectoryConfig) ProtoMessage()
- func (x *SqlActiveDirectoryConfig) ProtoReflect() protoreflect.Message
- func (x *SqlActiveDirectoryConfig) Reset()
- func (x *SqlActiveDirectoryConfig) String() string
- type SqlAvailabilityType
- func (SqlAvailabilityType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlAvailabilityType) Enum() *SqlAvailabilityType
- func (SqlAvailabilityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlAvailabilityType) Number() protoreflect.EnumNumber
- func (x SqlAvailabilityType) String() string
- func (SqlAvailabilityType) Type() protoreflect.EnumType
- type SqlBackendType
- func (SqlBackendType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlBackendType) Enum() *SqlBackendType
- func (SqlBackendType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlBackendType) Number() protoreflect.EnumNumber
- func (x SqlBackendType) String() string
- func (SqlBackendType) Type() protoreflect.EnumType
- type SqlBackupKind
- func (SqlBackupKind) Descriptor() protoreflect.EnumDescriptor
- func (x SqlBackupKind) Enum() *SqlBackupKind
- func (SqlBackupKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlBackupKind) Number() protoreflect.EnumNumber
- func (x SqlBackupKind) String() string
- func (SqlBackupKind) Type() protoreflect.EnumType
- type SqlBackupRunStatus
- func (SqlBackupRunStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SqlBackupRunStatus) Enum() *SqlBackupRunStatus
- func (SqlBackupRunStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlBackupRunStatus) Number() protoreflect.EnumNumber
- func (x SqlBackupRunStatus) String() string
- func (SqlBackupRunStatus) Type() protoreflect.EnumType
- type SqlBackupRunType
- func (SqlBackupRunType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlBackupRunType) Enum() *SqlBackupRunType
- func (SqlBackupRunType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlBackupRunType) Number() protoreflect.EnumNumber
- func (x SqlBackupRunType) String() string
- func (SqlBackupRunType) Type() protoreflect.EnumType
- type SqlBackupRunsDeleteRequest
- func (*SqlBackupRunsDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlBackupRunsDeleteRequest) GetId() int64
- func (x *SqlBackupRunsDeleteRequest) GetInstance() string
- func (x *SqlBackupRunsDeleteRequest) GetProject() string
- func (*SqlBackupRunsDeleteRequest) ProtoMessage()
- func (x *SqlBackupRunsDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SqlBackupRunsDeleteRequest) Reset()
- func (x *SqlBackupRunsDeleteRequest) String() string
- type SqlBackupRunsGetRequest
- func (*SqlBackupRunsGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlBackupRunsGetRequest) GetId() int64
- func (x *SqlBackupRunsGetRequest) GetInstance() string
- func (x *SqlBackupRunsGetRequest) GetProject() string
- func (*SqlBackupRunsGetRequest) ProtoMessage()
- func (x *SqlBackupRunsGetRequest) ProtoReflect() protoreflect.Message
- func (x *SqlBackupRunsGetRequest) Reset()
- func (x *SqlBackupRunsGetRequest) String() string
- type SqlBackupRunsInsertRequest
- func (*SqlBackupRunsInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlBackupRunsInsertRequest) GetBody() *BackupRun
- func (x *SqlBackupRunsInsertRequest) GetInstance() string
- func (x *SqlBackupRunsInsertRequest) GetProject() string
- func (*SqlBackupRunsInsertRequest) ProtoMessage()
- func (x *SqlBackupRunsInsertRequest) ProtoReflect() protoreflect.Message
- func (x *SqlBackupRunsInsertRequest) Reset()
- func (x *SqlBackupRunsInsertRequest) String() string
- type SqlBackupRunsListRequest
- func (*SqlBackupRunsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlBackupRunsListRequest) GetInstance() string
- func (x *SqlBackupRunsListRequest) GetMaxResults() int32
- func (x *SqlBackupRunsListRequest) GetPageToken() string
- func (x *SqlBackupRunsListRequest) GetProject() string
- func (*SqlBackupRunsListRequest) ProtoMessage()
- func (x *SqlBackupRunsListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlBackupRunsListRequest) Reset()
- func (x *SqlBackupRunsListRequest) String() string
- type SqlBackupRunsServiceClient
- type SqlBackupRunsServiceServer
- type SqlConnectServiceClient
- type SqlConnectServiceServer
- type SqlDataDiskType
- func (SqlDataDiskType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlDataDiskType) Enum() *SqlDataDiskType
- func (SqlDataDiskType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlDataDiskType) Number() protoreflect.EnumNumber
- func (x SqlDataDiskType) String() string
- func (SqlDataDiskType) Type() protoreflect.EnumType
- type SqlDatabaseVersion
- func (SqlDatabaseVersion) Descriptor() protoreflect.EnumDescriptor
- func (x SqlDatabaseVersion) Enum() *SqlDatabaseVersion
- func (SqlDatabaseVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlDatabaseVersion) Number() protoreflect.EnumNumber
- func (x SqlDatabaseVersion) String() string
- func (SqlDatabaseVersion) Type() protoreflect.EnumType
- type SqlDatabasesDeleteRequest
- func (*SqlDatabasesDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlDatabasesDeleteRequest) GetDatabase() string
- func (x *SqlDatabasesDeleteRequest) GetInstance() string
- func (x *SqlDatabasesDeleteRequest) GetProject() string
- func (*SqlDatabasesDeleteRequest) ProtoMessage()
- func (x *SqlDatabasesDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SqlDatabasesDeleteRequest) Reset()
- func (x *SqlDatabasesDeleteRequest) String() string
- type SqlDatabasesGetRequest
- func (*SqlDatabasesGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlDatabasesGetRequest) GetDatabase() string
- func (x *SqlDatabasesGetRequest) GetInstance() string
- func (x *SqlDatabasesGetRequest) GetProject() string
- func (*SqlDatabasesGetRequest) ProtoMessage()
- func (x *SqlDatabasesGetRequest) ProtoReflect() protoreflect.Message
- func (x *SqlDatabasesGetRequest) Reset()
- func (x *SqlDatabasesGetRequest) String() string
- type SqlDatabasesInsertRequest
- func (*SqlDatabasesInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlDatabasesInsertRequest) GetBody() *Database
- func (x *SqlDatabasesInsertRequest) GetInstance() string
- func (x *SqlDatabasesInsertRequest) GetProject() string
- func (*SqlDatabasesInsertRequest) ProtoMessage()
- func (x *SqlDatabasesInsertRequest) ProtoReflect() protoreflect.Message
- func (x *SqlDatabasesInsertRequest) Reset()
- func (x *SqlDatabasesInsertRequest) String() string
- type SqlDatabasesListRequest
- func (*SqlDatabasesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlDatabasesListRequest) GetInstance() string
- func (x *SqlDatabasesListRequest) GetProject() string
- func (*SqlDatabasesListRequest) ProtoMessage()
- func (x *SqlDatabasesListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlDatabasesListRequest) Reset()
- func (x *SqlDatabasesListRequest) String() string
- type SqlDatabasesServiceClient
- type SqlDatabasesServiceServer
- type SqlDatabasesUpdateRequest
- func (*SqlDatabasesUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlDatabasesUpdateRequest) GetBody() *Database
- func (x *SqlDatabasesUpdateRequest) GetDatabase() string
- func (x *SqlDatabasesUpdateRequest) GetInstance() string
- func (x *SqlDatabasesUpdateRequest) GetProject() string
- func (*SqlDatabasesUpdateRequest) ProtoMessage()
- func (x *SqlDatabasesUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlDatabasesUpdateRequest) Reset()
- func (x *SqlDatabasesUpdateRequest) String() string
- type SqlExternalSyncSettingError
- func (*SqlExternalSyncSettingError) Descriptor() ([]byte, []int)deprecated
- func (x *SqlExternalSyncSettingError) GetDetail() string
- func (x *SqlExternalSyncSettingError) GetKind() string
- func (x *SqlExternalSyncSettingError) GetType() SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType
- func (*SqlExternalSyncSettingError) ProtoMessage()
- func (x *SqlExternalSyncSettingError) ProtoReflect() protoreflect.Message
- func (x *SqlExternalSyncSettingError) Reset()
- func (x *SqlExternalSyncSettingError) String() string
- type SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType
- func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Enum() *SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType
- func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Number() protoreflect.EnumNumber
- func (x SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) String() string
- func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Type() protoreflect.EnumType
- type SqlFileType
- func (SqlFileType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlFileType) Enum() *SqlFileType
- func (SqlFileType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlFileType) Number() protoreflect.EnumNumber
- func (x SqlFileType) String() string
- func (SqlFileType) Type() protoreflect.EnumType
- type SqlFlagType
- func (SqlFlagType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlFlagType) Enum() *SqlFlagType
- func (SqlFlagType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlFlagType) Number() protoreflect.EnumNumber
- func (x SqlFlagType) String() string
- func (SqlFlagType) Type() protoreflect.EnumType
- type SqlFlagsListRequest
- func (*SqlFlagsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlFlagsListRequest) GetDatabaseVersion() string
- func (*SqlFlagsListRequest) ProtoMessage()
- func (x *SqlFlagsListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlFlagsListRequest) Reset()
- func (x *SqlFlagsListRequest) String() string
- type SqlFlagsServiceClient
- type SqlFlagsServiceServer
- type SqlIamPoliciesServiceClient
- type SqlIamPoliciesServiceServer
- type SqlInstanceType
- func (SqlInstanceType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlInstanceType) Enum() *SqlInstanceType
- func (SqlInstanceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlInstanceType) Number() protoreflect.EnumNumber
- func (x SqlInstanceType) String() string
- func (SqlInstanceType) Type() protoreflect.EnumType
- type SqlInstancesAcquireSsrsLeaseRequest
- func (*SqlInstancesAcquireSsrsLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesAcquireSsrsLeaseRequest) GetBody() *InstancesAcquireSsrsLeaseRequest
- func (x *SqlInstancesAcquireSsrsLeaseRequest) GetInstance() string
- func (x *SqlInstancesAcquireSsrsLeaseRequest) GetProject() string
- func (*SqlInstancesAcquireSsrsLeaseRequest) ProtoMessage()
- func (x *SqlInstancesAcquireSsrsLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesAcquireSsrsLeaseRequest) Reset()
- func (x *SqlInstancesAcquireSsrsLeaseRequest) String() string
- type SqlInstancesAcquireSsrsLeaseResponse
- func (*SqlInstancesAcquireSsrsLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesAcquireSsrsLeaseResponse) GetOperationId() string
- func (*SqlInstancesAcquireSsrsLeaseResponse) ProtoMessage()
- func (x *SqlInstancesAcquireSsrsLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesAcquireSsrsLeaseResponse) Reset()
- func (x *SqlInstancesAcquireSsrsLeaseResponse) String() string
- type SqlInstancesAddServerCaRequest
- func (*SqlInstancesAddServerCaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesAddServerCaRequest) GetInstance() string
- func (x *SqlInstancesAddServerCaRequest) GetProject() string
- func (*SqlInstancesAddServerCaRequest) ProtoMessage()
- func (x *SqlInstancesAddServerCaRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesAddServerCaRequest) Reset()
- func (x *SqlInstancesAddServerCaRequest) String() string
- type SqlInstancesCloneRequest
- func (*SqlInstancesCloneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesCloneRequest) GetBody() *InstancesCloneRequest
- func (x *SqlInstancesCloneRequest) GetInstance() string
- func (x *SqlInstancesCloneRequest) GetProject() string
- func (*SqlInstancesCloneRequest) ProtoMessage()
- func (x *SqlInstancesCloneRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesCloneRequest) Reset()
- func (x *SqlInstancesCloneRequest) String() string
- type SqlInstancesCreateEphemeralCertRequest
- func (*SqlInstancesCreateEphemeralCertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesCreateEphemeralCertRequest) GetBody() *SslCertsCreateEphemeralRequest
- func (x *SqlInstancesCreateEphemeralCertRequest) GetInstance() string
- func (x *SqlInstancesCreateEphemeralCertRequest) GetProject() string
- func (*SqlInstancesCreateEphemeralCertRequest) ProtoMessage()
- func (x *SqlInstancesCreateEphemeralCertRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesCreateEphemeralCertRequest) Reset()
- func (x *SqlInstancesCreateEphemeralCertRequest) String() string
- type SqlInstancesDeleteRequest
- func (*SqlInstancesDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesDeleteRequest) GetInstance() string
- func (x *SqlInstancesDeleteRequest) GetProject() string
- func (*SqlInstancesDeleteRequest) ProtoMessage()
- func (x *SqlInstancesDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesDeleteRequest) Reset()
- func (x *SqlInstancesDeleteRequest) String() string
- type SqlInstancesDemoteMasterRequest
- func (*SqlInstancesDemoteMasterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesDemoteMasterRequest) GetBody() *InstancesDemoteMasterRequest
- func (x *SqlInstancesDemoteMasterRequest) GetInstance() string
- func (x *SqlInstancesDemoteMasterRequest) GetProject() string
- func (*SqlInstancesDemoteMasterRequest) ProtoMessage()
- func (x *SqlInstancesDemoteMasterRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesDemoteMasterRequest) Reset()
- func (x *SqlInstancesDemoteMasterRequest) String() string
- type SqlInstancesDemoteRequest
- func (*SqlInstancesDemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesDemoteRequest) GetBody() *InstancesDemoteRequest
- func (x *SqlInstancesDemoteRequest) GetInstance() string
- func (x *SqlInstancesDemoteRequest) GetProject() string
- func (*SqlInstancesDemoteRequest) ProtoMessage()
- func (x *SqlInstancesDemoteRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesDemoteRequest) Reset()
- func (x *SqlInstancesDemoteRequest) String() string
- type SqlInstancesExportRequest
- func (*SqlInstancesExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesExportRequest) GetBody() *InstancesExportRequest
- func (x *SqlInstancesExportRequest) GetInstance() string
- func (x *SqlInstancesExportRequest) GetProject() string
- func (*SqlInstancesExportRequest) ProtoMessage()
- func (x *SqlInstancesExportRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesExportRequest) Reset()
- func (x *SqlInstancesExportRequest) String() string
- type SqlInstancesFailoverRequest
- func (*SqlInstancesFailoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesFailoverRequest) GetBody() *InstancesFailoverRequest
- func (x *SqlInstancesFailoverRequest) GetInstance() string
- func (x *SqlInstancesFailoverRequest) GetProject() string
- func (*SqlInstancesFailoverRequest) ProtoMessage()
- func (x *SqlInstancesFailoverRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesFailoverRequest) Reset()
- func (x *SqlInstancesFailoverRequest) String() string
- type SqlInstancesGetDiskShrinkConfigRequest
- func (*SqlInstancesGetDiskShrinkConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesGetDiskShrinkConfigRequest) GetInstance() string
- func (x *SqlInstancesGetDiskShrinkConfigRequest) GetProject() string
- func (*SqlInstancesGetDiskShrinkConfigRequest) ProtoMessage()
- func (x *SqlInstancesGetDiskShrinkConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesGetDiskShrinkConfigRequest) Reset()
- func (x *SqlInstancesGetDiskShrinkConfigRequest) String() string
- type SqlInstancesGetDiskShrinkConfigResponse
- func (*SqlInstancesGetDiskShrinkConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesGetDiskShrinkConfigResponse) GetKind() string
- func (x *SqlInstancesGetDiskShrinkConfigResponse) GetMessage() string
- func (x *SqlInstancesGetDiskShrinkConfigResponse) GetMinimalTargetSizeGb() int64
- func (*SqlInstancesGetDiskShrinkConfigResponse) ProtoMessage()
- func (x *SqlInstancesGetDiskShrinkConfigResponse) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesGetDiskShrinkConfigResponse) Reset()
- func (x *SqlInstancesGetDiskShrinkConfigResponse) String() string
- type SqlInstancesGetLatestRecoveryTimeRequest
- func (*SqlInstancesGetLatestRecoveryTimeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesGetLatestRecoveryTimeRequest) GetInstance() string
- func (x *SqlInstancesGetLatestRecoveryTimeRequest) GetProject() string
- func (*SqlInstancesGetLatestRecoveryTimeRequest) ProtoMessage()
- func (x *SqlInstancesGetLatestRecoveryTimeRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesGetLatestRecoveryTimeRequest) Reset()
- func (x *SqlInstancesGetLatestRecoveryTimeRequest) String() string
- type SqlInstancesGetLatestRecoveryTimeResponse
- func (*SqlInstancesGetLatestRecoveryTimeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetKind() string
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetLatestRecoveryTime() *timestamp.Timestamp
- func (*SqlInstancesGetLatestRecoveryTimeResponse) ProtoMessage()
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) Reset()
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) String() string
- type SqlInstancesGetRequest
- func (*SqlInstancesGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesGetRequest) GetInstance() string
- func (x *SqlInstancesGetRequest) GetProject() string
- func (*SqlInstancesGetRequest) ProtoMessage()
- func (x *SqlInstancesGetRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesGetRequest) Reset()
- func (x *SqlInstancesGetRequest) String() string
- type SqlInstancesImportRequest
- func (*SqlInstancesImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesImportRequest) GetBody() *InstancesImportRequest
- func (x *SqlInstancesImportRequest) GetInstance() string
- func (x *SqlInstancesImportRequest) GetProject() string
- func (*SqlInstancesImportRequest) ProtoMessage()
- func (x *SqlInstancesImportRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesImportRequest) Reset()
- func (x *SqlInstancesImportRequest) String() string
- type SqlInstancesInsertRequest
- func (*SqlInstancesInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesInsertRequest) GetBody() *DatabaseInstance
- func (x *SqlInstancesInsertRequest) GetProject() string
- func (*SqlInstancesInsertRequest) ProtoMessage()
- func (x *SqlInstancesInsertRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesInsertRequest) Reset()
- func (x *SqlInstancesInsertRequest) String() string
- type SqlInstancesListRequest
- func (*SqlInstancesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesListRequest) GetFilter() string
- func (x *SqlInstancesListRequest) GetMaxResults() uint32
- func (x *SqlInstancesListRequest) GetPageToken() string
- func (x *SqlInstancesListRequest) GetProject() string
- func (*SqlInstancesListRequest) ProtoMessage()
- func (x *SqlInstancesListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesListRequest) Reset()
- func (x *SqlInstancesListRequest) String() string
- type SqlInstancesListServerCasRequest
- func (*SqlInstancesListServerCasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesListServerCasRequest) GetInstance() string
- func (x *SqlInstancesListServerCasRequest) GetProject() string
- func (*SqlInstancesListServerCasRequest) ProtoMessage()
- func (x *SqlInstancesListServerCasRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesListServerCasRequest) Reset()
- func (x *SqlInstancesListServerCasRequest) String() string
- type SqlInstancesPatchRequest
- func (*SqlInstancesPatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesPatchRequest) GetBody() *DatabaseInstance
- func (x *SqlInstancesPatchRequest) GetInstance() string
- func (x *SqlInstancesPatchRequest) GetProject() string
- func (*SqlInstancesPatchRequest) ProtoMessage()
- func (x *SqlInstancesPatchRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesPatchRequest) Reset()
- func (x *SqlInstancesPatchRequest) String() string
- type SqlInstancesPerformDiskShrinkRequest
- func (*SqlInstancesPerformDiskShrinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesPerformDiskShrinkRequest) GetBody() *PerformDiskShrinkContext
- func (x *SqlInstancesPerformDiskShrinkRequest) GetInstance() string
- func (x *SqlInstancesPerformDiskShrinkRequest) GetProject() string
- func (*SqlInstancesPerformDiskShrinkRequest) ProtoMessage()
- func (x *SqlInstancesPerformDiskShrinkRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesPerformDiskShrinkRequest) Reset()
- func (x *SqlInstancesPerformDiskShrinkRequest) String() string
- type SqlInstancesPromoteReplicaRequest
- func (*SqlInstancesPromoteReplicaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesPromoteReplicaRequest) GetFailover() bool
- func (x *SqlInstancesPromoteReplicaRequest) GetInstance() string
- func (x *SqlInstancesPromoteReplicaRequest) GetProject() string
- func (*SqlInstancesPromoteReplicaRequest) ProtoMessage()
- func (x *SqlInstancesPromoteReplicaRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesPromoteReplicaRequest) Reset()
- func (x *SqlInstancesPromoteReplicaRequest) String() string
- type SqlInstancesReencryptRequest
- func (*SqlInstancesReencryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesReencryptRequest) GetBody() *InstancesReencryptRequest
- func (x *SqlInstancesReencryptRequest) GetInstance() string
- func (x *SqlInstancesReencryptRequest) GetProject() string
- func (*SqlInstancesReencryptRequest) ProtoMessage()
- func (x *SqlInstancesReencryptRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesReencryptRequest) Reset()
- func (x *SqlInstancesReencryptRequest) String() string
- type SqlInstancesReleaseSsrsLeaseRequest
- func (*SqlInstancesReleaseSsrsLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesReleaseSsrsLeaseRequest) GetInstance() string
- func (x *SqlInstancesReleaseSsrsLeaseRequest) GetProject() string
- func (*SqlInstancesReleaseSsrsLeaseRequest) ProtoMessage()
- func (x *SqlInstancesReleaseSsrsLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesReleaseSsrsLeaseRequest) Reset()
- func (x *SqlInstancesReleaseSsrsLeaseRequest) String() string
- type SqlInstancesReleaseSsrsLeaseResponse
- func (*SqlInstancesReleaseSsrsLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesReleaseSsrsLeaseResponse) GetOperationId() string
- func (*SqlInstancesReleaseSsrsLeaseResponse) ProtoMessage()
- func (x *SqlInstancesReleaseSsrsLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesReleaseSsrsLeaseResponse) Reset()
- func (x *SqlInstancesReleaseSsrsLeaseResponse) String() string
- type SqlInstancesRescheduleMaintenanceRequest
- func (*SqlInstancesRescheduleMaintenanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRescheduleMaintenanceRequest) GetBody() *SqlInstancesRescheduleMaintenanceRequestBody
- func (x *SqlInstancesRescheduleMaintenanceRequest) GetInstance() string
- func (x *SqlInstancesRescheduleMaintenanceRequest) GetProject() string
- func (*SqlInstancesRescheduleMaintenanceRequest) ProtoMessage()
- func (x *SqlInstancesRescheduleMaintenanceRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRescheduleMaintenanceRequest) Reset()
- func (x *SqlInstancesRescheduleMaintenanceRequest) String() string
- type SqlInstancesRescheduleMaintenanceRequestBody
- func (*SqlInstancesRescheduleMaintenanceRequestBody) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRescheduleMaintenanceRequestBody) GetReschedule() *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule
- func (*SqlInstancesRescheduleMaintenanceRequestBody) ProtoMessage()
- func (x *SqlInstancesRescheduleMaintenanceRequestBody) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRescheduleMaintenanceRequestBody) Reset()
- func (x *SqlInstancesRescheduleMaintenanceRequestBody) String() string
- type SqlInstancesRescheduleMaintenanceRequestBody_Reschedule
- func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetRescheduleType() SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType
- func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetScheduleTime() *timestamp.Timestamp
- func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoMessage()
- func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Reset()
- func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) String() string
- type SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType
- func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Enum() *SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType
- func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Number() protoreflect.EnumNumber
- func (x SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) String() string
- func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) Type() protoreflect.EnumType
- type SqlInstancesResetReplicaSizeRequest
- func (*SqlInstancesResetReplicaSizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesResetReplicaSizeRequest) GetInstance() string
- func (x *SqlInstancesResetReplicaSizeRequest) GetProject() string
- func (*SqlInstancesResetReplicaSizeRequest) ProtoMessage()
- func (x *SqlInstancesResetReplicaSizeRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesResetReplicaSizeRequest) Reset()
- func (x *SqlInstancesResetReplicaSizeRequest) String() string
- type SqlInstancesResetSslConfigRequest
- func (*SqlInstancesResetSslConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesResetSslConfigRequest) GetInstance() string
- func (x *SqlInstancesResetSslConfigRequest) GetProject() string
- func (*SqlInstancesResetSslConfigRequest) ProtoMessage()
- func (x *SqlInstancesResetSslConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesResetSslConfigRequest) Reset()
- func (x *SqlInstancesResetSslConfigRequest) String() string
- type SqlInstancesRestartRequest
- func (*SqlInstancesRestartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRestartRequest) GetInstance() string
- func (x *SqlInstancesRestartRequest) GetProject() string
- func (*SqlInstancesRestartRequest) ProtoMessage()
- func (x *SqlInstancesRestartRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRestartRequest) Reset()
- func (x *SqlInstancesRestartRequest) String() string
- type SqlInstancesRestoreBackupRequest
- func (*SqlInstancesRestoreBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRestoreBackupRequest) GetBody() *InstancesRestoreBackupRequest
- func (x *SqlInstancesRestoreBackupRequest) GetInstance() string
- func (x *SqlInstancesRestoreBackupRequest) GetProject() string
- func (*SqlInstancesRestoreBackupRequest) ProtoMessage()
- func (x *SqlInstancesRestoreBackupRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRestoreBackupRequest) Reset()
- func (x *SqlInstancesRestoreBackupRequest) String() string
- type SqlInstancesRotateServerCaRequest
- func (*SqlInstancesRotateServerCaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRotateServerCaRequest) GetBody() *InstancesRotateServerCaRequest
- func (x *SqlInstancesRotateServerCaRequest) GetInstance() string
- func (x *SqlInstancesRotateServerCaRequest) GetProject() string
- func (*SqlInstancesRotateServerCaRequest) ProtoMessage()
- func (x *SqlInstancesRotateServerCaRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRotateServerCaRequest) Reset()
- func (x *SqlInstancesRotateServerCaRequest) String() string
- type SqlInstancesServiceClient
- type SqlInstancesServiceServer
- type SqlInstancesStartExternalSyncRequest
- func (*SqlInstancesStartExternalSyncRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesStartExternalSyncRequest) GetInstance() string
- func (x *SqlInstancesStartExternalSyncRequest) GetMigrationType() SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType
- func (x *SqlInstancesStartExternalSyncRequest) GetMysqlSyncConfig() *MySqlSyncConfig
- func (x *SqlInstancesStartExternalSyncRequest) GetProject() string
- func (x *SqlInstancesStartExternalSyncRequest) GetSkipVerification() bool
- func (m *SqlInstancesStartExternalSyncRequest) GetSyncConfig() isSqlInstancesStartExternalSyncRequest_SyncConfig
- func (x *SqlInstancesStartExternalSyncRequest) GetSyncMode() SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode
- func (x *SqlInstancesStartExternalSyncRequest) GetSyncParallelLevel() ExternalSyncParallelLevel
- func (*SqlInstancesStartExternalSyncRequest) ProtoMessage()
- func (x *SqlInstancesStartExternalSyncRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesStartExternalSyncRequest) Reset()
- func (x *SqlInstancesStartExternalSyncRequest) String() string
- type SqlInstancesStartExternalSyncRequest_MysqlSyncConfig
- type SqlInstancesStartReplicaRequest
- func (*SqlInstancesStartReplicaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesStartReplicaRequest) GetInstance() string
- func (x *SqlInstancesStartReplicaRequest) GetProject() string
- func (*SqlInstancesStartReplicaRequest) ProtoMessage()
- func (x *SqlInstancesStartReplicaRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesStartReplicaRequest) Reset()
- func (x *SqlInstancesStartReplicaRequest) String() string
- type SqlInstancesStopReplicaRequest
- func (*SqlInstancesStopReplicaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesStopReplicaRequest) GetInstance() string
- func (x *SqlInstancesStopReplicaRequest) GetProject() string
- func (*SqlInstancesStopReplicaRequest) ProtoMessage()
- func (x *SqlInstancesStopReplicaRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesStopReplicaRequest) Reset()
- func (x *SqlInstancesStopReplicaRequest) String() string
- type SqlInstancesSwitchoverRequest
- func (*SqlInstancesSwitchoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesSwitchoverRequest) GetDbTimeout() *duration.Duration
- func (x *SqlInstancesSwitchoverRequest) GetInstance() string
- func (x *SqlInstancesSwitchoverRequest) GetProject() string
- func (*SqlInstancesSwitchoverRequest) ProtoMessage()
- func (x *SqlInstancesSwitchoverRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesSwitchoverRequest) Reset()
- func (x *SqlInstancesSwitchoverRequest) String() string
- type SqlInstancesTruncateLogRequest
- func (*SqlInstancesTruncateLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesTruncateLogRequest) GetBody() *InstancesTruncateLogRequest
- func (x *SqlInstancesTruncateLogRequest) GetInstance() string
- func (x *SqlInstancesTruncateLogRequest) GetProject() string
- func (*SqlInstancesTruncateLogRequest) ProtoMessage()
- func (x *SqlInstancesTruncateLogRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesTruncateLogRequest) Reset()
- func (x *SqlInstancesTruncateLogRequest) String() string
- type SqlInstancesUpdateRequest
- func (*SqlInstancesUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesUpdateRequest) GetBody() *DatabaseInstance
- func (x *SqlInstancesUpdateRequest) GetInstance() string
- func (x *SqlInstancesUpdateRequest) GetProject() string
- func (*SqlInstancesUpdateRequest) ProtoMessage()
- func (x *SqlInstancesUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesUpdateRequest) Reset()
- func (x *SqlInstancesUpdateRequest) String() string
- type SqlInstancesVerifyExternalSyncSettingsRequest
- func (*SqlInstancesVerifyExternalSyncSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetInstance() string
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetMigrationType() SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetMysqlSyncConfig() *MySqlSyncConfig
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetProject() string
- func (m *SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncConfig() isSqlInstancesVerifyExternalSyncSettingsRequest_SyncConfig
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncMode() SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncParallelLevel() ExternalSyncParallelLevel
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyConnectionOnly() bool
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyReplicationOnly() bool
- func (*SqlInstancesVerifyExternalSyncSettingsRequest) ProtoMessage()
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) Reset()
- func (x *SqlInstancesVerifyExternalSyncSettingsRequest) String() string
- type SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode
- func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Descriptor() protoreflect.EnumDescriptor
- func (x SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Enum() *SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode
- func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Number() protoreflect.EnumNumber
- func (x SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) String() string
- func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) Type() protoreflect.EnumType
- type SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType
- func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) Enum() *SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType
- func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) Number() protoreflect.EnumNumber
- func (x SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) String() string
- func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) Type() protoreflect.EnumType
- type SqlInstancesVerifyExternalSyncSettingsRequest_MysqlSyncConfig
- type SqlInstancesVerifyExternalSyncSettingsResponse
- func (*SqlInstancesVerifyExternalSyncSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesVerifyExternalSyncSettingsResponse) GetErrors() []*SqlExternalSyncSettingError
- func (x *SqlInstancesVerifyExternalSyncSettingsResponse) GetKind() string
- func (x *SqlInstancesVerifyExternalSyncSettingsResponse) GetWarnings() []*SqlExternalSyncSettingError
- func (*SqlInstancesVerifyExternalSyncSettingsResponse) ProtoMessage()
- func (x *SqlInstancesVerifyExternalSyncSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesVerifyExternalSyncSettingsResponse) Reset()
- func (x *SqlInstancesVerifyExternalSyncSettingsResponse) String() string
- type SqlIpAddressType
- func (SqlIpAddressType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlIpAddressType) Enum() *SqlIpAddressType
- func (SqlIpAddressType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlIpAddressType) Number() protoreflect.EnumNumber
- func (x SqlIpAddressType) String() string
- func (SqlIpAddressType) Type() protoreflect.EnumType
- type SqlOperationsCancelRequest
- func (*SqlOperationsCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlOperationsCancelRequest) GetOperation() string
- func (x *SqlOperationsCancelRequest) GetProject() string
- func (*SqlOperationsCancelRequest) ProtoMessage()
- func (x *SqlOperationsCancelRequest) ProtoReflect() protoreflect.Message
- func (x *SqlOperationsCancelRequest) Reset()
- func (x *SqlOperationsCancelRequest) String() string
- type SqlOperationsGetRequest
- func (*SqlOperationsGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlOperationsGetRequest) GetOperation() string
- func (x *SqlOperationsGetRequest) GetProject() string
- func (*SqlOperationsGetRequest) ProtoMessage()
- func (x *SqlOperationsGetRequest) ProtoReflect() protoreflect.Message
- func (x *SqlOperationsGetRequest) Reset()
- func (x *SqlOperationsGetRequest) String() string
- type SqlOperationsListRequest
- func (*SqlOperationsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlOperationsListRequest) GetInstance() string
- func (x *SqlOperationsListRequest) GetMaxResults() uint32
- func (x *SqlOperationsListRequest) GetPageToken() string
- func (x *SqlOperationsListRequest) GetProject() string
- func (*SqlOperationsListRequest) ProtoMessage()
- func (x *SqlOperationsListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlOperationsListRequest) Reset()
- func (x *SqlOperationsListRequest) String() string
- type SqlOperationsServiceClient
- type SqlOperationsServiceServer
- type SqlPricingPlan
- func (SqlPricingPlan) Descriptor() protoreflect.EnumDescriptor
- func (x SqlPricingPlan) Enum() *SqlPricingPlan
- func (SqlPricingPlan) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlPricingPlan) Number() protoreflect.EnumNumber
- func (x SqlPricingPlan) String() string
- func (SqlPricingPlan) Type() protoreflect.EnumType
- type SqlReplicationType
- func (SqlReplicationType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlReplicationType) Enum() *SqlReplicationType
- func (SqlReplicationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlReplicationType) Number() protoreflect.EnumNumber
- func (x SqlReplicationType) String() string
- func (SqlReplicationType) Type() protoreflect.EnumType
- type SqlServerAuditConfig
- func (*SqlServerAuditConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SqlServerAuditConfig) GetBucket() string
- func (x *SqlServerAuditConfig) GetKind() string
- func (x *SqlServerAuditConfig) GetRetentionInterval() *duration.Duration
- func (x *SqlServerAuditConfig) GetUploadInterval() *duration.Duration
- func (*SqlServerAuditConfig) ProtoMessage()
- func (x *SqlServerAuditConfig) ProtoReflect() protoreflect.Message
- func (x *SqlServerAuditConfig) Reset()
- func (x *SqlServerAuditConfig) String() string
- type SqlServerDatabaseDetails
- func (*SqlServerDatabaseDetails) Descriptor() ([]byte, []int)deprecated
- func (x *SqlServerDatabaseDetails) GetCompatibilityLevel() int32
- func (x *SqlServerDatabaseDetails) GetRecoveryModel() string
- func (*SqlServerDatabaseDetails) ProtoMessage()
- func (x *SqlServerDatabaseDetails) ProtoReflect() protoreflect.Message
- func (x *SqlServerDatabaseDetails) Reset()
- func (x *SqlServerDatabaseDetails) String() string
- type SqlServerUserDetails
- func (*SqlServerUserDetails) Descriptor() ([]byte, []int)deprecated
- func (x *SqlServerUserDetails) GetDisabled() bool
- func (x *SqlServerUserDetails) GetServerRoles() []string
- func (*SqlServerUserDetails) ProtoMessage()
- func (x *SqlServerUserDetails) ProtoReflect() protoreflect.Message
- func (x *SqlServerUserDetails) Reset()
- func (x *SqlServerUserDetails) String() string
- type SqlSslCertsDeleteRequest
- func (*SqlSslCertsDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlSslCertsDeleteRequest) GetInstance() string
- func (x *SqlSslCertsDeleteRequest) GetProject() string
- func (x *SqlSslCertsDeleteRequest) GetSha1Fingerprint() string
- func (*SqlSslCertsDeleteRequest) ProtoMessage()
- func (x *SqlSslCertsDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SqlSslCertsDeleteRequest) Reset()
- func (x *SqlSslCertsDeleteRequest) String() string
- type SqlSslCertsGetRequest
- func (*SqlSslCertsGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlSslCertsGetRequest) GetInstance() string
- func (x *SqlSslCertsGetRequest) GetProject() string
- func (x *SqlSslCertsGetRequest) GetSha1Fingerprint() string
- func (*SqlSslCertsGetRequest) ProtoMessage()
- func (x *SqlSslCertsGetRequest) ProtoReflect() protoreflect.Message
- func (x *SqlSslCertsGetRequest) Reset()
- func (x *SqlSslCertsGetRequest) String() string
- type SqlSslCertsInsertRequest
- func (*SqlSslCertsInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlSslCertsInsertRequest) GetBody() *SslCertsInsertRequest
- func (x *SqlSslCertsInsertRequest) GetInstance() string
- func (x *SqlSslCertsInsertRequest) GetProject() string
- func (*SqlSslCertsInsertRequest) ProtoMessage()
- func (x *SqlSslCertsInsertRequest) ProtoReflect() protoreflect.Message
- func (x *SqlSslCertsInsertRequest) Reset()
- func (x *SqlSslCertsInsertRequest) String() string
- type SqlSslCertsListRequest
- func (*SqlSslCertsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlSslCertsListRequest) GetInstance() string
- func (x *SqlSslCertsListRequest) GetProject() string
- func (*SqlSslCertsListRequest) ProtoMessage()
- func (x *SqlSslCertsListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlSslCertsListRequest) Reset()
- func (x *SqlSslCertsListRequest) String() string
- type SqlSslCertsServiceClient
- type SqlSslCertsServiceServer
- type SqlSuspensionReason
- func (SqlSuspensionReason) Descriptor() protoreflect.EnumDescriptor
- func (x SqlSuspensionReason) Enum() *SqlSuspensionReason
- func (SqlSuspensionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlSuspensionReason) Number() protoreflect.EnumNumber
- func (x SqlSuspensionReason) String() string
- func (SqlSuspensionReason) Type() protoreflect.EnumType
- type SqlTiersListRequest
- func (*SqlTiersListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlTiersListRequest) GetProject() string
- func (*SqlTiersListRequest) ProtoMessage()
- func (x *SqlTiersListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlTiersListRequest) Reset()
- func (x *SqlTiersListRequest) String() string
- type SqlTiersServiceClient
- type SqlTiersServiceServer
- type SqlUpdateTrack
- func (SqlUpdateTrack) Descriptor() protoreflect.EnumDescriptor
- func (x SqlUpdateTrack) Enum() *SqlUpdateTrack
- func (SqlUpdateTrack) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlUpdateTrack) Number() protoreflect.EnumNumber
- func (x SqlUpdateTrack) String() string
- func (SqlUpdateTrack) Type() protoreflect.EnumType
- type SqlUsersDeleteRequest
- func (*SqlUsersDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlUsersDeleteRequest) GetHost() string
- func (x *SqlUsersDeleteRequest) GetInstance() string
- func (x *SqlUsersDeleteRequest) GetName() string
- func (x *SqlUsersDeleteRequest) GetProject() string
- func (*SqlUsersDeleteRequest) ProtoMessage()
- func (x *SqlUsersDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SqlUsersDeleteRequest) Reset()
- func (x *SqlUsersDeleteRequest) String() string
- type SqlUsersGetRequest
- func (*SqlUsersGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlUsersGetRequest) GetHost() string
- func (x *SqlUsersGetRequest) GetInstance() string
- func (x *SqlUsersGetRequest) GetName() string
- func (x *SqlUsersGetRequest) GetProject() string
- func (*SqlUsersGetRequest) ProtoMessage()
- func (x *SqlUsersGetRequest) ProtoReflect() protoreflect.Message
- func (x *SqlUsersGetRequest) Reset()
- func (x *SqlUsersGetRequest) String() string
- type SqlUsersInsertRequest
- func (*SqlUsersInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlUsersInsertRequest) GetBody() *User
- func (x *SqlUsersInsertRequest) GetInstance() string
- func (x *SqlUsersInsertRequest) GetProject() string
- func (*SqlUsersInsertRequest) ProtoMessage()
- func (x *SqlUsersInsertRequest) ProtoReflect() protoreflect.Message
- func (x *SqlUsersInsertRequest) Reset()
- func (x *SqlUsersInsertRequest) String() string
- type SqlUsersListRequest
- func (*SqlUsersListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlUsersListRequest) GetInstance() string
- func (x *SqlUsersListRequest) GetProject() string
- func (*SqlUsersListRequest) ProtoMessage()
- func (x *SqlUsersListRequest) ProtoReflect() protoreflect.Message
- func (x *SqlUsersListRequest) Reset()
- func (x *SqlUsersListRequest) String() string
- type SqlUsersServiceClient
- type SqlUsersServiceServer
- type SqlUsersUpdateRequest
- func (*SqlUsersUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlUsersUpdateRequest) GetBody() *User
- func (x *SqlUsersUpdateRequest) GetHost() string
- func (x *SqlUsersUpdateRequest) GetInstance() string
- func (x *SqlUsersUpdateRequest) GetName() string
- func (x *SqlUsersUpdateRequest) GetProject() string
- func (*SqlUsersUpdateRequest) ProtoMessage()
- func (x *SqlUsersUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlUsersUpdateRequest) Reset()
- func (x *SqlUsersUpdateRequest) String() string
- type SslCert
- func (*SslCert) Descriptor() ([]byte, []int)deprecated
- func (x *SslCert) GetCert() string
- func (x *SslCert) GetCertSerialNumber() string
- func (x *SslCert) GetCommonName() string
- func (x *SslCert) GetCreateTime() *timestamp.Timestamp
- func (x *SslCert) GetExpirationTime() *timestamp.Timestamp
- func (x *SslCert) GetInstance() string
- func (x *SslCert) GetKind() string
- func (x *SslCert) GetSelfLink() string
- func (x *SslCert) GetSha1Fingerprint() string
- func (*SslCert) ProtoMessage()
- func (x *SslCert) ProtoReflect() protoreflect.Message
- func (x *SslCert) Reset()
- func (x *SslCert) String() string
- type SslCertDetail
- func (*SslCertDetail) Descriptor() ([]byte, []int)deprecated
- func (x *SslCertDetail) GetCertInfo() *SslCert
- func (x *SslCertDetail) GetCertPrivateKey() string
- func (*SslCertDetail) ProtoMessage()
- func (x *SslCertDetail) ProtoReflect() protoreflect.Message
- func (x *SslCertDetail) Reset()
- func (x *SslCertDetail) String() string
- type SslCertsCreateEphemeralRequest
- func (*SslCertsCreateEphemeralRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SslCertsCreateEphemeralRequest) GetAccessToken() string
- func (x *SslCertsCreateEphemeralRequest) GetPublicKey() string
- func (*SslCertsCreateEphemeralRequest) ProtoMessage()
- func (x *SslCertsCreateEphemeralRequest) ProtoReflect() protoreflect.Message
- func (x *SslCertsCreateEphemeralRequest) Reset()
- func (x *SslCertsCreateEphemeralRequest) String() string
- type SslCertsInsertRequest
- func (*SslCertsInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SslCertsInsertRequest) GetCommonName() string
- func (*SslCertsInsertRequest) ProtoMessage()
- func (x *SslCertsInsertRequest) ProtoReflect() protoreflect.Message
- func (x *SslCertsInsertRequest) Reset()
- func (x *SslCertsInsertRequest) String() string
- type SslCertsInsertResponse
- func (*SslCertsInsertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SslCertsInsertResponse) GetClientCert() *SslCertDetail
- func (x *SslCertsInsertResponse) GetKind() string
- func (x *SslCertsInsertResponse) GetOperation() *Operation
- func (x *SslCertsInsertResponse) GetServerCaCert() *SslCert
- func (*SslCertsInsertResponse) ProtoMessage()
- func (x *SslCertsInsertResponse) ProtoReflect() protoreflect.Message
- func (x *SslCertsInsertResponse) Reset()
- func (x *SslCertsInsertResponse) String() string
- type SslCertsListResponse
- func (*SslCertsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SslCertsListResponse) GetItems() []*SslCert
- func (x *SslCertsListResponse) GetKind() string
- func (*SslCertsListResponse) ProtoMessage()
- func (x *SslCertsListResponse) ProtoReflect() protoreflect.Message
- func (x *SslCertsListResponse) Reset()
- func (x *SslCertsListResponse) String() string
- type SyncFlags
- type Tier
- func (*Tier) Descriptor() ([]byte, []int)deprecated
- func (x *Tier) GetDisk_Quota() int64
- func (x *Tier) GetKind() string
- func (x *Tier) GetRAM() int64
- func (x *Tier) GetRegion() []string
- func (x *Tier) GetTier() string
- func (*Tier) ProtoMessage()
- func (x *Tier) ProtoReflect() protoreflect.Message
- func (x *Tier) Reset()
- func (x *Tier) String() string
- type TiersListResponse
- func (*TiersListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TiersListResponse) GetItems() []*Tier
- func (x *TiersListResponse) GetKind() string
- func (*TiersListResponse) ProtoMessage()
- func (x *TiersListResponse) ProtoReflect() protoreflect.Message
- func (x *TiersListResponse) Reset()
- func (x *TiersListResponse) String() string
- type TruncateLogContext
- func (*TruncateLogContext) Descriptor() ([]byte, []int)deprecated
- func (x *TruncateLogContext) GetKind() string
- func (x *TruncateLogContext) GetLogType() string
- func (*TruncateLogContext) ProtoMessage()
- func (x *TruncateLogContext) ProtoReflect() protoreflect.Message
- func (x *TruncateLogContext) Reset()
- func (x *TruncateLogContext) String() string
- type UnimplementedSqlBackupRunsServiceServer
- func (UnimplementedSqlBackupRunsServiceServer) Delete(context.Context, *SqlBackupRunsDeleteRequest) (*Operation, error)
- func (UnimplementedSqlBackupRunsServiceServer) Get(context.Context, *SqlBackupRunsGetRequest) (*BackupRun, error)
- func (UnimplementedSqlBackupRunsServiceServer) Insert(context.Context, *SqlBackupRunsInsertRequest) (*Operation, error)
- func (UnimplementedSqlBackupRunsServiceServer) List(context.Context, *SqlBackupRunsListRequest) (*BackupRunsListResponse, error)
- type UnimplementedSqlConnectServiceServer
- type UnimplementedSqlDatabasesServiceServer
- func (UnimplementedSqlDatabasesServiceServer) Delete(context.Context, *SqlDatabasesDeleteRequest) (*Operation, error)
- func (UnimplementedSqlDatabasesServiceServer) Get(context.Context, *SqlDatabasesGetRequest) (*Database, error)
- func (UnimplementedSqlDatabasesServiceServer) Insert(context.Context, *SqlDatabasesInsertRequest) (*Operation, error)
- func (UnimplementedSqlDatabasesServiceServer) List(context.Context, *SqlDatabasesListRequest) (*DatabasesListResponse, error)
- func (UnimplementedSqlDatabasesServiceServer) Patch(context.Context, *SqlDatabasesUpdateRequest) (*Operation, error)
- func (UnimplementedSqlDatabasesServiceServer) Update(context.Context, *SqlDatabasesUpdateRequest) (*Operation, error)
- type UnimplementedSqlFlagsServiceServer
- type UnimplementedSqlIamPoliciesServiceServer
- type UnimplementedSqlInstancesServiceServer
- func (UnimplementedSqlInstancesServiceServer) AcquireSsrsLease(context.Context, *SqlInstancesAcquireSsrsLeaseRequest) (*SqlInstancesAcquireSsrsLeaseResponse, error)
- func (UnimplementedSqlInstancesServiceServer) AddServerCa(context.Context, *SqlInstancesAddServerCaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Clone(context.Context, *SqlInstancesCloneRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) CreateEphemeral(context.Context, *SqlInstancesCreateEphemeralCertRequest) (*SslCert, error)
- func (UnimplementedSqlInstancesServiceServer) Delete(context.Context, *SqlInstancesDeleteRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Demote(context.Context, *SqlInstancesDemoteRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) DemoteMaster(context.Context, *SqlInstancesDemoteMasterRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Export(context.Context, *SqlInstancesExportRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Failover(context.Context, *SqlInstancesFailoverRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Get(context.Context, *SqlInstancesGetRequest) (*DatabaseInstance, error)
- func (UnimplementedSqlInstancesServiceServer) GetDiskShrinkConfig(context.Context, *SqlInstancesGetDiskShrinkConfigRequest) (*SqlInstancesGetDiskShrinkConfigResponse, error)
- func (UnimplementedSqlInstancesServiceServer) GetLatestRecoveryTime(context.Context, *SqlInstancesGetLatestRecoveryTimeRequest) (*SqlInstancesGetLatestRecoveryTimeResponse, error)
- func (UnimplementedSqlInstancesServiceServer) Import(context.Context, *SqlInstancesImportRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Insert(context.Context, *SqlInstancesInsertRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) List(context.Context, *SqlInstancesListRequest) (*InstancesListResponse, error)
- func (UnimplementedSqlInstancesServiceServer) ListServerCas(context.Context, *SqlInstancesListServerCasRequest) (*InstancesListServerCasResponse, error)
- func (UnimplementedSqlInstancesServiceServer) Patch(context.Context, *SqlInstancesPatchRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) PerformDiskShrink(context.Context, *SqlInstancesPerformDiskShrinkRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) PromoteReplica(context.Context, *SqlInstancesPromoteReplicaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Reencrypt(context.Context, *SqlInstancesReencryptRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) ReleaseSsrsLease(context.Context, *SqlInstancesReleaseSsrsLeaseRequest) (*SqlInstancesReleaseSsrsLeaseResponse, error)
- func (UnimplementedSqlInstancesServiceServer) RescheduleMaintenance(context.Context, *SqlInstancesRescheduleMaintenanceRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) ResetReplicaSize(context.Context, *SqlInstancesResetReplicaSizeRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) ResetSslConfig(context.Context, *SqlInstancesResetSslConfigRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Restart(context.Context, *SqlInstancesRestartRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) RestoreBackup(context.Context, *SqlInstancesRestoreBackupRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) RotateServerCa(context.Context, *SqlInstancesRotateServerCaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) StartExternalSync(context.Context, *SqlInstancesStartExternalSyncRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) StartReplica(context.Context, *SqlInstancesStartReplicaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) StopReplica(context.Context, *SqlInstancesStopReplicaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Switchover(context.Context, *SqlInstancesSwitchoverRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) TruncateLog(context.Context, *SqlInstancesTruncateLogRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) Update(context.Context, *SqlInstancesUpdateRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) VerifyExternalSyncSettings(context.Context, *SqlInstancesVerifyExternalSyncSettingsRequest) (*SqlInstancesVerifyExternalSyncSettingsResponse, error)
- type UnimplementedSqlOperationsServiceServer
- func (UnimplementedSqlOperationsServiceServer) Cancel(context.Context, *SqlOperationsCancelRequest) (*empty.Empty, error)
- func (UnimplementedSqlOperationsServiceServer) Get(context.Context, *SqlOperationsGetRequest) (*Operation, error)
- func (UnimplementedSqlOperationsServiceServer) List(context.Context, *SqlOperationsListRequest) (*OperationsListResponse, error)
- type UnimplementedSqlSslCertsServiceServer
- func (UnimplementedSqlSslCertsServiceServer) Delete(context.Context, *SqlSslCertsDeleteRequest) (*Operation, error)
- func (UnimplementedSqlSslCertsServiceServer) Get(context.Context, *SqlSslCertsGetRequest) (*SslCert, error)
- func (UnimplementedSqlSslCertsServiceServer) Insert(context.Context, *SqlSslCertsInsertRequest) (*SslCertsInsertResponse, error)
- func (UnimplementedSqlSslCertsServiceServer) List(context.Context, *SqlSslCertsListRequest) (*SslCertsListResponse, error)
- type UnimplementedSqlTiersServiceServer
- type UnimplementedSqlUsersServiceServer
- func (UnimplementedSqlUsersServiceServer) Delete(context.Context, *SqlUsersDeleteRequest) (*Operation, error)
- func (UnimplementedSqlUsersServiceServer) Get(context.Context, *SqlUsersGetRequest) (*User, error)
- func (UnimplementedSqlUsersServiceServer) Insert(context.Context, *SqlUsersInsertRequest) (*Operation, error)
- func (UnimplementedSqlUsersServiceServer) List(context.Context, *SqlUsersListRequest) (*UsersListResponse, error)
- func (UnimplementedSqlUsersServiceServer) Update(context.Context, *SqlUsersUpdateRequest) (*Operation, error)
- type UnsafeSqlBackupRunsServiceServer
- type UnsafeSqlConnectServiceServer
- type UnsafeSqlDatabasesServiceServer
- type UnsafeSqlFlagsServiceServer
- type UnsafeSqlIamPoliciesServiceServer
- type UnsafeSqlInstancesServiceServer
- type UnsafeSqlOperationsServiceServer
- type UnsafeSqlSslCertsServiceServer
- type UnsafeSqlTiersServiceServer
- type UnsafeSqlUsersServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDualPasswordType() User_DualPasswordType
- func (x *User) GetEtag() string
- func (x *User) GetHost() string
- func (x *User) GetInstance() string
- func (x *User) GetKind() string
- func (x *User) GetName() string
- func (x *User) GetPassword() string
- func (x *User) GetPasswordPolicy() *UserPasswordValidationPolicy
- func (x *User) GetProject() string
- func (x *User) GetSqlserverUserDetails() *SqlServerUserDetails
- func (x *User) GetType() User_SqlUserType
- func (m *User) GetUserDetails() isUser_UserDetails
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserPasswordValidationPolicy
- func (*UserPasswordValidationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *UserPasswordValidationPolicy) GetAllowedFailedAttempts() int32
- func (x *UserPasswordValidationPolicy) GetEnableFailedAttemptsCheck() bool
- func (x *UserPasswordValidationPolicy) GetEnablePasswordVerification() bool
- func (x *UserPasswordValidationPolicy) GetPasswordExpirationDuration() *duration.Duration
- func (x *UserPasswordValidationPolicy) GetStatus() *PasswordStatus
- func (*UserPasswordValidationPolicy) ProtoMessage()
- func (x *UserPasswordValidationPolicy) ProtoReflect() protoreflect.Message
- func (x *UserPasswordValidationPolicy) Reset()
- func (x *UserPasswordValidationPolicy) String() string
- type User_DualPasswordType
- func (User_DualPasswordType) Descriptor() protoreflect.EnumDescriptor
- func (x User_DualPasswordType) Enum() *User_DualPasswordType
- func (User_DualPasswordType) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_DualPasswordType) Number() protoreflect.EnumNumber
- func (x User_DualPasswordType) String() string
- func (User_DualPasswordType) Type() protoreflect.EnumType
- type User_SqlUserType
- func (User_SqlUserType) Descriptor() protoreflect.EnumDescriptor
- func (x User_SqlUserType) Enum() *User_SqlUserType
- func (User_SqlUserType) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_SqlUserType) Number() protoreflect.EnumNumber
- func (x User_SqlUserType) String() string
- func (User_SqlUserType) Type() protoreflect.EnumType
- type User_SqlserverUserDetails
- type UsersListResponse
- func (*UsersListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UsersListResponse) GetItems() []*User
- func (x *UsersListResponse) GetKind() string
- func (x *UsersListResponse) GetNextPageToken() stringdeprecated
- func (*UsersListResponse) ProtoMessage()
- func (x *UsersListResponse) ProtoReflect() protoreflect.Message
- func (x *UsersListResponse) Reset()
- func (x *UsersListResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ExternalSyncParallelLevel_name = map[int32]string{ 0: "EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", 1: "MIN", 2: "OPTIMAL", 3: "MAX", } ExternalSyncParallelLevel_value = map[string]int32{ "EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED": 0, "MIN": 1, "OPTIMAL": 2, "MAX": 3, } )
Enum value maps for ExternalSyncParallelLevel.
var ( BackupReencryptionConfig_BackupType_name = map[int32]string{ 0: "BACKUP_TYPE_UNSPECIFIED", 1: "AUTOMATED", 2: "ON_DEMAND", } BackupReencryptionConfig_BackupType_value = map[string]int32{ "BACKUP_TYPE_UNSPECIFIED": 0, "AUTOMATED": 1, "ON_DEMAND": 2, } )
Enum value maps for BackupReencryptionConfig_BackupType.
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.
var ( SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType_name = map[int32]string{ 0: "MIGRATION_TYPE_UNSPECIFIED", 1: "LOGICAL", 2: "PHYSICAL", } SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType_value = map[string]int32{ "MIGRATION_TYPE_UNSPECIFIED": 0, "LOGICAL": 1, "PHYSICAL": 2, } )
Enum value maps for SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType.
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.
var ( BakType_name = map[int32]string{ 0: "BAK_TYPE_UNSPECIFIED", 1: "FULL", 2: "DIFF", 3: "TLOG", } BakType_value = map[string]int32{ "BAK_TYPE_UNSPECIFIED": 0, "FULL": 1, "DIFF": 2, "TLOG": 3, } )
Enum value maps for BakType.
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.
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.
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.
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.
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.
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.
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", 11: "SQLSERVER_2017_STANDARD", 14: "SQLSERVER_2017_ENTERPRISE", 15: "SQLSERVER_2017_EXPRESS", 16: "SQLSERVER_2017_WEB", 9: "POSTGRES_9_6", 18: "POSTGRES_10", 10: "POSTGRES_11", 19: "POSTGRES_12", 23: "POSTGRES_13", 110: "POSTGRES_14", 172: "POSTGRES_15", 272: "POSTGRES_16", 20: "MYSQL_8_0", 41: "MYSQL_8_0_18", 85: "MYSQL_8_0_26", 111: "MYSQL_8_0_27", 132: "MYSQL_8_0_28", 148: "MYSQL_8_0_29", 174: "MYSQL_8_0_30", 197: "MYSQL_8_0_31", 213: "MYSQL_8_0_32", 238: "MYSQL_8_0_33", 239: "MYSQL_8_0_34", 240: "MYSQL_8_0_35", 241: "MYSQL_8_0_36", 355: "MYSQL_8_0_37", 356: "MYSQL_8_0_38", 357: "MYSQL_8_0_39", 358: "MYSQL_8_0_40", 398: "MYSQL_8_4", 399: "MYSQL_8_4_0", 26: "SQLSERVER_2019_STANDARD", 27: "SQLSERVER_2019_ENTERPRISE", 28: "SQLSERVER_2019_EXPRESS", 29: "SQLSERVER_2019_WEB", 199: "SQLSERVER_2022_STANDARD", 200: "SQLSERVER_2022_ENTERPRISE", 201: "SQLSERVER_2022_EXPRESS", 202: "SQLSERVER_2022_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, "SQLSERVER_2017_STANDARD": 11, "SQLSERVER_2017_ENTERPRISE": 14, "SQLSERVER_2017_EXPRESS": 15, "SQLSERVER_2017_WEB": 16, "POSTGRES_9_6": 9, "POSTGRES_10": 18, "POSTGRES_11": 10, "POSTGRES_12": 19, "POSTGRES_13": 23, "POSTGRES_14": 110, "POSTGRES_15": 172, "POSTGRES_16": 272, "MYSQL_8_0": 20, "MYSQL_8_0_18": 41, "MYSQL_8_0_26": 85, "MYSQL_8_0_27": 111, "MYSQL_8_0_28": 132, "MYSQL_8_0_29": 148, "MYSQL_8_0_30": 174, "MYSQL_8_0_31": 197, "MYSQL_8_0_32": 213, "MYSQL_8_0_33": 238, "MYSQL_8_0_34": 239, "MYSQL_8_0_35": 240, "MYSQL_8_0_36": 241, "MYSQL_8_0_37": 355, "MYSQL_8_0_38": 356, "MYSQL_8_0_39": 357, "MYSQL_8_0_40": 358, "MYSQL_8_4": 398, "MYSQL_8_4_0": 399, "SQLSERVER_2019_STANDARD": 26, "SQLSERVER_2019_ENTERPRISE": 27, "SQLSERVER_2019_EXPRESS": 28, "SQLSERVER_2019_WEB": 29, "SQLSERVER_2022_STANDARD": 199, "SQLSERVER_2022_ENTERPRISE": 200, "SQLSERVER_2022_EXPRESS": 201, "SQLSERVER_2022_WEB": 202, } )
Enum value maps for SqlDatabaseVersion.
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.
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.
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.
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.
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.
var ( SqlUpdateTrack_name = map[int32]string{ 0: "SQL_UPDATE_TRACK_UNSPECIFIED", 1: "canary", 2: "stable", 3: "week5", } SqlUpdateTrack_value = map[string]int32{ "SQL_UPDATE_TRACK_UNSPECIFIED": 0, "canary": 1, "stable": 2, "week5": 3, } )
Enum value maps for SqlUpdateTrack.
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.
var ( ApiWarning_SqlApiWarningCode_name = map[int32]string{ 0: "SQL_API_WARNING_CODE_UNSPECIFIED", 1: "REGION_UNREACHABLE", 2: "MAX_RESULTS_EXCEEDS_LIMIT", 3: "COMPROMISED_CREDENTIALS", 4: "INTERNAL_STATE_FAILURE", } ApiWarning_SqlApiWarningCode_value = map[string]int32{ "SQL_API_WARNING_CODE_UNSPECIFIED": 0, "REGION_UNREACHABLE": 1, "MAX_RESULTS_EXCEEDS_LIMIT": 2, "COMPROMISED_CREDENTIALS": 3, "INTERNAL_STATE_FAILURE": 4, } )
Enum value maps for ApiWarning_SqlApiWarningCode.
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.
var ( BackupConfiguration_TransactionalLogStorageState_name = map[int32]string{ 0: "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED", 1: "DISK", 2: "SWITCHING_TO_CLOUD_STORAGE", 3: "SWITCHED_TO_CLOUD_STORAGE", 4: "CLOUD_STORAGE", } BackupConfiguration_TransactionalLogStorageState_value = map[string]int32{ "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED": 0, "DISK": 1, "SWITCHING_TO_CLOUD_STORAGE": 2, "SWITCHED_TO_CLOUD_STORAGE": 3, "CLOUD_STORAGE": 4, } )
Enum value maps for BackupConfiguration_TransactionalLogStorageState.
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.
var ( DatabaseInstance_SqlNetworkArchitecture_name = map[int32]string{ 0: "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED", 1: "NEW_NETWORK_ARCHITECTURE", 2: "OLD_NETWORK_ARCHITECTURE", } DatabaseInstance_SqlNetworkArchitecture_value = map[string]int32{ "SQL_NETWORK_ARCHITECTURE_UNSPECIFIED": 0, "NEW_NETWORK_ARCHITECTURE": 1, "OLD_NETWORK_ARCHITECTURE": 2, } )
Enum value maps for DatabaseInstance_SqlNetworkArchitecture.
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.
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", 27: "LIMITED_SUPPORT_TABLES", 28: "EXISTING_DATA_IN_REPLICA", 29: "MISSING_OPTIONAL_PRIVILEGES", 30: "RISKY_BACKUP_ADMIN_PRIVILEGE", 31: "INSUFFICIENT_GCS_PERMISSIONS", 32: "INVALID_FILE_INFO", 33: "UNSUPPORTED_DATABASE_SETTINGS", 34: "MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE", 35: "LOCAL_INFILE_OFF", 36: "TURN_ON_PITR_AFTER_PROMOTE", 37: "INCOMPATIBLE_DATABASE_MINOR_VERSION", 38: "SOURCE_MAX_SUBSCRIPTIONS", 39: "UNABLE_TO_VERIFY_DEFINERS", 40: "SUBSCRIPTION_CALCULATION_STATUS", 41: "PG_SUBSCRIPTION_COUNT", 42: "PG_SYNC_PARALLEL_LEVEL", 43: "INSUFFICIENT_DISK_SIZE", 44: "INSUFFICIENT_MACHINE_TIER", 45: "UNSUPPORTED_EXTENSIONS_NOT_MIGRATED", 46: "EXTENSIONS_NOT_MIGRATED", 47: "PG_CRON_FLAG_ENABLED_IN_REPLICA", 48: "EXTENSIONS_NOT_ENABLED_IN_REPLICA", } 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, "LIMITED_SUPPORT_TABLES": 27, "EXISTING_DATA_IN_REPLICA": 28, "MISSING_OPTIONAL_PRIVILEGES": 29, "RISKY_BACKUP_ADMIN_PRIVILEGE": 30, "INSUFFICIENT_GCS_PERMISSIONS": 31, "INVALID_FILE_INFO": 32, "UNSUPPORTED_DATABASE_SETTINGS": 33, "MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE": 34, "LOCAL_INFILE_OFF": 35, "TURN_ON_PITR_AFTER_PROMOTE": 36, "INCOMPATIBLE_DATABASE_MINOR_VERSION": 37, "SOURCE_MAX_SUBSCRIPTIONS": 38, "UNABLE_TO_VERIFY_DEFINERS": 39, "SUBSCRIPTION_CALCULATION_STATUS": 40, "PG_SUBSCRIPTION_COUNT": 41, "PG_SYNC_PARALLEL_LEVEL": 42, "INSUFFICIENT_DISK_SIZE": 43, "INSUFFICIENT_MACHINE_TIER": 44, "UNSUPPORTED_EXTENSIONS_NOT_MIGRATED": 45, "EXTENSIONS_NOT_MIGRATED": 46, "PG_CRON_FLAG_ENABLED_IN_REPLICA": 47, "EXTENSIONS_NOT_ENABLED_IN_REPLICA": 48, } )
Enum value maps for SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType.
var ( IpConfiguration_SslMode_name = map[int32]string{ 0: "SSL_MODE_UNSPECIFIED", 1: "ALLOW_UNENCRYPTED_AND_ENCRYPTED", 2: "ENCRYPTED_ONLY", 3: "TRUSTED_CLIENT_CERTIFICATE_REQUIRED", } IpConfiguration_SslMode_value = map[string]int32{ "SSL_MODE_UNSPECIFIED": 0, "ALLOW_UNENCRYPTED_AND_ENCRYPTED": 1, "ENCRYPTED_ONLY": 2, "TRUSTED_CLIENT_CERTIFICATE_REQUIRED": 3, } )
Enum value maps for IpConfiguration_SslMode.
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", 36: "LOG_CLEANUP", 37: "AUTO_RESTART", 38: "REENCRYPT", 39: "SWITCHOVER", 42: "ACQUIRE_SSRS_LEASE", 43: "RELEASE_SSRS_LEASE", 44: "RECONFIGURE_OLD_PRIMARY", 45: "CLUSTER_MAINTENANCE", 46: "SELF_SERVICE_MAINTENANCE", 47: "SWITCHOVER_TO_REPLICA", } 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, "LOG_CLEANUP": 36, "AUTO_RESTART": 37, "REENCRYPT": 38, "SWITCHOVER": 39, "ACQUIRE_SSRS_LEASE": 42, "RELEASE_SSRS_LEASE": 43, "RECONFIGURE_OLD_PRIMARY": 44, "CLUSTER_MAINTENANCE": 45, "SELF_SERVICE_MAINTENANCE": 46, "SWITCHOVER_TO_REPLICA": 47, } )
Enum value maps for Operation_SqlOperationType.
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.
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.
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.
var ( Settings_Edition_name = map[int32]string{ 0: "EDITION_UNSPECIFIED", 2: "ENTERPRISE", 3: "ENTERPRISE_PLUS", } Settings_Edition_value = map[string]int32{ "EDITION_UNSPECIFIED": 0, "ENTERPRISE": 2, "ENTERPRISE_PLUS": 3, } )
Enum value maps for Settings_Edition.
var ( Settings_ConnectorEnforcement_name = map[int32]string{ 0: "CONNECTOR_ENFORCEMENT_UNSPECIFIED", 1: "NOT_REQUIRED", 2: "REQUIRED", } Settings_ConnectorEnforcement_value = map[string]int32{ "CONNECTOR_ENFORCEMENT_UNSPECIFIED": 0, "NOT_REQUIRED": 1, "REQUIRED": 2, } )
Enum value maps for Settings_ConnectorEnforcement.
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.
var ( User_SqlUserType_name = map[int32]string{ 0: "BUILT_IN", 1: "CLOUD_IAM_USER", 2: "CLOUD_IAM_SERVICE_ACCOUNT", 3: "CLOUD_IAM_GROUP", 4: "CLOUD_IAM_GROUP_USER", 5: "CLOUD_IAM_GROUP_SERVICE_ACCOUNT", } User_SqlUserType_value = map[string]int32{ "BUILT_IN": 0, "CLOUD_IAM_USER": 1, "CLOUD_IAM_SERVICE_ACCOUNT": 2, "CLOUD_IAM_GROUP": 3, "CLOUD_IAM_GROUP_USER": 4, "CLOUD_IAM_GROUP_SERVICE_ACCOUNT": 5, } )
Enum value maps for User_SqlUserType.
var ( User_DualPasswordType_name = map[int32]string{ 0: "DUAL_PASSWORD_TYPE_UNSPECIFIED", 1: "NO_MODIFY_DUAL_PASSWORD", 2: "NO_DUAL_PASSWORD", 3: "DUAL_PASSWORD", } User_DualPasswordType_value = map[string]int32{ "DUAL_PASSWORD_TYPE_UNSPECIFIED": 0, "NO_MODIFY_DUAL_PASSWORD": 1, "NO_DUAL_PASSWORD": 2, "DUAL_PASSWORD": 3, } )
Enum value maps for User_DualPasswordType.
var File_mockgcp_cloud_sql_v1beta4_cloud_sql_connect_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_sql_v1beta4_cloud_sql_iam_policies_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_sql_v1beta4_cloud_sql_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_sql_v1beta4_cloud_sql_resources_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_sql_v1beta4_cloud_sql_tiers_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_sql_v1beta4_cloud_sql_users_proto protoreflect.FileDescriptor
var SqlBackupRunsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlBackupRunsService", HandlerType: (*SqlBackupRunsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Delete", Handler: _SqlBackupRunsService_Delete_Handler, }, { MethodName: "Get", Handler: _SqlBackupRunsService_Get_Handler, }, { MethodName: "Insert", Handler: _SqlBackupRunsService_Insert_Handler, }, { MethodName: "List", Handler: _SqlBackupRunsService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql.proto", }
SqlBackupRunsService_ServiceDesc is the grpc.ServiceDesc for SqlBackupRunsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlConnectService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlConnectService", HandlerType: (*SqlConnectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConnectSettings", Handler: _SqlConnectService_GetConnectSettings_Handler, }, { MethodName: "GenerateEphemeralCert", Handler: _SqlConnectService_GenerateEphemeralCert_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql_connect.proto", }
SqlConnectService_ServiceDesc is the grpc.ServiceDesc for SqlConnectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlDatabasesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlDatabasesService", HandlerType: (*SqlDatabasesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Delete", Handler: _SqlDatabasesService_Delete_Handler, }, { MethodName: "Get", Handler: _SqlDatabasesService_Get_Handler, }, { MethodName: "Insert", Handler: _SqlDatabasesService_Insert_Handler, }, { MethodName: "List", Handler: _SqlDatabasesService_List_Handler, }, { MethodName: "Patch", Handler: _SqlDatabasesService_Patch_Handler, }, { MethodName: "Update", Handler: _SqlDatabasesService_Update_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql.proto", }
SqlDatabasesService_ServiceDesc is the grpc.ServiceDesc for SqlDatabasesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlFlagsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlFlagsService", HandlerType: (*SqlFlagsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _SqlFlagsService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql.proto", }
SqlFlagsService_ServiceDesc is the grpc.ServiceDesc for SqlFlagsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlIamPoliciesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlIamPoliciesService", HandlerType: (*SqlIamPoliciesServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql_iam_policies.proto", }
SqlIamPoliciesService_ServiceDesc is the grpc.ServiceDesc for SqlIamPoliciesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlInstancesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlInstancesService", HandlerType: (*SqlInstancesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddServerCa", Handler: _SqlInstancesService_AddServerCa_Handler, }, { MethodName: "Clone", Handler: _SqlInstancesService_Clone_Handler, }, { MethodName: "Delete", Handler: _SqlInstancesService_Delete_Handler, }, { MethodName: "DemoteMaster", Handler: _SqlInstancesService_DemoteMaster_Handler, }, { MethodName: "Demote", Handler: _SqlInstancesService_Demote_Handler, }, { MethodName: "Export", Handler: _SqlInstancesService_Export_Handler, }, { MethodName: "Failover", Handler: _SqlInstancesService_Failover_Handler, }, { MethodName: "Reencrypt", Handler: _SqlInstancesService_Reencrypt_Handler, }, { MethodName: "Get", Handler: _SqlInstancesService_Get_Handler, }, { MethodName: "Import", Handler: _SqlInstancesService_Import_Handler, }, { MethodName: "Insert", Handler: _SqlInstancesService_Insert_Handler, }, { MethodName: "List", Handler: _SqlInstancesService_List_Handler, }, { MethodName: "ListServerCas", Handler: _SqlInstancesService_ListServerCas_Handler, }, { MethodName: "Patch", Handler: _SqlInstancesService_Patch_Handler, }, { MethodName: "PromoteReplica", Handler: _SqlInstancesService_PromoteReplica_Handler, }, { MethodName: "Switchover", Handler: _SqlInstancesService_Switchover_Handler, }, { MethodName: "ResetSslConfig", Handler: _SqlInstancesService_ResetSslConfig_Handler, }, { MethodName: "Restart", Handler: _SqlInstancesService_Restart_Handler, }, { MethodName: "RestoreBackup", Handler: _SqlInstancesService_RestoreBackup_Handler, }, { MethodName: "RotateServerCa", Handler: _SqlInstancesService_RotateServerCa_Handler, }, { MethodName: "StartReplica", Handler: _SqlInstancesService_StartReplica_Handler, }, { MethodName: "StopReplica", Handler: _SqlInstancesService_StopReplica_Handler, }, { MethodName: "TruncateLog", Handler: _SqlInstancesService_TruncateLog_Handler, }, { MethodName: "Update", Handler: _SqlInstancesService_Update_Handler, }, { MethodName: "CreateEphemeral", Handler: _SqlInstancesService_CreateEphemeral_Handler, }, { MethodName: "RescheduleMaintenance", Handler: _SqlInstancesService_RescheduleMaintenance_Handler, }, { MethodName: "VerifyExternalSyncSettings", Handler: _SqlInstancesService_VerifyExternalSyncSettings_Handler, }, { MethodName: "StartExternalSync", Handler: _SqlInstancesService_StartExternalSync_Handler, }, { MethodName: "PerformDiskShrink", Handler: _SqlInstancesService_PerformDiskShrink_Handler, }, { MethodName: "GetDiskShrinkConfig", Handler: _SqlInstancesService_GetDiskShrinkConfig_Handler, }, { MethodName: "ResetReplicaSize", Handler: _SqlInstancesService_ResetReplicaSize_Handler, }, { MethodName: "GetLatestRecoveryTime", Handler: _SqlInstancesService_GetLatestRecoveryTime_Handler, }, { MethodName: "AcquireSsrsLease", Handler: _SqlInstancesService_AcquireSsrsLease_Handler, }, { MethodName: "ReleaseSsrsLease", Handler: _SqlInstancesService_ReleaseSsrsLease_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql.proto", }
SqlInstancesService_ServiceDesc is the grpc.ServiceDesc for SqlInstancesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlOperationsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlOperationsService", HandlerType: (*SqlOperationsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _SqlOperationsService_Get_Handler, }, { MethodName: "List", Handler: _SqlOperationsService_List_Handler, }, { MethodName: "Cancel", Handler: _SqlOperationsService_Cancel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql.proto", }
SqlOperationsService_ServiceDesc is the grpc.ServiceDesc for SqlOperationsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlSslCertsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlSslCertsService", HandlerType: (*SqlSslCertsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Delete", Handler: _SqlSslCertsService_Delete_Handler, }, { MethodName: "Get", Handler: _SqlSslCertsService_Get_Handler, }, { MethodName: "Insert", Handler: _SqlSslCertsService_Insert_Handler, }, { MethodName: "List", Handler: _SqlSslCertsService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql.proto", }
SqlSslCertsService_ServiceDesc is the grpc.ServiceDesc for SqlSslCertsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlTiersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlTiersService", HandlerType: (*SqlTiersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _SqlTiersService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql_tiers.proto", }
SqlTiersService_ServiceDesc is the grpc.ServiceDesc for SqlTiersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SqlUsersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.sql.v1beta4.SqlUsersService", HandlerType: (*SqlUsersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Delete", Handler: _SqlUsersService_Delete_Handler, }, { MethodName: "Get", Handler: _SqlUsersService_Get_Handler, }, { MethodName: "Insert", Handler: _SqlUsersService_Insert_Handler, }, { MethodName: "List", Handler: _SqlUsersService_List_Handler, }, { MethodName: "Update", Handler: _SqlUsersService_Update_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/sql/v1beta4/cloud_sql_users.proto", }
SqlUsersService_ServiceDesc is the grpc.ServiceDesc for SqlUsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSqlBackupRunsServiceHandler ¶
func RegisterSqlBackupRunsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlBackupRunsServiceHandler registers the http handlers for service SqlBackupRunsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlBackupRunsServiceHandlerClient ¶
func RegisterSqlBackupRunsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlBackupRunsServiceClient) error
RegisterSqlBackupRunsServiceHandlerClient registers the http handlers for service SqlBackupRunsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlBackupRunsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlBackupRunsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlBackupRunsServiceClient" to call the correct interceptors.
func RegisterSqlBackupRunsServiceHandlerFromEndpoint ¶
func RegisterSqlBackupRunsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlBackupRunsServiceHandlerFromEndpoint is same as RegisterSqlBackupRunsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlBackupRunsServiceHandlerServer ¶
func RegisterSqlBackupRunsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlBackupRunsServiceServer) error
RegisterSqlBackupRunsServiceHandlerServer registers the http handlers for service SqlBackupRunsService to "mux". UnaryRPC :call SqlBackupRunsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlBackupRunsServiceHandlerFromEndpoint instead.
func RegisterSqlBackupRunsServiceServer ¶
func RegisterSqlBackupRunsServiceServer(s grpc.ServiceRegistrar, srv SqlBackupRunsServiceServer)
func RegisterSqlConnectServiceHandler ¶
func RegisterSqlConnectServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlConnectServiceHandler registers the http handlers for service SqlConnectService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlConnectServiceHandlerClient ¶
func RegisterSqlConnectServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlConnectServiceClient) error
RegisterSqlConnectServiceHandlerClient registers the http handlers for service SqlConnectService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlConnectServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlConnectServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlConnectServiceClient" to call the correct interceptors.
func RegisterSqlConnectServiceHandlerFromEndpoint ¶
func RegisterSqlConnectServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlConnectServiceHandlerFromEndpoint is same as RegisterSqlConnectServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlConnectServiceHandlerServer ¶
func RegisterSqlConnectServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlConnectServiceServer) error
RegisterSqlConnectServiceHandlerServer registers the http handlers for service SqlConnectService to "mux". UnaryRPC :call SqlConnectServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlConnectServiceHandlerFromEndpoint instead.
func RegisterSqlConnectServiceServer ¶
func RegisterSqlConnectServiceServer(s grpc.ServiceRegistrar, srv SqlConnectServiceServer)
func RegisterSqlDatabasesServiceHandler ¶
func RegisterSqlDatabasesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlDatabasesServiceHandler registers the http handlers for service SqlDatabasesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlDatabasesServiceHandlerClient ¶
func RegisterSqlDatabasesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlDatabasesServiceClient) error
RegisterSqlDatabasesServiceHandlerClient registers the http handlers for service SqlDatabasesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlDatabasesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlDatabasesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlDatabasesServiceClient" to call the correct interceptors.
func RegisterSqlDatabasesServiceHandlerFromEndpoint ¶
func RegisterSqlDatabasesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlDatabasesServiceHandlerFromEndpoint is same as RegisterSqlDatabasesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlDatabasesServiceHandlerServer ¶
func RegisterSqlDatabasesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlDatabasesServiceServer) error
RegisterSqlDatabasesServiceHandlerServer registers the http handlers for service SqlDatabasesService to "mux". UnaryRPC :call SqlDatabasesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlDatabasesServiceHandlerFromEndpoint instead.
func RegisterSqlDatabasesServiceServer ¶
func RegisterSqlDatabasesServiceServer(s grpc.ServiceRegistrar, srv SqlDatabasesServiceServer)
func RegisterSqlFlagsServiceHandler ¶
func RegisterSqlFlagsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlFlagsServiceHandler registers the http handlers for service SqlFlagsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlFlagsServiceHandlerClient ¶
func RegisterSqlFlagsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlFlagsServiceClient) error
RegisterSqlFlagsServiceHandlerClient registers the http handlers for service SqlFlagsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlFlagsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlFlagsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlFlagsServiceClient" to call the correct interceptors.
func RegisterSqlFlagsServiceHandlerFromEndpoint ¶
func RegisterSqlFlagsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlFlagsServiceHandlerFromEndpoint is same as RegisterSqlFlagsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlFlagsServiceHandlerServer ¶
func RegisterSqlFlagsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlFlagsServiceServer) error
RegisterSqlFlagsServiceHandlerServer registers the http handlers for service SqlFlagsService to "mux". UnaryRPC :call SqlFlagsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlFlagsServiceHandlerFromEndpoint instead.
func RegisterSqlFlagsServiceServer ¶
func RegisterSqlFlagsServiceServer(s grpc.ServiceRegistrar, srv SqlFlagsServiceServer)
func RegisterSqlIamPoliciesServiceServer ¶
func RegisterSqlIamPoliciesServiceServer(s grpc.ServiceRegistrar, srv SqlIamPoliciesServiceServer)
func RegisterSqlInstancesServiceHandler ¶
func RegisterSqlInstancesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlInstancesServiceHandler registers the http handlers for service SqlInstancesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlInstancesServiceHandlerClient ¶
func RegisterSqlInstancesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlInstancesServiceClient) error
RegisterSqlInstancesServiceHandlerClient registers the http handlers for service SqlInstancesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlInstancesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlInstancesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlInstancesServiceClient" to call the correct interceptors.
func RegisterSqlInstancesServiceHandlerFromEndpoint ¶
func RegisterSqlInstancesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlInstancesServiceHandlerFromEndpoint is same as RegisterSqlInstancesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlInstancesServiceHandlerServer ¶
func RegisterSqlInstancesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlInstancesServiceServer) error
RegisterSqlInstancesServiceHandlerServer registers the http handlers for service SqlInstancesService to "mux". UnaryRPC :call SqlInstancesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlInstancesServiceHandlerFromEndpoint instead.
func RegisterSqlInstancesServiceServer ¶
func RegisterSqlInstancesServiceServer(s grpc.ServiceRegistrar, srv SqlInstancesServiceServer)
func RegisterSqlOperationsServiceHandler ¶
func RegisterSqlOperationsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlOperationsServiceHandler registers the http handlers for service SqlOperationsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlOperationsServiceHandlerClient ¶
func RegisterSqlOperationsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlOperationsServiceClient) error
RegisterSqlOperationsServiceHandlerClient registers the http handlers for service SqlOperationsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlOperationsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlOperationsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlOperationsServiceClient" to call the correct interceptors.
func RegisterSqlOperationsServiceHandlerFromEndpoint ¶
func RegisterSqlOperationsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlOperationsServiceHandlerFromEndpoint is same as RegisterSqlOperationsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlOperationsServiceHandlerServer ¶
func RegisterSqlOperationsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlOperationsServiceServer) error
RegisterSqlOperationsServiceHandlerServer registers the http handlers for service SqlOperationsService to "mux". UnaryRPC :call SqlOperationsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlOperationsServiceHandlerFromEndpoint instead.
func RegisterSqlOperationsServiceServer ¶
func RegisterSqlOperationsServiceServer(s grpc.ServiceRegistrar, srv SqlOperationsServiceServer)
func RegisterSqlSslCertsServiceHandler ¶
func RegisterSqlSslCertsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlSslCertsServiceHandler registers the http handlers for service SqlSslCertsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlSslCertsServiceHandlerClient ¶
func RegisterSqlSslCertsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlSslCertsServiceClient) error
RegisterSqlSslCertsServiceHandlerClient registers the http handlers for service SqlSslCertsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlSslCertsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlSslCertsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlSslCertsServiceClient" to call the correct interceptors.
func RegisterSqlSslCertsServiceHandlerFromEndpoint ¶
func RegisterSqlSslCertsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlSslCertsServiceHandlerFromEndpoint is same as RegisterSqlSslCertsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlSslCertsServiceHandlerServer ¶
func RegisterSqlSslCertsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlSslCertsServiceServer) error
RegisterSqlSslCertsServiceHandlerServer registers the http handlers for service SqlSslCertsService to "mux". UnaryRPC :call SqlSslCertsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlSslCertsServiceHandlerFromEndpoint instead.
func RegisterSqlSslCertsServiceServer ¶
func RegisterSqlSslCertsServiceServer(s grpc.ServiceRegistrar, srv SqlSslCertsServiceServer)
func RegisterSqlTiersServiceHandler ¶
func RegisterSqlTiersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlTiersServiceHandler registers the http handlers for service SqlTiersService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlTiersServiceHandlerClient ¶
func RegisterSqlTiersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlTiersServiceClient) error
RegisterSqlTiersServiceHandlerClient registers the http handlers for service SqlTiersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlTiersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlTiersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlTiersServiceClient" to call the correct interceptors.
func RegisterSqlTiersServiceHandlerFromEndpoint ¶
func RegisterSqlTiersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlTiersServiceHandlerFromEndpoint is same as RegisterSqlTiersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlTiersServiceHandlerServer ¶
func RegisterSqlTiersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlTiersServiceServer) error
RegisterSqlTiersServiceHandlerServer registers the http handlers for service SqlTiersService to "mux". UnaryRPC :call SqlTiersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlTiersServiceHandlerFromEndpoint instead.
func RegisterSqlTiersServiceServer ¶
func RegisterSqlTiersServiceServer(s grpc.ServiceRegistrar, srv SqlTiersServiceServer)
func RegisterSqlUsersServiceHandler ¶
func RegisterSqlUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSqlUsersServiceHandler registers the http handlers for service SqlUsersService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSqlUsersServiceHandlerClient ¶
func RegisterSqlUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SqlUsersServiceClient) error
RegisterSqlUsersServiceHandlerClient registers the http handlers for service SqlUsersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SqlUsersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SqlUsersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SqlUsersServiceClient" to call the correct interceptors.
func RegisterSqlUsersServiceHandlerFromEndpoint ¶
func RegisterSqlUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSqlUsersServiceHandlerFromEndpoint is same as RegisterSqlUsersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSqlUsersServiceHandlerServer ¶
func RegisterSqlUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SqlUsersServiceServer) error
RegisterSqlUsersServiceHandlerServer registers the http handlers for service SqlUsersService to "mux". UnaryRPC :call SqlUsersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSqlUsersServiceHandlerFromEndpoint instead.
func RegisterSqlUsersServiceServer ¶
func RegisterSqlUsersServiceServer(s grpc.ServiceRegistrar, 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 *timestamp.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) GetExpirationTime ¶
func (*AclEntry) ProtoMessage ¶
func (*AclEntry) ProtoMessage()
func (*AclEntry) ProtoReflect ¶
func (x *AclEntry) ProtoReflect() protoreflect.Message
type AcquireSsrsLeaseContext ¶
type AcquireSsrsLeaseContext struct { // The username to be used as the setup login to connect to the database // server for SSRS setup. SetupLogin *string `protobuf:"bytes,1,opt,name=setup_login,json=setupLogin,proto3,oneof" json:"setup_login,omitempty"` // The username to be used as the service login to connect to the report // database for SSRS setup. ServiceLogin *string `protobuf:"bytes,2,opt,name=service_login,json=serviceLogin,proto3,oneof" json:"service_login,omitempty"` // The report database to be used for the SSRS setup. ReportDatabase *string `protobuf:"bytes,3,opt,name=report_database,json=reportDatabase,proto3,oneof" json:"report_database,omitempty"` // Lease duration needed for the SSRS setup. Duration *duration.Duration `protobuf:"bytes,4,opt,name=duration,proto3,oneof" json:"duration,omitempty"` // contains filtered or unexported fields }
Acquire SSRS lease context.
func (*AcquireSsrsLeaseContext) Descriptor
deprecated
func (*AcquireSsrsLeaseContext) Descriptor() ([]byte, []int)
Deprecated: Use AcquireSsrsLeaseContext.ProtoReflect.Descriptor instead.
func (*AcquireSsrsLeaseContext) GetDuration ¶
func (x *AcquireSsrsLeaseContext) GetDuration() *duration.Duration
func (*AcquireSsrsLeaseContext) GetReportDatabase ¶
func (x *AcquireSsrsLeaseContext) GetReportDatabase() string
func (*AcquireSsrsLeaseContext) GetServiceLogin ¶
func (x *AcquireSsrsLeaseContext) GetServiceLogin() string
func (*AcquireSsrsLeaseContext) GetSetupLogin ¶
func (x *AcquireSsrsLeaseContext) GetSetupLogin() string
func (*AcquireSsrsLeaseContext) ProtoMessage ¶
func (*AcquireSsrsLeaseContext) ProtoMessage()
func (*AcquireSsrsLeaseContext) ProtoReflect ¶
func (x *AcquireSsrsLeaseContext) ProtoReflect() protoreflect.Message
func (*AcquireSsrsLeaseContext) Reset ¶
func (x *AcquireSsrsLeaseContext) Reset()
func (*AcquireSsrsLeaseContext) String ¶
func (x *AcquireSsrsLeaseContext) String() string
type AdvancedMachineFeatures ¶
type AdvancedMachineFeatures struct { // The number of threads per physical core. ThreadsPerCore int32 `protobuf:"varint,1,opt,name=threads_per_core,json=threadsPerCore,proto3" json:"threads_per_core,omitempty"` // contains filtered or unexported fields }
Specifies options for controlling advanced machine features.
func (*AdvancedMachineFeatures) Descriptor
deprecated
func (*AdvancedMachineFeatures) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedMachineFeatures.ProtoReflect.Descriptor instead.
func (*AdvancedMachineFeatures) GetThreadsPerCore ¶
func (x *AdvancedMachineFeatures) GetThreadsPerCore() int32
func (*AdvancedMachineFeatures) ProtoMessage ¶
func (*AdvancedMachineFeatures) ProtoMessage()
func (*AdvancedMachineFeatures) ProtoReflect ¶
func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Message
func (*AdvancedMachineFeatures) Reset ¶
func (x *AdvancedMachineFeatures) Reset()
func (*AdvancedMachineFeatures) String ¶
func (x *AdvancedMachineFeatures) 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=mockgcp.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 (x *ApiWarning) GetCode() ApiWarning_SqlApiWarningCode
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 // Warning when user provided maxResults parameter exceeds the limit. The // returned result set may be incomplete. ApiWarning_MAX_RESULTS_EXCEEDS_LIMIT ApiWarning_SqlApiWarningCode = 2 // Warning when user tries to create/update a user with credentials that // have previously been compromised by a public data breach. ApiWarning_COMPROMISED_CREDENTIALS ApiWarning_SqlApiWarningCode = 3 // Warning when the operation succeeds but some non-critical workflow state // failed. ApiWarning_INTERNAL_STATE_FAILURE ApiWarning_SqlApiWarningCode = 4 )
func (ApiWarning_SqlApiWarningCode) Descriptor ¶
func (ApiWarning_SqlApiWarningCode) Descriptor() protoreflect.EnumDescriptor
func (ApiWarning_SqlApiWarningCode) Enum ¶
func (x ApiWarning_SqlApiWarningCode) Enum() *ApiWarning_SqlApiWarningCode
func (ApiWarning_SqlApiWarningCode) EnumDescriptor
deprecated
func (ApiWarning_SqlApiWarningCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApiWarning_SqlApiWarningCode.Descriptor instead.
func (ApiWarning_SqlApiWarningCode) Number ¶
func (x ApiWarning_SqlApiWarningCode) Number() protoreflect.EnumNumber
func (ApiWarning_SqlApiWarningCode) String ¶
func (x ApiWarning_SqlApiWarningCode) String() string
func (ApiWarning_SqlApiWarningCode) Type ¶
func (ApiWarning_SqlApiWarningCode) Type() protoreflect.EnumType
type AvailableDatabaseVersion ¶
type AvailableDatabaseVersion struct { // The version's major version name. MajorVersion *string `protobuf:"bytes,3,opt,name=major_version,json=majorVersion,proto3,oneof" json:"major_version,omitempty"` // The database version name. For MySQL 8.0, this string provides the database // major and minor version. Name *string `protobuf:"bytes,8,opt,name=name,proto3,oneof" json:"name,omitempty"` // The database version's display name. DisplayName *string `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` // contains filtered or unexported fields }
An available database version. It can be a major or a minor version.
func (*AvailableDatabaseVersion) Descriptor
deprecated
func (*AvailableDatabaseVersion) Descriptor() ([]byte, []int)
Deprecated: Use AvailableDatabaseVersion.ProtoReflect.Descriptor instead.
func (*AvailableDatabaseVersion) GetDisplayName ¶
func (x *AvailableDatabaseVersion) GetDisplayName() string
func (*AvailableDatabaseVersion) GetMajorVersion ¶
func (x *AvailableDatabaseVersion) GetMajorVersion() string
func (*AvailableDatabaseVersion) GetName ¶
func (x *AvailableDatabaseVersion) GetName() string
func (*AvailableDatabaseVersion) ProtoMessage ¶
func (*AvailableDatabaseVersion) ProtoMessage()
func (*AvailableDatabaseVersion) ProtoReflect ¶
func (x *AvailableDatabaseVersion) ProtoReflect() protoreflect.Message
func (*AvailableDatabaseVersion) Reset ¶
func (x *AvailableDatabaseVersion) Reset()
func (*AvailableDatabaseVersion) String ¶
func (x *AvailableDatabaseVersion) String() string
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 *wrappers.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 *wrappers.BoolValue `protobuf:"bytes,4,opt,name=binary_log_enabled,json=binaryLogEnabled,proto3" json:"binary_log_enabled,omitempty"` // Reserved for future use. ReplicationLogArchivingEnabled *wrappers.BoolValue `` /* 155-byte string literal not displayed */ // Location of the backup Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` // Whether point in time recovery is enabled. PointInTimeRecoveryEnabled *wrappers.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 *wrappers.Int32Value `` /* 146-byte string literal not displayed */ // Backup retention settings. BackupRetentionSettings *BackupRetentionSettings `` /* 133-byte string literal not displayed */ // Output only. This value contains the storage location of transactional logs // for the database for point-in-time recovery. TransactionalLogStorageState *BackupConfiguration_TransactionalLogStorageState `` /* 237-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() *wrappers.BoolValue
func (*BackupConfiguration) GetEnabled ¶
func (x *BackupConfiguration) GetEnabled() *wrappers.BoolValue
func (*BackupConfiguration) GetKind ¶
func (x *BackupConfiguration) GetKind() string
func (*BackupConfiguration) GetLocation ¶
func (x *BackupConfiguration) GetLocation() string
func (*BackupConfiguration) GetPointInTimeRecoveryEnabled ¶
func (x *BackupConfiguration) GetPointInTimeRecoveryEnabled() *wrappers.BoolValue
func (*BackupConfiguration) GetReplicationLogArchivingEnabled ¶
func (x *BackupConfiguration) GetReplicationLogArchivingEnabled() *wrappers.BoolValue
func (*BackupConfiguration) GetStartTime ¶
func (x *BackupConfiguration) GetStartTime() string
func (*BackupConfiguration) GetTransactionLogRetentionDays ¶
func (x *BackupConfiguration) GetTransactionLogRetentionDays() *wrappers.Int32Value
func (*BackupConfiguration) GetTransactionalLogStorageState ¶
func (x *BackupConfiguration) GetTransactionalLogStorageState() BackupConfiguration_TransactionalLogStorageState
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 BackupConfiguration_TransactionalLogStorageState ¶
type BackupConfiguration_TransactionalLogStorageState int32
This value contains the storage location of the transactional logs used to perform point-in-time recovery (PITR) for the database.
const ( // Unspecified. BackupConfiguration_TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED BackupConfiguration_TransactionalLogStorageState = 0 // The transaction logs used for PITR for the instance are stored // on a data disk. BackupConfiguration_DISK BackupConfiguration_TransactionalLogStorageState = 1 // The transaction logs used for PITR for the instance are switching from // being stored on a data disk to being stored in Cloud Storage. // Only applicable to MySQL. BackupConfiguration_SWITCHING_TO_CLOUD_STORAGE BackupConfiguration_TransactionalLogStorageState = 2 // The transaction logs used for PITR for the instance are now stored // in Cloud Storage. Previously, they were stored on a data disk. // Only applicable to MySQL. BackupConfiguration_SWITCHED_TO_CLOUD_STORAGE BackupConfiguration_TransactionalLogStorageState = 3 // The transaction logs used for PITR for the instance are stored in // Cloud Storage. Only applicable to MySQL and PostgreSQL. BackupConfiguration_CLOUD_STORAGE BackupConfiguration_TransactionalLogStorageState = 4 )
func (BackupConfiguration_TransactionalLogStorageState) Descriptor ¶
func (BackupConfiguration_TransactionalLogStorageState) Descriptor() protoreflect.EnumDescriptor
func (BackupConfiguration_TransactionalLogStorageState) EnumDescriptor
deprecated
func (BackupConfiguration_TransactionalLogStorageState) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupConfiguration_TransactionalLogStorageState.Descriptor instead.
func (BackupConfiguration_TransactionalLogStorageState) Number ¶
func (x BackupConfiguration_TransactionalLogStorageState) Number() protoreflect.EnumNumber
func (BackupConfiguration_TransactionalLogStorageState) String ¶
func (x BackupConfiguration_TransactionalLogStorageState) 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 BackupReencryptionConfig ¶
type BackupReencryptionConfig struct { // Backup re-encryption limit BackupLimit *int32 `protobuf:"varint,1,opt,name=backup_limit,json=backupLimit,proto3,oneof" json:"backup_limit,omitempty"` // Type of backups users want to re-encrypt. BackupType *BackupReencryptionConfig_BackupType `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
Backup Reencryption Config
func (*BackupReencryptionConfig) Descriptor
deprecated
func (*BackupReencryptionConfig) Descriptor() ([]byte, []int)
Deprecated: Use BackupReencryptionConfig.ProtoReflect.Descriptor instead.
func (*BackupReencryptionConfig) GetBackupLimit ¶
func (x *BackupReencryptionConfig) GetBackupLimit() int32
func (*BackupReencryptionConfig) GetBackupType ¶
func (x *BackupReencryptionConfig) GetBackupType() BackupReencryptionConfig_BackupType
func (*BackupReencryptionConfig) ProtoMessage ¶
func (*BackupReencryptionConfig) ProtoMessage()
func (*BackupReencryptionConfig) ProtoReflect ¶
func (x *BackupReencryptionConfig) ProtoReflect() protoreflect.Message
func (*BackupReencryptionConfig) Reset ¶
func (x *BackupReencryptionConfig) Reset()
func (*BackupReencryptionConfig) String ¶
func (x *BackupReencryptionConfig) String() string
type BackupReencryptionConfig_BackupType ¶
type BackupReencryptionConfig_BackupType int32
Backup type for re-encryption
const ( // Unknown backup type, will be defaulted to AUTOMATIC backup type BackupReencryptionConfig_BACKUP_TYPE_UNSPECIFIED BackupReencryptionConfig_BackupType = 0 // Reencrypt automatic backups BackupReencryptionConfig_AUTOMATED BackupReencryptionConfig_BackupType = 1 // Reencrypt on-demand backups BackupReencryptionConfig_ON_DEMAND BackupReencryptionConfig_BackupType = 2 )
func (BackupReencryptionConfig_BackupType) Descriptor ¶
func (BackupReencryptionConfig_BackupType) Descriptor() protoreflect.EnumDescriptor
func (BackupReencryptionConfig_BackupType) Enum ¶
func (x BackupReencryptionConfig_BackupType) Enum() *BackupReencryptionConfig_BackupType
func (BackupReencryptionConfig_BackupType) EnumDescriptor
deprecated
func (BackupReencryptionConfig_BackupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupReencryptionConfig_BackupType.Descriptor instead.
func (BackupReencryptionConfig_BackupType) Number ¶
func (x BackupReencryptionConfig_BackupType) Number() protoreflect.EnumNumber
func (BackupReencryptionConfig_BackupType) String ¶
func (x BackupReencryptionConfig_BackupType) String() string
func (BackupReencryptionConfig_BackupType) Type ¶
func (BackupReencryptionConfig_BackupType) Type() protoreflect.EnumType
type BackupRetentionSettings ¶
type BackupRetentionSettings struct { // The unit that 'retained_backups' represents. RetentionUnit BackupRetentionSettings_RetentionUnit `` /* 170-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 *wrappers.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() *wrappers.Int32Value
func (*BackupRetentionSettings) GetRetentionUnit ¶
func (x *BackupRetentionSettings) GetRetentionUnit() BackupRetentionSettings_RetentionUnit
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) Descriptor() protoreflect.EnumDescriptor
func (BackupRetentionSettings_RetentionUnit) EnumDescriptor
deprecated
func (BackupRetentionSettings_RetentionUnit) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupRetentionSettings_RetentionUnit.Descriptor instead.
func (BackupRetentionSettings_RetentionUnit) Number ¶
func (x BackupRetentionSettings_RetentionUnit) Number() protoreflect.EnumNumber
func (BackupRetentionSettings_RetentionUnit) String ¶
func (x BackupRetentionSettings_RetentionUnit) String() string
func (BackupRetentionSettings_RetentionUnit) Type ¶
func (BackupRetentionSettings_RetentionUnit) Type() protoreflect.EnumType
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=mockgcp.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 *timestamp.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 *timestamp.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 *timestamp.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" or "FINAL". // This field defaults to "ON_DEMAND" and is ignored, when specified for // insert requests. Type SqlBackupRunType `protobuf:"varint,8,opt,name=type,proto3,enum=mockgcp.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 *timestamp.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 `` /* 138-byte string literal not displayed */ // Backup time zone to prevent restores to an instance with // a different time zone. Now relevant only for SQL Server. TimeZone string `protobuf:"bytes,23,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // contains filtered or unexported fields }
A BackupRun resource.
func (*BackupRun) Descriptor
deprecated
func (*BackupRun) GetBackupKind ¶
func (x *BackupRun) GetBackupKind() SqlBackupKind
func (*BackupRun) GetDescription ¶
func (*BackupRun) GetDiskEncryptionConfiguration ¶
func (x *BackupRun) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration
func (*BackupRun) GetDiskEncryptionStatus ¶
func (x *BackupRun) GetDiskEncryptionStatus() *DiskEncryptionStatus
func (*BackupRun) GetEndTime ¶
func (*BackupRun) GetEnqueuedTime ¶
func (*BackupRun) GetError ¶
func (x *BackupRun) GetError() *OperationError
func (*BackupRun) GetInstance ¶
func (*BackupRun) GetLocation ¶
func (*BackupRun) GetSelfLink ¶
func (*BackupRun) GetStartTime ¶
func (*BackupRun) GetStatus ¶
func (x *BackupRun) GetStatus() SqlBackupRunStatus
func (*BackupRun) GetTimeZone ¶
func (*BackupRun) GetType ¶
func (x *BackupRun) GetType() SqlBackupRunType
func (*BackupRun) GetWindowStartTime ¶
func (*BackupRun) ProtoMessage ¶
func (*BackupRun) ProtoMessage()
func (*BackupRun) ProtoReflect ¶
func (x *BackupRun) ProtoReflect() protoreflect.Message
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 BakType ¶
type BakType int32
func (BakType) Descriptor ¶
func (BakType) Descriptor() protoreflect.EnumDescriptor
func (BakType) EnumDescriptor
deprecated
func (BakType) Number ¶
func (x BakType) Number() protoreflect.EnumNumber
func (BakType) Type ¶
func (BakType) Type() protoreflect.EnumType
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 *timestamp.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 Cloud SQL 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"` // (SQL Server only) Clone only the specified databases from the source // instance. Clone all databases if empty. DatabaseNames []string `protobuf:"bytes,9,rep,name=database_names,json=databaseNames,proto3" json:"database_names,omitempty"` // Optional. Copy clone and point-in-time recovery clone of an instance to the // specified zone. If no zone is specified, clone to the same primary zone as // the source instance. PreferredZone *string `protobuf:"bytes,10,opt,name=preferred_zone,json=preferredZone,proto3,oneof" json:"preferred_zone,omitempty"` // Optional. Copy clone and point-in-time recovery clone of a regional // instance in the specified zones. If not specified, clone to the same // secondary zone as the source instance. This value cannot be the same as the // preferred_zone field. PreferredSecondaryZone *string `` /* 136-byte string literal not displayed */ // 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) GetDatabaseNames ¶
func (x *CloneContext) GetDatabaseNames() []string
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() *timestamp.Timestamp
func (*CloneContext) GetPreferredSecondaryZone ¶
func (x *CloneContext) GetPreferredSecondaryZone() string
func (*CloneContext) GetPreferredZone ¶
func (x *CloneContext) GetPreferredZone() string
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 `` /* 158-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 `` /* 142-byte string literal not displayed */ // Whether PSC connectivity is enabled for this instance. PscEnabled bool `protobuf:"varint,33,opt,name=psc_enabled,json=pscEnabled,proto3" json:"psc_enabled,omitempty"` // The dns name of the instance. DnsName string `protobuf:"bytes,34,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"` // 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) GetDnsName ¶
func (x *ConnectSettings) GetDnsName() string
func (*ConnectSettings) GetIpAddresses ¶
func (x *ConnectSettings) GetIpAddresses() []*IpMapping
func (*ConnectSettings) GetKind ¶
func (x *ConnectSettings) GetKind() string
func (*ConnectSettings) GetPscEnabled ¶
func (x *ConnectSettings) GetPscEnabled() bool
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 DataCacheConfig ¶
type DataCacheConfig struct { // Whether data cache is enabled for the instance. DataCacheEnabled bool `protobuf:"varint,1,opt,name=data_cache_enabled,json=dataCacheEnabled,proto3" json:"data_cache_enabled,omitempty"` // contains filtered or unexported fields }
Data cache configurations.
func (*DataCacheConfig) Descriptor
deprecated
func (*DataCacheConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataCacheConfig.ProtoReflect.Descriptor instead.
func (*DataCacheConfig) GetDataCacheEnabled ¶
func (x *DataCacheConfig) GetDataCacheEnabled() bool
func (*DataCacheConfig) ProtoMessage ¶
func (*DataCacheConfig) ProtoMessage()
func (*DataCacheConfig) ProtoReflect ¶
func (x *DataCacheConfig) ProtoReflect() protoreflect.Message
func (*DataCacheConfig) Reset ¶
func (x *DataCacheConfig) Reset()
func (*DataCacheConfig) String ¶
func (x *DataCacheConfig) 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) GetCharset ¶
func (*Database) GetCollation ¶
func (*Database) GetDatabaseDetails ¶
func (m *Database) GetDatabaseDetails() isDatabase_DatabaseDetails
func (*Database) GetInstance ¶
func (*Database) GetProject ¶
func (*Database) GetSelfLink ¶
func (*Database) GetSqlserverDatabaseDetails ¶
func (x *Database) GetSqlserverDatabaseDetails() *SqlServerDatabaseDetails
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
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 `` /* 129-byte string literal not displayed */ // The database engine type and version. The `databaseVersion` field cannot // be changed after instance creation. DatabaseVersion SqlDatabaseVersion `` /* 157-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 *wrappers.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 *wrappers.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 `` /* 146-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 `` /* 142-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 `` /* 169-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 of the Cloud SQL instance. // // It can be one of the // [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r) // where Cloud SQL operates: // // For example, `asia-east1`, `europe-west1`, and `us-central1`. // The default value is `us-central1`. 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. You must set root passwords // before you can connect to PostgreSQL instances. 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"` // This status indicates whether the instance satisfies PZS. // // The status is reserved for future use. SatisfiesPzs *wrappers.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 *timestamp.Timestamp `protobuf:"bytes,39,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. 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"` // Output only. All database versions that are available for upgrade. UpgradableDatabaseVersions []*AvailableDatabaseVersion `` /* 142-byte string literal not displayed */ // The SQL network architecture for the instance. SqlNetworkArchitecture *DatabaseInstance_SqlNetworkArchitecture `` /* 208-byte string literal not displayed */ // Output only. The link to service attachment of PSC instance. PscServiceAttachmentLink *string `` /* 144-byte string literal not displayed */ // Output only. The dns name of the instance. DnsName *string `protobuf:"bytes,49,opt,name=dns_name,json=dnsName,proto3,oneof" json:"dns_name,omitempty"` // Output only. DEPRECATED: please use write_endpoint instead. // // Deprecated: Do not use. PrimaryDnsName *string `protobuf:"bytes,51,opt,name=primary_dns_name,json=primaryDnsName,proto3,oneof" json:"primary_dns_name,omitempty"` // Output only. The dns name of the primary instance in a replication group. WriteEndpoint *string `protobuf:"bytes,52,opt,name=write_endpoint,json=writeEndpoint,proto3,oneof" json:"write_endpoint,omitempty"` // A primary instance and disaster recovery (DR) replica pair. // A DR replica is a cross-region replica that you designate // for failover in the event that the primary instance // experiences regional failure. Only applicable to MySQL. ReplicationCluster *ReplicationCluster `protobuf:"bytes,54,opt,name=replication_cluster,json=replicationCluster,proto3,oneof" json:"replication_cluster,omitempty"` // Gemini instance configuration. GeminiConfig *GeminiInstanceConfig `protobuf:"bytes,55,opt,name=gemini_config,json=geminiConfig,proto3,oneof" json:"gemini_config,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() *timestamp.Timestamp
func (*DatabaseInstance) GetCurrentDiskSize
deprecated
func (x *DatabaseInstance) GetCurrentDiskSize() *wrappers.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) GetDnsName ¶
func (x *DatabaseInstance) GetDnsName() string
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) GetGeminiConfig ¶
func (x *DatabaseInstance) GetGeminiConfig() *GeminiInstanceConfig
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() *wrappers.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) GetPrimaryDnsName
deprecated
func (x *DatabaseInstance) GetPrimaryDnsName() string
Deprecated: Do not use.
func (*DatabaseInstance) GetProject ¶
func (x *DatabaseInstance) GetProject() string
func (*DatabaseInstance) GetPscServiceAttachmentLink ¶
func (x *DatabaseInstance) GetPscServiceAttachmentLink() 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) GetReplicationCluster ¶
func (x *DatabaseInstance) GetReplicationCluster() *ReplicationCluster
func (*DatabaseInstance) GetRootPassword ¶
func (x *DatabaseInstance) GetRootPassword() string
func (*DatabaseInstance) GetSatisfiesPzs ¶
func (x *DatabaseInstance) GetSatisfiesPzs() *wrappers.BoolValue
func (*DatabaseInstance) GetScheduledMaintenance ¶
func (x *DatabaseInstance) GetScheduledMaintenance() *DatabaseInstance_SqlScheduledMaintenance
func (*DatabaseInstance) GetSecondaryGceZone ¶
func (x *DatabaseInstance) GetSecondaryGceZone() string
func (*DatabaseInstance) GetSelfLink ¶
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) GetSqlNetworkArchitecture ¶
func (x *DatabaseInstance) GetSqlNetworkArchitecture() DatabaseInstance_SqlNetworkArchitecture
func (*DatabaseInstance) GetState ¶
func (x *DatabaseInstance) GetState() DatabaseInstance_SqlInstanceState
func (*DatabaseInstance) GetSuspensionReason ¶
func (x *DatabaseInstance) GetSuspensionReason() []SqlSuspensionReason
func (*DatabaseInstance) GetUpgradableDatabaseVersions ¶
func (x *DatabaseInstance) GetUpgradableDatabaseVersions() []*AvailableDatabaseVersion
func (*DatabaseInstance) GetWriteEndpoint ¶
func (x *DatabaseInstance) GetWriteEndpoint() string
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 *wrappers.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 (x *DatabaseInstance_SqlFailoverReplica) GetAvailable() *wrappers.BoolValue
func (*DatabaseInstance_SqlFailoverReplica) GetName ¶
func (x *DatabaseInstance_SqlFailoverReplica) GetName() string
func (*DatabaseInstance_SqlFailoverReplica) ProtoMessage ¶
func (*DatabaseInstance_SqlFailoverReplica) ProtoMessage()
func (*DatabaseInstance_SqlFailoverReplica) ProtoReflect ¶
func (x *DatabaseInstance_SqlFailoverReplica) ProtoReflect() protoreflect.Message
func (*DatabaseInstance_SqlFailoverReplica) Reset ¶
func (x *DatabaseInstance_SqlFailoverReplica) Reset()
func (*DatabaseInstance_SqlFailoverReplica) String ¶
func (x *DatabaseInstance_SqlFailoverReplica) String() 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) Descriptor() protoreflect.EnumDescriptor
func (DatabaseInstance_SqlInstanceState) Enum ¶
func (x DatabaseInstance_SqlInstanceState) Enum() *DatabaseInstance_SqlInstanceState
func (DatabaseInstance_SqlInstanceState) EnumDescriptor
deprecated
func (DatabaseInstance_SqlInstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_SqlInstanceState.Descriptor instead.
func (DatabaseInstance_SqlInstanceState) Number ¶
func (x DatabaseInstance_SqlInstanceState) Number() protoreflect.EnumNumber
func (DatabaseInstance_SqlInstanceState) String ¶
func (x DatabaseInstance_SqlInstanceState) String() string
func (DatabaseInstance_SqlInstanceState) Type ¶
func (DatabaseInstance_SqlInstanceState) Type() protoreflect.EnumType
type DatabaseInstance_SqlNetworkArchitecture ¶
type DatabaseInstance_SqlNetworkArchitecture int32
The SQL network architecture for the instance.
const ( DatabaseInstance_SQL_NETWORK_ARCHITECTURE_UNSPECIFIED DatabaseInstance_SqlNetworkArchitecture = 0 // The instance uses the new network architecture. DatabaseInstance_NEW_NETWORK_ARCHITECTURE DatabaseInstance_SqlNetworkArchitecture = 1 // The instance uses the old network architecture. DatabaseInstance_OLD_NETWORK_ARCHITECTURE DatabaseInstance_SqlNetworkArchitecture = 2 )
func (DatabaseInstance_SqlNetworkArchitecture) Descriptor ¶
func (DatabaseInstance_SqlNetworkArchitecture) Descriptor() protoreflect.EnumDescriptor
func (DatabaseInstance_SqlNetworkArchitecture) EnumDescriptor
deprecated
func (DatabaseInstance_SqlNetworkArchitecture) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_SqlNetworkArchitecture.Descriptor instead.
func (DatabaseInstance_SqlNetworkArchitecture) Number ¶
func (x DatabaseInstance_SqlNetworkArchitecture) Number() protoreflect.EnumNumber
func (DatabaseInstance_SqlNetworkArchitecture) String ¶
func (x DatabaseInstance_SqlNetworkArchitecture) String() string
func (DatabaseInstance_SqlNetworkArchitecture) Type ¶
func (DatabaseInstance_SqlNetworkArchitecture) Type() protoreflect.EnumType
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 `` /* 210-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 (x *DatabaseInstance_SqlOutOfDiskReport) GetSqlOutOfDiskState() DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState
func (*DatabaseInstance_SqlOutOfDiskReport) ProtoMessage ¶
func (*DatabaseInstance_SqlOutOfDiskReport) ProtoMessage()
func (*DatabaseInstance_SqlOutOfDiskReport) ProtoReflect ¶
func (x *DatabaseInstance_SqlOutOfDiskReport) ProtoReflect() protoreflect.Message
func (*DatabaseInstance_SqlOutOfDiskReport) Reset ¶
func (x *DatabaseInstance_SqlOutOfDiskReport) Reset()
func (*DatabaseInstance_SqlOutOfDiskReport) String ¶
func (x *DatabaseInstance_SqlOutOfDiskReport) String() 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) Descriptor() protoreflect.EnumDescriptor
func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) EnumDescriptor
deprecated
func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState.Descriptor instead.
func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Number ¶
func (x DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) Number() protoreflect.EnumNumber
func (DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) String ¶
func (x DatabaseInstance_SqlOutOfDiskReport_SqlOutOfDiskState) String() string
type DatabaseInstance_SqlScheduledMaintenance ¶
type DatabaseInstance_SqlScheduledMaintenance struct { // The start time of any upcoming scheduled maintenance for this instance. StartTime *timestamp.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 *timestamp.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
func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanDefer() bool
Deprecated: Do not use.
func (*DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule() bool
func (*DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime() *timestamp.Timestamp
func (*DatabaseInstance_SqlScheduledMaintenance) GetStartTime ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) GetStartTime() *timestamp.Timestamp
func (*DatabaseInstance_SqlScheduledMaintenance) ProtoMessage ¶
func (*DatabaseInstance_SqlScheduledMaintenance) ProtoMessage()
func (*DatabaseInstance_SqlScheduledMaintenance) ProtoReflect ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) ProtoReflect() protoreflect.Message
func (*DatabaseInstance_SqlScheduledMaintenance) Reset ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) Reset()
func (*DatabaseInstance_SqlScheduledMaintenance) String ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) String() 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 DemoteContext ¶
type DemoteContext struct { // This is always `sql#demoteContext`. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Required. The name of the instance which acts as an on-premises primary // instance in the replication setup. SourceRepresentativeInstanceName string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
func (*DemoteContext) Descriptor
deprecated
func (*DemoteContext) Descriptor() ([]byte, []int)
Deprecated: Use DemoteContext.ProtoReflect.Descriptor instead.
func (*DemoteContext) GetKind ¶
func (x *DemoteContext) GetKind() string
func (*DemoteContext) GetSourceRepresentativeInstanceName ¶
func (x *DemoteContext) GetSourceRepresentativeInstanceName() string
func (*DemoteContext) ProtoMessage ¶
func (*DemoteContext) ProtoMessage()
func (*DemoteContext) ProtoReflect ¶
func (x *DemoteContext) ProtoReflect() protoreflect.Message
func (*DemoteContext) Reset ¶
func (x *DemoteContext) Reset()
func (*DemoteContext) String ¶
func (x *DemoteContext) 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 (x *DemoteMasterConfiguration) ProtoReflect() protoreflect.Message
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 *wrappers.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() *wrappers.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 (x *DemoteMasterMySqlReplicaConfiguration) GetClientKey() string
func (*DemoteMasterMySqlReplicaConfiguration) GetKind ¶
func (x *DemoteMasterMySqlReplicaConfiguration) GetKind() string
func (*DemoteMasterMySqlReplicaConfiguration) GetPassword ¶
func (x *DemoteMasterMySqlReplicaConfiguration) GetPassword() string
func (*DemoteMasterMySqlReplicaConfiguration) GetUsername ¶
func (x *DemoteMasterMySqlReplicaConfiguration) GetUsername() string
func (*DemoteMasterMySqlReplicaConfiguration) ProtoMessage ¶
func (*DemoteMasterMySqlReplicaConfiguration) ProtoMessage()
func (*DemoteMasterMySqlReplicaConfiguration) ProtoReflect ¶
func (x *DemoteMasterMySqlReplicaConfiguration) ProtoReflect() protoreflect.Message
func (*DemoteMasterMySqlReplicaConfiguration) Reset ¶
func (x *DemoteMasterMySqlReplicaConfiguration) Reset()
func (*DemoteMasterMySqlReplicaConfiguration) String ¶
func (x *DemoteMasterMySqlReplicaConfiguration) String() 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 (x *DiskEncryptionConfiguration) ProtoReflect() protoreflect.Message
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 `` /* 129-byte string literal not displayed */ // Option for export offload. Offload *wrappers.BoolValue `protobuf:"bytes,8,opt,name=offload,proto3" json:"offload,omitempty"` // Options for exporting data as BAK files. BakExportOptions *ExportContext_SqlBakExportOptions `protobuf:"bytes,9,opt,name=bak_export_options,json=bakExportOptions,proto3" json:"bak_export_options,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) GetBakExportOptions ¶
func (x *ExportContext) GetBakExportOptions() *ExportContext_SqlBakExportOptions
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() *wrappers.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_SqlBakExportOptions ¶
type ExportContext_SqlBakExportOptions struct { // Whether or not the export should be striped. Striped *wrappers.BoolValue `protobuf:"bytes,1,opt,name=striped,proto3" json:"striped,omitempty"` // Option for specifying how many stripes to use for the export. // If blank, and the value of the striped field is true, // the number of stripes is automatically chosen. StripeCount *wrappers.Int32Value `protobuf:"bytes,2,opt,name=stripe_count,json=stripeCount,proto3" json:"stripe_count,omitempty"` // Type of this bak file will be export, FULL or DIFF, SQL Server only BakType BakType `protobuf:"varint,4,opt,name=bak_type,json=bakType,proto3,enum=mockgcp.cloud.sql.v1beta4.BakType" json:"bak_type,omitempty"` // Deprecated: copy_only is deprecated. Use differential_base instead // // Deprecated: Do not use. CopyOnly *wrappers.BoolValue `protobuf:"bytes,5,opt,name=copy_only,json=copyOnly,proto3" json:"copy_only,omitempty"` // Whether or not the backup can be used as a differential base // copy_only backup can not be served as differential base DifferentialBase *wrappers.BoolValue `protobuf:"bytes,6,opt,name=differential_base,json=differentialBase,proto3" json:"differential_base,omitempty"` // contains filtered or unexported fields }
Options for exporting BAK files (SQL Server-only)
func (*ExportContext_SqlBakExportOptions) Descriptor
deprecated
func (*ExportContext_SqlBakExportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExportContext_SqlBakExportOptions.ProtoReflect.Descriptor instead.
func (*ExportContext_SqlBakExportOptions) GetBakType ¶
func (x *ExportContext_SqlBakExportOptions) GetBakType() BakType
func (*ExportContext_SqlBakExportOptions) GetCopyOnly
deprecated
func (x *ExportContext_SqlBakExportOptions) GetCopyOnly() *wrappers.BoolValue
Deprecated: Do not use.
func (*ExportContext_SqlBakExportOptions) GetDifferentialBase ¶
func (x *ExportContext_SqlBakExportOptions) GetDifferentialBase() *wrappers.BoolValue
func (*ExportContext_SqlBakExportOptions) GetStripeCount ¶
func (x *ExportContext_SqlBakExportOptions) GetStripeCount() *wrappers.Int32Value
func (*ExportContext_SqlBakExportOptions) GetStriped ¶
func (x *ExportContext_SqlBakExportOptions) GetStriped() *wrappers.BoolValue
func (*ExportContext_SqlBakExportOptions) ProtoMessage ¶
func (*ExportContext_SqlBakExportOptions) ProtoMessage()
func (*ExportContext_SqlBakExportOptions) ProtoReflect ¶
func (x *ExportContext_SqlBakExportOptions) ProtoReflect() protoreflect.Message
func (*ExportContext_SqlBakExportOptions) Reset ¶
func (x *ExportContext_SqlBakExportOptions) Reset()
func (*ExportContext_SqlBakExportOptions) String ¶
func (x *ExportContext_SqlBakExportOptions) 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 (x *ExportContext_SqlCsvExportOptions) ProtoReflect() protoreflect.Message
func (*ExportContext_SqlCsvExportOptions) Reset ¶
func (x *ExportContext_SqlCsvExportOptions) Reset()
func (*ExportContext_SqlCsvExportOptions) String ¶
func (x *ExportContext_SqlCsvExportOptions) String() 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 *wrappers.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"` // Optional. The number of threads to use for parallel export. Threads *wrappers.Int32Value `protobuf:"bytes,4,opt,name=threads,proto3" json:"threads,omitempty"` // Optional. Whether or not the export should be parallel. Parallel *wrappers.BoolValue `protobuf:"bytes,5,opt,name=parallel,proto3" json:"parallel,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 (x *ExportContext_SqlExportOptions) GetMysqlExportOptions() *ExportContext_SqlExportOptions_MysqlExportOptions
func (*ExportContext_SqlExportOptions) GetParallel ¶
func (x *ExportContext_SqlExportOptions) GetParallel() *wrappers.BoolValue
func (*ExportContext_SqlExportOptions) GetSchemaOnly ¶
func (x *ExportContext_SqlExportOptions) GetSchemaOnly() *wrappers.BoolValue
func (*ExportContext_SqlExportOptions) GetTables ¶
func (x *ExportContext_SqlExportOptions) GetTables() []string
func (*ExportContext_SqlExportOptions) GetThreads ¶
func (x *ExportContext_SqlExportOptions) GetThreads() *wrappers.Int32Value
func (*ExportContext_SqlExportOptions) ProtoMessage ¶
func (*ExportContext_SqlExportOptions) ProtoMessage()
func (*ExportContext_SqlExportOptions) ProtoReflect ¶
func (x *ExportContext_SqlExportOptions) ProtoReflect() protoreflect.Message
func (*ExportContext_SqlExportOptions) Reset ¶
func (x *ExportContext_SqlExportOptions) Reset()
func (*ExportContext_SqlExportOptions) String ¶
func (x *ExportContext_SqlExportOptions) String() 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 *wrappers.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
func (*ExportContext_SqlExportOptions_MysqlExportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExportContext_SqlExportOptions_MysqlExportOptions.ProtoReflect.Descriptor instead.
func (*ExportContext_SqlExportOptions_MysqlExportOptions) GetMasterData ¶
func (x *ExportContext_SqlExportOptions_MysqlExportOptions) GetMasterData() *wrappers.Int32Value
func (*ExportContext_SqlExportOptions_MysqlExportOptions) ProtoMessage ¶
func (*ExportContext_SqlExportOptions_MysqlExportOptions) ProtoMessage()
func (*ExportContext_SqlExportOptions_MysqlExportOptions) ProtoReflect ¶
func (x *ExportContext_SqlExportOptions_MysqlExportOptions) ProtoReflect() protoreflect.Message
func (*ExportContext_SqlExportOptions_MysqlExportOptions) Reset ¶
func (x *ExportContext_SqlExportOptions_MysqlExportOptions) Reset()
func (*ExportContext_SqlExportOptions_MysqlExportOptions) String ¶
func (x *ExportContext_SqlExportOptions_MysqlExportOptions) String() string
type ExternalSyncParallelLevel ¶
type ExternalSyncParallelLevel int32
External Sync parallel level.
const ( // Unknown sync parallel level. Will be defaulted to OPTIMAL. ExternalSyncParallelLevel_EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED ExternalSyncParallelLevel = 0 // Minimal parallel level. ExternalSyncParallelLevel_MIN ExternalSyncParallelLevel = 1 // Optimal parallel level. ExternalSyncParallelLevel_OPTIMAL ExternalSyncParallelLevel = 2 // Maximum parallel level. ExternalSyncParallelLevel_MAX ExternalSyncParallelLevel = 3 )
func (ExternalSyncParallelLevel) Descriptor ¶
func (ExternalSyncParallelLevel) Descriptor() protoreflect.EnumDescriptor
func (ExternalSyncParallelLevel) Enum ¶
func (x ExternalSyncParallelLevel) Enum() *ExternalSyncParallelLevel
func (ExternalSyncParallelLevel) EnumDescriptor
deprecated
func (ExternalSyncParallelLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExternalSyncParallelLevel.Descriptor instead.
func (ExternalSyncParallelLevel) Number ¶
func (x ExternalSyncParallelLevel) Number() protoreflect.EnumNumber
func (ExternalSyncParallelLevel) String ¶
func (x ExternalSyncParallelLevel) String() string
func (ExternalSyncParallelLevel) Type ¶
func (ExternalSyncParallelLevel) Type() protoreflect.EnumType
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=mockgcp.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 `` /* 146-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 *wrappers.Int64Value `protobuf:"bytes,5,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` // For `INTEGER` flags, the maximum allowed value. MaxValue *wrappers.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 *wrappers.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 *wrappers.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) GetAllowedIntValues ¶
func (*Flag) GetAllowedStringValues ¶
func (*Flag) GetAppliesTo ¶
func (x *Flag) GetAppliesTo() []SqlDatabaseVersion
func (*Flag) GetMaxValue ¶
func (x *Flag) GetMaxValue() *wrappers.Int64Value
func (*Flag) GetMinValue ¶
func (x *Flag) GetMinValue() *wrappers.Int64Value
func (*Flag) GetRequiresRestart ¶
func (*Flag) GetType ¶
func (x *Flag) GetType() SqlFlagType
func (*Flag) ProtoMessage ¶
func (*Flag) ProtoMessage()
func (*Flag) ProtoReflect ¶
func (x *Flag) ProtoReflect() protoreflect.Message
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 GeminiInstanceConfig ¶
type GeminiInstanceConfig struct { // Output only. Whether Gemini is enabled. Entitled *bool `protobuf:"varint,1,opt,name=entitled,proto3,oneof" json:"entitled,omitempty"` // Output only. Whether the vacuum management is enabled. GoogleVacuumMgmtEnabled *bool `` /* 141-byte string literal not displayed */ // Output only. Whether canceling the out-of-memory (OOM) session is enabled. OomSessionCancelEnabled *bool `` /* 141-byte string literal not displayed */ // Output only. Whether the active query is enabled. ActiveQueryEnabled *bool `protobuf:"varint,4,opt,name=active_query_enabled,json=activeQueryEnabled,proto3,oneof" json:"active_query_enabled,omitempty"` // Output only. Whether the index advisor is enabled. IndexAdvisorEnabled *bool `` /* 127-byte string literal not displayed */ // Output only. Whether the flag recommender is enabled. FlagRecommenderEnabled *bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
Gemini instance configuration.
func (*GeminiInstanceConfig) Descriptor
deprecated
func (*GeminiInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use GeminiInstanceConfig.ProtoReflect.Descriptor instead.
func (*GeminiInstanceConfig) GetActiveQueryEnabled ¶
func (x *GeminiInstanceConfig) GetActiveQueryEnabled() bool
func (*GeminiInstanceConfig) GetEntitled ¶
func (x *GeminiInstanceConfig) GetEntitled() bool
func (*GeminiInstanceConfig) GetFlagRecommenderEnabled ¶
func (x *GeminiInstanceConfig) GetFlagRecommenderEnabled() bool
func (*GeminiInstanceConfig) GetGoogleVacuumMgmtEnabled ¶
func (x *GeminiInstanceConfig) GetGoogleVacuumMgmtEnabled() bool
func (*GeminiInstanceConfig) GetIndexAdvisorEnabled ¶
func (x *GeminiInstanceConfig) GetIndexAdvisorEnabled() bool
func (*GeminiInstanceConfig) GetOomSessionCancelEnabled ¶
func (x *GeminiInstanceConfig) GetOomSessionCancelEnabled() bool
func (*GeminiInstanceConfig) ProtoMessage ¶
func (*GeminiInstanceConfig) ProtoMessage()
func (*GeminiInstanceConfig) ProtoReflect ¶
func (x *GeminiInstanceConfig) ProtoReflect() protoreflect.Message
func (*GeminiInstanceConfig) Reset ¶
func (x *GeminiInstanceConfig) Reset()
func (*GeminiInstanceConfig) String ¶
func (x *GeminiInstanceConfig) 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 *timestamp.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 *duration.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 (x *GenerateEphemeralCertRequest) GetReadTime() *timestamp.Timestamp
func (*GenerateEphemeralCertRequest) GetValidDuration ¶
func (x *GenerateEphemeralCertRequest) GetValidDuration() *duration.Duration
func (*GenerateEphemeralCertRequest) ProtoMessage ¶
func (*GenerateEphemeralCertRequest) ProtoMessage()
func (*GenerateEphemeralCertRequest) ProtoReflect ¶
func (x *GenerateEphemeralCertRequest) ProtoReflect() protoreflect.Message
func (*GenerateEphemeralCertRequest) Reset ¶
func (x *GenerateEphemeralCertRequest) Reset()
func (*GenerateEphemeralCertRequest) String ¶
func (x *GenerateEphemeralCertRequest) String() 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 (x *GenerateEphemeralCertResponse) ProtoReflect() protoreflect.Message
func (*GenerateEphemeralCertResponse) Reset ¶
func (x *GenerateEphemeralCertResponse) Reset()
func (*GenerateEphemeralCertResponse) String ¶
func (x *GenerateEphemeralCertResponse) String() 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 *timestamp.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 (x *GetConnectSettingsRequest) GetReadTime() *timestamp.Timestamp
func (*GetConnectSettingsRequest) ProtoMessage ¶
func (*GetConnectSettingsRequest) ProtoMessage()
func (*GetConnectSettingsRequest) ProtoReflect ¶
func (x *GetConnectSettingsRequest) ProtoReflect() protoreflect.Message
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 `` /* 129-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"` // Optional. Options for importing data from SQL statements. SqlImportOptions *ImportContext_SqlImportOptions `protobuf:"bytes,8,opt,name=sql_import_options,json=sqlImportOptions,proto3" json:"sql_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) GetSqlImportOptions ¶
func (x *ImportContext) GetSqlImportOptions() *ImportContext_SqlImportOptions
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"` // Whether or not the backup set being restored is striped. // Applies only to Cloud SQL for SQL Server. Striped *wrappers.BoolValue `protobuf:"bytes,2,opt,name=striped,proto3" json:"striped,omitempty"` // Whether or not the backup importing will restore database // with NORECOVERY option // Applies only to Cloud SQL for SQL Server. NoRecovery *wrappers.BoolValue `protobuf:"bytes,4,opt,name=no_recovery,json=noRecovery,proto3" json:"no_recovery,omitempty"` // Whether or not the backup importing request will just bring database // online without downloading Bak content only one of "no_recovery" and // "recovery_only" can be true otherwise error will return. Applies only to // Cloud SQL for SQL Server. RecoveryOnly *wrappers.BoolValue `protobuf:"bytes,5,opt,name=recovery_only,json=recoveryOnly,proto3" json:"recovery_only,omitempty"` // Type of the bak content, FULL or DIFF. BakType BakType `protobuf:"varint,6,opt,name=bak_type,json=bakType,proto3,enum=mockgcp.cloud.sql.v1beta4.BakType" json:"bak_type,omitempty"` // Optional. The timestamp when the import should stop. This timestamp is in // the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, // `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT // keyword and applies to Cloud SQL for SQL Server only. StopAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=stop_at,json=stopAt,proto3" json:"stop_at,omitempty"` // Optional. The marked transaction where the import should stop. This field // is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL // Server only. StopAtMark string `protobuf:"bytes,8,opt,name=stop_at_mark,json=stopAtMark,proto3" json:"stop_at_mark,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) GetBakType ¶
func (x *ImportContext_SqlBakImportOptions) GetBakType() BakType
func (*ImportContext_SqlBakImportOptions) GetEncryptionOptions ¶
func (x *ImportContext_SqlBakImportOptions) GetEncryptionOptions() *ImportContext_SqlBakImportOptions_EncryptionOptions
func (*ImportContext_SqlBakImportOptions) GetNoRecovery ¶
func (x *ImportContext_SqlBakImportOptions) GetNoRecovery() *wrappers.BoolValue
func (*ImportContext_SqlBakImportOptions) GetRecoveryOnly ¶
func (x *ImportContext_SqlBakImportOptions) GetRecoveryOnly() *wrappers.BoolValue
func (*ImportContext_SqlBakImportOptions) GetStopAt ¶
func (x *ImportContext_SqlBakImportOptions) GetStopAt() *timestamp.Timestamp
func (*ImportContext_SqlBakImportOptions) GetStopAtMark ¶
func (x *ImportContext_SqlBakImportOptions) GetStopAtMark() string
func (*ImportContext_SqlBakImportOptions) GetStriped ¶
func (x *ImportContext_SqlBakImportOptions) GetStriped() *wrappers.BoolValue
func (*ImportContext_SqlBakImportOptions) ProtoMessage ¶
func (*ImportContext_SqlBakImportOptions) ProtoMessage()
func (*ImportContext_SqlBakImportOptions) ProtoReflect ¶
func (x *ImportContext_SqlBakImportOptions) ProtoReflect() protoreflect.Message
func (*ImportContext_SqlBakImportOptions) Reset ¶
func (x *ImportContext_SqlBakImportOptions) Reset()
func (*ImportContext_SqlBakImportOptions) String ¶
func (x *ImportContext_SqlBakImportOptions) String() 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
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImportContext_SqlBakImportOptions_EncryptionOptions.ProtoReflect.Descriptor instead.
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) GetCertPath ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetCertPath() string
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPassword ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPassword() string
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPath ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetPvkPath() string
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoMessage ¶
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoMessage()
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoReflect ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) ProtoReflect() protoreflect.Message
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) Reset ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) Reset()
func (*ImportContext_SqlBakImportOptions_EncryptionOptions) String ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) String() 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 (x *ImportContext_SqlCsvImportOptions) GetTable() string
func (*ImportContext_SqlCsvImportOptions) ProtoMessage ¶
func (*ImportContext_SqlCsvImportOptions) ProtoMessage()
func (*ImportContext_SqlCsvImportOptions) ProtoReflect ¶
func (x *ImportContext_SqlCsvImportOptions) ProtoReflect() protoreflect.Message
func (*ImportContext_SqlCsvImportOptions) Reset ¶
func (x *ImportContext_SqlCsvImportOptions) Reset()
func (*ImportContext_SqlCsvImportOptions) String ¶
func (x *ImportContext_SqlCsvImportOptions) String() string
type ImportContext_SqlImportOptions ¶
type ImportContext_SqlImportOptions struct { // Optional. The number of threads to use for parallel import. Threads *wrappers.Int32Value `protobuf:"bytes,1,opt,name=threads,proto3" json:"threads,omitempty"` // Optional. Whether or not the import should be parallel. Parallel *wrappers.BoolValue `protobuf:"bytes,2,opt,name=parallel,proto3" json:"parallel,omitempty"` // contains filtered or unexported fields }
func (*ImportContext_SqlImportOptions) Descriptor
deprecated
func (*ImportContext_SqlImportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImportContext_SqlImportOptions.ProtoReflect.Descriptor instead.
func (*ImportContext_SqlImportOptions) GetParallel ¶
func (x *ImportContext_SqlImportOptions) GetParallel() *wrappers.BoolValue
func (*ImportContext_SqlImportOptions) GetThreads ¶
func (x *ImportContext_SqlImportOptions) GetThreads() *wrappers.Int32Value
func (*ImportContext_SqlImportOptions) ProtoMessage ¶
func (*ImportContext_SqlImportOptions) ProtoMessage()
func (*ImportContext_SqlImportOptions) ProtoReflect ¶
func (x *ImportContext_SqlImportOptions) ProtoReflect() protoreflect.Message
func (*ImportContext_SqlImportOptions) Reset ¶
func (x *ImportContext_SqlImportOptions) Reset()
func (*ImportContext_SqlImportOptions) String ¶
func (x *ImportContext_SqlImportOptions) String() 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 *wrappers.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 *wrappers.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() *wrappers.Int32Value
func (*InsightsConfig) GetQueryStringLength ¶
func (x *InsightsConfig) GetQueryStringLength() *wrappers.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 InstancesAcquireSsrsLeaseRequest ¶
type InstancesAcquireSsrsLeaseRequest struct { // Contains details about the acquire SSRS lease operation. AcquireSsrsLeaseContext *AcquireSsrsLeaseContext `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
Request to acquire an SSRS lease for an instance.
func (*InstancesAcquireSsrsLeaseRequest) Descriptor
deprecated
func (*InstancesAcquireSsrsLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesAcquireSsrsLeaseRequest.ProtoReflect.Descriptor instead.
func (*InstancesAcquireSsrsLeaseRequest) GetAcquireSsrsLeaseContext ¶
func (x *InstancesAcquireSsrsLeaseRequest) GetAcquireSsrsLeaseContext() *AcquireSsrsLeaseContext
func (*InstancesAcquireSsrsLeaseRequest) ProtoMessage ¶
func (*InstancesAcquireSsrsLeaseRequest) ProtoMessage()
func (*InstancesAcquireSsrsLeaseRequest) ProtoReflect ¶
func (x *InstancesAcquireSsrsLeaseRequest) ProtoReflect() protoreflect.Message
func (*InstancesAcquireSsrsLeaseRequest) Reset ¶
func (x *InstancesAcquireSsrsLeaseRequest) Reset()
func (*InstancesAcquireSsrsLeaseRequest) String ¶
func (x *InstancesAcquireSsrsLeaseRequest) 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 (x *InstancesDemoteMasterRequest) ProtoReflect() protoreflect.Message
func (*InstancesDemoteMasterRequest) Reset ¶
func (x *InstancesDemoteMasterRequest) Reset()
func (*InstancesDemoteMasterRequest) String ¶
func (x *InstancesDemoteMasterRequest) String() string
type InstancesDemoteRequest ¶
type InstancesDemoteRequest struct { // Required. This context is used to demote an existing standalone instance to // be a Cloud SQL read replica for an external database server. DemoteContext *DemoteContext `protobuf:"bytes,1,opt,name=demote_context,json=demoteContext,proto3" json:"demote_context,omitempty"` // contains filtered or unexported fields }
This request is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
func (*InstancesDemoteRequest) Descriptor
deprecated
func (*InstancesDemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesDemoteRequest.ProtoReflect.Descriptor instead.
func (*InstancesDemoteRequest) GetDemoteContext ¶
func (x *InstancesDemoteRequest) GetDemoteContext() *DemoteContext
func (*InstancesDemoteRequest) ProtoMessage ¶
func (*InstancesDemoteRequest) ProtoMessage()
func (*InstancesDemoteRequest) ProtoReflect ¶
func (x *InstancesDemoteRequest) ProtoReflect() protoreflect.Message
func (*InstancesDemoteRequest) Reset ¶
func (x *InstancesDemoteRequest) Reset()
func (*InstancesDemoteRequest) String ¶
func (x *InstancesDemoteRequest) String() 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 (x *InstancesListServerCasResponse) GetKind() string
func (*InstancesListServerCasResponse) ProtoMessage ¶
func (*InstancesListServerCasResponse) ProtoMessage()
func (*InstancesListServerCasResponse) ProtoReflect ¶
func (x *InstancesListServerCasResponse) ProtoReflect() protoreflect.Message
func (*InstancesListServerCasResponse) Reset ¶
func (x *InstancesListServerCasResponse) Reset()
func (*InstancesListServerCasResponse) String ¶
func (x *InstancesListServerCasResponse) String() string
type InstancesReencryptRequest ¶
type InstancesReencryptRequest struct { // Configuration specific to backup re-encryption BackupReencryptionConfig *BackupReencryptionConfig `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Database Instance reencrypt request.
func (*InstancesReencryptRequest) Descriptor
deprecated
func (*InstancesReencryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesReencryptRequest.ProtoReflect.Descriptor instead.
func (*InstancesReencryptRequest) GetBackupReencryptionConfig ¶
func (x *InstancesReencryptRequest) GetBackupReencryptionConfig() *BackupReencryptionConfig
func (*InstancesReencryptRequest) ProtoMessage ¶
func (*InstancesReencryptRequest) ProtoMessage()
func (*InstancesReencryptRequest) ProtoReflect ¶
func (x *InstancesReencryptRequest) ProtoReflect() protoreflect.Message
func (*InstancesReencryptRequest) Reset ¶
func (x *InstancesReencryptRequest) Reset()
func (*InstancesReencryptRequest) String ¶
func (x *InstancesReencryptRequest) String() 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 (x *InstancesRestoreBackupRequest) ProtoReflect() protoreflect.Message
func (*InstancesRestoreBackupRequest) Reset ¶
func (x *InstancesRestoreBackupRequest) Reset()
func (*InstancesRestoreBackupRequest) String ¶
func (x *InstancesRestoreBackupRequest) String() 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 (x *InstancesRotateServerCaRequest) ProtoReflect() protoreflect.Message
func (*InstancesRotateServerCaRequest) Reset ¶
func (x *InstancesRotateServerCaRequest) Reset()
func (*InstancesRotateServerCaRequest) String ¶
func (x *InstancesRotateServerCaRequest) String() 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 (x *InstancesTruncateLogRequest) ProtoReflect() protoreflect.Message
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 *wrappers.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"` // Use `ssl_mode` instead. // // Whether SSL/TLS connections over IP are enforced. // If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. // For SSL/TLS connections, the client certificate won't be verified. If // set to true, then only allow connections encrypted with SSL/TLS and with // valid client certificates. If you want to enforce SSL/TLS without enforcing // the requirement for valid client certificates, then use the `ssl_mode` flag // instead of the legacy `require_ssl` flag. RequireSsl *wrappers.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 Cloud SQL 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"` // Controls connectivity to private IP instances from Google services, // such as BigQuery. EnablePrivatePathForGoogleCloudServices *wrappers.BoolValue `` /* 188-byte string literal not displayed */ // Specify how SSL/TLS is enforced in database connections. If you must use // the `require_ssl` flag for backward compatibility, then only the following // value pairs are valid: // // For PostgreSQL and MySQL: // // * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` // * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` // * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` // // For SQL Server: // // * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` // * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` // // The value of `ssl_mode` has priority over the value of `require_ssl`. // // For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and // `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL // connections, while `require_ssl=false` means accept both non-SSL // and SSL connections. In this case, MySQL and PostgreSQL databases respect // `ssl_mode` and accepts only SSL connections. SslMode IpConfiguration_SslMode `` /* 138-byte string literal not displayed */ // PSC settings for this instance. PscConfig *PscConfig `protobuf:"bytes,9,opt,name=psc_config,json=pscConfig,proto3,oneof" json:"psc_config,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) GetEnablePrivatePathForGoogleCloudServices ¶
func (x *IpConfiguration) GetEnablePrivatePathForGoogleCloudServices() *wrappers.BoolValue
func (*IpConfiguration) GetIpv4Enabled ¶
func (x *IpConfiguration) GetIpv4Enabled() *wrappers.BoolValue
func (*IpConfiguration) GetPrivateNetwork ¶
func (x *IpConfiguration) GetPrivateNetwork() string
func (*IpConfiguration) GetPscConfig ¶
func (x *IpConfiguration) GetPscConfig() *PscConfig
func (*IpConfiguration) GetRequireSsl ¶
func (x *IpConfiguration) GetRequireSsl() *wrappers.BoolValue
func (*IpConfiguration) GetSslMode ¶
func (x *IpConfiguration) GetSslMode() IpConfiguration_SslMode
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 IpConfiguration_SslMode ¶
type IpConfiguration_SslMode int32
The SSL options for database connections.
const ( // The SSL mode is unknown. IpConfiguration_SSL_MODE_UNSPECIFIED IpConfiguration_SslMode = 0 // Allow non-SSL/non-TLS and SSL/TLS connections. // For SSL connections to MySQL and PostgreSQL, the client certificate // isn't verified. // // When this value is used, the legacy `require_ssl` flag must be false or // cleared to avoid a conflict between the values of the two flags. IpConfiguration_ALLOW_UNENCRYPTED_AND_ENCRYPTED IpConfiguration_SslMode = 1 // Only allow connections encrypted with SSL/TLS. // For SSL connections to MySQL and PostgreSQL, the client certificate // isn't verified. // // When this value is used, the legacy `require_ssl` flag must be false or // cleared to avoid a conflict between the values of the two flags. IpConfiguration_ENCRYPTED_ONLY IpConfiguration_SslMode = 2 // Only allow connections encrypted with SSL/TLS and with valid // client certificates. // // When this value is used, the legacy `require_ssl` flag must be true or // cleared to avoid the conflict between values of two flags. // PostgreSQL clients or users that connect using IAM database // authentication must use either the // [Cloud SQL Auth // Proxy](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy) or // [Cloud SQL // Connectors](https://cloud.google.com/sql/docs/postgres/connect-connectors) // to enforce client identity verification. // // Only applicable to MySQL and PostgreSQL. Not applicable to SQL Server. IpConfiguration_TRUSTED_CLIENT_CERTIFICATE_REQUIRED IpConfiguration_SslMode = 3 )
func (IpConfiguration_SslMode) Descriptor ¶
func (IpConfiguration_SslMode) Descriptor() protoreflect.EnumDescriptor
func (IpConfiguration_SslMode) Enum ¶
func (x IpConfiguration_SslMode) Enum() *IpConfiguration_SslMode
func (IpConfiguration_SslMode) EnumDescriptor
deprecated
func (IpConfiguration_SslMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpConfiguration_SslMode.Descriptor instead.
func (IpConfiguration_SslMode) Number ¶
func (x IpConfiguration_SslMode) Number() protoreflect.EnumNumber
func (IpConfiguration_SslMode) String ¶
func (x IpConfiguration_SslMode) String() string
func (IpConfiguration_SslMode) Type ¶
func (IpConfiguration_SslMode) Type() protoreflect.EnumType
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=mockgcp.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 *timestamp.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) GetIpAddress ¶
func (*IpMapping) GetTimeToRetire ¶
func (*IpMapping) GetType ¶
func (x *IpMapping) GetType() SqlIpAddressType
func (*IpMapping) ProtoMessage ¶
func (*IpMapping) ProtoMessage()
func (*IpMapping) ProtoReflect ¶
func (x *IpMapping) ProtoReflect() protoreflect.Message
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.). // To disable this field, set it to 'no_secondary_zone'. 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 *wrappers.Int32Value `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"` // day of week (1-7), starting on Monday. Day *wrappers.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 `` /* 141-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 (x *MaintenanceWindow) GetDay() *wrappers.Int32Value
func (*MaintenanceWindow) GetHour ¶
func (x *MaintenanceWindow) GetHour() *wrappers.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 *wrappers.Int32Value `protobuf:"bytes,4,opt,name=connect_retry_interval,json=connectRetryInterval,proto3" json:"connect_retry_interval,omitempty"` // Interval in milliseconds between replication heartbeats. MasterHeartbeatPeriod *wrappers.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 *wrappers.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() *wrappers.Int32Value
func (*MySqlReplicaConfiguration) GetDumpFilePath ¶
func (x *MySqlReplicaConfiguration) GetDumpFilePath() string
func (*MySqlReplicaConfiguration) GetKind ¶
func (x *MySqlReplicaConfiguration) GetKind() string
func (*MySqlReplicaConfiguration) GetMasterHeartbeatPeriod ¶
func (x *MySqlReplicaConfiguration) GetMasterHeartbeatPeriod() *wrappers.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() *wrappers.BoolValue
func (*MySqlReplicaConfiguration) ProtoMessage ¶
func (*MySqlReplicaConfiguration) ProtoMessage()
func (*MySqlReplicaConfiguration) ProtoReflect ¶
func (x *MySqlReplicaConfiguration) ProtoReflect() protoreflect.Message
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 `` /* 126-byte string literal not displayed */ // 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 *timestamp.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 *timestamp.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 *timestamp.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"` // An Admin API warning message. ApiWarning *ApiWarning `protobuf:"bytes,19,opt,name=api_warning,json=apiWarning,proto3" json:"api_warning,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 `` /* 159-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"` // The context for acquire SSRS lease operation, if applicable. AcquireSsrsLeaseContext *AcquireSsrsLeaseContext `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
An Operation resource. 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) GetAcquireSsrsLeaseContext ¶
func (x *Operation) GetAcquireSsrsLeaseContext() *AcquireSsrsLeaseContext
func (*Operation) GetApiWarning ¶
func (x *Operation) GetApiWarning() *ApiWarning
func (*Operation) GetBackupContext ¶
func (x *Operation) GetBackupContext() *BackupContext
func (*Operation) GetEndTime ¶
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 (*Operation) GetOperationType ¶
func (x *Operation) GetOperationType() Operation_SqlOperationType
func (*Operation) GetSelfLink ¶
func (*Operation) GetStartTime ¶
func (*Operation) GetStatus ¶
func (x *Operation) GetStatus() Operation_SqlOperationStatus
func (*Operation) GetTargetId ¶
func (*Operation) GetTargetLink ¶
func (*Operation) GetTargetProject ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (Operation_SqlOperationStatus) Enum ¶
func (x Operation_SqlOperationStatus) Enum() *Operation_SqlOperationStatus
func (Operation_SqlOperationStatus) EnumDescriptor
deprecated
func (Operation_SqlOperationStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_SqlOperationStatus.Descriptor instead.
func (Operation_SqlOperationStatus) Number ¶
func (x Operation_SqlOperationStatus) Number() protoreflect.EnumNumber
func (Operation_SqlOperationStatus) String ¶
func (x Operation_SqlOperationStatus) String() string
func (Operation_SqlOperationStatus) Type ¶
func (Operation_SqlOperationStatus) Type() protoreflect.EnumType
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 // Recovers logs from an instance's old data disk. Operation_LOG_CLEANUP Operation_SqlOperationType = 36 // Performs auto-restart of an HA-enabled Cloud SQL database for auto // recovery. Operation_AUTO_RESTART Operation_SqlOperationType = 37 // Re-encrypts CMEK instances with latest key version. Operation_REENCRYPT Operation_SqlOperationType = 38 // Switches the roles of the primary and replica pair. The target instance // should be the replica. Operation_SWITCHOVER Operation_SqlOperationType = 39 // Acquire a lease for the setup of SQL Server Reporting Services (SSRS). Operation_ACQUIRE_SSRS_LEASE Operation_SqlOperationType = 42 // Release a lease for the setup of SQL Server Reporting Services (SSRS). Operation_RELEASE_SSRS_LEASE Operation_SqlOperationType = 43 // Reconfigures old primary after a promote replica operation. Effect of a // promote operation to the old primary is executed in this operation, // asynchronously from the promote replica operation executed to the // replica. Operation_RECONFIGURE_OLD_PRIMARY Operation_SqlOperationType = 44 // Indicates that the instance, its read replicas, and its cascading // replicas are in maintenance. Maintenance typically gets initiated on // groups of replicas first, followed by the primary instance. For each // instance, maintenance typically causes the instance to be unavailable for // 1-3 minutes. Operation_CLUSTER_MAINTENANCE Operation_SqlOperationType = 45 // Indicates that the instance (and any of its replicas) are currently in // maintenance. This is initiated as a self-service request by using SSM. // Maintenance typically causes the instance to be unavailable for 1-3 // minutes. Operation_SELF_SERVICE_MAINTENANCE Operation_SqlOperationType = 46 // Switches a primary instance to a replica. This operation runs as part of // a switchover operation to the original primary instance. Operation_SWITCHOVER_TO_REPLICA Operation_SqlOperationType = 47 )
func (Operation_SqlOperationType) Descriptor ¶
func (Operation_SqlOperationType) Descriptor() protoreflect.EnumDescriptor
func (Operation_SqlOperationType) Enum ¶
func (x Operation_SqlOperationType) Enum() *Operation_SqlOperationType
func (Operation_SqlOperationType) EnumDescriptor
deprecated
func (Operation_SqlOperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_SqlOperationType.Descriptor instead.
func (Operation_SqlOperationType) Number ¶
func (x Operation_SqlOperationType) Number() protoreflect.EnumNumber
func (Operation_SqlOperationType) String ¶
func (x Operation_SqlOperationType) String() string
func (Operation_SqlOperationType) Type ¶
func (Operation_SqlOperationType) Type() protoreflect.EnumType
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 *timestamp.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() *timestamp.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 *wrappers.Int32Value `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` // The complexity of the password. Complexity PasswordValidationPolicy_Complexity `` /* 141-byte string literal not displayed */ // Number of previous passwords that cannot be reused. ReuseInterval *wrappers.Int32Value `protobuf:"bytes,3,opt,name=reuse_interval,json=reuseInterval,proto3" json:"reuse_interval,omitempty"` // Disallow username as a part of the password. DisallowUsernameSubstring *wrappers.BoolValue `` /* 138-byte string literal not displayed */ // Minimum interval after which the password can be changed. This flag is only // supported for PostgreSQL. PasswordChangeInterval *duration.Duration `` /* 129-byte string literal not displayed */ // Whether the password policy is enabled or not. EnablePasswordPolicy *wrappers.BoolValue `protobuf:"bytes,6,opt,name=enable_password_policy,json=enablePasswordPolicy,proto3" json:"enable_password_policy,omitempty"` // This field is deprecated and will be removed in a future version of the // API. // // Deprecated: Do not use. DisallowCompromisedCredentials *wrappers.BoolValue `` /* 153-byte string literal not displayed */ // 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 (x *PasswordValidationPolicy) GetComplexity() PasswordValidationPolicy_Complexity
func (*PasswordValidationPolicy) GetDisallowCompromisedCredentials
deprecated
func (x *PasswordValidationPolicy) GetDisallowCompromisedCredentials() *wrappers.BoolValue
Deprecated: Do not use.
func (*PasswordValidationPolicy) GetDisallowUsernameSubstring ¶
func (x *PasswordValidationPolicy) GetDisallowUsernameSubstring() *wrappers.BoolValue
func (*PasswordValidationPolicy) GetEnablePasswordPolicy ¶
func (x *PasswordValidationPolicy) GetEnablePasswordPolicy() *wrappers.BoolValue
func (*PasswordValidationPolicy) GetMinLength ¶
func (x *PasswordValidationPolicy) GetMinLength() *wrappers.Int32Value
func (*PasswordValidationPolicy) GetPasswordChangeInterval ¶
func (x *PasswordValidationPolicy) GetPasswordChangeInterval() *duration.Duration
func (*PasswordValidationPolicy) GetReuseInterval ¶
func (x *PasswordValidationPolicy) GetReuseInterval() *wrappers.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) Descriptor() protoreflect.EnumDescriptor
func (PasswordValidationPolicy_Complexity) Enum ¶
func (x PasswordValidationPolicy_Complexity) Enum() *PasswordValidationPolicy_Complexity
func (PasswordValidationPolicy_Complexity) EnumDescriptor
deprecated
func (PasswordValidationPolicy_Complexity) EnumDescriptor() ([]byte, []int)
Deprecated: Use PasswordValidationPolicy_Complexity.Descriptor instead.
func (PasswordValidationPolicy_Complexity) Number ¶
func (x PasswordValidationPolicy_Complexity) Number() protoreflect.EnumNumber
func (PasswordValidationPolicy_Complexity) String ¶
func (x PasswordValidationPolicy_Complexity) String() string
func (PasswordValidationPolicy_Complexity) Type ¶
func (PasswordValidationPolicy_Complexity) Type() protoreflect.EnumType
type PerformDiskShrinkContext ¶
type PerformDiskShrinkContext struct { // The target disk shrink size in GigaBytes. TargetSizeGb int64 `protobuf:"varint,1,opt,name=target_size_gb,json=targetSizeGb,proto3" json:"target_size_gb,omitempty"` // contains filtered or unexported fields }
Perform disk shrink context.
func (*PerformDiskShrinkContext) Descriptor
deprecated
func (*PerformDiskShrinkContext) Descriptor() ([]byte, []int)
Deprecated: Use PerformDiskShrinkContext.ProtoReflect.Descriptor instead.
func (*PerformDiskShrinkContext) GetTargetSizeGb ¶
func (x *PerformDiskShrinkContext) GetTargetSizeGb() int64
func (*PerformDiskShrinkContext) ProtoMessage ¶
func (*PerformDiskShrinkContext) ProtoMessage()
func (*PerformDiskShrinkContext) ProtoReflect ¶
func (x *PerformDiskShrinkContext) ProtoReflect() protoreflect.Message
func (*PerformDiskShrinkContext) Reset ¶
func (x *PerformDiskShrinkContext) Reset()
func (*PerformDiskShrinkContext) String ¶
func (x *PerformDiskShrinkContext) String() string
type PscConfig ¶
type PscConfig struct { // Whether PSC connectivity is enabled for this instance. PscEnabled *bool `protobuf:"varint,1,opt,name=psc_enabled,json=pscEnabled,proto3,oneof" json:"psc_enabled,omitempty"` // Optional. The list of consumer projects that are allow-listed for PSC // connections to this instance. This instance can be connected to with PSC // from any network in these projects. // // Each consumer project in this list may be represented by a project number // (numeric) or by a project id (alphanumeric). AllowedConsumerProjects []string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
PSC settings for a Cloud SQL instance.
func (*PscConfig) Descriptor
deprecated
func (*PscConfig) GetAllowedConsumerProjects ¶
func (*PscConfig) GetPscEnabled ¶
func (*PscConfig) ProtoMessage ¶
func (*PscConfig) ProtoMessage()
func (*PscConfig) ProtoReflect ¶
func (x *PscConfig) ProtoReflect() protoreflect.Message
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 *wrappers.BoolValue `protobuf:"bytes,3,opt,name=failover_target,json=failoverTarget,proto3" json:"failover_target,omitempty"` // Optional. Specifies if a SQL Server replica is a cascadable replica. A // cascadable replica is a SQL Server cross region replica that supports // replica(s) under it. CascadableReplica *wrappers.BoolValue `protobuf:"bytes,5,opt,name=cascadable_replica,json=cascadableReplica,proto3" json:"cascadable_replica,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) GetCascadableReplica ¶
func (x *ReplicaConfiguration) GetCascadableReplica() *wrappers.BoolValue
func (*ReplicaConfiguration) GetFailoverTarget ¶
func (x *ReplicaConfiguration) GetFailoverTarget() *wrappers.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 ReplicationCluster ¶
type ReplicationCluster struct { // Output only. If set, it indicates this instance has a private service // access (PSA) dns endpoint that is pointing to the primary instance of the // cluster. If this instance is the primary, the dns should be pointing to // this instance. After Switchover or Replica failover, this DNS endpoint // points to the promoted instance. This is a read-only field, returned to the // user as information. This field can exist even if a standalone instance // does not yet have a replica, or had a DR replica that was deleted. PsaWriteEndpoint *string `protobuf:"bytes,1,opt,name=psa_write_endpoint,json=psaWriteEndpoint,proto3,oneof" json:"psa_write_endpoint,omitempty"` // Optional. If the instance is a primary instance, then this field identifies // the disaster recovery (DR) replica. A DR replica is an optional // configuration for Enterprise Plus edition instances. If the instance is a // read replica, then the field is not set. Set this field to a replica name // to designate a DR replica for a primary instance. Remove the replica name // to remove the DR replica designation. FailoverDrReplicaName *string `` /* 134-byte string literal not displayed */ // Output only. Read-only field that indicates whether the replica is a DR // replica. This field is not set if the instance is a primary instance. DrReplica *bool `protobuf:"varint,4,opt,name=dr_replica,json=drReplica,proto3,oneof" json:"dr_replica,omitempty"` // contains filtered or unexported fields }
A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance has regional failure. Only applicable to MySQL.
func (*ReplicationCluster) Descriptor
deprecated
func (*ReplicationCluster) Descriptor() ([]byte, []int)
Deprecated: Use ReplicationCluster.ProtoReflect.Descriptor instead.
func (*ReplicationCluster) GetDrReplica ¶
func (x *ReplicationCluster) GetDrReplica() bool
func (*ReplicationCluster) GetFailoverDrReplicaName ¶
func (x *ReplicationCluster) GetFailoverDrReplicaName() string
func (*ReplicationCluster) GetPsaWriteEndpoint ¶
func (x *ReplicationCluster) GetPsaWriteEndpoint() string
func (*ReplicationCluster) ProtoMessage ¶
func (*ReplicationCluster) ProtoMessage()
func (*ReplicationCluster) ProtoReflect ¶
func (x *ReplicationCluster) ProtoReflect() protoreflect.Message
func (*ReplicationCluster) Reset ¶
func (x *ReplicationCluster) Reset()
func (*ReplicationCluster) String ¶
func (x *ReplicationCluster) 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 *wrappers.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 `` /* 161-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 `` /* 141-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 `` /* 157-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 *wrappers.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 `` /* 171-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 *wrappers.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 `` /* 148-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 *wrappers.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 *wrappers.BoolValue `` /* 147-byte string literal not displayed */ // The size of data disk, in GB. The data disk size minimum is 10GB. DataDiskSizeGb *wrappers.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 */ // Optional. The edition of the instance. Edition Settings_Edition `protobuf:"varint,38,opt,name=edition,proto3,enum=mockgcp.cloud.sql.v1beta4.Settings_Edition" json:"edition,omitempty"` // Specifies if connections must use Cloud SQL connectors. // Option values include the following: `NOT_REQUIRED` (Cloud SQL instances // can be connected without Cloud SQL // Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL // Connectors) // // Note that using REQUIRED disables all existing authorized networks. If // this field is not specified when creating a new instance, NOT_REQUIRED is // used. If this field is not specified when patching or updating an existing // instance, it is left unchanged in the instance. ConnectorEnforcement Settings_ConnectorEnforcement `` /* 184-byte string literal not displayed */ // Configuration to protect against accidental instance deletion. DeletionProtectionEnabled *wrappers.BoolValue `` /* 139-byte string literal not displayed */ // Server timezone, relevant only for Cloud SQL for SQL Server. TimeZone string `protobuf:"bytes,34,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // Specifies advanced machine configuration for the instances relevant only // for SQL Server. AdvancedMachineFeatures *AdvancedMachineFeatures `` /* 133-byte string literal not displayed */ // Configuration for data cache. DataCacheConfig *DataCacheConfig `protobuf:"bytes,37,opt,name=data_cache_config,json=dataCacheConfig,proto3" json:"data_cache_config,omitempty"` // Optional. When this parameter is set to true, Cloud SQL instances can // connect to Vertex AI to pass requests for real-time predictions and // insights to the AI. The default value is false. This applies only to Cloud // SQL for PostgreSQL instances. EnableGoogleMlIntegration *wrappers.BoolValue `` /* 141-byte string literal not displayed */ // Optional. By default, Cloud SQL instances have schema extraction disabled // for Dataplex. When this parameter is set to true, schema extraction for // Dataplex on Cloud SQL instances is activated. EnableDataplexIntegration *wrappers.BoolValue `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Database instance settings.
func (*Settings) Descriptor
deprecated
func (*Settings) GetActivationPolicy ¶
func (x *Settings) GetActivationPolicy() Settings_SqlActivationPolicy
func (*Settings) GetActiveDirectoryConfig ¶
func (x *Settings) GetActiveDirectoryConfig() *SqlActiveDirectoryConfig
func (*Settings) GetAdvancedMachineFeatures ¶
func (x *Settings) GetAdvancedMachineFeatures() *AdvancedMachineFeatures
func (*Settings) GetAuthorizedGaeApplications
deprecated
func (*Settings) GetAvailabilityType ¶
func (x *Settings) GetAvailabilityType() SqlAvailabilityType
func (*Settings) GetBackupConfiguration ¶
func (x *Settings) GetBackupConfiguration() *BackupConfiguration
func (*Settings) GetCollation ¶
func (*Settings) GetConnectorEnforcement ¶
func (x *Settings) GetConnectorEnforcement() Settings_ConnectorEnforcement
func (*Settings) GetCrashSafeReplicationEnabled
deprecated
func (*Settings) GetDataCacheConfig ¶
func (x *Settings) GetDataCacheConfig() *DataCacheConfig
func (*Settings) GetDataDiskSizeGb ¶
func (x *Settings) GetDataDiskSizeGb() *wrappers.Int64Value
func (*Settings) GetDataDiskType ¶
func (x *Settings) GetDataDiskType() SqlDataDiskType
func (*Settings) GetDatabaseFlags ¶
func (x *Settings) GetDatabaseFlags() []*DatabaseFlags
func (*Settings) GetDatabaseReplicationEnabled ¶
func (*Settings) GetDeletionProtectionEnabled ¶
func (*Settings) GetDenyMaintenancePeriods ¶
func (x *Settings) GetDenyMaintenancePeriods() []*DenyMaintenancePeriod
func (*Settings) GetEdition ¶
func (x *Settings) GetEdition() Settings_Edition
func (*Settings) GetEnableDataplexIntegration ¶
func (*Settings) GetEnableGoogleMlIntegration ¶
func (*Settings) GetInsightsConfig ¶
func (x *Settings) GetInsightsConfig() *InsightsConfig
func (*Settings) GetIpConfiguration ¶
func (x *Settings) GetIpConfiguration() *IpConfiguration
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() *wrappers.Int64Value
func (*Settings) GetSqlServerAuditConfig ¶
func (x *Settings) GetSqlServerAuditConfig() *SqlServerAuditConfig
func (*Settings) GetStorageAutoResize ¶
func (*Settings) GetStorageAutoResizeLimit ¶
func (x *Settings) GetStorageAutoResizeLimit() *wrappers.Int64Value
func (*Settings) GetTimeZone ¶
func (*Settings) GetUserLabels ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
type Settings_ConnectorEnforcement ¶
type Settings_ConnectorEnforcement int32
The options for enforcing Cloud SQL connectors in the instance.
const ( // The requirement for Cloud SQL connectors is unknown. Settings_CONNECTOR_ENFORCEMENT_UNSPECIFIED Settings_ConnectorEnforcement = 0 // Do not require Cloud SQL connectors. Settings_NOT_REQUIRED Settings_ConnectorEnforcement = 1 // Require all connections to use Cloud SQL connectors, including the // Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. // Note: This disables all existing authorized networks. Settings_REQUIRED Settings_ConnectorEnforcement = 2 )
func (Settings_ConnectorEnforcement) Descriptor ¶
func (Settings_ConnectorEnforcement) Descriptor() protoreflect.EnumDescriptor
func (Settings_ConnectorEnforcement) Enum ¶
func (x Settings_ConnectorEnforcement) Enum() *Settings_ConnectorEnforcement
func (Settings_ConnectorEnforcement) EnumDescriptor
deprecated
func (Settings_ConnectorEnforcement) EnumDescriptor() ([]byte, []int)
Deprecated: Use Settings_ConnectorEnforcement.Descriptor instead.
func (Settings_ConnectorEnforcement) Number ¶
func (x Settings_ConnectorEnforcement) Number() protoreflect.EnumNumber
func (Settings_ConnectorEnforcement) String ¶
func (x Settings_ConnectorEnforcement) String() string
func (Settings_ConnectorEnforcement) Type ¶
func (Settings_ConnectorEnforcement) Type() protoreflect.EnumType
type Settings_Edition ¶
type Settings_Edition int32
The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
const ( // The instance did not specify the edition. Settings_EDITION_UNSPECIFIED Settings_Edition = 0 // The instance is an enterprise edition. Settings_ENTERPRISE Settings_Edition = 2 // The instance is an Enterprise Plus edition. Settings_ENTERPRISE_PLUS Settings_Edition = 3 )
func (Settings_Edition) Descriptor ¶
func (Settings_Edition) Descriptor() protoreflect.EnumDescriptor
func (Settings_Edition) Enum ¶
func (x Settings_Edition) Enum() *Settings_Edition
func (Settings_Edition) EnumDescriptor
deprecated
func (Settings_Edition) EnumDescriptor() ([]byte, []int)
Deprecated: Use Settings_Edition.Descriptor instead.
func (Settings_Edition) Number ¶
func (x Settings_Edition) Number() protoreflect.EnumNumber
func (Settings_Edition) String ¶
func (x Settings_Edition) String() string
func (Settings_Edition) Type ¶
func (Settings_Edition) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Settings_SqlActivationPolicy) Enum ¶
func (x Settings_SqlActivationPolicy) Enum() *Settings_SqlActivationPolicy
func (Settings_SqlActivationPolicy) EnumDescriptor
deprecated
func (Settings_SqlActivationPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Settings_SqlActivationPolicy.Descriptor instead.
func (Settings_SqlActivationPolicy) Number ¶
func (x Settings_SqlActivationPolicy) Number() protoreflect.EnumNumber
func (Settings_SqlActivationPolicy) String ¶
func (x Settings_SqlActivationPolicy) String() string
func (Settings_SqlActivationPolicy) Type ¶
func (Settings_SqlActivationPolicy) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SqlAvailabilityType) Enum ¶
func (x SqlAvailabilityType) Enum() *SqlAvailabilityType
func (SqlAvailabilityType) EnumDescriptor
deprecated
func (SqlAvailabilityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlAvailabilityType.Descriptor instead.
func (SqlAvailabilityType) Number ¶
func (x SqlAvailabilityType) Number() protoreflect.EnumNumber
func (SqlAvailabilityType) String ¶
func (x SqlAvailabilityType) String() string
func (SqlAvailabilityType) Type ¶
func (SqlAvailabilityType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x SqlBackendType) Number() protoreflect.EnumNumber
func (SqlBackendType) String ¶
func (x SqlBackendType) String() string
func (SqlBackendType) Type ¶
func (SqlBackendType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x SqlBackupKind) Number() protoreflect.EnumNumber
func (SqlBackupKind) String ¶
func (x SqlBackupKind) String() string
func (SqlBackupKind) Type ¶
func (SqlBackupKind) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SqlBackupRunStatus) Enum ¶
func (x SqlBackupRunStatus) Enum() *SqlBackupRunStatus
func (SqlBackupRunStatus) EnumDescriptor
deprecated
func (SqlBackupRunStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlBackupRunStatus.Descriptor instead.
func (SqlBackupRunStatus) Number ¶
func (x SqlBackupRunStatus) Number() protoreflect.EnumNumber
func (SqlBackupRunStatus) String ¶
func (x SqlBackupRunStatus) String() string
func (SqlBackupRunStatus) Type ¶
func (SqlBackupRunStatus) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SqlBackupRunType) Enum ¶
func (x SqlBackupRunType) Enum() *SqlBackupRunType
func (SqlBackupRunType) EnumDescriptor
deprecated
func (SqlBackupRunType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlBackupRunType.Descriptor instead.
func (SqlBackupRunType) Number ¶
func (x SqlBackupRunType) Number() protoreflect.EnumNumber
func (SqlBackupRunType) String ¶
func (x SqlBackupRunType) String() string
func (SqlBackupRunType) Type ¶
func (SqlBackupRunType) Type() protoreflect.EnumType
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 (x *SqlBackupRunsDeleteRequest) ProtoReflect() protoreflect.Message
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 (x *SqlBackupRunsInsertRequest) ProtoReflect() protoreflect.Message
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlBackupRunsServiceClient ¶
func NewSqlBackupRunsServiceClient(cc grpc.ClientConnInterface) SqlBackupRunsServiceClient
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) // contains filtered or unexported methods }
SqlBackupRunsServiceServer is the server API for SqlBackupRunsService service. All implementations must embed UnimplementedSqlBackupRunsServiceServer for forward compatibility
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlConnectServiceClient ¶
func NewSqlConnectServiceClient(cc grpc.ClientConnInterface) SqlConnectServiceClient
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) // contains filtered or unexported methods }
SqlConnectServiceServer is the server API for SqlConnectService service. All implementations must embed UnimplementedSqlConnectServiceServer for forward compatibility
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) Descriptor() protoreflect.EnumDescriptor
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 (x SqlDataDiskType) Number() protoreflect.EnumNumber
func (SqlDataDiskType) String ¶
func (x SqlDataDiskType) String() string
func (SqlDataDiskType) Type ¶
func (SqlDataDiskType) Type() protoreflect.EnumType
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 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 9.6. SqlDatabaseVersion_POSTGRES_9_6 SqlDatabaseVersion = 9 // The database version is PostgreSQL 10. SqlDatabaseVersion_POSTGRES_10 SqlDatabaseVersion = 18 // The database version is PostgreSQL 11. SqlDatabaseVersion_POSTGRES_11 SqlDatabaseVersion = 10 // The database version is PostgreSQL 12. SqlDatabaseVersion_POSTGRES_12 SqlDatabaseVersion = 19 // 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 PostgreSQL 15. SqlDatabaseVersion_POSTGRES_15 SqlDatabaseVersion = 172 // The database version is PostgreSQL 16. SqlDatabaseVersion_POSTGRES_16 SqlDatabaseVersion = 272 // 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 major version is MySQL 8.0 and the minor version is 29. // // Deprecated: Do not use. SqlDatabaseVersion_MYSQL_8_0_29 SqlDatabaseVersion = 148 // The database major version is MySQL 8.0 and the minor version is 30. SqlDatabaseVersion_MYSQL_8_0_30 SqlDatabaseVersion = 174 // The database major version is MySQL 8.0 and the minor version is 31. SqlDatabaseVersion_MYSQL_8_0_31 SqlDatabaseVersion = 197 // The database major version is MySQL 8.0 and the minor version is 32. SqlDatabaseVersion_MYSQL_8_0_32 SqlDatabaseVersion = 213 // The database major version is MySQL 8.0 and the minor version is 33. SqlDatabaseVersion_MYSQL_8_0_33 SqlDatabaseVersion = 238 // The database major version is MySQL 8.0 and the minor version is 34. SqlDatabaseVersion_MYSQL_8_0_34 SqlDatabaseVersion = 239 // The database major version is MySQL 8.0 and the minor version is 35. SqlDatabaseVersion_MYSQL_8_0_35 SqlDatabaseVersion = 240 // The database major version is MySQL 8.0 and the minor version is 36. SqlDatabaseVersion_MYSQL_8_0_36 SqlDatabaseVersion = 241 // The database major version is MySQL 8.0 and the minor version is 37. SqlDatabaseVersion_MYSQL_8_0_37 SqlDatabaseVersion = 355 // The database major version is MySQL 8.0 and the minor version is 38. SqlDatabaseVersion_MYSQL_8_0_38 SqlDatabaseVersion = 356 // The database major version is MySQL 8.0 and the minor version is 39. SqlDatabaseVersion_MYSQL_8_0_39 SqlDatabaseVersion = 357 // The database major version is MySQL 8.0 and the minor version is 40. SqlDatabaseVersion_MYSQL_8_0_40 SqlDatabaseVersion = 358 // The database version is MySQL 8.4. SqlDatabaseVersion_MYSQL_8_4 SqlDatabaseVersion = 398 // The database version is MySQL 8.4 and the patch version is 0. SqlDatabaseVersion_MYSQL_8_4_0 SqlDatabaseVersion = 399 // 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 // The database version is SQL Server 2022 Standard. SqlDatabaseVersion_SQLSERVER_2022_STANDARD SqlDatabaseVersion = 199 // The database version is SQL Server 2022 Enterprise. SqlDatabaseVersion_SQLSERVER_2022_ENTERPRISE SqlDatabaseVersion = 200 // The database version is SQL Server 2022 Express. SqlDatabaseVersion_SQLSERVER_2022_EXPRESS SqlDatabaseVersion = 201 // The database version is SQL Server 2022 Web. SqlDatabaseVersion_SQLSERVER_2022_WEB SqlDatabaseVersion = 202 )
func (SqlDatabaseVersion) Descriptor ¶
func (SqlDatabaseVersion) Descriptor() protoreflect.EnumDescriptor
func (SqlDatabaseVersion) Enum ¶
func (x SqlDatabaseVersion) Enum() *SqlDatabaseVersion
func (SqlDatabaseVersion) EnumDescriptor
deprecated
func (SqlDatabaseVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlDatabaseVersion.Descriptor instead.
func (SqlDatabaseVersion) Number ¶
func (x SqlDatabaseVersion) Number() protoreflect.EnumNumber
func (SqlDatabaseVersion) String ¶
func (x SqlDatabaseVersion) String() string
func (SqlDatabaseVersion) Type ¶
func (SqlDatabaseVersion) Type() protoreflect.EnumType
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 (x *SqlDatabasesDeleteRequest) ProtoReflect() protoreflect.Message
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 (x *SqlDatabasesInsertRequest) ProtoReflect() protoreflect.Message
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. // // **Note:** You can't modify the default character set and collation. 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlDatabasesServiceClient ¶
func NewSqlDatabasesServiceClient(cc grpc.ClientConnInterface) SqlDatabasesServiceClient
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. // // **Note:** You can't modify the default character set and collation. 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) // contains filtered or unexported methods }
SqlDatabasesServiceServer is the server API for SqlDatabasesService service. All implementations must embed UnimplementedSqlDatabasesServiceServer for forward compatibility
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 (x *SqlDatabasesUpdateRequest) ProtoReflect() protoreflect.Message
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 `` /* 153-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 (x *SqlExternalSyncSettingError) ProtoReflect() protoreflect.Message
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 // The replication user is missing privileges that are required. 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 // Source has tables with limited support // eg: PostgreSQL tables without primary keys. SqlExternalSyncSettingError_LIMITED_SUPPORT_TABLES SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 27 // The replica instance contains existing data. SqlExternalSyncSettingError_EXISTING_DATA_IN_REPLICA SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 28 // The replication user is missing privileges that are optional. SqlExternalSyncSettingError_MISSING_OPTIONAL_PRIVILEGES SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 29 // Additional BACKUP_ADMIN privilege is granted to the replication user // which may lock source MySQL 8 instance for DDLs during initial sync. SqlExternalSyncSettingError_RISKY_BACKUP_ADMIN_PRIVILEGE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 30 // The Cloud Storage bucket is missing necessary permissions. SqlExternalSyncSettingError_INSUFFICIENT_GCS_PERMISSIONS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 31 // The Cloud Storage bucket has an error in the file or contains invalid // file information. SqlExternalSyncSettingError_INVALID_FILE_INFO SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 32 // The source instance has unsupported database settings for migration. SqlExternalSyncSettingError_UNSUPPORTED_DATABASE_SETTINGS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 33 // The replication user is missing parallel import specific privileges. // (e.g. LOCK TABLES) for MySQL. SqlExternalSyncSettingError_MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 34 // The global variable local_infile is off on external server replica. SqlExternalSyncSettingError_LOCAL_INFILE_OFF SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 35 // This code instructs customers to turn on point-in-time recovery manually // for the instance after promoting the Cloud SQL for PostgreSQL instance. SqlExternalSyncSettingError_TURN_ON_PITR_AFTER_PROMOTE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 36 // The minor version of replica database is incompatible with the source. SqlExternalSyncSettingError_INCOMPATIBLE_DATABASE_MINOR_VERSION SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 37 // This warning message indicates that Cloud SQL uses the maximum number of // subscriptions to migrate data from the source to the destination. SqlExternalSyncSettingError_SOURCE_MAX_SUBSCRIPTIONS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 38 // Unable to verify definers on the source for MySQL. SqlExternalSyncSettingError_UNABLE_TO_VERIFY_DEFINERS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 39 // If a time out occurs while the subscription counts are calculated, then // this value is set to 1. Otherwise, this value is set to 2. SqlExternalSyncSettingError_SUBSCRIPTION_CALCULATION_STATUS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 40 // Count of subscriptions needed to sync source data for PostgreSQL // database. SqlExternalSyncSettingError_PG_SUBSCRIPTION_COUNT SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 41 // Final parallel level that is used to do migration. SqlExternalSyncSettingError_PG_SYNC_PARALLEL_LEVEL SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 42 // The disk size of the replica instance is smaller than the data size of // the source instance. SqlExternalSyncSettingError_INSUFFICIENT_DISK_SIZE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 43 // The data size of the source instance is greater than 1 TB, the number of // cores of the replica instance is less than 8, and the memory of the // replica is less than 32 GB. SqlExternalSyncSettingError_INSUFFICIENT_MACHINE_TIER SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 44 // The warning message indicates the unsupported extensions will not be // migrated to the destination. SqlExternalSyncSettingError_UNSUPPORTED_EXTENSIONS_NOT_MIGRATED SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 45 // The warning message indicates the pg_cron extension and settings will not // be migrated to the destination. SqlExternalSyncSettingError_EXTENSIONS_NOT_MIGRATED SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 46 // The error message indicates that pg_cron flags are enabled on the // destination which is not supported during the migration. SqlExternalSyncSettingError_PG_CRON_FLAG_ENABLED_IN_REPLICA SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 47 // This error message indicates that the specified extensions are not // enabled on destination instance. For example, before you can migrate // data to the destination instance, you must enable the PGAudit extension // on the instance. SqlExternalSyncSettingError_EXTENSIONS_NOT_ENABLED_IN_REPLICA SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 48 )
func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Descriptor ¶
func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) Descriptor() protoreflect.EnumDescriptor
func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) EnumDescriptor
deprecated
func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType.Descriptor instead.
func (SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) String ¶
func (x SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType) String() string
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (SqlFileType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (SqlFlagType) Type() protoreflect.EnumType
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlFlagsServiceClient ¶
func NewSqlFlagsServiceClient(cc grpc.ClientConnInterface) SqlFlagsServiceClient
type SqlFlagsServiceServer ¶
type SqlFlagsServiceServer interface { // Lists all available database flags for Cloud SQL instances. List(context.Context, *SqlFlagsListRequest) (*FlagsListResponse, error) // contains filtered or unexported methods }
SqlFlagsServiceServer is the server API for SqlFlagsService service. All implementations must embed UnimplementedSqlFlagsServiceServer for forward compatibility
type SqlIamPoliciesServiceClient ¶
type SqlIamPoliciesServiceClient interface { }
SqlIamPoliciesServiceClient is the client API for SqlIamPoliciesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlIamPoliciesServiceClient ¶
func NewSqlIamPoliciesServiceClient(cc grpc.ClientConnInterface) SqlIamPoliciesServiceClient
type SqlIamPoliciesServiceServer ¶
type SqlIamPoliciesServiceServer interface {
// contains filtered or unexported methods
}
SqlIamPoliciesServiceServer is the server API for SqlIamPoliciesService service. All implementations must embed UnimplementedSqlIamPoliciesServiceServer for forward compatibility
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) Descriptor() protoreflect.EnumDescriptor
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 (x SqlInstanceType) Number() protoreflect.EnumNumber
func (SqlInstanceType) String ¶
func (x SqlInstanceType) String() string
func (SqlInstanceType) Type ¶
func (SqlInstanceType) Type() protoreflect.EnumType
type SqlInstancesAcquireSsrsLeaseRequest ¶
type SqlInstancesAcquireSsrsLeaseRequest struct { // Required. Cloud SQL instance ID. This doesn't include the project ID. It's // composed of lowercase letters, numbers, and hyphens, and it must start with // a letter. The total length must be 98 characters or less (Example: // instance-id). Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Required. ID of the project that contains the instance (Example: // project-id). Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // The body for request to acquire an SSRS lease. Body *InstancesAcquireSsrsLeaseRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
Request to acquire a lease for SSRS.
func (*SqlInstancesAcquireSsrsLeaseRequest) Descriptor
deprecated
func (*SqlInstancesAcquireSsrsLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesAcquireSsrsLeaseRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesAcquireSsrsLeaseRequest) GetBody ¶
func (x *SqlInstancesAcquireSsrsLeaseRequest) GetBody() *InstancesAcquireSsrsLeaseRequest
func (*SqlInstancesAcquireSsrsLeaseRequest) GetInstance ¶
func (x *SqlInstancesAcquireSsrsLeaseRequest) GetInstance() string
func (*SqlInstancesAcquireSsrsLeaseRequest) GetProject ¶
func (x *SqlInstancesAcquireSsrsLeaseRequest) GetProject() string
func (*SqlInstancesAcquireSsrsLeaseRequest) ProtoMessage ¶
func (*SqlInstancesAcquireSsrsLeaseRequest) ProtoMessage()
func (*SqlInstancesAcquireSsrsLeaseRequest) ProtoReflect ¶
func (x *SqlInstancesAcquireSsrsLeaseRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesAcquireSsrsLeaseRequest) Reset ¶
func (x *SqlInstancesAcquireSsrsLeaseRequest) Reset()
func (*SqlInstancesAcquireSsrsLeaseRequest) String ¶
func (x *SqlInstancesAcquireSsrsLeaseRequest) String() string
type SqlInstancesAcquireSsrsLeaseResponse ¶
type SqlInstancesAcquireSsrsLeaseResponse struct { // The unique identifier for this operation. OperationId *string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3,oneof" json:"operation_id,omitempty"` // contains filtered or unexported fields }
Acquire SSRS lease response.
func (*SqlInstancesAcquireSsrsLeaseResponse) Descriptor
deprecated
func (*SqlInstancesAcquireSsrsLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesAcquireSsrsLeaseResponse.ProtoReflect.Descriptor instead.
func (*SqlInstancesAcquireSsrsLeaseResponse) GetOperationId ¶
func (x *SqlInstancesAcquireSsrsLeaseResponse) GetOperationId() string
func (*SqlInstancesAcquireSsrsLeaseResponse) ProtoMessage ¶
func (*SqlInstancesAcquireSsrsLeaseResponse) ProtoMessage()
func (*SqlInstancesAcquireSsrsLeaseResponse) ProtoReflect ¶
func (x *SqlInstancesAcquireSsrsLeaseResponse) ProtoReflect() protoreflect.Message
func (*SqlInstancesAcquireSsrsLeaseResponse) Reset ¶
func (x *SqlInstancesAcquireSsrsLeaseResponse) Reset()
func (*SqlInstancesAcquireSsrsLeaseResponse) String ¶
func (x *SqlInstancesAcquireSsrsLeaseResponse) String() string
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 (x *SqlInstancesAddServerCaRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesAddServerCaRequest) Reset ¶
func (x *SqlInstancesAddServerCaRequest) Reset()
func (*SqlInstancesAddServerCaRequest) String ¶
func (x *SqlInstancesAddServerCaRequest) String() 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 (x *SqlInstancesCloneRequest) GetBody() *InstancesCloneRequest
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 (x *SqlInstancesCreateEphemeralCertRequest) GetBody() *SslCertsCreateEphemeralRequest
func (*SqlInstancesCreateEphemeralCertRequest) GetInstance ¶
func (x *SqlInstancesCreateEphemeralCertRequest) GetInstance() string
func (*SqlInstancesCreateEphemeralCertRequest) GetProject ¶
func (x *SqlInstancesCreateEphemeralCertRequest) GetProject() string
func (*SqlInstancesCreateEphemeralCertRequest) ProtoMessage ¶
func (*SqlInstancesCreateEphemeralCertRequest) ProtoMessage()
func (*SqlInstancesCreateEphemeralCertRequest) ProtoReflect ¶
func (x *SqlInstancesCreateEphemeralCertRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesCreateEphemeralCertRequest) Reset ¶
func (x *SqlInstancesCreateEphemeralCertRequest) Reset()
func (*SqlInstancesCreateEphemeralCertRequest) String ¶
func (x *SqlInstancesCreateEphemeralCertRequest) String() 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 (x *SqlInstancesDeleteRequest) ProtoReflect() protoreflect.Message
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 (x *SqlInstancesDemoteMasterRequest) GetBody() *InstancesDemoteMasterRequest
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 (x *SqlInstancesDemoteMasterRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesDemoteMasterRequest) Reset ¶
func (x *SqlInstancesDemoteMasterRequest) Reset()
func (*SqlInstancesDemoteMasterRequest) String ¶
func (x *SqlInstancesDemoteMasterRequest) String() string
type SqlInstancesDemoteRequest ¶
type SqlInstancesDemoteRequest struct { // Required. The name of the Cloud SQL instance. Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Required. The project ID of the project that contains the instance. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // The request body. Body *InstancesDemoteRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
Instance demote request.
func (*SqlInstancesDemoteRequest) Descriptor
deprecated
func (*SqlInstancesDemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesDemoteRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesDemoteRequest) GetBody ¶
func (x *SqlInstancesDemoteRequest) GetBody() *InstancesDemoteRequest
func (*SqlInstancesDemoteRequest) GetInstance ¶
func (x *SqlInstancesDemoteRequest) GetInstance() string
func (*SqlInstancesDemoteRequest) GetProject ¶
func (x *SqlInstancesDemoteRequest) GetProject() string
func (*SqlInstancesDemoteRequest) ProtoMessage ¶
func (*SqlInstancesDemoteRequest) ProtoMessage()
func (*SqlInstancesDemoteRequest) ProtoReflect ¶
func (x *SqlInstancesDemoteRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesDemoteRequest) Reset ¶
func (x *SqlInstancesDemoteRequest) Reset()
func (*SqlInstancesDemoteRequest) String ¶
func (x *SqlInstancesDemoteRequest) String() string
type SqlInstancesExportRequest ¶
type SqlInstancesExportRequest struct { // The Cloud SQL instance ID. This doesn't 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 (x *SqlInstancesExportRequest) GetBody() *InstancesExportRequest
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 (x *SqlInstancesExportRequest) ProtoReflect() protoreflect.Message
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 (x *SqlInstancesFailoverRequest) GetBody() *InstancesFailoverRequest
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 (x *SqlInstancesFailoverRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesFailoverRequest) Reset ¶
func (x *SqlInstancesFailoverRequest) Reset()
func (*SqlInstancesFailoverRequest) String ¶
func (x *SqlInstancesFailoverRequest) String() string
type SqlInstancesGetDiskShrinkConfigRequest ¶
type SqlInstancesGetDiskShrinkConfigRequest 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 }
Instance get disk shrink config request.
func (*SqlInstancesGetDiskShrinkConfigRequest) Descriptor
deprecated
func (*SqlInstancesGetDiskShrinkConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesGetDiskShrinkConfigRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesGetDiskShrinkConfigRequest) GetInstance ¶
func (x *SqlInstancesGetDiskShrinkConfigRequest) GetInstance() string
func (*SqlInstancesGetDiskShrinkConfigRequest) GetProject ¶
func (x *SqlInstancesGetDiskShrinkConfigRequest) GetProject() string
func (*SqlInstancesGetDiskShrinkConfigRequest) ProtoMessage ¶
func (*SqlInstancesGetDiskShrinkConfigRequest) ProtoMessage()
func (*SqlInstancesGetDiskShrinkConfigRequest) ProtoReflect ¶
func (x *SqlInstancesGetDiskShrinkConfigRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesGetDiskShrinkConfigRequest) Reset ¶
func (x *SqlInstancesGetDiskShrinkConfigRequest) Reset()
func (*SqlInstancesGetDiskShrinkConfigRequest) String ¶
func (x *SqlInstancesGetDiskShrinkConfigRequest) String() string
type SqlInstancesGetDiskShrinkConfigResponse ¶
type SqlInstancesGetDiskShrinkConfigResponse struct { // This is always `sql#getDiskShrinkConfig`. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The minimum size to which a disk can be shrunk in GigaBytes. MinimalTargetSizeGb int64 `protobuf:"varint,2,opt,name=minimal_target_size_gb,json=minimalTargetSizeGb,proto3" json:"minimal_target_size_gb,omitempty"` // Additional message to customers. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Instance get disk shrink config response.
func (*SqlInstancesGetDiskShrinkConfigResponse) Descriptor
deprecated
func (*SqlInstancesGetDiskShrinkConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesGetDiskShrinkConfigResponse.ProtoReflect.Descriptor instead.
func (*SqlInstancesGetDiskShrinkConfigResponse) GetKind ¶
func (x *SqlInstancesGetDiskShrinkConfigResponse) GetKind() string
func (*SqlInstancesGetDiskShrinkConfigResponse) GetMessage ¶
func (x *SqlInstancesGetDiskShrinkConfigResponse) GetMessage() string
func (*SqlInstancesGetDiskShrinkConfigResponse) GetMinimalTargetSizeGb ¶
func (x *SqlInstancesGetDiskShrinkConfigResponse) GetMinimalTargetSizeGb() int64
func (*SqlInstancesGetDiskShrinkConfigResponse) ProtoMessage ¶
func (*SqlInstancesGetDiskShrinkConfigResponse) ProtoMessage()
func (*SqlInstancesGetDiskShrinkConfigResponse) ProtoReflect ¶
func (x *SqlInstancesGetDiskShrinkConfigResponse) ProtoReflect() protoreflect.Message
func (*SqlInstancesGetDiskShrinkConfigResponse) Reset ¶
func (x *SqlInstancesGetDiskShrinkConfigResponse) Reset()
func (*SqlInstancesGetDiskShrinkConfigResponse) String ¶
func (x *SqlInstancesGetDiskShrinkConfigResponse) String() string
type SqlInstancesGetLatestRecoveryTimeRequest ¶
type SqlInstancesGetLatestRecoveryTimeRequest 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 }
Instance get latest recovery time request.
func (*SqlInstancesGetLatestRecoveryTimeRequest) Descriptor
deprecated
func (*SqlInstancesGetLatestRecoveryTimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesGetLatestRecoveryTimeRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesGetLatestRecoveryTimeRequest) GetInstance ¶
func (x *SqlInstancesGetLatestRecoveryTimeRequest) GetInstance() string
func (*SqlInstancesGetLatestRecoveryTimeRequest) GetProject ¶
func (x *SqlInstancesGetLatestRecoveryTimeRequest) GetProject() string
func (*SqlInstancesGetLatestRecoveryTimeRequest) ProtoMessage ¶
func (*SqlInstancesGetLatestRecoveryTimeRequest) ProtoMessage()
func (*SqlInstancesGetLatestRecoveryTimeRequest) ProtoReflect ¶
func (x *SqlInstancesGetLatestRecoveryTimeRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesGetLatestRecoveryTimeRequest) Reset ¶
func (x *SqlInstancesGetLatestRecoveryTimeRequest) Reset()
func (*SqlInstancesGetLatestRecoveryTimeRequest) String ¶
func (x *SqlInstancesGetLatestRecoveryTimeRequest) String() string
type SqlInstancesGetLatestRecoveryTimeResponse ¶
type SqlInstancesGetLatestRecoveryTimeResponse struct { // This is always `sql#getLatestRecoveryTime`. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Timestamp, identifies the latest recovery time of the source instance. LatestRecoveryTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=latest_recovery_time,json=latestRecoveryTime,proto3" json:"latest_recovery_time,omitempty"` // contains filtered or unexported fields }
Instance get latest recovery time response.
func (*SqlInstancesGetLatestRecoveryTimeResponse) Descriptor
deprecated
func (*SqlInstancesGetLatestRecoveryTimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesGetLatestRecoveryTimeResponse.ProtoReflect.Descriptor instead.
func (*SqlInstancesGetLatestRecoveryTimeResponse) GetKind ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetKind() string
func (*SqlInstancesGetLatestRecoveryTimeResponse) GetLatestRecoveryTime ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetLatestRecoveryTime() *timestamp.Timestamp
func (*SqlInstancesGetLatestRecoveryTimeResponse) ProtoMessage ¶
func (*SqlInstancesGetLatestRecoveryTimeResponse) ProtoMessage()
func (*SqlInstancesGetLatestRecoveryTimeResponse) ProtoReflect ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) ProtoReflect() protoreflect.Message
func (*SqlInstancesGetLatestRecoveryTimeResponse) Reset ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) Reset()
func (*SqlInstancesGetLatestRecoveryTimeResponse) String ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) 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 (x *SqlInstancesImportRequest) GetBody() *InstancesImportRequest
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 (x *SqlInstancesImportRequest) ProtoReflect() protoreflect.Message
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 (x *SqlInstancesInsertRequest) GetBody() *DatabaseInstance
func (*SqlInstancesInsertRequest) GetProject ¶
func (x *SqlInstancesInsertRequest) GetProject() string
func (*SqlInstancesInsertRequest) ProtoMessage ¶
func (*SqlInstancesInsertRequest) ProtoMessage()
func (*SqlInstancesInsertRequest) ProtoReflect ¶
func (x *SqlInstancesInsertRequest) ProtoReflect() protoreflect.Message
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 instances to return. The service may return fewer // than this value. // If unspecified, at most 500 instances are returned. // The maximum value is 1000; values above 1000 are coerced to 1000. 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 (x *SqlInstancesListServerCasRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesListServerCasRequest) Reset ¶
func (x *SqlInstancesListServerCasRequest) Reset()
func (*SqlInstancesListServerCasRequest) String ¶
func (x *SqlInstancesListServerCasRequest) String() 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 (x *SqlInstancesPatchRequest) GetBody() *DatabaseInstance
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 SqlInstancesPerformDiskShrinkRequest ¶
type SqlInstancesPerformDiskShrinkRequest 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"` // Perform disk shrink context. Body *PerformDiskShrinkContext `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
Instance perform disk shrink request.
func (*SqlInstancesPerformDiskShrinkRequest) Descriptor
deprecated
func (*SqlInstancesPerformDiskShrinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesPerformDiskShrinkRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesPerformDiskShrinkRequest) GetBody ¶
func (x *SqlInstancesPerformDiskShrinkRequest) GetBody() *PerformDiskShrinkContext
func (*SqlInstancesPerformDiskShrinkRequest) GetInstance ¶
func (x *SqlInstancesPerformDiskShrinkRequest) GetInstance() string
func (*SqlInstancesPerformDiskShrinkRequest) GetProject ¶
func (x *SqlInstancesPerformDiskShrinkRequest) GetProject() string
func (*SqlInstancesPerformDiskShrinkRequest) ProtoMessage ¶
func (*SqlInstancesPerformDiskShrinkRequest) ProtoMessage()
func (*SqlInstancesPerformDiskShrinkRequest) ProtoReflect ¶
func (x *SqlInstancesPerformDiskShrinkRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesPerformDiskShrinkRequest) Reset ¶
func (x *SqlInstancesPerformDiskShrinkRequest) Reset()
func (*SqlInstancesPerformDiskShrinkRequest) String ¶
func (x *SqlInstancesPerformDiskShrinkRequest) 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"` // Set to true to invoke a replica failover to the designated DR replica. // As part of replica failover, the promote operation attempts // to add the original primary instance as a replica of the promoted // DR replica when the original primary instance comes back online. // If set to false or not specified, then the original primary // instance becomes an independent Cloud SQL primary instance. // Only applicable to MySQL. Failover bool `protobuf:"varint,3,opt,name=failover,proto3" json:"failover,omitempty"` // contains filtered or unexported fields }
func (*SqlInstancesPromoteReplicaRequest) Descriptor
deprecated
func (*SqlInstancesPromoteReplicaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesPromoteReplicaRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesPromoteReplicaRequest) GetFailover ¶
func (x *SqlInstancesPromoteReplicaRequest) GetFailover() bool
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 (x *SqlInstancesPromoteReplicaRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesPromoteReplicaRequest) Reset ¶
func (x *SqlInstancesPromoteReplicaRequest) Reset()
func (*SqlInstancesPromoteReplicaRequest) String ¶
func (x *SqlInstancesPromoteReplicaRequest) String() string
type SqlInstancesReencryptRequest ¶
type SqlInstancesReencryptRequest 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"` // Reencrypt body that users request Body *InstancesReencryptRequest `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
Instance reencrypt request.
func (*SqlInstancesReencryptRequest) Descriptor
deprecated
func (*SqlInstancesReencryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesReencryptRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesReencryptRequest) GetBody ¶
func (x *SqlInstancesReencryptRequest) GetBody() *InstancesReencryptRequest
func (*SqlInstancesReencryptRequest) GetInstance ¶
func (x *SqlInstancesReencryptRequest) GetInstance() string
func (*SqlInstancesReencryptRequest) GetProject ¶
func (x *SqlInstancesReencryptRequest) GetProject() string
func (*SqlInstancesReencryptRequest) ProtoMessage ¶
func (*SqlInstancesReencryptRequest) ProtoMessage()
func (*SqlInstancesReencryptRequest) ProtoReflect ¶
func (x *SqlInstancesReencryptRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesReencryptRequest) Reset ¶
func (x *SqlInstancesReencryptRequest) Reset()
func (*SqlInstancesReencryptRequest) String ¶
func (x *SqlInstancesReencryptRequest) String() string
type SqlInstancesReleaseSsrsLeaseRequest ¶
type SqlInstancesReleaseSsrsLeaseRequest struct { // Required. The Cloud SQL instance ID. This doesn't include the project ID. // It's composed of lowercase letters, numbers, and hyphens, and it must start // with a letter. The total length must be 98 characters or less (Example: // instance-id). Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Required. The ID of the project that contains the instance (Example: // project-id). Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
Request to release a lease for SSRS.
func (*SqlInstancesReleaseSsrsLeaseRequest) Descriptor
deprecated
func (*SqlInstancesReleaseSsrsLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesReleaseSsrsLeaseRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesReleaseSsrsLeaseRequest) GetInstance ¶
func (x *SqlInstancesReleaseSsrsLeaseRequest) GetInstance() string
func (*SqlInstancesReleaseSsrsLeaseRequest) GetProject ¶
func (x *SqlInstancesReleaseSsrsLeaseRequest) GetProject() string
func (*SqlInstancesReleaseSsrsLeaseRequest) ProtoMessage ¶
func (*SqlInstancesReleaseSsrsLeaseRequest) ProtoMessage()
func (*SqlInstancesReleaseSsrsLeaseRequest) ProtoReflect ¶
func (x *SqlInstancesReleaseSsrsLeaseRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesReleaseSsrsLeaseRequest) Reset ¶
func (x *SqlInstancesReleaseSsrsLeaseRequest) Reset()
func (*SqlInstancesReleaseSsrsLeaseRequest) String ¶
func (x *SqlInstancesReleaseSsrsLeaseRequest) String() string
type SqlInstancesReleaseSsrsLeaseResponse ¶
type SqlInstancesReleaseSsrsLeaseResponse struct { // The operation ID. OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // contains filtered or unexported fields }
The response for the release of the SSRS lease.
func (*SqlInstancesReleaseSsrsLeaseResponse) Descriptor
deprecated
func (*SqlInstancesReleaseSsrsLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesReleaseSsrsLeaseResponse.ProtoReflect.Descriptor instead.
func (*SqlInstancesReleaseSsrsLeaseResponse) GetOperationId ¶
func (x *SqlInstancesReleaseSsrsLeaseResponse) GetOperationId() string
func (*SqlInstancesReleaseSsrsLeaseResponse) ProtoMessage ¶
func (*SqlInstancesReleaseSsrsLeaseResponse) ProtoMessage()
func (*SqlInstancesReleaseSsrsLeaseResponse) ProtoReflect ¶
func (x *SqlInstancesReleaseSsrsLeaseResponse) ProtoReflect() protoreflect.Message
func (*SqlInstancesReleaseSsrsLeaseResponse) Reset ¶
func (x *SqlInstancesReleaseSsrsLeaseResponse) Reset()
func (*SqlInstancesReleaseSsrsLeaseResponse) String ¶
func (x *SqlInstancesReleaseSsrsLeaseResponse) String() 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 (x *SqlInstancesRescheduleMaintenanceRequest) GetBody() *SqlInstancesRescheduleMaintenanceRequestBody
func (*SqlInstancesRescheduleMaintenanceRequest) GetInstance ¶
func (x *SqlInstancesRescheduleMaintenanceRequest) GetInstance() string
func (*SqlInstancesRescheduleMaintenanceRequest) GetProject ¶
func (x *SqlInstancesRescheduleMaintenanceRequest) GetProject() string
func (*SqlInstancesRescheduleMaintenanceRequest) ProtoMessage ¶
func (*SqlInstancesRescheduleMaintenanceRequest) ProtoMessage()
func (*SqlInstancesRescheduleMaintenanceRequest) ProtoReflect ¶
func (x *SqlInstancesRescheduleMaintenanceRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesRescheduleMaintenanceRequest) Reset ¶
func (x *SqlInstancesRescheduleMaintenanceRequest) Reset()
func (*SqlInstancesRescheduleMaintenanceRequest) String ¶
func (x *SqlInstancesRescheduleMaintenanceRequest) String() 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
func (*SqlInstancesRescheduleMaintenanceRequestBody) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesRescheduleMaintenanceRequestBody.ProtoReflect.Descriptor instead.
func (*SqlInstancesRescheduleMaintenanceRequestBody) GetReschedule ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody) GetReschedule() *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule
func (*SqlInstancesRescheduleMaintenanceRequestBody) ProtoMessage ¶
func (*SqlInstancesRescheduleMaintenanceRequestBody) ProtoMessage()
func (*SqlInstancesRescheduleMaintenanceRequestBody) ProtoReflect ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody) ProtoReflect() protoreflect.Message
func (*SqlInstancesRescheduleMaintenanceRequestBody) Reset ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody) Reset()
func (*SqlInstancesRescheduleMaintenanceRequestBody) String ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody) String() string
type SqlInstancesRescheduleMaintenanceRequestBody_Reschedule ¶
type SqlInstancesRescheduleMaintenanceRequestBody_Reschedule struct { // Required. The type of the reschedule. RescheduleType SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType `` /* 195-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 *timestamp.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
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesRescheduleMaintenanceRequestBody_Reschedule.ProtoReflect.Descriptor instead.
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetRescheduleType ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetRescheduleType() SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetScheduleTime ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) GetScheduleTime() *timestamp.Timestamp
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoMessage ¶
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoMessage()
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoReflect ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) ProtoReflect() protoreflect.Message
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Reset ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Reset()
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) String ¶
func (x *SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) String() 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) Descriptor() protoreflect.EnumDescriptor
func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) EnumDescriptor
deprecated
func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType.Descriptor instead.
func (SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) String ¶
func (x SqlInstancesRescheduleMaintenanceRequestBody_RescheduleType) String() string
type SqlInstancesResetReplicaSizeRequest ¶
type SqlInstancesResetReplicaSizeRequest 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 }
Instance reset replica size request.
func (*SqlInstancesResetReplicaSizeRequest) Descriptor
deprecated
func (*SqlInstancesResetReplicaSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesResetReplicaSizeRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesResetReplicaSizeRequest) GetInstance ¶
func (x *SqlInstancesResetReplicaSizeRequest) GetInstance() string
func (*SqlInstancesResetReplicaSizeRequest) GetProject ¶
func (x *SqlInstancesResetReplicaSizeRequest) GetProject() string
func (*SqlInstancesResetReplicaSizeRequest) ProtoMessage ¶
func (*SqlInstancesResetReplicaSizeRequest) ProtoMessage()
func (*SqlInstancesResetReplicaSizeRequest) ProtoReflect ¶
func (x *SqlInstancesResetReplicaSizeRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesResetReplicaSizeRequest) Reset ¶
func (x *SqlInstancesResetReplicaSizeRequest) Reset()
func (*SqlInstancesResetReplicaSizeRequest) String ¶
func (x *SqlInstancesResetReplicaSizeRequest) String() string
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 (x *SqlInstancesResetSslConfigRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesResetSslConfigRequest) Reset ¶
func (x *SqlInstancesResetSslConfigRequest) Reset()
func (*SqlInstancesResetSslConfigRequest) String ¶
func (x *SqlInstancesResetSslConfigRequest) String() 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 (x *SqlInstancesRestartRequest) ProtoReflect() protoreflect.Message
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 (x *SqlInstancesRestoreBackupRequest) GetBody() *InstancesRestoreBackupRequest
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 (x *SqlInstancesRestoreBackupRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesRestoreBackupRequest) Reset ¶
func (x *SqlInstancesRestoreBackupRequest) Reset()
func (*SqlInstancesRestoreBackupRequest) String ¶
func (x *SqlInstancesRestoreBackupRequest) String() 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 (x *SqlInstancesRotateServerCaRequest) GetBody() *InstancesRotateServerCaRequest
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 (x *SqlInstancesRotateServerCaRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesRotateServerCaRequest) Reset ¶
func (x *SqlInstancesRotateServerCaRequest) Reset()
func (*SqlInstancesRotateServerCaRequest) String ¶
func (x *SqlInstancesRotateServerCaRequest) String() 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) // Demotes an existing standalone instance to be a Cloud SQL read replica // for an external database server. Demote(ctx context.Context, in *SqlInstancesDemoteRequest, 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) // Reencrypt CMEK instance with latest key version. Reencrypt(ctx context.Context, in *SqlInstancesReencryptRequest, 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) // Partially updates settings of a Cloud SQL instance by merging the request // with the current configuration. This method supports patch semantics. Patch(ctx context.Context, in *SqlInstancesPatchRequest, opts ...grpc.CallOption) (*Operation, error) // Promotes the read replica instance to be an independent Cloud SQL // primary instance. // Using this operation might cause your instance to restart. PromoteReplica(ctx context.Context, in *SqlInstancesPromoteReplicaRequest, opts ...grpc.CallOption) (*Operation, error) // Switches over from the primary instance to the designated DR replica // instance. Switchover(ctx context.Context, in *SqlInstancesSwitchoverRequest, 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) // Perform Disk Shrink on primary instance. PerformDiskShrink(ctx context.Context, in *SqlInstancesPerformDiskShrinkRequest, opts ...grpc.CallOption) (*Operation, error) // Get Disk Shrink Config for a given instance. GetDiskShrinkConfig(ctx context.Context, in *SqlInstancesGetDiskShrinkConfigRequest, opts ...grpc.CallOption) (*SqlInstancesGetDiskShrinkConfigResponse, error) // Reset Replica Size to primary instance disk size. ResetReplicaSize(ctx context.Context, in *SqlInstancesResetReplicaSizeRequest, opts ...grpc.CallOption) (*Operation, error) // Get Latest Recovery Time for a given instance. GetLatestRecoveryTime(ctx context.Context, in *SqlInstancesGetLatestRecoveryTimeRequest, opts ...grpc.CallOption) (*SqlInstancesGetLatestRecoveryTimeResponse, error) // Acquire a lease for the setup of SQL Server Reporting Services (SSRS). AcquireSsrsLease(ctx context.Context, in *SqlInstancesAcquireSsrsLeaseRequest, opts ...grpc.CallOption) (*SqlInstancesAcquireSsrsLeaseResponse, error) // Release a lease for the setup of SQL Server Reporting Services (SSRS). ReleaseSsrsLease(ctx context.Context, in *SqlInstancesReleaseSsrsLeaseRequest, opts ...grpc.CallOption) (*SqlInstancesReleaseSsrsLeaseResponse, error) }
SqlInstancesServiceClient is the client API for SqlInstancesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlInstancesServiceClient ¶
func NewSqlInstancesServiceClient(cc grpc.ClientConnInterface) SqlInstancesServiceClient
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) // Demotes an existing standalone instance to be a Cloud SQL read replica // for an external database server. Demote(context.Context, *SqlInstancesDemoteRequest) (*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) // Reencrypt CMEK instance with latest key version. Reencrypt(context.Context, *SqlInstancesReencryptRequest) (*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) // Partially updates settings of a Cloud SQL instance by merging the request // with the current configuration. This method supports patch semantics. Patch(context.Context, *SqlInstancesPatchRequest) (*Operation, error) // Promotes the read replica instance to be an independent Cloud SQL // primary instance. // Using this operation might cause your instance to restart. PromoteReplica(context.Context, *SqlInstancesPromoteReplicaRequest) (*Operation, error) // Switches over from the primary instance to the designated DR replica // instance. Switchover(context.Context, *SqlInstancesSwitchoverRequest) (*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) // Perform Disk Shrink on primary instance. PerformDiskShrink(context.Context, *SqlInstancesPerformDiskShrinkRequest) (*Operation, error) // Get Disk Shrink Config for a given instance. GetDiskShrinkConfig(context.Context, *SqlInstancesGetDiskShrinkConfigRequest) (*SqlInstancesGetDiskShrinkConfigResponse, error) // Reset Replica Size to primary instance disk size. ResetReplicaSize(context.Context, *SqlInstancesResetReplicaSizeRequest) (*Operation, error) // Get Latest Recovery Time for a given instance. GetLatestRecoveryTime(context.Context, *SqlInstancesGetLatestRecoveryTimeRequest) (*SqlInstancesGetLatestRecoveryTimeResponse, error) // Acquire a lease for the setup of SQL Server Reporting Services (SSRS). AcquireSsrsLease(context.Context, *SqlInstancesAcquireSsrsLeaseRequest) (*SqlInstancesAcquireSsrsLeaseResponse, error) // Release a lease for the setup of SQL Server Reporting Services (SSRS). ReleaseSsrsLease(context.Context, *SqlInstancesReleaseSsrsLeaseRequest) (*SqlInstancesReleaseSsrsLeaseResponse, error) // contains filtered or unexported methods }
SqlInstancesServiceServer is the server API for SqlInstancesService service. All implementations must embed UnimplementedSqlInstancesServiceServer for forward compatibility
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 `` /* 180-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"` // Optional. Parallel level for initial data sync. Currently only applicable // for MySQL. SyncParallelLevel ExternalSyncParallelLevel `` /* 172-byte string literal not displayed */ // Optional. MigrationType configures the migration to use physical files or // logical dump files. If not set, then the logical dump file configuration is // used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL. MigrationType SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SqlInstancesStartExternalSyncRequest) Descriptor
deprecated
func (*SqlInstancesStartExternalSyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesStartExternalSyncRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesStartExternalSyncRequest) GetInstance ¶
func (x *SqlInstancesStartExternalSyncRequest) GetInstance() string
func (*SqlInstancesStartExternalSyncRequest) GetMigrationType ¶
func (x *SqlInstancesStartExternalSyncRequest) GetMigrationType() SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType
func (*SqlInstancesStartExternalSyncRequest) GetMysqlSyncConfig ¶
func (x *SqlInstancesStartExternalSyncRequest) GetMysqlSyncConfig() *MySqlSyncConfig
func (*SqlInstancesStartExternalSyncRequest) GetProject ¶
func (x *SqlInstancesStartExternalSyncRequest) GetProject() string
func (*SqlInstancesStartExternalSyncRequest) GetSkipVerification ¶
func (x *SqlInstancesStartExternalSyncRequest) GetSkipVerification() bool
func (*SqlInstancesStartExternalSyncRequest) GetSyncConfig ¶
func (m *SqlInstancesStartExternalSyncRequest) GetSyncConfig() isSqlInstancesStartExternalSyncRequest_SyncConfig
func (*SqlInstancesStartExternalSyncRequest) GetSyncMode ¶
func (x *SqlInstancesStartExternalSyncRequest) GetSyncMode() SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode
func (*SqlInstancesStartExternalSyncRequest) GetSyncParallelLevel ¶
func (x *SqlInstancesStartExternalSyncRequest) GetSyncParallelLevel() ExternalSyncParallelLevel
func (*SqlInstancesStartExternalSyncRequest) ProtoMessage ¶
func (*SqlInstancesStartExternalSyncRequest) ProtoMessage()
func (*SqlInstancesStartExternalSyncRequest) ProtoReflect ¶
func (x *SqlInstancesStartExternalSyncRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesStartExternalSyncRequest) Reset ¶
func (x *SqlInstancesStartExternalSyncRequest) Reset()
func (*SqlInstancesStartExternalSyncRequest) String ¶
func (x *SqlInstancesStartExternalSyncRequest) String() 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 (x *SqlInstancesStartReplicaRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesStartReplicaRequest) Reset ¶
func (x *SqlInstancesStartReplicaRequest) Reset()
func (*SqlInstancesStartReplicaRequest) String ¶
func (x *SqlInstancesStartReplicaRequest) String() 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 (x *SqlInstancesStopReplicaRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesStopReplicaRequest) Reset ¶
func (x *SqlInstancesStopReplicaRequest) Reset()
func (*SqlInstancesStopReplicaRequest) String ¶
func (x *SqlInstancesStopReplicaRequest) String() string
type SqlInstancesSwitchoverRequest ¶
type SqlInstancesSwitchoverRequest 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 replica. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // Optional. (MySQL only) Cloud SQL instance operations timeout, which is a // sum of all database operations. Default value is 10 minutes and can be // modified to a maximum value of 24 hours. DbTimeout *duration.Duration `protobuf:"bytes,3,opt,name=db_timeout,json=dbTimeout,proto3" json:"db_timeout,omitempty"` // contains filtered or unexported fields }
Instance switchover request.
func (*SqlInstancesSwitchoverRequest) Descriptor
deprecated
func (*SqlInstancesSwitchoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesSwitchoverRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesSwitchoverRequest) GetDbTimeout ¶
func (x *SqlInstancesSwitchoverRequest) GetDbTimeout() *duration.Duration
func (*SqlInstancesSwitchoverRequest) GetInstance ¶
func (x *SqlInstancesSwitchoverRequest) GetInstance() string
func (*SqlInstancesSwitchoverRequest) GetProject ¶
func (x *SqlInstancesSwitchoverRequest) GetProject() string
func (*SqlInstancesSwitchoverRequest) ProtoMessage ¶
func (*SqlInstancesSwitchoverRequest) ProtoMessage()
func (*SqlInstancesSwitchoverRequest) ProtoReflect ¶
func (x *SqlInstancesSwitchoverRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesSwitchoverRequest) Reset ¶
func (x *SqlInstancesSwitchoverRequest) Reset()
func (*SqlInstancesSwitchoverRequest) String ¶
func (x *SqlInstancesSwitchoverRequest) String() 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 (x *SqlInstancesTruncateLogRequest) GetBody() *InstancesTruncateLogRequest
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 (x *SqlInstancesTruncateLogRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesTruncateLogRequest) Reset ¶
func (x *SqlInstancesTruncateLogRequest) Reset()
func (*SqlInstancesTruncateLogRequest) String ¶
func (x *SqlInstancesTruncateLogRequest) String() 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 (x *SqlInstancesUpdateRequest) GetBody() *DatabaseInstance
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 (x *SqlInstancesUpdateRequest) ProtoReflect() protoreflect.Message
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 `` /* 180-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"` // Optional. MigrationType configures the migration to use physical files or // logical dump files. If not set, then the logical dump file configuration is // used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL. MigrationType SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType `` /* 192-byte string literal not displayed */ // Optional. Parallel level for initial data sync. Only applicable for // PostgreSQL. SyncParallelLevel ExternalSyncParallelLevel `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SqlInstancesVerifyExternalSyncSettingsRequest) Descriptor
deprecated
func (*SqlInstancesVerifyExternalSyncSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesVerifyExternalSyncSettingsRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetInstance ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetInstance() string
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetMigrationType ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetMigrationType() SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetMysqlSyncConfig ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetMysqlSyncConfig() *MySqlSyncConfig
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetProject ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetProject() string
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncConfig ¶
func (m *SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncConfig() isSqlInstancesVerifyExternalSyncSettingsRequest_SyncConfig
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncMode ¶
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncParallelLevel ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncParallelLevel() ExternalSyncParallelLevel
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyConnectionOnly ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyConnectionOnly() bool
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyReplicationOnly ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetVerifyReplicationOnly() bool
func (*SqlInstancesVerifyExternalSyncSettingsRequest) ProtoMessage ¶
func (*SqlInstancesVerifyExternalSyncSettingsRequest) ProtoMessage()
func (*SqlInstancesVerifyExternalSyncSettingsRequest) ProtoReflect ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesVerifyExternalSyncSettingsRequest) Reset ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) Reset()
func (*SqlInstancesVerifyExternalSyncSettingsRequest) String ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) String() 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) Descriptor() protoreflect.EnumDescriptor
func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) EnumDescriptor
deprecated
func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode.Descriptor instead.
func (SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) String ¶
func (x SqlInstancesVerifyExternalSyncSettingsRequest_ExternalSyncMode) String() string
type SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType ¶
type SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType int32
MigrationType determines whether the migration is a physical file-based migration or a logical dump file-based migration.
const ( // Default value is a logical dump file-based migration SqlInstancesVerifyExternalSyncSettingsRequest_MIGRATION_TYPE_UNSPECIFIED SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType = 0 // Logical dump file-based migration SqlInstancesVerifyExternalSyncSettingsRequest_LOGICAL SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType = 1 // Physical file-based migration SqlInstancesVerifyExternalSyncSettingsRequest_PHYSICAL SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType = 2 )
func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) Descriptor ¶
func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) Descriptor() protoreflect.EnumDescriptor
func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) EnumDescriptor
deprecated
func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType.Descriptor instead.
func (SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) String ¶
func (x SqlInstancesVerifyExternalSyncSettingsRequest_MigrationType) String() string
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
func (*SqlInstancesVerifyExternalSyncSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesVerifyExternalSyncSettingsResponse.ProtoReflect.Descriptor instead.
func (*SqlInstancesVerifyExternalSyncSettingsResponse) GetErrors ¶
func (x *SqlInstancesVerifyExternalSyncSettingsResponse) GetErrors() []*SqlExternalSyncSettingError
func (*SqlInstancesVerifyExternalSyncSettingsResponse) GetKind ¶
func (x *SqlInstancesVerifyExternalSyncSettingsResponse) GetKind() string
func (*SqlInstancesVerifyExternalSyncSettingsResponse) GetWarnings ¶
func (x *SqlInstancesVerifyExternalSyncSettingsResponse) GetWarnings() []*SqlExternalSyncSettingError
func (*SqlInstancesVerifyExternalSyncSettingsResponse) ProtoMessage ¶
func (*SqlInstancesVerifyExternalSyncSettingsResponse) ProtoMessage()
func (*SqlInstancesVerifyExternalSyncSettingsResponse) ProtoReflect ¶
func (x *SqlInstancesVerifyExternalSyncSettingsResponse) ProtoReflect() protoreflect.Message
func (*SqlInstancesVerifyExternalSyncSettingsResponse) Reset ¶
func (x *SqlInstancesVerifyExternalSyncSettingsResponse) Reset()
func (*SqlInstancesVerifyExternalSyncSettingsResponse) String ¶
func (x *SqlInstancesVerifyExternalSyncSettingsResponse) String() 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) Descriptor() protoreflect.EnumDescriptor
func (SqlIpAddressType) Enum ¶
func (x SqlIpAddressType) Enum() *SqlIpAddressType
func (SqlIpAddressType) EnumDescriptor
deprecated
func (SqlIpAddressType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlIpAddressType.Descriptor instead.
func (SqlIpAddressType) Number ¶
func (x SqlIpAddressType) Number() protoreflect.EnumNumber
func (SqlIpAddressType) String ¶
func (x SqlIpAddressType) String() string
func (SqlIpAddressType) Type ¶
func (SqlIpAddressType) Type() protoreflect.EnumType
type SqlOperationsCancelRequest ¶
type SqlOperationsCancelRequest 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 }
The request payload to cancel an operation.
func (*SqlOperationsCancelRequest) Descriptor
deprecated
func (*SqlOperationsCancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlOperationsCancelRequest.ProtoReflect.Descriptor instead.
func (*SqlOperationsCancelRequest) GetOperation ¶
func (x *SqlOperationsCancelRequest) GetOperation() string
func (*SqlOperationsCancelRequest) GetProject ¶
func (x *SqlOperationsCancelRequest) GetProject() string
func (*SqlOperationsCancelRequest) ProtoMessage ¶
func (*SqlOperationsCancelRequest) ProtoMessage()
func (*SqlOperationsCancelRequest) ProtoReflect ¶
func (x *SqlOperationsCancelRequest) ProtoReflect() protoreflect.Message
func (*SqlOperationsCancelRequest) Reset ¶
func (x *SqlOperationsCancelRequest) Reset()
func (*SqlOperationsCancelRequest) String ¶
func (x *SqlOperationsCancelRequest) String() string
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) // Cancels an instance operation that has been performed on an instance. Cancel(ctx context.Context, in *SqlOperationsCancelRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
SqlOperationsServiceClient is the client API for SqlOperationsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlOperationsServiceClient ¶
func NewSqlOperationsServiceClient(cc grpc.ClientConnInterface) SqlOperationsServiceClient
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) // Cancels an instance operation that has been performed on an instance. Cancel(context.Context, *SqlOperationsCancelRequest) (*empty.Empty, error) // contains filtered or unexported methods }
SqlOperationsServiceServer is the server API for SqlOperationsService service. All implementations must embed UnimplementedSqlOperationsServiceServer for forward compatibility
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) Descriptor() protoreflect.EnumDescriptor
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 (x SqlPricingPlan) Number() protoreflect.EnumNumber
func (SqlPricingPlan) String ¶
func (x SqlPricingPlan) String() string
func (SqlPricingPlan) Type ¶
func (SqlPricingPlan) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SqlReplicationType) Enum ¶
func (x SqlReplicationType) Enum() *SqlReplicationType
func (SqlReplicationType) EnumDescriptor
deprecated
func (SqlReplicationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlReplicationType.Descriptor instead.
func (SqlReplicationType) Number ¶
func (x SqlReplicationType) Number() protoreflect.EnumNumber
func (SqlReplicationType) String ¶
func (x SqlReplicationType) String() string
func (SqlReplicationType) Type ¶
func (SqlReplicationType) Type() protoreflect.EnumType
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 *duration.Duration `protobuf:"bytes,3,opt,name=retention_interval,json=retentionInterval,proto3" json:"retention_interval,omitempty"` // How often to upload generated audit files. UploadInterval *duration.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() *duration.Duration
func (*SqlServerAuditConfig) GetUploadInterval ¶
func (x *SqlServerAuditConfig) GetUploadInterval() *duration.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 (x *SqlSslCertsInsertRequest) GetBody() *SslCertsInsertRequest
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlSslCertsServiceClient ¶
func NewSqlSslCertsServiceClient(cc grpc.ClientConnInterface) SqlSslCertsServiceClient
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) // contains filtered or unexported methods }
SqlSslCertsServiceServer is the server API for SqlSslCertsService service. All implementations must embed UnimplementedSqlSslCertsServiceServer for forward compatibility
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) Descriptor() protoreflect.EnumDescriptor
func (SqlSuspensionReason) Enum ¶
func (x SqlSuspensionReason) Enum() *SqlSuspensionReason
func (SqlSuspensionReason) EnumDescriptor
deprecated
func (SqlSuspensionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlSuspensionReason.Descriptor instead.
func (SqlSuspensionReason) Number ¶
func (x SqlSuspensionReason) Number() protoreflect.EnumNumber
func (SqlSuspensionReason) String ¶
func (x SqlSuspensionReason) String() string
func (SqlSuspensionReason) Type ¶
func (SqlSuspensionReason) Type() protoreflect.EnumType
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlTiersServiceClient ¶
func NewSqlTiersServiceClient(cc grpc.ClientConnInterface) SqlTiersServiceClient
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) // contains filtered or unexported methods }
SqlTiersServiceServer is the server API for SqlTiersService service. All implementations must embed UnimplementedSqlTiersServiceServer for forward compatibility
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 // 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) to be at least 5 weeks after the // notification. SqlUpdateTrack_week5 SqlUpdateTrack = 3 )
func (SqlUpdateTrack) Descriptor ¶
func (SqlUpdateTrack) Descriptor() protoreflect.EnumDescriptor
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 (x SqlUpdateTrack) Number() protoreflect.EnumNumber
func (SqlUpdateTrack) String ¶
func (x SqlUpdateTrack) String() string
func (SqlUpdateTrack) Type ¶
func (SqlUpdateTrack) Type() protoreflect.EnumType
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 SqlUsersGetRequest ¶
type SqlUsersGetRequest struct { // Database instance ID. This does not include the project ID. Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // User of the instance. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Project ID of the project that contains the instance. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // Host of a user of the instance. Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
Request message for Users Get RPC
func (*SqlUsersGetRequest) Descriptor
deprecated
func (*SqlUsersGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlUsersGetRequest.ProtoReflect.Descriptor instead.
func (*SqlUsersGetRequest) GetHost ¶
func (x *SqlUsersGetRequest) GetHost() string
func (*SqlUsersGetRequest) GetInstance ¶
func (x *SqlUsersGetRequest) GetInstance() string
func (*SqlUsersGetRequest) GetName ¶
func (x *SqlUsersGetRequest) GetName() string
func (*SqlUsersGetRequest) GetProject ¶
func (x *SqlUsersGetRequest) GetProject() string
func (*SqlUsersGetRequest) ProtoMessage ¶
func (*SqlUsersGetRequest) ProtoMessage()
func (*SqlUsersGetRequest) ProtoReflect ¶
func (x *SqlUsersGetRequest) ProtoReflect() protoreflect.Message
func (*SqlUsersGetRequest) Reset ¶
func (x *SqlUsersGetRequest) Reset()
func (*SqlUsersGetRequest) String ¶
func (x *SqlUsersGetRequest) 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) // Retrieves a resource containing information about a user. Get(ctx context.Context, in *SqlUsersGetRequest, opts ...grpc.CallOption) (*User, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSqlUsersServiceClient ¶
func NewSqlUsersServiceClient(cc grpc.ClientConnInterface) SqlUsersServiceClient
type SqlUsersServiceServer ¶
type SqlUsersServiceServer interface { // Deletes a user from a Cloud SQL instance. Delete(context.Context, *SqlUsersDeleteRequest) (*Operation, error) // Retrieves a resource containing information about a user. Get(context.Context, *SqlUsersGetRequest) (*User, 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) // contains filtered or unexported methods }
SqlUsersServiceServer is the server API for SqlUsersService service. All implementations must embed UnimplementedSqlUsersServiceServer for forward compatibility
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 *timestamp.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 *timestamp.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) GetCertSerialNumber ¶
func (*SslCert) GetCommonName ¶
func (*SslCert) GetCreateTime ¶
func (*SslCert) GetExpirationTime ¶
func (*SslCert) GetInstance ¶
func (*SslCert) GetSelfLink ¶
func (*SslCert) GetSha1Fingerprint ¶
func (*SslCert) ProtoMessage ¶
func (*SslCert) ProtoMessage()
func (*SslCert) ProtoReflect ¶
func (x *SslCert) ProtoReflect() protoreflect.Message
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 (x *SslCertsCreateEphemeralRequest) ProtoReflect() protoreflect.Message
func (*SslCertsCreateEphemeralRequest) Reset ¶
func (x *SslCertsCreateEphemeralRequest) Reset()
func (*SslCertsCreateEphemeralRequest) String ¶
func (x *SslCertsCreateEphemeralRequest) String() 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) ProtoMessage ¶
func (*SyncFlags) ProtoMessage()
func (*SyncFlags) ProtoReflect ¶
func (x *SyncFlags) ProtoReflect() protoreflect.Message
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) GetDisk_Quota ¶
func (*Tier) ProtoMessage ¶
func (*Tier) ProtoMessage()
func (*Tier) ProtoReflect ¶
func (x *Tier) ProtoReflect() protoreflect.Message
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 must be embedded to have forward compatible implementations.
func (UnimplementedSqlBackupRunsServiceServer) Delete ¶
func (UnimplementedSqlBackupRunsServiceServer) Delete(context.Context, *SqlBackupRunsDeleteRequest) (*Operation, error)
func (UnimplementedSqlBackupRunsServiceServer) Get ¶
func (UnimplementedSqlBackupRunsServiceServer) Get(context.Context, *SqlBackupRunsGetRequest) (*BackupRun, error)
func (UnimplementedSqlBackupRunsServiceServer) Insert ¶
func (UnimplementedSqlBackupRunsServiceServer) Insert(context.Context, *SqlBackupRunsInsertRequest) (*Operation, error)
type UnimplementedSqlConnectServiceServer ¶
type UnimplementedSqlConnectServiceServer struct { }
UnimplementedSqlConnectServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlConnectServiceServer) GenerateEphemeralCert ¶
func (UnimplementedSqlConnectServiceServer) GenerateEphemeralCert(context.Context, *GenerateEphemeralCertRequest) (*GenerateEphemeralCertResponse, error)
func (UnimplementedSqlConnectServiceServer) GetConnectSettings ¶
func (UnimplementedSqlConnectServiceServer) GetConnectSettings(context.Context, *GetConnectSettingsRequest) (*ConnectSettings, error)
type UnimplementedSqlDatabasesServiceServer ¶
type UnimplementedSqlDatabasesServiceServer struct { }
UnimplementedSqlDatabasesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlDatabasesServiceServer) Delete ¶
func (UnimplementedSqlDatabasesServiceServer) Delete(context.Context, *SqlDatabasesDeleteRequest) (*Operation, error)
func (UnimplementedSqlDatabasesServiceServer) Get ¶
func (UnimplementedSqlDatabasesServiceServer) Get(context.Context, *SqlDatabasesGetRequest) (*Database, error)
func (UnimplementedSqlDatabasesServiceServer) Insert ¶
func (UnimplementedSqlDatabasesServiceServer) Insert(context.Context, *SqlDatabasesInsertRequest) (*Operation, error)
func (UnimplementedSqlDatabasesServiceServer) Patch ¶
func (UnimplementedSqlDatabasesServiceServer) Patch(context.Context, *SqlDatabasesUpdateRequest) (*Operation, error)
func (UnimplementedSqlDatabasesServiceServer) Update ¶
func (UnimplementedSqlDatabasesServiceServer) Update(context.Context, *SqlDatabasesUpdateRequest) (*Operation, error)
type UnimplementedSqlFlagsServiceServer ¶
type UnimplementedSqlFlagsServiceServer struct { }
UnimplementedSqlFlagsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlFlagsServiceServer) List ¶
func (UnimplementedSqlFlagsServiceServer) List(context.Context, *SqlFlagsListRequest) (*FlagsListResponse, error)
type UnimplementedSqlIamPoliciesServiceServer ¶
type UnimplementedSqlIamPoliciesServiceServer struct { }
UnimplementedSqlIamPoliciesServiceServer must be embedded to have forward compatible implementations.
type UnimplementedSqlInstancesServiceServer ¶
type UnimplementedSqlInstancesServiceServer struct { }
UnimplementedSqlInstancesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlInstancesServiceServer) AcquireSsrsLease ¶
func (UnimplementedSqlInstancesServiceServer) AcquireSsrsLease(context.Context, *SqlInstancesAcquireSsrsLeaseRequest) (*SqlInstancesAcquireSsrsLeaseResponse, error)
func (UnimplementedSqlInstancesServiceServer) AddServerCa ¶
func (UnimplementedSqlInstancesServiceServer) AddServerCa(context.Context, *SqlInstancesAddServerCaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Clone ¶
func (UnimplementedSqlInstancesServiceServer) Clone(context.Context, *SqlInstancesCloneRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) CreateEphemeral ¶
func (UnimplementedSqlInstancesServiceServer) CreateEphemeral(context.Context, *SqlInstancesCreateEphemeralCertRequest) (*SslCert, error)
func (UnimplementedSqlInstancesServiceServer) Delete ¶
func (UnimplementedSqlInstancesServiceServer) Delete(context.Context, *SqlInstancesDeleteRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Demote ¶
func (UnimplementedSqlInstancesServiceServer) Demote(context.Context, *SqlInstancesDemoteRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) DemoteMaster ¶
func (UnimplementedSqlInstancesServiceServer) DemoteMaster(context.Context, *SqlInstancesDemoteMasterRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Export ¶
func (UnimplementedSqlInstancesServiceServer) Export(context.Context, *SqlInstancesExportRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Failover ¶
func (UnimplementedSqlInstancesServiceServer) Failover(context.Context, *SqlInstancesFailoverRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) GetDiskShrinkConfig ¶
func (UnimplementedSqlInstancesServiceServer) GetDiskShrinkConfig(context.Context, *SqlInstancesGetDiskShrinkConfigRequest) (*SqlInstancesGetDiskShrinkConfigResponse, error)
func (UnimplementedSqlInstancesServiceServer) GetLatestRecoveryTime ¶
func (UnimplementedSqlInstancesServiceServer) GetLatestRecoveryTime(context.Context, *SqlInstancesGetLatestRecoveryTimeRequest) (*SqlInstancesGetLatestRecoveryTimeResponse, error)
func (UnimplementedSqlInstancesServiceServer) Import ¶
func (UnimplementedSqlInstancesServiceServer) Import(context.Context, *SqlInstancesImportRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Insert ¶
func (UnimplementedSqlInstancesServiceServer) Insert(context.Context, *SqlInstancesInsertRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) ListServerCas ¶
func (UnimplementedSqlInstancesServiceServer) ListServerCas(context.Context, *SqlInstancesListServerCasRequest) (*InstancesListServerCasResponse, error)
func (UnimplementedSqlInstancesServiceServer) Patch ¶
func (UnimplementedSqlInstancesServiceServer) Patch(context.Context, *SqlInstancesPatchRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) PerformDiskShrink ¶
func (UnimplementedSqlInstancesServiceServer) PerformDiskShrink(context.Context, *SqlInstancesPerformDiskShrinkRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) PromoteReplica ¶
func (UnimplementedSqlInstancesServiceServer) PromoteReplica(context.Context, *SqlInstancesPromoteReplicaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Reencrypt ¶
func (UnimplementedSqlInstancesServiceServer) Reencrypt(context.Context, *SqlInstancesReencryptRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) ReleaseSsrsLease ¶
func (UnimplementedSqlInstancesServiceServer) ReleaseSsrsLease(context.Context, *SqlInstancesReleaseSsrsLeaseRequest) (*SqlInstancesReleaseSsrsLeaseResponse, error)
func (UnimplementedSqlInstancesServiceServer) RescheduleMaintenance ¶
func (UnimplementedSqlInstancesServiceServer) RescheduleMaintenance(context.Context, *SqlInstancesRescheduleMaintenanceRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) ResetReplicaSize ¶
func (UnimplementedSqlInstancesServiceServer) ResetReplicaSize(context.Context, *SqlInstancesResetReplicaSizeRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) ResetSslConfig ¶
func (UnimplementedSqlInstancesServiceServer) ResetSslConfig(context.Context, *SqlInstancesResetSslConfigRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Restart ¶
func (UnimplementedSqlInstancesServiceServer) Restart(context.Context, *SqlInstancesRestartRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) RestoreBackup ¶
func (UnimplementedSqlInstancesServiceServer) RestoreBackup(context.Context, *SqlInstancesRestoreBackupRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) RotateServerCa ¶
func (UnimplementedSqlInstancesServiceServer) RotateServerCa(context.Context, *SqlInstancesRotateServerCaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) StartExternalSync ¶
func (UnimplementedSqlInstancesServiceServer) StartExternalSync(context.Context, *SqlInstancesStartExternalSyncRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) StartReplica ¶
func (UnimplementedSqlInstancesServiceServer) StartReplica(context.Context, *SqlInstancesStartReplicaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) StopReplica ¶
func (UnimplementedSqlInstancesServiceServer) StopReplica(context.Context, *SqlInstancesStopReplicaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Switchover ¶
func (UnimplementedSqlInstancesServiceServer) Switchover(context.Context, *SqlInstancesSwitchoverRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) TruncateLog ¶
func (UnimplementedSqlInstancesServiceServer) TruncateLog(context.Context, *SqlInstancesTruncateLogRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) Update ¶
func (UnimplementedSqlInstancesServiceServer) Update(context.Context, *SqlInstancesUpdateRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) VerifyExternalSyncSettings ¶
func (UnimplementedSqlInstancesServiceServer) VerifyExternalSyncSettings(context.Context, *SqlInstancesVerifyExternalSyncSettingsRequest) (*SqlInstancesVerifyExternalSyncSettingsResponse, error)
type UnimplementedSqlOperationsServiceServer ¶
type UnimplementedSqlOperationsServiceServer struct { }
UnimplementedSqlOperationsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlOperationsServiceServer) Cancel ¶
func (UnimplementedSqlOperationsServiceServer) Cancel(context.Context, *SqlOperationsCancelRequest) (*empty.Empty, error)
func (UnimplementedSqlOperationsServiceServer) Get ¶
func (UnimplementedSqlOperationsServiceServer) Get(context.Context, *SqlOperationsGetRequest) (*Operation, error)
type UnimplementedSqlSslCertsServiceServer ¶
type UnimplementedSqlSslCertsServiceServer struct { }
UnimplementedSqlSslCertsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlSslCertsServiceServer) Delete ¶
func (UnimplementedSqlSslCertsServiceServer) Delete(context.Context, *SqlSslCertsDeleteRequest) (*Operation, error)
func (UnimplementedSqlSslCertsServiceServer) Get ¶
func (UnimplementedSqlSslCertsServiceServer) Get(context.Context, *SqlSslCertsGetRequest) (*SslCert, error)
func (UnimplementedSqlSslCertsServiceServer) Insert ¶
func (UnimplementedSqlSslCertsServiceServer) Insert(context.Context, *SqlSslCertsInsertRequest) (*SslCertsInsertResponse, error)
type UnimplementedSqlTiersServiceServer ¶
type UnimplementedSqlTiersServiceServer struct { }
UnimplementedSqlTiersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlTiersServiceServer) List ¶
func (UnimplementedSqlTiersServiceServer) List(context.Context, *SqlTiersListRequest) (*TiersListResponse, error)
type UnimplementedSqlUsersServiceServer ¶
type UnimplementedSqlUsersServiceServer struct { }
UnimplementedSqlUsersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSqlUsersServiceServer) Delete ¶
func (UnimplementedSqlUsersServiceServer) Delete(context.Context, *SqlUsersDeleteRequest) (*Operation, error)
func (UnimplementedSqlUsersServiceServer) Get ¶
func (UnimplementedSqlUsersServiceServer) Get(context.Context, *SqlUsersGetRequest) (*User, error)
func (UnimplementedSqlUsersServiceServer) Insert ¶
func (UnimplementedSqlUsersServiceServer) Insert(context.Context, *SqlUsersInsertRequest) (*Operation, error)
func (UnimplementedSqlUsersServiceServer) List ¶
func (UnimplementedSqlUsersServiceServer) List(context.Context, *SqlUsersListRequest) (*UsersListResponse, error)
func (UnimplementedSqlUsersServiceServer) Update ¶
func (UnimplementedSqlUsersServiceServer) Update(context.Context, *SqlUsersUpdateRequest) (*Operation, error)
type UnsafeSqlBackupRunsServiceServer ¶
type UnsafeSqlBackupRunsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlBackupRunsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlBackupRunsServiceServer will result in compilation errors.
type UnsafeSqlConnectServiceServer ¶
type UnsafeSqlConnectServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlConnectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlConnectServiceServer will result in compilation errors.
type UnsafeSqlDatabasesServiceServer ¶
type UnsafeSqlDatabasesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlDatabasesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlDatabasesServiceServer will result in compilation errors.
type UnsafeSqlFlagsServiceServer ¶
type UnsafeSqlFlagsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlFlagsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlFlagsServiceServer will result in compilation errors.
type UnsafeSqlIamPoliciesServiceServer ¶
type UnsafeSqlIamPoliciesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlIamPoliciesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlIamPoliciesServiceServer will result in compilation errors.
type UnsafeSqlInstancesServiceServer ¶
type UnsafeSqlInstancesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlInstancesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlInstancesServiceServer will result in compilation errors.
type UnsafeSqlOperationsServiceServer ¶
type UnsafeSqlOperationsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlOperationsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlOperationsServiceServer will result in compilation errors.
type UnsafeSqlSslCertsServiceServer ¶
type UnsafeSqlSslCertsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlSslCertsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlSslCertsServiceServer will result in compilation errors.
type UnsafeSqlTiersServiceServer ¶
type UnsafeSqlTiersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlTiersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlTiersServiceServer will result in compilation errors.
type UnsafeSqlUsersServiceServer ¶
type UnsafeSqlUsersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlUsersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlUsersServiceServer will result in compilation errors.
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=mockgcp.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"` // Dual password status for the user. DualPasswordType *User_DualPasswordType `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
A Cloud SQL user resource.
func (*User) Descriptor
deprecated
func (*User) GetDualPasswordType ¶
func (x *User) GetDualPasswordType() User_DualPasswordType
func (*User) GetInstance ¶
func (*User) GetPassword ¶
func (*User) GetPasswordPolicy ¶
func (x *User) GetPasswordPolicy() *UserPasswordValidationPolicy
func (*User) GetProject ¶
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
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 *duration.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"` // If true, the user must specify the current password before changing the // password. This flag is supported only for MySQL. EnablePasswordVerification bool `` /* 142-byte string literal not displayed */ // 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) GetEnablePasswordVerification ¶
func (x *UserPasswordValidationPolicy) GetEnablePasswordVerification() bool
func (*UserPasswordValidationPolicy) GetPasswordExpirationDuration ¶
func (x *UserPasswordValidationPolicy) GetPasswordExpirationDuration() *duration.Duration
func (*UserPasswordValidationPolicy) GetStatus ¶
func (x *UserPasswordValidationPolicy) GetStatus() *PasswordStatus
func (*UserPasswordValidationPolicy) ProtoMessage ¶
func (*UserPasswordValidationPolicy) ProtoMessage()
func (*UserPasswordValidationPolicy) ProtoReflect ¶
func (x *UserPasswordValidationPolicy) ProtoReflect() protoreflect.Message
func (*UserPasswordValidationPolicy) Reset ¶
func (x *UserPasswordValidationPolicy) Reset()
func (*UserPasswordValidationPolicy) String ¶
func (x *UserPasswordValidationPolicy) String() string
type User_DualPasswordType ¶
type User_DualPasswordType int32
The type of retained password.
const ( // The default value. User_DUAL_PASSWORD_TYPE_UNSPECIFIED User_DualPasswordType = 0 // Do not update the user's dual password status. User_NO_MODIFY_DUAL_PASSWORD User_DualPasswordType = 1 // No dual password usable for connecting using this user. User_NO_DUAL_PASSWORD User_DualPasswordType = 2 // Dual password usable for connecting using this user. User_DUAL_PASSWORD User_DualPasswordType = 3 )
func (User_DualPasswordType) Descriptor ¶
func (User_DualPasswordType) Descriptor() protoreflect.EnumDescriptor
func (User_DualPasswordType) Enum ¶
func (x User_DualPasswordType) Enum() *User_DualPasswordType
func (User_DualPasswordType) EnumDescriptor
deprecated
func (User_DualPasswordType) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_DualPasswordType.Descriptor instead.
func (User_DualPasswordType) Number ¶
func (x User_DualPasswordType) Number() protoreflect.EnumNumber
func (User_DualPasswordType) String ¶
func (x User_DualPasswordType) String() string
func (User_DualPasswordType) Type ¶
func (User_DualPasswordType) Type() protoreflect.EnumType
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 // Cloud IAM group non-login user. User_CLOUD_IAM_GROUP User_SqlUserType = 3 // Cloud IAM group login user. User_CLOUD_IAM_GROUP_USER User_SqlUserType = 4 // Cloud IAM group service account. User_CLOUD_IAM_GROUP_SERVICE_ACCOUNT User_SqlUserType = 5 )
func (User_SqlUserType) Descriptor ¶
func (User_SqlUserType) Descriptor() protoreflect.EnumDescriptor
func (User_SqlUserType) Enum ¶
func (x User_SqlUserType) Enum() *User_SqlUserType
func (User_SqlUserType) EnumDescriptor
deprecated
func (User_SqlUserType) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_SqlUserType.Descriptor instead.
func (User_SqlUserType) Number ¶
func (x User_SqlUserType) Number() protoreflect.EnumNumber
func (User_SqlUserType) String ¶
func (x User_SqlUserType) String() string
func (User_SqlUserType) Type ¶
func (User_SqlUserType) Type() protoreflect.EnumType
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"` // Unused. // // Deprecated: Do not use. 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
deprecated
func (x *UsersListResponse) GetNextPageToken() string
Deprecated: Do not use.
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
Source Files
¶
- cloud_sql.pb.go
- cloud_sql.pb.gw.go
- cloud_sql_connect.pb.go
- cloud_sql_connect.pb.gw.go
- cloud_sql_connect_grpc.pb.go
- cloud_sql_grpc.pb.go
- cloud_sql_iam_policies.pb.go
- cloud_sql_iam_policies_grpc.pb.go
- cloud_sql_resources.pb.go
- cloud_sql_tiers.pb.go
- cloud_sql_tiers.pb.gw.go
- cloud_sql_tiers_grpc.pb.go
- cloud_sql_users.pb.go
- cloud_sql_users.pb.gw.go
- cloud_sql_users_grpc.pb.go