View Source GoogleApi.DataMigration.V1.Model.CloudSqlSettings (google_api_data_migration v0.19.0)

Settings for creating a Cloud SQL database instance.

Attributes

  • activationPolicy (type: String.t, default: nil) - The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. NEVER: The instance is off; it is not activated, even if a connection request arrives.
  • autoStorageIncrease (type: boolean(), default: nil) - [default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
  • availabilityType (type: String.t, default: nil) - Optional. Availability type. Potential values: ZONAL: The instance serves data from only one zone. Outages in that zone affect data availability. REGIONAL: The instance can serve data from more than one zone in a region (it is highly available).
  • cmekKeyName (type: String.t, default: nil) - The KMS key name used for the csql instance.
  • collation (type: String.t, default: nil) - The Cloud SQL default instance level collation.
  • dataCacheConfig (type: GoogleApi.DataMigration.V1.Model.DataCacheConfig.t, default: nil) - Optional. Data cache is an optional feature available for Cloud SQL for MySQL Enterprise Plus edition only. For more information on data cache, see Data cache overview in Cloud SQL documentation.
  • dataDiskSizeGb (type: String.t, default: nil) - The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
  • dataDiskType (type: String.t, default: nil) - The type of storage: PD_SSD (default) or PD_HDD.
  • databaseFlags (type: map(), default: nil) - The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
  • databaseVersion (type: String.t, default: nil) - The database engine type and version. Deprecated. Use database_version_name instead.
  • databaseVersionName (type: String.t, default: nil) - Optional. The database engine type and version name.
  • edition (type: String.t, default: nil) - Optional. The edition of the given Cloud SQL instance.
  • ipConfig (type: GoogleApi.DataMigration.V1.Model.SqlIpConfig.t, default: nil) - The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
  • rootPassword (type: String.t, default: nil) - Input only. Initial root password.
  • rootPasswordSet (type: boolean(), default: nil) - Output only. Indicates If this connection profile root password is stored.
  • secondaryZone (type: String.t, default: nil) - Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
  • sourceId (type: String.t, default: nil) - The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
  • storageAutoResizeLimit (type: String.t, default: nil) - The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
  • tier (type: String.t, default: nil) - The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see Cloud SQL Instance Settings.
  • userLabels (type: map(), default: nil) - The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "18kg", "count": "3" }.
  • zone (type: String.t, default: nil) - The Google Cloud Platform zone where your Cloud SQL database instance is located.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DataMigration.V1.Model.CloudSqlSettings{
  activationPolicy: String.t() | nil,
  autoStorageIncrease: boolean() | nil,
  availabilityType: String.t() | nil,
  cmekKeyName: String.t() | nil,
  collation: String.t() | nil,
  dataCacheConfig: GoogleApi.DataMigration.V1.Model.DataCacheConfig.t() | nil,
  dataDiskSizeGb: String.t() | nil,
  dataDiskType: String.t() | nil,
  databaseFlags: map() | nil,
  databaseVersion: String.t() | nil,
  databaseVersionName: String.t() | nil,
  edition: String.t() | nil,
  ipConfig: GoogleApi.DataMigration.V1.Model.SqlIpConfig.t() | nil,
  rootPassword: String.t() | nil,
  rootPasswordSet: boolean() | nil,
  secondaryZone: String.t() | nil,
  sourceId: String.t() | nil,
  storageAutoResizeLimit: String.t() | nil,
  tier: String.t() | nil,
  userLabels: map() | nil,
  zone: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.