CloudSqlSettings class

Settings for creating a Cloud SQL database instance.

Constructors

CloudSqlSettings({String? activationPolicy, bool? autoStorageIncrease, String? availabilityType, String? cmekKeyName, String? collation, DataCacheConfig? dataCacheConfig, String? dataDiskSizeGb, String? dataDiskType, Map<String, String>? databaseFlags, String? databaseVersion, String? edition, SqlIpConfig? ipConfig, String? rootPassword, bool? rootPasswordSet, String? secondaryZone, String? sourceId, String? storageAutoResizeLimit, String? tier, Map<String, String>? userLabels, String? zone})
CloudSqlSettings.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
autoStorageIncrease bool?
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds.
getter/setter pair
availabilityType String?
Availability type.
getter/setter pair
cmekKeyName String?
The KMS key name used for the csql instance.
getter/setter pair
collation String?
The Cloud SQL default instance level collation.
getter/setter pair
databaseFlags Map<String, String>?
The database flags passed to the Cloud SQL instance at startup.
getter/setter pair
databaseVersion String?
The database engine type and version. Possible string values are:
getter/setter pair
dataCacheConfig DataCacheConfig?
Data cache is an optional feature available for Cloud SQL for MySQL Enterprise Plus edition only.
getter/setter pair
dataDiskSizeGb String?
The storage capacity available to the database, in GB.
getter/setter pair
dataDiskType String?
The type of storage: PD_SSD (default) or PD_HDD. Possible string values are:
getter/setter pair
edition String?
The edition of the given Cloud SQL instance.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipConfig SqlIpConfig?
The settings for IP Management.
getter/setter pair
rootPassword String?
Input only.
getter/setter pair
rootPasswordSet bool?
Indicates If this connection profile root password is stored.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryZone String?
The Google Cloud Platform zone where the failover Cloud SQL database instance is located.
getter/setter pair
sourceId String?
The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
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-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances).
getter/setter pair
userLabels Map<String, String>?
The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.
getter/setter pair
zone String?
The Google Cloud Platform zone where your Cloud SQL database instance is located.
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