Struct google_sqladmin1_beta4::Settings[][src]

pub struct Settings {
    pub availability_type: Option<String>,
    pub activation_policy: Option<String>,
    pub ip_configuration: Option<IpConfiguration>,
    pub user_labels: Option<HashMap<String, String>>,
    pub database_replication_enabled: Option<bool>,
    pub replication_type: Option<String>,
    pub tier: Option<String>,
    pub settings_version: Option<String>,
    pub storage_auto_resize: Option<bool>,
    pub location_preference: Option<LocationPreference>,
    pub data_disk_size_gb: Option<String>,
    pub database_flags: Option<Vec<DatabaseFlags>>,
    pub kind: Option<String>,
    pub data_disk_type: Option<String>,
    pub authorized_gae_applications: Option<Vec<String>>,
    pub backup_configuration: Option<BackupConfiguration>,
    pub storage_auto_resize_limit: Option<String>,
    pub crash_safe_replication_enabled: Option<bool>,
    pub pricing_plan: Option<String>,
    pub maintenance_window: Option<MaintenanceWindow>,
}

Database instance settings.

This type is not used in any activity, and only used as part of another schema.

Fields

Reserved for future use.

The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. The activation policy cannot be updated together with other settings for Second Generation instances. Valid values: ALWAYS: The instance is on; it is not deactivated by inactivity. NEVER: The instance is off; it is not activated, even if a connection request arrives. ON_DEMAND: The instance responds to incoming requests, and turns itself off when not in use. Instances with PER_USE pricing turn off after 15 minutes of inactivity. Instances with PER_PACKAGE pricing turn off after 12 hours of inactivity.

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.

User-provided labels, represented as a dictionary where each label is a single key value pair.

Configuration specific to read replica instances. Indicates whether replication is enabled or not.

The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. This property is only applicable to First Generation instances.

The tier of service for this instance, for example D1, D2. For more information, see pricing.

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.

Configuration to increase storage size automatically. The default value is true. Applies only to Second Generation instances.

The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or GCE zone for better performance. App Engine co-location is only applicable to First Generation instances.

The size of data disk, in GB. The data disk size minimum is 10GB. Applies only to Second Generation instances.

The database flags passed to the instance at startup.

This is always sql#settings.

The type of data disk. Only supported for Second Generation instances. The default type is PD_SSD. Applies only to Second Generation instances.

The App Engine app IDs that can access this instance. This property is only applicable to First Generation instances.

The daily backup configuration for the instance.

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. Applies only to Second Generation instances.

Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property is only applicable to First Generation instances.

The pricing plan for this instance. This can be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation instances.

The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes. Applies only to Second Generation instances.

Trait Implementations

impl Default for Settings
[src]

Returns the "default value" for a type. Read more

impl Clone for Settings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Settings
[src]

Formats the value using the given formatter. Read more

impl Part for Settings
[src]

Auto Trait Implementations

impl Send for Settings

impl Sync for Settings