public interface CloudSqlSettingsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsDatabaseFlags(String key)
public abstract boolean containsDatabaseFlags(String key)
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" }.
map<string, string> database_flags = 8;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsUserLabels(String key)
public abstract boolean containsUserLabels(String key)
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" }
.
map<string, string> user_labels = 2;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getActivationPolicy()
public abstract CloudSqlSettings.SqlActivationPolicy getActivationPolicy()
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.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Returns | |
---|---|
Type | Description |
CloudSqlSettings.SqlActivationPolicy | The activationPolicy. |
getActivationPolicyValue()
public abstract int getActivationPolicyValue()
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.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for activationPolicy. |
getAutoStorageIncrease()
public abstract BoolValue getAutoStorageIncrease()
[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.
.google.protobuf.BoolValue auto_storage_increase = 7;
Returns | |
---|---|
Type | Description |
BoolValue | The autoStorageIncrease. |
getAutoStorageIncreaseOrBuilder()
public abstract BoolValueOrBuilder getAutoStorageIncreaseOrBuilder()
[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.
.google.protobuf.BoolValue auto_storage_increase = 7;
Returns | |
---|---|
Type | Description |
BoolValueOrBuilder |
getAvailabilityType()
public abstract CloudSqlSettings.SqlAvailabilityType getAvailabilityType()
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).
.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType availability_type = 17 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|