Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + const SqlserviceAdminScope + type AclEntry struct + ExpirationTime string + ForceSendFields []string + Kind string + Name string + NullFields []string + Value string + func (s *AclEntry) MarshalJSON() ([]byte, error) + type ApiWarning struct + Code string + ForceSendFields []string + Message string + NullFields []string + func (s *ApiWarning) MarshalJSON() ([]byte, error) + type BackupConfiguration struct + BinaryLogEnabled bool + Enabled bool + ForceSendFields []string + Kind string + Location string + NullFields []string + PointInTimeRecoveryEnabled bool + ReplicationLogArchivingEnabled bool + StartTime string + func (s *BackupConfiguration) MarshalJSON() ([]byte, error) + type BackupRun struct + Description string + DiskEncryptionConfiguration *DiskEncryptionConfiguration + DiskEncryptionStatus *DiskEncryptionStatus + EndTime string + EnqueuedTime string + Error *OperationError + ForceSendFields []string + Id int64 + Instance string + Kind string + Location string + NullFields []string + SelfLink string + StartTime string + Status string + Type string + WindowStartTime string + func (s *BackupRun) MarshalJSON() ([]byte, error) + type BackupRunsDeleteCall struct + func (c *BackupRunsDeleteCall) Context(ctx context.Context) *BackupRunsDeleteCall + func (c *BackupRunsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *BackupRunsDeleteCall) Fields(s ...googleapi.Field) *BackupRunsDeleteCall + func (c *BackupRunsDeleteCall) Header() http.Header + type BackupRunsGetCall struct + func (c *BackupRunsGetCall) Context(ctx context.Context) *BackupRunsGetCall + func (c *BackupRunsGetCall) Do(opts ...googleapi.CallOption) (*BackupRun, error) + func (c *BackupRunsGetCall) Fields(s ...googleapi.Field) *BackupRunsGetCall + func (c *BackupRunsGetCall) Header() http.Header + func (c *BackupRunsGetCall) IfNoneMatch(entityTag string) *BackupRunsGetCall + type BackupRunsInsertCall struct + func (c *BackupRunsInsertCall) Context(ctx context.Context) *BackupRunsInsertCall + func (c *BackupRunsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *BackupRunsInsertCall) Fields(s ...googleapi.Field) *BackupRunsInsertCall + func (c *BackupRunsInsertCall) Header() http.Header + type BackupRunsListCall struct + func (c *BackupRunsListCall) Context(ctx context.Context) *BackupRunsListCall + func (c *BackupRunsListCall) Do(opts ...googleapi.CallOption) (*BackupRunsListResponse, error) + func (c *BackupRunsListCall) Fields(s ...googleapi.Field) *BackupRunsListCall + func (c *BackupRunsListCall) Header() http.Header + func (c *BackupRunsListCall) IfNoneMatch(entityTag string) *BackupRunsListCall + func (c *BackupRunsListCall) MaxResults(maxResults int64) *BackupRunsListCall + func (c *BackupRunsListCall) PageToken(pageToken string) *BackupRunsListCall + func (c *BackupRunsListCall) Pages(ctx context.Context, f func(*BackupRunsListResponse) error) error + type BackupRunsListResponse struct + ForceSendFields []string + Items []*BackupRun + Kind string + NextPageToken string + NullFields []string + func (s *BackupRunsListResponse) MarshalJSON() ([]byte, error) + type BackupRunsService struct + func NewBackupRunsService(s *Service) *BackupRunsService + func (r *BackupRunsService) Delete(project string, instance string, id int64) *BackupRunsDeleteCall + func (r *BackupRunsService) Get(project string, instance string, id int64) *BackupRunsGetCall + func (r *BackupRunsService) Insert(project string, instance string, backuprun *BackupRun) *BackupRunsInsertCall + func (r *BackupRunsService) List(project string, instance string) *BackupRunsListCall + type BinLogCoordinates struct + BinLogFileName string + BinLogPosition int64 + ForceSendFields []string + Kind string + NullFields []string + func (s *BinLogCoordinates) MarshalJSON() ([]byte, error) + type CloneContext struct + BinLogCoordinates *BinLogCoordinates + DestinationInstanceName string + ForceSendFields []string + Kind string + NullFields []string + PitrTimestampMs int64 + PointInTime string + func (s *CloneContext) MarshalJSON() ([]byte, error) + type Database struct + Charset string + Collation string + Etag string + ForceSendFields []string + Instance string + Kind string + Name string + NullFields []string + Project string + SelfLink string + SqlserverDatabaseDetails *SqlServerDatabaseDetails + func (s *Database) MarshalJSON() ([]byte, error) + type DatabaseFlags struct + ForceSendFields []string + Name string + NullFields []string + Value string + func (s *DatabaseFlags) MarshalJSON() ([]byte, error) + type DatabaseInstance struct + BackendType string + ConnectionName string + CurrentDiskSize int64 + DatabaseVersion string + DiskEncryptionConfiguration *DiskEncryptionConfiguration + DiskEncryptionStatus *DiskEncryptionStatus + Etag string + FailoverReplica *DatabaseInstanceFailoverReplica + ForceSendFields []string + GceZone string + InstanceType string + IpAddresses []*IpMapping + Ipv6Address string + Kind string + MasterInstanceName string + MaxDiskSize int64 + Name string + NullFields []string + OnPremisesConfiguration *OnPremisesConfiguration + Project string + Region string + ReplicaConfiguration *ReplicaConfiguration + ReplicaNames []string + RootPassword string + ScheduledMaintenance *SqlScheduledMaintenance + SelfLink string + ServerCaCert *SslCert + ServiceAccountEmailAddress string + Settings *Settings + State string + SuspensionReason []string + func (s *DatabaseInstance) MarshalJSON() ([]byte, error) + type DatabaseInstanceFailoverReplica struct + Available bool + ForceSendFields []string + Name string + NullFields []string + func (s *DatabaseInstanceFailoverReplica) MarshalJSON() ([]byte, error) + type DatabasesDeleteCall struct + func (c *DatabasesDeleteCall) Context(ctx context.Context) *DatabasesDeleteCall + func (c *DatabasesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *DatabasesDeleteCall) Fields(s ...googleapi.Field) *DatabasesDeleteCall + func (c *DatabasesDeleteCall) Header() http.Header + type DatabasesGetCall struct + func (c *DatabasesGetCall) Context(ctx context.Context) *DatabasesGetCall + func (c *DatabasesGetCall) Do(opts ...googleapi.CallOption) (*Database, error) + func (c *DatabasesGetCall) Fields(s ...googleapi.Field) *DatabasesGetCall + func (c *DatabasesGetCall) Header() http.Header + func (c *DatabasesGetCall) IfNoneMatch(entityTag string) *DatabasesGetCall + type DatabasesInsertCall struct + func (c *DatabasesInsertCall) Context(ctx context.Context) *DatabasesInsertCall + func (c *DatabasesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *DatabasesInsertCall) Fields(s ...googleapi.Field) *DatabasesInsertCall + func (c *DatabasesInsertCall) Header() http.Header + type DatabasesListCall struct + func (c *DatabasesListCall) Context(ctx context.Context) *DatabasesListCall + func (c *DatabasesListCall) Do(opts ...googleapi.CallOption) (*DatabasesListResponse, error) + func (c *DatabasesListCall) Fields(s ...googleapi.Field) *DatabasesListCall + func (c *DatabasesListCall) Header() http.Header + func (c *DatabasesListCall) IfNoneMatch(entityTag string) *DatabasesListCall + type DatabasesListResponse struct + ForceSendFields []string + Items []*Database + Kind string + NullFields []string + func (s *DatabasesListResponse) MarshalJSON() ([]byte, error) + type DatabasesPatchCall struct + func (c *DatabasesPatchCall) Context(ctx context.Context) *DatabasesPatchCall + func (c *DatabasesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *DatabasesPatchCall) Fields(s ...googleapi.Field) *DatabasesPatchCall + func (c *DatabasesPatchCall) Header() http.Header + type DatabasesService struct + func NewDatabasesService(s *Service) *DatabasesService + func (r *DatabasesService) Delete(project string, instance string, database string) *DatabasesDeleteCall + func (r *DatabasesService) Get(project string, instance string, database string) *DatabasesGetCall + func (r *DatabasesService) Insert(project string, instance string, database *Database) *DatabasesInsertCall + func (r *DatabasesService) List(project string, instance string) *DatabasesListCall + func (r *DatabasesService) Patch(project string, instance string, database string, database2 *Database) *DatabasesPatchCall + func (r *DatabasesService) Update(project string, instance string, database string, database2 *Database) *DatabasesUpdateCall + type DatabasesUpdateCall struct + func (c *DatabasesUpdateCall) Context(ctx context.Context) *DatabasesUpdateCall + func (c *DatabasesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *DatabasesUpdateCall) Fields(s ...googleapi.Field) *DatabasesUpdateCall + func (c *DatabasesUpdateCall) Header() http.Header + type DemoteMasterConfiguration struct + ForceSendFields []string + Kind string + MysqlReplicaConfiguration *DemoteMasterMySqlReplicaConfiguration + NullFields []string + func (s *DemoteMasterConfiguration) MarshalJSON() ([]byte, error) + type DemoteMasterContext struct + ForceSendFields []string + Kind string + MasterInstanceName string + NullFields []string + ReplicaConfiguration *DemoteMasterConfiguration + VerifyGtidConsistency bool + func (s *DemoteMasterContext) MarshalJSON() ([]byte, error) + type DemoteMasterMySqlReplicaConfiguration struct + CaCertificate string + ClientCertificate string + ClientKey string + ForceSendFields []string + Kind string + NullFields []string + Password string + Username string + func (s *DemoteMasterMySqlReplicaConfiguration) MarshalJSON() ([]byte, error) + type DiskEncryptionConfiguration struct + ForceSendFields []string + Kind string + KmsKeyName string + NullFields []string + func (s *DiskEncryptionConfiguration) MarshalJSON() ([]byte, error) + type DiskEncryptionStatus struct + ForceSendFields []string + Kind string + KmsKeyVersionName string + NullFields []string + func (s *DiskEncryptionStatus) MarshalJSON() ([]byte, error) + type ExportContext struct + CsvExportOptions *ExportContextCsvExportOptions + Databases []string + FileType string + ForceSendFields []string + Kind string + NullFields []string + SqlExportOptions *ExportContextSqlExportOptions + Uri string + func (s *ExportContext) MarshalJSON() ([]byte, error) + type ExportContextCsvExportOptions struct + ForceSendFields []string + NullFields []string + SelectQuery string + func (s *ExportContextCsvExportOptions) MarshalJSON() ([]byte, error) + type ExportContextSqlExportOptions struct + ForceSendFields []string + MysqlExportOptions *ExportContextSqlExportOptionsMysqlExportOptions + NullFields []string + SchemaOnly bool + Tables []string + func (s *ExportContextSqlExportOptions) MarshalJSON() ([]byte, error) + type ExportContextSqlExportOptionsMysqlExportOptions struct + ForceSendFields []string + MasterData int64 + NullFields []string + func (s *ExportContextSqlExportOptionsMysqlExportOptions) MarshalJSON() ([]byte, error) + type FailoverContext struct + ForceSendFields []string + Kind string + NullFields []string + SettingsVersion int64 + func (s *FailoverContext) MarshalJSON() ([]byte, error) + type Flag struct + AllowedIntValues googleapi.Int64s + AllowedStringValues []string + AppliesTo []string + ForceSendFields []string + InBeta bool + Kind string + MaxValue int64 + MinValue int64 + Name string + NullFields []string + RequiresRestart bool + Type string + func (s *Flag) MarshalJSON() ([]byte, error) + type FlagsListCall struct + func (c *FlagsListCall) Context(ctx context.Context) *FlagsListCall + func (c *FlagsListCall) DatabaseVersion(databaseVersion string) *FlagsListCall + func (c *FlagsListCall) Do(opts ...googleapi.CallOption) (*FlagsListResponse, error) + func (c *FlagsListCall) Fields(s ...googleapi.Field) *FlagsListCall + func (c *FlagsListCall) Header() http.Header + func (c *FlagsListCall) IfNoneMatch(entityTag string) *FlagsListCall + type FlagsListResponse struct + ForceSendFields []string + Items []*Flag + Kind string + NullFields []string + func (s *FlagsListResponse) MarshalJSON() ([]byte, error) + type FlagsService struct + func NewFlagsService(s *Service) *FlagsService + func (r *FlagsService) List() *FlagsListCall + type ImportContext struct + BakImportOptions *ImportContextBakImportOptions + CsvImportOptions *ImportContextCsvImportOptions + Database string + FileType string + ForceSendFields []string + ImportUser string + Kind string + NullFields []string + Uri string + func (s *ImportContext) MarshalJSON() ([]byte, error) + type ImportContextBakImportOptions struct + EncryptionOptions *ImportContextBakImportOptionsEncryptionOptions + ForceSendFields []string + NullFields []string + func (s *ImportContextBakImportOptions) MarshalJSON() ([]byte, error) + type ImportContextBakImportOptionsEncryptionOptions struct + CertPath string + ForceSendFields []string + NullFields []string + PvkPassword string + PvkPath string + func (s *ImportContextBakImportOptionsEncryptionOptions) MarshalJSON() ([]byte, error) + type ImportContextCsvImportOptions struct + Columns []string + ForceSendFields []string + NullFields []string + Table string + func (s *ImportContextCsvImportOptions) MarshalJSON() ([]byte, error) + type InstancesAddServerCaCall struct + func (c *InstancesAddServerCaCall) Context(ctx context.Context) *InstancesAddServerCaCall + func (c *InstancesAddServerCaCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesAddServerCaCall) Fields(s ...googleapi.Field) *InstancesAddServerCaCall + func (c *InstancesAddServerCaCall) Header() http.Header + type InstancesCloneCall struct + func (c *InstancesCloneCall) Context(ctx context.Context) *InstancesCloneCall + func (c *InstancesCloneCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesCloneCall) Fields(s ...googleapi.Field) *InstancesCloneCall + func (c *InstancesCloneCall) Header() http.Header + type InstancesCloneRequest struct + CloneContext *CloneContext + ForceSendFields []string + NullFields []string + func (s *InstancesCloneRequest) MarshalJSON() ([]byte, error) + type InstancesDeleteCall struct + func (c *InstancesDeleteCall) Context(ctx context.Context) *InstancesDeleteCall + func (c *InstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesDeleteCall) Fields(s ...googleapi.Field) *InstancesDeleteCall + func (c *InstancesDeleteCall) Header() http.Header + type InstancesDemoteMasterCall struct + func (c *InstancesDemoteMasterCall) Context(ctx context.Context) *InstancesDemoteMasterCall + func (c *InstancesDemoteMasterCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesDemoteMasterCall) Fields(s ...googleapi.Field) *InstancesDemoteMasterCall + func (c *InstancesDemoteMasterCall) Header() http.Header + type InstancesDemoteMasterRequest struct + DemoteMasterContext *DemoteMasterContext + ForceSendFields []string + NullFields []string + func (s *InstancesDemoteMasterRequest) MarshalJSON() ([]byte, error) + type InstancesExportCall struct + func (c *InstancesExportCall) Context(ctx context.Context) *InstancesExportCall + func (c *InstancesExportCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesExportCall) Fields(s ...googleapi.Field) *InstancesExportCall + func (c *InstancesExportCall) Header() http.Header + type InstancesExportRequest struct + ExportContext *ExportContext + ForceSendFields []string + NullFields []string + func (s *InstancesExportRequest) MarshalJSON() ([]byte, error) + type InstancesFailoverCall struct + func (c *InstancesFailoverCall) Context(ctx context.Context) *InstancesFailoverCall + func (c *InstancesFailoverCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesFailoverCall) Fields(s ...googleapi.Field) *InstancesFailoverCall + func (c *InstancesFailoverCall) Header() http.Header + type InstancesFailoverRequest struct + FailoverContext *FailoverContext + ForceSendFields []string + NullFields []string + func (s *InstancesFailoverRequest) MarshalJSON() ([]byte, error) + type InstancesGetCall struct + func (c *InstancesGetCall) Context(ctx context.Context) *InstancesGetCall + func (c *InstancesGetCall) Do(opts ...googleapi.CallOption) (*DatabaseInstance, error) + func (c *InstancesGetCall) Fields(s ...googleapi.Field) *InstancesGetCall + func (c *InstancesGetCall) Header() http.Header + func (c *InstancesGetCall) IfNoneMatch(entityTag string) *InstancesGetCall + type InstancesImportCall struct + func (c *InstancesImportCall) Context(ctx context.Context) *InstancesImportCall + func (c *InstancesImportCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesImportCall) Fields(s ...googleapi.Field) *InstancesImportCall + func (c *InstancesImportCall) Header() http.Header + type InstancesImportRequest struct + ForceSendFields []string + ImportContext *ImportContext + NullFields []string + func (s *InstancesImportRequest) MarshalJSON() ([]byte, error) + type InstancesInsertCall struct + func (c *InstancesInsertCall) Context(ctx context.Context) *InstancesInsertCall + func (c *InstancesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesInsertCall) Fields(s ...googleapi.Field) *InstancesInsertCall + func (c *InstancesInsertCall) Header() http.Header + type InstancesListCall struct + func (c *InstancesListCall) Context(ctx context.Context) *InstancesListCall + func (c *InstancesListCall) Do(opts ...googleapi.CallOption) (*InstancesListResponse, error) + func (c *InstancesListCall) Fields(s ...googleapi.Field) *InstancesListCall + func (c *InstancesListCall) Filter(filter string) *InstancesListCall + func (c *InstancesListCall) Header() http.Header + func (c *InstancesListCall) IfNoneMatch(entityTag string) *InstancesListCall + func (c *InstancesListCall) MaxResults(maxResults int64) *InstancesListCall + func (c *InstancesListCall) PageToken(pageToken string) *InstancesListCall + func (c *InstancesListCall) Pages(ctx context.Context, f func(*InstancesListResponse) error) error + type InstancesListResponse struct + ForceSendFields []string + Items []*DatabaseInstance + Kind string + NextPageToken string + NullFields []string + Warnings []*ApiWarning + func (s *InstancesListResponse) MarshalJSON() ([]byte, error) + type InstancesListServerCasCall struct + func (c *InstancesListServerCasCall) Context(ctx context.Context) *InstancesListServerCasCall + func (c *InstancesListServerCasCall) Do(opts ...googleapi.CallOption) (*InstancesListServerCasResponse, error) + func (c *InstancesListServerCasCall) Fields(s ...googleapi.Field) *InstancesListServerCasCall + func (c *InstancesListServerCasCall) Header() http.Header + func (c *InstancesListServerCasCall) IfNoneMatch(entityTag string) *InstancesListServerCasCall + type InstancesListServerCasResponse struct + ActiveVersion string + Certs []*SslCert + ForceSendFields []string + Kind string + NullFields []string + func (s *InstancesListServerCasResponse) MarshalJSON() ([]byte, error) + type InstancesPatchCall struct + func (c *InstancesPatchCall) Context(ctx context.Context) *InstancesPatchCall + func (c *InstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesPatchCall) Fields(s ...googleapi.Field) *InstancesPatchCall + func (c *InstancesPatchCall) Header() http.Header + type InstancesPromoteReplicaCall struct + func (c *InstancesPromoteReplicaCall) Context(ctx context.Context) *InstancesPromoteReplicaCall + func (c *InstancesPromoteReplicaCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesPromoteReplicaCall) Fields(s ...googleapi.Field) *InstancesPromoteReplicaCall + func (c *InstancesPromoteReplicaCall) Header() http.Header + type InstancesResetSslConfigCall struct + func (c *InstancesResetSslConfigCall) Context(ctx context.Context) *InstancesResetSslConfigCall + func (c *InstancesResetSslConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesResetSslConfigCall) Fields(s ...googleapi.Field) *InstancesResetSslConfigCall + func (c *InstancesResetSslConfigCall) Header() http.Header + type InstancesRestartCall struct + func (c *InstancesRestartCall) Context(ctx context.Context) *InstancesRestartCall + func (c *InstancesRestartCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesRestartCall) Fields(s ...googleapi.Field) *InstancesRestartCall + func (c *InstancesRestartCall) Header() http.Header + type InstancesRestoreBackupCall struct + func (c *InstancesRestoreBackupCall) Context(ctx context.Context) *InstancesRestoreBackupCall + func (c *InstancesRestoreBackupCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesRestoreBackupCall) Fields(s ...googleapi.Field) *InstancesRestoreBackupCall + func (c *InstancesRestoreBackupCall) Header() http.Header + type InstancesRestoreBackupRequest struct + ForceSendFields []string + NullFields []string + RestoreBackupContext *RestoreBackupContext + func (s *InstancesRestoreBackupRequest) MarshalJSON() ([]byte, error) + type InstancesRotateServerCaCall struct + func (c *InstancesRotateServerCaCall) Context(ctx context.Context) *InstancesRotateServerCaCall + func (c *InstancesRotateServerCaCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesRotateServerCaCall) Fields(s ...googleapi.Field) *InstancesRotateServerCaCall + func (c *InstancesRotateServerCaCall) Header() http.Header + type InstancesRotateServerCaRequest struct + ForceSendFields []string + NullFields []string + RotateServerCaContext *RotateServerCaContext + func (s *InstancesRotateServerCaRequest) MarshalJSON() ([]byte, error) + type InstancesService struct + func NewInstancesService(s *Service) *InstancesService + func (r *InstancesService) AddServerCa(project string, instance string) *InstancesAddServerCaCall + func (r *InstancesService) Clone(project string, instance string, instancesclonerequest *InstancesCloneRequest) *InstancesCloneCall + func (r *InstancesService) Delete(project string, instance string) *InstancesDeleteCall + func (r *InstancesService) DemoteMaster(project string, instance string, ...) *InstancesDemoteMasterCall + func (r *InstancesService) Export(project string, instance string, ...) *InstancesExportCall + func (r *InstancesService) Failover(project string, instance string, ...) *InstancesFailoverCall + func (r *InstancesService) Get(project string, instance string) *InstancesGetCall + func (r *InstancesService) Import(project string, instance string, ...) *InstancesImportCall + func (r *InstancesService) Insert(project string, databaseinstance *DatabaseInstance) *InstancesInsertCall + func (r *InstancesService) List(project string) *InstancesListCall + func (r *InstancesService) ListServerCas(project string, instance string) *InstancesListServerCasCall + func (r *InstancesService) Patch(project string, instance string, databaseinstance *DatabaseInstance) *InstancesPatchCall + func (r *InstancesService) PromoteReplica(project string, instance string) *InstancesPromoteReplicaCall + func (r *InstancesService) ResetSslConfig(project string, instance string) *InstancesResetSslConfigCall + func (r *InstancesService) Restart(project string, instance string) *InstancesRestartCall + func (r *InstancesService) RestoreBackup(project string, instance string, ...) *InstancesRestoreBackupCall + func (r *InstancesService) RotateServerCa(project string, instance string, ...) *InstancesRotateServerCaCall + func (r *InstancesService) StartReplica(project string, instance string) *InstancesStartReplicaCall + func (r *InstancesService) StopReplica(project string, instance string) *InstancesStopReplicaCall + func (r *InstancesService) TruncateLog(project string, instance string, ...) *InstancesTruncateLogCall + func (r *InstancesService) Update(project string, instance string, databaseinstance *DatabaseInstance) *InstancesUpdateCall + type InstancesStartReplicaCall struct + func (c *InstancesStartReplicaCall) Context(ctx context.Context) *InstancesStartReplicaCall + func (c *InstancesStartReplicaCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesStartReplicaCall) Fields(s ...googleapi.Field) *InstancesStartReplicaCall + func (c *InstancesStartReplicaCall) Header() http.Header + type InstancesStopReplicaCall struct + func (c *InstancesStopReplicaCall) Context(ctx context.Context) *InstancesStopReplicaCall + func (c *InstancesStopReplicaCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesStopReplicaCall) Fields(s ...googleapi.Field) *InstancesStopReplicaCall + func (c *InstancesStopReplicaCall) Header() http.Header + type InstancesTruncateLogCall struct + func (c *InstancesTruncateLogCall) Context(ctx context.Context) *InstancesTruncateLogCall + func (c *InstancesTruncateLogCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesTruncateLogCall) Fields(s ...googleapi.Field) *InstancesTruncateLogCall + func (c *InstancesTruncateLogCall) Header() http.Header + type InstancesTruncateLogRequest struct + ForceSendFields []string + NullFields []string + TruncateLogContext *TruncateLogContext + func (s *InstancesTruncateLogRequest) MarshalJSON() ([]byte, error) + type InstancesUpdateCall struct + func (c *InstancesUpdateCall) Context(ctx context.Context) *InstancesUpdateCall + func (c *InstancesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesUpdateCall) Fields(s ...googleapi.Field) *InstancesUpdateCall + func (c *InstancesUpdateCall) Header() http.Header + type IpConfiguration struct + AuthorizedNetworks []*AclEntry + ForceSendFields []string + Ipv4Enabled bool + NullFields []string + PrivateNetwork string + RequireSsl bool + func (s *IpConfiguration) MarshalJSON() ([]byte, error) + type IpMapping struct + ForceSendFields []string + IpAddress string + NullFields []string + TimeToRetire string + Type string + func (s *IpMapping) MarshalJSON() ([]byte, error) + type LocationPreference struct + FollowGaeApplication string + ForceSendFields []string + Kind string + NullFields []string + Zone string + func (s *LocationPreference) MarshalJSON() ([]byte, error) + type MaintenanceWindow struct + Day int64 + ForceSendFields []string + Hour int64 + Kind string + NullFields []string + UpdateTrack string + func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) + type MySqlReplicaConfiguration struct + CaCertificate string + ClientCertificate string + ClientKey string + ConnectRetryInterval int64 + DumpFilePath string + ForceSendFields []string + Kind string + MasterHeartbeatPeriod int64 + NullFields []string + Password string + SslCipher string + Username string + VerifyServerCertificate bool + func (s *MySqlReplicaConfiguration) MarshalJSON() ([]byte, error) + type OnPremisesConfiguration struct + CaCertificate string + ClientCertificate string + ClientKey string + DumpFilePath string + ForceSendFields []string + HostPort string + Kind string + NullFields []string + Password string + Username string + func (s *OnPremisesConfiguration) MarshalJSON() ([]byte, error) + type Operation struct + EndTime string + Error *OperationErrors + ExportContext *ExportContext + ForceSendFields []string + ImportContext *ImportContext + InsertTime string + Kind string + Name string + NullFields []string + OperationType string + SelfLink string + StartTime string + Status string + TargetId string + TargetLink string + TargetProject string + User string + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationError struct + Code string + ForceSendFields []string + Kind string + Message string + NullFields []string + func (s *OperationError) MarshalJSON() ([]byte, error) + type OperationErrors struct + Errors []*OperationError + ForceSendFields []string + Kind string + NullFields []string + func (s *OperationErrors) MarshalJSON() ([]byte, error) + type OperationsGetCall struct + func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall + func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall + func (c *OperationsGetCall) Header() http.Header + func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall + type OperationsListCall struct + func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall + func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*OperationsListResponse, error) + func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall + func (c *OperationsListCall) Header() http.Header + func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall + func (c *OperationsListCall) Instance(instance string) *OperationsListCall + func (c *OperationsListCall) MaxResults(maxResults int64) *OperationsListCall + func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall + func (c *OperationsListCall) Pages(ctx context.Context, f func(*OperationsListResponse) error) error + type OperationsListResponse struct + ForceSendFields []string + Items []*Operation + Kind string + NextPageToken string + NullFields []string + func (s *OperationsListResponse) MarshalJSON() ([]byte, error) + type OperationsService struct + func NewOperationsService(s *Service) *OperationsService + func (r *OperationsService) Get(project string, operation string) *OperationsGetCall + func (r *OperationsService) List(project string) *OperationsListCall + type ProjectsInstancesRescheduleMaintenanceCall struct + func (c *ProjectsInstancesRescheduleMaintenanceCall) Context(ctx context.Context) *ProjectsInstancesRescheduleMaintenanceCall + func (c *ProjectsInstancesRescheduleMaintenanceCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsInstancesRescheduleMaintenanceCall) Fields(s ...googleapi.Field) *ProjectsInstancesRescheduleMaintenanceCall + func (c *ProjectsInstancesRescheduleMaintenanceCall) Header() http.Header + type ProjectsInstancesService struct + func NewProjectsInstancesService(s *Service) *ProjectsInstancesService + func (r *ProjectsInstancesService) RescheduleMaintenance(project string, instance string, ...) *ProjectsInstancesRescheduleMaintenanceCall + func (r *ProjectsInstancesService) StartExternalSync(project string, instance string) *ProjectsInstancesStartExternalSyncCall + func (r *ProjectsInstancesService) VerifyExternalSyncSettings(project string, instance string) *ProjectsInstancesVerifyExternalSyncSettingsCall + type ProjectsInstancesStartExternalSyncCall struct + func (c *ProjectsInstancesStartExternalSyncCall) Context(ctx context.Context) *ProjectsInstancesStartExternalSyncCall + func (c *ProjectsInstancesStartExternalSyncCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsInstancesStartExternalSyncCall) Fields(s ...googleapi.Field) *ProjectsInstancesStartExternalSyncCall + func (c *ProjectsInstancesStartExternalSyncCall) Header() http.Header + func (c *ProjectsInstancesStartExternalSyncCall) SyncMode(syncMode string) *ProjectsInstancesStartExternalSyncCall + type ProjectsInstancesVerifyExternalSyncSettingsCall struct + func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) Context(ctx context.Context) *ProjectsInstancesVerifyExternalSyncSettingsCall + func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) Do(opts ...googleapi.CallOption) (*SqlInstancesVerifyExternalSyncSettingsResponse, error) + func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) Fields(s ...googleapi.Field) *ProjectsInstancesVerifyExternalSyncSettingsCall + func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) Header() http.Header + func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) SyncMode(syncMode string) *ProjectsInstancesVerifyExternalSyncSettingsCall + func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) VerifyConnectionOnly(verifyConnectionOnly bool) *ProjectsInstancesVerifyExternalSyncSettingsCall + type ProjectsService struct + Instances *ProjectsInstancesService + func NewProjectsService(s *Service) *ProjectsService + type ReplicaConfiguration struct + FailoverTarget bool + ForceSendFields []string + Kind string + MysqlReplicaConfiguration *MySqlReplicaConfiguration + NullFields []string + func (s *ReplicaConfiguration) MarshalJSON() ([]byte, error) + type Reschedule struct + ForceSendFields []string + NullFields []string + RescheduleType string + ScheduleTime string + func (s *Reschedule) MarshalJSON() ([]byte, error) + type RestoreBackupContext struct + BackupRunId int64 + ForceSendFields []string + InstanceId string + Kind string + NullFields []string + Project string + func (s *RestoreBackupContext) MarshalJSON() ([]byte, error) + type RotateServerCaContext struct + ForceSendFields []string + Kind string + NextVersion string + NullFields []string + func (s *RotateServerCaContext) MarshalJSON() ([]byte, error) + type Service struct + BackupRuns *BackupRunsService + BasePath string + Databases *DatabasesService + Flags *FlagsService + Instances *InstancesService + Operations *OperationsService + Projects *ProjectsService + SslCerts *SslCertsService + Tiers *TiersService + UserAgent string + Users *UsersService + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Settings struct + ActivationPolicy string + AuthorizedGaeApplications []string + AvailabilityType string + BackupConfiguration *BackupConfiguration + CrashSafeReplicationEnabled bool + DataDiskSizeGb int64 + DataDiskType string + DatabaseFlags []*DatabaseFlags + DatabaseReplicationEnabled bool + ForceSendFields []string + IpConfiguration *IpConfiguration + Kind string + LocationPreference *LocationPreference + MaintenanceWindow *MaintenanceWindow + NullFields []string + PricingPlan string + ReplicationType string + SettingsVersion int64 + StorageAutoResize bool + StorageAutoResizeLimit int64 + Tier string + UserLabels map[string]string + func (s *Settings) MarshalJSON() ([]byte, error) + type SqlExternalSyncSettingError struct + Detail string + ForceSendFields []string + Kind string + NullFields []string + Type string + func (s *SqlExternalSyncSettingError) MarshalJSON() ([]byte, error) + type SqlInstancesRescheduleMaintenanceRequestBody struct + ForceSendFields []string + NullFields []string + Reschedule *Reschedule + func (s *SqlInstancesRescheduleMaintenanceRequestBody) MarshalJSON() ([]byte, error) + type SqlInstancesVerifyExternalSyncSettingsResponse struct + Errors []*SqlExternalSyncSettingError + ForceSendFields []string + Kind string + NullFields []string + func (s *SqlInstancesVerifyExternalSyncSettingsResponse) MarshalJSON() ([]byte, error) + type SqlScheduledMaintenance struct + CanDefer bool + CanReschedule bool + ForceSendFields []string + NullFields []string + StartTime string + func (s *SqlScheduledMaintenance) MarshalJSON() ([]byte, error) + type SqlServerDatabaseDetails struct + CompatibilityLevel int64 + ForceSendFields []string + NullFields []string + RecoveryModel string + func (s *SqlServerDatabaseDetails) MarshalJSON() ([]byte, error) + type SqlServerUserDetails struct + Disabled bool + ForceSendFields []string + NullFields []string + ServerRoles []string + func (s *SqlServerUserDetails) MarshalJSON() ([]byte, error) + type SslCert struct + Cert string + CertSerialNumber string + CommonName string + CreateTime string + ExpirationTime string + ForceSendFields []string + Instance string + Kind string + NullFields []string + SelfLink string + Sha1Fingerprint string + func (s *SslCert) MarshalJSON() ([]byte, error) + type SslCertDetail struct + CertInfo *SslCert + CertPrivateKey string + ForceSendFields []string + NullFields []string + func (s *SslCertDetail) MarshalJSON() ([]byte, error) + type SslCertsCreateEphemeralCall struct + func (c *SslCertsCreateEphemeralCall) Context(ctx context.Context) *SslCertsCreateEphemeralCall + func (c *SslCertsCreateEphemeralCall) Do(opts ...googleapi.CallOption) (*SslCert, error) + func (c *SslCertsCreateEphemeralCall) Fields(s ...googleapi.Field) *SslCertsCreateEphemeralCall + func (c *SslCertsCreateEphemeralCall) Header() http.Header + type SslCertsCreateEphemeralRequest struct + ForceSendFields []string + NullFields []string + PublicKey string + func (s *SslCertsCreateEphemeralRequest) MarshalJSON() ([]byte, error) + type SslCertsDeleteCall struct + func (c *SslCertsDeleteCall) Context(ctx context.Context) *SslCertsDeleteCall + func (c *SslCertsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *SslCertsDeleteCall) Fields(s ...googleapi.Field) *SslCertsDeleteCall + func (c *SslCertsDeleteCall) Header() http.Header + type SslCertsGetCall struct + func (c *SslCertsGetCall) Context(ctx context.Context) *SslCertsGetCall + func (c *SslCertsGetCall) Do(opts ...googleapi.CallOption) (*SslCert, error) + func (c *SslCertsGetCall) Fields(s ...googleapi.Field) *SslCertsGetCall + func (c *SslCertsGetCall) Header() http.Header + func (c *SslCertsGetCall) IfNoneMatch(entityTag string) *SslCertsGetCall + type SslCertsInsertCall struct + func (c *SslCertsInsertCall) Context(ctx context.Context) *SslCertsInsertCall + func (c *SslCertsInsertCall) Do(opts ...googleapi.CallOption) (*SslCertsInsertResponse, error) + func (c *SslCertsInsertCall) Fields(s ...googleapi.Field) *SslCertsInsertCall + func (c *SslCertsInsertCall) Header() http.Header + type SslCertsInsertRequest struct + CommonName string + ForceSendFields []string + NullFields []string + func (s *SslCertsInsertRequest) MarshalJSON() ([]byte, error) + type SslCertsInsertResponse struct + ClientCert *SslCertDetail + ForceSendFields []string + Kind string + NullFields []string + Operation *Operation + ServerCaCert *SslCert + func (s *SslCertsInsertResponse) MarshalJSON() ([]byte, error) + type SslCertsListCall struct + func (c *SslCertsListCall) Context(ctx context.Context) *SslCertsListCall + func (c *SslCertsListCall) Do(opts ...googleapi.CallOption) (*SslCertsListResponse, error) + func (c *SslCertsListCall) Fields(s ...googleapi.Field) *SslCertsListCall + func (c *SslCertsListCall) Header() http.Header + func (c *SslCertsListCall) IfNoneMatch(entityTag string) *SslCertsListCall + type SslCertsListResponse struct + ForceSendFields []string + Items []*SslCert + Kind string + NullFields []string + func (s *SslCertsListResponse) MarshalJSON() ([]byte, error) + type SslCertsService struct + func NewSslCertsService(s *Service) *SslCertsService + func (r *SslCertsService) CreateEphemeral(project string, instance string, ...) *SslCertsCreateEphemeralCall + func (r *SslCertsService) Delete(project string, instance string, sha1Fingerprint string) *SslCertsDeleteCall + func (r *SslCertsService) Get(project string, instance string, sha1Fingerprint string) *SslCertsGetCall + func (r *SslCertsService) Insert(project string, instance string, sslcertsinsertrequest *SslCertsInsertRequest) *SslCertsInsertCall + func (r *SslCertsService) List(project string, instance string) *SslCertsListCall + type Tier struct + DiskQuota int64 + ForceSendFields []string + Kind string + NullFields []string + RAM int64 + Region []string + Tier string + func (s *Tier) MarshalJSON() ([]byte, error) + type TiersListCall struct + func (c *TiersListCall) Context(ctx context.Context) *TiersListCall + func (c *TiersListCall) Do(opts ...googleapi.CallOption) (*TiersListResponse, error) + func (c *TiersListCall) Fields(s ...googleapi.Field) *TiersListCall + func (c *TiersListCall) Header() http.Header + func (c *TiersListCall) IfNoneMatch(entityTag string) *TiersListCall + type TiersListResponse struct + ForceSendFields []string + Items []*Tier + Kind string + NullFields []string + func (s *TiersListResponse) MarshalJSON() ([]byte, error) + type TiersService struct + func NewTiersService(s *Service) *TiersService + func (r *TiersService) List(project string) *TiersListCall + type TruncateLogContext struct + ForceSendFields []string + Kind string + LogType string + NullFields []string + func (s *TruncateLogContext) MarshalJSON() ([]byte, error) + type User struct + Etag string + ForceSendFields []string + Host string + Instance string + Kind string + Name string + NullFields []string + Password string + Project string + SqlserverUserDetails *SqlServerUserDetails + func (s *User) MarshalJSON() ([]byte, error) + type UsersDeleteCall struct + func (c *UsersDeleteCall) Context(ctx context.Context) *UsersDeleteCall + func (c *UsersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *UsersDeleteCall) Fields(s ...googleapi.Field) *UsersDeleteCall + func (c *UsersDeleteCall) Header() http.Header + func (c *UsersDeleteCall) Host(host string) *UsersDeleteCall + func (c *UsersDeleteCall) Name(name string) *UsersDeleteCall + type UsersInsertCall struct + func (c *UsersInsertCall) Context(ctx context.Context) *UsersInsertCall + func (c *UsersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *UsersInsertCall) Fields(s ...googleapi.Field) *UsersInsertCall + func (c *UsersInsertCall) Header() http.Header + type UsersListCall struct + func (c *UsersListCall) Context(ctx context.Context) *UsersListCall + func (c *UsersListCall) Do(opts ...googleapi.CallOption) (*UsersListResponse, error) + func (c *UsersListCall) Fields(s ...googleapi.Field) *UsersListCall + func (c *UsersListCall) Header() http.Header + func (c *UsersListCall) IfNoneMatch(entityTag string) *UsersListCall + type UsersListResponse struct + ForceSendFields []string + Items []*User + Kind string + NextPageToken string + NullFields []string + func (s *UsersListResponse) MarshalJSON() ([]byte, error) + type UsersService struct + func NewUsersService(s *Service) *UsersService + func (r *UsersService) Delete(project string, instance string) *UsersDeleteCall + func (r *UsersService) Insert(project string, instance string, user *User) *UsersInsertCall + func (r *UsersService) List(project string, instance string) *UsersListCall + func (r *UsersService) Update(project string, instance string, user *User) *UsersUpdateCall + type UsersUpdateCall struct + func (c *UsersUpdateCall) Context(ctx context.Context) *UsersUpdateCall + func (c *UsersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *UsersUpdateCall) Fields(s ...googleapi.Field) *UsersUpdateCall + func (c *UsersUpdateCall) Header() http.Header + func (c *UsersUpdateCall) Host(host string) *UsersUpdateCall + func (c *UsersUpdateCall) Name(name string) *UsersUpdateCall