View Source GoogleApi.SQLAdmin.V1beta4.Model.Settings (google_api_sql_admin v0.54.0)

Database instance settings.

Attributes

  • advancedMachineFeatures (type: GoogleApi.SQLAdmin.V1beta4.Model.AdvancedMachineFeatures.t, default: nil) - Specifies advance machine configuration for the instance relevant only for SQL Server.
  • collation (type: String.t, default: nil) - The name of server Instance collation.
  • dataCacheConfig (type: GoogleApi.SQLAdmin.V1beta4.Model.DataCacheConfig.t, default: nil) - Configuration for data cache.
  • availabilityType (type: String.t, default: nil) - Availability type. Potential values: ZONAL: The instance serves data from only one zone. Outages in that zone affect data accessibility. REGIONAL: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.
  • userLabels (type: map(), default: nil) - User-provided labels, represented as a dictionary where each label is a single key value pair.
  • insightsConfig (type: GoogleApi.SQLAdmin.V1beta4.Model.InsightsConfig.t, default: nil) - Insights configuration, for now relevant only for Postgres.
  • ipConfiguration (type: GoogleApi.SQLAdmin.V1beta4.Model.IpConfiguration.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 for Second Generation instances.
  • dataDiskSizeGb (type: String.t, default: nil) - The size of data disk, in GB. The data disk size minimum is 10GB.
  • timeZone (type: String.t, default: nil) - Server timezone, relevant only for Cloud SQL for SQL Server.
  • locationPreference (type: GoogleApi.SQLAdmin.V1beta4.Model.LocationPreference.t, default: nil) - The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
  • kind (type: String.t, default: nil) - This is always sql#settings.
  • backupConfiguration (type: GoogleApi.SQLAdmin.V1beta4.Model.BackupConfiguration.t, default: nil) - The daily backup configuration for the instance.
  • crashSafeReplicationEnabled (type: boolean(), default: nil) - Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
  • replicationType (type: String.t, default: nil) - The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. (Deprecated) This property was only applicable to First Generation instances.
  • activeDirectoryConfig (type: GoogleApi.SQLAdmin.V1beta4.Model.SqlActiveDirectoryConfig.t, default: nil) - Active Directory configuration, relevant only for Cloud SQL for SQL Server.
  • authorizedGaeApplications (type: list(String.t), default: nil) - The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
  • edition (type: String.t, default: nil) - Optional. The edition of the instance.
  • databaseReplicationEnabled (type: boolean(), default: nil) - Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
  • sqlServerAuditConfig (type: GoogleApi.SQLAdmin.V1beta4.Model.SqlServerAuditConfig.t, default: nil) - SQL Server specific audit configuration.
  • 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.
  • passwordValidationPolicy (type: GoogleApi.SQLAdmin.V1beta4.Model.PasswordValidationPolicy.t, default: nil) - The local user password validation policy of the instance.
  • databaseFlags (type: list(GoogleApi.SQLAdmin.V1beta4.Model.DatabaseFlags.t), default: nil) - The database flags passed to the instance at startup.
  • maintenanceWindow (type: GoogleApi.SQLAdmin.V1beta4.Model.MaintenanceWindow.t, default: nil) - The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
  • dataDiskType (type: String.t, default: nil) - The type of data disk: PD_SSD (default) or PD_HDD. Not used for First Generation instances.
  • 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.
  • denyMaintenancePeriods (type: list(GoogleApi.SQLAdmin.V1beta4.Model.DenyMaintenancePeriod.t), default: nil) - Deny maintenance periods
  • connectorEnforcement (type: String.t, default: nil) - Specifies if connections must use Cloud SQL connectors. Option values include the following: NOT_REQUIRED (Cloud SQL instances can be connected without Cloud SQL Connectors) and REQUIRED (Only allow connections that use Cloud SQL Connectors) Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.
  • deletionProtectionEnabled (type: boolean(), default: nil) - Configuration to protect against accidental instance deletion.
  • pricingPlan (type: String.t, default: nil) - The pricing plan for this instance. This can be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation instances.
  • tier (type: String.t, default: nil) - The tier (or machine type) for this instance, for example db-custom-1-3840. WARNING: Changing this restarts the instance.
  • enableGoogleMlIntegration (type: boolean(), default: nil) - Optional. Configuration to enable Cloud SQL Vertex AI Integration
  • storageAutoResize (type: boolean(), default: nil) - Configuration to increase storage size automatically. The default value is true.
  • settingsVersion (type: String.t, default: nil) - The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SQLAdmin.V1beta4.Model.Settings{
  activationPolicy: String.t() | nil,
  activeDirectoryConfig:
    GoogleApi.SQLAdmin.V1beta4.Model.SqlActiveDirectoryConfig.t() | nil,
  advancedMachineFeatures:
    GoogleApi.SQLAdmin.V1beta4.Model.AdvancedMachineFeatures.t() | nil,
  authorizedGaeApplications: [String.t()] | nil,
  availabilityType: String.t() | nil,
  backupConfiguration:
    GoogleApi.SQLAdmin.V1beta4.Model.BackupConfiguration.t() | nil,
  collation: String.t() | nil,
  connectorEnforcement: String.t() | nil,
  crashSafeReplicationEnabled: boolean() | nil,
  dataCacheConfig: GoogleApi.SQLAdmin.V1beta4.Model.DataCacheConfig.t() | nil,
  dataDiskSizeGb: String.t() | nil,
  dataDiskType: String.t() | nil,
  databaseFlags: [GoogleApi.SQLAdmin.V1beta4.Model.DatabaseFlags.t()] | nil,
  databaseReplicationEnabled: boolean() | nil,
  deletionProtectionEnabled: boolean() | nil,
  denyMaintenancePeriods:
    [GoogleApi.SQLAdmin.V1beta4.Model.DenyMaintenancePeriod.t()] | nil,
  edition: String.t() | nil,
  enableGoogleMlIntegration: boolean() | nil,
  insightsConfig: GoogleApi.SQLAdmin.V1beta4.Model.InsightsConfig.t() | nil,
  ipConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.IpConfiguration.t() | nil,
  kind: String.t() | nil,
  locationPreference:
    GoogleApi.SQLAdmin.V1beta4.Model.LocationPreference.t() | nil,
  maintenanceWindow:
    GoogleApi.SQLAdmin.V1beta4.Model.MaintenanceWindow.t() | nil,
  passwordValidationPolicy:
    GoogleApi.SQLAdmin.V1beta4.Model.PasswordValidationPolicy.t() | nil,
  pricingPlan: String.t() | nil,
  replicationType: String.t() | nil,
  settingsVersion: String.t() | nil,
  sqlServerAuditConfig:
    GoogleApi.SQLAdmin.V1beta4.Model.SqlServerAuditConfig.t() | nil,
  storageAutoResize: boolean() | nil,
  storageAutoResizeLimit: String.t() | nil,
  tier: String.t() | nil,
  timeZone: String.t() | nil,
  userLabels: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.