Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 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 AcquireSsrsLeaseContext struct + Duration string + ForceSendFields []string + NullFields []string + ReportDatabase string + ServiceLogin string + SetupLogin string + func (s AcquireSsrsLeaseContext) MarshalJSON() ([]byte, error) + type AdvancedMachineFeatures struct + ForceSendFields []string + NullFields []string + ThreadsPerCore int64 + func (s AdvancedMachineFeatures) MarshalJSON() ([]byte, error) + type ApiWarning struct + Code string + ForceSendFields []string + Message string + NullFields []string + Region string + func (s ApiWarning) MarshalJSON() ([]byte, error) + type AvailableDatabaseVersion struct + DisplayName string + ForceSendFields []string + MajorVersion string + Name string + NullFields []string + func (s AvailableDatabaseVersion) MarshalJSON() ([]byte, error) + type BackupConfiguration struct + BackupRetentionSettings *BackupRetentionSettings + BinaryLogEnabled bool + Enabled bool + ForceSendFields []string + Kind string + Location string + NullFields []string + PointInTimeRecoveryEnabled bool + ReplicationLogArchivingEnabled bool + StartTime string + TransactionLogRetentionDays int64 + TransactionalLogStorageState string + func (s BackupConfiguration) MarshalJSON() ([]byte, error) + type BackupContext struct + BackupId int64 + ForceSendFields []string + Kind string + NullFields []string + func (s BackupContext) MarshalJSON() ([]byte, error) + type BackupReencryptionConfig struct + BackupLimit int64 + BackupType string + ForceSendFields []string + NullFields []string + func (s BackupReencryptionConfig) MarshalJSON() ([]byte, error) + type BackupRetentionSettings struct + ForceSendFields []string + NullFields []string + RetainedBackups int64 + RetentionUnit string + func (s BackupRetentionSettings) MarshalJSON() ([]byte, error) + type BackupRun struct + BackupKind string + Description string + DiskEncryptionConfiguration *DiskEncryptionConfiguration + DiskEncryptionStatus *DiskEncryptionStatus + EndTime string + EnqueuedTime string + Error *OperationError + ForceSendFields []string + Id int64 + Instance string + Kind string + Location string + MaxChargeableBytes int64 + NullFields []string + SelfLink string + StartTime string + Status string + TimeZone 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 + AllocatedIpRange string + BinLogCoordinates *BinLogCoordinates + DatabaseNames []string + DestinationInstanceName string + ForceSendFields []string + Kind string + NullFields []string + PitrTimestampMs int64 + PointInTime string + PreferredSecondaryZone string + PreferredZone string + func (s CloneContext) MarshalJSON() ([]byte, error) + type ConnectGenerateEphemeralCertCall struct + func (c *ConnectGenerateEphemeralCertCall) Context(ctx context.Context) *ConnectGenerateEphemeralCertCall + func (c *ConnectGenerateEphemeralCertCall) Do(opts ...googleapi.CallOption) (*GenerateEphemeralCertResponse, error) + func (c *ConnectGenerateEphemeralCertCall) Fields(s ...googleapi.Field) *ConnectGenerateEphemeralCertCall + func (c *ConnectGenerateEphemeralCertCall) Header() http.Header + type ConnectGetCall struct + func (c *ConnectGetCall) Context(ctx context.Context) *ConnectGetCall + func (c *ConnectGetCall) Do(opts ...googleapi.CallOption) (*ConnectSettings, error) + func (c *ConnectGetCall) Fields(s ...googleapi.Field) *ConnectGetCall + func (c *ConnectGetCall) Header() http.Header + func (c *ConnectGetCall) IfNoneMatch(entityTag string) *ConnectGetCall + func (c *ConnectGetCall) ReadTime(readTime string) *ConnectGetCall + type ConnectService struct + func NewConnectService(s *Service) *ConnectService + func (r *ConnectService) GenerateEphemeralCert(project string, instance string, ...) *ConnectGenerateEphemeralCertCall + func (r *ConnectService) Get(project string, instance string) *ConnectGetCall + type ConnectSettings struct + BackendType string + DatabaseVersion string + DnsName string + ForceSendFields []string + IpAddresses []*IpMapping + Kind string + NullFields []string + PscEnabled bool + Region string + ServerCaCert *SslCert + ServerCaMode string + func (s ConnectSettings) MarshalJSON() ([]byte, error) + type DataCacheConfig struct + DataCacheEnabled bool + ForceSendFields []string + NullFields []string + func (s DataCacheConfig) 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 + AvailableMaintenanceVersions []string + BackendType string + ConnectionName string + CreateTime string + CurrentDiskSize int64 + DatabaseInstalledVersion string + DatabaseVersion string + DiskEncryptionConfiguration *DiskEncryptionConfiguration + DiskEncryptionStatus *DiskEncryptionStatus + DnsName string + Etag string + FailoverReplica *DatabaseInstanceFailoverReplica + ForceSendFields []string + GceZone string + GeminiConfig *GeminiInstanceConfig + InstanceType string + IpAddresses []*IpMapping + Ipv6Address string + Kind string + MaintenanceVersion string + MasterInstanceName string + MaxDiskSize int64 + Name string + NullFields []string + OnPremisesConfiguration *OnPremisesConfiguration + OutOfDiskReport *SqlOutOfDiskReport + PrimaryDnsName string + Project string + PscServiceAttachmentLink string + Region string + ReplicaConfiguration *ReplicaConfiguration + ReplicaNames []string + ReplicationCluster *ReplicationCluster + RootPassword string + SatisfiesPzi bool + SatisfiesPzs bool + ScheduledMaintenance *SqlScheduledMaintenance + SecondaryGceZone string + SelfLink string + ServerCaCert *SslCert + ServiceAccountEmailAddress string + Settings *Settings + SqlNetworkArchitecture string + State string + SuspensionReason []string + SwitchTransactionLogsToCloudStorageEnabled bool + UpgradableDatabaseVersions []*AvailableDatabaseVersion + WriteEndpoint 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 DemoteContext struct + ForceSendFields []string + Kind string + NullFields []string + SourceRepresentativeInstanceName string + func (s DemoteContext) MarshalJSON() ([]byte, error) + 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 + SkipReplicationSetup bool + 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 DenyMaintenancePeriod struct + EndDate string + ForceSendFields []string + NullFields []string + StartDate string + Time string + func (s DenyMaintenancePeriod) 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 Empty struct + type ExportContext struct + BakExportOptions *ExportContextBakExportOptions + CsvExportOptions *ExportContextCsvExportOptions + Databases []string + FileType string + ForceSendFields []string + Kind string + NullFields []string + Offload bool + SqlExportOptions *ExportContextSqlExportOptions + Uri string + func (s ExportContext) MarshalJSON() ([]byte, error) + type ExportContextBakExportOptions struct + BakType string + CopyOnly bool + DifferentialBase bool + ExportLogEndTime string + ExportLogStartTime string + ForceSendFields []string + NullFields []string + StripeCount int64 + Striped bool + func (s ExportContextBakExportOptions) MarshalJSON() ([]byte, error) + type ExportContextCsvExportOptions struct + EscapeCharacter string + FieldsTerminatedBy string + ForceSendFields []string + LinesTerminatedBy string + NullFields []string + QuoteCharacter string + SelectQuery string + func (s ExportContextCsvExportOptions) MarshalJSON() ([]byte, error) + type ExportContextSqlExportOptions struct + ForceSendFields []string + MysqlExportOptions *ExportContextSqlExportOptionsMysqlExportOptions + NullFields []string + Parallel bool + PostgresExportOptions *ExportContextSqlExportOptionsPostgresExportOptions + SchemaOnly bool + Tables []string + Threads int64 + func (s ExportContextSqlExportOptions) MarshalJSON() ([]byte, error) + type ExportContextSqlExportOptionsMysqlExportOptions struct + ForceSendFields []string + MasterData int64 + NullFields []string + func (s ExportContextSqlExportOptionsMysqlExportOptions) MarshalJSON() ([]byte, error) + type ExportContextSqlExportOptionsPostgresExportOptions struct + Clean bool + ForceSendFields []string + IfExists bool + NullFields []string + func (s ExportContextSqlExportOptionsPostgresExportOptions) 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 GeminiInstanceConfig struct + ActiveQueryEnabled bool + Entitled bool + FlagRecommenderEnabled bool + ForceSendFields []string + GoogleVacuumMgmtEnabled bool + IndexAdvisorEnabled bool + NullFields []string + OomSessionCancelEnabled bool + func (s GeminiInstanceConfig) MarshalJSON() ([]byte, error) + type GenerateEphemeralCertRequest struct + AccessToken string + ForceSendFields []string + NullFields []string + PublicKey string + ReadTime string + ValidDuration string + func (s GenerateEphemeralCertRequest) MarshalJSON() ([]byte, error) + type GenerateEphemeralCertResponse struct + EphemeralCert *SslCert + ForceSendFields []string + NullFields []string + func (s GenerateEphemeralCertResponse) MarshalJSON() ([]byte, error) + type ImportContext struct + BakImportOptions *ImportContextBakImportOptions + CsvImportOptions *ImportContextCsvImportOptions + Database string + FileType string + ForceSendFields []string + ImportUser string + Kind string + NullFields []string + SqlImportOptions *ImportContextSqlImportOptions + Uri string + func (s ImportContext) MarshalJSON() ([]byte, error) + type ImportContextBakImportOptions struct + BakType string + EncryptionOptions *ImportContextBakImportOptionsEncryptionOptions + ForceSendFields []string + NoRecovery bool + NullFields []string + RecoveryOnly bool + StopAt string + StopAtMark string + Striped bool + 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 + EscapeCharacter string + FieldsTerminatedBy string + ForceSendFields []string + LinesTerminatedBy string + NullFields []string + QuoteCharacter string + Table string + func (s ImportContextCsvImportOptions) MarshalJSON() ([]byte, error) + type ImportContextSqlImportOptions struct + ForceSendFields []string + NullFields []string + Parallel bool + PostgresImportOptions *ImportContextSqlImportOptionsPostgresImportOptions + Threads int64 + func (s ImportContextSqlImportOptions) MarshalJSON() ([]byte, error) + type ImportContextSqlImportOptionsPostgresImportOptions struct + Clean bool + ForceSendFields []string + IfExists bool + NullFields []string + func (s ImportContextSqlImportOptionsPostgresImportOptions) MarshalJSON() ([]byte, error) + type InsightsConfig struct + ForceSendFields []string + NullFields []string + QueryInsightsEnabled bool + QueryPlansPerMinute int64 + QueryStringLength int64 + RecordApplicationTags bool + RecordClientAddress bool + func (s InsightsConfig) MarshalJSON() ([]byte, error) + type InstanceReference struct + ForceSendFields []string + Name string + NullFields []string + Project string + Region string + func (s InstanceReference) MarshalJSON() ([]byte, error) + type InstancesAcquireSsrsLeaseCall struct + func (c *InstancesAcquireSsrsLeaseCall) Context(ctx context.Context) *InstancesAcquireSsrsLeaseCall + func (c *InstancesAcquireSsrsLeaseCall) Do(opts ...googleapi.CallOption) (*SqlInstancesAcquireSsrsLeaseResponse, error) + func (c *InstancesAcquireSsrsLeaseCall) Fields(s ...googleapi.Field) *InstancesAcquireSsrsLeaseCall + func (c *InstancesAcquireSsrsLeaseCall) Header() http.Header + type InstancesAcquireSsrsLeaseRequest struct + AcquireSsrsLeaseContext *AcquireSsrsLeaseContext + ForceSendFields []string + NullFields []string + func (s InstancesAcquireSsrsLeaseRequest) 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 InstancesAddServerCertificateCall struct + func (c *InstancesAddServerCertificateCall) Context(ctx context.Context) *InstancesAddServerCertificateCall + func (c *InstancesAddServerCertificateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesAddServerCertificateCall) Fields(s ...googleapi.Field) *InstancesAddServerCertificateCall + func (c *InstancesAddServerCertificateCall) 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 InstancesDemoteCall struct + func (c *InstancesDemoteCall) Context(ctx context.Context) *InstancesDemoteCall + func (c *InstancesDemoteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesDemoteCall) Fields(s ...googleapi.Field) *InstancesDemoteCall + func (c *InstancesDemoteCall) 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 InstancesDemoteRequest struct + DemoteContext *DemoteContext + ForceSendFields []string + NullFields []string + func (s InstancesDemoteRequest) 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 InstancesListServerCertificatesCall struct + func (c *InstancesListServerCertificatesCall) Context(ctx context.Context) *InstancesListServerCertificatesCall + func (c *InstancesListServerCertificatesCall) Do(opts ...googleapi.CallOption) (*InstancesListServerCertificatesResponse, error) + func (c *InstancesListServerCertificatesCall) Fields(s ...googleapi.Field) *InstancesListServerCertificatesCall + func (c *InstancesListServerCertificatesCall) Header() http.Header + func (c *InstancesListServerCertificatesCall) IfNoneMatch(entityTag string) *InstancesListServerCertificatesCall + type InstancesListServerCertificatesResponse struct + ActiveVersion string + CaCerts []*SslCert + ForceSendFields []string + Kind string + NullFields []string + ServerCerts []*SslCert + func (s InstancesListServerCertificatesResponse) 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) Failover(failover bool) *InstancesPromoteReplicaCall + func (c *InstancesPromoteReplicaCall) Fields(s ...googleapi.Field) *InstancesPromoteReplicaCall + func (c *InstancesPromoteReplicaCall) Header() http.Header + type InstancesReencryptCall struct + func (c *InstancesReencryptCall) Context(ctx context.Context) *InstancesReencryptCall + func (c *InstancesReencryptCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesReencryptCall) Fields(s ...googleapi.Field) *InstancesReencryptCall + func (c *InstancesReencryptCall) Header() http.Header + type InstancesReencryptRequest struct + BackupReencryptionConfig *BackupReencryptionConfig + ForceSendFields []string + NullFields []string + func (s InstancesReencryptRequest) MarshalJSON() ([]byte, error) + type InstancesReleaseSsrsLeaseCall struct + func (c *InstancesReleaseSsrsLeaseCall) Context(ctx context.Context) *InstancesReleaseSsrsLeaseCall + func (c *InstancesReleaseSsrsLeaseCall) Do(opts ...googleapi.CallOption) (*SqlInstancesReleaseSsrsLeaseResponse, error) + func (c *InstancesReleaseSsrsLeaseCall) Fields(s ...googleapi.Field) *InstancesReleaseSsrsLeaseCall + func (c *InstancesReleaseSsrsLeaseCall) 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 InstancesRotateServerCertificateCall struct + func (c *InstancesRotateServerCertificateCall) Context(ctx context.Context) *InstancesRotateServerCertificateCall + func (c *InstancesRotateServerCertificateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesRotateServerCertificateCall) Fields(s ...googleapi.Field) *InstancesRotateServerCertificateCall + func (c *InstancesRotateServerCertificateCall) Header() http.Header + type InstancesRotateServerCertificateRequest struct + ForceSendFields []string + NullFields []string + RotateServerCertificateContext *RotateServerCertificateContext + func (s InstancesRotateServerCertificateRequest) MarshalJSON() ([]byte, error) + type InstancesService struct + func NewInstancesService(s *Service) *InstancesService + func (r *InstancesService) AcquireSsrsLease(project string, instance string, ...) *InstancesAcquireSsrsLeaseCall + func (r *InstancesService) AddServerCa(project string, instance string) *InstancesAddServerCaCall + func (r *InstancesService) AddServerCertificate(project string, instance string) *InstancesAddServerCertificateCall + func (r *InstancesService) Clone(project string, instance string, instancesclonerequest *InstancesCloneRequest) *InstancesCloneCall + func (r *InstancesService) Delete(project string, instance string) *InstancesDeleteCall + func (r *InstancesService) Demote(project string, instance string, ...) *InstancesDemoteCall + 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) ListServerCertificates(project string, instance string) *InstancesListServerCertificatesCall + func (r *InstancesService) Patch(project string, instance string, databaseinstance *DatabaseInstance) *InstancesPatchCall + func (r *InstancesService) PromoteReplica(project string, instance string) *InstancesPromoteReplicaCall + func (r *InstancesService) Reencrypt(project string, instance string, ...) *InstancesReencryptCall + func (r *InstancesService) ReleaseSsrsLease(project string, instance string) *InstancesReleaseSsrsLeaseCall + 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) RotateServerCertificate(project string, instance string, ...) *InstancesRotateServerCertificateCall + func (r *InstancesService) StartReplica(project string, instance string) *InstancesStartReplicaCall + func (r *InstancesService) StopReplica(project string, instance string) *InstancesStopReplicaCall + func (r *InstancesService) Switchover(project string, instance string) *InstancesSwitchoverCall + 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 InstancesSwitchoverCall struct + func (c *InstancesSwitchoverCall) Context(ctx context.Context) *InstancesSwitchoverCall + func (c *InstancesSwitchoverCall) DbTimeout(dbTimeout string) *InstancesSwitchoverCall + func (c *InstancesSwitchoverCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *InstancesSwitchoverCall) Fields(s ...googleapi.Field) *InstancesSwitchoverCall + func (c *InstancesSwitchoverCall) 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 + AllocatedIpRange string + AuthorizedNetworks []*AclEntry + EnablePrivatePathForGoogleCloudServices bool + ForceSendFields []string + Ipv4Enabled bool + NullFields []string + PrivateNetwork string + PscConfig *PscConfig + RequireSsl bool + ServerCaMode string + SslMode string + 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 + SecondaryZone 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 MySqlSyncConfig struct + ForceSendFields []string + InitialSyncFlags []*SyncFlags + NullFields []string + func (s MySqlSyncConfig) MarshalJSON() ([]byte, error) + type OnPremisesConfiguration struct + CaCertificate string + ClientCertificate string + ClientKey string + DumpFilePath string + ForceSendFields []string + HostPort string + Kind string + NullFields []string + Password string + SourceInstance *InstanceReference + Username string + func (s OnPremisesConfiguration) MarshalJSON() ([]byte, error) + type Operation struct + AcquireSsrsLeaseContext *AcquireSsrsLeaseContext + ApiWarning *ApiWarning + BackupContext *BackupContext + 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 OperationMetadata struct + ApiVersion string + CancelRequested bool + CreateTime string + EndTime string + ForceSendFields []string + NullFields []string + StatusDetail string + Target string + Verb string + func (s OperationMetadata) MarshalJSON() ([]byte, error) + type OperationsCancelCall struct + func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall + func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall + func (c *OperationsCancelCall) Header() http.Header + 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) Cancel(project string, operation string) *OperationsCancelCall + func (r *OperationsService) Get(project string, operation string) *OperationsGetCall + func (r *OperationsService) List(project string) *OperationsListCall + type PasswordStatus struct + ForceSendFields []string + Locked bool + NullFields []string + PasswordExpirationTime string + func (s PasswordStatus) MarshalJSON() ([]byte, error) + type PasswordValidationPolicy struct + Complexity string + DisallowCompromisedCredentials bool + DisallowUsernameSubstring bool + EnablePasswordPolicy bool + ForceSendFields []string + MinLength int64 + NullFields []string + PasswordChangeInterval string + ReuseInterval int64 + func (s PasswordValidationPolicy) MarshalJSON() ([]byte, error) + type PerformDiskShrinkContext struct + ForceSendFields []string + NullFields []string + TargetSizeGb int64 + func (s PerformDiskShrinkContext) MarshalJSON() ([]byte, error) + type ProjectsInstancesGetDiskShrinkConfigCall struct + func (c *ProjectsInstancesGetDiskShrinkConfigCall) Context(ctx context.Context) *ProjectsInstancesGetDiskShrinkConfigCall + func (c *ProjectsInstancesGetDiskShrinkConfigCall) Do(opts ...googleapi.CallOption) (*SqlInstancesGetDiskShrinkConfigResponse, error) + func (c *ProjectsInstancesGetDiskShrinkConfigCall) Fields(s ...googleapi.Field) *ProjectsInstancesGetDiskShrinkConfigCall + func (c *ProjectsInstancesGetDiskShrinkConfigCall) Header() http.Header + func (c *ProjectsInstancesGetDiskShrinkConfigCall) IfNoneMatch(entityTag string) *ProjectsInstancesGetDiskShrinkConfigCall + type ProjectsInstancesGetLatestRecoveryTimeCall struct + func (c *ProjectsInstancesGetLatestRecoveryTimeCall) Context(ctx context.Context) *ProjectsInstancesGetLatestRecoveryTimeCall + func (c *ProjectsInstancesGetLatestRecoveryTimeCall) Do(opts ...googleapi.CallOption) (*SqlInstancesGetLatestRecoveryTimeResponse, error) + func (c *ProjectsInstancesGetLatestRecoveryTimeCall) Fields(s ...googleapi.Field) *ProjectsInstancesGetLatestRecoveryTimeCall + func (c *ProjectsInstancesGetLatestRecoveryTimeCall) Header() http.Header + func (c *ProjectsInstancesGetLatestRecoveryTimeCall) IfNoneMatch(entityTag string) *ProjectsInstancesGetLatestRecoveryTimeCall + type ProjectsInstancesPerformDiskShrinkCall struct + func (c *ProjectsInstancesPerformDiskShrinkCall) Context(ctx context.Context) *ProjectsInstancesPerformDiskShrinkCall + func (c *ProjectsInstancesPerformDiskShrinkCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsInstancesPerformDiskShrinkCall) Fields(s ...googleapi.Field) *ProjectsInstancesPerformDiskShrinkCall + func (c *ProjectsInstancesPerformDiskShrinkCall) Header() http.Header + 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 ProjectsInstancesResetReplicaSizeCall struct + func (c *ProjectsInstancesResetReplicaSizeCall) Context(ctx context.Context) *ProjectsInstancesResetReplicaSizeCall + func (c *ProjectsInstancesResetReplicaSizeCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsInstancesResetReplicaSizeCall) Fields(s ...googleapi.Field) *ProjectsInstancesResetReplicaSizeCall + func (c *ProjectsInstancesResetReplicaSizeCall) Header() http.Header + type ProjectsInstancesService struct + func NewProjectsInstancesService(s *Service) *ProjectsInstancesService + func (r *ProjectsInstancesService) GetDiskShrinkConfig(project string, instance string) *ProjectsInstancesGetDiskShrinkConfigCall + func (r *ProjectsInstancesService) GetLatestRecoveryTime(project string, instance string) *ProjectsInstancesGetLatestRecoveryTimeCall + func (r *ProjectsInstancesService) PerformDiskShrink(project string, instance string, ...) *ProjectsInstancesPerformDiskShrinkCall + func (r *ProjectsInstancesService) RescheduleMaintenance(project string, instance string, ...) *ProjectsInstancesRescheduleMaintenanceCall + func (r *ProjectsInstancesService) ResetReplicaSize(project string, instance string, ...) *ProjectsInstancesResetReplicaSizeCall + 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 + 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 + type ProjectsService struct + Instances *ProjectsInstancesService + func NewProjectsService(s *Service) *ProjectsService + type PscConfig struct + AllowedConsumerProjects []string + ForceSendFields []string + NullFields []string + PscEnabled bool + func (s PscConfig) MarshalJSON() ([]byte, error) + type ReplicaConfiguration struct + CascadableReplica bool + FailoverTarget bool + ForceSendFields []string + Kind string + MysqlReplicaConfiguration *MySqlReplicaConfiguration + NullFields []string + func (s ReplicaConfiguration) MarshalJSON() ([]byte, error) + type ReplicationCluster struct + DrReplica bool + FailoverDrReplicaName string + ForceSendFields []string + NullFields []string + PsaWriteEndpoint string + func (s ReplicationCluster) 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 RotateServerCertificateContext struct + ForceSendFields []string + Kind string + NextVersion string + NullFields []string + func (s RotateServerCertificateContext) MarshalJSON() ([]byte, error) + type Service struct + BackupRuns *BackupRunsService + BasePath string + Connect *ConnectService + 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 + ActiveDirectoryConfig *SqlActiveDirectoryConfig + AdvancedMachineFeatures *AdvancedMachineFeatures + AuthorizedGaeApplications []string + AvailabilityType string + BackupConfiguration *BackupConfiguration + Collation string + ConnectorEnforcement string + CrashSafeReplicationEnabled bool + DataCacheConfig *DataCacheConfig + DataDiskSizeGb int64 + DataDiskType string + DatabaseFlags []*DatabaseFlags + DatabaseReplicationEnabled bool + DeletionProtectionEnabled bool + DenyMaintenancePeriods []*DenyMaintenancePeriod + Edition string + EnableDataplexIntegration bool + EnableGoogleMlIntegration bool + ForceSendFields []string + InsightsConfig *InsightsConfig + IpConfiguration *IpConfiguration + Kind string + LocationPreference *LocationPreference + MaintenanceWindow *MaintenanceWindow + NullFields []string + PasswordValidationPolicy *PasswordValidationPolicy + PricingPlan string + ReplicationType string + SettingsVersion int64 + SqlServerAuditConfig *SqlServerAuditConfig + StorageAutoResize *bool + StorageAutoResizeLimit int64 + Tier string + TimeZone string + UserLabels map[string]string + func (s Settings) MarshalJSON() ([]byte, error) + type SqlActiveDirectoryConfig struct + Domain string + ForceSendFields []string + Kind string + NullFields []string + func (s SqlActiveDirectoryConfig) MarshalJSON() ([]byte, error) + type SqlExternalSyncSettingError struct + Detail string + ForceSendFields []string + Kind string + NullFields []string + Type string + func (s SqlExternalSyncSettingError) MarshalJSON() ([]byte, error) + type SqlInstancesAcquireSsrsLeaseResponse struct + ForceSendFields []string + NullFields []string + OperationId string + func (s SqlInstancesAcquireSsrsLeaseResponse) MarshalJSON() ([]byte, error) + type SqlInstancesGetDiskShrinkConfigResponse struct + ForceSendFields []string + Kind string + Message string + MinimalTargetSizeGb int64 + NullFields []string + func (s SqlInstancesGetDiskShrinkConfigResponse) MarshalJSON() ([]byte, error) + type SqlInstancesGetLatestRecoveryTimeResponse struct + ForceSendFields []string + Kind string + LatestRecoveryTime string + NullFields []string + func (s SqlInstancesGetLatestRecoveryTimeResponse) MarshalJSON() ([]byte, error) + type SqlInstancesReleaseSsrsLeaseResponse struct + ForceSendFields []string + NullFields []string + OperationId string + func (s SqlInstancesReleaseSsrsLeaseResponse) MarshalJSON() ([]byte, error) + type SqlInstancesRescheduleMaintenanceRequestBody struct + ForceSendFields []string + NullFields []string + Reschedule *Reschedule + func (s SqlInstancesRescheduleMaintenanceRequestBody) MarshalJSON() ([]byte, error) + type SqlInstancesResetReplicaSizeRequest struct + type SqlInstancesStartExternalSyncRequest struct + ForceSendFields []string + MigrationType string + MysqlSyncConfig *MySqlSyncConfig + NullFields []string + SkipVerification bool + SyncMode string + SyncParallelLevel string + func (s SqlInstancesStartExternalSyncRequest) MarshalJSON() ([]byte, error) + type SqlInstancesVerifyExternalSyncSettingsRequest struct + ForceSendFields []string + MigrationType string + MysqlSyncConfig *MySqlSyncConfig + NullFields []string + SyncMode string + SyncParallelLevel string + VerifyConnectionOnly bool + VerifyReplicationOnly bool + func (s SqlInstancesVerifyExternalSyncSettingsRequest) MarshalJSON() ([]byte, error) + type SqlInstancesVerifyExternalSyncSettingsResponse struct + Errors []*SqlExternalSyncSettingError + ForceSendFields []string + Kind string + NullFields []string + Warnings []*SqlExternalSyncSettingError + func (s SqlInstancesVerifyExternalSyncSettingsResponse) MarshalJSON() ([]byte, error) + type SqlOutOfDiskReport struct + ForceSendFields []string + NullFields []string + SqlMinRecommendedIncreaseSizeGb int64 + SqlOutOfDiskState string + func (s SqlOutOfDiskReport) MarshalJSON() ([]byte, error) + type SqlScheduledMaintenance struct + CanDefer bool + CanReschedule bool + ForceSendFields []string + NullFields []string + ScheduleDeadlineTime string + StartTime string + func (s SqlScheduledMaintenance) MarshalJSON() ([]byte, error) + type SqlServerAuditConfig struct + Bucket string + ForceSendFields []string + Kind string + NullFields []string + RetentionInterval string + UploadInterval string + func (s SqlServerAuditConfig) 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 + AccessToken string + 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 SyncFlags struct + ForceSendFields []string + Name string + NullFields []string + Value string + func (s SyncFlags) MarshalJSON() ([]byte, error) + 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 + DualPasswordType string + Etag string + ForceSendFields []string + Host string + Instance string + Kind string + Name string + NullFields []string + Password string + PasswordPolicy *UserPasswordValidationPolicy + Project string + SqlserverUserDetails *SqlServerUserDetails + Type string + func (s User) MarshalJSON() ([]byte, error) + type UserPasswordValidationPolicy struct + AllowedFailedAttempts int64 + EnableFailedAttemptsCheck bool + EnablePasswordVerification bool + ForceSendFields []string + NullFields []string + PasswordExpirationDuration string + Status *PasswordStatus + func (s UserPasswordValidationPolicy) 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 UsersGetCall struct + func (c *UsersGetCall) Context(ctx context.Context) *UsersGetCall + func (c *UsersGetCall) Do(opts ...googleapi.CallOption) (*User, error) + func (c *UsersGetCall) Fields(s ...googleapi.Field) *UsersGetCall + func (c *UsersGetCall) Header() http.Header + func (c *UsersGetCall) Host(host string) *UsersGetCall + func (c *UsersGetCall) IfNoneMatch(entityTag string) *UsersGetCall + 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) Get(project string, instance string, name string) *UsersGetCall + 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