Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterSqlBackupRunsServiceServer(s grpc.ServiceRegistrar, srv SqlBackupRunsServiceServer)
- func RegisterSqlBackupsServiceServer(s grpc.ServiceRegistrar, srv SqlBackupsServiceServer)
- func RegisterSqlConnectServiceServer(s grpc.ServiceRegistrar, srv SqlConnectServiceServer)
- func RegisterSqlDataServiceServer(s grpc.ServiceRegistrar, srv SqlDataServiceServer)
- func RegisterSqlDatabasesServiceServer(s grpc.ServiceRegistrar, srv SqlDatabasesServiceServer)
- func RegisterSqlFlagsServiceServer(s grpc.ServiceRegistrar, srv SqlFlagsServiceServer)
- func RegisterSqlIamPoliciesServiceServer(s grpc.ServiceRegistrar, srv SqlIamPoliciesServiceServer)
- func RegisterSqlInstancesServiceServer(s grpc.ServiceRegistrar, srv SqlInstancesServiceServer)
- func RegisterSqlOperationsServiceServer(s grpc.ServiceRegistrar, srv SqlOperationsServiceServer)
- func RegisterSqlSslCertsServiceServer(s grpc.ServiceRegistrar, srv SqlSslCertsServiceServer)
- func RegisterSqlTiersServiceServer(s grpc.ServiceRegistrar, srv SqlTiersServiceServer)
- func RegisterSqlUsersServiceServer(s grpc.ServiceRegistrar, srv SqlUsersServiceServer)
- type Ack
- type AclEntry
- func (*AclEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AclEntry) GetExpirationTime() *timestamppb.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() *durationpb.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 AutoDnsStatus
- func (AutoDnsStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AutoDnsStatus) Enum() *AutoDnsStatus
- func (AutoDnsStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AutoDnsStatus) Number() protoreflect.EnumNumber
- func (x AutoDnsStatus) String() string
- func (AutoDnsStatus) 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 Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetBackupInterval() *interval.Interval
- func (x *Backup) GetBackupKind() SqlBackupKind
- func (x *Backup) GetBackupRun() string
- func (x *Backup) GetDatabaseVersion() SqlDatabaseVersion
- func (x *Backup) GetDescription() string
- func (x *Backup) GetError() *OperationError
- func (x *Backup) GetExpiration() isBackup_Expiration
- func (x *Backup) GetExpiryTime() *timestamppb.Timestamp
- func (x *Backup) GetInstance() string
- func (x *Backup) GetInstanceDeletionTime() *timestamppb.Timestamp
- func (x *Backup) GetInstanceSettings() *DatabaseInstance
- func (x *Backup) GetKind() string
- func (x *Backup) GetKmsKey() string
- func (x *Backup) GetKmsKeyVersion() string
- func (x *Backup) GetLocation() string
- func (x *Backup) GetMaxChargeableBytes() int64
- func (x *Backup) GetName() string
- func (x *Backup) GetSatisfiesPzi() *wrapperspb.BoolValue
- func (x *Backup) GetSatisfiesPzs() *wrapperspb.BoolValue
- func (x *Backup) GetSelfLink() string
- func (x *Backup) GetState() Backup_SqlBackupState
- func (x *Backup) GetTimeZone() string
- func (x *Backup) GetTtlDays() int64
- func (x *Backup) GetType() Backup_SqlBackupType
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (x *Backup) String() string
- type BackupConfiguration
- func (*BackupConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *BackupConfiguration) GetBackupRetentionSettings() *BackupRetentionSettings
- func (x *BackupConfiguration) GetBackupTier() BackupConfiguration_BackupTier
- func (x *BackupConfiguration) GetBinaryLogEnabled() *wrapperspb.BoolValue
- func (x *BackupConfiguration) GetEnabled() *wrapperspb.BoolValue
- func (x *BackupConfiguration) GetKind() string
- func (x *BackupConfiguration) GetLocation() string
- func (x *BackupConfiguration) GetPointInTimeRecoveryEnabled() *wrapperspb.BoolValue
- func (x *BackupConfiguration) GetReplicationLogArchivingEnabled() *wrapperspb.BoolValuedeprecated
- func (x *BackupConfiguration) GetStartTime() string
- func (x *BackupConfiguration) GetTransactionLogRetentionDays() *wrapperspb.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_BackupTier
- func (BackupConfiguration_BackupTier) Descriptor() protoreflect.EnumDescriptor
- func (x BackupConfiguration_BackupTier) Enum() *BackupConfiguration_BackupTier
- func (BackupConfiguration_BackupTier) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupConfiguration_BackupTier) Number() protoreflect.EnumNumber
- func (x BackupConfiguration_BackupTier) String() string
- func (BackupConfiguration_BackupTier) Type() protoreflect.EnumType
- 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 (x *BackupContext) GetName() 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() *wrapperspb.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) GetDatabaseVersion() SqlDatabaseVersion
- func (x *BackupRun) GetDescription() string
- func (x *BackupRun) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration
- func (x *BackupRun) GetDiskEncryptionStatus() *DiskEncryptionStatus
- func (x *BackupRun) GetEndTime() *timestamppb.Timestamp
- func (x *BackupRun) GetEnqueuedTime() *timestamppb.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) GetMaxChargeableBytes() int64
- func (x *BackupRun) GetSelfLink() string
- func (x *BackupRun) GetStartTime() *timestamppb.Timestamp
- func (x *BackupRun) GetStatus() SqlBackupRunStatus
- func (x *BackupRun) GetTimeZone() string
- func (x *BackupRun) GetType() SqlBackupRunType
- func (x *BackupRun) GetWindowStartTime() *timestamppb.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 Backup_ExpiryTime
- type Backup_SqlBackupState
- func (Backup_SqlBackupState) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_SqlBackupState) Enum() *Backup_SqlBackupState
- func (Backup_SqlBackupState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_SqlBackupState) Number() protoreflect.EnumNumber
- func (x Backup_SqlBackupState) String() string
- func (Backup_SqlBackupState) Type() protoreflect.EnumType
- type Backup_SqlBackupType
- func (Backup_SqlBackupType) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_SqlBackupType) Enum() *Backup_SqlBackupType
- func (Backup_SqlBackupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_SqlBackupType) Number() protoreflect.EnumNumber
- func (x Backup_SqlBackupType) String() string
- func (Backup_SqlBackupType) Type() protoreflect.EnumType
- type Backup_TtlDays
- 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) GetDestinationNetwork() string
- func (x *CloneContext) GetDestinationProject() string
- func (x *CloneContext) GetKind() string
- func (x *CloneContext) GetPitrTimestampMs() int64
- func (x *CloneContext) GetPointInTime() *timestamppb.Timestamp
- func (x *CloneContext) GetPreferredSecondaryZone() string
- func (x *CloneContext) GetPreferredZone() string
- func (x *CloneContext) GetSourceInstanceDeletionTime() *timestamppb.Timestamp
- func (*CloneContext) ProtoMessage()
- func (x *CloneContext) ProtoReflect() protoreflect.Message
- func (x *CloneContext) Reset()
- func (x *CloneContext) String() string
- type Column
- type ConnectSettings
- func (*ConnectSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectSettings) GetBackendType() SqlBackendType
- func (x *ConnectSettings) GetConnectionName() string
- func (x *ConnectSettings) GetCustomSubjectAlternativeNames() []string
- func (x *ConnectSettings) GetDatabaseVersion() SqlDatabaseVersion
- func (x *ConnectSettings) GetDnsName() string
- func (x *ConnectSettings) GetDnsNames() []*DnsNameMapping
- func (x *ConnectSettings) GetIpAddresses() []*IpMapping
- func (x *ConnectSettings) GetKind() string
- func (x *ConnectSettings) GetMdxProtocolSupport() []ConnectSettings_MdxProtocolSupport
- func (x *ConnectSettings) GetNodeCount() int32
- func (x *ConnectSettings) GetNodes() []*ConnectSettings_ConnectPoolNodeConfig
- func (x *ConnectSettings) GetPscEnabled() bool
- func (x *ConnectSettings) GetRegion() string
- func (x *ConnectSettings) GetServerCaCert() *SslCert
- func (x *ConnectSettings) GetServerCaMode() ConnectSettings_CaMode
- func (*ConnectSettings) ProtoMessage()
- func (x *ConnectSettings) ProtoReflect() protoreflect.Message
- func (x *ConnectSettings) Reset()
- func (x *ConnectSettings) String() string
- type ConnectSettings_CaMode
- func (ConnectSettings_CaMode) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectSettings_CaMode) Enum() *ConnectSettings_CaMode
- func (ConnectSettings_CaMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectSettings_CaMode) Number() protoreflect.EnumNumber
- func (x ConnectSettings_CaMode) String() string
- func (ConnectSettings_CaMode) Type() protoreflect.EnumType
- type ConnectSettings_ConnectPoolNodeConfig
- func (*ConnectSettings_ConnectPoolNodeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectSettings_ConnectPoolNodeConfig) GetDnsName() string
- func (x *ConnectSettings_ConnectPoolNodeConfig) GetDnsNames() []*DnsNameMapping
- func (x *ConnectSettings_ConnectPoolNodeConfig) GetIpAddresses() []*IpMapping
- func (x *ConnectSettings_ConnectPoolNodeConfig) GetName() string
- func (*ConnectSettings_ConnectPoolNodeConfig) ProtoMessage()
- func (x *ConnectSettings_ConnectPoolNodeConfig) ProtoReflect() protoreflect.Message
- func (x *ConnectSettings_ConnectPoolNodeConfig) Reset()
- func (x *ConnectSettings_ConnectPoolNodeConfig) String() string
- type ConnectSettings_MdxProtocolSupport
- func (ConnectSettings_MdxProtocolSupport) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectSettings_MdxProtocolSupport) Enum() *ConnectSettings_MdxProtocolSupport
- func (ConnectSettings_MdxProtocolSupport) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectSettings_MdxProtocolSupport) Number() protoreflect.EnumNumber
- func (x ConnectSettings_MdxProtocolSupport) String() string
- func (ConnectSettings_MdxProtocolSupport) Type() protoreflect.EnumType
- type ConnectionPoolConfig
- func (*ConnectionPoolConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionPoolConfig) GetConnectionPoolingEnabled() bool
- func (x *ConnectionPoolConfig) GetFlags() []*ConnectionPoolFlags
- func (x *ConnectionPoolConfig) GetPoolerCount() int32
- func (*ConnectionPoolConfig) ProtoMessage()
- func (x *ConnectionPoolConfig) ProtoReflect() protoreflect.Message
- func (x *ConnectionPoolConfig) Reset()
- func (x *ConnectionPoolConfig) String() string
- type ConnectionPoolFlags
- func (*ConnectionPoolFlags) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionPoolFlags) GetName() string
- func (x *ConnectionPoolFlags) GetValue() string
- func (*ConnectionPoolFlags) ProtoMessage()
- func (x *ConnectionPoolFlags) ProtoReflect() protoreflect.Message
- func (x *ConnectionPoolFlags) Reset()
- func (x *ConnectionPoolFlags) String() string
- type ContinueSession
- func (*ContinueSession) Descriptor() ([]byte, []int)deprecated
- func (x *ContinueSession) GetInstanceId() string
- func (x *ContinueSession) GetLocationId() string
- func (x *ContinueSession) GetSessionId() string
- func (*ContinueSession) ProtoMessage()
- func (x *ContinueSession) ProtoReflect() protoreflect.Message
- func (x *ContinueSession) Reset()
- func (x *ContinueSession) String() string
- type CreateBackupRequest
- func (*CreateBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupRequest) GetBackup() *Backup
- func (x *CreateBackupRequest) GetParent() string
- func (*CreateBackupRequest) ProtoMessage()
- func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBackupRequest) Reset()
- func (x *CreateBackupRequest) String() string
- type DataCacheConfig
- type DataPacket
- func (*DataPacket) Descriptor() ([]byte, []int)deprecated
- func (x *DataPacket) GetData() []byte
- func (x *DataPacket) GetFirstByteOffset() int64
- func (*DataPacket) ProtoMessage()
- func (x *DataPacket) ProtoReflect() protoreflect.Message
- func (x *DataPacket) Reset()
- func (x *DataPacket) String() string
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetCharset() string
- func (x *Database) GetCollation() string
- func (x *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() *timestamppb.Timestamp
- func (x *DatabaseInstance) GetCurrentDiskSize() *wrapperspb.Int64Valuedeprecated
- func (x *DatabaseInstance) GetDatabaseCenterIntegrationEnabled() *wrapperspb.BoolValue
- 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) GetDnsNames() []*DnsNameMapping
- func (x *DatabaseInstance) GetEtag() string
- func (x *DatabaseInstance) GetFailoverReplica() *DatabaseInstance_SqlFailoverReplica
- func (x *DatabaseInstance) GetGceZone() string
- func (x *DatabaseInstance) GetGeminiConfig() *GeminiInstanceConfig
- func (x *DatabaseInstance) GetIncludeReplicasForMajorVersionUpgrade() *wrapperspb.BoolValue
- 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() *wrapperspb.Int64Valuedeprecated
- func (x *DatabaseInstance) GetName() string
- func (x *DatabaseInstance) GetNodeCount() int32
- func (x *DatabaseInstance) GetNodes() []*DatabaseInstance_PoolNodeConfig
- 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) GetSatisfiesPzi() *wrapperspb.BoolValue
- func (x *DatabaseInstance) GetSatisfiesPzs() *wrapperspb.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) GetSwitchTransactionLogsToCloudStorageEnabled() *wrapperspb.BoolValue
- func (x *DatabaseInstance) GetTags() map[string]string
- 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_PoolNodeConfig
- func (*DatabaseInstance_PoolNodeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInstance_PoolNodeConfig) GetDnsName() string
- func (x *DatabaseInstance_PoolNodeConfig) GetDnsNames() []*DnsNameMapping
- func (x *DatabaseInstance_PoolNodeConfig) GetGceZone() string
- func (x *DatabaseInstance_PoolNodeConfig) GetIpAddresses() []*IpMapping
- func (x *DatabaseInstance_PoolNodeConfig) GetName() string
- func (x *DatabaseInstance_PoolNodeConfig) GetPscAutoConnections() []*PscAutoConnectionConfig
- func (x *DatabaseInstance_PoolNodeConfig) GetPscServiceAttachmentLink() string
- func (x *DatabaseInstance_PoolNodeConfig) GetState() DatabaseInstance_SqlInstanceState
- func (*DatabaseInstance_PoolNodeConfig) ProtoMessage()
- func (x *DatabaseInstance_PoolNodeConfig) ProtoReflect() protoreflect.Message
- func (x *DatabaseInstance_PoolNodeConfig) Reset()
- func (x *DatabaseInstance_PoolNodeConfig) String() string
- type DatabaseInstance_SqlFailoverReplica
- func (*DatabaseInstance_SqlFailoverReplica) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInstance_SqlFailoverReplica) GetAvailable() *wrapperspb.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() *timestamppb.Timestamp
- func (x *DatabaseInstance_SqlScheduledMaintenance) GetStartTime() *timestamppb.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 DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetName() string
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (x *DeleteBackupRequest) 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() *wrapperspb.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 DnsNameMapping
- func (*DnsNameMapping) Descriptor() ([]byte, []int)deprecated
- func (x *DnsNameMapping) GetConnectionType() DnsNameMapping_ConnectionType
- func (x *DnsNameMapping) GetDnsScope() DnsNameMapping_DnsScope
- func (x *DnsNameMapping) GetName() string
- func (x *DnsNameMapping) GetRecordManager() DnsNameMapping_RecordManager
- func (*DnsNameMapping) ProtoMessage()
- func (x *DnsNameMapping) ProtoReflect() protoreflect.Message
- func (x *DnsNameMapping) Reset()
- func (x *DnsNameMapping) String() string
- type DnsNameMapping_ConnectionType
- func (DnsNameMapping_ConnectionType) Descriptor() protoreflect.EnumDescriptor
- func (x DnsNameMapping_ConnectionType) Enum() *DnsNameMapping_ConnectionType
- func (DnsNameMapping_ConnectionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DnsNameMapping_ConnectionType) Number() protoreflect.EnumNumber
- func (x DnsNameMapping_ConnectionType) String() string
- func (DnsNameMapping_ConnectionType) Type() protoreflect.EnumType
- type DnsNameMapping_DnsScope
- func (DnsNameMapping_DnsScope) Descriptor() protoreflect.EnumDescriptor
- func (x DnsNameMapping_DnsScope) Enum() *DnsNameMapping_DnsScope
- func (DnsNameMapping_DnsScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x DnsNameMapping_DnsScope) Number() protoreflect.EnumNumber
- func (x DnsNameMapping_DnsScope) String() string
- func (DnsNameMapping_DnsScope) Type() protoreflect.EnumType
- type DnsNameMapping_RecordManager
- func (DnsNameMapping_RecordManager) Descriptor() protoreflect.EnumDescriptor
- func (x DnsNameMapping_RecordManager) Enum() *DnsNameMapping_RecordManager
- func (DnsNameMapping_RecordManager) EnumDescriptor() ([]byte, []int)deprecated
- func (x DnsNameMapping_RecordManager) Number() protoreflect.EnumNumber
- func (x DnsNameMapping_RecordManager) String() string
- func (DnsNameMapping_RecordManager) Type() protoreflect.EnumType
- type ExecuteSqlPayload
- func (*ExecuteSqlPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteSqlPayload) GetApplication() string
- func (x *ExecuteSqlPayload) GetAutoIamAuthn() bool
- func (x *ExecuteSqlPayload) GetDatabase() string
- func (x *ExecuteSqlPayload) GetPartialResultMode() ExecuteSqlPayload_PartialResultMode
- func (x *ExecuteSqlPayload) GetPasswordSecretVersion() string
- func (x *ExecuteSqlPayload) GetRowLimit() int64
- func (x *ExecuteSqlPayload) GetSqlStatement() string
- func (x *ExecuteSqlPayload) GetUser() string
- func (x *ExecuteSqlPayload) GetUserPassword() isExecuteSqlPayload_UserPassword
- func (*ExecuteSqlPayload) ProtoMessage()
- func (x *ExecuteSqlPayload) ProtoReflect() protoreflect.Message
- func (x *ExecuteSqlPayload) Reset()
- func (x *ExecuteSqlPayload) String() string
- type ExecuteSqlPayload_AutoIamAuthn
- type ExecuteSqlPayload_PartialResultMode
- func (ExecuteSqlPayload_PartialResultMode) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteSqlPayload_PartialResultMode) Enum() *ExecuteSqlPayload_PartialResultMode
- func (ExecuteSqlPayload_PartialResultMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteSqlPayload_PartialResultMode) Number() protoreflect.EnumNumber
- func (x ExecuteSqlPayload_PartialResultMode) String() string
- func (ExecuteSqlPayload_PartialResultMode) Type() protoreflect.EnumType
- type ExecuteSqlPayload_PasswordSecretVersion
- 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() *wrapperspb.BoolValue
- func (x *ExportContext) GetSqlExportOptions() *ExportContext_SqlExportOptions
- func (x *ExportContext) GetTdeExportOptions() *ExportContext_SqlTdeExportOptions
- 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() *wrapperspb.BoolValuedeprecated
- func (x *ExportContext_SqlBakExportOptions) GetDifferentialBase() *wrapperspb.BoolValue
- func (x *ExportContext_SqlBakExportOptions) GetExportLogEndTime() *timestamppb.Timestamp
- func (x *ExportContext_SqlBakExportOptions) GetExportLogStartTime() *timestamppb.Timestamp
- func (x *ExportContext_SqlBakExportOptions) GetStripeCount() *wrapperspb.Int32Value
- func (x *ExportContext_SqlBakExportOptions) GetStriped() *wrapperspb.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() *wrapperspb.BoolValue
- func (x *ExportContext_SqlExportOptions) GetPostgresExportOptions() *ExportContext_SqlExportOptions_PostgresExportOptions
- func (x *ExportContext_SqlExportOptions) GetSchemaOnly() *wrapperspb.BoolValue
- func (x *ExportContext_SqlExportOptions) GetTables() []string
- func (x *ExportContext_SqlExportOptions) GetThreads() *wrapperspb.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() *wrapperspb.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 ExportContext_SqlExportOptions_PostgresExportOptions
- func (*ExportContext_SqlExportOptions_PostgresExportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext_SqlExportOptions_PostgresExportOptions) GetClean() *wrapperspb.BoolValue
- func (x *ExportContext_SqlExportOptions_PostgresExportOptions) GetIfExists() *wrapperspb.BoolValue
- func (*ExportContext_SqlExportOptions_PostgresExportOptions) ProtoMessage()
- func (x *ExportContext_SqlExportOptions_PostgresExportOptions) ProtoReflect() protoreflect.Message
- func (x *ExportContext_SqlExportOptions_PostgresExportOptions) Reset()
- func (x *ExportContext_SqlExportOptions_PostgresExportOptions) String() string
- type ExportContext_SqlTdeExportOptions
- func (*ExportContext_SqlTdeExportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExportContext_SqlTdeExportOptions) GetCertificatePath() string
- func (x *ExportContext_SqlTdeExportOptions) GetName() string
- func (x *ExportContext_SqlTdeExportOptions) GetPrivateKeyPassword() string
- func (x *ExportContext_SqlTdeExportOptions) GetPrivateKeyPath() string
- func (*ExportContext_SqlTdeExportOptions) ProtoMessage()
- func (x *ExportContext_SqlTdeExportOptions) ProtoReflect() protoreflect.Message
- func (x *ExportContext_SqlTdeExportOptions) Reset()
- func (x *ExportContext_SqlTdeExportOptions) 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 ExternalSyncSelectedObject
- func (*ExternalSyncSelectedObject) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalSyncSelectedObject) GetDatabase() string
- func (*ExternalSyncSelectedObject) ProtoMessage()
- func (x *ExternalSyncSelectedObject) ProtoReflect() protoreflect.Message
- func (x *ExternalSyncSelectedObject) Reset()
- func (x *ExternalSyncSelectedObject) String() string
- 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 FinalBackupConfig
- func (*FinalBackupConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FinalBackupConfig) GetEnabled() bool
- func (x *FinalBackupConfig) GetRetentionDays() int32
- func (*FinalBackupConfig) ProtoMessage()
- func (x *FinalBackupConfig) ProtoReflect() protoreflect.Message
- func (x *FinalBackupConfig) Reset()
- func (x *FinalBackupConfig) 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) GetFlagScope() SqlFlagScope
- func (x *Flag) GetInBeta() *wrapperspb.BoolValue
- func (x *Flag) GetKind() string
- func (x *Flag) GetMaxValue() *wrapperspb.Int64Value
- func (x *Flag) GetMinValue() *wrapperspb.Int64Value
- func (x *Flag) GetName() string
- func (x *Flag) GetRecommendedIntValue() *wrapperspb.Int64Value
- func (x *Flag) GetRecommendedStringValue() string
- func (x *Flag) GetRecommendedValue() isFlag_RecommendedValue
- func (x *Flag) GetRequiresRestart() *wrapperspb.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 Flag_RecommendedIntValue
- type Flag_RecommendedStringValue
- 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() *timestamppb.Timestamp
- func (x *GenerateEphemeralCertRequest) GetValidDuration() *durationpb.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 GetBackupRequest
- type GetConnectSettingsRequest
- func (*GetConnectSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectSettingsRequest) GetInstance() string
- func (x *GetConnectSettingsRequest) GetProject() string
- func (x *GetConnectSettingsRequest) GetReadTime() *timestamppb.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) GetTdeImportOptions() *ImportContext_SqlTdeImportOptions
- 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() *wrapperspb.BoolValue
- func (x *ImportContext_SqlBakImportOptions) GetRecoveryOnly() *wrapperspb.BoolValue
- func (x *ImportContext_SqlBakImportOptions) GetStopAt() *timestamppb.Timestamp
- func (x *ImportContext_SqlBakImportOptions) GetStopAtMark() string
- func (x *ImportContext_SqlBakImportOptions) GetStriped() *wrapperspb.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) GetKeepEncrypted() *wrapperspb.BoolValue
- 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() *wrapperspb.BoolValue
- func (x *ImportContext_SqlImportOptions) GetPostgresImportOptions() *ImportContext_SqlImportOptions_PostgresImportOptions
- func (x *ImportContext_SqlImportOptions) GetThreads() *wrapperspb.Int32Value
- func (*ImportContext_SqlImportOptions) ProtoMessage()
- func (x *ImportContext_SqlImportOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlImportOptions) Reset()
- func (x *ImportContext_SqlImportOptions) String() string
- type ImportContext_SqlImportOptions_PostgresImportOptions
- func (*ImportContext_SqlImportOptions_PostgresImportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext_SqlImportOptions_PostgresImportOptions) GetClean() *wrapperspb.BoolValue
- func (x *ImportContext_SqlImportOptions_PostgresImportOptions) GetIfExists() *wrapperspb.BoolValue
- func (*ImportContext_SqlImportOptions_PostgresImportOptions) ProtoMessage()
- func (x *ImportContext_SqlImportOptions_PostgresImportOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlImportOptions_PostgresImportOptions) Reset()
- func (x *ImportContext_SqlImportOptions_PostgresImportOptions) String() string
- type ImportContext_SqlTdeImportOptions
- func (*ImportContext_SqlTdeImportOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImportContext_SqlTdeImportOptions) GetCertificatePath() string
- func (x *ImportContext_SqlTdeImportOptions) GetName() string
- func (x *ImportContext_SqlTdeImportOptions) GetPrivateKeyPassword() string
- func (x *ImportContext_SqlTdeImportOptions) GetPrivateKeyPath() string
- func (*ImportContext_SqlTdeImportOptions) ProtoMessage()
- func (x *ImportContext_SqlTdeImportOptions) ProtoReflect() protoreflect.Message
- func (x *ImportContext_SqlTdeImportOptions) Reset()
- func (x *ImportContext_SqlTdeImportOptions) String() string
- type InsightsConfig
- func (*InsightsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InsightsConfig) GetEnhancedQueryInsightsEnabled() *wrapperspb.BoolValue
- func (x *InsightsConfig) GetQueryInsightsEnabled() bool
- func (x *InsightsConfig) GetQueryPlansPerMinute() *wrapperspb.Int32Value
- func (x *InsightsConfig) GetQueryStringLength() *wrapperspb.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 InstancesListEntraIdCertificatesResponse
- func (*InstancesListEntraIdCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesListEntraIdCertificatesResponse) GetActiveVersion() string
- func (x *InstancesListEntraIdCertificatesResponse) GetCerts() []*SslCert
- func (x *InstancesListEntraIdCertificatesResponse) GetKind() string
- func (*InstancesListEntraIdCertificatesResponse) ProtoMessage()
- func (x *InstancesListEntraIdCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *InstancesListEntraIdCertificatesResponse) Reset()
- func (x *InstancesListEntraIdCertificatesResponse) 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 InstancesListServerCertificatesResponse
- func (*InstancesListServerCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesListServerCertificatesResponse) GetActiveVersion() string
- func (x *InstancesListServerCertificatesResponse) GetCaCerts() []*SslCert
- func (x *InstancesListServerCertificatesResponse) GetKind() string
- func (x *InstancesListServerCertificatesResponse) GetServerCerts() []*SslCert
- func (*InstancesListServerCertificatesResponse) ProtoMessage()
- func (x *InstancesListServerCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *InstancesListServerCertificatesResponse) Reset()
- func (x *InstancesListServerCertificatesResponse) String() string
- type InstancesPreCheckMajorVersionUpgradeRequest
- func (*InstancesPreCheckMajorVersionUpgradeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesPreCheckMajorVersionUpgradeRequest) GetPreCheckMajorVersionUpgradeContext() *PreCheckMajorVersionUpgradeContext
- func (*InstancesPreCheckMajorVersionUpgradeRequest) ProtoMessage()
- func (x *InstancesPreCheckMajorVersionUpgradeRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesPreCheckMajorVersionUpgradeRequest) Reset()
- func (x *InstancesPreCheckMajorVersionUpgradeRequest) 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) GetBackup() string
- func (x *InstancesRestoreBackupRequest) GetBackupdrBackup() string
- func (x *InstancesRestoreBackupRequest) GetRestoreBackupContext() *RestoreBackupContext
- func (x *InstancesRestoreBackupRequest) GetRestoreInstanceClearOverridesFieldNames() []string
- func (x *InstancesRestoreBackupRequest) GetRestoreInstanceSettings() *DatabaseInstance
- func (*InstancesRestoreBackupRequest) ProtoMessage()
- func (x *InstancesRestoreBackupRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesRestoreBackupRequest) Reset()
- func (x *InstancesRestoreBackupRequest) String() string
- type InstancesRotateEntraIdCertificateRequest
- func (*InstancesRotateEntraIdCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesRotateEntraIdCertificateRequest) GetRotateEntraIdCertificateContext() *RotateEntraIdCertificateContext
- func (*InstancesRotateEntraIdCertificateRequest) ProtoMessage()
- func (x *InstancesRotateEntraIdCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesRotateEntraIdCertificateRequest) Reset()
- func (x *InstancesRotateEntraIdCertificateRequest) 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 InstancesRotateServerCertificateRequest
- func (*InstancesRotateServerCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesRotateServerCertificateRequest) GetRotateServerCertificateContext() *RotateServerCertificateContext
- func (*InstancesRotateServerCertificateRequest) ProtoMessage()
- func (x *InstancesRotateServerCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *InstancesRotateServerCertificateRequest) Reset()
- func (x *InstancesRotateServerCertificateRequest) 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) GetCustomSubjectAlternativeNames() []string
- func (x *IpConfiguration) GetEnablePrivatePathForGoogleCloudServices() *wrapperspb.BoolValue
- func (x *IpConfiguration) GetIpv4Enabled() *wrapperspb.BoolValue
- func (x *IpConfiguration) GetPrivateNetwork() string
- func (x *IpConfiguration) GetPscConfig() *PscConfig
- func (x *IpConfiguration) GetRequireSsl() *wrapperspb.BoolValue
- func (x *IpConfiguration) GetServerCaMode() IpConfiguration_CaMode
- func (x *IpConfiguration) GetServerCaPool() string
- func (x *IpConfiguration) GetServerCertificateRotationMode() IpConfiguration_ServerCertificateRotationMode
- 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_CaMode
- func (IpConfiguration_CaMode) Descriptor() protoreflect.EnumDescriptor
- func (x IpConfiguration_CaMode) Enum() *IpConfiguration_CaMode
- func (IpConfiguration_CaMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpConfiguration_CaMode) Number() protoreflect.EnumNumber
- func (x IpConfiguration_CaMode) String() string
- func (IpConfiguration_CaMode) Type() protoreflect.EnumType
- type IpConfiguration_ServerCertificateRotationMode
- func (IpConfiguration_ServerCertificateRotationMode) Descriptor() protoreflect.EnumDescriptor
- func (x IpConfiguration_ServerCertificateRotationMode) Enum() *IpConfiguration_ServerCertificateRotationMode
- func (IpConfiguration_ServerCertificateRotationMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpConfiguration_ServerCertificateRotationMode) Number() protoreflect.EnumNumber
- func (x IpConfiguration_ServerCertificateRotationMode) String() string
- func (IpConfiguration_ServerCertificateRotationMode) Type() protoreflect.EnumType
- 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() *timestamppb.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 ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetFilter() string
- func (x *ListBackupsRequest) GetPageSize() int32
- func (x *ListBackupsRequest) GetPageToken() string
- func (x *ListBackupsRequest) GetParent() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetBackups() []*Backup
- func (x *ListBackupsResponse) GetNextPageToken() string
- func (x *ListBackupsResponse) GetWarnings() []*ApiWarning
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (x *ListBackupsResponse) 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() *wrapperspb.Int32Value
- func (x *MaintenanceWindow) GetHour() *wrapperspb.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 Metadata
- 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() *wrapperspb.Int32Value
- func (x *MySqlReplicaConfiguration) GetDumpFilePath() string
- func (x *MySqlReplicaConfiguration) GetKind() string
- func (x *MySqlReplicaConfiguration) GetMasterHeartbeatPeriod() *wrapperspb.Int64Value
- func (x *MySqlReplicaConfiguration) GetPassword() string
- func (x *MySqlReplicaConfiguration) GetSslCipher() string
- func (x *MySqlReplicaConfiguration) GetUsername() string
- func (x *MySqlReplicaConfiguration) GetVerifyServerCertificate() *wrapperspb.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) GetDmsManaged() bool
- func (x *OnPremisesConfiguration) GetDumpFilePath() string
- func (x *OnPremisesConfiguration) GetHostPort() string
- func (x *OnPremisesConfiguration) GetKind() string
- func (x *OnPremisesConfiguration) GetPassword() string
- func (x *OnPremisesConfiguration) GetSelectedObjects() []*SelectedObjects
- func (x *OnPremisesConfiguration) GetSourceInstance() *InstanceReference
- func (x *OnPremisesConfiguration) GetSslOption() OnPremisesConfiguration_SslOption
- func (x *OnPremisesConfiguration) GetUsername() string
- func (*OnPremisesConfiguration) ProtoMessage()
- func (x *OnPremisesConfiguration) ProtoReflect() protoreflect.Message
- func (x *OnPremisesConfiguration) Reset()
- func (x *OnPremisesConfiguration) String() string
- type OnPremisesConfiguration_SslOption
- func (OnPremisesConfiguration_SslOption) Descriptor() protoreflect.EnumDescriptor
- func (x OnPremisesConfiguration_SslOption) Enum() *OnPremisesConfiguration_SslOption
- func (OnPremisesConfiguration_SslOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnPremisesConfiguration_SslOption) Number() protoreflect.EnumNumber
- func (x OnPremisesConfiguration_SslOption) String() string
- func (OnPremisesConfiguration_SslOption) Type() protoreflect.EnumType
- 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() *timestamppb.Timestamp
- func (x *Operation) GetError() *OperationErrors
- func (x *Operation) GetExportContext() *ExportContext
- func (x *Operation) GetImportContext() *ImportContext
- func (x *Operation) GetInsertTime() *timestamppb.Timestamp
- func (x *Operation) GetKind() string
- func (x *Operation) GetName() string
- func (x *Operation) GetOperationType() Operation_SqlOperationType
- func (x *Operation) GetPreCheckMajorVersionUpgradeContext() *PreCheckMajorVersionUpgradeContext
- func (x *Operation) GetSelfLink() string
- func (x *Operation) GetStartTime() *timestamppb.Timestamp
- func (x *Operation) GetStatus() Operation_SqlOperationStatus
- func (x *Operation) GetSubOperationType() *SqlSubOperationType
- 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() *timestamppb.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() *wrapperspb.BoolValuedeprecated
- func (x *PasswordValidationPolicy) GetDisallowUsernameSubstring() *wrapperspb.BoolValue
- func (x *PasswordValidationPolicy) GetEnablePasswordPolicy() *wrapperspb.BoolValue
- func (x *PasswordValidationPolicy) GetMinLength() *wrapperspb.Int32Value
- func (x *PasswordValidationPolicy) GetPasswordChangeInterval() *durationpb.Duration
- func (x *PasswordValidationPolicy) GetReuseInterval() *wrapperspb.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 PerformanceCaptureConfig
- func (*PerformanceCaptureConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceCaptureConfig) GetCpuUtilizationThresholdPercent() int32
- func (x *PerformanceCaptureConfig) GetEnabled() bool
- func (x *PerformanceCaptureConfig) GetHistoryListLengthThresholdCount() int32
- func (x *PerformanceCaptureConfig) GetMemoryUsageThresholdPercent() int32
- func (x *PerformanceCaptureConfig) GetProbeThreshold() int32
- func (x *PerformanceCaptureConfig) GetProbingIntervalSeconds() int32
- func (x *PerformanceCaptureConfig) GetRunningThreadsThreshold() int32
- func (x *PerformanceCaptureConfig) GetSecondsBehindSourceThreshold() int32
- func (x *PerformanceCaptureConfig) GetSemaphoreWaitThresholdCount() int32
- func (x *PerformanceCaptureConfig) GetTransactionDurationThreshold() int32
- func (x *PerformanceCaptureConfig) GetTransactionKillExcludedUserHosts() []string
- func (x *PerformanceCaptureConfig) GetTransactionKillThresholdSeconds() int32
- func (x *PerformanceCaptureConfig) GetTransactionKillType() PerformanceCaptureConfig_TransactionKillType
- func (x *PerformanceCaptureConfig) GetTransactionLockWaitThresholdCount() int32
- func (*PerformanceCaptureConfig) ProtoMessage()
- func (x *PerformanceCaptureConfig) ProtoReflect() protoreflect.Message
- func (x *PerformanceCaptureConfig) Reset()
- func (x *PerformanceCaptureConfig) String() string
- type PerformanceCaptureConfig_TransactionKillType
- func (PerformanceCaptureConfig_TransactionKillType) Descriptor() protoreflect.EnumDescriptor
- func (x PerformanceCaptureConfig_TransactionKillType) Enum() *PerformanceCaptureConfig_TransactionKillType
- func (PerformanceCaptureConfig_TransactionKillType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PerformanceCaptureConfig_TransactionKillType) Number() protoreflect.EnumNumber
- func (x PerformanceCaptureConfig_TransactionKillType) String() string
- func (PerformanceCaptureConfig_TransactionKillType) Type() protoreflect.EnumType
- type PointInTimeRestoreContext
- func (*PointInTimeRestoreContext) Descriptor() ([]byte, []int)deprecated
- func (x *PointInTimeRestoreContext) GetAllocatedIpRange() string
- func (x *PointInTimeRestoreContext) GetDatasource() string
- func (x *PointInTimeRestoreContext) GetPointInTime() *timestamppb.Timestamp
- func (x *PointInTimeRestoreContext) GetPreferredSecondaryZone() string
- func (x *PointInTimeRestoreContext) GetPreferredZone() string
- func (x *PointInTimeRestoreContext) GetPrivateNetwork() string
- func (x *PointInTimeRestoreContext) GetRegion() string
- func (x *PointInTimeRestoreContext) GetTargetInstance() string
- func (x *PointInTimeRestoreContext) GetTargetInstanceClearSettingsFieldNames() []string
- func (x *PointInTimeRestoreContext) GetTargetInstanceSettings() *DatabaseInstance
- func (*PointInTimeRestoreContext) ProtoMessage()
- func (x *PointInTimeRestoreContext) ProtoReflect() protoreflect.Message
- func (x *PointInTimeRestoreContext) Reset()
- func (x *PointInTimeRestoreContext) String() string
- type PreCheckMajorVersionUpgradeContext
- func (*PreCheckMajorVersionUpgradeContext) Descriptor() ([]byte, []int)deprecated
- func (x *PreCheckMajorVersionUpgradeContext) GetKind() string
- func (x *PreCheckMajorVersionUpgradeContext) GetPreCheckResponse() []*PreCheckResponse
- func (x *PreCheckMajorVersionUpgradeContext) GetTargetDatabaseVersion() SqlDatabaseVersion
- func (*PreCheckMajorVersionUpgradeContext) ProtoMessage()
- func (x *PreCheckMajorVersionUpgradeContext) ProtoReflect() protoreflect.Message
- func (x *PreCheckMajorVersionUpgradeContext) Reset()
- func (x *PreCheckMajorVersionUpgradeContext) String() string
- type PreCheckResponse
- func (*PreCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreCheckResponse) GetActionsRequired() []string
- func (x *PreCheckResponse) GetMessage() string
- func (x *PreCheckResponse) GetMessageType() PreCheckResponse_MessageType
- func (*PreCheckResponse) ProtoMessage()
- func (x *PreCheckResponse) ProtoReflect() protoreflect.Message
- func (x *PreCheckResponse) Reset()
- func (x *PreCheckResponse) String() string
- type PreCheckResponse_MessageType
- func (PreCheckResponse_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x PreCheckResponse_MessageType) Enum() *PreCheckResponse_MessageType
- func (PreCheckResponse_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreCheckResponse_MessageType) Number() protoreflect.EnumNumber
- func (x PreCheckResponse_MessageType) String() string
- func (PreCheckResponse_MessageType) Type() protoreflect.EnumType
- type PscAutoConnectionConfig
- func (*PscAutoConnectionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PscAutoConnectionConfig) GetConsumerNetwork() string
- func (x *PscAutoConnectionConfig) GetConsumerNetworkStatus() string
- func (x *PscAutoConnectionConfig) GetConsumerProject() string
- func (x *PscAutoConnectionConfig) GetInstanceAutoDnsStatus() AutoDnsStatus
- func (x *PscAutoConnectionConfig) GetIpAddress() string
- func (x *PscAutoConnectionConfig) GetServiceConnectionPolicy() string
- func (x *PscAutoConnectionConfig) GetServiceConnectionPolicyCreationResult() string
- func (x *PscAutoConnectionConfig) GetStatus() string
- func (x *PscAutoConnectionConfig) GetWriteEndpointAutoDnsStatus() AutoDnsStatus
- func (*PscAutoConnectionConfig) ProtoMessage()
- func (x *PscAutoConnectionConfig) ProtoReflect() protoreflect.Message
- func (x *PscAutoConnectionConfig) Reset()
- func (x *PscAutoConnectionConfig) String() string
- type PscConfig
- func (*PscConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PscConfig) GetAllowedConsumerProjects() []string
- func (x *PscConfig) GetNetworkAttachmentUri() string
- func (x *PscConfig) GetPscAutoConnectionPolicyEnabled() bool
- func (x *PscConfig) GetPscAutoConnections() []*PscAutoConnectionConfig
- func (x *PscConfig) GetPscAutoDnsEnabled() bool
- func (x *PscConfig) GetPscEnabled() bool
- func (x *PscConfig) GetPscWriteEndpointDnsEnabled() bool
- func (*PscConfig) ProtoMessage()
- func (x *PscConfig) ProtoReflect() protoreflect.Message
- func (x *PscConfig) Reset()
- func (x *PscConfig) String() string
- type QueryResult
- func (*QueryResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResult) GetColumns() []*Column
- func (x *QueryResult) GetMessage() string
- func (x *QueryResult) GetPartialResult() bool
- func (x *QueryResult) GetRows() []*Row
- func (x *QueryResult) GetStatus() *status.Status
- func (*QueryResult) ProtoMessage()
- func (x *QueryResult) ProtoReflect() protoreflect.Message
- func (x *QueryResult) Reset()
- func (x *QueryResult) String() string
- type ReadPoolAutoScaleConfig
- func (*ReadPoolAutoScaleConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReadPoolAutoScaleConfig) GetDisableScaleIn() bool
- func (x *ReadPoolAutoScaleConfig) GetEnabled() bool
- func (x *ReadPoolAutoScaleConfig) GetMaxNodeCount() int32
- func (x *ReadPoolAutoScaleConfig) GetMinNodeCount() int32
- func (x *ReadPoolAutoScaleConfig) GetScaleInCooldownSeconds() int32
- func (x *ReadPoolAutoScaleConfig) GetScaleOutCooldownSeconds() int32
- func (x *ReadPoolAutoScaleConfig) GetTargetMetrics() []*ReadPoolAutoScaleConfig_TargetMetric
- func (*ReadPoolAutoScaleConfig) ProtoMessage()
- func (x *ReadPoolAutoScaleConfig) ProtoReflect() protoreflect.Message
- func (x *ReadPoolAutoScaleConfig) Reset()
- func (x *ReadPoolAutoScaleConfig) String() string
- type ReadPoolAutoScaleConfig_TargetMetric
- func (*ReadPoolAutoScaleConfig_TargetMetric) Descriptor() ([]byte, []int)deprecated
- func (x *ReadPoolAutoScaleConfig_TargetMetric) GetMetric() string
- func (x *ReadPoolAutoScaleConfig_TargetMetric) GetTargetValue() float32
- func (*ReadPoolAutoScaleConfig_TargetMetric) ProtoMessage()
- func (x *ReadPoolAutoScaleConfig_TargetMetric) ProtoReflect() protoreflect.Message
- func (x *ReadPoolAutoScaleConfig_TargetMetric) Reset()
- func (x *ReadPoolAutoScaleConfig_TargetMetric) String() string
- type ReplicaConfiguration
- func (*ReplicaConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicaConfiguration) GetCascadableReplica() *wrapperspb.BoolValue
- func (x *ReplicaConfiguration) GetFailoverTarget() *wrapperspb.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 ResolveConnectSettingsRequest
- func (*ResolveConnectSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveConnectSettingsRequest) GetDnsName() string
- func (x *ResolveConnectSettingsRequest) GetLocation() string
- func (*ResolveConnectSettingsRequest) ProtoMessage()
- func (x *ResolveConnectSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveConnectSettingsRequest) Reset()
- func (x *ResolveConnectSettingsRequest) 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 RotateEntraIdCertificateContext
- func (*RotateEntraIdCertificateContext) Descriptor() ([]byte, []int)deprecated
- func (x *RotateEntraIdCertificateContext) GetKind() string
- func (x *RotateEntraIdCertificateContext) GetNextVersion() string
- func (*RotateEntraIdCertificateContext) ProtoMessage()
- func (x *RotateEntraIdCertificateContext) ProtoReflect() protoreflect.Message
- func (x *RotateEntraIdCertificateContext) Reset()
- func (x *RotateEntraIdCertificateContext) 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 RotateServerCertificateContext
- func (*RotateServerCertificateContext) Descriptor() ([]byte, []int)deprecated
- func (x *RotateServerCertificateContext) GetKind() string
- func (x *RotateServerCertificateContext) GetNextVersion() string
- func (*RotateServerCertificateContext) ProtoMessage()
- func (x *RotateServerCertificateContext) ProtoReflect() protoreflect.Message
- func (x *RotateServerCertificateContext) Reset()
- func (x *RotateServerCertificateContext) String() string
- type Row
- type SelectedObjects
- type SessionMetadata
- func (*SessionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SessionMetadata) GetSupportedFeatures() []SqlDataFeature
- func (*SessionMetadata) ProtoMessage()
- func (x *SessionMetadata) ProtoReflect() protoreflect.Message
- func (x *SessionMetadata) Reset()
- func (x *SessionMetadata) String() string
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetAcceleratedReplicaMode() *wrapperspb.BoolValue
- func (x *Settings) GetActivationPolicy() Settings_SqlActivationPolicy
- func (x *Settings) GetActiveDirectoryConfig() *SqlActiveDirectoryConfig
- func (x *Settings) GetAdvancedMachineFeatures() *AdvancedMachineFeatures
- func (x *Settings) GetAuthorizedGaeApplications() []stringdeprecated
- func (x *Settings) GetAutoUpgradeEnabled() bool
- func (x *Settings) GetAvailabilityType() SqlAvailabilityType
- func (x *Settings) GetBackupConfiguration() *BackupConfiguration
- func (x *Settings) GetCollation() string
- func (x *Settings) GetConnectionPoolConfig() *ConnectionPoolConfig
- func (x *Settings) GetConnectorEnforcement() Settings_ConnectorEnforcement
- func (x *Settings) GetCrashSafeReplicationEnabled() *wrapperspb.BoolValuedeprecated
- func (x *Settings) GetDataApiAccess() Settings_DataApiAccess
- func (x *Settings) GetDataCacheConfig() *DataCacheConfig
- func (x *Settings) GetDataDiskProvisionedIops() int64
- func (x *Settings) GetDataDiskProvisionedThroughput() int64
- func (x *Settings) GetDataDiskSizeGb() *wrapperspb.Int64Value
- func (x *Settings) GetDataDiskType() SqlDataDiskType
- func (x *Settings) GetDatabaseFlags() []*DatabaseFlags
- func (x *Settings) GetDatabaseReplicationEnabled() *wrapperspb.BoolValue
- func (x *Settings) GetDeletionProtectionEnabled() *wrapperspb.BoolValue
- func (x *Settings) GetDenyMaintenancePeriods() []*DenyMaintenancePeriod
- func (x *Settings) GetEdition() Settings_Edition
- func (x *Settings) GetEnableDataplexIntegration() *wrapperspb.BoolValue
- func (x *Settings) GetEnableGoogleMlIntegration() *wrapperspb.BoolValue
- func (x *Settings) GetEntraidConfig() *SqlServerEntraIdConfig
- func (x *Settings) GetFinalBackupConfig() *FinalBackupConfig
- 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) GetPerformanceCaptureConfig() *PerformanceCaptureConfig
- func (x *Settings) GetPricingPlan() SqlPricingPlan
- func (x *Settings) GetReadPoolAutoScaleConfig() *ReadPoolAutoScaleConfig
- func (x *Settings) GetReplicationLagMaxSeconds() *wrapperspb.Int32Value
- func (x *Settings) GetReplicationType() SqlReplicationTypedeprecated
- func (x *Settings) GetRetainBackupsOnDelete() *wrapperspb.BoolValue
- func (x *Settings) GetSettingsVersion() *wrapperspb.Int64Value
- func (x *Settings) GetSqlServerAuditConfig() *SqlServerAuditConfig
- func (x *Settings) GetStorageAutoResize() *wrapperspb.BoolValue
- func (x *Settings) GetStorageAutoResizeLimit() *wrapperspb.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_DataApiAccess
- func (Settings_DataApiAccess) Descriptor() protoreflect.EnumDescriptor
- func (x Settings_DataApiAccess) Enum() *Settings_DataApiAccess
- func (Settings_DataApiAccess) EnumDescriptor() ([]byte, []int)deprecated
- func (x Settings_DataApiAccess) Number() protoreflect.EnumNumber
- func (x Settings_DataApiAccess) String() string
- func (Settings_DataApiAccess) 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) GetAdminCredentialSecretName() string
- func (x *SqlActiveDirectoryConfig) GetDnsServers() []string
- func (x *SqlActiveDirectoryConfig) GetDomain() string
- func (x *SqlActiveDirectoryConfig) GetKind() string
- func (x *SqlActiveDirectoryConfig) GetMode() SqlActiveDirectoryConfig_ActiveDirectoryMode
- func (x *SqlActiveDirectoryConfig) GetOrganizationalUnit() string
- func (*SqlActiveDirectoryConfig) ProtoMessage()
- func (x *SqlActiveDirectoryConfig) ProtoReflect() protoreflect.Message
- func (x *SqlActiveDirectoryConfig) Reset()
- func (x *SqlActiveDirectoryConfig) String() string
- type SqlActiveDirectoryConfig_ActiveDirectoryMode
- func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Descriptor() protoreflect.EnumDescriptor
- func (x SqlActiveDirectoryConfig_ActiveDirectoryMode) Enum() *SqlActiveDirectoryConfig_ActiveDirectoryMode
- func (SqlActiveDirectoryConfig_ActiveDirectoryMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlActiveDirectoryConfig_ActiveDirectoryMode) Number() protoreflect.EnumNumber
- func (x SqlActiveDirectoryConfig_ActiveDirectoryMode) String() string
- func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Type() protoreflect.EnumType
- 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 SqlBackupsServiceClient
- type SqlBackupsServiceServer
- 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 SqlDataFeature
- func (SqlDataFeature) Descriptor() protoreflect.EnumDescriptor
- func (x SqlDataFeature) Enum() *SqlDataFeature
- func (SqlDataFeature) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlDataFeature) Number() protoreflect.EnumNumber
- func (x SqlDataFeature) String() string
- func (SqlDataFeature) Type() protoreflect.EnumType
- type SqlDataServiceClient
- type SqlDataServiceServer
- type SqlDataService_StreamSqlDataClient
- type SqlDataService_StreamSqlDataServer
- 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 SqlFlagScope
- func (SqlFlagScope) Descriptor() protoreflect.EnumDescriptor
- func (x SqlFlagScope) Enum() *SqlFlagScope
- func (SqlFlagScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlFlagScope) Number() protoreflect.EnumNumber
- func (x SqlFlagScope) String() string
- func (SqlFlagScope) 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 (x *SqlFlagsListRequest) GetFlagScope() SqlFlagScope
- 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 SqlInstancesAddEntraIdCertificateRequest
- func (*SqlInstancesAddEntraIdCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesAddEntraIdCertificateRequest) GetInstance() string
- func (x *SqlInstancesAddEntraIdCertificateRequest) GetProject() string
- func (*SqlInstancesAddEntraIdCertificateRequest) ProtoMessage()
- func (x *SqlInstancesAddEntraIdCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesAddEntraIdCertificateRequest) Reset()
- func (x *SqlInstancesAddEntraIdCertificateRequest) 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 SqlInstancesAddServerCertificateRequest
- func (*SqlInstancesAddServerCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesAddServerCertificateRequest) GetInstance() string
- func (x *SqlInstancesAddServerCertificateRequest) GetProject() string
- func (*SqlInstancesAddServerCertificateRequest) ProtoMessage()
- func (x *SqlInstancesAddServerCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesAddServerCertificateRequest) Reset()
- func (x *SqlInstancesAddServerCertificateRequest) 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) GetEnableFinalBackup() bool
- func (x *SqlInstancesDeleteRequest) GetExpiration() isSqlInstancesDeleteRequest_Expiration
- func (x *SqlInstancesDeleteRequest) GetFinalBackupDescription() string
- func (x *SqlInstancesDeleteRequest) GetFinalBackupExpiryTime() *timestamppb.Timestamp
- func (x *SqlInstancesDeleteRequest) GetFinalBackupTtlDays() int64
- 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 SqlInstancesDeleteRequest_FinalBackupExpiryTime
- type SqlInstancesDeleteRequest_FinalBackupTtlDays
- 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 SqlInstancesExecuteSqlRequest
- func (*SqlInstancesExecuteSqlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesExecuteSqlRequest) GetBody() *ExecuteSqlPayload
- func (x *SqlInstancesExecuteSqlRequest) GetInstance() string
- func (x *SqlInstancesExecuteSqlRequest) GetProject() string
- func (*SqlInstancesExecuteSqlRequest) ProtoMessage()
- func (x *SqlInstancesExecuteSqlRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesExecuteSqlRequest) Reset()
- func (x *SqlInstancesExecuteSqlRequest) String() string
- type SqlInstancesExecuteSqlResponse
- func (*SqlInstancesExecuteSqlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesExecuteSqlResponse) GetMessages() []*SqlInstancesExecuteSqlResponse_Message
- func (x *SqlInstancesExecuteSqlResponse) GetMetadata() *Metadata
- func (x *SqlInstancesExecuteSqlResponse) GetResults() []*QueryResult
- func (x *SqlInstancesExecuteSqlResponse) GetStatus() *status.Status
- func (*SqlInstancesExecuteSqlResponse) ProtoMessage()
- func (x *SqlInstancesExecuteSqlResponse) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesExecuteSqlResponse) Reset()
- func (x *SqlInstancesExecuteSqlResponse) String() string
- type SqlInstancesExecuteSqlResponse_Message
- func (*SqlInstancesExecuteSqlResponse_Message) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesExecuteSqlResponse_Message) GetMessage() string
- func (x *SqlInstancesExecuteSqlResponse_Message) GetSeverity() string
- func (*SqlInstancesExecuteSqlResponse_Message) ProtoMessage()
- func (x *SqlInstancesExecuteSqlResponse_Message) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesExecuteSqlResponse_Message) Reset()
- func (x *SqlInstancesExecuteSqlResponse_Message) 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 (x *SqlInstancesGetLatestRecoveryTimeRequest) GetSourceInstanceDeletionTime() *timestamppb.Timestamp
- 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) GetEarliestRecoveryTime() *timestamppb.Timestamp
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetKind() string
- func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetLatestRecoveryTime() *timestamppb.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 SqlInstancesListEntraIdCertificatesRequest
- func (*SqlInstancesListEntraIdCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesListEntraIdCertificatesRequest) GetInstance() string
- func (x *SqlInstancesListEntraIdCertificatesRequest) GetProject() string
- func (*SqlInstancesListEntraIdCertificatesRequest) ProtoMessage()
- func (x *SqlInstancesListEntraIdCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesListEntraIdCertificatesRequest) Reset()
- func (x *SqlInstancesListEntraIdCertificatesRequest) 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 SqlInstancesListServerCertificatesRequest
- func (*SqlInstancesListServerCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesListServerCertificatesRequest) GetInstance() string
- func (x *SqlInstancesListServerCertificatesRequest) GetProject() string
- func (*SqlInstancesListServerCertificatesRequest) ProtoMessage()
- func (x *SqlInstancesListServerCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesListServerCertificatesRequest) Reset()
- func (x *SqlInstancesListServerCertificatesRequest) 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 (x *SqlInstancesPatchRequest) GetReconcilePscNetworking() bool
- func (x *SqlInstancesPatchRequest) GetReconcilePscNetworkingForce() bool
- 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 SqlInstancesPointInTimeRestoreRequest
- func (*SqlInstancesPointInTimeRestoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesPointInTimeRestoreRequest) GetContext() *PointInTimeRestoreContext
- func (x *SqlInstancesPointInTimeRestoreRequest) GetParent() string
- func (*SqlInstancesPointInTimeRestoreRequest) ProtoMessage()
- func (x *SqlInstancesPointInTimeRestoreRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesPointInTimeRestoreRequest) Reset()
- func (x *SqlInstancesPointInTimeRestoreRequest) String() string
- type SqlInstancesPreCheckMajorVersionUpgradeRequest
- func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) GetBody() *InstancesPreCheckMajorVersionUpgradeRequest
- func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) GetInstance() string
- func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) GetProject() string
- func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) ProtoMessage()
- func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) Reset()
- func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) 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() *timestamppb.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) GetMode() SqlInstancesResetSslConfigRequest_ResetSslMode
- func (x *SqlInstancesResetSslConfigRequest) GetProject() string
- func (*SqlInstancesResetSslConfigRequest) ProtoMessage()
- func (x *SqlInstancesResetSslConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesResetSslConfigRequest) Reset()
- func (x *SqlInstancesResetSslConfigRequest) String() string
- type SqlInstancesResetSslConfigRequest_ResetSslMode
- func (SqlInstancesResetSslConfigRequest_ResetSslMode) Descriptor() protoreflect.EnumDescriptor
- func (x SqlInstancesResetSslConfigRequest_ResetSslMode) Enum() *SqlInstancesResetSslConfigRequest_ResetSslMode
- func (SqlInstancesResetSslConfigRequest_ResetSslMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlInstancesResetSslConfigRequest_ResetSslMode) Number() protoreflect.EnumNumber
- func (x SqlInstancesResetSslConfigRequest_ResetSslMode) String() string
- func (SqlInstancesResetSslConfigRequest_ResetSslMode) Type() protoreflect.EnumType
- 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 SqlInstancesRotateEntraIdCertificateRequest
- func (*SqlInstancesRotateEntraIdCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRotateEntraIdCertificateRequest) GetBody() *InstancesRotateEntraIdCertificateRequest
- func (x *SqlInstancesRotateEntraIdCertificateRequest) GetInstance() string
- func (x *SqlInstancesRotateEntraIdCertificateRequest) GetProject() string
- func (*SqlInstancesRotateEntraIdCertificateRequest) ProtoMessage()
- func (x *SqlInstancesRotateEntraIdCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRotateEntraIdCertificateRequest) Reset()
- func (x *SqlInstancesRotateEntraIdCertificateRequest) 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 SqlInstancesRotateServerCertificateRequest
- func (*SqlInstancesRotateServerCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlInstancesRotateServerCertificateRequest) GetBody() *InstancesRotateServerCertificateRequest
- func (x *SqlInstancesRotateServerCertificateRequest) GetInstance() string
- func (x *SqlInstancesRotateServerCertificateRequest) GetProject() string
- func (*SqlInstancesRotateServerCertificateRequest) ProtoMessage()
- func (x *SqlInstancesRotateServerCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *SqlInstancesRotateServerCertificateRequest) Reset()
- func (x *SqlInstancesRotateServerCertificateRequest) 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) GetReplicaOverwriteEnabled() bool
- func (x *SqlInstancesStartExternalSyncRequest) GetSkipVerification() bool
- func (x *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() *durationpb.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 (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetSelectedObjects() []*ExternalSyncSelectedObject
- func (x *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 SqlMaintenanceType
- func (SqlMaintenanceType) Descriptor() protoreflect.EnumDescriptor
- func (x SqlMaintenanceType) Enum() *SqlMaintenanceType
- func (SqlMaintenanceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SqlMaintenanceType) Number() protoreflect.EnumNumber
- func (x SqlMaintenanceType) String() string
- func (SqlMaintenanceType) Type() protoreflect.EnumType
- type SqlOperationsCancelRequest
- func (*SqlOperationsCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SqlOperationsCancelRequest) GetLocation() string
- 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) GetLocation() string
- 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) GetLocation() 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() *durationpb.Duration
- func (x *SqlServerAuditConfig) GetUploadInterval() *durationpb.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 SqlServerEntraIdConfig
- func (*SqlServerEntraIdConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SqlServerEntraIdConfig) GetApplicationId() string
- func (x *SqlServerEntraIdConfig) GetKind() string
- func (x *SqlServerEntraIdConfig) GetTenantId() string
- func (*SqlServerEntraIdConfig) ProtoMessage()
- func (x *SqlServerEntraIdConfig) ProtoReflect() protoreflect.Message
- func (x *SqlServerEntraIdConfig) Reset()
- func (x *SqlServerEntraIdConfig) 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 SqlSubOperationType
- func (*SqlSubOperationType) Descriptor() ([]byte, []int)deprecated
- func (x *SqlSubOperationType) GetMaintenanceType() SqlMaintenanceType
- func (x *SqlSubOperationType) GetSubOperationDetails() isSqlSubOperationType_SubOperationDetails
- func (*SqlSubOperationType) ProtoMessage()
- func (x *SqlSubOperationType) ProtoReflect() protoreflect.Message
- func (x *SqlSubOperationType) Reset()
- func (x *SqlSubOperationType) String() string
- type SqlSubOperationType_MaintenanceType
- 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) GetDatabaseRoles() []string
- func (x *SqlUsersUpdateRequest) GetHost() string
- func (x *SqlUsersUpdateRequest) GetInstance() string
- func (x *SqlUsersUpdateRequest) GetName() string
- func (x *SqlUsersUpdateRequest) GetProject() string
- func (x *SqlUsersUpdateRequest) GetRevokeExistingRoles() bool
- func (x *SqlUsersUpdateRequest) GetRevokeExistingServerRoles() bool
- func (x *SqlUsersUpdateRequest) GetServerRoles() []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() *timestamppb.Timestamp
- func (x *SslCert) GetExpirationTime() *timestamppb.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 StartSession
- func (*StartSession) Descriptor() ([]byte, []int)deprecated
- func (x *StartSession) GetInstanceId() string
- func (x *StartSession) GetLocationId() string
- func (x *StartSession) GetSessionId() string
- func (*StartSession) ProtoMessage()
- func (x *StartSession) ProtoReflect() protoreflect.Message
- func (x *StartSession) Reset()
- func (x *StartSession) String() string
- type StreamSqlDataRequest
- func (*StreamSqlDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamSqlDataRequest) GetAck() *Ack
- func (x *StreamSqlDataRequest) GetContinueSession() *ContinueSession
- func (x *StreamSqlDataRequest) GetData() *DataPacket
- func (x *StreamSqlDataRequest) GetInstanceId() string
- func (x *StreamSqlDataRequest) GetMessage() isStreamSqlDataRequest_Message
- func (x *StreamSqlDataRequest) GetStartSession() *StartSession
- func (x *StreamSqlDataRequest) GetTerminateSession() *TerminateSession
- func (*StreamSqlDataRequest) ProtoMessage()
- func (x *StreamSqlDataRequest) ProtoReflect() protoreflect.Message
- func (x *StreamSqlDataRequest) Reset()
- func (x *StreamSqlDataRequest) String() string
- type StreamSqlDataRequest_ContinueSession
- type StreamSqlDataRequest_Data
- type StreamSqlDataRequest_StartSession
- type StreamSqlDataRequest_TerminateSession
- type StreamSqlDataResponse
- func (*StreamSqlDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamSqlDataResponse) GetAck() *Ack
- func (x *StreamSqlDataResponse) GetData() *DataPacket
- func (x *StreamSqlDataResponse) GetMessage() isStreamSqlDataResponse_Message
- func (x *StreamSqlDataResponse) GetSessionMetadata() *SessionMetadata
- func (x *StreamSqlDataResponse) GetTerminateSession() *TerminateSession
- func (*StreamSqlDataResponse) ProtoMessage()
- func (x *StreamSqlDataResponse) ProtoReflect() protoreflect.Message
- func (x *StreamSqlDataResponse) Reset()
- func (x *StreamSqlDataResponse) String() string
- type StreamSqlDataResponse_Data
- type StreamSqlDataResponse_SessionMetadata
- type StreamSqlDataResponse_TerminateSession
- type SyncFlags
- type TerminateSession
- 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 UnimplementedSqlBackupsServiceServer
- func (UnimplementedSqlBackupsServiceServer) CreateBackup(context.Context, *CreateBackupRequest) (*Operation, error)
- func (UnimplementedSqlBackupsServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*Operation, error)
- func (UnimplementedSqlBackupsServiceServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
- func (UnimplementedSqlBackupsServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- func (UnimplementedSqlBackupsServiceServer) UpdateBackup(context.Context, *UpdateBackupRequest) (*Operation, error)
- type UnimplementedSqlConnectServiceServer
- func (UnimplementedSqlConnectServiceServer) GenerateEphemeralCert(context.Context, *GenerateEphemeralCertRequest) (*GenerateEphemeralCertResponse, error)
- func (UnimplementedSqlConnectServiceServer) GetConnectSettings(context.Context, *GetConnectSettingsRequest) (*ConnectSettings, error)
- func (UnimplementedSqlConnectServiceServer) ResolveConnectSettings(context.Context, *ResolveConnectSettingsRequest) (*ConnectSettings, error)
- type UnimplementedSqlDataServiceServer
- 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) AddEntraIdCertificate(context.Context, *SqlInstancesAddEntraIdCertificateRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) AddServerCa(context.Context, *SqlInstancesAddServerCaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) AddServerCertificate(context.Context, *SqlInstancesAddServerCertificateRequest) (*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) ExecuteSql(context.Context, *SqlInstancesExecuteSqlRequest) (*SqlInstancesExecuteSqlResponse, 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) ListEntraIdCertificates(context.Context, *SqlInstancesListEntraIdCertificatesRequest) (*InstancesListEntraIdCertificatesResponse, error)
- func (UnimplementedSqlInstancesServiceServer) ListServerCas(context.Context, *SqlInstancesListServerCasRequest) (*InstancesListServerCasResponse, error)
- func (UnimplementedSqlInstancesServiceServer) ListServerCertificates(context.Context, *SqlInstancesListServerCertificatesRequest) (*InstancesListServerCertificatesResponse, error)
- func (UnimplementedSqlInstancesServiceServer) Patch(context.Context, *SqlInstancesPatchRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) PerformDiskShrink(context.Context, *SqlInstancesPerformDiskShrinkRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) PointInTimeRestore(context.Context, *SqlInstancesPointInTimeRestoreRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) PreCheckMajorVersionUpgrade(context.Context, *SqlInstancesPreCheckMajorVersionUpgradeRequest) (*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) RotateEntraIdCertificate(context.Context, *SqlInstancesRotateEntraIdCertificateRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) RotateServerCa(context.Context, *SqlInstancesRotateServerCaRequest) (*Operation, error)
- func (UnimplementedSqlInstancesServiceServer) RotateServerCertificate(context.Context, *SqlInstancesRotateServerCertificateRequest) (*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) (*emptypb.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 UnsafeSqlBackupsServiceServer
- type UnsafeSqlConnectServiceServer
- type UnsafeSqlDataServiceServer
- type UnsafeSqlDatabasesServiceServer
- type UnsafeSqlFlagsServiceServer
- type UnsafeSqlIamPoliciesServiceServer
- type UnsafeSqlInstancesServiceServer
- type UnsafeSqlOperationsServiceServer
- type UnsafeSqlSslCertsServiceServer
- type UnsafeSqlTiersServiceServer
- type UnsafeSqlUsersServiceServer
- type UpdateBackupRequest
- func (*UpdateBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupRequest) GetBackup() *Backup
- func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBackupRequest) ProtoMessage()
- func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupRequest) Reset()
- func (x *UpdateBackupRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDatabaseRoles() []string
- func (x *User) GetDualPasswordType() User_DualPasswordType
- func (x *User) GetEtag() string
- func (x *User) GetHost() string
- func (x *User) GetIamEmail() string
- func (x *User) GetIamStatus() User_IamStatus
- 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) GetServerRoles() []string
- func (x *User) GetSqlserverUserDetails() *SqlServerUserDetails
- func (x *User) GetType() User_SqlUserType
- func (x *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() *durationpb.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_IamStatus
- func (User_IamStatus) Descriptor() protoreflect.EnumDescriptor
- func (x User_IamStatus) Enum() *User_IamStatus
- func (User_IamStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_IamStatus) Number() protoreflect.EnumNumber
- func (x User_IamStatus) String() string
- func (User_IamStatus) 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
- type Value
Constants ¶
const ( SqlConnectService_GetConnectSettings_FullMethodName = "/google.cloud.sql.v1beta4.SqlConnectService/GetConnectSettings" SqlConnectService_ResolveConnectSettings_FullMethodName = "/google.cloud.sql.v1beta4.SqlConnectService/ResolveConnectSettings" SqlConnectService_GenerateEphemeralCert_FullMethodName = "/google.cloud.sql.v1beta4.SqlConnectService/GenerateEphemeralCert" )
const ( SqlBackupRunsService_Delete_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupRunsService/Delete" SqlBackupRunsService_Get_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupRunsService/Get" SqlBackupRunsService_Insert_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupRunsService/Insert" SqlBackupRunsService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupRunsService/List" )
const ( SqlDatabasesService_Delete_FullMethodName = "/google.cloud.sql.v1beta4.SqlDatabasesService/Delete" SqlDatabasesService_Get_FullMethodName = "/google.cloud.sql.v1beta4.SqlDatabasesService/Get" SqlDatabasesService_Insert_FullMethodName = "/google.cloud.sql.v1beta4.SqlDatabasesService/Insert" SqlDatabasesService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlDatabasesService/List" SqlDatabasesService_Patch_FullMethodName = "/google.cloud.sql.v1beta4.SqlDatabasesService/Patch" SqlDatabasesService_Update_FullMethodName = "/google.cloud.sql.v1beta4.SqlDatabasesService/Update" )
const ( SqlInstancesService_AddServerCa_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/AddServerCa" SqlInstancesService_AddServerCertificate_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/AddServerCertificate" SqlInstancesService_AddEntraIdCertificate_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/AddEntraIdCertificate" SqlInstancesService_Clone_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Clone" SqlInstancesService_Delete_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Delete" SqlInstancesService_DemoteMaster_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/DemoteMaster" SqlInstancesService_Demote_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Demote" SqlInstancesService_Export_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Export" SqlInstancesService_Failover_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Failover" SqlInstancesService_Reencrypt_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Reencrypt" SqlInstancesService_Get_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Get" SqlInstancesService_Import_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Import" SqlInstancesService_Insert_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Insert" SqlInstancesService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/List" SqlInstancesService_ListServerCas_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ListServerCas" SqlInstancesService_ListServerCertificates_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ListServerCertificates" SqlInstancesService_ListEntraIdCertificates_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ListEntraIdCertificates" SqlInstancesService_Patch_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Patch" SqlInstancesService_PromoteReplica_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/PromoteReplica" SqlInstancesService_Switchover_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Switchover" SqlInstancesService_ResetSslConfig_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ResetSslConfig" SqlInstancesService_Restart_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Restart" SqlInstancesService_RestoreBackup_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/RestoreBackup" SqlInstancesService_RotateServerCa_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/RotateServerCa" SqlInstancesService_RotateServerCertificate_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/RotateServerCertificate" SqlInstancesService_RotateEntraIdCertificate_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/RotateEntraIdCertificate" SqlInstancesService_StartReplica_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/StartReplica" SqlInstancesService_StopReplica_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/StopReplica" SqlInstancesService_TruncateLog_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/TruncateLog" SqlInstancesService_Update_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/Update" SqlInstancesService_CreateEphemeral_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/CreateEphemeral" SqlInstancesService_RescheduleMaintenance_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/RescheduleMaintenance" SqlInstancesService_VerifyExternalSyncSettings_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/VerifyExternalSyncSettings" SqlInstancesService_StartExternalSync_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/StartExternalSync" SqlInstancesService_PerformDiskShrink_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/PerformDiskShrink" SqlInstancesService_GetDiskShrinkConfig_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/GetDiskShrinkConfig" SqlInstancesService_ResetReplicaSize_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ResetReplicaSize" SqlInstancesService_GetLatestRecoveryTime_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/GetLatestRecoveryTime" SqlInstancesService_ExecuteSql_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ExecuteSql" SqlInstancesService_AcquireSsrsLease_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/AcquireSsrsLease" SqlInstancesService_ReleaseSsrsLease_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/ReleaseSsrsLease" SqlInstancesService_PreCheckMajorVersionUpgrade_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/PreCheckMajorVersionUpgrade" SqlInstancesService_PointInTimeRestore_FullMethodName = "/google.cloud.sql.v1beta4.SqlInstancesService/PointInTimeRestore" )
const ( SqlOperationsService_Get_FullMethodName = "/google.cloud.sql.v1beta4.SqlOperationsService/Get" SqlOperationsService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlOperationsService/List" SqlOperationsService_Cancel_FullMethodName = "/google.cloud.sql.v1beta4.SqlOperationsService/Cancel" )
const ( SqlSslCertsService_Delete_FullMethodName = "/google.cloud.sql.v1beta4.SqlSslCertsService/Delete" SqlSslCertsService_Get_FullMethodName = "/google.cloud.sql.v1beta4.SqlSslCertsService/Get" SqlSslCertsService_Insert_FullMethodName = "/google.cloud.sql.v1beta4.SqlSslCertsService/Insert" SqlSslCertsService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlSslCertsService/List" )
const ( SqlBackupsService_CreateBackup_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupsService/CreateBackup" SqlBackupsService_GetBackup_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupsService/GetBackup" SqlBackupsService_ListBackups_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupsService/ListBackups" SqlBackupsService_UpdateBackup_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupsService/UpdateBackup" SqlBackupsService_DeleteBackup_FullMethodName = "/google.cloud.sql.v1beta4.SqlBackupsService/DeleteBackup" )
const ( SqlUsersService_Delete_FullMethodName = "/google.cloud.sql.v1beta4.SqlUsersService/Delete" SqlUsersService_Get_FullMethodName = "/google.cloud.sql.v1beta4.SqlUsersService/Get" SqlUsersService_Insert_FullMethodName = "/google.cloud.sql.v1beta4.SqlUsersService/Insert" SqlUsersService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlUsersService/List" SqlUsersService_Update_FullMethodName = "/google.cloud.sql.v1beta4.SqlUsersService/Update" )
const (
SqlDataService_StreamSqlData_FullMethodName = "/google.cloud.sql.v1beta4.SqlDataService/StreamSqlData"
)
const (
SqlFlagsService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlFlagsService/List"
)
const (
SqlTiersService_List_FullMethodName = "/google.cloud.sql.v1beta4.SqlTiersService/List"
)
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 ( SqlInstancesResetSslConfigRequest_ResetSslMode_name = map[int32]string{ 0: "RESET_SSL_MODE_UNSPECIFIED", 1: "ALL", 2: "SYNC_FROM_PRIMARY", } SqlInstancesResetSslConfigRequest_ResetSslMode_value = map[string]int32{ "RESET_SSL_MODE_UNSPECIFIED": 0, "ALL": 1, "SYNC_FROM_PRIMARY": 2, } )
Enum value maps for SqlInstancesResetSslConfigRequest_ResetSslMode.
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 ( ExecuteSqlPayload_PartialResultMode_name = map[int32]string{ 0: "PARTIAL_RESULT_MODE_UNSPECIFIED", 1: "FAIL_PARTIAL_RESULT", 2: "ALLOW_PARTIAL_RESULT", } ExecuteSqlPayload_PartialResultMode_value = map[string]int32{ "PARTIAL_RESULT_MODE_UNSPECIFIED": 0, "FAIL_PARTIAL_RESULT": 1, "ALLOW_PARTIAL_RESULT": 2, } )
Enum value maps for ExecuteSqlPayload_PartialResultMode.
var ( ConnectSettings_CaMode_name = map[int32]string{ 0: "CA_MODE_UNSPECIFIED", 1: "GOOGLE_MANAGED_INTERNAL_CA", 2: "GOOGLE_MANAGED_CAS_CA", 3: "CUSTOMER_MANAGED_CAS_CA", } ConnectSettings_CaMode_value = map[string]int32{ "CA_MODE_UNSPECIFIED": 0, "GOOGLE_MANAGED_INTERNAL_CA": 1, "GOOGLE_MANAGED_CAS_CA": 2, "CUSTOMER_MANAGED_CAS_CA": 3, } )
Enum value maps for ConnectSettings_CaMode.
var ( ConnectSettings_MdxProtocolSupport_name = map[int32]string{ 0: "MDX_PROTOCOL_SUPPORT_UNSPECIFIED", 1: "CLIENT_PROTOCOL_TYPE", } ConnectSettings_MdxProtocolSupport_value = map[string]int32{ "MDX_PROTOCOL_SUPPORT_UNSPECIFIED": 0, "CLIENT_PROTOCOL_TYPE": 1, } )
Enum value maps for ConnectSettings_MdxProtocolSupport.
var ( SqlDataFeature_name = map[int32]string{ 0: "SQL_DATA_FEATURE_UNSPECIFIED", 1: "SQL_DATA_FEATURE_RECONNECT", } SqlDataFeature_value = map[string]int32{ "SQL_DATA_FEATURE_UNSPECIFIED": 0, "SQL_DATA_FEATURE_RECONNECT": 1, } )
Enum value maps for SqlDataFeature.
var ( SqlFileType_name = map[int32]string{ 0: "SQL_FILE_TYPE_UNSPECIFIED", 1: "SQL", 2: "CSV", 4: "BAK", 8: "TDE", } SqlFileType_value = map[string]int32{ "SQL_FILE_TYPE_UNSPECIFIED": 0, "SQL": 1, "CSV": 2, "BAK": 4, "TDE": 8, } )
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 ( AutoDnsStatus_name = map[int32]string{ 0: "AUTO_DNS_STATUS_UNSPECIFIED", 1: "AUTO_DNS_OK", 2: "AUTO_DNS_FAILED", 3: "AUTO_DNS_UNKNOWN", } AutoDnsStatus_value = map[string]int32{ "AUTO_DNS_STATUS_UNSPECIFIED": 0, "AUTO_DNS_OK": 1, "AUTO_DNS_FAILED": 2, "AUTO_DNS_UNKNOWN": 3, } )
Enum value maps for AutoDnsStatus.
var ( SqlMaintenanceType_name = map[int32]string{ 0: "SQL_MAINTENANCE_TYPE_UNSPECIFIED", 1: "INSTANCE_MAINTENANCE", 2: "REPLICA_INCLUDED_MAINTENANCE", 3: "INSTANCE_SELF_SERVICE_MAINTENANCE", 4: "REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE", } SqlMaintenanceType_value = map[string]int32{ "SQL_MAINTENANCE_TYPE_UNSPECIFIED": 0, "INSTANCE_MAINTENANCE": 1, "REPLICA_INCLUDED_MAINTENANCE": 2, "INSTANCE_SELF_SERVICE_MAINTENANCE": 3, "REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE": 4, } )
Enum value maps for SqlMaintenanceType.
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", 5: "READ_POOL_INSTANCE", } SqlInstanceType_value = map[string]int32{ "SQL_INSTANCE_TYPE_UNSPECIFIED": 0, "CLOUD_SQL_INSTANCE": 1, "ON_PREMISES_INSTANCE": 2, "READ_REPLICA_INSTANCE": 3, "READ_POOL_INSTANCE": 5, } )
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", 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", 357: "MYSQL_8_0_39", 358: "MYSQL_8_0_40", 488: "MYSQL_8_0_41", 489: "MYSQL_8_0_42", 553: "MYSQL_8_0_43", 554: "MYSQL_8_0_44", 555: "MYSQL_8_0_45", 556: "MYSQL_8_0_46", 398: "MYSQL_8_4", 654: "MYSQL_9_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", 408: "POSTGRES_17", 557: "POSTGRES_18", 684: "POSTGRES_19", 781: "POSTGRES_20", 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", 549: "SQLSERVER_2025_STANDARD", 550: "SQLSERVER_2025_ENTERPRISE", 551: "SQLSERVER_2025_EXPRESS", } 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, "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_39": 357, "MYSQL_8_0_40": 358, "MYSQL_8_0_41": 488, "MYSQL_8_0_42": 489, "MYSQL_8_0_43": 553, "MYSQL_8_0_44": 554, "MYSQL_8_0_45": 555, "MYSQL_8_0_46": 556, "MYSQL_8_4": 398, "MYSQL_9_7": 654, "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, "POSTGRES_17": 408, "POSTGRES_18": 557, "POSTGRES_19": 684, "POSTGRES_20": 781, "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, "SQLSERVER_2025_STANDARD": 549, "SQLSERVER_2025_ENTERPRISE": 550, "SQLSERVER_2025_EXPRESS": 551, } )
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", 8: "PROJECT_ABUSE", } SqlSuspensionReason_value = map[string]int32{ "SQL_SUSPENSION_REASON_UNSPECIFIED": 0, "BILLING_ISSUE": 2, "LEGAL_ISSUE": 3, "OPERATIONAL_ISSUE": 4, "KMS_KEY_ISSUE": 5, "PROJECT_ABUSE": 8, } )
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", 4: "HYPERDISK_BALANCED", } SqlDataDiskType_value = map[string]int32{ "SQL_DATA_DISK_TYPE_UNSPECIFIED": 0, "PD_SSD": 1, "PD_HDD": 2, "OBSOLETE_LOCAL_SSD": 3, "HYPERDISK_BALANCED": 4, } )
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 ( SqlFlagScope_name = map[int32]string{ 0: "SQL_FLAG_SCOPE_UNSPECIFIED", 1: "SQL_FLAG_SCOPE_DATABASE", 2: "SQL_FLAG_SCOPE_CONNECTION_POOL", } SqlFlagScope_value = map[string]int32{ "SQL_FLAG_SCOPE_UNSPECIFIED": 0, "SQL_FLAG_SCOPE_DATABASE": 1, "SQL_FLAG_SCOPE_CONNECTION_POOL": 2, } )
Enum value maps for SqlFlagScope.
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 ( BackupConfiguration_BackupTier_name = map[int32]string{ 0: "BACKUP_TIER_UNSPECIFIED", 1: "STANDARD", 2: "ADVANCED", 3: "ENHANCED", } BackupConfiguration_BackupTier_value = map[string]int32{ "BACKUP_TIER_UNSPECIFIED": 0, "STANDARD": 1, "ADVANCED": 2, "ENHANCED": 3, } )
Enum value maps for BackupConfiguration_BackupTier.
var ( Backup_SqlBackupType_name = map[int32]string{ 0: "SQL_BACKUP_TYPE_UNSPECIFIED", 1: "AUTOMATED", 2: "ON_DEMAND", 3: "FINAL", } Backup_SqlBackupType_value = map[string]int32{ "SQL_BACKUP_TYPE_UNSPECIFIED": 0, "AUTOMATED": 1, "ON_DEMAND": 2, "FINAL": 3, } )
Enum value maps for Backup_SqlBackupType.
var ( Backup_SqlBackupState_name = map[int32]string{ 0: "SQL_BACKUP_STATE_UNSPECIFIED", 1: "ENQUEUED", 2: "RUNNING", 3: "FAILED", 4: "SUCCESSFUL", 5: "DELETING", 6: "DELETION_FAILED", } Backup_SqlBackupState_value = map[string]int32{ "SQL_BACKUP_STATE_UNSPECIFIED": 0, "ENQUEUED": 1, "RUNNING": 2, "FAILED": 3, "SUCCESSFUL": 4, "DELETING": 5, "DELETION_FAILED": 6, } )
Enum value maps for Backup_SqlBackupState.
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", 8: "REPAIRING", } 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, "REPAIRING": 8, } )
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 ( DnsNameMapping_ConnectionType_name = map[int32]string{ 0: "CONNECTION_TYPE_UNSPECIFIED", 1: "PUBLIC", 2: "PRIVATE_SERVICES_ACCESS", 3: "PRIVATE_SERVICE_CONNECT", } DnsNameMapping_ConnectionType_value = map[string]int32{ "CONNECTION_TYPE_UNSPECIFIED": 0, "PUBLIC": 1, "PRIVATE_SERVICES_ACCESS": 2, "PRIVATE_SERVICE_CONNECT": 3, } )
Enum value maps for DnsNameMapping_ConnectionType.
var ( DnsNameMapping_DnsScope_name = map[int32]string{ 0: "DNS_SCOPE_UNSPECIFIED", 1: "INSTANCE", 2: "CLUSTER", } DnsNameMapping_DnsScope_value = map[string]int32{ "DNS_SCOPE_UNSPECIFIED": 0, "INSTANCE": 1, "CLUSTER": 2, } )
Enum value maps for DnsNameMapping_DnsScope.
var ( DnsNameMapping_RecordManager_name = map[int32]string{ 0: "RECORD_MANAGER_UNSPECIFIED", 1: "CUSTOMER", 2: "CLOUD_SQL_AUTOMATION", } DnsNameMapping_RecordManager_value = map[string]int32{ "RECORD_MANAGER_UNSPECIFIED": 0, "CUSTOMER": 1, "CLOUD_SQL_AUTOMATION": 2, } )
Enum value maps for DnsNameMapping_RecordManager.
var ( PreCheckResponse_MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_UNSPECIFIED", 1: "INFO", 2: "WARNING", 3: "ERROR", } PreCheckResponse_MessageType_value = map[string]int32{ "MESSAGE_TYPE_UNSPECIFIED": 0, "INFO": 1, "WARNING": 2, "ERROR": 3, } )
Enum value maps for PreCheckResponse_MessageType.
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", 49: "UNSUPPORTED_COLUMNS", 50: "USERS_NOT_CREATED_IN_REPLICA", 51: "UNSUPPORTED_SYSTEM_OBJECTS", 52: "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", 53: "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", 54: "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", 55: "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS", 56: "PROMPT_DELETE_EXISTING", 57: "WILL_DELETE_EXISTING", 58: "PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE", } 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, "UNSUPPORTED_COLUMNS": 49, "USERS_NOT_CREATED_IN_REPLICA": 50, "UNSUPPORTED_SYSTEM_OBJECTS": 51, "UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY": 52, "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE": 53, "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI": 54, "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS": 55, "PROMPT_DELETE_EXISTING": 56, "WILL_DELETE_EXISTING": 57, "PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE": 58, } )
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 ( IpConfiguration_CaMode_name = map[int32]string{ 0: "CA_MODE_UNSPECIFIED", 1: "GOOGLE_MANAGED_INTERNAL_CA", 2: "GOOGLE_MANAGED_CAS_CA", 3: "CUSTOMER_MANAGED_CAS_CA", } IpConfiguration_CaMode_value = map[string]int32{ "CA_MODE_UNSPECIFIED": 0, "GOOGLE_MANAGED_INTERNAL_CA": 1, "GOOGLE_MANAGED_CAS_CA": 2, "CUSTOMER_MANAGED_CAS_CA": 3, } )
Enum value maps for IpConfiguration_CaMode.
var ( IpConfiguration_ServerCertificateRotationMode_name = map[int32]string{ 0: "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", 1: "NO_AUTOMATIC_ROTATION", 2: "AUTOMATIC_ROTATION_DURING_MAINTENANCE", } IpConfiguration_ServerCertificateRotationMode_value = map[string]int32{ "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED": 0, "NO_AUTOMATIC_ROTATION": 1, "AUTOMATIC_ROTATION_DURING_MAINTENANCE": 2, } )
Enum value maps for IpConfiguration_ServerCertificateRotationMode.
var ( OnPremisesConfiguration_SslOption_name = map[int32]string{ 0: "SSL_OPTION_UNSPECIFIED", 1: "DISABLE", 2: "REQUIRE", 3: "VERIFY_CA", } OnPremisesConfiguration_SslOption_value = map[string]int32{ "SSL_OPTION_UNSPECIFIED": 0, "DISABLE": 1, "REQUIRE": 2, "VERIFY_CA": 3, } )
Enum value maps for OnPremisesConfiguration_SslOption.
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", 40: "UPDATE_BACKUP", 42: "ACQUIRE_SSRS_LEASE", 43: "RELEASE_SSRS_LEASE", 44: "RECONFIGURE_OLD_PRIMARY", 45: "CLUSTER_MAINTENANCE", 46: "SELF_SERVICE_MAINTENANCE", 47: "SWITCHOVER_TO_REPLICA", 48: "MAJOR_VERSION_UPGRADE", 49: "ADVANCED_BACKUP", 50: "MANAGE_BACKUP", 51: "ENHANCED_BACKUP", 52: "REPAIR_READ_POOL", 53: "CREATE_READ_POOL", 54: "PRE_CHECK_MAJOR_VERSION_UPGRADE", 58: "SETUP_MIGRATION", 59: "AGENT_SEND_MESSAGE", } 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, "UPDATE_BACKUP": 40, "ACQUIRE_SSRS_LEASE": 42, "RELEASE_SSRS_LEASE": 43, "RECONFIGURE_OLD_PRIMARY": 44, "CLUSTER_MAINTENANCE": 45, "SELF_SERVICE_MAINTENANCE": 46, "SWITCHOVER_TO_REPLICA": 47, "MAJOR_VERSION_UPGRADE": 48, "ADVANCED_BACKUP": 49, "MANAGE_BACKUP": 50, "ENHANCED_BACKUP": 51, "REPAIR_READ_POOL": 52, "CREATE_READ_POOL": 53, "PRE_CHECK_MAJOR_VERSION_UPGRADE": 54, "SETUP_MIGRATION": 58, "AGENT_SEND_MESSAGE": 59, } )
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", 5: "DEVELOPER", } Settings_Edition_value = map[string]int32{ "EDITION_UNSPECIFIED": 0, "ENTERPRISE": 2, "ENTERPRISE_PLUS": 3, "DEVELOPER": 5, } )
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 ( Settings_DataApiAccess_name = map[int32]string{ 0: "DATA_API_ACCESS_UNSPECIFIED", 1: "DISALLOW_DATA_API", 2: "ALLOW_DATA_API", } Settings_DataApiAccess_value = map[string]int32{ "DATA_API_ACCESS_UNSPECIFIED": 0, "DISALLOW_DATA_API": 1, "ALLOW_DATA_API": 2, } )
Enum value maps for Settings_DataApiAccess.
var ( PerformanceCaptureConfig_TransactionKillType_name = map[int32]string{ 0: "TRANSACTION_KILL_TYPE_UNSPECIFIED", 1: "READ_ONLY_TRANSACTIONS", 2: "ALL_TRANSACTIONS", } PerformanceCaptureConfig_TransactionKillType_value = map[string]int32{ "TRANSACTION_KILL_TYPE_UNSPECIFIED": 0, "READ_ONLY_TRANSACTIONS": 1, "ALL_TRANSACTIONS": 2, } )
Enum value maps for PerformanceCaptureConfig_TransactionKillType.
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 ( SqlActiveDirectoryConfig_ActiveDirectoryMode_name = map[int32]string{ 0: "ACTIVE_DIRECTORY_MODE_UNSPECIFIED", 1: "MANAGED_ACTIVE_DIRECTORY", 2: "SELF_MANAGED_ACTIVE_DIRECTORY", 3: "CUSTOMER_MANAGED_ACTIVE_DIRECTORY", } SqlActiveDirectoryConfig_ActiveDirectoryMode_value = map[string]int32{ "ACTIVE_DIRECTORY_MODE_UNSPECIFIED": 0, "MANAGED_ACTIVE_DIRECTORY": 1, "SELF_MANAGED_ACTIVE_DIRECTORY": 2, "CUSTOMER_MANAGED_ACTIVE_DIRECTORY": 3, } )
Enum value maps for SqlActiveDirectoryConfig_ActiveDirectoryMode.
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", 6: "CLOUD_IAM_WORKFORCE_IDENTITY", 7: "ENTRAID_USER", } 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, "CLOUD_IAM_WORKFORCE_IDENTITY": 6, "ENTRAID_USER": 7, } )
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 ( User_IamStatus_name = map[int32]string{ 0: "IAM_STATUS_UNSPECIFIED", 1: "INACTIVE", 2: "ACTIVE", } User_IamStatus_value = map[string]int32{ "IAM_STATUS_UNSPECIFIED": 0, "INACTIVE": 1, "ACTIVE": 2, } )
Enum value maps for User_IamStatus.
var File_google_cloud_sql_v1beta4_cloud_sql_connect_proto protoreflect.FileDescriptor
var File_google_cloud_sql_v1beta4_cloud_sql_data_proto protoreflect.FileDescriptor
var File_google_cloud_sql_v1beta4_cloud_sql_iam_policies_proto protoreflect.FileDescriptor
var File_google_cloud_sql_v1beta4_cloud_sql_proto protoreflect.FileDescriptor
var File_google_cloud_sql_v1beta4_cloud_sql_resources_proto protoreflect.FileDescriptor
var File_google_cloud_sql_v1beta4_cloud_sql_tiers_proto protoreflect.FileDescriptor
var File_google_cloud_sql_v1beta4_cloud_sql_users_proto protoreflect.FileDescriptor
var SqlBackupRunsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.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: "google/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 SqlBackupsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.sql.v1beta4.SqlBackupsService", HandlerType: (*SqlBackupsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateBackup", Handler: _SqlBackupsService_CreateBackup_Handler, }, { MethodName: "GetBackup", Handler: _SqlBackupsService_GetBackup_Handler, }, { MethodName: "ListBackups", Handler: _SqlBackupsService_ListBackups_Handler, }, { MethodName: "UpdateBackup", Handler: _SqlBackupsService_UpdateBackup_Handler, }, { MethodName: "DeleteBackup", Handler: _SqlBackupsService_DeleteBackup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/sql/v1beta4/cloud_sql.proto", }
SqlBackupsService_ServiceDesc is the grpc.ServiceDesc for SqlBackupsService 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: "google.cloud.sql.v1beta4.SqlConnectService", HandlerType: (*SqlConnectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConnectSettings", Handler: _SqlConnectService_GetConnectSettings_Handler, }, { MethodName: "ResolveConnectSettings", Handler: _SqlConnectService_ResolveConnectSettings_Handler, }, { MethodName: "GenerateEphemeralCert", Handler: _SqlConnectService_GenerateEphemeralCert_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/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 SqlDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.sql.v1beta4.SqlDataService", HandlerType: (*SqlDataServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StreamSqlData", Handler: _SqlDataService_StreamSqlData_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "google/cloud/sql/v1beta4/cloud_sql_data.proto", }
SqlDataService_ServiceDesc is the grpc.ServiceDesc for SqlDataService 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: "google.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: "google/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: "google.cloud.sql.v1beta4.SqlFlagsService", HandlerType: (*SqlFlagsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _SqlFlagsService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/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: "google.cloud.sql.v1beta4.SqlIamPoliciesService", HandlerType: (*SqlIamPoliciesServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "google/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: "google.cloud.sql.v1beta4.SqlInstancesService", HandlerType: (*SqlInstancesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddServerCa", Handler: _SqlInstancesService_AddServerCa_Handler, }, { MethodName: "AddServerCertificate", Handler: _SqlInstancesService_AddServerCertificate_Handler, }, { MethodName: "AddEntraIdCertificate", Handler: _SqlInstancesService_AddEntraIdCertificate_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: "ListServerCertificates", Handler: _SqlInstancesService_ListServerCertificates_Handler, }, { MethodName: "ListEntraIdCertificates", Handler: _SqlInstancesService_ListEntraIdCertificates_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: "RotateServerCertificate", Handler: _SqlInstancesService_RotateServerCertificate_Handler, }, { MethodName: "RotateEntraIdCertificate", Handler: _SqlInstancesService_RotateEntraIdCertificate_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: "ExecuteSql", Handler: _SqlInstancesService_ExecuteSql_Handler, }, { MethodName: "AcquireSsrsLease", Handler: _SqlInstancesService_AcquireSsrsLease_Handler, }, { MethodName: "ReleaseSsrsLease", Handler: _SqlInstancesService_ReleaseSsrsLease_Handler, }, { MethodName: "PreCheckMajorVersionUpgrade", Handler: _SqlInstancesService_PreCheckMajorVersionUpgrade_Handler, }, { MethodName: "PointInTimeRestore", Handler: _SqlInstancesService_PointInTimeRestore_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/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: "google.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: "google/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: "google.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: "google/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: "google.cloud.sql.v1beta4.SqlTiersService", HandlerType: (*SqlTiersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _SqlTiersService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/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: "google.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: "google/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 RegisterSqlBackupRunsServiceServer ¶
func RegisterSqlBackupRunsServiceServer(s grpc.ServiceRegistrar, srv SqlBackupRunsServiceServer)
func RegisterSqlBackupsServiceServer ¶
func RegisterSqlBackupsServiceServer(s grpc.ServiceRegistrar, srv SqlBackupsServiceServer)
func RegisterSqlConnectServiceServer ¶
func RegisterSqlConnectServiceServer(s grpc.ServiceRegistrar, srv SqlConnectServiceServer)
func RegisterSqlDataServiceServer ¶
func RegisterSqlDataServiceServer(s grpc.ServiceRegistrar, srv SqlDataServiceServer)
func RegisterSqlDatabasesServiceServer ¶
func RegisterSqlDatabasesServiceServer(s grpc.ServiceRegistrar, srv SqlDatabasesServiceServer)
func RegisterSqlFlagsServiceServer ¶
func RegisterSqlFlagsServiceServer(s grpc.ServiceRegistrar, srv SqlFlagsServiceServer)
func RegisterSqlIamPoliciesServiceServer ¶
func RegisterSqlIamPoliciesServiceServer(s grpc.ServiceRegistrar, srv SqlIamPoliciesServiceServer)
func RegisterSqlInstancesServiceServer ¶
func RegisterSqlInstancesServiceServer(s grpc.ServiceRegistrar, srv SqlInstancesServiceServer)
func RegisterSqlOperationsServiceServer ¶
func RegisterSqlOperationsServiceServer(s grpc.ServiceRegistrar, srv SqlOperationsServiceServer)
func RegisterSqlSslCertsServiceServer ¶
func RegisterSqlSslCertsServiceServer(s grpc.ServiceRegistrar, srv SqlSslCertsServiceServer)
func RegisterSqlTiersServiceServer ¶
func RegisterSqlTiersServiceServer(s grpc.ServiceRegistrar, srv SqlTiersServiceServer)
func RegisterSqlUsersServiceServer ¶
func RegisterSqlUsersServiceServer(s grpc.ServiceRegistrar, srv SqlUsersServiceServer)
Types ¶
type Ack ¶
type Ack struct {
// Required. The absolute number of bytes processed in the session.
ReceivedOffset int64 `protobuf:"varint,1,opt,name=received_offset,json=receivedOffset,proto3" json:"received_offset,omitempty"`
// contains filtered or unexported fields
}
Acknowledges data received by the client or server.
func (*Ack) Descriptor
deprecated
func (*Ack) GetReceivedOffset ¶
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) ProtoReflect ¶
func (x *Ack) ProtoReflect() protoreflect.Message
type AclEntry ¶
type AclEntry struct {
// The allowlisted value for the access control list.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// The time when this access control entry expires in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
// Optional. A label to identify this entry.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// This is always `sql#aclEntry`.
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
An entry for an Access Control list.
func (*AclEntry) Descriptor
deprecated
func (*AclEntry) GetExpirationTime ¶
func (x *AclEntry) GetExpirationTime() *timestamppb.Timestamp
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 *durationpb.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() *durationpb.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=google.cloud.sql.v1beta4.ApiWarning_SqlApiWarningCode" json:"code,omitempty"`
// The warning message.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// The region name for REGION_UNREACHABLE warning.
Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
An Admin API warning message.
func (*ApiWarning) Descriptor
deprecated
func (*ApiWarning) Descriptor() ([]byte, []int)
Deprecated: Use ApiWarning.ProtoReflect.Descriptor instead.
func (*ApiWarning) GetCode ¶
func (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 AutoDnsStatus ¶
type AutoDnsStatus int32
The status of automated DNS provisioning.
const ( // Unspecified status. This means status is missing from dependency service. AutoDnsStatus_AUTO_DNS_STATUS_UNSPECIFIED AutoDnsStatus = 0 // DNS provisioning is OK. AutoDnsStatus_AUTO_DNS_OK AutoDnsStatus = 1 // DNS provisioning failed. AutoDnsStatus_AUTO_DNS_FAILED AutoDnsStatus = 2 // DNS provisioning status is not recognized by Cloud SQL. AutoDnsStatus_AUTO_DNS_UNKNOWN AutoDnsStatus = 3 )
func (AutoDnsStatus) Descriptor ¶
func (AutoDnsStatus) Descriptor() protoreflect.EnumDescriptor
func (AutoDnsStatus) Enum ¶
func (x AutoDnsStatus) Enum() *AutoDnsStatus
func (AutoDnsStatus) EnumDescriptor
deprecated
func (AutoDnsStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutoDnsStatus.Descriptor instead.
func (AutoDnsStatus) Number ¶
func (x AutoDnsStatus) Number() protoreflect.EnumNumber
func (AutoDnsStatus) String ¶
func (x AutoDnsStatus) String() string
func (AutoDnsStatus) Type ¶
func (AutoDnsStatus) 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 Backup ¶
type Backup struct {
// Output only. The resource name of the backup.
// Format: projects/{project}/backups/{backup}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. This is always `sql#backup`.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// Output only. The URI of this resource.
SelfLink string `protobuf:"bytes,3,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// Output only. The type of this backup. The type can be "AUTOMATED",
// "ON_DEMAND", or “FINAL”.
Type Backup_SqlBackupType `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.Backup_SqlBackupType" json:"type,omitempty"`
// The description of this backup.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The name of the database instance.
Instance string `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"`
// The storage location of the backups. The location can be multi-regional.
Location string `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"`
// Output only. This output contains the following values:
// start_time: All database writes up to this time are available.
// end_time: Any database writes after this time aren't available.
BackupInterval *interval.Interval `protobuf:"bytes,8,opt,name=backup_interval,json=backupInterval,proto3" json:"backup_interval,omitempty"`
// Output only. The state of this backup.
State Backup_SqlBackupState `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.sql.v1beta4.Backup_SqlBackupState" json:"state,omitempty"`
// Output only. Information about why the backup operation fails (for example,
// when the backup state fails).
Error *OperationError `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"`
// Output only. This output contains the encryption configuration for a backup
// and the resource name of the KMS key for disk encryption.
KmsKey string `protobuf:"bytes,11,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Output only. This output contains the encryption status for a backup and
// the version of the KMS key that's used to encrypt the Cloud SQL instance.
KmsKeyVersion string `protobuf:"bytes,12,opt,name=kms_key_version,json=kmsKeyVersion,proto3" json:"kms_key_version,omitempty"`
// Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
BackupKind SqlBackupKind `` /* 137-byte string literal not displayed */
// Output only. This output contains a backup time zone. If a Cloud SQL for
// SQL Server instance has a different time zone from the backup's time zone,
// then the restore to the instance doesn't happen.
TimeZone string `protobuf:"bytes,15,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// Types that are valid to be assigned to Expiration:
//
// *Backup_TtlDays
// *Backup_ExpiryTime
Expiration isBackup_Expiration `protobuf_oneof:"expiration"`
// Output only. The database version of the instance of at the time this
// backup was made.
DatabaseVersion SqlDatabaseVersion `` /* 157-byte string literal not displayed */
// Output only. The maximum chargeable bytes for the backup.
MaxChargeableBytes *int64 `protobuf:"varint,23,opt,name=max_chargeable_bytes,json=maxChargeableBytes,proto3,oneof" json:"max_chargeable_bytes,omitempty"`
// Optional. Output only. Timestamp in UTC of when the instance associated
// with this backup is deleted.
InstanceDeletionTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=instance_deletion_time,json=instanceDeletionTime,proto3" json:"instance_deletion_time,omitempty"`
// Optional. Output only. Instance setting of the source instance that's
// associated with this backup.
InstanceSettings *DatabaseInstance `protobuf:"bytes,25,opt,name=instance_settings,json=instanceSettings,proto3" json:"instance_settings,omitempty"`
// Output only. The mapping to backup run resource used for IAM validations.
BackupRun string `protobuf:"bytes,26,opt,name=backup_run,json=backupRun,proto3" json:"backup_run,omitempty"`
// Output only. This status indicates whether the backup satisfies PZS.
//
// The status is reserved for future use.
SatisfiesPzs *wrapperspb.BoolValue `protobuf:"bytes,27,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. This status indicates whether the backup satisfies PZI.
//
// The status is reserved for future use.
SatisfiesPzi *wrapperspb.BoolValue `protobuf:"bytes,28,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// contains filtered or unexported fields
}
A backup resource.
func (*Backup) Descriptor
deprecated
func (*Backup) GetBackupInterval ¶
func (*Backup) GetBackupKind ¶
func (x *Backup) GetBackupKind() SqlBackupKind
func (*Backup) GetBackupRun ¶
func (*Backup) GetDatabaseVersion ¶
func (x *Backup) GetDatabaseVersion() SqlDatabaseVersion
func (*Backup) GetDescription ¶
func (*Backup) GetError ¶
func (x *Backup) GetError() *OperationError
func (*Backup) GetExpiration ¶
func (x *Backup) GetExpiration() isBackup_Expiration
func (*Backup) GetExpiryTime ¶
func (x *Backup) GetExpiryTime() *timestamppb.Timestamp
func (*Backup) GetInstance ¶
func (*Backup) GetInstanceDeletionTime ¶
func (x *Backup) GetInstanceDeletionTime() *timestamppb.Timestamp
func (*Backup) GetInstanceSettings ¶
func (x *Backup) GetInstanceSettings() *DatabaseInstance
func (*Backup) GetKmsKeyVersion ¶
func (*Backup) GetLocation ¶
func (*Backup) GetMaxChargeableBytes ¶
func (*Backup) GetSatisfiesPzi ¶
func (x *Backup) GetSatisfiesPzi() *wrapperspb.BoolValue
func (*Backup) GetSatisfiesPzs ¶
func (x *Backup) GetSatisfiesPzs() *wrapperspb.BoolValue
func (*Backup) GetSelfLink ¶
func (*Backup) GetState ¶
func (x *Backup) GetState() Backup_SqlBackupState
func (*Backup) GetTimeZone ¶
func (*Backup) GetTtlDays ¶
func (*Backup) GetType ¶
func (x *Backup) GetType() Backup_SqlBackupType
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
type BackupConfiguration ¶
type BackupConfiguration struct {
// Start time for the daily backup configuration in UTC timezone in the 24
// hour format - `HH:MM`.
StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Whether this configuration is enabled.
Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// This is always `sql#backupConfiguration`.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// (MySQL only) Whether binary log is enabled. If backup configuration is
// disabled, binarylog must be disabled as well.
BinaryLogEnabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=binary_log_enabled,json=binaryLogEnabled,proto3" json:"binary_log_enabled,omitempty"`
// Optional. Deprecated: replication_log_archiving_enabled is deprecated and
// will be removed from a future version of the API. Use
// [point_in_time_recovery_enabled][google.cloud.sql.v1beta4.BackupConfiguration.point_in_time_recovery_enabled]
// instead.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
ReplicationLogArchivingEnabled *wrapperspb.BoolValue `` /* 155-byte string literal not displayed */
// Location of the backup
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
// Whether point in time recovery is enabled.
PointInTimeRecoveryEnabled *wrapperspb.BoolValue `` /* 145-byte string literal not displayed */
// The number of days of transaction logs we retain for point in time
// restore, from 1-7.
TransactionLogRetentionDays *wrapperspb.Int32Value `` /* 146-byte string literal not displayed */
// Backup retention settings.
BackupRetentionSettings *BackupRetentionSettings `` /* 133-byte string literal not displayed */
// Output only. This value contains the storage location of transactional logs
// for the database for point-in-time recovery.
TransactionalLogStorageState *BackupConfiguration_TransactionalLogStorageState `` /* 236-byte string literal not displayed */
// Output only. Backup tier that manages the backups for the instance.
BackupTier *BackupConfiguration_BackupTier `` /* 160-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) GetBackupTier ¶
func (x *BackupConfiguration) GetBackupTier() BackupConfiguration_BackupTier
func (*BackupConfiguration) GetBinaryLogEnabled ¶
func (x *BackupConfiguration) GetBinaryLogEnabled() *wrapperspb.BoolValue
func (*BackupConfiguration) GetEnabled ¶
func (x *BackupConfiguration) GetEnabled() *wrapperspb.BoolValue
func (*BackupConfiguration) GetKind ¶
func (x *BackupConfiguration) GetKind() string
func (*BackupConfiguration) GetLocation ¶
func (x *BackupConfiguration) GetLocation() string
func (*BackupConfiguration) GetPointInTimeRecoveryEnabled ¶
func (x *BackupConfiguration) GetPointInTimeRecoveryEnabled() *wrapperspb.BoolValue
func (*BackupConfiguration) GetReplicationLogArchivingEnabled
deprecated
func (x *BackupConfiguration) GetReplicationLogArchivingEnabled() *wrapperspb.BoolValue
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*BackupConfiguration) GetStartTime ¶
func (x *BackupConfiguration) GetStartTime() string
func (*BackupConfiguration) GetTransactionLogRetentionDays ¶
func (x *BackupConfiguration) GetTransactionLogRetentionDays() *wrapperspb.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_BackupTier ¶
type BackupConfiguration_BackupTier int32
Backup tier that manages the backups for the instance.
const ( // Unspecified. BackupConfiguration_BACKUP_TIER_UNSPECIFIED BackupConfiguration_BackupTier = 0 // Instance is managed by Cloud SQL. BackupConfiguration_STANDARD BackupConfiguration_BackupTier = 1 // Deprecated: ADVANCED is deprecated. Please use ENHANCED instead. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. BackupConfiguration_ADVANCED BackupConfiguration_BackupTier = 2 // Instance is managed by Google Cloud Backup and DR Service. BackupConfiguration_ENHANCED BackupConfiguration_BackupTier = 3 )
func (BackupConfiguration_BackupTier) Descriptor ¶
func (BackupConfiguration_BackupTier) Descriptor() protoreflect.EnumDescriptor
func (BackupConfiguration_BackupTier) Enum ¶
func (x BackupConfiguration_BackupTier) Enum() *BackupConfiguration_BackupTier
func (BackupConfiguration_BackupTier) EnumDescriptor
deprecated
func (BackupConfiguration_BackupTier) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupConfiguration_BackupTier.Descriptor instead.
func (BackupConfiguration_BackupTier) Number ¶
func (x BackupConfiguration_BackupTier) Number() protoreflect.EnumNumber
func (BackupConfiguration_BackupTier) String ¶
func (x BackupConfiguration_BackupTier) String() string
func (BackupConfiguration_BackupTier) Type ¶
func (BackupConfiguration_BackupTier) Type() protoreflect.EnumType
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"`
// The name of the backup.
// Format: projects/{project}/backups/{backup}
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,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) GetName ¶
func (x *BackupContext) GetName() 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 `` /* 164-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 `` /* 169-byte string literal not displayed */
// Depending on the value of retention_unit, this is used to determine
// if a backup needs to be deleted. If retention_unit is 'COUNT', we will
// retain this many backups.
RetainedBackups *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=retained_backups,json=retainedBackups,proto3" json:"retained_backups,omitempty"`
// contains filtered or unexported fields
}
We currently only support backup retention by specifying the number of backups we will retain.
func (*BackupRetentionSettings) Descriptor
deprecated
func (*BackupRetentionSettings) Descriptor() ([]byte, []int)
Deprecated: Use BackupRetentionSettings.ProtoReflect.Descriptor instead.
func (*BackupRetentionSettings) GetRetainedBackups ¶
func (x *BackupRetentionSettings) GetRetainedBackups() *wrapperspb.Int32Value
func (*BackupRetentionSettings) GetRetentionUnit ¶
func (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=google.cloud.sql.v1beta4.SqlBackupRunStatus" json:"status,omitempty"`
// The time the run was enqueued in UTC timezone in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
EnqueuedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=enqueued_time,json=enqueuedTime,proto3" json:"enqueued_time,omitempty"`
// The identifier for this backup run. Unique only for a specific Cloud SQL
// instance.
Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
// The time the backup operation actually started in UTC timezone in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time the backup operation completed in UTC timezone in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Information about why the backup operation failed. This is only present if
// the run has the FAILED status.
Error *OperationError `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// The type of this run; can be either "AUTOMATED" or "ON_DEMAND" 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=google.cloud.sql.v1beta4.SqlBackupRunType" json:"type,omitempty"`
// The description of this run, only applicable to on-demand backups.
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// The start time of the backup window during which this the backup was
// attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for
// example `2012-11-15T16:19:00.094Z`.
WindowStartTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=window_start_time,json=windowStartTime,proto3" json:"window_start_time,omitempty"`
// Name of the database instance.
Instance string `protobuf:"bytes,11,opt,name=instance,proto3" json:"instance,omitempty"`
// The URI of this resource.
SelfLink string `protobuf:"bytes,12,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// Location of the backups.
Location string `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"`
// Output only. The instance database version at the time this backup was
// made.
DatabaseVersion SqlDatabaseVersion `` /* 157-byte string literal not displayed */
// Encryption configuration specific to a backup.
DiskEncryptionConfiguration *DiskEncryptionConfiguration `` /* 145-byte string literal not displayed */
// Encryption status specific to a backup.
DiskEncryptionStatus *DiskEncryptionStatus `protobuf:"bytes,17,opt,name=disk_encryption_status,json=diskEncryptionStatus,proto3" json:"disk_encryption_status,omitempty"`
// Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
BackupKind SqlBackupKind `` /* 137-byte string literal not displayed */
// 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"`
// Output only. The maximum chargeable bytes for the backup.
MaxChargeableBytes *int64 `protobuf:"varint,24,opt,name=max_chargeable_bytes,json=maxChargeableBytes,proto3,oneof" json:"max_chargeable_bytes,omitempty"`
// contains filtered or unexported fields
}
A BackupRun resource.
func (*BackupRun) Descriptor
deprecated
func (*BackupRun) GetBackupKind ¶
func (x *BackupRun) GetBackupKind() SqlBackupKind
func (*BackupRun) GetDatabaseVersion ¶
func (x *BackupRun) GetDatabaseVersion() SqlDatabaseVersion
func (*BackupRun) GetDescription ¶
func (*BackupRun) GetDiskEncryptionConfiguration ¶
func (x *BackupRun) GetDiskEncryptionConfiguration() *DiskEncryptionConfiguration
func (*BackupRun) GetDiskEncryptionStatus ¶
func (x *BackupRun) GetDiskEncryptionStatus() *DiskEncryptionStatus
func (*BackupRun) GetEndTime ¶
func (x *BackupRun) GetEndTime() *timestamppb.Timestamp
func (*BackupRun) GetEnqueuedTime ¶
func (x *BackupRun) GetEnqueuedTime() *timestamppb.Timestamp
func (*BackupRun) GetError ¶
func (x *BackupRun) GetError() *OperationError
func (*BackupRun) GetInstance ¶
func (*BackupRun) GetLocation ¶
func (*BackupRun) GetMaxChargeableBytes ¶
func (*BackupRun) GetSelfLink ¶
func (*BackupRun) GetStartTime ¶
func (x *BackupRun) GetStartTime() *timestamppb.Timestamp
func (*BackupRun) GetStatus ¶
func (x *BackupRun) GetStatus() SqlBackupRunStatus
func (*BackupRun) GetTimeZone ¶
func (*BackupRun) GetType ¶
func (x *BackupRun) GetType() SqlBackupRunType
func (*BackupRun) GetWindowStartTime ¶
func (x *BackupRun) GetWindowStartTime() *timestamppb.Timestamp
func (*BackupRun) ProtoMessage ¶
func (*BackupRun) ProtoMessage()
func (*BackupRun) ProtoReflect ¶
func (x *BackupRun) ProtoReflect() protoreflect.Message
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 Backup_ExpiryTime ¶
type Backup_ExpiryTime struct {
// Backup expiration time.
// A UTC timestamp of when this resource expired.
ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=expiry_time,json=expiryTime,proto3,oneof"`
}
type Backup_SqlBackupState ¶
type Backup_SqlBackupState int32
The backup's state
const ( // The state of the backup is unknown. Backup_SQL_BACKUP_STATE_UNSPECIFIED Backup_SqlBackupState = 0 // The backup that's added to a queue. Backup_ENQUEUED Backup_SqlBackupState = 1 // The backup is in progress. Backup_RUNNING Backup_SqlBackupState = 2 // The backup failed. Backup_FAILED Backup_SqlBackupState = 3 // The backup is successful. Backup_SUCCESSFUL Backup_SqlBackupState = 4 // The backup is being deleted. Backup_DELETING Backup_SqlBackupState = 5 // Deletion of the backup failed. Backup_DELETION_FAILED Backup_SqlBackupState = 6 )
func (Backup_SqlBackupState) Descriptor ¶
func (Backup_SqlBackupState) Descriptor() protoreflect.EnumDescriptor
func (Backup_SqlBackupState) Enum ¶
func (x Backup_SqlBackupState) Enum() *Backup_SqlBackupState
func (Backup_SqlBackupState) EnumDescriptor
deprecated
func (Backup_SqlBackupState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_SqlBackupState.Descriptor instead.
func (Backup_SqlBackupState) Number ¶
func (x Backup_SqlBackupState) Number() protoreflect.EnumNumber
func (Backup_SqlBackupState) String ¶
func (x Backup_SqlBackupState) String() string
func (Backup_SqlBackupState) Type ¶
func (Backup_SqlBackupState) Type() protoreflect.EnumType
type Backup_SqlBackupType ¶
type Backup_SqlBackupType int32
The backup type.
const ( // This is an unknown backup type. Backup_SQL_BACKUP_TYPE_UNSPECIFIED Backup_SqlBackupType = 0 // The backup schedule triggers a backup automatically. Backup_AUTOMATED Backup_SqlBackupType = 1 // The user triggers a backup manually. Backup_ON_DEMAND Backup_SqlBackupType = 2 // The backup that's created when the instance is deleted. Backup_FINAL Backup_SqlBackupType = 3 )
func (Backup_SqlBackupType) Descriptor ¶
func (Backup_SqlBackupType) Descriptor() protoreflect.EnumDescriptor
func (Backup_SqlBackupType) Enum ¶
func (x Backup_SqlBackupType) Enum() *Backup_SqlBackupType
func (Backup_SqlBackupType) EnumDescriptor
deprecated
func (Backup_SqlBackupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_SqlBackupType.Descriptor instead.
func (Backup_SqlBackupType) Number ¶
func (x Backup_SqlBackupType) Number() protoreflect.EnumNumber
func (Backup_SqlBackupType) String ¶
func (x Backup_SqlBackupType) String() string
func (Backup_SqlBackupType) Type ¶
func (Backup_SqlBackupType) Type() protoreflect.EnumType
type Backup_TtlDays ¶
type Backup_TtlDays struct {
// Input only. The time-to-live (TTL) interval for this resource (in days).
// For example: ttlDays:7, means 7 days from the current time. The
// expiration time can't exceed 365 days from the time that the backup is
// created.
TtlDays int64 `protobuf:"varint,16,opt,name=ttl_days,json=ttlDays,proto3,oneof"`
}
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 *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=point_in_time,json=pointInTime,proto3" json:"point_in_time,omitempty"`
// The name of the allocated ip range for the private ip 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 */
// The timestamp used to identify the time when the source instance is
// deleted. If this instance is deleted, then you must set the timestamp.
SourceInstanceDeletionTime *timestamppb.Timestamp `` /* 150-byte string literal not displayed */
// Optional. The project ID of the destination project where the cloned
// instance will be created. To perform a cross-project clone, this field is
// required. If not specified, the clone is created in the same project
// as the source instance.
DestinationProject *string `protobuf:"bytes,13,opt,name=destination_project,json=destinationProject,proto3,oneof" json:"destination_project,omitempty"`
// Optional. The fully qualified URI of the VPC network to which the cloned
// instance will be connected via private services access for private IP. For
// example:`projects/my-network-project/global/networks/my-network`. This
// field is only required for cross-project cloning.
DestinationNetwork *string `protobuf:"bytes,14,opt,name=destination_network,json=destinationNetwork,proto3,oneof" json:"destination_network,omitempty"`
// contains filtered or unexported fields
}
Database instance clone context.
func (*CloneContext) Descriptor
deprecated
func (*CloneContext) Descriptor() ([]byte, []int)
Deprecated: Use CloneContext.ProtoReflect.Descriptor instead.
func (*CloneContext) GetAllocatedIpRange ¶
func (x *CloneContext) GetAllocatedIpRange() string
func (*CloneContext) GetBinLogCoordinates ¶
func (x *CloneContext) GetBinLogCoordinates() *BinLogCoordinates
func (*CloneContext) GetDatabaseNames ¶
func (x *CloneContext) GetDatabaseNames() []string
func (*CloneContext) GetDestinationInstanceName ¶
func (x *CloneContext) GetDestinationInstanceName() string
func (*CloneContext) GetDestinationNetwork ¶
func (x *CloneContext) GetDestinationNetwork() string
func (*CloneContext) GetDestinationProject ¶
func (x *CloneContext) GetDestinationProject() string
func (*CloneContext) GetKind ¶
func (x *CloneContext) GetKind() string
func (*CloneContext) GetPitrTimestampMs ¶
func (x *CloneContext) GetPitrTimestampMs() int64
func (*CloneContext) GetPointInTime ¶
func (x *CloneContext) GetPointInTime() *timestamppb.Timestamp
func (*CloneContext) GetPreferredSecondaryZone ¶
func (x *CloneContext) GetPreferredSecondaryZone() string
func (*CloneContext) GetPreferredZone ¶
func (x *CloneContext) GetPreferredZone() string
func (*CloneContext) GetSourceInstanceDeletionTime ¶
func (x *CloneContext) GetSourceInstanceDeletionTime() *timestamppb.Timestamp
func (*CloneContext) ProtoMessage ¶
func (*CloneContext) ProtoMessage()
func (*CloneContext) ProtoReflect ¶
func (x *CloneContext) ProtoReflect() protoreflect.Message
func (*CloneContext) Reset ¶
func (x *CloneContext) Reset()
func (*CloneContext) String ¶
func (x *CloneContext) String() string
type Column ¶
type Column struct {
// Name of the column.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Datatype of the column.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
Contains the name and datatype of a column.
func (*Column) Descriptor
deprecated
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
type ConnectSettings ¶
type ConnectSettings struct {
// This is always `sql#connectSettings`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// SSL configuration.
ServerCaCert *SslCert `protobuf:"bytes,2,opt,name=server_ca_cert,json=serverCaCert,proto3" json:"server_ca_cert,omitempty"`
// The assigned IP addresses for the instance.
IpAddresses []*IpMapping `protobuf:"bytes,3,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
// The cloud region for the instance. e.g. `us-central1`, `europe-west1`.
// The region cannot be changed after instance creation.
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
// The database engine type and version. The `databaseVersion`
// field cannot be changed after instance creation.
//
// MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default),
//
// or `MYSQL_5_6`.
//
// PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
//
// `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`.
//
// SQL Server instances: `SQLSERVER_2017_STANDARD` (default),
//
// `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
// `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
// `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
// `SQLSERVER_2019_WEB`.
DatabaseVersion SqlDatabaseVersion `` /* 157-byte string literal not displayed */
// `SECOND_GEN`: Cloud SQL database instance.
// `EXTERNAL`: A database server that is not managed by Google.
// This property is read-only; use the `tier` property in the `settings`
// object to determine the database type.
BackendType SqlBackendType `` /* 141-byte string literal not displayed */
// 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"`
// Specify what type of CA is used for the server certificate.
ServerCaMode ConnectSettings_CaMode `` /* 154-byte string literal not displayed */
// Custom subject alternative names for the server certificate.
CustomSubjectAlternativeNames []string `` /* 153-byte string literal not displayed */
// Output only. The list of DNS names used by this instance.
DnsNames []*DnsNameMapping `protobuf:"bytes,38,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
// The number of read pool nodes in a read pool.
NodeCount *int32 `protobuf:"varint,63,opt,name=node_count,json=nodeCount,proto3,oneof" json:"node_count,omitempty"`
// Output only. Entries containing information about each read pool node of
// the read pool.
Nodes []*ConnectSettings_ConnectPoolNodeConfig `protobuf:"bytes,64,rep,name=nodes,proto3" json:"nodes,omitempty"`
// Optional. Output only. mdx_protocol_support controls how the client uses
// metadata exchange when connecting to the instance. The values in the list
// representing parts of the MDX protocol that are supported by this instance.
// When the list is empty, the instance does not support MDX, so the client
// must not send an MDX request. The default is empty.
MdxProtocolSupport []ConnectSettings_MdxProtocolSupport `` /* 191-byte string literal not displayed */
// Optional. Output only. Connection name of the Cloud SQL instance used in
// connection strings, in the format project:region:instance.
ConnectionName string `protobuf:"bytes,40,opt,name=connection_name,json=connectionName,proto3" json:"connection_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) GetConnectionName ¶
func (x *ConnectSettings) GetConnectionName() string
func (*ConnectSettings) GetCustomSubjectAlternativeNames ¶
func (x *ConnectSettings) GetCustomSubjectAlternativeNames() []string
func (*ConnectSettings) GetDatabaseVersion ¶
func (x *ConnectSettings) GetDatabaseVersion() SqlDatabaseVersion
func (*ConnectSettings) GetDnsName ¶
func (x *ConnectSettings) GetDnsName() string
func (*ConnectSettings) GetDnsNames ¶
func (x *ConnectSettings) GetDnsNames() []*DnsNameMapping
func (*ConnectSettings) GetIpAddresses ¶
func (x *ConnectSettings) GetIpAddresses() []*IpMapping
func (*ConnectSettings) GetKind ¶
func (x *ConnectSettings) GetKind() string
func (*ConnectSettings) GetMdxProtocolSupport ¶
func (x *ConnectSettings) GetMdxProtocolSupport() []ConnectSettings_MdxProtocolSupport
func (*ConnectSettings) GetNodeCount ¶
func (x *ConnectSettings) GetNodeCount() int32
func (*ConnectSettings) GetNodes ¶
func (x *ConnectSettings) GetNodes() []*ConnectSettings_ConnectPoolNodeConfig
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) GetServerCaMode ¶
func (x *ConnectSettings) GetServerCaMode() ConnectSettings_CaMode
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 ConnectSettings_CaMode ¶
type ConnectSettings_CaMode int32
Various Certificate Authority (CA) modes for certificate signing.
const ( // CA mode is unspecified. It is effectively the same as // `GOOGLE_MANAGED_INTERNAL_CA`. ConnectSettings_CA_MODE_UNSPECIFIED ConnectSettings_CaMode = 0 // Google-managed self-signed internal CA. ConnectSettings_GOOGLE_MANAGED_INTERNAL_CA ConnectSettings_CaMode = 1 // Google-managed regional CA part of root CA hierarchy hosted on Google // Cloud's Certificate Authority Service (CAS). ConnectSettings_GOOGLE_MANAGED_CAS_CA ConnectSettings_CaMode = 2 // Customer-managed CA hosted on Google Cloud's Certificate Authority // Service (CAS). ConnectSettings_CUSTOMER_MANAGED_CAS_CA ConnectSettings_CaMode = 3 )
func (ConnectSettings_CaMode) Descriptor ¶
func (ConnectSettings_CaMode) Descriptor() protoreflect.EnumDescriptor
func (ConnectSettings_CaMode) Enum ¶
func (x ConnectSettings_CaMode) Enum() *ConnectSettings_CaMode
func (ConnectSettings_CaMode) EnumDescriptor
deprecated
func (ConnectSettings_CaMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectSettings_CaMode.Descriptor instead.
func (ConnectSettings_CaMode) Number ¶
func (x ConnectSettings_CaMode) Number() protoreflect.EnumNumber
func (ConnectSettings_CaMode) String ¶
func (x ConnectSettings_CaMode) String() string
func (ConnectSettings_CaMode) Type ¶
func (ConnectSettings_CaMode) Type() protoreflect.EnumType
type ConnectSettings_ConnectPoolNodeConfig ¶
type ConnectSettings_ConnectPoolNodeConfig struct {
// Output only. The name of the read pool node. Doesn't include the project
// ID.
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Output only. Mappings containing IP addresses that can be used to connect
// to the read pool node.
IpAddresses []*IpMapping `protobuf:"bytes,2,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
// Output only. The DNS name of the read pool node.
DnsName *string `protobuf:"bytes,3,opt,name=dns_name,json=dnsName,proto3,oneof" json:"dns_name,omitempty"`
// Output only. The list of DNS names used by this read pool node.
DnsNames []*DnsNameMapping `protobuf:"bytes,4,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
// contains filtered or unexported fields
}
Details of a single read pool node of a read pool.
func (*ConnectSettings_ConnectPoolNodeConfig) Descriptor
deprecated
func (*ConnectSettings_ConnectPoolNodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConnectSettings_ConnectPoolNodeConfig.ProtoReflect.Descriptor instead.
func (*ConnectSettings_ConnectPoolNodeConfig) GetDnsName ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) GetDnsName() string
func (*ConnectSettings_ConnectPoolNodeConfig) GetDnsNames ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) GetDnsNames() []*DnsNameMapping
func (*ConnectSettings_ConnectPoolNodeConfig) GetIpAddresses ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) GetIpAddresses() []*IpMapping
func (*ConnectSettings_ConnectPoolNodeConfig) GetName ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) GetName() string
func (*ConnectSettings_ConnectPoolNodeConfig) ProtoMessage ¶
func (*ConnectSettings_ConnectPoolNodeConfig) ProtoMessage()
func (*ConnectSettings_ConnectPoolNodeConfig) ProtoReflect ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) ProtoReflect() protoreflect.Message
func (*ConnectSettings_ConnectPoolNodeConfig) Reset ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) Reset()
func (*ConnectSettings_ConnectPoolNodeConfig) String ¶
func (x *ConnectSettings_ConnectPoolNodeConfig) String() string
type ConnectSettings_MdxProtocolSupport ¶
type ConnectSettings_MdxProtocolSupport int32
MdxProtocolSupport describes parts of the MDX protocol supported by this instance.
const ( // Not specified. ConnectSettings_MDX_PROTOCOL_SUPPORT_UNSPECIFIED ConnectSettings_MdxProtocolSupport = 0 // Client should send the client protocol type in the MDX request. ConnectSettings_CLIENT_PROTOCOL_TYPE ConnectSettings_MdxProtocolSupport = 1 )
func (ConnectSettings_MdxProtocolSupport) Descriptor ¶
func (ConnectSettings_MdxProtocolSupport) Descriptor() protoreflect.EnumDescriptor
func (ConnectSettings_MdxProtocolSupport) Enum ¶
func (x ConnectSettings_MdxProtocolSupport) Enum() *ConnectSettings_MdxProtocolSupport
func (ConnectSettings_MdxProtocolSupport) EnumDescriptor
deprecated
func (ConnectSettings_MdxProtocolSupport) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectSettings_MdxProtocolSupport.Descriptor instead.
func (ConnectSettings_MdxProtocolSupport) Number ¶
func (x ConnectSettings_MdxProtocolSupport) Number() protoreflect.EnumNumber
func (ConnectSettings_MdxProtocolSupport) String ¶
func (x ConnectSettings_MdxProtocolSupport) String() string
func (ConnectSettings_MdxProtocolSupport) Type ¶
func (ConnectSettings_MdxProtocolSupport) Type() protoreflect.EnumType
type ConnectionPoolConfig ¶
type ConnectionPoolConfig struct {
// Whether managed connection pooling is enabled.
ConnectionPoolingEnabled *bool `` /* 142-byte string literal not displayed */
// Optional. List of connection pool configuration flags.
Flags []*ConnectionPoolFlags `protobuf:"bytes,8,rep,name=flags,proto3" json:"flags,omitempty"`
// Output only. Number of connection poolers.
PoolerCount *int32 `protobuf:"varint,9,opt,name=pooler_count,json=poolerCount,proto3,oneof" json:"pooler_count,omitempty"`
// contains filtered or unexported fields
}
The managed connection pooling configuration.
func (*ConnectionPoolConfig) Descriptor
deprecated
func (*ConnectionPoolConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionPoolConfig.ProtoReflect.Descriptor instead.
func (*ConnectionPoolConfig) GetConnectionPoolingEnabled ¶
func (x *ConnectionPoolConfig) GetConnectionPoolingEnabled() bool
func (*ConnectionPoolConfig) GetFlags ¶
func (x *ConnectionPoolConfig) GetFlags() []*ConnectionPoolFlags
func (*ConnectionPoolConfig) GetPoolerCount ¶
func (x *ConnectionPoolConfig) GetPoolerCount() int32
func (*ConnectionPoolConfig) ProtoMessage ¶
func (*ConnectionPoolConfig) ProtoMessage()
func (*ConnectionPoolConfig) ProtoReflect ¶
func (x *ConnectionPoolConfig) ProtoReflect() protoreflect.Message
func (*ConnectionPoolConfig) Reset ¶
func (x *ConnectionPoolConfig) Reset()
func (*ConnectionPoolConfig) String ¶
func (x *ConnectionPoolConfig) String() string
type ConnectionPoolFlags ¶
type ConnectionPoolFlags struct {
// Required. The name of the flag.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. 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
}
Connection pool flags for Cloud SQL instances managed connection pool configuration.
func (*ConnectionPoolFlags) Descriptor
deprecated
func (*ConnectionPoolFlags) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionPoolFlags.ProtoReflect.Descriptor instead.
func (*ConnectionPoolFlags) GetName ¶
func (x *ConnectionPoolFlags) GetName() string
func (*ConnectionPoolFlags) GetValue ¶
func (x *ConnectionPoolFlags) GetValue() string
func (*ConnectionPoolFlags) ProtoMessage ¶
func (*ConnectionPoolFlags) ProtoMessage()
func (*ConnectionPoolFlags) ProtoReflect ¶
func (x *ConnectionPoolFlags) ProtoReflect() protoreflect.Message
func (*ConnectionPoolFlags) Reset ¶
func (x *ConnectionPoolFlags) Reset()
func (*ConnectionPoolFlags) String ¶
func (x *ConnectionPoolFlags) String() string
type ContinueSession ¶
type ContinueSession struct {
// Required. `location_id` is used to route the
// request to a specific region. Use the same region which was used to create
// the instance. Use the format `locations/{location}`, for example:
// `locations/us-central1`.
LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
// Required. The Cloud SQL instance resource name, for example:
// projects/example-project/instances/example-instance
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The id of the session to reconnect.
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
Reconnects to an existing session. The client must send this as the first message to the server to reconnect to an existing session. The client may immediately send Data messages without waiting for a reply from the server.
func (*ContinueSession) Descriptor
deprecated
func (*ContinueSession) Descriptor() ([]byte, []int)
Deprecated: Use ContinueSession.ProtoReflect.Descriptor instead.
func (*ContinueSession) GetInstanceId ¶
func (x *ContinueSession) GetInstanceId() string
func (*ContinueSession) GetLocationId ¶
func (x *ContinueSession) GetLocationId() string
func (*ContinueSession) GetSessionId ¶
func (x *ContinueSession) GetSessionId() string
func (*ContinueSession) ProtoMessage ¶
func (*ContinueSession) ProtoMessage()
func (*ContinueSession) ProtoReflect ¶
func (x *ContinueSession) ProtoReflect() protoreflect.Message
func (*ContinueSession) Reset ¶
func (x *ContinueSession) Reset()
func (*ContinueSession) String ¶
func (x *ContinueSession) String() string
type CreateBackupRequest ¶
type CreateBackupRequest struct {
// Required. The parent resource where this backup is created.
// Format: projects/{project}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The Backup to create.
Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
// contains filtered or unexported fields
}
The request payload to create the backup
func (*CreateBackupRequest) Descriptor
deprecated
func (*CreateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupRequest) GetBackup ¶
func (x *CreateBackupRequest) GetBackup() *Backup
func (*CreateBackupRequest) GetParent ¶
func (x *CreateBackupRequest) GetParent() string
func (*CreateBackupRequest) ProtoMessage ¶
func (*CreateBackupRequest) ProtoMessage()
func (*CreateBackupRequest) ProtoReflect ¶
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupRequest) Reset ¶
func (x *CreateBackupRequest) Reset()
func (*CreateBackupRequest) String ¶
func (x *CreateBackupRequest) 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 DataPacket ¶
type DataPacket struct {
// Optional. The absolute byte offset of the first byte in this payload.
// 0 for new connections or resumed connections that hasn't acked any bytes
// from server. Non-zero for resumed connections
FirstByteOffset int64 `protobuf:"varint,1,opt,name=first_byte_offset,json=firstByteOffset,proto3" json:"first_byte_offset,omitempty"`
// Required. Raw data being sent or received by the database.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
Contains data being sent or received by the database.
func (*DataPacket) Descriptor
deprecated
func (*DataPacket) Descriptor() ([]byte, []int)
Deprecated: Use DataPacket.ProtoReflect.Descriptor instead.
func (*DataPacket) GetData ¶
func (x *DataPacket) GetData() []byte
func (*DataPacket) GetFirstByteOffset ¶
func (x *DataPacket) GetFirstByteOffset() int64
func (*DataPacket) ProtoMessage ¶
func (*DataPacket) ProtoMessage()
func (*DataPacket) ProtoReflect ¶
func (x *DataPacket) ProtoReflect() protoreflect.Message
func (*DataPacket) Reset ¶
func (x *DataPacket) Reset()
func (*DataPacket) String ¶
func (x *DataPacket) 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 valid to be assigned 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 (x *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 `` /* 128-byte string literal not displayed */
// The database engine type and version. The `databaseVersion` field cannot
// be changed after instance creation.
DatabaseVersion SqlDatabaseVersion `` /* 156-byte string literal not displayed */
// The user settings.
Settings *Settings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"`
// This field is deprecated and will be removed from a future version of the
// API. Use the `settings.settingsVersion` field instead.
Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
// The name and status of the failover replica.
FailoverReplica *DatabaseInstance_SqlFailoverReplica `protobuf:"bytes,6,opt,name=failover_replica,json=failoverReplica,proto3" json:"failover_replica,omitempty"`
// The name of the instance which will act as primary in the replication
// setup.
MasterInstanceName string `protobuf:"bytes,7,opt,name=master_instance_name,json=masterInstanceName,proto3" json:"master_instance_name,omitempty"`
// The replicas of the instance.
ReplicaNames []string `protobuf:"bytes,8,rep,name=replica_names,json=replicaNames,proto3" json:"replica_names,omitempty"`
// The maximum disk size of the instance in bytes.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
MaxDiskSize *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=max_disk_size,json=maxDiskSize,proto3" json:"max_disk_size,omitempty"`
// The current disk usage of the instance in bytes. This property has been
// deprecated. Use the
// "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
// Monitoring API instead. Please see [this
// announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ)
// for details.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
CurrentDiskSize *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=current_disk_size,json=currentDiskSize,proto3" json:"current_disk_size,omitempty"`
// The assigned IP addresses for the instance.
IpAddresses []*IpMapping `protobuf:"bytes,11,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
// SSL configuration.
ServerCaCert *SslCert `protobuf:"bytes,12,opt,name=server_ca_cert,json=serverCaCert,proto3" json:"server_ca_cert,omitempty"`
// The instance type.
InstanceType SqlInstanceType `` /* 145-byte string literal not displayed */
// The project ID of the project containing the Cloud SQL instance. The Google
// apps domain is prefixed if applicable.
Project string `protobuf:"bytes,14,opt,name=project,proto3" json:"project,omitempty"`
// The IPv6 address assigned to the instance.
// (Deprecated) This property was applicable only
// to First Generation instances.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
Ipv6Address string `protobuf:"bytes,15,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"`
// The service account email address assigned to the instance. \This
// property is read-only.
ServiceAccountEmailAddress string `` /* 144-byte string literal not displayed */
// Configuration specific to on-premises instances.
OnPremisesConfiguration *OnPremisesConfiguration `` /* 133-byte string literal not displayed */
// Configuration specific to failover replicas and read replicas.
ReplicaConfiguration *ReplicaConfiguration `protobuf:"bytes,18,opt,name=replica_configuration,json=replicaConfiguration,proto3" json:"replica_configuration,omitempty"`
// The backend type.
// `SECOND_GEN`: Cloud SQL database instance.
// `EXTERNAL`: A database server that is not managed by Google.
//
// This property is read-only; use the `tier` property in the `settings`
// object to determine the database type.
BackendType SqlBackendType `` /* 141-byte string literal not displayed */
// The URI of this resource.
SelfLink string `protobuf:"bytes,20,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// If the instance state is SUSPENDED, the reason for the suspension.
SuspensionReason []SqlSuspensionReason `` /* 168-byte string literal not displayed */
// Connection name of the Cloud SQL instance used in connection strings.
ConnectionName string `protobuf:"bytes,22,opt,name=connection_name,json=connectionName,proto3" json:"connection_name,omitempty"`
// Name of the Cloud SQL instance. This does not include the project ID.
Name string `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"`
// The geographical region 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 *wrapperspb.BoolValue `protobuf:"bytes,35,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
// Output only. Stores the current database version running on the instance
// including minor version such as `MYSQL_8_0_18`.
DatabaseInstalledVersion string `` /* 136-byte string literal not displayed */
// This field represents the report generated by the proactive database
// wellness job for OutOfDisk issues.
// * Writers:
// - the proactive database wellness job for OOD.
//
// * Readers:
// - the proactive database wellness job
OutOfDiskReport *DatabaseInstance_SqlOutOfDiskReport `protobuf:"bytes,38,opt,name=out_of_disk_report,json=outOfDiskReport,proto3,oneof" json:"out_of_disk_report,omitempty"`
// Output only. The time when the instance was created in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,39,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// 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 `` /* 207-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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
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.
// Applicable to MySQL and PostgreSQL.
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"`
// Output only. This status indicates whether the instance satisfies PZI.
//
// The status is reserved for future use.
SatisfiesPzi *wrapperspb.BoolValue `protobuf:"bytes,56,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
// Input only. Whether Cloud SQL is enabled to switch storing point-in-time
// recovery log files from a data disk to Cloud Storage.
SwitchTransactionLogsToCloudStorageEnabled *wrapperspb.BoolValue `` /* 204-byte string literal not displayed */
// Input only. Determines whether an in-place major version upgrade of
// replicas happens when an in-place major version upgrade of a primary
// instance is initiated.
IncludeReplicasForMajorVersionUpgrade *wrapperspb.BoolValue `` /* 187-byte string literal not displayed */
// Optional. Input only. Immutable. Tag keys and tag values that are bound to
// this instance. You must represent each item in the map as:
// `"<tag-key-namespaced-name>" : "<tag-value-short-name>"`.
//
// For example, a single resource can have the following tags:
// “`
//
// "123/environment": "production",
// "123/costCenter": "marketing",
//
// “`
//
// For more information on tag creation and management, see
// https://cloud.google.com/resource-manager/docs/tags/tags-overview.
Tags map[string]string `` /* 136-byte string literal not displayed */
// The number of read pool nodes in a read pool.
NodeCount *int32 `protobuf:"varint,63,opt,name=node_count,json=nodeCount,proto3,oneof" json:"node_count,omitempty"`
// Output only. Entries containing information about each read pool node of
// the read pool.
Nodes []*DatabaseInstance_PoolNodeConfig `protobuf:"bytes,64,rep,name=nodes,proto3" json:"nodes,omitempty"`
// Output only. The list of DNS names used by this instance.
DnsNames []*DnsNameMapping `protobuf:"bytes,67,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
// Optional. If true, instance metadata is sent to the Database Center. If
// false, instance metadata is not sent to the Database Center.
DatabaseCenterIntegrationEnabled *wrapperspb.BoolValue `` /* 162-byte string literal not displayed */
// contains filtered or unexported fields
}
A Cloud SQL instance resource.
func (*DatabaseInstance) Descriptor
deprecated
func (*DatabaseInstance) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance.ProtoReflect.Descriptor instead.
func (*DatabaseInstance) GetAvailableMaintenanceVersions ¶
func (x *DatabaseInstance) GetAvailableMaintenanceVersions() []string
func (*DatabaseInstance) GetBackendType ¶
func (x *DatabaseInstance) GetBackendType() SqlBackendType
func (*DatabaseInstance) GetConnectionName ¶
func (x *DatabaseInstance) GetConnectionName() string
func (*DatabaseInstance) GetCreateTime ¶
func (x *DatabaseInstance) GetCreateTime() *timestamppb.Timestamp
func (*DatabaseInstance) GetCurrentDiskSize
deprecated
func (x *DatabaseInstance) GetCurrentDiskSize() *wrapperspb.Int64Value
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*DatabaseInstance) GetDatabaseCenterIntegrationEnabled ¶
func (x *DatabaseInstance) GetDatabaseCenterIntegrationEnabled() *wrapperspb.BoolValue
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) GetDnsNames ¶
func (x *DatabaseInstance) GetDnsNames() []*DnsNameMapping
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) GetIncludeReplicasForMajorVersionUpgrade ¶
func (x *DatabaseInstance) GetIncludeReplicasForMajorVersionUpgrade() *wrapperspb.BoolValue
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*DatabaseInstance) GetKind ¶
func (x *DatabaseInstance) GetKind() string
func (*DatabaseInstance) GetMaintenanceVersion ¶
func (x *DatabaseInstance) GetMaintenanceVersion() string
func (*DatabaseInstance) GetMasterInstanceName ¶
func (x *DatabaseInstance) GetMasterInstanceName() string
func (*DatabaseInstance) GetMaxDiskSize
deprecated
func (x *DatabaseInstance) GetMaxDiskSize() *wrapperspb.Int64Value
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*DatabaseInstance) GetName ¶
func (x *DatabaseInstance) GetName() string
func (*DatabaseInstance) GetNodeCount ¶
func (x *DatabaseInstance) GetNodeCount() int32
func (*DatabaseInstance) GetNodes ¶
func (x *DatabaseInstance) GetNodes() []*DatabaseInstance_PoolNodeConfig
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
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) GetSatisfiesPzi ¶
func (x *DatabaseInstance) GetSatisfiesPzi() *wrapperspb.BoolValue
func (*DatabaseInstance) GetSatisfiesPzs ¶
func (x *DatabaseInstance) GetSatisfiesPzs() *wrapperspb.BoolValue
func (*DatabaseInstance) GetScheduledMaintenance ¶
func (x *DatabaseInstance) GetScheduledMaintenance() *DatabaseInstance_SqlScheduledMaintenance
func (*DatabaseInstance) GetSecondaryGceZone ¶
func (x *DatabaseInstance) GetSecondaryGceZone() string
func (*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) GetSwitchTransactionLogsToCloudStorageEnabled ¶
func (x *DatabaseInstance) GetSwitchTransactionLogsToCloudStorageEnabled() *wrapperspb.BoolValue
func (*DatabaseInstance) GetTags ¶
func (x *DatabaseInstance) GetTags() map[string]string
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_PoolNodeConfig ¶
type DatabaseInstance_PoolNodeConfig struct {
// Output only. The name of the read pool node, to be used for retrieving
// metrics and logs.
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Output only. The zone of the read pool node.
GceZone *string `protobuf:"bytes,2,opt,name=gce_zone,json=gceZone,proto3,oneof" json:"gce_zone,omitempty"`
// Output only. Mappings containing IP addresses that can be used to connect
// to the read pool node.
IpAddresses []*IpMapping `protobuf:"bytes,3,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
// Output only. The DNS name of the read pool node.
DnsName *string `protobuf:"bytes,4,opt,name=dns_name,json=dnsName,proto3,oneof" json:"dns_name,omitempty"`
// Output only. The current state of the read pool node.
State *DatabaseInstance_SqlInstanceState `` /* 134-byte string literal not displayed */
// Output only. The list of DNS names used by this read pool node.
DnsNames []*DnsNameMapping `protobuf:"bytes,6,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
// Output only. The Private Service Connect (PSC) service attachment of the
// read pool node.
PscServiceAttachmentLink *string `` /* 143-byte string literal not displayed */
// Output only. The list of settings for requested automatically-setup
// Private Service Connect (PSC) consumer endpoints that can be used to
// connect to this read pool node.
PscAutoConnections []*PscAutoConnectionConfig `protobuf:"bytes,8,rep,name=psc_auto_connections,json=pscAutoConnections,proto3" json:"psc_auto_connections,omitempty"`
// contains filtered or unexported fields
}
Details of a single read pool node of a read pool.
func (*DatabaseInstance_PoolNodeConfig) Descriptor
deprecated
func (*DatabaseInstance_PoolNodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_PoolNodeConfig.ProtoReflect.Descriptor instead.
func (*DatabaseInstance_PoolNodeConfig) GetDnsName ¶
func (x *DatabaseInstance_PoolNodeConfig) GetDnsName() string
func (*DatabaseInstance_PoolNodeConfig) GetDnsNames ¶
func (x *DatabaseInstance_PoolNodeConfig) GetDnsNames() []*DnsNameMapping
func (*DatabaseInstance_PoolNodeConfig) GetGceZone ¶
func (x *DatabaseInstance_PoolNodeConfig) GetGceZone() string
func (*DatabaseInstance_PoolNodeConfig) GetIpAddresses ¶
func (x *DatabaseInstance_PoolNodeConfig) GetIpAddresses() []*IpMapping
func (*DatabaseInstance_PoolNodeConfig) GetName ¶
func (x *DatabaseInstance_PoolNodeConfig) GetName() string
func (*DatabaseInstance_PoolNodeConfig) GetPscAutoConnections ¶
func (x *DatabaseInstance_PoolNodeConfig) GetPscAutoConnections() []*PscAutoConnectionConfig
func (*DatabaseInstance_PoolNodeConfig) GetPscServiceAttachmentLink ¶
func (x *DatabaseInstance_PoolNodeConfig) GetPscServiceAttachmentLink() string
func (*DatabaseInstance_PoolNodeConfig) GetState ¶
func (x *DatabaseInstance_PoolNodeConfig) GetState() DatabaseInstance_SqlInstanceState
func (*DatabaseInstance_PoolNodeConfig) ProtoMessage ¶
func (*DatabaseInstance_PoolNodeConfig) ProtoMessage()
func (*DatabaseInstance_PoolNodeConfig) ProtoReflect ¶
func (x *DatabaseInstance_PoolNodeConfig) ProtoReflect() protoreflect.Message
func (*DatabaseInstance_PoolNodeConfig) Reset ¶
func (x *DatabaseInstance_PoolNodeConfig) Reset()
func (*DatabaseInstance_PoolNodeConfig) String ¶
func (x *DatabaseInstance_PoolNodeConfig) String() string
type DatabaseInstance_SqlFailoverReplica ¶
type DatabaseInstance_SqlFailoverReplica struct {
// The name of the failover replica. If specified at instance creation, a
// failover replica is created for the instance. The name
// doesn't include the project ID.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The availability status of the failover replica. A false status indicates
// that the failover replica is out of sync. The primary instance can only
// failover to the failover replica when the status is true.
Available *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=available,proto3" json:"available,omitempty"`
// contains filtered or unexported fields
}
func (*DatabaseInstance_SqlFailoverReplica) Descriptor
deprecated
func (*DatabaseInstance_SqlFailoverReplica) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_SqlFailoverReplica.ProtoReflect.Descriptor instead.
func (*DatabaseInstance_SqlFailoverReplica) GetAvailable ¶
func (x *DatabaseInstance_SqlFailoverReplica) GetAvailable() *wrapperspb.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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. DatabaseInstance_ONLINE_MAINTENANCE DatabaseInstance_SqlInstanceState = 7 // (Applicable to read pool nodes only.) The read pool node needs to be // repaired. The database might be unavailable. DatabaseInstance_REPAIRING DatabaseInstance_SqlInstanceState = 8 )
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 `` /* 209-byte string literal not displayed */
// The minimum recommended increase size in GigaBytes
// This field is consumed by the frontend
// * Writers:
// - the proactive database wellness job for OOD.
//
// * Readers:
SqlMinRecommendedIncreaseSizeGb *int32 `` /* 169-byte string literal not displayed */
// contains filtered or unexported fields
}
This message wraps up the information written by out-of-disk detection job.
func (*DatabaseInstance_SqlOutOfDiskReport) Descriptor
deprecated
func (*DatabaseInstance_SqlOutOfDiskReport) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_SqlOutOfDiskReport.ProtoReflect.Descriptor instead.
func (*DatabaseInstance_SqlOutOfDiskReport) GetSqlMinRecommendedIncreaseSizeGb ¶
func (x *DatabaseInstance_SqlOutOfDiskReport) GetSqlMinRecommendedIncreaseSizeGb() int32
func (*DatabaseInstance_SqlOutOfDiskReport) GetSqlOutOfDiskState ¶
func (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 *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
CanDefer bool `protobuf:"varint,2,opt,name=can_defer,json=canDefer,proto3" json:"can_defer,omitempty"`
// If the scheduled maintenance can be rescheduled.
CanReschedule bool `protobuf:"varint,3,opt,name=can_reschedule,json=canReschedule,proto3" json:"can_reschedule,omitempty"`
// Maintenance cannot be rescheduled to start beyond this deadline.
ScheduleDeadlineTime *timestamppb.Timestamp `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
Any scheduled maintenance for this instance.
func (*DatabaseInstance_SqlScheduledMaintenance) Descriptor
deprecated
func (*DatabaseInstance_SqlScheduledMaintenance) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseInstance_SqlScheduledMaintenance.ProtoReflect.Descriptor instead.
func (*DatabaseInstance_SqlScheduledMaintenance) GetCanDefer
deprecated
func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanDefer() bool
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) GetCanReschedule() bool
func (*DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) GetScheduleDeadlineTime() *timestamppb.Timestamp
func (*DatabaseInstance_SqlScheduledMaintenance) GetStartTime ¶
func (x *DatabaseInstance_SqlScheduledMaintenance) GetStartTime() *timestamppb.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 DeleteBackupRequest ¶
type DeleteBackupRequest struct {
// Required. The name of the backup to delete.
// Format: projects/{project}/backups/{backup}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request payload to delete the backup.
func (*DeleteBackupRequest) Descriptor
deprecated
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName ¶
func (x *DeleteBackupRequest) GetName() string
func (*DeleteBackupRequest) ProtoMessage ¶
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶
func (x *DeleteBackupRequest) 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 *wrapperspb.BoolValue `` /* 126-byte string literal not displayed */
// The name of the instance which will act as on-premises primary instance
// in the replication setup.
MasterInstanceName string `protobuf:"bytes,3,opt,name=master_instance_name,json=masterInstanceName,proto3" json:"master_instance_name,omitempty"`
// Configuration specific to read-replicas replicating from the on-premises
// primary instance.
ReplicaConfiguration *DemoteMasterConfiguration `protobuf:"bytes,4,opt,name=replica_configuration,json=replicaConfiguration,proto3" json:"replica_configuration,omitempty"`
// Flag to skip replication setup on the instance.
SkipReplicationSetup bool `protobuf:"varint,5,opt,name=skip_replication_setup,json=skipReplicationSetup,proto3" json:"skip_replication_setup,omitempty"`
// contains filtered or unexported fields
}
Database instance demote primary instance context.
func (*DemoteMasterContext) Descriptor
deprecated
func (*DemoteMasterContext) Descriptor() ([]byte, []int)
Deprecated: Use DemoteMasterContext.ProtoReflect.Descriptor instead.
func (*DemoteMasterContext) GetKind ¶
func (x *DemoteMasterContext) GetKind() string
func (*DemoteMasterContext) GetMasterInstanceName ¶
func (x *DemoteMasterContext) GetMasterInstanceName() string
func (*DemoteMasterContext) GetReplicaConfiguration ¶
func (x *DemoteMasterContext) GetReplicaConfiguration() *DemoteMasterConfiguration
func (*DemoteMasterContext) GetSkipReplicationSetup ¶
func (x *DemoteMasterContext) GetSkipReplicationSetup() bool
func (*DemoteMasterContext) GetVerifyGtidConsistency ¶
func (x *DemoteMasterContext) GetVerifyGtidConsistency() *wrapperspb.BoolValue
func (*DemoteMasterContext) ProtoMessage ¶
func (*DemoteMasterContext) ProtoMessage()
func (*DemoteMasterContext) ProtoReflect ¶
func (x *DemoteMasterContext) ProtoReflect() protoreflect.Message
func (*DemoteMasterContext) Reset ¶
func (x *DemoteMasterContext) Reset()
func (*DemoteMasterContext) String ¶
func (x *DemoteMasterContext) String() string
type DemoteMasterMySqlReplicaConfiguration ¶
type DemoteMasterMySqlReplicaConfiguration struct {
// This is always `sql#demoteMasterMysqlReplicaConfiguration`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// The username for the replication connection.
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// The password for the replication connection.
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// PEM representation of the replica's private key. The corresponding 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 DnsNameMapping ¶
type DnsNameMapping struct {
// Output only. The DNS name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The connection type of the DNS name.
ConnectionType DnsNameMapping_ConnectionType `` /* 164-byte string literal not displayed */
// Output only. The scope that the DNS name applies to.
DnsScope DnsNameMapping_DnsScope `` /* 140-byte string literal not displayed */
// Output only. The manager for this DNS record.
RecordManager DnsNameMapping_RecordManager `` /* 160-byte string literal not displayed */
// contains filtered or unexported fields
}
DNS metadata.
func (*DnsNameMapping) Descriptor
deprecated
func (*DnsNameMapping) Descriptor() ([]byte, []int)
Deprecated: Use DnsNameMapping.ProtoReflect.Descriptor instead.
func (*DnsNameMapping) GetConnectionType ¶
func (x *DnsNameMapping) GetConnectionType() DnsNameMapping_ConnectionType
func (*DnsNameMapping) GetDnsScope ¶
func (x *DnsNameMapping) GetDnsScope() DnsNameMapping_DnsScope
func (*DnsNameMapping) GetName ¶
func (x *DnsNameMapping) GetName() string
func (*DnsNameMapping) GetRecordManager ¶
func (x *DnsNameMapping) GetRecordManager() DnsNameMapping_RecordManager
func (*DnsNameMapping) ProtoMessage ¶
func (*DnsNameMapping) ProtoMessage()
func (*DnsNameMapping) ProtoReflect ¶
func (x *DnsNameMapping) ProtoReflect() protoreflect.Message
func (*DnsNameMapping) Reset ¶
func (x *DnsNameMapping) Reset()
func (*DnsNameMapping) String ¶
func (x *DnsNameMapping) String() string
type DnsNameMapping_ConnectionType ¶
type DnsNameMapping_ConnectionType int32
The connection type of the DNS name.
const ( // Unknown connection type. DnsNameMapping_CONNECTION_TYPE_UNSPECIFIED DnsNameMapping_ConnectionType = 0 // Public IP. DnsNameMapping_PUBLIC DnsNameMapping_ConnectionType = 1 // Private services access (private IP). DnsNameMapping_PRIVATE_SERVICES_ACCESS DnsNameMapping_ConnectionType = 2 // Private Service Connect. DnsNameMapping_PRIVATE_SERVICE_CONNECT DnsNameMapping_ConnectionType = 3 )
func (DnsNameMapping_ConnectionType) Descriptor ¶
func (DnsNameMapping_ConnectionType) Descriptor() protoreflect.EnumDescriptor
func (DnsNameMapping_ConnectionType) Enum ¶
func (x DnsNameMapping_ConnectionType) Enum() *DnsNameMapping_ConnectionType
func (DnsNameMapping_ConnectionType) EnumDescriptor
deprecated
func (DnsNameMapping_ConnectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DnsNameMapping_ConnectionType.Descriptor instead.
func (DnsNameMapping_ConnectionType) Number ¶
func (x DnsNameMapping_ConnectionType) Number() protoreflect.EnumNumber
func (DnsNameMapping_ConnectionType) String ¶
func (x DnsNameMapping_ConnectionType) String() string
func (DnsNameMapping_ConnectionType) Type ¶
func (DnsNameMapping_ConnectionType) Type() protoreflect.EnumType
type DnsNameMapping_DnsScope ¶
type DnsNameMapping_DnsScope int32
The scope that the DNS name applies to.
const ( // DNS scope not set. This value should not be used. DnsNameMapping_DNS_SCOPE_UNSPECIFIED DnsNameMapping_DnsScope = 0 // Indicates an instance-level DNS name. DnsNameMapping_INSTANCE DnsNameMapping_DnsScope = 1 // Indicates a cluster-level DNS name. DnsNameMapping_CLUSTER DnsNameMapping_DnsScope = 2 )
func (DnsNameMapping_DnsScope) Descriptor ¶
func (DnsNameMapping_DnsScope) Descriptor() protoreflect.EnumDescriptor
func (DnsNameMapping_DnsScope) Enum ¶
func (x DnsNameMapping_DnsScope) Enum() *DnsNameMapping_DnsScope
func (DnsNameMapping_DnsScope) EnumDescriptor
deprecated
func (DnsNameMapping_DnsScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use DnsNameMapping_DnsScope.Descriptor instead.
func (DnsNameMapping_DnsScope) Number ¶
func (x DnsNameMapping_DnsScope) Number() protoreflect.EnumNumber
func (DnsNameMapping_DnsScope) String ¶
func (x DnsNameMapping_DnsScope) String() string
func (DnsNameMapping_DnsScope) Type ¶
func (DnsNameMapping_DnsScope) Type() protoreflect.EnumType
type DnsNameMapping_RecordManager ¶
type DnsNameMapping_RecordManager int32
The system responsible for managing the DNS record.
const ( // Record manager not set. This value should not be used. DnsNameMapping_RECORD_MANAGER_UNSPECIFIED DnsNameMapping_RecordManager = 0 // The record may be managed by the customer. It is not automatically // managed by Cloud SQL automation. DnsNameMapping_CUSTOMER DnsNameMapping_RecordManager = 1 // The record is managed by Cloud SQL, which will create, update, and delete // the DNS records for the zone automatically when the Cloud SQL database // instance is created or updated. DnsNameMapping_CLOUD_SQL_AUTOMATION DnsNameMapping_RecordManager = 2 )
func (DnsNameMapping_RecordManager) Descriptor ¶
func (DnsNameMapping_RecordManager) Descriptor() protoreflect.EnumDescriptor
func (DnsNameMapping_RecordManager) Enum ¶
func (x DnsNameMapping_RecordManager) Enum() *DnsNameMapping_RecordManager
func (DnsNameMapping_RecordManager) EnumDescriptor
deprecated
func (DnsNameMapping_RecordManager) EnumDescriptor() ([]byte, []int)
Deprecated: Use DnsNameMapping_RecordManager.Descriptor instead.
func (DnsNameMapping_RecordManager) Number ¶
func (x DnsNameMapping_RecordManager) Number() protoreflect.EnumNumber
func (DnsNameMapping_RecordManager) String ¶
func (x DnsNameMapping_RecordManager) String() string
func (DnsNameMapping_RecordManager) Type ¶
func (DnsNameMapping_RecordManager) Type() protoreflect.EnumType
type ExecuteSqlPayload ¶
type ExecuteSqlPayload struct {
// Optional. The name of an existing database user to connect to the database.
// When `auto_iam_authn` is set to true, this field is ignored and the API
// caller's IAM user is used.
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// Required. SQL statements to run on the database. It can be a single
// statement or a sequence of statements separated by semicolons.
SqlStatement string `protobuf:"bytes,2,opt,name=sql_statement,json=sqlStatement,proto3" json:"sql_statement,omitempty"`
// Optional. Name of the database on which the statement will be executed.
Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"`
// Credentials for the database connection.
//
// Types that are valid to be assigned to UserPassword:
//
// *ExecuteSqlPayload_PasswordSecretVersion
// *ExecuteSqlPayload_AutoIamAuthn
UserPassword isExecuteSqlPayload_UserPassword `protobuf_oneof:"user_password"`
// Optional. The maximum number of rows returned per SQL statement.
RowLimit int64 `protobuf:"varint,10,opt,name=row_limit,json=rowLimit,proto3" json:"row_limit,omitempty"`
// Optional. Controls how the API should respond when the SQL execution result
// is incomplete due to the size limit or another error. The default mode is
// to throw an error.
PartialResultMode ExecuteSqlPayload_PartialResultMode `` /* 182-byte string literal not displayed */
// Optional. Specifies the name of the application that is making the request.
// This field is used for telemetry. Only alphanumeric characters, dashes, and
// underscores are allowed. The maximum length is 32 characters.
Application string `protobuf:"bytes,16,opt,name=application,proto3" json:"application,omitempty"`
// contains filtered or unexported fields
}
The request payload used to execute SQL statements.
func (*ExecuteSqlPayload) Descriptor
deprecated
func (*ExecuteSqlPayload) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteSqlPayload.ProtoReflect.Descriptor instead.
func (*ExecuteSqlPayload) GetApplication ¶
func (x *ExecuteSqlPayload) GetApplication() string
func (*ExecuteSqlPayload) GetAutoIamAuthn ¶
func (x *ExecuteSqlPayload) GetAutoIamAuthn() bool
func (*ExecuteSqlPayload) GetDatabase ¶
func (x *ExecuteSqlPayload) GetDatabase() string
func (*ExecuteSqlPayload) GetPartialResultMode ¶
func (x *ExecuteSqlPayload) GetPartialResultMode() ExecuteSqlPayload_PartialResultMode
func (*ExecuteSqlPayload) GetPasswordSecretVersion ¶
func (x *ExecuteSqlPayload) GetPasswordSecretVersion() string
func (*ExecuteSqlPayload) GetRowLimit ¶
func (x *ExecuteSqlPayload) GetRowLimit() int64
func (*ExecuteSqlPayload) GetSqlStatement ¶
func (x *ExecuteSqlPayload) GetSqlStatement() string
func (*ExecuteSqlPayload) GetUser ¶
func (x *ExecuteSqlPayload) GetUser() string
func (*ExecuteSqlPayload) GetUserPassword ¶
func (x *ExecuteSqlPayload) GetUserPassword() isExecuteSqlPayload_UserPassword
func (*ExecuteSqlPayload) ProtoMessage ¶
func (*ExecuteSqlPayload) ProtoMessage()
func (*ExecuteSqlPayload) ProtoReflect ¶
func (x *ExecuteSqlPayload) ProtoReflect() protoreflect.Message
func (*ExecuteSqlPayload) Reset ¶
func (x *ExecuteSqlPayload) Reset()
func (*ExecuteSqlPayload) String ¶
func (x *ExecuteSqlPayload) String() string
type ExecuteSqlPayload_AutoIamAuthn ¶
type ExecuteSqlPayload_AutoIamAuthn struct {
// Optional. When set to true, the API caller identity associated with the
// request is used for database authentication. The API caller must be an
// IAM user in the database.
AutoIamAuthn bool `protobuf:"varint,11,opt,name=auto_iam_authn,json=autoIamAuthn,proto3,oneof"`
}
type ExecuteSqlPayload_PartialResultMode ¶
type ExecuteSqlPayload_PartialResultMode int32
Controls how the API should respond when the SQL execution result exceeds 10 MB.
const ( // Unspecified mode, effectively the same as `FAIL_PARTIAL_RESULT`. ExecuteSqlPayload_PARTIAL_RESULT_MODE_UNSPECIFIED ExecuteSqlPayload_PartialResultMode = 0 // Throw an error if the result exceeds 10 MB or if only a partial result // can be retrieved. Don't return the result. ExecuteSqlPayload_FAIL_PARTIAL_RESULT ExecuteSqlPayload_PartialResultMode = 1 // Return a truncated result and set `partial_result` to true if the result // exceeds 10 MB or if only a partial result can be retrieved due to error. // Don't throw an error. ExecuteSqlPayload_ALLOW_PARTIAL_RESULT ExecuteSqlPayload_PartialResultMode = 2 )
func (ExecuteSqlPayload_PartialResultMode) Descriptor ¶
func (ExecuteSqlPayload_PartialResultMode) Descriptor() protoreflect.EnumDescriptor
func (ExecuteSqlPayload_PartialResultMode) Enum ¶
func (x ExecuteSqlPayload_PartialResultMode) Enum() *ExecuteSqlPayload_PartialResultMode
func (ExecuteSqlPayload_PartialResultMode) EnumDescriptor
deprecated
func (ExecuteSqlPayload_PartialResultMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteSqlPayload_PartialResultMode.Descriptor instead.
func (ExecuteSqlPayload_PartialResultMode) Number ¶
func (x ExecuteSqlPayload_PartialResultMode) Number() protoreflect.EnumNumber
func (ExecuteSqlPayload_PartialResultMode) String ¶
func (x ExecuteSqlPayload_PartialResultMode) String() string
func (ExecuteSqlPayload_PartialResultMode) Type ¶
func (ExecuteSqlPayload_PartialResultMode) Type() protoreflect.EnumType
type ExecuteSqlPayload_PasswordSecretVersion ¶
type ExecuteSqlPayload_PasswordSecretVersion struct {
// Optional. The resource name of the Secret Manager secret holding the
// password for the user to log into the database. The secret should be
// created using the regional endpoint (for API) or from the Regional
// Secrets page (for UI), and stored in the same region as the Cloud SQL
// instance. The expected resource name format is
// `projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}`.
// This field is used together with the `user` field.
// The secret resource name will not be stored.
PasswordSecretVersion string `protobuf:"bytes,5,opt,name=password_secret_version,json=passwordSecretVersion,proto3,oneof"`
}
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:` If you don't specify a
// database by name, all user databases in the instance are
// exported. This excludes system databases and Cloud SQL databases used to
// manage internal operations. Exporting all user databases is only available
// for directory-formatted parallel export. If `fileType` is `CSV`,
// this database must match the one specified in the
// `csvExportOptions.selectQuery` property. <br /> `SQL Server
// instances:` You must specify one database to be exported, and the
// `fileType` must be `BAK`.
Databases []string `protobuf:"bytes,2,rep,name=databases,proto3" json:"databases,omitempty"`
// This is always `sql#exportContext`.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// Options for exporting data as SQL statements.
SqlExportOptions *ExportContext_SqlExportOptions `protobuf:"bytes,4,opt,name=sql_export_options,json=sqlExportOptions,proto3" json:"sql_export_options,omitempty"`
// Options for exporting data as CSV. `MySQL` and `PostgreSQL`
// instances only.
CsvExportOptions *ExportContext_SqlCsvExportOptions `protobuf:"bytes,5,opt,name=csv_export_options,json=csvExportOptions,proto3" json:"csv_export_options,omitempty"`
// The file type for the specified uri.
FileType SqlFileType `` /* 128-byte string literal not displayed */
// Whether to perform a serverless export.
Offload *wrapperspb.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"`
// Optional. Export parameters specific to SQL Server TDE certificates
TdeExportOptions *ExportContext_SqlTdeExportOptions `protobuf:"bytes,10,opt,name=tde_export_options,json=tdeExportOptions,proto3" json:"tde_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() *wrapperspb.BoolValue
func (*ExportContext) GetSqlExportOptions ¶
func (x *ExportContext) GetSqlExportOptions() *ExportContext_SqlExportOptions
func (*ExportContext) GetTdeExportOptions ¶
func (x *ExportContext) GetTdeExportOptions() *ExportContext_SqlTdeExportOptions
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 *wrapperspb.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 *wrapperspb.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=google.cloud.sql.v1beta4.BakType" json:"bak_type,omitempty"`
// Deprecated: copy_only is deprecated. Use differential_base instead
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
CopyOnly *wrapperspb.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 *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=differential_base,json=differentialBase,proto3" json:"differential_base,omitempty"`
// Optional. The begin timestamp when transaction log will be included in
// the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339)
// format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all
// available logs from the beginning of retention period will be included.
// Only applied to Cloud SQL for SQL Server.
ExportLogStartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=export_log_start_time,json=exportLogStartTime,proto3" json:"export_log_start_time,omitempty"`
// Optional. The end timestamp when transaction log will be included in the
// export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format
// (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all
// available logs until current time will be included. Only applied to Cloud
// SQL for SQL Server.
ExportLogEndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=export_log_end_time,json=exportLogEndTime,proto3" json:"export_log_end_time,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() *wrapperspb.BoolValue
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*ExportContext_SqlBakExportOptions) GetDifferentialBase ¶
func (x *ExportContext_SqlBakExportOptions) GetDifferentialBase() *wrapperspb.BoolValue
func (*ExportContext_SqlBakExportOptions) GetExportLogEndTime ¶
func (x *ExportContext_SqlBakExportOptions) GetExportLogEndTime() *timestamppb.Timestamp
func (*ExportContext_SqlBakExportOptions) GetExportLogStartTime ¶
func (x *ExportContext_SqlBakExportOptions) GetExportLogStartTime() *timestamppb.Timestamp
func (*ExportContext_SqlBakExportOptions) GetStripeCount ¶
func (x *ExportContext_SqlBakExportOptions) GetStripeCount() *wrapperspb.Int32Value
func (*ExportContext_SqlBakExportOptions) GetStriped ¶
func (x *ExportContext_SqlBakExportOptions) GetStriped() *wrapperspb.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 *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=schema_only,json=schemaOnly,proto3" json:"schema_only,omitempty"`
MysqlExportOptions *ExportContext_SqlExportOptions_MysqlExportOptions `protobuf:"bytes,3,opt,name=mysql_export_options,json=mysqlExportOptions,proto3" json:"mysql_export_options,omitempty"`
// Optional. The number of threads to use for parallel export.
Threads *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=threads,proto3" json:"threads,omitempty"`
// Optional. Whether or not the export should be parallel.
Parallel *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=parallel,proto3" json:"parallel,omitempty"`
// Optional. Options for exporting from a Cloud SQL for PostgreSQL instance.
PostgresExportOptions *ExportContext_SqlExportOptions_PostgresExportOptions `` /* 126-byte string literal not displayed */
// 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() *wrapperspb.BoolValue
func (*ExportContext_SqlExportOptions) GetPostgresExportOptions ¶
func (x *ExportContext_SqlExportOptions) GetPostgresExportOptions() *ExportContext_SqlExportOptions_PostgresExportOptions
func (*ExportContext_SqlExportOptions) GetSchemaOnly ¶
func (x *ExportContext_SqlExportOptions) GetSchemaOnly() *wrapperspb.BoolValue
func (*ExportContext_SqlExportOptions) GetTables ¶
func (x *ExportContext_SqlExportOptions) GetTables() []string
func (*ExportContext_SqlExportOptions) GetThreads ¶
func (x *ExportContext_SqlExportOptions) GetThreads() *wrapperspb.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 *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=master_data,json=masterData,proto3" json:"master_data,omitempty"`
// contains filtered or unexported fields
}
Options for exporting from MySQL.
func (*ExportContext_SqlExportOptions_MysqlExportOptions) Descriptor
deprecated
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() *wrapperspb.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 ExportContext_SqlExportOptions_PostgresExportOptions ¶
type ExportContext_SqlExportOptions_PostgresExportOptions struct {
// Optional. Use this option to include DROP <code><object></code>
// SQL statements. Use these statements to delete database objects before
// running the import operation.
Clean *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=clean,proto3" json:"clean,omitempty"`
// Optional. Option to include an IF EXISTS SQL statement with each DROP
// statement produced by clean.
IfExists *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"`
// contains filtered or unexported fields
}
Options for exporting from a Cloud SQL for PostgreSQL instance.
func (*ExportContext_SqlExportOptions_PostgresExportOptions) Descriptor
deprecated
func (*ExportContext_SqlExportOptions_PostgresExportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExportContext_SqlExportOptions_PostgresExportOptions.ProtoReflect.Descriptor instead.
func (*ExportContext_SqlExportOptions_PostgresExportOptions) GetClean ¶
func (x *ExportContext_SqlExportOptions_PostgresExportOptions) GetClean() *wrapperspb.BoolValue
func (*ExportContext_SqlExportOptions_PostgresExportOptions) GetIfExists ¶
func (x *ExportContext_SqlExportOptions_PostgresExportOptions) GetIfExists() *wrapperspb.BoolValue
func (*ExportContext_SqlExportOptions_PostgresExportOptions) ProtoMessage ¶
func (*ExportContext_SqlExportOptions_PostgresExportOptions) ProtoMessage()
func (*ExportContext_SqlExportOptions_PostgresExportOptions) ProtoReflect ¶
func (x *ExportContext_SqlExportOptions_PostgresExportOptions) ProtoReflect() protoreflect.Message
func (*ExportContext_SqlExportOptions_PostgresExportOptions) Reset ¶
func (x *ExportContext_SqlExportOptions_PostgresExportOptions) Reset()
func (*ExportContext_SqlExportOptions_PostgresExportOptions) String ¶
func (x *ExportContext_SqlExportOptions_PostgresExportOptions) String() string
type ExportContext_SqlTdeExportOptions ¶
type ExportContext_SqlTdeExportOptions struct {
// Required. Path to the TDE certificate public key
// in the form gs://bucketName/fileName.
// The instance must have write access to the location.
// Applicable only for SQL Server instances.
CertificatePath string `protobuf:"bytes,1,opt,name=certificate_path,json=certificatePath,proto3" json:"certificate_path,omitempty"`
// Required. Path to the TDE certificate private key
// in the form gs://bucketName/fileName.
// The instance must have write access to the location.
// Applicable only for SQL Server instances.
PrivateKeyPath string `protobuf:"bytes,2,opt,name=private_key_path,json=privateKeyPath,proto3" json:"private_key_path,omitempty"`
// Required. Password that encrypts the private key.
PrivateKeyPassword string `protobuf:"bytes,3,opt,name=private_key_password,json=privateKeyPassword,proto3" json:"private_key_password,omitempty"`
// Required. Certificate name.
// Applicable only for SQL Server instances.
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ExportContext_SqlTdeExportOptions) Descriptor
deprecated
func (*ExportContext_SqlTdeExportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExportContext_SqlTdeExportOptions.ProtoReflect.Descriptor instead.
func (*ExportContext_SqlTdeExportOptions) GetCertificatePath ¶
func (x *ExportContext_SqlTdeExportOptions) GetCertificatePath() string
func (*ExportContext_SqlTdeExportOptions) GetName ¶
func (x *ExportContext_SqlTdeExportOptions) GetName() string
func (*ExportContext_SqlTdeExportOptions) GetPrivateKeyPassword ¶
func (x *ExportContext_SqlTdeExportOptions) GetPrivateKeyPassword() string
func (*ExportContext_SqlTdeExportOptions) GetPrivateKeyPath ¶
func (x *ExportContext_SqlTdeExportOptions) GetPrivateKeyPath() string
func (*ExportContext_SqlTdeExportOptions) ProtoMessage ¶
func (*ExportContext_SqlTdeExportOptions) ProtoMessage()
func (*ExportContext_SqlTdeExportOptions) ProtoReflect ¶
func (x *ExportContext_SqlTdeExportOptions) ProtoReflect() protoreflect.Message
func (*ExportContext_SqlTdeExportOptions) Reset ¶
func (x *ExportContext_SqlTdeExportOptions) Reset()
func (*ExportContext_SqlTdeExportOptions) String ¶
func (x *ExportContext_SqlTdeExportOptions) 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 ExternalSyncSelectedObject ¶
type ExternalSyncSelectedObject struct {
// The name of the database that Cloud SQL migrates.
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
// contains filtered or unexported fields
}
The selected object that Cloud SQL migrates.
func (*ExternalSyncSelectedObject) Descriptor
deprecated
func (*ExternalSyncSelectedObject) Descriptor() ([]byte, []int)
Deprecated: Use ExternalSyncSelectedObject.ProtoReflect.Descriptor instead.
func (*ExternalSyncSelectedObject) GetDatabase ¶
func (x *ExternalSyncSelectedObject) GetDatabase() string
func (*ExternalSyncSelectedObject) ProtoMessage ¶
func (*ExternalSyncSelectedObject) ProtoMessage()
func (*ExternalSyncSelectedObject) ProtoReflect ¶
func (x *ExternalSyncSelectedObject) ProtoReflect() protoreflect.Message
func (*ExternalSyncSelectedObject) Reset ¶
func (x *ExternalSyncSelectedObject) Reset()
func (*ExternalSyncSelectedObject) String ¶
func (x *ExternalSyncSelectedObject) String() string
type FailoverContext ¶
type FailoverContext struct {
// The current settings version of this instance. Request will be rejected if
// this version doesn't match the current settings version.
SettingsVersion int64 `protobuf:"varint,1,opt,name=settings_version,json=settingsVersion,proto3" json:"settings_version,omitempty"`
// This is always `sql#failoverContext`.
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
Database instance failover context.
func (*FailoverContext) Descriptor
deprecated
func (*FailoverContext) Descriptor() ([]byte, []int)
Deprecated: Use FailoverContext.ProtoReflect.Descriptor instead.
func (*FailoverContext) GetKind ¶
func (x *FailoverContext) GetKind() string
func (*FailoverContext) GetSettingsVersion ¶
func (x *FailoverContext) GetSettingsVersion() int64
func (*FailoverContext) ProtoMessage ¶
func (*FailoverContext) ProtoMessage()
func (*FailoverContext) ProtoReflect ¶
func (x *FailoverContext) ProtoReflect() protoreflect.Message
func (*FailoverContext) Reset ¶
func (x *FailoverContext) Reset()
func (*FailoverContext) String ¶
func (x *FailoverContext) String() string
type FinalBackupConfig ¶
type FinalBackupConfig struct {
// Whether the final backup is enabled for the instance.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// The number of days to retain the final backup after the instance deletion.
// The final backup will be purged at (time_of_instance_deletion +
// retention_days).
RetentionDays *int32 `protobuf:"varint,3,opt,name=retention_days,json=retentionDays,proto3,oneof" json:"retention_days,omitempty"`
// contains filtered or unexported fields
}
Config used to determine the final backup settings for the instance.
func (*FinalBackupConfig) Descriptor
deprecated
func (*FinalBackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use FinalBackupConfig.ProtoReflect.Descriptor instead.
func (*FinalBackupConfig) GetEnabled ¶
func (x *FinalBackupConfig) GetEnabled() bool
func (*FinalBackupConfig) GetRetentionDays ¶
func (x *FinalBackupConfig) GetRetentionDays() int32
func (*FinalBackupConfig) ProtoMessage ¶
func (*FinalBackupConfig) ProtoMessage()
func (*FinalBackupConfig) ProtoReflect ¶
func (x *FinalBackupConfig) ProtoReflect() protoreflect.Message
func (*FinalBackupConfig) Reset ¶
func (x *FinalBackupConfig) Reset()
func (*FinalBackupConfig) String ¶
func (x *FinalBackupConfig) String() string
type Flag ¶
type Flag struct {
// This is the name of the flag. Flag names always use underscores, not
// hyphens, for example: `max_allowed_packet`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
// `INTEGER` or `NONE`. `NONE` is used for flags which do not take a
// value, such as `skip_grant_tables`.
Type SqlFlagType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.SqlFlagType" json:"type,omitempty"`
// The database version this flag applies to. Can be
// MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`,
// or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
// `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
// `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
// `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
// `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
// `SQLSERVER_2019_WEB`.
// See [the complete
// list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
AppliesTo []SqlDatabaseVersion `` /* 145-byte string literal not displayed */
// For `STRING` flags, a list of strings that the value can be set to.
AllowedStringValues []string `protobuf:"bytes,4,rep,name=allowed_string_values,json=allowedStringValues,proto3" json:"allowed_string_values,omitempty"`
// For `INTEGER` flags, the minimum allowed value.
MinValue *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
// For `INTEGER` flags, the maximum allowed value.
MaxValue *wrapperspb.Int64Value `protobuf:"bytes,6,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
// Indicates whether changing this flag will trigger a database restart. Only
// applicable to Second Generation instances.
RequiresRestart *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=requires_restart,json=requiresRestart,proto3" json:"requires_restart,omitempty"`
// This is always `sql#flag`.
Kind string `protobuf:"bytes,8,opt,name=kind,proto3" json:"kind,omitempty"`
// Whether or not the flag is considered in beta.
InBeta *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=in_beta,json=inBeta,proto3" json:"in_beta,omitempty"`
// Use this field if only certain integers are accepted. Can be combined
// with min_value and max_value to add additional values.
AllowedIntValues []int64 `protobuf:"varint,10,rep,packed,name=allowed_int_values,json=allowedIntValues,proto3" json:"allowed_int_values,omitempty"`
// Scope of flag.
FlagScope SqlFlagScope `` /* 133-byte string literal not displayed */
// Recommended flag value for UI display.
//
// Types that are valid to be assigned to RecommendedValue:
//
// *Flag_RecommendedStringValue
// *Flag_RecommendedIntValue
RecommendedValue isFlag_RecommendedValue `protobuf_oneof:"recommended_value"`
// 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) GetFlagScope ¶
func (x *Flag) GetFlagScope() SqlFlagScope
func (*Flag) GetInBeta ¶
func (x *Flag) GetInBeta() *wrapperspb.BoolValue
func (*Flag) GetMaxValue ¶
func (x *Flag) GetMaxValue() *wrapperspb.Int64Value
func (*Flag) GetMinValue ¶
func (x *Flag) GetMinValue() *wrapperspb.Int64Value
func (*Flag) GetRecommendedIntValue ¶
func (x *Flag) GetRecommendedIntValue() *wrapperspb.Int64Value
func (*Flag) GetRecommendedStringValue ¶
func (*Flag) GetRecommendedValue ¶
func (x *Flag) GetRecommendedValue() isFlag_RecommendedValue
func (*Flag) GetRequiresRestart ¶
func (x *Flag) GetRequiresRestart() *wrapperspb.BoolValue
func (*Flag) GetType ¶
func (x *Flag) GetType() SqlFlagType
func (*Flag) ProtoMessage ¶
func (*Flag) ProtoMessage()
func (*Flag) ProtoReflect ¶
func (x *Flag) ProtoReflect() protoreflect.Message
type Flag_RecommendedIntValue ¶
type Flag_RecommendedIntValue struct {
// Recommended flag value in integer format for UI display.
RecommendedIntValue *wrapperspb.Int64Value `protobuf:"bytes,17,opt,name=recommended_int_value,json=recommendedIntValue,proto3,oneof"`
}
type Flag_RecommendedStringValue ¶
type Flag_RecommendedStringValue struct {
// Recommended flag value in string format for UI display.
RecommendedStringValue string `protobuf:"bytes,16,opt,name=recommended_string_value,json=recommendedStringValue,proto3,oneof"`
}
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,proto3" json:"public_key,omitempty"`
// Optional. Access token to include in the signed certificate.
AccessToken string `protobuf:"bytes,4,opt,name=access_token,proto3" json:"access_token,omitempty"`
// Optional. Optional snapshot read timestamp to trade freshness for
// performance.
ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
// Optional. If set, it will contain the cert valid duration.
ValidDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=valid_duration,json=validDuration,proto3" json:"valid_duration,omitempty"`
// contains filtered or unexported fields
}
Ephemeral certificate creation request.
func (*GenerateEphemeralCertRequest) Descriptor
deprecated
func (*GenerateEphemeralCertRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateEphemeralCertRequest.ProtoReflect.Descriptor instead.
func (*GenerateEphemeralCertRequest) GetAccessToken ¶
func (x *GenerateEphemeralCertRequest) GetAccessToken() string
func (*GenerateEphemeralCertRequest) GetInstance ¶
func (x *GenerateEphemeralCertRequest) GetInstance() string
func (*GenerateEphemeralCertRequest) GetProject ¶
func (x *GenerateEphemeralCertRequest) GetProject() string
func (*GenerateEphemeralCertRequest) GetPublicKey ¶
func (x *GenerateEphemeralCertRequest) GetPublicKey() string
func (*GenerateEphemeralCertRequest) GetReadTime ¶
func (x *GenerateEphemeralCertRequest) GetReadTime() *timestamppb.Timestamp
func (*GenerateEphemeralCertRequest) GetValidDuration ¶
func (x *GenerateEphemeralCertRequest) GetValidDuration() *durationpb.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 GetBackupRequest ¶
type GetBackupRequest struct {
// Required. The name of the backup to retrieve.
// Format: projects/{project}/backups/{backup}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request payload to get the backup.
func (*GetBackupRequest) Descriptor
deprecated
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName ¶
func (x *GetBackupRequest) GetName() string
func (*GetBackupRequest) ProtoMessage ¶
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect ¶
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset ¶
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶
func (x *GetBackupRequest) 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 *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
// contains filtered or unexported fields
}
Connect settings retrieval request.
func (*GetConnectSettingsRequest) Descriptor
deprecated
func (*GetConnectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetConnectSettingsRequest) GetInstance ¶
func (x *GetConnectSettingsRequest) GetInstance() string
func (*GetConnectSettingsRequest) GetProject ¶
func (x *GetConnectSettingsRequest) GetProject() string
func (*GetConnectSettingsRequest) GetReadTime ¶
func (x *GetConnectSettingsRequest) GetReadTime() *timestamppb.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. For entire
// instance parallel import operations, the database is overridden by the
// database name stored in subdirectory name. If
// `fileType` is `CSV`, one database must be specified.
Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
// This is always `sql#importContext`.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// The file type for the specified uri.
// * `SQL`: The file contains SQL statements.
// * `CSV`: The file contains CSV data.
// * `BAK`: The file contains backup data for a SQL Server instance.
FileType SqlFileType `` /* 128-byte string literal not displayed */
// Options for importing data as CSV.
CsvImportOptions *ImportContext_SqlCsvImportOptions `protobuf:"bytes,5,opt,name=csv_import_options,json=csvImportOptions,proto3" json:"csv_import_options,omitempty"`
// The PostgreSQL user for this import operation. PostgreSQL instances only.
ImportUser string `protobuf:"bytes,6,opt,name=import_user,json=importUser,proto3" json:"import_user,omitempty"`
// Import parameters specific to SQL Server .BAK files
BakImportOptions *ImportContext_SqlBakImportOptions `protobuf:"bytes,7,opt,name=bak_import_options,json=bakImportOptions,proto3" json:"bak_import_options,omitempty"`
// 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"`
// Optional. Import parameters specific to SQL Server .TDE files
// Import parameters specific to SQL Server TDE certificates
TdeImportOptions *ImportContext_SqlTdeImportOptions `protobuf:"bytes,9,opt,name=tde_import_options,json=tdeImportOptions,proto3" json:"tde_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) GetTdeImportOptions ¶
func (x *ImportContext) GetTdeImportOptions() *ImportContext_SqlTdeImportOptions
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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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=google.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 *timestamppb.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() *wrapperspb.BoolValue
func (*ImportContext_SqlBakImportOptions) GetRecoveryOnly ¶
func (x *ImportContext_SqlBakImportOptions) GetRecoveryOnly() *wrapperspb.BoolValue
func (*ImportContext_SqlBakImportOptions) GetStopAt ¶
func (x *ImportContext_SqlBakImportOptions) GetStopAt() *timestamppb.Timestamp
func (*ImportContext_SqlBakImportOptions) GetStopAtMark ¶
func (x *ImportContext_SqlBakImportOptions) GetStopAtMark() string
func (*ImportContext_SqlBakImportOptions) GetStriped ¶
func (x *ImportContext_SqlBakImportOptions) GetStriped() *wrapperspb.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"`
// Optional. Whether the imported file remains encrypted.
KeepEncrypted *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=keep_encrypted,json=keepEncrypted,proto3" json:"keep_encrypted,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) GetKeepEncrypted ¶
func (x *ImportContext_SqlBakImportOptions_EncryptionOptions) GetKeepEncrypted() *wrapperspb.BoolValue
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 *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=threads,proto3" json:"threads,omitempty"`
// Optional. Whether or not the import should be parallel.
Parallel *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=parallel,proto3" json:"parallel,omitempty"`
// Optional. Options for importing from a Cloud SQL for PostgreSQL instance.
PostgresImportOptions *ImportContext_SqlImportOptions_PostgresImportOptions `` /* 126-byte string literal not displayed */
// 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() *wrapperspb.BoolValue
func (*ImportContext_SqlImportOptions) GetPostgresImportOptions ¶
func (x *ImportContext_SqlImportOptions) GetPostgresImportOptions() *ImportContext_SqlImportOptions_PostgresImportOptions
func (*ImportContext_SqlImportOptions) GetThreads ¶
func (x *ImportContext_SqlImportOptions) GetThreads() *wrapperspb.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 ImportContext_SqlImportOptions_PostgresImportOptions ¶
type ImportContext_SqlImportOptions_PostgresImportOptions struct {
// Optional. The --clean flag for the pg_restore utility. This flag
// applies only if you enabled Cloud SQL to import files in parallel.
Clean *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=clean,proto3" json:"clean,omitempty"`
// Optional. The --if-exists flag for the pg_restore utility. This flag
// applies only if you enabled Cloud SQL to import files in parallel.
IfExists *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"`
// contains filtered or unexported fields
}
func (*ImportContext_SqlImportOptions_PostgresImportOptions) Descriptor
deprecated
func (*ImportContext_SqlImportOptions_PostgresImportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImportContext_SqlImportOptions_PostgresImportOptions.ProtoReflect.Descriptor instead.
func (*ImportContext_SqlImportOptions_PostgresImportOptions) GetClean ¶
func (x *ImportContext_SqlImportOptions_PostgresImportOptions) GetClean() *wrapperspb.BoolValue
func (*ImportContext_SqlImportOptions_PostgresImportOptions) GetIfExists ¶
func (x *ImportContext_SqlImportOptions_PostgresImportOptions) GetIfExists() *wrapperspb.BoolValue
func (*ImportContext_SqlImportOptions_PostgresImportOptions) ProtoMessage ¶
func (*ImportContext_SqlImportOptions_PostgresImportOptions) ProtoMessage()
func (*ImportContext_SqlImportOptions_PostgresImportOptions) ProtoReflect ¶
func (x *ImportContext_SqlImportOptions_PostgresImportOptions) ProtoReflect() protoreflect.Message
func (*ImportContext_SqlImportOptions_PostgresImportOptions) Reset ¶
func (x *ImportContext_SqlImportOptions_PostgresImportOptions) Reset()
func (*ImportContext_SqlImportOptions_PostgresImportOptions) String ¶
func (x *ImportContext_SqlImportOptions_PostgresImportOptions) String() string
type ImportContext_SqlTdeImportOptions ¶
type ImportContext_SqlTdeImportOptions struct {
// Required. Path to the TDE certificate public key
// in the form gs://bucketName/fileName.
// The instance must have read access to the file.
// Applicable only for SQL Server instances.
CertificatePath string `protobuf:"bytes,1,opt,name=certificate_path,json=certificatePath,proto3" json:"certificate_path,omitempty"`
// Required. Path to the TDE certificate private key
// in the form gs://bucketName/fileName.
// The instance must have read access to the file.
// Applicable only for SQL Server instances.
PrivateKeyPath string `protobuf:"bytes,2,opt,name=private_key_path,json=privateKeyPath,proto3" json:"private_key_path,omitempty"`
// Required. Password that encrypts the private key.
PrivateKeyPassword string `protobuf:"bytes,3,opt,name=private_key_password,json=privateKeyPassword,proto3" json:"private_key_password,omitempty"`
// Required. Certificate name.
// Applicable only for SQL Server instances.
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ImportContext_SqlTdeImportOptions) Descriptor
deprecated
func (*ImportContext_SqlTdeImportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImportContext_SqlTdeImportOptions.ProtoReflect.Descriptor instead.
func (*ImportContext_SqlTdeImportOptions) GetCertificatePath ¶
func (x *ImportContext_SqlTdeImportOptions) GetCertificatePath() string
func (*ImportContext_SqlTdeImportOptions) GetName ¶
func (x *ImportContext_SqlTdeImportOptions) GetName() string
func (*ImportContext_SqlTdeImportOptions) GetPrivateKeyPassword ¶
func (x *ImportContext_SqlTdeImportOptions) GetPrivateKeyPassword() string
func (*ImportContext_SqlTdeImportOptions) GetPrivateKeyPath ¶
func (x *ImportContext_SqlTdeImportOptions) GetPrivateKeyPath() string
func (*ImportContext_SqlTdeImportOptions) ProtoMessage ¶
func (*ImportContext_SqlTdeImportOptions) ProtoMessage()
func (*ImportContext_SqlTdeImportOptions) ProtoReflect ¶
func (x *ImportContext_SqlTdeImportOptions) ProtoReflect() protoreflect.Message
func (*ImportContext_SqlTdeImportOptions) Reset ¶
func (x *ImportContext_SqlTdeImportOptions) Reset()
func (*ImportContext_SqlTdeImportOptions) String ¶
func (x *ImportContext_SqlTdeImportOptions) 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 lengths greater than this field value will be
// truncated to this value. When unset, query length will be the default
// value. Changing query length will restart the database.
QueryStringLength *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=query_string_length,json=queryStringLength,proto3" json:"query_string_length,omitempty"`
// Number of query execution plans captured by Insights per minute
// for all queries combined. Default is 5.
QueryPlansPerMinute *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=query_plans_per_minute,json=queryPlansPerMinute,proto3" json:"query_plans_per_minute,omitempty"`
// Optional. Whether enhanced query insights feature is enabled.
EnhancedQueryInsightsEnabled *wrapperspb.BoolValue `` /* 149-byte string literal not displayed */
// 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) GetEnhancedQueryInsightsEnabled ¶
func (x *InsightsConfig) GetEnhancedQueryInsightsEnabled() *wrapperspb.BoolValue
func (*InsightsConfig) GetQueryInsightsEnabled ¶
func (x *InsightsConfig) GetQueryInsightsEnabled() bool
func (*InsightsConfig) GetQueryPlansPerMinute ¶
func (x *InsightsConfig) GetQueryPlansPerMinute() *wrapperspb.Int32Value
func (*InsightsConfig) GetQueryStringLength ¶
func (x *InsightsConfig) GetQueryStringLength() *wrapperspb.Int32Value
func (*InsightsConfig) GetRecordApplicationTags ¶
func (x *InsightsConfig) GetRecordApplicationTags() bool
func (*InsightsConfig) GetRecordClientAddress ¶
func (x *InsightsConfig) GetRecordClientAddress() bool
func (*InsightsConfig) ProtoMessage ¶
func (*InsightsConfig) ProtoMessage()
func (*InsightsConfig) ProtoReflect ¶
func (x *InsightsConfig) ProtoReflect() protoreflect.Message
func (*InsightsConfig) Reset ¶
func (x *InsightsConfig) Reset()
func (*InsightsConfig) String ¶
func (x *InsightsConfig) String() string
type InstanceReference ¶
type InstanceReference struct {
// The name of the Cloud SQL instance being referenced.
// This does not include the project ID.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The region of the Cloud SQL instance being referenced.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// The project ID of the Cloud SQL instance being referenced.
// The default is the same project ID as the instance references it.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
Reference to another Cloud SQL instance.
func (*InstanceReference) Descriptor
deprecated
func (*InstanceReference) Descriptor() ([]byte, []int)
Deprecated: Use InstanceReference.ProtoReflect.Descriptor instead.
func (*InstanceReference) GetName ¶
func (x *InstanceReference) GetName() string
func (*InstanceReference) GetProject ¶
func (x *InstanceReference) GetProject() string
func (*InstanceReference) GetRegion ¶
func (x *InstanceReference) GetRegion() string
func (*InstanceReference) ProtoMessage ¶
func (*InstanceReference) ProtoMessage()
func (*InstanceReference) ProtoReflect ¶
func (x *InstanceReference) ProtoReflect() protoreflect.Message
func (*InstanceReference) Reset ¶
func (x *InstanceReference) Reset()
func (*InstanceReference) String ¶
func (x *InstanceReference) String() string
type 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 InstancesListEntraIdCertificatesResponse ¶
type InstancesListEntraIdCertificatesResponse struct {
// List of Entra ID certificates for the instance.
Certs []*SslCert `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
// The `sha1_fingerprint` of the active certificate from `certs`.
ActiveVersion string `protobuf:"bytes,2,opt,name=active_version,json=activeVersion,proto3" json:"active_version,omitempty"`
// This is always `sql#instancesListEntraIdCertificates`.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
Instances ListEntraIdCertificates response.
func (*InstancesListEntraIdCertificatesResponse) Descriptor
deprecated
func (*InstancesListEntraIdCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstancesListEntraIdCertificatesResponse.ProtoReflect.Descriptor instead.
func (*InstancesListEntraIdCertificatesResponse) GetActiveVersion ¶
func (x *InstancesListEntraIdCertificatesResponse) GetActiveVersion() string
func (*InstancesListEntraIdCertificatesResponse) GetCerts ¶
func (x *InstancesListEntraIdCertificatesResponse) GetCerts() []*SslCert
func (*InstancesListEntraIdCertificatesResponse) GetKind ¶
func (x *InstancesListEntraIdCertificatesResponse) GetKind() string
func (*InstancesListEntraIdCertificatesResponse) ProtoMessage ¶
func (*InstancesListEntraIdCertificatesResponse) ProtoMessage()
func (*InstancesListEntraIdCertificatesResponse) ProtoReflect ¶
func (x *InstancesListEntraIdCertificatesResponse) ProtoReflect() protoreflect.Message
func (*InstancesListEntraIdCertificatesResponse) Reset ¶
func (x *InstancesListEntraIdCertificatesResponse) Reset()
func (*InstancesListEntraIdCertificatesResponse) String ¶
func (x *InstancesListEntraIdCertificatesResponse) 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 InstancesListServerCertificatesResponse ¶
type InstancesListServerCertificatesResponse struct {
// List of server CA certificates for the instance.
CaCerts []*SslCert `protobuf:"bytes,1,rep,name=ca_certs,json=caCerts,proto3" json:"ca_certs,omitempty"`
// List of server certificates for the instance, signed by the corresponding
// CA from the `ca_certs` list.
ServerCerts []*SslCert `protobuf:"bytes,2,rep,name=server_certs,json=serverCerts,proto3" json:"server_certs,omitempty"`
// The `sha1_fingerprint` of the active certificate from `server_certs`.
ActiveVersion string `protobuf:"bytes,3,opt,name=active_version,json=activeVersion,proto3" json:"active_version,omitempty"`
// This is always `sql#instancesListServerCertificates`.
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
Instances ListServerCertificatess response.
func (*InstancesListServerCertificatesResponse) Descriptor
deprecated
func (*InstancesListServerCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstancesListServerCertificatesResponse.ProtoReflect.Descriptor instead.
func (*InstancesListServerCertificatesResponse) GetActiveVersion ¶
func (x *InstancesListServerCertificatesResponse) GetActiveVersion() string
func (*InstancesListServerCertificatesResponse) GetCaCerts ¶
func (x *InstancesListServerCertificatesResponse) GetCaCerts() []*SslCert
func (*InstancesListServerCertificatesResponse) GetKind ¶
func (x *InstancesListServerCertificatesResponse) GetKind() string
func (*InstancesListServerCertificatesResponse) GetServerCerts ¶
func (x *InstancesListServerCertificatesResponse) GetServerCerts() []*SslCert
func (*InstancesListServerCertificatesResponse) ProtoMessage ¶
func (*InstancesListServerCertificatesResponse) ProtoMessage()
func (*InstancesListServerCertificatesResponse) ProtoReflect ¶
func (x *InstancesListServerCertificatesResponse) ProtoReflect() protoreflect.Message
func (*InstancesListServerCertificatesResponse) Reset ¶
func (x *InstancesListServerCertificatesResponse) Reset()
func (*InstancesListServerCertificatesResponse) String ¶
func (x *InstancesListServerCertificatesResponse) String() string
type InstancesPreCheckMajorVersionUpgradeRequest ¶
type InstancesPreCheckMajorVersionUpgradeRequest struct {
// Required. Contains details about the pre-check major version upgrade
// operation.
PreCheckMajorVersionUpgradeContext *PreCheckMajorVersionUpgradeContext `` /* 171-byte string literal not displayed */
// contains filtered or unexported fields
}
Request for Pre-checks for MVU
func (*InstancesPreCheckMajorVersionUpgradeRequest) Descriptor
deprecated
func (*InstancesPreCheckMajorVersionUpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesPreCheckMajorVersionUpgradeRequest.ProtoReflect.Descriptor instead.
func (*InstancesPreCheckMajorVersionUpgradeRequest) GetPreCheckMajorVersionUpgradeContext ¶
func (x *InstancesPreCheckMajorVersionUpgradeRequest) GetPreCheckMajorVersionUpgradeContext() *PreCheckMajorVersionUpgradeContext
func (*InstancesPreCheckMajorVersionUpgradeRequest) ProtoMessage ¶
func (*InstancesPreCheckMajorVersionUpgradeRequest) ProtoMessage()
func (*InstancesPreCheckMajorVersionUpgradeRequest) ProtoReflect ¶
func (x *InstancesPreCheckMajorVersionUpgradeRequest) ProtoReflect() protoreflect.Message
func (*InstancesPreCheckMajorVersionUpgradeRequest) Reset ¶
func (x *InstancesPreCheckMajorVersionUpgradeRequest) Reset()
func (*InstancesPreCheckMajorVersionUpgradeRequest) String ¶
func (x *InstancesPreCheckMajorVersionUpgradeRequest) 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"`
// The name of the backup that's used to restore a Cloud SQL instance:
// Format: projects/{project-id}/backups/{backup-uid}. Only one of
// restore_backup_context, backup, backupdr_backup can be passed to the input.
Backup string `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
// The name of the backup that's used to restore a Cloud SQL instance:
// Format:
// "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}".
// Only one of restore_backup_context, backup, backupdr_backup can be
// passed to the input.
BackupdrBackup string `protobuf:"bytes,4,opt,name=backupdr_backup,json=backupdrBackup,proto3" json:"backupdr_backup,omitempty"`
// Optional. By using this parameter, Cloud SQL overrides any instance
// settings stored in the backup you are restoring from. You can't change the
// instance's major database version and you can only increase the disk size.
// You can use this field to restore new instances only. This field is not
// applicable for restore to existing instances.
RestoreInstanceSettings *DatabaseInstance `` /* 132-byte string literal not displayed */
// Optional. This field has the same purpose as restore_instance_settings,
// changes any instance settings stored in the backup you are restoring from.
// With the difference that these fields are cleared in the settings.
RestoreInstanceClearOverridesFieldNames []string `` /* 186-byte string literal not displayed */
// 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) GetBackup ¶
func (x *InstancesRestoreBackupRequest) GetBackup() string
func (*InstancesRestoreBackupRequest) GetBackupdrBackup ¶
func (x *InstancesRestoreBackupRequest) GetBackupdrBackup() string
func (*InstancesRestoreBackupRequest) GetRestoreBackupContext ¶
func (x *InstancesRestoreBackupRequest) GetRestoreBackupContext() *RestoreBackupContext
func (*InstancesRestoreBackupRequest) GetRestoreInstanceClearOverridesFieldNames ¶
func (x *InstancesRestoreBackupRequest) GetRestoreInstanceClearOverridesFieldNames() []string
func (*InstancesRestoreBackupRequest) GetRestoreInstanceSettings ¶
func (x *InstancesRestoreBackupRequest) GetRestoreInstanceSettings() *DatabaseInstance
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 InstancesRotateEntraIdCertificateRequest ¶
type InstancesRotateEntraIdCertificateRequest struct {
// Optional. Contains details about the rotate Entra ID certificate operation.
RotateEntraIdCertificateContext *RotateEntraIdCertificateContext `` /* 160-byte string literal not displayed */
// contains filtered or unexported fields
}
Rotate Entra ID Certificate request.
func (*InstancesRotateEntraIdCertificateRequest) Descriptor
deprecated
func (*InstancesRotateEntraIdCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesRotateEntraIdCertificateRequest.ProtoReflect.Descriptor instead.
func (*InstancesRotateEntraIdCertificateRequest) GetRotateEntraIdCertificateContext ¶
func (x *InstancesRotateEntraIdCertificateRequest) GetRotateEntraIdCertificateContext() *RotateEntraIdCertificateContext
func (*InstancesRotateEntraIdCertificateRequest) ProtoMessage ¶
func (*InstancesRotateEntraIdCertificateRequest) ProtoMessage()
func (*InstancesRotateEntraIdCertificateRequest) ProtoReflect ¶
func (x *InstancesRotateEntraIdCertificateRequest) ProtoReflect() protoreflect.Message
func (*InstancesRotateEntraIdCertificateRequest) Reset ¶
func (x *InstancesRotateEntraIdCertificateRequest) Reset()
func (*InstancesRotateEntraIdCertificateRequest) String ¶
func (x *InstancesRotateEntraIdCertificateRequest) 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 InstancesRotateServerCertificateRequest ¶
type InstancesRotateServerCertificateRequest struct {
// Optional. Contains details about the rotate server CA operation.
RotateServerCertificateContext *RotateServerCertificateContext `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
Rotate Server Certificate request.
func (*InstancesRotateServerCertificateRequest) Descriptor
deprecated
func (*InstancesRotateServerCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesRotateServerCertificateRequest.ProtoReflect.Descriptor instead.
func (*InstancesRotateServerCertificateRequest) GetRotateServerCertificateContext ¶
func (x *InstancesRotateServerCertificateRequest) GetRotateServerCertificateContext() *RotateServerCertificateContext
func (*InstancesRotateServerCertificateRequest) ProtoMessage ¶
func (*InstancesRotateServerCertificateRequest) ProtoMessage()
func (*InstancesRotateServerCertificateRequest) ProtoReflect ¶
func (x *InstancesRotateServerCertificateRequest) ProtoReflect() protoreflect.Message
func (*InstancesRotateServerCertificateRequest) Reset ¶
func (x *InstancesRotateServerCertificateRequest) Reset()
func (*InstancesRotateServerCertificateRequest) String ¶
func (x *InstancesRotateServerCertificateRequest) 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 *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=ipv4_enabled,json=ipv4Enabled,proto3" json:"ipv4_enabled,omitempty"`
// The resource link for the VPC network from which the Cloud SQL instance is
// accessible for private IP. For example,
// `/projects/myProject/global/networks/default`. This setting can
// be updated, but it cannot be removed after it is set.
PrivateNetwork string `protobuf:"bytes,2,opt,name=private_network,json=privateNetwork,proto3" json:"private_network,omitempty"`
// 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 *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=require_ssl,json=requireSsl,proto3" json:"require_ssl,omitempty"`
// The list of external networks that are allowed to connect to the instance
// using the IP. In 'CIDR' notation, also known as 'slash' notation (for
// example: `157.197.200.0/24`).
AuthorizedNetworks []*AclEntry `protobuf:"bytes,4,rep,name=authorized_networks,json=authorizedNetworks,proto3" json:"authorized_networks,omitempty"`
// The name of the allocated ip range for the private ip 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 *wrapperspb.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 `` /* 137-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"`
// Specify what type of CA is used for the server certificate.
ServerCaMode *IpConfiguration_CaMode `` /* 160-byte string literal not displayed */
// Optional. Custom Subject Alternative Name(SAN)s for a Cloud SQL instance.
CustomSubjectAlternativeNames []string `` /* 153-byte string literal not displayed */
// Optional. The resource name of the server CA pool for an instance with
// `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`.
// Format: projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID}
ServerCaPool *string `protobuf:"bytes,12,opt,name=server_ca_pool,json=serverCaPool,proto3,oneof" json:"server_ca_pool,omitempty"`
// Optional. Controls the automatic server certificate rotation feature. This
// feature is disabled by default. When enabled, the server certificate will
// be automatically rotated during Cloud SQL scheduled maintenance or
// self-service maintenance updates up to six months before it expires. This
// setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA
// or CUSTOMER_MANAGED_CAS_CA.
ServerCertificateRotationMode *IpConfiguration_ServerCertificateRotationMode `` /* 236-byte string literal not displayed */
// 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) GetCustomSubjectAlternativeNames ¶
func (x *IpConfiguration) GetCustomSubjectAlternativeNames() []string
func (*IpConfiguration) GetEnablePrivatePathForGoogleCloudServices ¶
func (x *IpConfiguration) GetEnablePrivatePathForGoogleCloudServices() *wrapperspb.BoolValue
func (*IpConfiguration) GetIpv4Enabled ¶
func (x *IpConfiguration) GetIpv4Enabled() *wrapperspb.BoolValue
func (*IpConfiguration) GetPrivateNetwork ¶
func (x *IpConfiguration) GetPrivateNetwork() string
func (*IpConfiguration) GetPscConfig ¶
func (x *IpConfiguration) GetPscConfig() *PscConfig
func (*IpConfiguration) GetRequireSsl ¶
func (x *IpConfiguration) GetRequireSsl() *wrapperspb.BoolValue
func (*IpConfiguration) GetServerCaMode ¶
func (x *IpConfiguration) GetServerCaMode() IpConfiguration_CaMode
func (*IpConfiguration) GetServerCaPool ¶
func (x *IpConfiguration) GetServerCaPool() string
func (*IpConfiguration) GetServerCertificateRotationMode ¶
func (x *IpConfiguration) GetServerCertificateRotationMode() IpConfiguration_ServerCertificateRotationMode
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_CaMode ¶
type IpConfiguration_CaMode int32
Various Certificate Authority (CA) modes for certificate signing.
const ( // CA mode is unspecified. It is effectively the same as // `GOOGLE_MANAGED_INTERNAL_CA`. IpConfiguration_CA_MODE_UNSPECIFIED IpConfiguration_CaMode = 0 // Google-managed self-signed internal CA. IpConfiguration_GOOGLE_MANAGED_INTERNAL_CA IpConfiguration_CaMode = 1 // Google-managed regional CA part of root CA hierarchy hosted on Google // Cloud's Certificate Authority Service (CAS). IpConfiguration_GOOGLE_MANAGED_CAS_CA IpConfiguration_CaMode = 2 // Customer-managed CA hosted on Google Cloud's Certificate Authority // Service (CAS). IpConfiguration_CUSTOMER_MANAGED_CAS_CA IpConfiguration_CaMode = 3 )
func (IpConfiguration_CaMode) Descriptor ¶
func (IpConfiguration_CaMode) Descriptor() protoreflect.EnumDescriptor
func (IpConfiguration_CaMode) Enum ¶
func (x IpConfiguration_CaMode) Enum() *IpConfiguration_CaMode
func (IpConfiguration_CaMode) EnumDescriptor
deprecated
func (IpConfiguration_CaMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpConfiguration_CaMode.Descriptor instead.
func (IpConfiguration_CaMode) Number ¶
func (x IpConfiguration_CaMode) Number() protoreflect.EnumNumber
func (IpConfiguration_CaMode) String ¶
func (x IpConfiguration_CaMode) String() string
func (IpConfiguration_CaMode) Type ¶
func (IpConfiguration_CaMode) Type() protoreflect.EnumType
type IpConfiguration_ServerCertificateRotationMode ¶
type IpConfiguration_ServerCertificateRotationMode int32
Settings for automatic server certificate rotation.
const ( // Unspecified: no automatic server certificate rotation. IpConfiguration_SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED IpConfiguration_ServerCertificateRotationMode = 0 // No automatic server certificate rotation. The user must [manage server // certificate // rotation](/sql/docs/mysql/manage-ssl-instance#rotate-server-certificate-cas) // on their side. IpConfiguration_NO_AUTOMATIC_ROTATION IpConfiguration_ServerCertificateRotationMode = 1 // Automatic server certificate rotation during Cloud SQL scheduled // maintenance or self-service maintenance updates. Requires // `server_ca_mode` to be `GOOGLE_MANAGED_CAS_CA` or // `CUSTOMER_MANAGED_CAS_CA`. IpConfiguration_AUTOMATIC_ROTATION_DURING_MAINTENANCE IpConfiguration_ServerCertificateRotationMode = 2 )
func (IpConfiguration_ServerCertificateRotationMode) Descriptor ¶
func (IpConfiguration_ServerCertificateRotationMode) Descriptor() protoreflect.EnumDescriptor
func (IpConfiguration_ServerCertificateRotationMode) EnumDescriptor
deprecated
func (IpConfiguration_ServerCertificateRotationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpConfiguration_ServerCertificateRotationMode.Descriptor instead.
func (IpConfiguration_ServerCertificateRotationMode) Number ¶
func (x IpConfiguration_ServerCertificateRotationMode) Number() protoreflect.EnumNumber
func (IpConfiguration_ServerCertificateRotationMode) String ¶
func (x IpConfiguration_ServerCertificateRotationMode) 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=google.cloud.sql.v1beta4.SqlIpAddressType" json:"type,omitempty"`
// The IP address assigned.
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// The due time for this IP to be retired in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`. This field is only available when
// the IP is scheduled to be retired.
TimeToRetire *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_to_retire,json=timeToRetire,proto3" json:"time_to_retire,omitempty"`
// contains filtered or unexported fields
}
Database instance IP mapping
func (*IpMapping) Descriptor
deprecated
func (*IpMapping) GetIpAddress ¶
func (*IpMapping) GetTimeToRetire ¶
func (x *IpMapping) GetTimeToRetire() *timestamppb.Timestamp
func (*IpMapping) GetType ¶
func (x *IpMapping) GetType() SqlIpAddressType
func (*IpMapping) ProtoMessage ¶
func (*IpMapping) ProtoMessage()
func (*IpMapping) ProtoReflect ¶
func (x *IpMapping) ProtoReflect() protoreflect.Message
type ListBackupsRequest ¶
type ListBackupsRequest struct {
// Required. The parent that owns this collection of backups.
// Format: projects/{project}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of backups to return per response. The service might
// return fewer backups than this value. If a value for this parameter isn't
// specified, then, at most, 500 backups are returned. The maximum value is
// 2,000. Any values that you set, which are greater than 2,000, are changed
// to 2,000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListBackups` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListBackups` must match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Multiple filter queries are separated by spaces. For example,
// 'instance:abc AND type:FINAL, 'location:us',
// 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by
// type, instance, backupInterval.startTime (creation time), or location.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
The request payload to list the backups.
func (*ListBackupsRequest) Descriptor
deprecated
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetFilter ¶
func (x *ListBackupsRequest) GetFilter() string
func (*ListBackupsRequest) GetPageSize ¶
func (x *ListBackupsRequest) GetPageSize() int32
func (*ListBackupsRequest) GetPageToken ¶
func (x *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) GetParent ¶
func (x *ListBackupsRequest) GetParent() string
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶
type ListBackupsResponse struct {
// A list of backups.
Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, then there aren't subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// If a region isn't unavailable or if an unknown error occurs, then a warning
// message is returned.
Warnings []*ApiWarning `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
// contains filtered or unexported fields
}
The response payload containing a list of the backups.
func (*ListBackupsResponse) Descriptor
deprecated
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups ¶
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken ¶
func (x *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) GetWarnings ¶
func (x *ListBackupsResponse) GetWarnings() []*ApiWarning
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (x *ListBackupsResponse) String() string
type LocationPreference ¶
type LocationPreference struct {
// The App Engine application to follow, it must be in the same region as the
// Cloud SQL instance. WARNING: Changing this might restart the instance.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
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. Specify in the UTC time zone.
Hour *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
// Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`,
// `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone.
// Returned in output as an integer, 1 to 7, where `1` equals Monday.
Day *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"`
// Maintenance timing settings: `canary`, `stable`, or `week5`.
// For more information, see [About maintenance on Cloud SQL
// instances](https://cloud.google.com/sql/docs/mysql/maintenance).
UpdateTrack SqlUpdateTrack `` /* 140-byte string literal not displayed */
// This is always `sql#maintenanceWindow`.
Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.
func (*MaintenanceWindow) Descriptor
deprecated
func (*MaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceWindow) GetDay ¶
func (x *MaintenanceWindow) GetDay() *wrapperspb.Int32Value
func (*MaintenanceWindow) GetHour ¶
func (x *MaintenanceWindow) GetHour() *wrapperspb.Int32Value
func (*MaintenanceWindow) GetKind ¶
func (x *MaintenanceWindow) GetKind() string
func (*MaintenanceWindow) GetUpdateTrack ¶
func (x *MaintenanceWindow) GetUpdateTrack() SqlUpdateTrack
func (*MaintenanceWindow) ProtoMessage ¶
func (*MaintenanceWindow) ProtoMessage()
func (*MaintenanceWindow) ProtoReflect ¶
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
func (*MaintenanceWindow) Reset ¶
func (x *MaintenanceWindow) Reset()
func (*MaintenanceWindow) String ¶
func (x *MaintenanceWindow) String() string
type Metadata ¶
type Metadata struct {
// The time taken to execute the SQL statements.
SqlStatementExecutionTime *durationpb.Duration `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
The additional metadata information regarding the execution of the SQL statements.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetSqlStatementExecutionTime ¶
func (x *Metadata) GetSqlStatementExecutionTime() *durationpb.Duration
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MySqlReplicaConfiguration ¶
type MySqlReplicaConfiguration struct {
// Path to a SQL dump file in Google Cloud Storage from which the replica
// instance is to be created. The URI is in the form gs://bucketName/fileName.
// Compressed gzip files (.gz) are also supported.
// Dumps have the binlog co-ordinates from which replication
// begins. This can be accomplished by setting --master-data to 1 when using
// mysqldump.
DumpFilePath string `protobuf:"bytes,1,opt,name=dump_file_path,json=dumpFilePath,proto3" json:"dump_file_path,omitempty"`
// The username for the replication connection.
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// The password for the replication connection.
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// Seconds to wait between connect retries. MySQL's default is 60 seconds.
ConnectRetryInterval *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=connect_retry_interval,json=connectRetryInterval,proto3" json:"connect_retry_interval,omitempty"`
// Interval in milliseconds between replication heartbeats.
MasterHeartbeatPeriod *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */
// PEM representation of the trusted CA's x509 certificate.
CaCertificate string `protobuf:"bytes,6,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
// PEM representation of the replica's x509 certificate.
ClientCertificate string `protobuf:"bytes,7,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
// PEM representation of the replica's private key. The corresponding public
// key is encoded in the client's certificate.
ClientKey string `protobuf:"bytes,8,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
// A list of permissible ciphers to use for SSL encryption.
SslCipher string `protobuf:"bytes,9,opt,name=ssl_cipher,json=sslCipher,proto3" json:"ssl_cipher,omitempty"`
// Whether or not to check the primary instance's Common Name value in the
// certificate that it sends during the SSL handshake.
VerifyServerCertificate *wrapperspb.BoolValue `` /* 133-byte string literal not displayed */
// This is always `sql#mysqlReplicaConfiguration`.
Kind string `protobuf:"bytes,11,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
Read-replica configuration specific to MySQL databases.
func (*MySqlReplicaConfiguration) Descriptor
deprecated
func (*MySqlReplicaConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use MySqlReplicaConfiguration.ProtoReflect.Descriptor instead.
func (*MySqlReplicaConfiguration) GetCaCertificate ¶
func (x *MySqlReplicaConfiguration) GetCaCertificate() string
func (*MySqlReplicaConfiguration) GetClientCertificate ¶
func (x *MySqlReplicaConfiguration) GetClientCertificate() string
func (*MySqlReplicaConfiguration) GetClientKey ¶
func (x *MySqlReplicaConfiguration) GetClientKey() string
func (*MySqlReplicaConfiguration) GetConnectRetryInterval ¶
func (x *MySqlReplicaConfiguration) GetConnectRetryInterval() *wrapperspb.Int32Value
func (*MySqlReplicaConfiguration) GetDumpFilePath ¶
func (x *MySqlReplicaConfiguration) GetDumpFilePath() string
func (*MySqlReplicaConfiguration) GetKind ¶
func (x *MySqlReplicaConfiguration) GetKind() string
func (*MySqlReplicaConfiguration) GetMasterHeartbeatPeriod ¶
func (x *MySqlReplicaConfiguration) GetMasterHeartbeatPeriod() *wrapperspb.Int64Value
func (*MySqlReplicaConfiguration) GetPassword ¶
func (x *MySqlReplicaConfiguration) GetPassword() string
func (*MySqlReplicaConfiguration) GetSslCipher ¶
func (x *MySqlReplicaConfiguration) GetSslCipher() string
func (*MySqlReplicaConfiguration) GetUsername ¶
func (x *MySqlReplicaConfiguration) GetUsername() string
func (*MySqlReplicaConfiguration) GetVerifyServerCertificate ¶
func (x *MySqlReplicaConfiguration) GetVerifyServerCertificate() *wrapperspb.BoolValue
func (*MySqlReplicaConfiguration) ProtoMessage ¶
func (*MySqlReplicaConfiguration) ProtoMessage()
func (*MySqlReplicaConfiguration) ProtoReflect ¶
func (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 corresponding 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"`
// Optional. A list of objects that the user selects for replication from an
// external source instance.
SelectedObjects []*SelectedObjects `protobuf:"bytes,16,rep,name=selected_objects,json=selectedObjects,proto3" json:"selected_objects,omitempty"`
// Optional. SslOption for replica connection to the on-premises source.
SslOption OnPremisesConfiguration_SslOption `` /* 154-byte string literal not displayed */
// Output only. Indicates whether the resource is managed by Database
// Migration Service.
DmsManaged bool `protobuf:"varint,20,opt,name=dms_managed,json=dmsManaged,proto3" json:"dms_managed,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) GetDmsManaged ¶
func (x *OnPremisesConfiguration) GetDmsManaged() bool
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) GetSelectedObjects ¶
func (x *OnPremisesConfiguration) GetSelectedObjects() []*SelectedObjects
func (*OnPremisesConfiguration) GetSourceInstance ¶
func (x *OnPremisesConfiguration) GetSourceInstance() *InstanceReference
func (*OnPremisesConfiguration) GetSslOption ¶
func (x *OnPremisesConfiguration) GetSslOption() OnPremisesConfiguration_SslOption
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 OnPremisesConfiguration_SslOption ¶
type OnPremisesConfiguration_SslOption int32
SslOption defines the SSL mode to be used for replica connection to the on-premises source.
const ( // Unknown SSL option i.e. SSL option not specified by user. OnPremisesConfiguration_SSL_OPTION_UNSPECIFIED OnPremisesConfiguration_SslOption = 0 // SSL is disabled for replica connection to the on-premises source. OnPremisesConfiguration_DISABLE OnPremisesConfiguration_SslOption = 1 // SSL is required for replica connection to the on-premises source. OnPremisesConfiguration_REQUIRE OnPremisesConfiguration_SslOption = 2 // Verify CA is required for replica connection to the on-premises source. OnPremisesConfiguration_VERIFY_CA OnPremisesConfiguration_SslOption = 3 )
func (OnPremisesConfiguration_SslOption) Descriptor ¶
func (OnPremisesConfiguration_SslOption) Descriptor() protoreflect.EnumDescriptor
func (OnPremisesConfiguration_SslOption) Enum ¶
func (x OnPremisesConfiguration_SslOption) Enum() *OnPremisesConfiguration_SslOption
func (OnPremisesConfiguration_SslOption) EnumDescriptor
deprecated
func (OnPremisesConfiguration_SslOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnPremisesConfiguration_SslOption.Descriptor instead.
func (OnPremisesConfiguration_SslOption) Number ¶
func (x OnPremisesConfiguration_SslOption) Number() protoreflect.EnumNumber
func (OnPremisesConfiguration_SslOption) String ¶
func (x OnPremisesConfiguration_SslOption) String() string
func (OnPremisesConfiguration_SslOption) Type ¶
func (OnPremisesConfiguration_SslOption) Type() protoreflect.EnumType
type Operation ¶
type Operation struct {
// This is always `sql#operation`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
TargetLink string `protobuf:"bytes,2,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"`
// The status of an operation.
Status Operation_SqlOperationStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.cloud.sql.v1beta4.Operation_SqlOperationStatus" json:"status,omitempty"`
// The email address of the user who initiated this operation.
User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
// The time this operation was enqueued in UTC timezone in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
InsertTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
// The time this operation actually started in UTC timezone in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time this operation finished in UTC timezone in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// If errors occurred during processing of this operation, this field will be
// populated.
Error *OperationErrors `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
// 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 `` /* 158-byte string literal not displayed */
// The context for import operation, if applicable.
ImportContext *ImportContext `protobuf:"bytes,10,opt,name=import_context,json=importContext,proto3" json:"import_context,omitempty"`
// The context for export operation, if applicable.
ExportContext *ExportContext `protobuf:"bytes,11,opt,name=export_context,json=exportContext,proto3" json:"export_context,omitempty"`
// The context for backup operation, if applicable.
BackupContext *BackupContext `protobuf:"bytes,17,opt,name=backup_context,json=backupContext,proto3" json:"backup_context,omitempty"`
// The context for pre-check major version upgrade operation, if applicable.
// This field is only populated when the operation_type is
// PRE_CHECK_MAJOR_VERSION_UPGRADE.
// The PreCheckMajorVersionUpgradeContext message itself contains the details
// for that pre-check, such as the target database version for the upgrade
// and the results of the check (including any warnings or errors found).
PreCheckMajorVersionUpgradeContext *PreCheckMajorVersionUpgradeContext `` /* 172-byte string literal not displayed */
// 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 resource on which this operation runs.
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 */
// Optional. The sub operation based on the operation type.
SubOperationType *SqlSubOperationType `protobuf:"bytes,48,opt,name=sub_operation_type,json=subOperationType,proto3" json:"sub_operation_type,omitempty"`
// 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 (x *Operation) GetEndTime() *timestamppb.Timestamp
func (*Operation) GetError ¶
func (x *Operation) GetError() *OperationErrors
func (*Operation) GetExportContext ¶
func (x *Operation) GetExportContext() *ExportContext
func (*Operation) GetImportContext ¶
func (x *Operation) GetImportContext() *ImportContext
func (*Operation) GetInsertTime ¶
func (x *Operation) GetInsertTime() *timestamppb.Timestamp
func (*Operation) GetOperationType ¶
func (x *Operation) GetOperationType() Operation_SqlOperationType
func (*Operation) GetPreCheckMajorVersionUpgradeContext ¶
func (x *Operation) GetPreCheckMajorVersionUpgradeContext() *PreCheckMajorVersionUpgradeContext
func (*Operation) GetSelfLink ¶
func (*Operation) GetStartTime ¶
func (x *Operation) GetStartTime() *timestamppb.Timestamp
func (*Operation) GetStatus ¶
func (x *Operation) GetStatus() Operation_SqlOperationStatus
func (*Operation) GetSubOperationType ¶
func (x *Operation) GetSubOperationType() *SqlSubOperationType
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. Operation_BACKUP Operation_SqlOperationType = 7 // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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. If a user with the // specified username doesn't exist, a new user is created. 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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. Operation_ENABLE_PRIVATE_IP Operation_SqlOperationType = 31 // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. Operation_DEFER_MAINTENANCE Operation_SqlOperationType = 32 // Creates clone instance. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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 // Update a backup. Operation_UPDATE_BACKUP Operation_SqlOperationType = 40 // 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. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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 // Updates the major version of a Cloud SQL instance. Operation_MAJOR_VERSION_UPGRADE Operation_SqlOperationType = 48 // Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. Operation_ADVANCED_BACKUP Operation_SqlOperationType = 49 // Changes the BackupTier of a Cloud SQL instance. Operation_MANAGE_BACKUP Operation_SqlOperationType = 50 // Creates a backup for an Enhanced BackupTier Cloud SQL instance. Operation_ENHANCED_BACKUP Operation_SqlOperationType = 51 // Repairs entire read pool or specified read pool nodes in the read pool. Operation_REPAIR_READ_POOL Operation_SqlOperationType = 52 // Creates a Cloud SQL read pool instance. Operation_CREATE_READ_POOL Operation_SqlOperationType = 53 // Pre-checks for major version upgrade. Operation_PRE_CHECK_MAJOR_VERSION_UPGRADE Operation_SqlOperationType = 54 // This operation type represents individual steps in a multi-step setup // migration workflow: including configuration, replication, // switchover/back, and data reseeding, as defined by operation's intent. Operation_SETUP_MIGRATION Operation_SqlOperationType = 58 // Sends a message to a Cloud SQL agent. Operation_AGENT_SEND_MESSAGE Operation_SqlOperationType = 59 )
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 *timestamppb.Timestamp `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
Read-only password status.
func (*PasswordStatus) Descriptor
deprecated
func (*PasswordStatus) Descriptor() ([]byte, []int)
Deprecated: Use PasswordStatus.ProtoReflect.Descriptor instead.
func (*PasswordStatus) GetLocked ¶
func (x *PasswordStatus) GetLocked() bool
func (*PasswordStatus) GetPasswordExpirationTime ¶
func (x *PasswordStatus) GetPasswordExpirationTime() *timestamppb.Timestamp
func (*PasswordStatus) ProtoMessage ¶
func (*PasswordStatus) ProtoMessage()
func (*PasswordStatus) ProtoReflect ¶
func (x *PasswordStatus) ProtoReflect() protoreflect.Message
func (*PasswordStatus) Reset ¶
func (x *PasswordStatus) Reset()
func (*PasswordStatus) String ¶
func (x *PasswordStatus) String() string
type PasswordValidationPolicy ¶
type PasswordValidationPolicy struct {
// Minimum number of characters allowed.
MinLength *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
// The complexity of the password.
Complexity PasswordValidationPolicy_Complexity `` /* 140-byte string literal not displayed */
// Number of previous passwords that cannot be reused.
ReuseInterval *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=reuse_interval,json=reuseInterval,proto3" json:"reuse_interval,omitempty"`
// Disallow username as a part of the password.
DisallowUsernameSubstring *wrapperspb.BoolValue `` /* 138-byte string literal not displayed */
// Minimum interval after which the password can be changed. This flag is only
// supported for PostgreSQL.
PasswordChangeInterval *durationpb.Duration `` /* 129-byte string literal not displayed */
// Whether to enable the password policy or not. When enabled, passwords must
// meet complexity requirements. Keep this policy enabled to help prevent
// unauthorized access. Disabling this policy allows weak passwords.
EnablePasswordPolicy *wrapperspb.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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
DisallowCompromisedCredentials *wrapperspb.BoolValue `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.
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() *wrapperspb.BoolValue
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*PasswordValidationPolicy) GetDisallowUsernameSubstring ¶
func (x *PasswordValidationPolicy) GetDisallowUsernameSubstring() *wrapperspb.BoolValue
func (*PasswordValidationPolicy) GetEnablePasswordPolicy ¶
func (x *PasswordValidationPolicy) GetEnablePasswordPolicy() *wrapperspb.BoolValue
func (*PasswordValidationPolicy) GetMinLength ¶
func (x *PasswordValidationPolicy) GetMinLength() *wrapperspb.Int32Value
func (*PasswordValidationPolicy) GetPasswordChangeInterval ¶
func (x *PasswordValidationPolicy) GetPasswordChangeInterval() *durationpb.Duration
func (*PasswordValidationPolicy) GetReuseInterval ¶
func (x *PasswordValidationPolicy) GetReuseInterval() *wrapperspb.Int32Value
func (*PasswordValidationPolicy) ProtoMessage ¶
func (*PasswordValidationPolicy) ProtoMessage()
func (*PasswordValidationPolicy) ProtoReflect ¶
func (x *PasswordValidationPolicy) ProtoReflect() protoreflect.Message
func (*PasswordValidationPolicy) Reset ¶
func (x *PasswordValidationPolicy) Reset()
func (*PasswordValidationPolicy) String ¶
func (x *PasswordValidationPolicy) String() string
type PasswordValidationPolicy_Complexity ¶
type PasswordValidationPolicy_Complexity int32
The complexity choices of the password.
const ( // Complexity check is not specified. PasswordValidationPolicy_COMPLEXITY_UNSPECIFIED PasswordValidationPolicy_Complexity = 0 // A combination of lowercase, uppercase, numeric, and non-alphanumeric // characters. PasswordValidationPolicy_COMPLEXITY_DEFAULT PasswordValidationPolicy_Complexity = 1 )
func (PasswordValidationPolicy_Complexity) Descriptor ¶
func (PasswordValidationPolicy_Complexity) 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 PerformanceCaptureConfig ¶
type PerformanceCaptureConfig struct {
// Optional. Enables or disables the performance capture feature.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Optional. Specifies the interval in seconds between consecutive probes that
// check if any trigger condition thresholds have been reached.
ProbingIntervalSeconds *int32 `` /* 136-byte string literal not displayed */
// Optional. Specifies the minimum number of consecutive probe threshold that
// triggers performance capture.
ProbeThreshold *int32 `protobuf:"varint,3,opt,name=probe_threshold,json=probeThreshold,proto3,oneof" json:"probe_threshold,omitempty"`
// Optional. Specifies the minimum number of MySQL `Threads_running` to
// trigger the performance capture on the primary instance.
RunningThreadsThreshold *int32 `` /* 139-byte string literal not displayed */
// Optional. Specifies the minimum number of seconds replica must be lagging
// behind primary instance to trigger the performance capture on replica.
SecondsBehindSourceThreshold *int32 `` /* 156-byte string literal not displayed */
// Optional. Specifies the amount of time in seconds that a transaction needs
// to have been open before the watcher starts recording it.
TransactionDurationThreshold *int32 `` /* 154-byte string literal not displayed */
// Optional. Specifies the minimum percentage of CPU utilization to trigger
// the performance capture. Valid integers range from `10` to `99`. Enter `0`
// to disable the check.
CpuUtilizationThresholdPercent *int32 `` /* 162-byte string literal not displayed */
// Optional. Specifies the minimum percentage of memory usage to trigger the
// performance capture.
// Valid integers range from `10` to `99`. Enter `0` to disable the check.
MemoryUsageThresholdPercent *int32 `` /* 154-byte string literal not displayed */
// Optional. Specifies the minimum allowed number of transactions in lock wait
// state to trigger the performance capture. Valid integers range from `10` to
// `10000`. Enter `0` to disable the check.
TransactionLockWaitThresholdCount *int32 `` /* 174-byte string literal not displayed */
// Optional. Specifies the minimum allowed number of semaphore waits to
// trigger the performance capture. Valid integers range from `10` to `10000`.
// Enter `0` to disable the check.
SemaphoreWaitThresholdCount *int32 `` /* 154-byte string literal not displayed */
// Optional. Specifies the minimum number of undo log entries in the history
// list length to trigger the performance capture. Valid integers range from
// `10000` to `10000000`. Enter `0` to disable the check.
HistoryListLengthThresholdCount *int32 `` /* 168-byte string literal not displayed */
// Optional. Specifies the amount of time in seconds that a transaction needs
// to have been open before the watcher starts terminating it. Valid integers
// range from `60` to `604800` (7 days). Enter `0` to disable. If enabled
// (i.e., > 0), this value must be greater than or equal to
// `transaction_duration_threshold`. Configurations where
// `0 < transaction_kill_threshold_seconds < transaction_duration_threshold`
// will be rejected.
TransactionKillThresholdSeconds *int32 `` /* 166-byte string literal not displayed */
// Optional. Specifies a customer-defined list of users to exclude from
// transaction termination. Entries can be in the format 'user@host' or just
// 'user'. A standalone 'user' implies 'user@%', excluding the user from any
// host. Wildcard '%' is allowed in the host part of the 'user@host' format.
// Example: `["app_user", "db_admin@10.1.2.3", "report_user@%"]`
TransactionKillExcludedUserHosts []string `` /* 164-byte string literal not displayed */
// Optional. Determines which transactions are allowed to be terminated when
// they exceed `transaction_kill_threshold_seconds`. This allows protecting
// write-heavy transactions from auto-termination if desired. Defaults to
// `READ_ONLY_TRANSACTIONS` if unspecified.
TransactionKillType *PerformanceCaptureConfig_TransactionKillType `` /* 203-byte string literal not displayed */
// contains filtered or unexported fields
}
Performance capture configuration.
func (*PerformanceCaptureConfig) Descriptor
deprecated
func (*PerformanceCaptureConfig) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceCaptureConfig.ProtoReflect.Descriptor instead.
func (*PerformanceCaptureConfig) GetCpuUtilizationThresholdPercent ¶
func (x *PerformanceCaptureConfig) GetCpuUtilizationThresholdPercent() int32
func (*PerformanceCaptureConfig) GetEnabled ¶
func (x *PerformanceCaptureConfig) GetEnabled() bool
func (*PerformanceCaptureConfig) GetHistoryListLengthThresholdCount ¶
func (x *PerformanceCaptureConfig) GetHistoryListLengthThresholdCount() int32
func (*PerformanceCaptureConfig) GetMemoryUsageThresholdPercent ¶
func (x *PerformanceCaptureConfig) GetMemoryUsageThresholdPercent() int32
func (*PerformanceCaptureConfig) GetProbeThreshold ¶
func (x *PerformanceCaptureConfig) GetProbeThreshold() int32
func (*PerformanceCaptureConfig) GetProbingIntervalSeconds ¶
func (x *PerformanceCaptureConfig) GetProbingIntervalSeconds() int32
func (*PerformanceCaptureConfig) GetRunningThreadsThreshold ¶
func (x *PerformanceCaptureConfig) GetRunningThreadsThreshold() int32
func (*PerformanceCaptureConfig) GetSecondsBehindSourceThreshold ¶
func (x *PerformanceCaptureConfig) GetSecondsBehindSourceThreshold() int32
func (*PerformanceCaptureConfig) GetSemaphoreWaitThresholdCount ¶
func (x *PerformanceCaptureConfig) GetSemaphoreWaitThresholdCount() int32
func (*PerformanceCaptureConfig) GetTransactionDurationThreshold ¶
func (x *PerformanceCaptureConfig) GetTransactionDurationThreshold() int32
func (*PerformanceCaptureConfig) GetTransactionKillExcludedUserHosts ¶
func (x *PerformanceCaptureConfig) GetTransactionKillExcludedUserHosts() []string
func (*PerformanceCaptureConfig) GetTransactionKillThresholdSeconds ¶
func (x *PerformanceCaptureConfig) GetTransactionKillThresholdSeconds() int32
func (*PerformanceCaptureConfig) GetTransactionKillType ¶
func (x *PerformanceCaptureConfig) GetTransactionKillType() PerformanceCaptureConfig_TransactionKillType
func (*PerformanceCaptureConfig) GetTransactionLockWaitThresholdCount ¶
func (x *PerformanceCaptureConfig) GetTransactionLockWaitThresholdCount() int32
func (*PerformanceCaptureConfig) ProtoMessage ¶
func (*PerformanceCaptureConfig) ProtoMessage()
func (*PerformanceCaptureConfig) ProtoReflect ¶
func (x *PerformanceCaptureConfig) ProtoReflect() protoreflect.Message
func (*PerformanceCaptureConfig) Reset ¶
func (x *PerformanceCaptureConfig) Reset()
func (*PerformanceCaptureConfig) String ¶
func (x *PerformanceCaptureConfig) String() string
type PerformanceCaptureConfig_TransactionKillType ¶
type PerformanceCaptureConfig_TransactionKillType int32
Defines the categories of long-running transactions eligible for automatic termination by the Performance Capture.
const ( // Unspecified. PerformanceCaptureConfig_TRANSACTION_KILL_TYPE_UNSPECIFIED PerformanceCaptureConfig_TransactionKillType = 0 // Only read-only transactions are eligible for termination. PerformanceCaptureConfig_READ_ONLY_TRANSACTIONS PerformanceCaptureConfig_TransactionKillType = 1 // All transactions are eligible for termination, including those with write // operations (such as INSERT, UPDATE, DELETE, or DDL). PerformanceCaptureConfig_ALL_TRANSACTIONS PerformanceCaptureConfig_TransactionKillType = 2 )
func (PerformanceCaptureConfig_TransactionKillType) Descriptor ¶
func (PerformanceCaptureConfig_TransactionKillType) Descriptor() protoreflect.EnumDescriptor
func (PerformanceCaptureConfig_TransactionKillType) EnumDescriptor
deprecated
func (PerformanceCaptureConfig_TransactionKillType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PerformanceCaptureConfig_TransactionKillType.Descriptor instead.
func (PerformanceCaptureConfig_TransactionKillType) Number ¶
func (x PerformanceCaptureConfig_TransactionKillType) Number() protoreflect.EnumNumber
func (PerformanceCaptureConfig_TransactionKillType) String ¶
func (x PerformanceCaptureConfig_TransactionKillType) String() string
func (PerformanceCaptureConfig_TransactionKillType) Type ¶
func (PerformanceCaptureConfig_TransactionKillType) Type() protoreflect.EnumType
type PointInTimeRestoreContext ¶
type PointInTimeRestoreContext struct {
// The Backup and Disaster Recovery (DR) Service Datasource URI.
// Format:
// projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.
Datasource *string `protobuf:"bytes,1,opt,name=datasource,proto3,oneof" json:"datasource,omitempty"`
// Required. The date and time to which you want to restore the instance.
PointInTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=point_in_time,json=pointInTime,proto3" json:"point_in_time,omitempty"`
// Target instance name.
TargetInstance *string `protobuf:"bytes,3,opt,name=target_instance,json=targetInstance,proto3,oneof" json:"target_instance,omitempty"`
// Optional. 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`.
PrivateNetwork *string `protobuf:"bytes,4,opt,name=private_network,json=privateNetwork,proto3,oneof" json:"private_network,omitempty"`
// Optional. The name of the allocated IP range for the internal IP Cloud SQL
// instance. For example: "google-managed-services-default". If you set this,
// then Cloud SQL creates the IP address for the cloned instance in the
// allocated range. This range must comply with [RFC
// 1035](https://tools.ietf.org/html/rfc1035) standards. 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,5,opt,name=allocated_ip_range,json=allocatedIpRange,proto3,oneof" json:"allocated_ip_range,omitempty"`
// Optional. Point-in-time recovery of an instance to the specified zone. If
// no zone is specified, then clone to the same primary zone as the source
// instance.
PreferredZone *string `protobuf:"bytes,6,opt,name=preferred_zone,json=preferredZone,proto3,oneof" json:"preferred_zone,omitempty"`
// Optional. Point-in-time recovery 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 `` /* 135-byte string literal not displayed */
// Optional. Specifies the instance settings that will be overridden from the
// source instance. This field is only applicable for cross project PITRs.
TargetInstanceSettings *DatabaseInstance `` /* 130-byte string literal not displayed */
// Optional. Specifies the instance settings that will be cleared from the
// source instance. This field is only applicable for cross project PITRs.
TargetInstanceClearSettingsFieldNames []string `` /* 181-byte string literal not displayed */
// Optional. The region of the target instance where the datasource will be
// restored. For example: "us-central1".
Region *string `protobuf:"bytes,13,opt,name=region,proto3,oneof" json:"region,omitempty"`
// contains filtered or unexported fields
}
Context to perform a point-in-time restore of an instance managed by Backup and Disaster Recovery (DR) Service.
func (*PointInTimeRestoreContext) Descriptor
deprecated
func (*PointInTimeRestoreContext) Descriptor() ([]byte, []int)
Deprecated: Use PointInTimeRestoreContext.ProtoReflect.Descriptor instead.
func (*PointInTimeRestoreContext) GetAllocatedIpRange ¶
func (x *PointInTimeRestoreContext) GetAllocatedIpRange() string
func (*PointInTimeRestoreContext) GetDatasource ¶
func (x *PointInTimeRestoreContext) GetDatasource() string
func (*PointInTimeRestoreContext) GetPointInTime ¶
func (x *PointInTimeRestoreContext) GetPointInTime() *timestamppb.Timestamp
func (*PointInTimeRestoreContext) GetPreferredSecondaryZone ¶
func (x *PointInTimeRestoreContext) GetPreferredSecondaryZone() string
func (*PointInTimeRestoreContext) GetPreferredZone ¶
func (x *PointInTimeRestoreContext) GetPreferredZone() string
func (*PointInTimeRestoreContext) GetPrivateNetwork ¶
func (x *PointInTimeRestoreContext) GetPrivateNetwork() string
func (*PointInTimeRestoreContext) GetRegion ¶
func (x *PointInTimeRestoreContext) GetRegion() string
func (*PointInTimeRestoreContext) GetTargetInstance ¶
func (x *PointInTimeRestoreContext) GetTargetInstance() string
func (*PointInTimeRestoreContext) GetTargetInstanceClearSettingsFieldNames ¶
func (x *PointInTimeRestoreContext) GetTargetInstanceClearSettingsFieldNames() []string
func (*PointInTimeRestoreContext) GetTargetInstanceSettings ¶
func (x *PointInTimeRestoreContext) GetTargetInstanceSettings() *DatabaseInstance
func (*PointInTimeRestoreContext) ProtoMessage ¶
func (*PointInTimeRestoreContext) ProtoMessage()
func (*PointInTimeRestoreContext) ProtoReflect ¶
func (x *PointInTimeRestoreContext) ProtoReflect() protoreflect.Message
func (*PointInTimeRestoreContext) Reset ¶
func (x *PointInTimeRestoreContext) Reset()
func (*PointInTimeRestoreContext) String ¶
func (x *PointInTimeRestoreContext) String() string
type PreCheckMajorVersionUpgradeContext ¶
type PreCheckMajorVersionUpgradeContext struct {
// Required. The target database version to upgrade to.
TargetDatabaseVersion SqlDatabaseVersion `` /* 176-byte string literal not displayed */
// Output only. The responses from the precheck operation.
PreCheckResponse []*PreCheckResponse `protobuf:"bytes,2,rep,name=pre_check_response,json=preCheckResponse,proto3" json:"pre_check_response,omitempty"`
// Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
Pre-check major version upgrade context.
func (*PreCheckMajorVersionUpgradeContext) Descriptor
deprecated
func (*PreCheckMajorVersionUpgradeContext) Descriptor() ([]byte, []int)
Deprecated: Use PreCheckMajorVersionUpgradeContext.ProtoReflect.Descriptor instead.
func (*PreCheckMajorVersionUpgradeContext) GetKind ¶
func (x *PreCheckMajorVersionUpgradeContext) GetKind() string
func (*PreCheckMajorVersionUpgradeContext) GetPreCheckResponse ¶
func (x *PreCheckMajorVersionUpgradeContext) GetPreCheckResponse() []*PreCheckResponse
func (*PreCheckMajorVersionUpgradeContext) GetTargetDatabaseVersion ¶
func (x *PreCheckMajorVersionUpgradeContext) GetTargetDatabaseVersion() SqlDatabaseVersion
func (*PreCheckMajorVersionUpgradeContext) ProtoMessage ¶
func (*PreCheckMajorVersionUpgradeContext) ProtoMessage()
func (*PreCheckMajorVersionUpgradeContext) ProtoReflect ¶
func (x *PreCheckMajorVersionUpgradeContext) ProtoReflect() protoreflect.Message
func (*PreCheckMajorVersionUpgradeContext) Reset ¶
func (x *PreCheckMajorVersionUpgradeContext) Reset()
func (*PreCheckMajorVersionUpgradeContext) String ¶
func (x *PreCheckMajorVersionUpgradeContext) String() string
type PreCheckResponse ¶
type PreCheckResponse struct {
// The message to be displayed to the user.
Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"`
// The type of message whether it is an info, warning, or error.
MessageType *PreCheckResponse_MessageType `` /* 160-byte string literal not displayed */
// The actions that the user needs to take. Use repeated for multiple
// actions.
ActionsRequired []string `protobuf:"bytes,4,rep,name=actions_required,json=actionsRequired,proto3" json:"actions_required,omitempty"`
// contains filtered or unexported fields
}
Structured PreCheckResponse containing message, type, and required actions.
func (*PreCheckResponse) Descriptor
deprecated
func (*PreCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreCheckResponse.ProtoReflect.Descriptor instead.
func (*PreCheckResponse) GetActionsRequired ¶
func (x *PreCheckResponse) GetActionsRequired() []string
func (*PreCheckResponse) GetMessage ¶
func (x *PreCheckResponse) GetMessage() string
func (*PreCheckResponse) GetMessageType ¶
func (x *PreCheckResponse) GetMessageType() PreCheckResponse_MessageType
func (*PreCheckResponse) ProtoMessage ¶
func (*PreCheckResponse) ProtoMessage()
func (*PreCheckResponse) ProtoReflect ¶
func (x *PreCheckResponse) ProtoReflect() protoreflect.Message
func (*PreCheckResponse) Reset ¶
func (x *PreCheckResponse) Reset()
func (*PreCheckResponse) String ¶
func (x *PreCheckResponse) String() string
type PreCheckResponse_MessageType ¶
type PreCheckResponse_MessageType int32
The type of message which can be an info, a warning, or an error that requires user intervention.
const ( // Default unspecified value to prevent unintended behavior changes. PreCheckResponse_MESSAGE_TYPE_UNSPECIFIED PreCheckResponse_MessageType = 0 // General informational messages that don't require action. PreCheckResponse_INFO PreCheckResponse_MessageType = 1 // Warnings that might impact the upgrade but don't block it. PreCheckResponse_WARNING PreCheckResponse_MessageType = 2 // Errors that a user must resolve before proceeding with the upgrade. PreCheckResponse_ERROR PreCheckResponse_MessageType = 3 )
func (PreCheckResponse_MessageType) Descriptor ¶
func (PreCheckResponse_MessageType) Descriptor() protoreflect.EnumDescriptor
func (PreCheckResponse_MessageType) Enum ¶
func (x PreCheckResponse_MessageType) Enum() *PreCheckResponse_MessageType
func (PreCheckResponse_MessageType) EnumDescriptor
deprecated
func (PreCheckResponse_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreCheckResponse_MessageType.Descriptor instead.
func (PreCheckResponse_MessageType) Number ¶
func (x PreCheckResponse_MessageType) Number() protoreflect.EnumNumber
func (PreCheckResponse_MessageType) String ¶
func (x PreCheckResponse_MessageType) String() string
func (PreCheckResponse_MessageType) Type ¶
func (PreCheckResponse_MessageType) Type() protoreflect.EnumType
type PscAutoConnectionConfig ¶
type PscAutoConnectionConfig struct {
// Optional. This is the project ID of consumer service project of this
// consumer endpoint.
//
// Optional. This is only applicable if consumer_network is a shared vpc
// network.
ConsumerProject string `protobuf:"bytes,1,opt,name=consumer_project,json=consumerProject,proto3" json:"consumer_project,omitempty"`
// Optional. The consumer network of this consumer endpoint. This must be a
// resource path that includes both the host project and the network name.
//
// For example, `projects/project1/global/networks/network1`.
//
// The consumer host project of this network might be different from the
// consumer service project.
ConsumerNetwork string `protobuf:"bytes,2,opt,name=consumer_network,json=consumerNetwork,proto3" json:"consumer_network,omitempty"`
// The IP address of the consumer endpoint.
IpAddress *string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof" json:"ip_address,omitempty"`
// The connection status of the consumer endpoint.
Status *string `protobuf:"bytes,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
// The connection policy status of the consumer network.
ConsumerNetworkStatus *string `` /* 132-byte string literal not displayed */
// Output only. The service connection policy created automatically for the
// consumer network when `psc_auto_connection_policy_enabled` is true. It is
// in the format of:
// `projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}`
// The `policy_id` is in format of `$NETWORK-$RANDOM`.
ServiceConnectionPolicy *string `` /* 138-byte string literal not displayed */
// Output only. The status of service connection policy creation.
ServiceConnectionPolicyCreationResult *string `` /* 184-byte string literal not displayed */
// Output only. The status of automated DNS provisioning.
InstanceAutoDnsStatus *AutoDnsStatus `` /* 179-byte string literal not displayed */
// Output only. The status of automated DNS provisioning for the write
// endpoint.
WriteEndpointAutoDnsStatus *AutoDnsStatus `` /* 196-byte string literal not displayed */
// contains filtered or unexported fields
}
Settings for an automatically-setup Private Service Connect consumer endpoint that is used to connect to a Cloud SQL instance.
func (*PscAutoConnectionConfig) Descriptor
deprecated
func (*PscAutoConnectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use PscAutoConnectionConfig.ProtoReflect.Descriptor instead.
func (*PscAutoConnectionConfig) GetConsumerNetwork ¶
func (x *PscAutoConnectionConfig) GetConsumerNetwork() string
func (*PscAutoConnectionConfig) GetConsumerNetworkStatus ¶
func (x *PscAutoConnectionConfig) GetConsumerNetworkStatus() string
func (*PscAutoConnectionConfig) GetConsumerProject ¶
func (x *PscAutoConnectionConfig) GetConsumerProject() string
func (*PscAutoConnectionConfig) GetInstanceAutoDnsStatus ¶
func (x *PscAutoConnectionConfig) GetInstanceAutoDnsStatus() AutoDnsStatus
func (*PscAutoConnectionConfig) GetIpAddress ¶
func (x *PscAutoConnectionConfig) GetIpAddress() string
func (*PscAutoConnectionConfig) GetServiceConnectionPolicy ¶
func (x *PscAutoConnectionConfig) GetServiceConnectionPolicy() string
func (*PscAutoConnectionConfig) GetServiceConnectionPolicyCreationResult ¶
func (x *PscAutoConnectionConfig) GetServiceConnectionPolicyCreationResult() string
func (*PscAutoConnectionConfig) GetStatus ¶
func (x *PscAutoConnectionConfig) GetStatus() string
func (*PscAutoConnectionConfig) GetWriteEndpointAutoDnsStatus ¶
func (x *PscAutoConnectionConfig) GetWriteEndpointAutoDnsStatus() AutoDnsStatus
func (*PscAutoConnectionConfig) ProtoMessage ¶
func (*PscAutoConnectionConfig) ProtoMessage()
func (*PscAutoConnectionConfig) ProtoReflect ¶
func (x *PscAutoConnectionConfig) ProtoReflect() protoreflect.Message
func (*PscAutoConnectionConfig) Reset ¶
func (x *PscAutoConnectionConfig) Reset()
func (*PscAutoConnectionConfig) String ¶
func (x *PscAutoConnectionConfig) 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 */
// Optional. The list of settings for requested Private Service Connect
// consumer endpoints that can be used to connect to this Cloud SQL instance.
PscAutoConnections []*PscAutoConnectionConfig `protobuf:"bytes,3,rep,name=psc_auto_connections,json=pscAutoConnections,proto3" json:"psc_auto_connections,omitempty"`
// Optional. The network attachment of the consumer network that the
// Private Service Connect enabled Cloud SQL instance is
// authorized to connect via PSC interface.
// format: projects/PROJECT/regions/REGION/networkAttachments/ID
NetworkAttachmentUri string `protobuf:"bytes,4,opt,name=network_attachment_uri,json=networkAttachmentUri,proto3" json:"network_attachment_uri,omitempty"`
// Optional. Indicates whether Private Service Connect DNS automation is
// enabled for this instance. When enabled, Cloud SQL provisions a universal
// DNS record across all networks configured with Private Service Connect
// auto-connections. This will default to true for new instances when
// Private Service Connect is enabled.
PscAutoDnsEnabled *bool `protobuf:"varint,5,opt,name=psc_auto_dns_enabled,json=pscAutoDnsEnabled,proto3,oneof" json:"psc_auto_dns_enabled,omitempty"`
// Optional. Indicates whether Private Service Connect write endpoint DNS
// automation is enabled for this instance. When enabled, Cloud SQL provisions
// a universal global DNS record across all networks configured with Private
// Service Connect auto-connections that points to the cluster primary
// instance. This feature is only supported for Enterprise Plus edition. This
// will default to true for new enterprise plus instances when
// `psc_auto_dns_enabled` is enabled.
PscWriteEndpointDnsEnabled *bool `` /* 152-byte string literal not displayed */
// Optional. Whether to set up the PSC service connection policy
// automatically.
PscAutoConnectionPolicyEnabled *bool `` /* 164-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) GetNetworkAttachmentUri ¶
func (*PscConfig) GetPscAutoConnectionPolicyEnabled ¶
func (*PscConfig) GetPscAutoConnections ¶
func (x *PscConfig) GetPscAutoConnections() []*PscAutoConnectionConfig
func (*PscConfig) GetPscAutoDnsEnabled ¶
func (*PscConfig) GetPscEnabled ¶
func (*PscConfig) GetPscWriteEndpointDnsEnabled ¶
func (*PscConfig) ProtoMessage ¶
func (*PscConfig) ProtoMessage()
func (*PscConfig) ProtoReflect ¶
func (x *PscConfig) ProtoReflect() protoreflect.Message
type QueryResult ¶
type QueryResult struct {
// List of columns included in the result. This also includes the data type
// of the column.
Columns []*Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// Rows returned by the SQL statement.
Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// Message related to the SQL execution result.
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// Set to true if the SQL execution's result is truncated due to size limits
// or an error retrieving results.
PartialResult bool `protobuf:"varint,4,opt,name=partial_result,json=partialResult,proto3" json:"partial_result,omitempty"`
// If results were truncated due to an error, details of that error.
Status *status.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
QueryResult contains the result of executing a single SQL statement.
func (*QueryResult) Descriptor
deprecated
func (*QueryResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.
func (*QueryResult) GetColumns ¶
func (x *QueryResult) GetColumns() []*Column
func (*QueryResult) GetMessage ¶
func (x *QueryResult) GetMessage() string
func (*QueryResult) GetPartialResult ¶
func (x *QueryResult) GetPartialResult() bool
func (*QueryResult) GetRows ¶
func (x *QueryResult) GetRows() []*Row
func (*QueryResult) GetStatus ¶
func (x *QueryResult) GetStatus() *status.Status
func (*QueryResult) ProtoMessage ¶
func (*QueryResult) ProtoMessage()
func (*QueryResult) ProtoReflect ¶
func (x *QueryResult) ProtoReflect() protoreflect.Message
func (*QueryResult) Reset ¶
func (x *QueryResult) Reset()
func (*QueryResult) String ¶
func (x *QueryResult) String() string
type ReadPoolAutoScaleConfig ¶
type ReadPoolAutoScaleConfig struct {
// Indicates whether read pool auto scaling is enabled.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Minimum number of read pool nodes to be maintained.
MinNodeCount *int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3,oneof" json:"min_node_count,omitempty"`
// Maximum number of read pool nodes to be maintained.
MaxNodeCount *int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3,oneof" json:"max_node_count,omitempty"`
// Optional. Target metrics for read pool auto scaling.
TargetMetrics []*ReadPoolAutoScaleConfig_TargetMetric `protobuf:"bytes,4,rep,name=target_metrics,json=targetMetrics,proto3" json:"target_metrics,omitempty"`
// Indicates whether read pool auto scaling supports scale in operations
// (removing nodes).
DisableScaleIn *bool `protobuf:"varint,5,opt,name=disable_scale_in,json=disableScaleIn,proto3,oneof" json:"disable_scale_in,omitempty"`
// The cooldown period for scale in operations.
ScaleInCooldownSeconds *int32 `` /* 138-byte string literal not displayed */
// The cooldown period for scale out operations.
ScaleOutCooldownSeconds *int32 `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
The read pool auto-scale configuration.
func (*ReadPoolAutoScaleConfig) Descriptor
deprecated
func (*ReadPoolAutoScaleConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReadPoolAutoScaleConfig.ProtoReflect.Descriptor instead.
func (*ReadPoolAutoScaleConfig) GetDisableScaleIn ¶
func (x *ReadPoolAutoScaleConfig) GetDisableScaleIn() bool
func (*ReadPoolAutoScaleConfig) GetEnabled ¶
func (x *ReadPoolAutoScaleConfig) GetEnabled() bool
func (*ReadPoolAutoScaleConfig) GetMaxNodeCount ¶
func (x *ReadPoolAutoScaleConfig) GetMaxNodeCount() int32
func (*ReadPoolAutoScaleConfig) GetMinNodeCount ¶
func (x *ReadPoolAutoScaleConfig) GetMinNodeCount() int32
func (*ReadPoolAutoScaleConfig) GetScaleInCooldownSeconds ¶
func (x *ReadPoolAutoScaleConfig) GetScaleInCooldownSeconds() int32
func (*ReadPoolAutoScaleConfig) GetScaleOutCooldownSeconds ¶
func (x *ReadPoolAutoScaleConfig) GetScaleOutCooldownSeconds() int32
func (*ReadPoolAutoScaleConfig) GetTargetMetrics ¶
func (x *ReadPoolAutoScaleConfig) GetTargetMetrics() []*ReadPoolAutoScaleConfig_TargetMetric
func (*ReadPoolAutoScaleConfig) ProtoMessage ¶
func (*ReadPoolAutoScaleConfig) ProtoMessage()
func (*ReadPoolAutoScaleConfig) ProtoReflect ¶
func (x *ReadPoolAutoScaleConfig) ProtoReflect() protoreflect.Message
func (*ReadPoolAutoScaleConfig) Reset ¶
func (x *ReadPoolAutoScaleConfig) Reset()
func (*ReadPoolAutoScaleConfig) String ¶
func (x *ReadPoolAutoScaleConfig) String() string
type ReadPoolAutoScaleConfig_TargetMetric ¶
type ReadPoolAutoScaleConfig_TargetMetric struct {
// The metric name to be used for auto scaling.
Metric *string `protobuf:"bytes,1,opt,name=metric,proto3,oneof" json:"metric,omitempty"`
// The target value for the metric.
TargetValue *float32 `protobuf:"fixed32,2,opt,name=target_value,json=targetValue,proto3,oneof" json:"target_value,omitempty"`
// contains filtered or unexported fields
}
Target metric for read pool auto scaling.
func (*ReadPoolAutoScaleConfig_TargetMetric) Descriptor
deprecated
func (*ReadPoolAutoScaleConfig_TargetMetric) Descriptor() ([]byte, []int)
Deprecated: Use ReadPoolAutoScaleConfig_TargetMetric.ProtoReflect.Descriptor instead.
func (*ReadPoolAutoScaleConfig_TargetMetric) GetMetric ¶
func (x *ReadPoolAutoScaleConfig_TargetMetric) GetMetric() string
func (*ReadPoolAutoScaleConfig_TargetMetric) GetTargetValue ¶
func (x *ReadPoolAutoScaleConfig_TargetMetric) GetTargetValue() float32
func (*ReadPoolAutoScaleConfig_TargetMetric) ProtoMessage ¶
func (*ReadPoolAutoScaleConfig_TargetMetric) ProtoMessage()
func (*ReadPoolAutoScaleConfig_TargetMetric) ProtoReflect ¶
func (x *ReadPoolAutoScaleConfig_TargetMetric) ProtoReflect() protoreflect.Message
func (*ReadPoolAutoScaleConfig_TargetMetric) Reset ¶
func (x *ReadPoolAutoScaleConfig_TargetMetric) Reset()
func (*ReadPoolAutoScaleConfig_TargetMetric) String ¶
func (x *ReadPoolAutoScaleConfig_TargetMetric) String() string
type ReplicaConfiguration ¶
type ReplicaConfiguration struct {
// This is always `sql#replicaConfiguration`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// MySQL specific configuration when replicating from a MySQL on-premises
// primary instance. Replication configuration information such as the
// username, password, certificates, and keys are not stored in the instance
// metadata. The configuration information is used only to set up the
// replication connection and is stored by MySQL in a file named
// `master.info` in the data directory.
MysqlReplicaConfiguration *MySqlReplicaConfiguration `` /* 138-byte string literal not displayed */
// Specifies if the replica is the failover target. If the field is set to
// `true` the replica will be designated as a failover replica. In case the
// primary instance fails, the replica instance will be promoted as the new
// primary instance. Only one replica can be specified as failover target, and
// the replica has to be in different zone with the primary instance.
FailoverTarget *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=failover_target,json=failoverTarget,proto3" json:"failover_target,omitempty"`
// 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 *wrapperspb.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() *wrapperspb.BoolValue
func (*ReplicaConfiguration) GetFailoverTarget ¶
func (x *ReplicaConfiguration) GetFailoverTarget() *wrapperspb.BoolValue
func (*ReplicaConfiguration) GetKind ¶
func (x *ReplicaConfiguration) GetKind() string
func (*ReplicaConfiguration) GetMysqlReplicaConfiguration ¶
func (x *ReplicaConfiguration) GetMysqlReplicaConfiguration() *MySqlReplicaConfiguration
func (*ReplicaConfiguration) ProtoMessage ¶
func (*ReplicaConfiguration) ProtoMessage()
func (*ReplicaConfiguration) ProtoReflect ¶
func (x *ReplicaConfiguration) ProtoReflect() protoreflect.Message
func (*ReplicaConfiguration) Reset ¶
func (x *ReplicaConfiguration) Reset()
func (*ReplicaConfiguration) String ¶
func (x *ReplicaConfiguration) String() string
type ReplicationCluster ¶
type ReplicationCluster struct {
// Output only. If set, this field 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, then the DNS endpoint
// points to this instance. After a switchover or replica failover operation,
// 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 doesn't have a DR replica yet or the DR replica is
// 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. Applicable to MySQL and PostgreSQL.
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 ResolveConnectSettingsRequest ¶
type ResolveConnectSettingsRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
DnsName string `protobuf:"bytes,1,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"`
// Required. The region of the instance.
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
Connect settings retrieval request.
func (*ResolveConnectSettingsRequest) Descriptor
deprecated
func (*ResolveConnectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveConnectSettingsRequest.ProtoReflect.Descriptor instead.
func (*ResolveConnectSettingsRequest) GetDnsName ¶
func (x *ResolveConnectSettingsRequest) GetDnsName() string
func (*ResolveConnectSettingsRequest) GetLocation ¶
func (x *ResolveConnectSettingsRequest) GetLocation() string
func (*ResolveConnectSettingsRequest) ProtoMessage ¶
func (*ResolveConnectSettingsRequest) ProtoMessage()
func (*ResolveConnectSettingsRequest) ProtoReflect ¶
func (x *ResolveConnectSettingsRequest) ProtoReflect() protoreflect.Message
func (*ResolveConnectSettingsRequest) Reset ¶
func (x *ResolveConnectSettingsRequest) Reset()
func (*ResolveConnectSettingsRequest) String ¶
func (x *ResolveConnectSettingsRequest) 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 RotateEntraIdCertificateContext ¶
type RotateEntraIdCertificateContext struct {
// Optional. This is always `sql#rotateEntraIdCertificateContext`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Optional. The fingerprint of the next version to be rotated to. If left
// unspecified, will be rotated to the most recently added Entra ID
// certificate version.
NextVersion string `protobuf:"bytes,2,opt,name=next_version,json=nextVersion,proto3" json:"next_version,omitempty"`
// contains filtered or unexported fields
}
Instance rotate Entra ID certificate context.
func (*RotateEntraIdCertificateContext) Descriptor
deprecated
func (*RotateEntraIdCertificateContext) Descriptor() ([]byte, []int)
Deprecated: Use RotateEntraIdCertificateContext.ProtoReflect.Descriptor instead.
func (*RotateEntraIdCertificateContext) GetKind ¶
func (x *RotateEntraIdCertificateContext) GetKind() string
func (*RotateEntraIdCertificateContext) GetNextVersion ¶
func (x *RotateEntraIdCertificateContext) GetNextVersion() string
func (*RotateEntraIdCertificateContext) ProtoMessage ¶
func (*RotateEntraIdCertificateContext) ProtoMessage()
func (*RotateEntraIdCertificateContext) ProtoReflect ¶
func (x *RotateEntraIdCertificateContext) ProtoReflect() protoreflect.Message
func (*RotateEntraIdCertificateContext) Reset ¶
func (x *RotateEntraIdCertificateContext) Reset()
func (*RotateEntraIdCertificateContext) String ¶
func (x *RotateEntraIdCertificateContext) 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 RotateServerCertificateContext ¶
type RotateServerCertificateContext struct {
// Optional. This is always `sql#rotateServerCertificateContext`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Optional. The fingerprint of the next version to be rotated to. If left
// unspecified, will be rotated to the most recently added server certificate
// 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 certificate context.
func (*RotateServerCertificateContext) Descriptor
deprecated
func (*RotateServerCertificateContext) Descriptor() ([]byte, []int)
Deprecated: Use RotateServerCertificateContext.ProtoReflect.Descriptor instead.
func (*RotateServerCertificateContext) GetKind ¶
func (x *RotateServerCertificateContext) GetKind() string
func (*RotateServerCertificateContext) GetNextVersion ¶
func (x *RotateServerCertificateContext) GetNextVersion() string
func (*RotateServerCertificateContext) ProtoMessage ¶
func (*RotateServerCertificateContext) ProtoMessage()
func (*RotateServerCertificateContext) ProtoReflect ¶
func (x *RotateServerCertificateContext) ProtoReflect() protoreflect.Message
func (*RotateServerCertificateContext) Reset ¶
func (x *RotateServerCertificateContext) Reset()
func (*RotateServerCertificateContext) String ¶
func (x *RotateServerCertificateContext) String() string
type Row ¶
type Row struct {
// The values for the row.
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
Contains the values for a row.
func (*Row) Descriptor
deprecated
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type SelectedObjects ¶
type SelectedObjects struct {
// Required. The name of the database to migrate.
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
// contains filtered or unexported fields
}
A list of objects that the user selects for replication from an external source instance.
func (*SelectedObjects) Descriptor
deprecated
func (*SelectedObjects) Descriptor() ([]byte, []int)
Deprecated: Use SelectedObjects.ProtoReflect.Descriptor instead.
func (*SelectedObjects) GetDatabase ¶
func (x *SelectedObjects) GetDatabase() string
func (*SelectedObjects) ProtoMessage ¶
func (*SelectedObjects) ProtoMessage()
func (*SelectedObjects) ProtoReflect ¶
func (x *SelectedObjects) ProtoReflect() protoreflect.Message
func (*SelectedObjects) Reset ¶
func (x *SelectedObjects) Reset()
func (*SelectedObjects) String ¶
func (x *SelectedObjects) String() string
type SessionMetadata ¶
type SessionMetadata struct {
// The features supported by the server for this session. This field is used
// by the client to determine which features are available on the server.
// The features supported by the server for this session.
SupportedFeatures []SqlDataFeature `` /* 165-byte string literal not displayed */
// contains filtered or unexported fields
}
Metadata from the server to the client about the session. The server will always send this as the first message
func (*SessionMetadata) Descriptor
deprecated
func (*SessionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SessionMetadata.ProtoReflect.Descriptor instead.
func (*SessionMetadata) GetSupportedFeatures ¶
func (x *SessionMetadata) GetSupportedFeatures() []SqlDataFeature
func (*SessionMetadata) ProtoMessage ¶
func (*SessionMetadata) ProtoMessage()
func (*SessionMetadata) ProtoReflect ¶
func (x *SessionMetadata) ProtoReflect() protoreflect.Message
func (*SessionMetadata) Reset ¶
func (x *SessionMetadata) Reset()
func (*SessionMetadata) String ¶
func (x *SessionMetadata) String() string
type Settings ¶
type Settings struct {
// The version of instance settings. This is a required field for update
// method to make sure concurrent updates are handled properly. During update,
// use the most recent settingsVersion value for this instance and do not try
// to update this value.
SettingsVersion *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=settings_version,json=settingsVersion,proto3" json:"settings_version,omitempty"`
// The App Engine app IDs that can access this instance.
// (Deprecated) Applied to First Generation instances only.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
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 `` /* 165-byte string literal not displayed */
// Availability type. Potential values:
// * `ZONAL`: The instance serves data from only one zone. Outages in that
// zone affect data accessibility.
// * `REGIONAL`: The instance can serve data from more than one zone in a
// region (it is highly available)./
//
// For more information, see [Overview of the High Availability
// Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).
AvailabilityType SqlAvailabilityType `` /* 160-byte string literal not displayed */
// The pricing plan for this instance. This can be either `PER_USE` or
// `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
PricingPlan SqlPricingPlan `` /* 140-byte string literal not displayed */
// The type of replication this instance uses. This can be either
// `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
// applicable to First Generation instances.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
ReplicationType SqlReplicationType `` /* 156-byte string literal not displayed */
// The maximum size to which storage capacity can be automatically increased.
// The default value is 0, which specifies that there is no limit.
StorageAutoResizeLimit *wrapperspb.Int64Value `` /* 131-byte string literal not displayed */
// The activation policy specifies when the instance is activated; it is
// applicable only when the instance state is RUNNABLE. Valid values:
// * `ALWAYS`: The instance is on, and remains so even in the absence of
// connection requests.
// * `NEVER`: The instance is off; it is not activated, even if a
// connection request arrives.
ActivationPolicy Settings_SqlActivationPolicy `` /* 170-byte string literal not displayed */
// The settings for IP Management. This allows to enable or disable the
// instance IP and manage which external networks can connect to the instance.
// The IPv4 address cannot be disabled for Second Generation instances.
IpConfiguration *IpConfiguration `protobuf:"bytes,11,opt,name=ip_configuration,json=ipConfiguration,proto3" json:"ip_configuration,omitempty"`
// Configuration to increase storage size automatically. The default value is
// true.
StorageAutoResize *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=storage_auto_resize,json=storageAutoResize,proto3" json:"storage_auto_resize,omitempty"`
// The location preference settings. This allows the instance to be located as
// near as possible to either an App Engine app or Compute Engine zone for
// better performance. App Engine co-location was only applicable to First
// Generation instances.
LocationPreference *LocationPreference `protobuf:"bytes,13,opt,name=location_preference,json=locationPreference,proto3" json:"location_preference,omitempty"`
// The database flags passed to the instance at startup.
DatabaseFlags []*DatabaseFlags `protobuf:"bytes,14,rep,name=database_flags,json=databaseFlags,proto3" json:"database_flags,omitempty"`
// The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
// First Generation instances.
DataDiskType SqlDataDiskType `` /* 147-byte string literal not displayed */
// The maintenance window for this instance. This specifies when the instance
// can be restarted for maintenance purposes.
MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,16,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
// The daily backup configuration for the instance.
BackupConfiguration *BackupConfiguration `protobuf:"bytes,17,opt,name=backup_configuration,json=backupConfiguration,proto3" json:"backup_configuration,omitempty"`
// Configuration specific to read replica instances. Indicates whether
// replication is enabled or not. WARNING: Changing this restarts the
// instance.
DatabaseReplicationEnabled *wrapperspb.BoolValue `` /* 142-byte string literal not displayed */
// Configuration specific to read replica instances. Indicates whether
// database flags for crash-safe replication are enabled. This property was
// only applicable to First Generation instances.
//
// Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
CrashSafeReplicationEnabled *wrapperspb.BoolValue `` /* 147-byte string literal not displayed */
// The size of data disk, in GB. The data disk size minimum is 10GB.
DataDiskSizeGb *wrapperspb.Int64Value `protobuf:"bytes,20,opt,name=data_disk_size_gb,json=dataDiskSizeGb,proto3" json:"data_disk_size_gb,omitempty"`
// Active Directory configuration, relevant only for Cloud SQL for SQL Server.
ActiveDirectoryConfig *SqlActiveDirectoryConfig `` /* 127-byte string literal not displayed */
// The name of server Instance collation.
Collation string `protobuf:"bytes,23,opt,name=collation,proto3" json:"collation,omitempty"`
// Deny maintenance periods
DenyMaintenancePeriods []*DenyMaintenancePeriod `` /* 130-byte string literal not displayed */
// Insights configuration, for now relevant only for Postgres.
InsightsConfig *InsightsConfig `protobuf:"bytes,25,opt,name=insights_config,json=insightsConfig,proto3" json:"insights_config,omitempty"`
// The local user password validation policy of the instance.
PasswordValidationPolicy *PasswordValidationPolicy `` /* 136-byte string literal not displayed */
// SQL Server specific audit configuration.
SqlServerAuditConfig *SqlServerAuditConfig `` /* 126-byte string literal not displayed */
// Optional. The edition type of the Cloud SQL instance.
Edition Settings_Edition `protobuf:"varint,38,opt,name=edition,proto3,enum=google.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 `` /* 183-byte string literal not displayed */
// Configuration to protect against accidental instance deletion.
DeletionProtectionEnabled *wrapperspb.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. Configuration value for recreation of replica after certain
// replication lag.
ReplicationLagMaxSeconds *wrapperspb.Int32Value `` /* 138-byte string literal not displayed */
// 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 MySQL and Cloud SQL for PostgreSQL instances.
EnableGoogleMlIntegration *wrapperspb.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 *wrapperspb.BoolValue `` /* 139-byte string literal not displayed */
// Optional. When this parameter is set to true, Cloud SQL retains backups of
// the instance even after the instance is deleted. The ON_DEMAND backup will
// be retained until customer deletes the backup or the project. The AUTOMATED
// backup will be retained based on the backups retention setting.
RetainBackupsOnDelete *wrapperspb.BoolValue `` /* 129-byte string literal not displayed */
// Optional. Provisioned number of I/O operations per second for the data
// disk. This field is only used for hyperdisk-balanced disk types.
DataDiskProvisionedIops *int64 `` /* 142-byte string literal not displayed */
// Optional. Provisioned throughput measured in MiB per second for the data
// disk. This field is only used for hyperdisk-balanced disk types.
DataDiskProvisionedThroughput *int64 `` /* 160-byte string literal not displayed */
// Optional. The managed connection pooling configuration for the instance.
ConnectionPoolConfig *ConnectionPoolConfig `` /* 130-byte string literal not displayed */
// Optional. The final backup configuration for the instance.
FinalBackupConfig *FinalBackupConfig `protobuf:"bytes,47,opt,name=final_backup_config,json=finalBackupConfig,proto3,oneof" json:"final_backup_config,omitempty"`
// Optional. The read pool auto-scale configuration for the instance.
ReadPoolAutoScaleConfig *ReadPoolAutoScaleConfig `` /* 143-byte string literal not displayed */
// Optional. Configures whether the replica is in accelerated mode. This
// feature is in private preview and requires allowlisting to take effect.
AcceleratedReplicaMode *wrapperspb.BoolValue `` /* 130-byte string literal not displayed */
// Optional. Cloud SQL for MySQL auto-upgrade configuration. When this
// parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor
// versions. The MySQL version must be 8.0.35 or higher.
AutoUpgradeEnabled *bool `protobuf:"varint,50,opt,name=auto_upgrade_enabled,json=autoUpgradeEnabled,proto3,oneof" json:"auto_upgrade_enabled,omitempty"`
// Optional. The Microsoft Entra ID configuration for the SQL Server instance.
EntraidConfig *SqlServerEntraIdConfig `protobuf:"bytes,52,opt,name=entraid_config,json=entraidConfig,proto3" json:"entraid_config,omitempty"`
// This parameter controls whether to allow using ExecuteSql API to connect to
// the instance. Not allowed by default.
DataApiAccess *Settings_DataApiAccess `` /* 163-byte string literal not displayed */
// Optional. Configuration for Performance Capture, provides diagnostic
// metrics during high load situations.
PerformanceCaptureConfig *PerformanceCaptureConfig `` /* 136-byte string literal not displayed */
// contains filtered or unexported fields
}
Database instance settings.
func (*Settings) Descriptor
deprecated
func (*Settings) GetAcceleratedReplicaMode ¶
func (x *Settings) GetAcceleratedReplicaMode() *wrapperspb.BoolValue
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) GetAutoUpgradeEnabled ¶
func (*Settings) GetAvailabilityType ¶
func (x *Settings) GetAvailabilityType() SqlAvailabilityType
func (*Settings) GetBackupConfiguration ¶
func (x *Settings) GetBackupConfiguration() *BackupConfiguration
func (*Settings) GetCollation ¶
func (*Settings) GetConnectionPoolConfig ¶
func (x *Settings) GetConnectionPoolConfig() *ConnectionPoolConfig
func (*Settings) GetConnectorEnforcement ¶
func (x *Settings) GetConnectorEnforcement() Settings_ConnectorEnforcement
func (*Settings) GetCrashSafeReplicationEnabled
deprecated
func (x *Settings) GetCrashSafeReplicationEnabled() *wrapperspb.BoolValue
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*Settings) GetDataApiAccess ¶
func (x *Settings) GetDataApiAccess() Settings_DataApiAccess
func (*Settings) GetDataCacheConfig ¶
func (x *Settings) GetDataCacheConfig() *DataCacheConfig
func (*Settings) GetDataDiskProvisionedIops ¶
func (*Settings) GetDataDiskProvisionedThroughput ¶
func (*Settings) GetDataDiskSizeGb ¶
func (x *Settings) GetDataDiskSizeGb() *wrapperspb.Int64Value
func (*Settings) GetDataDiskType ¶
func (x *Settings) GetDataDiskType() SqlDataDiskType
func (*Settings) GetDatabaseFlags ¶
func (x *Settings) GetDatabaseFlags() []*DatabaseFlags
func (*Settings) GetDatabaseReplicationEnabled ¶
func (x *Settings) GetDatabaseReplicationEnabled() *wrapperspb.BoolValue
func (*Settings) GetDeletionProtectionEnabled ¶
func (x *Settings) GetDeletionProtectionEnabled() *wrapperspb.BoolValue
func (*Settings) GetDenyMaintenancePeriods ¶
func (x *Settings) GetDenyMaintenancePeriods() []*DenyMaintenancePeriod
func (*Settings) GetEdition ¶
func (x *Settings) GetEdition() Settings_Edition
func (*Settings) GetEnableDataplexIntegration ¶
func (x *Settings) GetEnableDataplexIntegration() *wrapperspb.BoolValue
func (*Settings) GetEnableGoogleMlIntegration ¶
func (x *Settings) GetEnableGoogleMlIntegration() *wrapperspb.BoolValue
func (*Settings) GetEntraidConfig ¶
func (x *Settings) GetEntraidConfig() *SqlServerEntraIdConfig
func (*Settings) GetFinalBackupConfig ¶
func (x *Settings) GetFinalBackupConfig() *FinalBackupConfig
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) GetPerformanceCaptureConfig ¶
func (x *Settings) GetPerformanceCaptureConfig() *PerformanceCaptureConfig
func (*Settings) GetPricingPlan ¶
func (x *Settings) GetPricingPlan() SqlPricingPlan
func (*Settings) GetReadPoolAutoScaleConfig ¶
func (x *Settings) GetReadPoolAutoScaleConfig() *ReadPoolAutoScaleConfig
func (*Settings) GetReplicationLagMaxSeconds ¶
func (x *Settings) GetReplicationLagMaxSeconds() *wrapperspb.Int32Value
func (*Settings) GetReplicationType
deprecated
func (x *Settings) GetReplicationType() SqlReplicationType
Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto.
func (*Settings) GetRetainBackupsOnDelete ¶
func (x *Settings) GetRetainBackupsOnDelete() *wrapperspb.BoolValue
func (*Settings) GetSettingsVersion ¶
func (x *Settings) GetSettingsVersion() *wrapperspb.Int64Value
func (*Settings) GetSqlServerAuditConfig ¶
func (x *Settings) GetSqlServerAuditConfig() *SqlServerAuditConfig
func (*Settings) GetStorageAutoResize ¶
func (x *Settings) GetStorageAutoResize() *wrapperspb.BoolValue
func (*Settings) GetStorageAutoResizeLimit ¶
func (x *Settings) GetStorageAutoResizeLimit() *wrapperspb.Int64Value
func (*Settings) 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_DataApiAccess ¶
type Settings_DataApiAccess int32
ExecuteSql API's access to the instance.
const ( // Unspecified, effectively the same as `DISALLOW_DATA_API`. Settings_DATA_API_ACCESS_UNSPECIFIED Settings_DataApiAccess = 0 // Disallow using ExecuteSql API to connect to the instance. Settings_DISALLOW_DATA_API Settings_DataApiAccess = 1 // Allow using ExecuteSql API to connect to the instance. For private IP // instances, this allows authorized users to access the instance from // the public internet using ExecuteSql API. Settings_ALLOW_DATA_API Settings_DataApiAccess = 2 )
func (Settings_DataApiAccess) Descriptor ¶
func (Settings_DataApiAccess) Descriptor() protoreflect.EnumDescriptor
func (Settings_DataApiAccess) Enum ¶
func (x Settings_DataApiAccess) Enum() *Settings_DataApiAccess
func (Settings_DataApiAccess) EnumDescriptor
deprecated
func (Settings_DataApiAccess) EnumDescriptor() ([]byte, []int)
Deprecated: Use Settings_DataApiAccess.Descriptor instead.
func (Settings_DataApiAccess) Number ¶
func (x Settings_DataApiAccess) Number() protoreflect.EnumNumber
func (Settings_DataApiAccess) String ¶
func (x Settings_DataApiAccess) String() string
func (Settings_DataApiAccess) Type ¶
func (Settings_DataApiAccess) Type() protoreflect.EnumType
type Settings_Edition ¶
type Settings_Edition int32
The list of Cloud SQL editions available to users.
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 // This instance is a Cloud SQL developer edition instance. Settings_DEVELOPER Settings_Edition = 5 )
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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"`
// Optional. The mode of the Active Directory configuration.
Mode SqlActiveDirectoryConfig_ActiveDirectoryMode `` /* 137-byte string literal not displayed */
// Optional. Domain controller IPv4 addresses used to bootstrap Active
// Directory.
DnsServers []string `protobuf:"bytes,4,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
// Optional. The secret manager key storing the administrator credential.
// (e.g., projects/{project}/secrets/{secret}).
AdminCredentialSecretName string `` /* 140-byte string literal not displayed */
// Optional. The organizational unit distinguished name. This is the full
// hierarchical path to the organizational unit.
OrganizationalUnit string `protobuf:"bytes,6,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,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) GetAdminCredentialSecretName ¶
func (x *SqlActiveDirectoryConfig) GetAdminCredentialSecretName() string
func (*SqlActiveDirectoryConfig) GetDnsServers ¶
func (x *SqlActiveDirectoryConfig) GetDnsServers() []string
func (*SqlActiveDirectoryConfig) GetDomain ¶
func (x *SqlActiveDirectoryConfig) GetDomain() string
func (*SqlActiveDirectoryConfig) GetKind ¶
func (x *SqlActiveDirectoryConfig) GetKind() string
func (*SqlActiveDirectoryConfig) GetMode ¶
func (x *SqlActiveDirectoryConfig) GetMode() SqlActiveDirectoryConfig_ActiveDirectoryMode
func (*SqlActiveDirectoryConfig) GetOrganizationalUnit ¶
func (x *SqlActiveDirectoryConfig) GetOrganizationalUnit() 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 SqlActiveDirectoryConfig_ActiveDirectoryMode ¶
type SqlActiveDirectoryConfig_ActiveDirectoryMode int32
The modes of Active Directory configuration.
const ( // Unspecified mode. SqlActiveDirectoryConfig_ACTIVE_DIRECTORY_MODE_UNSPECIFIED SqlActiveDirectoryConfig_ActiveDirectoryMode = 0 // Managed Active Directory mode. This is the fallback option to maintain // backward compatibility. SqlActiveDirectoryConfig_MANAGED_ACTIVE_DIRECTORY SqlActiveDirectoryConfig_ActiveDirectoryMode = 1 // Deprecated: Use CUSTOMER_MANAGED_ACTIVE_DIRECTORY instead. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. SqlActiveDirectoryConfig_SELF_MANAGED_ACTIVE_DIRECTORY SqlActiveDirectoryConfig_ActiveDirectoryMode = 2 // Customer-managed Active Directory mode. SqlActiveDirectoryConfig_CUSTOMER_MANAGED_ACTIVE_DIRECTORY SqlActiveDirectoryConfig_ActiveDirectoryMode = 3 )
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Descriptor ¶
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Descriptor() protoreflect.EnumDescriptor
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) EnumDescriptor
deprecated
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlActiveDirectoryConfig_ActiveDirectoryMode.Descriptor instead.
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Number ¶
func (x SqlActiveDirectoryConfig_ActiveDirectoryMode) Number() protoreflect.EnumNumber
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) String ¶
func (x SqlActiveDirectoryConfig_ActiveDirectoryMode) String() string
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Type ¶
func (SqlActiveDirectoryConfig_ActiveDirectoryMode) Type() protoreflect.EnumType
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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 // 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)
}
SqlBackupRunsServiceServer is the server API for SqlBackupRunsService service. All implementations should embed UnimplementedSqlBackupRunsServiceServer for forward compatibility
type SqlBackupsServiceClient ¶
type SqlBackupsServiceClient interface {
// Creates a backup for a Cloud SQL instance. This API can be used only to
// create on-demand backups.
CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*Operation, error)
// Retrieves a resource containing information about a backup.
GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Lists all backups associated with the project.
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// Updates the retention period and the description of the backup. You can use
// this API to update final backups only.
UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*Operation, error)
// Deletes the backup.
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*Operation, error)
}
SqlBackupsServiceClient is the client API for SqlBackupsService 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 NewSqlBackupsServiceClient ¶
func NewSqlBackupsServiceClient(cc grpc.ClientConnInterface) SqlBackupsServiceClient
type SqlBackupsServiceServer ¶
type SqlBackupsServiceServer interface {
// Creates a backup for a Cloud SQL instance. This API can be used only to
// create on-demand backups.
CreateBackup(context.Context, *CreateBackupRequest) (*Operation, error)
// Retrieves a resource containing information about a backup.
GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
// Lists all backups associated with the project.
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// Updates the retention period and the description of the backup. You can use
// this API to update final backups only.
UpdateBackup(context.Context, *UpdateBackupRequest) (*Operation, error)
// Deletes the backup.
DeleteBackup(context.Context, *DeleteBackupRequest) (*Operation, error)
}
SqlBackupsServiceServer is the server API for SqlBackupsService service. All implementations should embed UnimplementedSqlBackupsServiceServer 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)
// Retrieves connect settings about a Cloud SQL instance using the instance
// DNS name.
ResolveConnectSettings(ctx context.Context, in *ResolveConnectSettingsRequest, 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)
// Retrieves connect settings about a Cloud SQL instance using the instance
// DNS name.
ResolveConnectSettings(context.Context, *ResolveConnectSettingsRequest) (*ConnectSettings, error)
// Generates a short-lived X509 certificate containing the provided public key
// and signed by a private key specific to the target instance. Users may use
// the certificate to authenticate as themselves when connecting to the
// database.
GenerateEphemeralCert(context.Context, *GenerateEphemeralCertRequest) (*GenerateEphemeralCertResponse, error)
}
SqlConnectServiceServer is the server API for SqlConnectService service. All implementations should 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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. SqlDataDiskType_OBSOLETE_LOCAL_SSD SqlDataDiskType = 3 // A Hyperdisk Balanced data disk. SqlDataDiskType_HYPERDISK_BALANCED SqlDataDiskType = 4 )
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 SqlDataFeature ¶
type SqlDataFeature int32
The session features. The server must send the supported features in its first message to the client.
const ( // The feature is not specified. This value should not be used. SqlDataFeature_SQL_DATA_FEATURE_UNSPECIFIED SqlDataFeature = 0 // The server supports reconnecting to the session. If this feature is not // present, the client should not attempt to reconnect to the session. SqlDataFeature_SQL_DATA_FEATURE_RECONNECT SqlDataFeature = 1 )
func (SqlDataFeature) Descriptor ¶
func (SqlDataFeature) Descriptor() protoreflect.EnumDescriptor
func (SqlDataFeature) Enum ¶
func (x SqlDataFeature) Enum() *SqlDataFeature
func (SqlDataFeature) EnumDescriptor
deprecated
func (SqlDataFeature) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlDataFeature.Descriptor instead.
func (SqlDataFeature) Number ¶
func (x SqlDataFeature) Number() protoreflect.EnumNumber
func (SqlDataFeature) String ¶
func (x SqlDataFeature) String() string
func (SqlDataFeature) Type ¶
func (SqlDataFeature) Type() protoreflect.EnumType
type SqlDataServiceClient ¶
type SqlDataServiceClient interface {
// `StreamSqlData` establishes a bidirectional stream to a Cloud SQL instance,
// and then streams data to and from the instance.
//
// The first message from the client MUST be a `StreamSqlDataRequest` request
// with configuration settings, including required values for the
// `connection_settings` field. Subsequent messages from the client may
// contain the `payload` field.
//
// Messages from the server may contain the `payload` field.
//
// The `payload` fields of the request and response streams contain the raw
// data of the database's native wire protocol (e.g., PostgreSQL wire
// protocol). The database client is responsible for generating and parsing
// this data.
//
// Any errors on initial connection (e.g., connection failure, authorization
// issues, network problems) will result in the stream being terminated with
// an appropriate RPC status exception.
//
// After a successful connection is made, if an error occurs, then the server
// terminates connection and returns the appropriate RPC status exception.
//
// Add the request params headers to the request to ensure that
// the streaming request is routed to the correct service for your database.
//
// Use this format for the request params header:
//
// `x-goog-request-params`:
// location_id={location_path}&instance_id={instance_path}`
//
// `location_path` is `locations/{location_name}`
// `instance_path` is `projects/{project_name}/instances/{instance_name}`
//
// for example:
//
// `x-goog-request-params`:
// `location_id=locations/us-central1&instance_id=projects/myproject/instances/instancename`
StreamSqlData(ctx context.Context, opts ...grpc.CallOption) (SqlDataService_StreamSqlDataClient, error)
}
SqlDataServiceClient is the client API for SqlDataService 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 NewSqlDataServiceClient ¶
func NewSqlDataServiceClient(cc grpc.ClientConnInterface) SqlDataServiceClient
type SqlDataServiceServer ¶
type SqlDataServiceServer interface {
// `StreamSqlData` establishes a bidirectional stream to a Cloud SQL instance,
// and then streams data to and from the instance.
//
// The first message from the client MUST be a `StreamSqlDataRequest` request
// with configuration settings, including required values for the
// `connection_settings` field. Subsequent messages from the client may
// contain the `payload` field.
//
// Messages from the server may contain the `payload` field.
//
// The `payload` fields of the request and response streams contain the raw
// data of the database's native wire protocol (e.g., PostgreSQL wire
// protocol). The database client is responsible for generating and parsing
// this data.
//
// Any errors on initial connection (e.g., connection failure, authorization
// issues, network problems) will result in the stream being terminated with
// an appropriate RPC status exception.
//
// After a successful connection is made, if an error occurs, then the server
// terminates connection and returns the appropriate RPC status exception.
//
// Add the request params headers to the request to ensure that
// the streaming request is routed to the correct service for your database.
//
// Use this format for the request params header:
//
// `x-goog-request-params`:
// location_id={location_path}&instance_id={instance_path}`
//
// `location_path` is `locations/{location_name}`
// `instance_path` is `projects/{project_name}/instances/{instance_name}`
//
// for example:
//
// `x-goog-request-params`:
// `location_id=locations/us-central1&instance_id=projects/myproject/instances/instancename`
StreamSqlData(SqlDataService_StreamSqlDataServer) error
}
SqlDataServiceServer is the server API for SqlDataService service. All implementations should embed UnimplementedSqlDataServiceServer for forward compatibility
type SqlDataService_StreamSqlDataClient ¶
type SqlDataService_StreamSqlDataClient interface {
Send(*StreamSqlDataRequest) error
Recv() (*StreamSqlDataResponse, error)
grpc.ClientStream
}
type SqlDataService_StreamSqlDataServer ¶
type SqlDataService_StreamSqlDataServer interface {
Send(*StreamSqlDataResponse) error
Recv() (*StreamSqlDataRequest, error)
grpc.ServerStream
}
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. SqlDatabaseVersion_MYSQL_5_1 SqlDatabaseVersion = 2 // The database version is MySQL 5.5. // // Deprecated: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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 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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_resources.proto. 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 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 major version is MySQL 8.0 and the minor version is 41. SqlDatabaseVersion_MYSQL_8_0_41 SqlDatabaseVersion = 488 // The database major version is MySQL 8.0 and the minor version is 42. SqlDatabaseVersion_MYSQL_8_0_42 SqlDatabaseVersion = 489 // The database major version is MySQL 8.0 and the minor version is 43. SqlDatabaseVersion_MYSQL_8_0_43 SqlDatabaseVersion = 553 // The database major version is MySQL 8.0 and the minor version is 44. SqlDatabaseVersion_MYSQL_8_0_44 SqlDatabaseVersion = 554 // The database major version is MySQL 8.0 and the minor version is 45. SqlDatabaseVersion_MYSQL_8_0_45 SqlDatabaseVersion = 555 // The database major version is MySQL 8.0 and the minor version is 46. SqlDatabaseVersion_MYSQL_8_0_46 SqlDatabaseVersion = 556 // The database version is MySQL 8.4. SqlDatabaseVersion_MYSQL_8_4 SqlDatabaseVersion = 398 // The database version is MySQL 9.7. SqlDatabaseVersion_MYSQL_9_7 SqlDatabaseVersion = 654 // 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 PostgreSQL 17. SqlDatabaseVersion_POSTGRES_17 SqlDatabaseVersion = 408 // The database version is PostgreSQL 18. SqlDatabaseVersion_POSTGRES_18 SqlDatabaseVersion = 557 // The database version is PostgreSQL 19. SqlDatabaseVersion_POSTGRES_19 SqlDatabaseVersion = 684 // The database version is PostgreSQL 20. SqlDatabaseVersion_POSTGRES_20 SqlDatabaseVersion = 781 // 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 // The database version is SQL Server 2025 Standard. SqlDatabaseVersion_SQLSERVER_2025_STANDARD SqlDatabaseVersion = 549 // The database version is SQL Server 2025 Enterprise. SqlDatabaseVersion_SQLSERVER_2025_ENTERPRISE SqlDatabaseVersion = 550 // The database version is SQL Server 2025 Express. SqlDatabaseVersion_SQLSERVER_2025_EXPRESS SqlDatabaseVersion = 551 )
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)
}
SqlDatabasesServiceServer is the server API for SqlDatabasesService service. All implementations should 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 `` /* 152-byte string literal not displayed */
// Additional information about the error encountered.
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
// contains filtered or unexported fields
}
External primary instance migration setting error/warning.
func (*SqlExternalSyncSettingError) Descriptor
deprecated
func (*SqlExternalSyncSettingError) Descriptor() ([]byte, []int)
Deprecated: Use SqlExternalSyncSettingError.ProtoReflect.Descriptor instead.
func (*SqlExternalSyncSettingError) GetDetail ¶
func (x *SqlExternalSyncSettingError) GetDetail() string
func (*SqlExternalSyncSettingError) GetKind ¶
func (x *SqlExternalSyncSettingError) GetKind() string
func (*SqlExternalSyncSettingError) ProtoMessage ¶
func (*SqlExternalSyncSettingError) ProtoMessage()
func (*SqlExternalSyncSettingError) ProtoReflect ¶
func (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. Note that this is a warning and won't // block the migration. 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 // The source database has generated columns that can't be migrated. Please // change them to regular columns before migration. SqlExternalSyncSettingError_UNSUPPORTED_COLUMNS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 49 // The source database has users that aren't created in the replica. // First, create all users, which are in the pg_user_mappings table // of the source database, in the destination instance. Then, perform the // migration. SqlExternalSyncSettingError_USERS_NOT_CREATED_IN_REPLICA SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 50 // The selected objects include system objects that aren't supported for // migration. SqlExternalSyncSettingError_UNSUPPORTED_SYSTEM_OBJECTS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 51 // The source database has tables with the FULL or NOTHING replica identity. // Before starting your migration, either remove the identity or change it // to DEFAULT. Note that this is an error and will block the migration. SqlExternalSyncSettingError_UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 52 // The selected objects don't exist on the source instance. SqlExternalSyncSettingError_SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 53 // PSC only destination instance does not have a network attachment URI. SqlExternalSyncSettingError_PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 54 // Selected objects reference unselected objects. Based on their object type // (foreign key constraint or view), selected objects will fail during // migration. SqlExternalSyncSettingError_SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 55 // The migration will delete existing data in the replica; set // [replica_overwrite_enabled][google.cloud.sql.v1beta4.SqlInstancesStartExternalSyncRequest.replica_overwrite_enabled] // in the request to acknowledge this. This is an error. MySQL only. SqlExternalSyncSettingError_PROMPT_DELETE_EXISTING SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 56 // The migration will delete existing data in the replica; // [replica_overwrite_enabled][google.cloud.sql.v1beta4.SqlInstancesStartExternalSyncRequest.replica_overwrite_enabled] // was set in the request acknowledging this. This is a warning rather than // an error. MySQL only. SqlExternalSyncSettingError_WILL_DELETE_EXISTING SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 57 // The replication user is missing specific privileges to setup DDL // replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL. SqlExternalSyncSettingError_PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE SqlExternalSyncSettingError_SqlExternalSyncSettingErrorType = 58 )
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 // TDE certificate. SqlFileType_TDE SqlFileType = 8 )
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 SqlFlagScope ¶
type SqlFlagScope int32
Scopes of a flag describe where the flag is used.
const ( // Assume database flags if unspecified SqlFlagScope_SQL_FLAG_SCOPE_UNSPECIFIED SqlFlagScope = 0 // database flags SqlFlagScope_SQL_FLAG_SCOPE_DATABASE SqlFlagScope = 1 // connection pool configuration flags SqlFlagScope_SQL_FLAG_SCOPE_CONNECTION_POOL SqlFlagScope = 2 )
func (SqlFlagScope) Descriptor ¶
func (SqlFlagScope) Descriptor() protoreflect.EnumDescriptor
func (SqlFlagScope) Enum ¶
func (x SqlFlagScope) Enum() *SqlFlagScope
func (SqlFlagScope) EnumDescriptor
deprecated
func (SqlFlagScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlFlagScope.Descriptor instead.
func (SqlFlagScope) Number ¶
func (x SqlFlagScope) Number() protoreflect.EnumNumber
func (SqlFlagScope) String ¶
func (x SqlFlagScope) String() string
func (SqlFlagScope) Type ¶
func (SqlFlagScope) 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"`
// Optional. Specify the scope of flags to be returned by SqlFlagsListService.
// Return list of database flags if unspecified.
FlagScope *SqlFlagScope `` /* 138-byte string literal not displayed */
// 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) GetFlagScope ¶
func (x *SqlFlagsListRequest) GetFlagScope() SqlFlagScope
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)
}
SqlFlagsServiceServer is the server API for SqlFlagsService service. All implementations should 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 {
}
SqlIamPoliciesServiceServer is the server API for SqlIamPoliciesService service. All implementations should 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 // A Cloud SQL read pool. SqlInstanceType_READ_POOL_INSTANCE SqlInstanceType = 5 )
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 SqlInstancesAddEntraIdCertificateRequest ¶
type SqlInstancesAddEntraIdCertificateRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. 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
}
Request for AddEntraIdCertificate RPC.
func (*SqlInstancesAddEntraIdCertificateRequest) Descriptor
deprecated
func (*SqlInstancesAddEntraIdCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesAddEntraIdCertificateRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesAddEntraIdCertificateRequest) GetInstance ¶
func (x *SqlInstancesAddEntraIdCertificateRequest) GetInstance() string
func (*SqlInstancesAddEntraIdCertificateRequest) GetProject ¶
func (x *SqlInstancesAddEntraIdCertificateRequest) GetProject() string
func (*SqlInstancesAddEntraIdCertificateRequest) ProtoMessage ¶
func (*SqlInstancesAddEntraIdCertificateRequest) ProtoMessage()
func (*SqlInstancesAddEntraIdCertificateRequest) ProtoReflect ¶
func (x *SqlInstancesAddEntraIdCertificateRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesAddEntraIdCertificateRequest) Reset ¶
func (x *SqlInstancesAddEntraIdCertificateRequest) Reset()
func (*SqlInstancesAddEntraIdCertificateRequest) String ¶
func (x *SqlInstancesAddEntraIdCertificateRequest) 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 SqlInstancesAddServerCertificateRequest ¶
type SqlInstancesAddServerCertificateRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. 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
}
Request for AddServerCertificate RPC.
func (*SqlInstancesAddServerCertificateRequest) Descriptor
deprecated
func (*SqlInstancesAddServerCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesAddServerCertificateRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesAddServerCertificateRequest) GetInstance ¶
func (x *SqlInstancesAddServerCertificateRequest) GetInstance() string
func (*SqlInstancesAddServerCertificateRequest) GetProject ¶
func (x *SqlInstancesAddServerCertificateRequest) GetProject() string
func (*SqlInstancesAddServerCertificateRequest) ProtoMessage ¶
func (*SqlInstancesAddServerCertificateRequest) ProtoMessage()
func (*SqlInstancesAddServerCertificateRequest) ProtoReflect ¶
func (x *SqlInstancesAddServerCertificateRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesAddServerCertificateRequest) Reset ¶
func (x *SqlInstancesAddServerCertificateRequest) Reset()
func (*SqlInstancesAddServerCertificateRequest) String ¶
func (x *SqlInstancesAddServerCertificateRequest) 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 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"`
// Flag to opt-in for final backup. By default, it is turned off.
EnableFinalBackup *bool `protobuf:"varint,7,opt,name=enable_final_backup,json=enableFinalBackup,proto3,oneof" json:"enable_final_backup,omitempty"`
// Types that are valid to be assigned to Expiration:
//
// *SqlInstancesDeleteRequest_FinalBackupTtlDays
// *SqlInstancesDeleteRequest_FinalBackupExpiryTime
Expiration isSqlInstancesDeleteRequest_Expiration `protobuf_oneof:"expiration"`
// Optional. The description of the final backup.
FinalBackupDescription string `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SqlInstancesDeleteRequest) Descriptor
deprecated
func (*SqlInstancesDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesDeleteRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesDeleteRequest) GetEnableFinalBackup ¶
func (x *SqlInstancesDeleteRequest) GetEnableFinalBackup() bool
func (*SqlInstancesDeleteRequest) GetExpiration ¶
func (x *SqlInstancesDeleteRequest) GetExpiration() isSqlInstancesDeleteRequest_Expiration
func (*SqlInstancesDeleteRequest) GetFinalBackupDescription ¶
func (x *SqlInstancesDeleteRequest) GetFinalBackupDescription() string
func (*SqlInstancesDeleteRequest) GetFinalBackupExpiryTime ¶
func (x *SqlInstancesDeleteRequest) GetFinalBackupExpiryTime() *timestamppb.Timestamp
func (*SqlInstancesDeleteRequest) GetFinalBackupTtlDays ¶
func (x *SqlInstancesDeleteRequest) GetFinalBackupTtlDays() int64
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 SqlInstancesDeleteRequest_FinalBackupExpiryTime ¶
type SqlInstancesDeleteRequest_FinalBackupExpiryTime struct {
// Optional. Final Backup expiration time.
// Timestamp in UTC of when this resource is considered expired.
FinalBackupExpiryTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=final_backup_expiry_time,json=finalBackupExpiryTime,proto3,oneof"`
}
type SqlInstancesDeleteRequest_FinalBackupTtlDays ¶
type SqlInstancesDeleteRequest_FinalBackupTtlDays struct {
// Optional. Retention period of the final backup.
FinalBackupTtlDays int64 `protobuf:"varint,4,opt,name=final_backup_ttl_days,json=finalBackupTtlDays,proto3,oneof"`
}
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 SqlInstancesExecuteSqlRequest ¶
type SqlInstancesExecuteSqlRequest struct {
// Required. Database instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. 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 *ExecuteSqlPayload `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
Execute SQL statements request.
func (*SqlInstancesExecuteSqlRequest) Descriptor
deprecated
func (*SqlInstancesExecuteSqlRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesExecuteSqlRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesExecuteSqlRequest) GetBody ¶
func (x *SqlInstancesExecuteSqlRequest) GetBody() *ExecuteSqlPayload
func (*SqlInstancesExecuteSqlRequest) GetInstance ¶
func (x *SqlInstancesExecuteSqlRequest) GetInstance() string
func (*SqlInstancesExecuteSqlRequest) GetProject ¶
func (x *SqlInstancesExecuteSqlRequest) GetProject() string
func (*SqlInstancesExecuteSqlRequest) ProtoMessage ¶
func (*SqlInstancesExecuteSqlRequest) ProtoMessage()
func (*SqlInstancesExecuteSqlRequest) ProtoReflect ¶
func (x *SqlInstancesExecuteSqlRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesExecuteSqlRequest) Reset ¶
func (x *SqlInstancesExecuteSqlRequest) Reset()
func (*SqlInstancesExecuteSqlRequest) String ¶
func (x *SqlInstancesExecuteSqlRequest) String() string
type SqlInstancesExecuteSqlResponse ¶
type SqlInstancesExecuteSqlResponse struct {
// A list of notices and warnings generated during query execution.
// For PostgreSQL, this includes all notices and warnings.
// For MySQL, this includes warnings generated by the last executed statement.
// To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must
// be executed after each statement.
Messages []*SqlInstancesExecuteSqlResponse_Message `protobuf:"bytes,9,rep,name=messages,proto3" json:"messages,omitempty"`
// The additional metadata information regarding the execution of the SQL
// statements.
Metadata *Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The list of results after executing all the SQL statements.
Results []*QueryResult `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty"`
// Contains the error from the database if the SQL execution failed.
Status *status.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Execute SQL statements response.
func (*SqlInstancesExecuteSqlResponse) Descriptor
deprecated
func (*SqlInstancesExecuteSqlResponse) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesExecuteSqlResponse.ProtoReflect.Descriptor instead.
func (*SqlInstancesExecuteSqlResponse) GetMessages ¶
func (x *SqlInstancesExecuteSqlResponse) GetMessages() []*SqlInstancesExecuteSqlResponse_Message
func (*SqlInstancesExecuteSqlResponse) GetMetadata ¶
func (x *SqlInstancesExecuteSqlResponse) GetMetadata() *Metadata
func (*SqlInstancesExecuteSqlResponse) GetResults ¶
func (x *SqlInstancesExecuteSqlResponse) GetResults() []*QueryResult
func (*SqlInstancesExecuteSqlResponse) GetStatus ¶
func (x *SqlInstancesExecuteSqlResponse) GetStatus() *status.Status
func (*SqlInstancesExecuteSqlResponse) ProtoMessage ¶
func (*SqlInstancesExecuteSqlResponse) ProtoMessage()
func (*SqlInstancesExecuteSqlResponse) ProtoReflect ¶
func (x *SqlInstancesExecuteSqlResponse) ProtoReflect() protoreflect.Message
func (*SqlInstancesExecuteSqlResponse) Reset ¶
func (x *SqlInstancesExecuteSqlResponse) Reset()
func (*SqlInstancesExecuteSqlResponse) String ¶
func (x *SqlInstancesExecuteSqlResponse) String() string
type SqlInstancesExecuteSqlResponse_Message ¶
type SqlInstancesExecuteSqlResponse_Message struct {
// The full message string.
// For PostgreSQL, this is a formatted string that may include severity,
// code, and the notice/warning message.
// For MySQL, this contains the warning message.
Message *string `protobuf:"bytes,1,opt,name=message,proto3,oneof" json:"message,omitempty"`
// The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for
// MySQL).
Severity *string `protobuf:"bytes,2,opt,name=severity,proto3,oneof" json:"severity,omitempty"`
// contains filtered or unexported fields
}
Represents a notice or warning message from the database.
func (*SqlInstancesExecuteSqlResponse_Message) Descriptor
deprecated
func (*SqlInstancesExecuteSqlResponse_Message) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesExecuteSqlResponse_Message.ProtoReflect.Descriptor instead.
func (*SqlInstancesExecuteSqlResponse_Message) GetMessage ¶
func (x *SqlInstancesExecuteSqlResponse_Message) GetMessage() string
func (*SqlInstancesExecuteSqlResponse_Message) GetSeverity ¶
func (x *SqlInstancesExecuteSqlResponse_Message) GetSeverity() string
func (*SqlInstancesExecuteSqlResponse_Message) ProtoMessage ¶
func (*SqlInstancesExecuteSqlResponse_Message) ProtoMessage()
func (*SqlInstancesExecuteSqlResponse_Message) ProtoReflect ¶
func (x *SqlInstancesExecuteSqlResponse_Message) ProtoReflect() protoreflect.Message
func (*SqlInstancesExecuteSqlResponse_Message) Reset ¶
func (x *SqlInstancesExecuteSqlResponse_Message) Reset()
func (*SqlInstancesExecuteSqlResponse_Message) String ¶
func (x *SqlInstancesExecuteSqlResponse_Message) 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"`
// The timestamp used to identify the time when the source instance is
// deleted. If this instance is deleted, then you must set the timestamp.
SourceInstanceDeletionTime *timestamppb.Timestamp `` /* 149-byte string literal not displayed */
// 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) GetSourceInstanceDeletionTime ¶
func (x *SqlInstancesGetLatestRecoveryTimeRequest) GetSourceInstanceDeletionTime() *timestamppb.Timestamp
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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=latest_recovery_time,json=latestRecoveryTime,proto3" json:"latest_recovery_time,omitempty"`
// Timestamp, identifies the earliest recovery time of the source instance.
EarliestRecoveryTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=earliest_recovery_time,json=earliestRecoveryTime,proto3" json:"earliest_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) GetEarliestRecoveryTime ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetEarliestRecoveryTime() *timestamppb.Timestamp
func (*SqlInstancesGetLatestRecoveryTimeResponse) GetKind ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetKind() string
func (*SqlInstancesGetLatestRecoveryTimeResponse) GetLatestRecoveryTime ¶
func (x *SqlInstancesGetLatestRecoveryTimeResponse) GetLatestRecoveryTime() *timestamppb.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 SqlInstancesListEntraIdCertificatesRequest ¶
type SqlInstancesListEntraIdCertificatesRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. 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
}
Request message for SqlInstancesService.ListEntraIdCertificates.
func (*SqlInstancesListEntraIdCertificatesRequest) Descriptor
deprecated
func (*SqlInstancesListEntraIdCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesListEntraIdCertificatesRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesListEntraIdCertificatesRequest) GetInstance ¶
func (x *SqlInstancesListEntraIdCertificatesRequest) GetInstance() string
func (*SqlInstancesListEntraIdCertificatesRequest) GetProject ¶
func (x *SqlInstancesListEntraIdCertificatesRequest) GetProject() string
func (*SqlInstancesListEntraIdCertificatesRequest) ProtoMessage ¶
func (*SqlInstancesListEntraIdCertificatesRequest) ProtoMessage()
func (*SqlInstancesListEntraIdCertificatesRequest) ProtoReflect ¶
func (x *SqlInstancesListEntraIdCertificatesRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesListEntraIdCertificatesRequest) Reset ¶
func (x *SqlInstancesListEntraIdCertificatesRequest) Reset()
func (*SqlInstancesListEntraIdCertificatesRequest) String ¶
func (x *SqlInstancesListEntraIdCertificatesRequest) 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 SqlInstancesListServerCertificatesRequest ¶
type SqlInstancesListServerCertificatesRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. 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 (*SqlInstancesListServerCertificatesRequest) Descriptor
deprecated
func (*SqlInstancesListServerCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesListServerCertificatesRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesListServerCertificatesRequest) GetInstance ¶
func (x *SqlInstancesListServerCertificatesRequest) GetInstance() string
func (*SqlInstancesListServerCertificatesRequest) GetProject ¶
func (x *SqlInstancesListServerCertificatesRequest) GetProject() string
func (*SqlInstancesListServerCertificatesRequest) ProtoMessage ¶
func (*SqlInstancesListServerCertificatesRequest) ProtoMessage()
func (*SqlInstancesListServerCertificatesRequest) ProtoReflect ¶
func (x *SqlInstancesListServerCertificatesRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesListServerCertificatesRequest) Reset ¶
func (x *SqlInstancesListServerCertificatesRequest) Reset()
func (*SqlInstancesListServerCertificatesRequest) String ¶
func (x *SqlInstancesListServerCertificatesRequest) 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"`
// Optional. Set PSC config to the same value as the existing config to
// reconcile the PSC networking.
ReconcilePscNetworking *bool `` /* 136-byte string literal not displayed */
// Optional. Set PSC config to the same value as the existing config and force
// reconcile the PSC networking.
ReconcilePscNetworkingForce *bool `` /* 153-byte string literal not displayed */
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) GetReconcilePscNetworking ¶
func (x *SqlInstancesPatchRequest) GetReconcilePscNetworking() bool
func (*SqlInstancesPatchRequest) GetReconcilePscNetworkingForce ¶
func (x *SqlInstancesPatchRequest) GetReconcilePscNetworkingForce() bool
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 SqlInstancesPointInTimeRestoreRequest ¶
type SqlInstancesPointInTimeRestoreRequest struct {
// Required. The parent resource where you created this instance.
// Format: projects/{project}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The context for request to perform a PITR on a Google Cloud
// Backup and Disaster Recovery managed instance.
Context *PointInTimeRestoreContext `protobuf:"bytes,100,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
Request to perform a point in time restore on a Google Cloud Backup and Disaster Recovery managed instance.
func (*SqlInstancesPointInTimeRestoreRequest) Descriptor
deprecated
func (*SqlInstancesPointInTimeRestoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesPointInTimeRestoreRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesPointInTimeRestoreRequest) GetContext ¶
func (x *SqlInstancesPointInTimeRestoreRequest) GetContext() *PointInTimeRestoreContext
func (*SqlInstancesPointInTimeRestoreRequest) GetParent ¶
func (x *SqlInstancesPointInTimeRestoreRequest) GetParent() string
func (*SqlInstancesPointInTimeRestoreRequest) ProtoMessage ¶
func (*SqlInstancesPointInTimeRestoreRequest) ProtoMessage()
func (*SqlInstancesPointInTimeRestoreRequest) ProtoReflect ¶
func (x *SqlInstancesPointInTimeRestoreRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesPointInTimeRestoreRequest) Reset ¶
func (x *SqlInstancesPointInTimeRestoreRequest) Reset()
func (*SqlInstancesPointInTimeRestoreRequest) String ¶
func (x *SqlInstancesPointInTimeRestoreRequest) String() string
type SqlInstancesPreCheckMajorVersionUpgradeRequest ¶
type SqlInstancesPreCheckMajorVersionUpgradeRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. Project ID of the project that contains the instance.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Required. The context for request to perform the pre-check major version
// upgrade operation.
Body *InstancesPreCheckMajorVersionUpgradeRequest `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
Request for Pre-checks for MVU
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) Descriptor
deprecated
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesPreCheckMajorVersionUpgradeRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) GetInstance ¶
func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) GetInstance() string
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) GetProject ¶
func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) GetProject() string
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) ProtoMessage ¶
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) ProtoMessage()
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) ProtoReflect ¶
func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) Reset ¶
func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) Reset()
func (*SqlInstancesPreCheckMajorVersionUpgradeRequest) String ¶
func (x *SqlInstancesPreCheckMajorVersionUpgradeRequest) 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 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.
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 `` /* 194-byte string literal not displayed */
// Optional. Timestamp when the maintenance shall be rescheduled to if
// reschedule_type=SPECIFIC_TIME, in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
// contains filtered or unexported fields
}
func (*SqlInstancesRescheduleMaintenanceRequestBody_Reschedule) Descriptor
deprecated
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() *timestamppb.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"`
// Optional. Reset SSL mode to use.
Mode SqlInstancesResetSslConfigRequest_ResetSslMode `` /* 139-byte string literal not displayed */
// 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) GetMode ¶
func (x *SqlInstancesResetSslConfigRequest) GetMode() SqlInstancesResetSslConfigRequest_ResetSslMode
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 SqlInstancesResetSslConfigRequest_ResetSslMode ¶
type SqlInstancesResetSslConfigRequest_ResetSslMode int32
Reset SSL mode to selectively refresh the SSL materials.
const ( // Reset SSL mode is not specified. SqlInstancesResetSslConfigRequest_RESET_SSL_MODE_UNSPECIFIED SqlInstancesResetSslConfigRequest_ResetSslMode = 0 // Refresh all TLS configs. This is the default behaviour. SqlInstancesResetSslConfigRequest_ALL SqlInstancesResetSslConfigRequest_ResetSslMode = 1 // Refreshes the replication-related TLS configuration settings provided by // the primary instance. // Not applicable to on-premises replication instances. SqlInstancesResetSslConfigRequest_SYNC_FROM_PRIMARY SqlInstancesResetSslConfigRequest_ResetSslMode = 2 )
func (SqlInstancesResetSslConfigRequest_ResetSslMode) Descriptor ¶
func (SqlInstancesResetSslConfigRequest_ResetSslMode) Descriptor() protoreflect.EnumDescriptor
func (SqlInstancesResetSslConfigRequest_ResetSslMode) EnumDescriptor
deprecated
func (SqlInstancesResetSslConfigRequest_ResetSslMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlInstancesResetSslConfigRequest_ResetSslMode.Descriptor instead.
func (SqlInstancesResetSslConfigRequest_ResetSslMode) Number ¶
func (x SqlInstancesResetSslConfigRequest_ResetSslMode) Number() protoreflect.EnumNumber
func (SqlInstancesResetSslConfigRequest_ResetSslMode) String ¶
func (x SqlInstancesResetSslConfigRequest_ResetSslMode) 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 SqlInstancesRotateEntraIdCertificateRequest ¶
type SqlInstancesRotateEntraIdCertificateRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. Project ID of the project that contains the instance.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Required. Rotate Entra ID certificate request body.
Body *InstancesRotateEntraIdCertificateRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
Request message for SqlInstancesService.RotateEntraIdCertificate.
func (*SqlInstancesRotateEntraIdCertificateRequest) Descriptor
deprecated
func (*SqlInstancesRotateEntraIdCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesRotateEntraIdCertificateRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesRotateEntraIdCertificateRequest) GetBody ¶
func (x *SqlInstancesRotateEntraIdCertificateRequest) GetBody() *InstancesRotateEntraIdCertificateRequest
func (*SqlInstancesRotateEntraIdCertificateRequest) GetInstance ¶
func (x *SqlInstancesRotateEntraIdCertificateRequest) GetInstance() string
func (*SqlInstancesRotateEntraIdCertificateRequest) GetProject ¶
func (x *SqlInstancesRotateEntraIdCertificateRequest) GetProject() string
func (*SqlInstancesRotateEntraIdCertificateRequest) ProtoMessage ¶
func (*SqlInstancesRotateEntraIdCertificateRequest) ProtoMessage()
func (*SqlInstancesRotateEntraIdCertificateRequest) ProtoReflect ¶
func (x *SqlInstancesRotateEntraIdCertificateRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesRotateEntraIdCertificateRequest) Reset ¶
func (x *SqlInstancesRotateEntraIdCertificateRequest) Reset()
func (*SqlInstancesRotateEntraIdCertificateRequest) String ¶
func (x *SqlInstancesRotateEntraIdCertificateRequest) 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 SqlInstancesRotateServerCertificateRequest ¶
type SqlInstancesRotateServerCertificateRequest struct {
// Required. Cloud SQL instance ID. This does not include the project ID.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Required. Project ID of the project that contains the instance.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Required. Rotate server certificate request body.
Body *InstancesRotateServerCertificateRequest `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*SqlInstancesRotateServerCertificateRequest) Descriptor
deprecated
func (*SqlInstancesRotateServerCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlInstancesRotateServerCertificateRequest.ProtoReflect.Descriptor instead.
func (*SqlInstancesRotateServerCertificateRequest) GetBody ¶
func (x *SqlInstancesRotateServerCertificateRequest) GetBody() *InstancesRotateServerCertificateRequest
func (*SqlInstancesRotateServerCertificateRequest) GetInstance ¶
func (x *SqlInstancesRotateServerCertificateRequest) GetInstance() string
func (*SqlInstancesRotateServerCertificateRequest) GetProject ¶
func (x *SqlInstancesRotateServerCertificateRequest) GetProject() string
func (*SqlInstancesRotateServerCertificateRequest) ProtoMessage ¶
func (*SqlInstancesRotateServerCertificateRequest) ProtoMessage()
func (*SqlInstancesRotateServerCertificateRequest) ProtoReflect ¶
func (x *SqlInstancesRotateServerCertificateRequest) ProtoReflect() protoreflect.Message
func (*SqlInstancesRotateServerCertificateRequest) Reset ¶
func (x *SqlInstancesRotateServerCertificateRequest) Reset()
func (*SqlInstancesRotateServerCertificateRequest) String ¶
func (x *SqlInstancesRotateServerCertificateRequest) 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. For instances that have enabled Certificate
// Authority Service (CAS) based server CA, use AddServerCertificate to add a
// new server certificate.
AddServerCa(ctx context.Context, in *SqlInstancesAddServerCaRequest, opts ...grpc.CallOption) (*Operation, error)
// Add a new trusted server certificate version for the specified instance
// using Certificate Authority Service (CAS) server CA. Required to prepare
// for a certificate rotation. If a server certificate version was previously
// added but never used in a certificate rotation, this operation replaces
// that version. There cannot be more than one certificate version waiting to
// be rotated in. For instances not using CAS server CA, use AddServerCa
// instead.
AddServerCertificate(ctx context.Context, in *SqlInstancesAddServerCertificateRequest, opts ...grpc.CallOption) (*Operation, error)
// Adds a new Entra ID certificate for the specified instance. If an Entra ID
// certificate was previously added but never used in a certificate rotation,
// this operation replaces that version.
AddEntraIdCertificate(ctx context.Context, in *SqlInstancesAddEntraIdCertificateRequest, 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)
// Lists all versions of server certificates and certificate authorities (CAs)
// for the specified instance. There can be up to three sets of certs listed:
// the certificate that is currently in use, a future that has been added but
// not yet used to sign a certificate, and a certificate that has been rotated
// out. For instances not using Certificate Authority Service (CAS) server CA,
// use ListServerCas instead.
ListServerCertificates(ctx context.Context, in *SqlInstancesListServerCertificatesRequest, opts ...grpc.CallOption) (*InstancesListServerCertificatesResponse, error)
// Lists all versions of EntraID certificates for the specified instance.
// There can be up to three sets of certificates listed: the certificate that
// is currently in use, a future that has been added but not yet used to sign
// a certificate, and a certificate that has been rotated out.
ListEntraIdCertificates(ctx context.Context, in *SqlInstancesListEntraIdCertificatesRequest, opts ...grpc.CallOption) (*InstancesListEntraIdCertificatesResponse, 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 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. For instances
// that have enabled Certificate Authority Service (CAS) based server CA,
// use RotateServerCertificate to rotate the server certificate.
RotateServerCa(ctx context.Context, in *SqlInstancesRotateServerCaRequest, opts ...grpc.CallOption) (*Operation, error)
// Rotates the server certificate version to one previously added with the
// addServerCertificate method. For instances not using Certificate Authority
// Service (CAS) server CA, use RotateServerCa instead.
RotateServerCertificate(ctx context.Context, in *SqlInstancesRotateServerCertificateRequest, opts ...grpc.CallOption) (*Operation, error)
// Rotates the Entra Id certificate version to one previously added with the
// addEntraIdCertificate method.
RotateEntraIdCertificate(ctx context.Context, in *SqlInstancesRotateEntraIdCertificateRequest, 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)
// Execute SQL statements.
ExecuteSql(ctx context.Context, in *SqlInstancesExecuteSqlRequest, opts ...grpc.CallOption) (*SqlInstancesExecuteSqlResponse, 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)
// Execute MVU Pre-checks
PreCheckMajorVersionUpgrade(ctx context.Context, in *SqlInstancesPreCheckMajorVersionUpgradeRequest, opts ...grpc.CallOption) (*Operation, error)
// Point in time restore for an instance managed by Google Cloud Backup and
// Disaster Recovery.
PointInTimeRestore(ctx context.Context, in *SqlInstancesPointInTimeRestoreRequest, opts ...grpc.CallOption) (*Operation, error)
}
SqlInstancesServiceClient is the client API for SqlInstancesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://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. For instances that have enabled Certificate
// Authority Service (CAS) based server CA, use AddServerCertificate to add a
// new server certificate.
AddServerCa(context.Context, *SqlInstancesAddServerCaRequest) (*Operation, error)
// Add a new trusted server certificate version for the specified instance
// using Certificate Authority Service (CAS) server CA. Required to prepare
// for a certificate rotation. If a server certificate version was previously
// added but never used in a certificate rotation, this operation replaces
// that version. There cannot be more than one certificate version waiting to
// be rotated in. For instances not using CAS server CA, use AddServerCa
// instead.
AddServerCertificate(context.Context, *SqlInstancesAddServerCertificateRequest) (*Operation, error)
// Adds a new Entra ID certificate for the specified instance. If an Entra ID
// certificate was previously added but never used in a certificate rotation,
// this operation replaces that version.
AddEntraIdCertificate(context.Context, *SqlInstancesAddEntraIdCertificateRequest) (*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)
// Lists all versions of server certificates and certificate authorities (CAs)
// for the specified instance. There can be up to three sets of certs listed:
// the certificate that is currently in use, a future that has been added but
// not yet used to sign a certificate, and a certificate that has been rotated
// out. For instances not using Certificate Authority Service (CAS) server CA,
// use ListServerCas instead.
ListServerCertificates(context.Context, *SqlInstancesListServerCertificatesRequest) (*InstancesListServerCertificatesResponse, error)
// Lists all versions of EntraID certificates for the specified instance.
// There can be up to three sets of certificates listed: the certificate that
// is currently in use, a future that has been added but not yet used to sign
// a certificate, and a certificate that has been rotated out.
ListEntraIdCertificates(context.Context, *SqlInstancesListEntraIdCertificatesRequest) (*InstancesListEntraIdCertificatesResponse, 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 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. For instances
// that have enabled Certificate Authority Service (CAS) based server CA,
// use RotateServerCertificate to rotate the server certificate.
RotateServerCa(context.Context, *SqlInstancesRotateServerCaRequest) (*Operation, error)
// Rotates the server certificate version to one previously added with the
// addServerCertificate method. For instances not using Certificate Authority
// Service (CAS) server CA, use RotateServerCa instead.
RotateServerCertificate(context.Context, *SqlInstancesRotateServerCertificateRequest) (*Operation, error)
// Rotates the Entra Id certificate version to one previously added with the
// addEntraIdCertificate method.
RotateEntraIdCertificate(context.Context, *SqlInstancesRotateEntraIdCertificateRequest) (*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)
// Execute SQL statements.
ExecuteSql(context.Context, *SqlInstancesExecuteSqlRequest) (*SqlInstancesExecuteSqlResponse, 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)
// Execute MVU Pre-checks
PreCheckMajorVersionUpgrade(context.Context, *SqlInstancesPreCheckMajorVersionUpgradeRequest) (*Operation, error)
// Point in time restore for an instance managed by Google Cloud Backup and
// Disaster Recovery.
PointInTimeRestore(context.Context, *SqlInstancesPointInTimeRestoreRequest) (*Operation, error)
}
SqlInstancesServiceServer is the server API for SqlInstancesService service. All implementations should 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 `` /* 179-byte string literal not displayed */
// Whether to skip the verification step (VESS).
SkipVerification bool `protobuf:"varint,4,opt,name=skip_verification,json=skipVerification,proto3" json:"skip_verification,omitempty"`
// Types that are valid to be assigned 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 `` /* 171-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 `` /* 191-byte string literal not displayed */
// Optional. MySQL only. True if end-user has confirmed that this SES call
// will wipe replica databases overlapping with the proposed selected_objects.
// If this field is not set and there are both overlapping and additional
// databases proposed, an error will be returned.
ReplicaOverwriteEnabled bool `` /* 133-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) GetReplicaOverwriteEnabled ¶
func (x *SqlInstancesStartExternalSyncRequest) GetReplicaOverwriteEnabled() bool
func (*SqlInstancesStartExternalSyncRequest) GetSkipVerification ¶
func (x *SqlInstancesStartExternalSyncRequest) GetSkipVerification() bool
func (*SqlInstancesStartExternalSyncRequest) GetSyncConfig ¶
func (x *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 and PostgreSQL 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 *durationpb.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() *durationpb.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 `` /* 179-byte string literal not displayed */
// Optional. Flag to verify settings required by replication setup only
VerifyReplicationOnly bool `` /* 127-byte string literal not displayed */
// Types that are valid to be assigned 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 `` /* 191-byte string literal not displayed */
// Optional. Parallel level for initial data sync. Only applicable for
// PostgreSQL.
SyncParallelLevel ExternalSyncParallelLevel `` /* 171-byte string literal not displayed */
// Optional. Migrate only the specified objects from the source instance. If
// this field is empty, then migrate all objects.
SelectedObjects []*ExternalSyncSelectedObject `protobuf:"bytes,9,rep,name=selected_objects,json=selectedObjects,proto3" json:"selected_objects,omitempty"`
// 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) GetSelectedObjects ¶
func (x *SqlInstancesVerifyExternalSyncSettingsRequest) GetSelectedObjects() []*ExternalSyncSelectedObject
func (*SqlInstancesVerifyExternalSyncSettingsRequest) GetSyncConfig ¶
func (x *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 SqlMaintenanceType ¶
type SqlMaintenanceType int32
The type of maintenance to be performed on the instance.
const ( // Maintenance type is unspecified. SqlMaintenanceType_SQL_MAINTENANCE_TYPE_UNSPECIFIED SqlMaintenanceType = 0 // Indicates that a standalone instance is undergoing maintenance. The // instance can be either a primary instance or a replica. SqlMaintenanceType_INSTANCE_MAINTENANCE SqlMaintenanceType = 1 // Indicates that the primary instance and all of its replicas, including // cascading replicas, are undergoing maintenance. Maintenance is performed on // groups of replicas first, followed by the primary instance. SqlMaintenanceType_REPLICA_INCLUDED_MAINTENANCE SqlMaintenanceType = 2 // Indicates that the standalone instance is undergoing maintenance, initiated // by self-service. The instance can be either a primary instance or a // replica. SqlMaintenanceType_INSTANCE_SELF_SERVICE_MAINTENANCE SqlMaintenanceType = 3 // Indicates that the primary instance and all of its replicas are undergoing // maintenance, initiated by self-service. Maintenance is performed on groups // of replicas first, followed by the primary instance. SqlMaintenanceType_REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE SqlMaintenanceType = 4 )
func (SqlMaintenanceType) Descriptor ¶
func (SqlMaintenanceType) Descriptor() protoreflect.EnumDescriptor
func (SqlMaintenanceType) Enum ¶
func (x SqlMaintenanceType) Enum() *SqlMaintenanceType
func (SqlMaintenanceType) EnumDescriptor
deprecated
func (SqlMaintenanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SqlMaintenanceType.Descriptor instead.
func (SqlMaintenanceType) Number ¶
func (x SqlMaintenanceType) Number() protoreflect.EnumNumber
func (SqlMaintenanceType) String ¶
func (x SqlMaintenanceType) String() string
func (SqlMaintenanceType) Type ¶
func (SqlMaintenanceType) 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"`
// Optional. Region of the Cloud SQL instance.
Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,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) GetLocation ¶
func (x *SqlOperationsCancelRequest) GetLocation() string
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"`
// Optional. Region of the Cloud SQL instance.
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*SqlOperationsGetRequest) Descriptor
deprecated
func (*SqlOperationsGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SqlOperationsGetRequest.ProtoReflect.Descriptor instead.
func (*SqlOperationsGetRequest) GetLocation ¶
func (x *SqlOperationsGetRequest) GetLocation() string
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"`
// Optional. Region of the Cloud SQL instance.
Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,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) GetLocation ¶
func (x *SqlOperationsListRequest) GetLocation() 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.
// Ordinarily, this method name should be `CancelSqlOperation`.
Cancel(ctx context.Context, in *SqlOperationsCancelRequest, opts ...grpc.CallOption) (*emptypb.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.
// Ordinarily, this method name should be `CancelSqlOperation`.
Cancel(context.Context, *SqlOperationsCancelRequest) (*emptypb.Empty, error)
}
SqlOperationsServiceServer is the server API for SqlOperationsService service. All implementations should 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 *durationpb.Duration `protobuf:"bytes,3,opt,name=retention_interval,json=retentionInterval,proto3" json:"retention_interval,omitempty"`
// How often to upload generated audit files.
UploadInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=upload_interval,json=uploadInterval,proto3" json:"upload_interval,omitempty"`
// contains filtered or unexported fields
}
SQL Server specific audit configuration.
func (*SqlServerAuditConfig) Descriptor
deprecated
func (*SqlServerAuditConfig) Descriptor() ([]byte, []int)
Deprecated: Use SqlServerAuditConfig.ProtoReflect.Descriptor instead.
func (*SqlServerAuditConfig) GetBucket ¶
func (x *SqlServerAuditConfig) GetBucket() string
func (*SqlServerAuditConfig) GetKind ¶
func (x *SqlServerAuditConfig) GetKind() string
func (*SqlServerAuditConfig) GetRetentionInterval ¶
func (x *SqlServerAuditConfig) GetRetentionInterval() *durationpb.Duration
func (*SqlServerAuditConfig) GetUploadInterval ¶
func (x *SqlServerAuditConfig) GetUploadInterval() *durationpb.Duration
func (*SqlServerAuditConfig) ProtoMessage ¶
func (*SqlServerAuditConfig) ProtoMessage()
func (*SqlServerAuditConfig) ProtoReflect ¶
func (x *SqlServerAuditConfig) ProtoReflect() protoreflect.Message
func (*SqlServerAuditConfig) Reset ¶
func (x *SqlServerAuditConfig) Reset()
func (*SqlServerAuditConfig) String ¶
func (x *SqlServerAuditConfig) String() string
type SqlServerDatabaseDetails ¶
type SqlServerDatabaseDetails struct {
// The version of SQL Server with which the database is to be made compatible
CompatibilityLevel int32 `protobuf:"varint,1,opt,name=compatibility_level,json=compatibilityLevel,proto3" json:"compatibility_level,omitempty"`
// The recovery model of a SQL Server database
RecoveryModel string `protobuf:"bytes,2,opt,name=recovery_model,json=recoveryModel,proto3" json:"recovery_model,omitempty"`
// contains filtered or unexported fields
}
Represents a Sql Server database on the Cloud SQL instance.
func (*SqlServerDatabaseDetails) Descriptor
deprecated
func (*SqlServerDatabaseDetails) Descriptor() ([]byte, []int)
Deprecated: Use SqlServerDatabaseDetails.ProtoReflect.Descriptor instead.
func (*SqlServerDatabaseDetails) GetCompatibilityLevel ¶
func (x *SqlServerDatabaseDetails) GetCompatibilityLevel() int32
func (*SqlServerDatabaseDetails) GetRecoveryModel ¶
func (x *SqlServerDatabaseDetails) GetRecoveryModel() string
func (*SqlServerDatabaseDetails) ProtoMessage ¶
func (*SqlServerDatabaseDetails) ProtoMessage()
func (*SqlServerDatabaseDetails) ProtoReflect ¶
func (x *SqlServerDatabaseDetails) ProtoReflect() protoreflect.Message
func (*SqlServerDatabaseDetails) Reset ¶
func (x *SqlServerDatabaseDetails) Reset()
func (*SqlServerDatabaseDetails) String ¶
func (x *SqlServerDatabaseDetails) String() string
type SqlServerEntraIdConfig ¶
type SqlServerEntraIdConfig struct {
// Output only. This is always sql#sqlServerEntraIdConfig
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Optional. The tenant ID for the Entra ID configuration.
TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
// Optional. The application ID for the Entra ID configuration.
ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
// contains filtered or unexported fields
}
SQL Server Entra ID configuration.
func (*SqlServerEntraIdConfig) Descriptor
deprecated
func (*SqlServerEntraIdConfig) Descriptor() ([]byte, []int)
Deprecated: Use SqlServerEntraIdConfig.ProtoReflect.Descriptor instead.
func (*SqlServerEntraIdConfig) GetApplicationId ¶
func (x *SqlServerEntraIdConfig) GetApplicationId() string
func (*SqlServerEntraIdConfig) GetKind ¶
func (x *SqlServerEntraIdConfig) GetKind() string
func (*SqlServerEntraIdConfig) GetTenantId ¶
func (x *SqlServerEntraIdConfig) GetTenantId() string
func (*SqlServerEntraIdConfig) ProtoMessage ¶
func (*SqlServerEntraIdConfig) ProtoMessage()
func (*SqlServerEntraIdConfig) ProtoReflect ¶
func (x *SqlServerEntraIdConfig) ProtoReflect() protoreflect.Message
func (*SqlServerEntraIdConfig) Reset ¶
func (x *SqlServerEntraIdConfig) Reset()
func (*SqlServerEntraIdConfig) String ¶
func (x *SqlServerEntraIdConfig) 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)
}
SqlSslCertsServiceServer is the server API for SqlSslCertsService service. All implementations should embed UnimplementedSqlSslCertsServiceServer for forward compatibility
type SqlSubOperationType ¶
type SqlSubOperationType struct {
// Sub operation details corresponding to the operation type.
//
// Types that are valid to be assigned to SubOperationDetails:
//
// *SqlSubOperationType_MaintenanceType
SubOperationDetails isSqlSubOperationType_SubOperationDetails `protobuf_oneof:"sub_operation_details"`
// contains filtered or unexported fields
}
The sub operation type based on the operation type.
func (*SqlSubOperationType) Descriptor
deprecated
func (*SqlSubOperationType) Descriptor() ([]byte, []int)
Deprecated: Use SqlSubOperationType.ProtoReflect.Descriptor instead.
func (*SqlSubOperationType) GetMaintenanceType ¶
func (x *SqlSubOperationType) GetMaintenanceType() SqlMaintenanceType
func (*SqlSubOperationType) GetSubOperationDetails ¶
func (x *SqlSubOperationType) GetSubOperationDetails() isSqlSubOperationType_SubOperationDetails
func (*SqlSubOperationType) ProtoMessage ¶
func (*SqlSubOperationType) ProtoMessage()
func (*SqlSubOperationType) ProtoReflect ¶
func (x *SqlSubOperationType) ProtoReflect() protoreflect.Message
func (*SqlSubOperationType) Reset ¶
func (x *SqlSubOperationType) Reset()
func (*SqlSubOperationType) String ¶
func (x *SqlSubOperationType) String() string
type SqlSubOperationType_MaintenanceType ¶
type SqlSubOperationType_MaintenanceType struct {
// The type of maintenance to be performed on the instance.
MaintenanceType SqlMaintenanceType `` /* 128-byte string literal not displayed */
}
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:, 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 // The project is suspended due to abuse detected by Ares. SqlSuspensionReason_PROJECT_ABUSE SqlSuspensionReason = 8 )
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)
}
SqlTiersServiceServer is the server API for SqlTiersService service. All implementations should 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 an instance with a scheduled maintenance window, this maintenance // timing indicates that the maintenance update is scheduled 7 to 14 days // after the notification is sent out. Also referred to as `Week 1` (Console) // and `preview` (gcloud CLI). SqlUpdateTrack_canary SqlUpdateTrack = 1 // For an instance with a scheduled maintenance window, this maintenance // timing indicates that the maintenance update is scheduled 15 to 21 days // after the notification is sent out. Also referred to as `Week 2` (Console) // and `production` (gcloud CLI). SqlUpdateTrack_stable SqlUpdateTrack = 2 // For instance with a scheduled maintenance window, this maintenance // timing indicates that the maintenance update is scheduled 35 to 42 days // after the notification is sent out. 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)
}
SqlUsersServiceServer is the server API for SqlUsersService service. All implementations should 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"`
// Optional. List of database roles to grant to the user. body.database_roles
// will be ignored for update request.
DatabaseRoles []string `protobuf:"bytes,5,rep,name=database_roles,json=databaseRoles,proto3" json:"database_roles,omitempty"`
// Optional. Specifies whether to revoke existing roles that are not present
// in the `database_roles` field. If `false` or unset, the database roles
// specified in `database_roles` are added to the user's existing roles.
RevokeExistingRoles *bool `` /* 127-byte string literal not displayed */
// Optional. The server roles to grant to the SQL Server login. Existing
// server roles will not be revoked if revoke_existing_roles is false.
// body.server_roles will be ignored for update request.
ServerRoles []string `protobuf:"bytes,7,rep,name=server_roles,json=serverRoles,proto3" json:"server_roles,omitempty"`
// Optional. Specifies whether to revoke existing roles that are not present
// in the `server_roles` field. If `false` or unset, the server roles
// specified in `server_roles` are added to the user's existing server roles.
RevokeExistingServerRoles *bool `` /* 147-byte string literal not displayed */
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) GetDatabaseRoles ¶
func (x *SqlUsersUpdateRequest) GetDatabaseRoles() []string
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) GetRevokeExistingRoles ¶
func (x *SqlUsersUpdateRequest) GetRevokeExistingRoles() bool
func (*SqlUsersUpdateRequest) GetRevokeExistingServerRoles ¶
func (x *SqlUsersUpdateRequest) GetRevokeExistingServerRoles() bool
func (*SqlUsersUpdateRequest) GetServerRoles ¶
func (x *SqlUsersUpdateRequest) GetServerRoles() []string
func (*SqlUsersUpdateRequest) ProtoMessage ¶
func (*SqlUsersUpdateRequest) ProtoMessage()
func (*SqlUsersUpdateRequest) ProtoReflect ¶
func (x *SqlUsersUpdateRequest) ProtoReflect() protoreflect.Message
func (*SqlUsersUpdateRequest) Reset ¶
func (x *SqlUsersUpdateRequest) Reset()
func (*SqlUsersUpdateRequest) String ¶
func (x *SqlUsersUpdateRequest) String() string
type SslCert ¶
type SslCert struct {
// This is always `sql#sslCert`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Serial number, as extracted from the certificate.
CertSerialNumber string `protobuf:"bytes,2,opt,name=cert_serial_number,json=certSerialNumber,proto3" json:"cert_serial_number,omitempty"`
// PEM representation.
Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
// The time when the certificate was created in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// User supplied name. Constrained to [a-zA-Z.-_ ]+.
CommonName string `protobuf:"bytes,5,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
// The time when the certificate expires in
// [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
// `2012-11-15T16:19:00.094Z`.
ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
// Sha1 Fingerprint.
Sha1Fingerprint string `protobuf:"bytes,7,opt,name=sha1_fingerprint,json=sha1Fingerprint,proto3" json:"sha1_fingerprint,omitempty"`
// Name of the database instance.
Instance string `protobuf:"bytes,8,opt,name=instance,proto3" json:"instance,omitempty"`
// The URI of this resource.
SelfLink string `protobuf:"bytes,9,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// contains filtered or unexported fields
}
SslCerts Resource
func (*SslCert) Descriptor
deprecated
func (*SslCert) GetCertSerialNumber ¶
func (*SslCert) GetCommonName ¶
func (*SslCert) GetCreateTime ¶
func (x *SslCert) GetCreateTime() *timestamppb.Timestamp
func (*SslCert) GetExpirationTime ¶
func (x *SslCert) GetExpirationTime() *timestamppb.Timestamp
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,proto3" json:"public_key,omitempty"`
// Access token to include in the signed certificate.
AccessToken string `protobuf:"bytes,2,opt,name=access_token,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 StartSession ¶
type StartSession struct {
// Required. `location_id` is used to route the
// request to a specific region. Use the same region which was used to create
// the instance. Use the format `locations/{location}`, for example:
// `locations/us-central1`.
LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
// Required. The Cloud SQL instance resource name, for example:
// projects/example-project/instances/example-instance
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Optional. The session id, chosen by the client. This should be an
// unguessable string. If the client does not intend to reconnect to this
// session, the client may leave session_id unset.
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
Start a new session. The client must send this as the first message to the server to start a new session. The client may immediately send Data messages without waiting for a reply from the server.
func (*StartSession) Descriptor
deprecated
func (*StartSession) Descriptor() ([]byte, []int)
Deprecated: Use StartSession.ProtoReflect.Descriptor instead.
func (*StartSession) GetInstanceId ¶
func (x *StartSession) GetInstanceId() string
func (*StartSession) GetLocationId ¶
func (x *StartSession) GetLocationId() string
func (*StartSession) GetSessionId ¶
func (x *StartSession) GetSessionId() string
func (*StartSession) ProtoMessage ¶
func (*StartSession) ProtoMessage()
func (*StartSession) ProtoReflect ¶
func (x *StartSession) ProtoReflect() protoreflect.Message
func (*StartSession) Reset ¶
func (x *StartSession) Reset()
func (*StartSession) String ¶
func (x *StartSession) String() string
type StreamSqlDataRequest ¶
type StreamSqlDataRequest struct {
// Optional. Acknowledges data received by the client.
Ack *Ack `protobuf:"bytes,4,opt,name=ack,proto3" json:"ack,omitempty"`
// The message to the server.
//
// Types that are valid to be assigned to Message:
//
// *StreamSqlDataRequest_StartSession
// *StreamSqlDataRequest_ContinueSession
// *StreamSqlDataRequest_Data
// *StreamSqlDataRequest_TerminateSession
Message isStreamSqlDataRequest_Message `protobuf_oneof:"message"`
// Optional. Deprecated: Use `StartSession.instance_id` or
// `ContinueSession.instance_id` instead.
// The Cloud SQL instance resource name, for example:
// projects/example-project/instances/example-instance
InstanceId string `protobuf:"bytes,9,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
Message sent from the client to `SqlDataService`.
func (*StreamSqlDataRequest) Descriptor
deprecated
func (*StreamSqlDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamSqlDataRequest.ProtoReflect.Descriptor instead.
func (*StreamSqlDataRequest) GetAck ¶
func (x *StreamSqlDataRequest) GetAck() *Ack
func (*StreamSqlDataRequest) GetContinueSession ¶
func (x *StreamSqlDataRequest) GetContinueSession() *ContinueSession
func (*StreamSqlDataRequest) GetData ¶
func (x *StreamSqlDataRequest) GetData() *DataPacket
func (*StreamSqlDataRequest) GetInstanceId ¶
func (x *StreamSqlDataRequest) GetInstanceId() string
func (*StreamSqlDataRequest) GetMessage ¶
func (x *StreamSqlDataRequest) GetMessage() isStreamSqlDataRequest_Message
func (*StreamSqlDataRequest) GetStartSession ¶
func (x *StreamSqlDataRequest) GetStartSession() *StartSession
func (*StreamSqlDataRequest) GetTerminateSession ¶
func (x *StreamSqlDataRequest) GetTerminateSession() *TerminateSession
func (*StreamSqlDataRequest) ProtoMessage ¶
func (*StreamSqlDataRequest) ProtoMessage()
func (*StreamSqlDataRequest) ProtoReflect ¶
func (x *StreamSqlDataRequest) ProtoReflect() protoreflect.Message
func (*StreamSqlDataRequest) Reset ¶
func (x *StreamSqlDataRequest) Reset()
func (*StreamSqlDataRequest) String ¶
func (x *StreamSqlDataRequest) String() string
type StreamSqlDataRequest_ContinueSession ¶
type StreamSqlDataRequest_ContinueSession struct {
// Continues an existing session. When continuing an existing session, this
// is the first message the client sends.
ContinueSession *ContinueSession `protobuf:"bytes,6,opt,name=continue_session,json=continueSession,proto3,oneof"`
}
type StreamSqlDataRequest_Data ¶
type StreamSqlDataRequest_Data struct {
// Database data.
Data *DataPacket `protobuf:"bytes,7,opt,name=data,proto3,oneof"`
}
type StreamSqlDataRequest_StartSession ¶
type StreamSqlDataRequest_StartSession struct {
// Starts a new session. When starting a new session, this is the first
// message the client sends.
StartSession *StartSession `protobuf:"bytes,5,opt,name=start_session,json=startSession,proto3,oneof"`
}
type StreamSqlDataRequest_TerminateSession ¶
type StreamSqlDataRequest_TerminateSession struct {
// Terminates the session. This closes the connection to the database.
TerminateSession *TerminateSession `protobuf:"bytes,8,opt,name=terminate_session,json=terminateSession,proto3,oneof"`
}
type StreamSqlDataResponse ¶
type StreamSqlDataResponse struct {
// Acknowledges data received by the server.
Ack *Ack `protobuf:"bytes,2,opt,name=ack,proto3" json:"ack,omitempty"`
// A message from the server to the client.
//
// Types that are valid to be assigned to Message:
//
// *StreamSqlDataResponse_SessionMetadata
// *StreamSqlDataResponse_Data
// *StreamSqlDataResponse_TerminateSession
Message isStreamSqlDataResponse_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
Message sent from SqlDataService back to the client.
func (*StreamSqlDataResponse) Descriptor
deprecated
func (*StreamSqlDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamSqlDataResponse.ProtoReflect.Descriptor instead.
func (*StreamSqlDataResponse) GetAck ¶
func (x *StreamSqlDataResponse) GetAck() *Ack
func (*StreamSqlDataResponse) GetData ¶
func (x *StreamSqlDataResponse) GetData() *DataPacket
func (*StreamSqlDataResponse) GetMessage ¶
func (x *StreamSqlDataResponse) GetMessage() isStreamSqlDataResponse_Message
func (*StreamSqlDataResponse) GetSessionMetadata ¶
func (x *StreamSqlDataResponse) GetSessionMetadata() *SessionMetadata
func (*StreamSqlDataResponse) GetTerminateSession ¶
func (x *StreamSqlDataResponse) GetTerminateSession() *TerminateSession
func (*StreamSqlDataResponse) ProtoMessage ¶
func (*StreamSqlDataResponse) ProtoMessage()
func (*StreamSqlDataResponse) ProtoReflect ¶
func (x *StreamSqlDataResponse) ProtoReflect() protoreflect.Message
func (*StreamSqlDataResponse) Reset ¶
func (x *StreamSqlDataResponse) Reset()
func (*StreamSqlDataResponse) String ¶
func (x *StreamSqlDataResponse) String() string
type StreamSqlDataResponse_Data ¶
type StreamSqlDataResponse_Data struct {
// Data from the database.
Data *DataPacket `protobuf:"bytes,4,opt,name=data,proto3,oneof"`
}
type StreamSqlDataResponse_SessionMetadata ¶
type StreamSqlDataResponse_SessionMetadata struct {
// The first message from the server to the client, containing metadata
// about this session.
SessionMetadata *SessionMetadata `protobuf:"bytes,3,opt,name=session_metadata,json=sessionMetadata,proto3,oneof"`
}
type StreamSqlDataResponse_TerminateSession ¶
type StreamSqlDataResponse_TerminateSession struct {
// Terminates the session. This indicates that the database connection
// is closed. When the client receives this message, it should not
// attempt to reconnect.
TerminateSession *TerminateSession `protobuf:"bytes,5,opt,name=terminate_session,json=terminateSession,proto3,oneof"`
}
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 TerminateSession ¶
type TerminateSession struct {
// Required. The session termination status.
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Indicates that the session is permanently ended.
func (*TerminateSession) Descriptor
deprecated
func (*TerminateSession) Descriptor() ([]byte, []int)
Deprecated: Use TerminateSession.ProtoReflect.Descriptor instead.
func (*TerminateSession) GetStatus ¶
func (x *TerminateSession) GetStatus() *status.Status
func (*TerminateSession) ProtoMessage ¶
func (*TerminateSession) ProtoMessage()
func (*TerminateSession) ProtoReflect ¶
func (x *TerminateSession) ProtoReflect() protoreflect.Message
func (*TerminateSession) Reset ¶
func (x *TerminateSession) Reset()
func (*TerminateSession) String ¶
func (x *TerminateSession) String() string
type Tier ¶
type Tier struct {
// An identifier for the machine type, for example, `db-custom-1-3840`. For
// related information, see [Pricing](/sql/pricing).
Tier string `protobuf:"bytes,1,opt,name=tier,proto3" json:"tier,omitempty"`
// The maximum RAM usage of this tier in bytes.
RAM int64 `protobuf:"varint,2,opt,name=RAM,proto3" json:"RAM,omitempty"`
// This is always `sql#tier`.
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
// The maximum disk size of this tier in bytes.
Disk_Quota int64 `protobuf:"varint,4,opt,name=Disk_Quota,json=DiskQuota,proto3" json:"Disk_Quota,omitempty"`
// The applicable regions for this tier.
Region []string `protobuf:"bytes,5,rep,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}
A Google Cloud SQL service tier resource.
func (*Tier) Descriptor
deprecated
func (*Tier) 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 should 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 UnimplementedSqlBackupsServiceServer ¶
type UnimplementedSqlBackupsServiceServer struct {
}
UnimplementedSqlBackupsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSqlBackupsServiceServer) CreateBackup ¶
func (UnimplementedSqlBackupsServiceServer) CreateBackup(context.Context, *CreateBackupRequest) (*Operation, error)
func (UnimplementedSqlBackupsServiceServer) DeleteBackup ¶
func (UnimplementedSqlBackupsServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*Operation, error)
func (UnimplementedSqlBackupsServiceServer) GetBackup ¶
func (UnimplementedSqlBackupsServiceServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (UnimplementedSqlBackupsServiceServer) ListBackups ¶
func (UnimplementedSqlBackupsServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (UnimplementedSqlBackupsServiceServer) UpdateBackup ¶
func (UnimplementedSqlBackupsServiceServer) UpdateBackup(context.Context, *UpdateBackupRequest) (*Operation, error)
type UnimplementedSqlConnectServiceServer ¶
type UnimplementedSqlConnectServiceServer struct {
}
UnimplementedSqlConnectServiceServer should 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)
func (UnimplementedSqlConnectServiceServer) ResolveConnectSettings ¶
func (UnimplementedSqlConnectServiceServer) ResolveConnectSettings(context.Context, *ResolveConnectSettingsRequest) (*ConnectSettings, error)
type UnimplementedSqlDataServiceServer ¶
type UnimplementedSqlDataServiceServer struct {
}
UnimplementedSqlDataServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSqlDataServiceServer) StreamSqlData ¶
func (UnimplementedSqlDataServiceServer) StreamSqlData(SqlDataService_StreamSqlDataServer) error
type UnimplementedSqlDatabasesServiceServer ¶
type UnimplementedSqlDatabasesServiceServer struct {
}
UnimplementedSqlDatabasesServiceServer should 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 should be embedded to have forward compatible implementations.
func (UnimplementedSqlFlagsServiceServer) List ¶
func (UnimplementedSqlFlagsServiceServer) List(context.Context, *SqlFlagsListRequest) (*FlagsListResponse, error)
type UnimplementedSqlIamPoliciesServiceServer ¶
type UnimplementedSqlIamPoliciesServiceServer struct {
}
UnimplementedSqlIamPoliciesServiceServer should be embedded to have forward compatible implementations.
type UnimplementedSqlInstancesServiceServer ¶
type UnimplementedSqlInstancesServiceServer struct {
}
UnimplementedSqlInstancesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSqlInstancesServiceServer) AcquireSsrsLease ¶
func (UnimplementedSqlInstancesServiceServer) AcquireSsrsLease(context.Context, *SqlInstancesAcquireSsrsLeaseRequest) (*SqlInstancesAcquireSsrsLeaseResponse, error)
func (UnimplementedSqlInstancesServiceServer) AddEntraIdCertificate ¶
func (UnimplementedSqlInstancesServiceServer) AddEntraIdCertificate(context.Context, *SqlInstancesAddEntraIdCertificateRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) AddServerCa ¶
func (UnimplementedSqlInstancesServiceServer) AddServerCa(context.Context, *SqlInstancesAddServerCaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) AddServerCertificate ¶
func (UnimplementedSqlInstancesServiceServer) AddServerCertificate(context.Context, *SqlInstancesAddServerCertificateRequest) (*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) ExecuteSql ¶
func (UnimplementedSqlInstancesServiceServer) ExecuteSql(context.Context, *SqlInstancesExecuteSqlRequest) (*SqlInstancesExecuteSqlResponse, 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) ListEntraIdCertificates ¶
func (UnimplementedSqlInstancesServiceServer) ListEntraIdCertificates(context.Context, *SqlInstancesListEntraIdCertificatesRequest) (*InstancesListEntraIdCertificatesResponse, error)
func (UnimplementedSqlInstancesServiceServer) ListServerCas ¶
func (UnimplementedSqlInstancesServiceServer) ListServerCas(context.Context, *SqlInstancesListServerCasRequest) (*InstancesListServerCasResponse, error)
func (UnimplementedSqlInstancesServiceServer) ListServerCertificates ¶
func (UnimplementedSqlInstancesServiceServer) ListServerCertificates(context.Context, *SqlInstancesListServerCertificatesRequest) (*InstancesListServerCertificatesResponse, 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) PointInTimeRestore ¶
func (UnimplementedSqlInstancesServiceServer) PointInTimeRestore(context.Context, *SqlInstancesPointInTimeRestoreRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) PreCheckMajorVersionUpgrade ¶
func (UnimplementedSqlInstancesServiceServer) PreCheckMajorVersionUpgrade(context.Context, *SqlInstancesPreCheckMajorVersionUpgradeRequest) (*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) RotateEntraIdCertificate ¶
func (UnimplementedSqlInstancesServiceServer) RotateEntraIdCertificate(context.Context, *SqlInstancesRotateEntraIdCertificateRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) RotateServerCa ¶
func (UnimplementedSqlInstancesServiceServer) RotateServerCa(context.Context, *SqlInstancesRotateServerCaRequest) (*Operation, error)
func (UnimplementedSqlInstancesServiceServer) RotateServerCertificate ¶
func (UnimplementedSqlInstancesServiceServer) RotateServerCertificate(context.Context, *SqlInstancesRotateServerCertificateRequest) (*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 should be embedded to have forward compatible implementations.
func (UnimplementedSqlOperationsServiceServer) Cancel ¶
func (UnimplementedSqlOperationsServiceServer) Cancel(context.Context, *SqlOperationsCancelRequest) (*emptypb.Empty, error)
func (UnimplementedSqlOperationsServiceServer) Get ¶
func (UnimplementedSqlOperationsServiceServer) Get(context.Context, *SqlOperationsGetRequest) (*Operation, error)
type UnimplementedSqlSslCertsServiceServer ¶
type UnimplementedSqlSslCertsServiceServer struct {
}
UnimplementedSqlSslCertsServiceServer should 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 should be embedded to have forward compatible implementations.
func (UnimplementedSqlTiersServiceServer) List ¶
func (UnimplementedSqlTiersServiceServer) List(context.Context, *SqlTiersListRequest) (*TiersListResponse, error)
type UnimplementedSqlUsersServiceServer ¶
type UnimplementedSqlUsersServiceServer struct {
}
UnimplementedSqlUsersServiceServer should 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 UnsafeSqlBackupsServiceServer ¶
type UnsafeSqlBackupsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlBackupsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlBackupsServiceServer 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 UnsafeSqlDataServiceServer ¶
type UnsafeSqlDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSqlDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SqlDataServiceServer 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 UpdateBackupRequest ¶
type UpdateBackupRequest struct {
// Required. The backup to update.
// The backup’s `name` field is used to identify the backup to update.
// Format: projects/{project}/backups/{backup}
Backup *Backup `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
// The list of fields that you can update. You can update only the description
// and retention period of the final backup.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request payload to update the backup.
func (*UpdateBackupRequest) Descriptor
deprecated
func (*UpdateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupRequest) GetBackup ¶
func (x *UpdateBackupRequest) GetBackup() *Backup
func (*UpdateBackupRequest) GetUpdateMask ¶
func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBackupRequest) ProtoMessage ¶
func (*UpdateBackupRequest) ProtoMessage()
func (*UpdateBackupRequest) ProtoReflect ¶
func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupRequest) Reset ¶
func (x *UpdateBackupRequest) Reset()
func (*UpdateBackupRequest) String ¶
func (x *UpdateBackupRequest) String() string
type User ¶
type User struct {
// This is always `sql#user`.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// The password for the user.
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// This field is deprecated and will be removed from a future version of the
// API.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// The name of the user in the Cloud SQL instance. Can be omitted for
// `update` because it is already specified in the URL.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The host from which the user can connect. For `insert`
// operations, host defaults to an empty string. For `update`
// operations, host is specified as part of the request URL. The host name
// cannot be updated after insertion. For a MySQL instance, it's required;
// for a PostgreSQL or SQL Server instance, it's optional.
Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
// The name of the Cloud SQL instance. This does not include the project ID.
// Can be omitted for <b>update</b> because it is already specified on the
// URL.
Instance string `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"`
// The project ID of the project containing the Cloud SQL database. The Google
// apps domain is prefixed if applicable. Can be omitted for
// <b>update</b> because it is already specified on the URL.
Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
// The user type. It determines the method to authenticate the user during
// login. The default is the database's built-in user type.
Type User_SqlUserType `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.sql.v1beta4.User_SqlUserType" json:"type,omitempty"`
// User details for specific database type
//
// Types that are valid to be assigned to UserDetails:
//
// *User_SqlserverUserDetails
UserDetails isUser_UserDetails `protobuf_oneof:"user_details"`
// Optional. The full email for an IAM user. For normal database users, this
// will not be filled. Only applicable to MySQL database users.
IamEmail string `protobuf:"bytes,11,opt,name=iam_email,json=iamEmail,proto3" json:"iam_email,omitempty"`
// 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 `` /* 171-byte string literal not displayed */
// Indicates if a group is active or inactive for IAM database authentication.
IamStatus *User_IamStatus `` /* 141-byte string literal not displayed */
// Optional. Role memberships of the user
DatabaseRoles []string `protobuf:"bytes,15,rep,name=database_roles,json=databaseRoles,proto3" json:"database_roles,omitempty"`
// Optional. The server roles for the SQL Server login.
ServerRoles []string `protobuf:"bytes,16,rep,name=server_roles,json=serverRoles,proto3" json:"server_roles,omitempty"`
// contains filtered or unexported fields
}
A Cloud SQL user resource.
func (*User) Descriptor
deprecated
func (*User) GetDatabaseRoles ¶
func (*User) GetDualPasswordType ¶
func (x *User) GetDualPasswordType() User_DualPasswordType
func (*User) GetIamEmail ¶
func (*User) GetIamStatus ¶
func (x *User) GetIamStatus() User_IamStatus
func (*User) GetInstance ¶
func (*User) GetPassword ¶
func (*User) GetPasswordPolicy ¶
func (x *User) GetPasswordPolicy() *UserPasswordValidationPolicy
func (*User) GetProject ¶
func (*User) GetServerRoles ¶
func (*User) GetSqlserverUserDetails ¶
func (x *User) GetSqlserverUserDetails() *SqlServerUserDetails
func (*User) GetType ¶
func (x *User) GetType() User_SqlUserType
func (*User) GetUserDetails ¶
func (x *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 *durationpb.Duration `` /* 141-byte string literal not displayed */
// If true, failed login attempts check will be enabled.
EnableFailedAttemptsCheck bool `` /* 141-byte string literal not displayed */
// Output only. Read-only password status.
Status *PasswordStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// 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() *durationpb.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_IamStatus ¶
type User_IamStatus int32
Indicates if a group is available for IAM database authentication.
const ( // The default value for users that are not of type CLOUD_IAM_GROUP. // Only CLOUD_IAM_GROUP users will be inactive or active. // Users with an IamStatus of IAM_STATUS_UNSPECIFIED will not // display whether they are active or inactive as that is not applicable to // them. User_IAM_STATUS_UNSPECIFIED User_IamStatus = 0 // INACTIVE indicates a group is not available for IAM database // authentication. User_INACTIVE User_IamStatus = 1 // ACTIVE indicates a group is available for IAM database authentication. User_ACTIVE User_IamStatus = 2 )
func (User_IamStatus) Descriptor ¶
func (User_IamStatus) Descriptor() protoreflect.EnumDescriptor
func (User_IamStatus) Enum ¶
func (x User_IamStatus) Enum() *User_IamStatus
func (User_IamStatus) EnumDescriptor
deprecated
func (User_IamStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_IamStatus.Descriptor instead.
func (User_IamStatus) Number ¶
func (x User_IamStatus) Number() protoreflect.EnumNumber
func (User_IamStatus) String ¶
func (x User_IamStatus) String() string
func (User_IamStatus) Type ¶
func (User_IamStatus) 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. Not used for login. User_CLOUD_IAM_GROUP User_SqlUserType = 3 // Read-only. Login for a user that belongs to the Cloud IAM group. User_CLOUD_IAM_GROUP_USER User_SqlUserType = 4 // Read-only. Login for a service account that belongs to the // Cloud IAM group. User_CLOUD_IAM_GROUP_SERVICE_ACCOUNT User_SqlUserType = 5 // Cloud IAM workforce identity user managed via workforce identity // federation. User_CLOUD_IAM_WORKFORCE_IDENTITY User_SqlUserType = 6 // Microsoft Entra ID user. User_ENTRAID_USER User_SqlUserType = 7 )
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_users.proto.
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: Marked as deprecated in google/cloud/sql/v1beta4/cloud_sql_users.proto.
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
type Value ¶
type Value struct {
// The cell value represented in string format.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// If cell value is null, then this flag will be set to true.
NullValue bool `protobuf:"varint,2,opt,name=null_value,json=nullValue,proto3" json:"null_value,omitempty"`
// contains filtered or unexported fields
}
The cell value of the table.
func (*Value) Descriptor
deprecated
func (*Value) GetNullValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
Source Files
¶
- cloud_sql.pb.go
- cloud_sql_connect.pb.go
- cloud_sql_connect_grpc.pb.go
- cloud_sql_data.pb.go
- cloud_sql_data_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_grpc.pb.go
- cloud_sql_users.pb.go
- cloud_sql_users_grpc.pb.go