Settings class

Database instance settings.

Constructors

Settings({String? activationPolicy, SqlActiveDirectoryConfig? activeDirectoryConfig, List<String>? authorizedGaeApplications, String? availabilityType, BackupConfiguration? backupConfiguration, String? collation, bool? crashSafeReplicationEnabled, String? dataDiskSizeGb, String? dataDiskType, List<DatabaseFlags>? databaseFlags, bool? databaseReplicationEnabled, List<DenyMaintenancePeriod>? denyMaintenancePeriods, InsightsConfig? insightsConfig, IpConfiguration? ipConfiguration, String? kind, LocationPreference? locationPreference, MaintenanceWindow? maintenanceWindow, String? pricingPlan, String? replicationType, String? settingsVersion, bool? storageAutoResize, String? storageAutoResizeLimit, String? tier, Map<String, String>? userLabels})
Settings.fromJson(Map _json)

Properties

activationPolicy String?
The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE.
getter/setter pair
activeDirectoryConfig SqlActiveDirectoryConfig?
Active Directory configuration, relevant only for Cloud SQL for SQL Server.
getter/setter pair
authorizedGaeApplications List<String>?
The App Engine app IDs that can access this instance.
getter/setter pair
availabilityType String?
Availability type.
getter/setter pair
backupConfiguration BackupConfiguration?
The daily backup configuration for the instance.
getter/setter pair
collation String?
The name of server Instance collation.
getter/setter pair
crashSafeReplicationEnabled bool?
Configuration specific to read replica instances.
getter/setter pair
databaseFlags List<DatabaseFlags>?
The database flags passed to the instance at startup.
getter/setter pair
databaseReplicationEnabled bool?
Configuration specific to read replica instances.
getter/setter pair
dataDiskSizeGb String?
The size of data disk, in GB.
getter/setter pair
dataDiskType String?
The type of data disk: PD_SSD (default) or PD_HDD.
getter/setter pair
denyMaintenancePeriods List<DenyMaintenancePeriod>?
Deny maintenance periods
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
insightsConfig InsightsConfig?
Insights configuration, for now relevant only for Postgres.
getter/setter pair
ipConfiguration IpConfiguration?
The settings for IP Management.
getter/setter pair
kind String?
This is always sql#settings.
getter/setter pair
locationPreference LocationPreference?
The location preference settings.
getter/setter pair
maintenanceWindow MaintenanceWindow?
The maintenance window for this instance.
getter/setter pair
pricingPlan String?
The pricing plan for this instance.
getter/setter pair
replicationType String?
The type of replication this instance uses.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settingsVersion String?
The version of instance settings.
getter/setter pair
storageAutoResize bool?
Configuration to increase storage size automatically.
getter/setter pair
storageAutoResizeLimit String?
The maximum size to which storage capacity can be automatically increased.
getter/setter pair
tier String?
The tier (or machine type) for this instance, for example db-custom-1-3840 .
getter/setter pair
userLabels Map<String, String>?
User-provided labels, represented as a dictionary where each label is a single key value pair.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited