|
sqladmin
v1beta4
|
#include <database_instance.h>
Classes | |
| class | DatabaseInstanceFailoverReplica |
Static Public Member Functions | |
| static DatabaseInstance * | New () |
A Cloud SQL instance resource.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'backendType' attribute.
|
inline |
Clears the 'connectionName' attribute.
|
inline |
Clears the 'currentDiskSize' attribute.
|
inline |
Clears the 'databaseVersion' attribute.
|
inline |
Clears the 'diskEncryptionConfiguration' attribute.
|
inline |
Clears the 'diskEncryptionStatus' attribute.
|
inline |
Clears the 'etag' attribute.
|
inline |
Clears the 'failoverReplica' attribute.
|
inline |
Clears the 'gceZone' attribute.
|
inline |
Clears the 'instanceType' attribute.
|
inline |
Clears the 'ipAddresses' attribute.
|
inline |
Clears the 'ipv6Address' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'masterInstanceName' attribute.
|
inline |
Clears the 'maxDiskSize' attribute.
|
inline |
Clears the 'name' attribute.
|
inline |
Clears the 'onPremisesConfiguration' attribute.
|
inline |
Clears the 'project' attribute.
|
inline |
Clears the 'region' attribute.
|
inline |
Clears the 'replicaConfiguration' attribute.
|
inline |
Clears the 'replicaNames' attribute.
|
inline |
Clears the 'rootPassword' attribute.
|
inline |
Clears the 'selfLink' attribute.
|
inline |
Clears the 'serverCaCert' attribute.
|
inline |
Clears the 'serviceAccountEmailAddress' attribute.
|
inline |
Clears the 'settings' attribute.
|
inline |
Clears the 'state' attribute.
|
inline |
Clears the 'suspensionReason' attribute.
|
inline |
Get the value of the 'backendType' attribute.
|
inline |
Get the value of the 'connectionName' attribute.
|
inline |
Get the value of the 'currentDiskSize' attribute.
|
inline |
Get the value of the 'databaseVersion' attribute.
| const DiskEncryptionConfiguration google_sqladmin_api::DatabaseInstance::get_disk_encryption_configuration | ( | ) | const |
Get a reference to the value of the 'diskEncryptionConfiguration' attribute.
| const DiskEncryptionStatus google_sqladmin_api::DatabaseInstance::get_disk_encryption_status | ( | ) | const |
Get a reference to the value of the 'diskEncryptionStatus' attribute.
|
inline |
Get the value of the 'etag' attribute.
|
inline |
Get a reference to the value of the 'failoverReplica' attribute.
|
inline |
Get the value of the 'gceZone' attribute.
|
inline |
Get the value of the 'instanceType' attribute.
| const client::JsonCppArray<IpMapping > google_sqladmin_api::DatabaseInstance::get_ip_addresses | ( | ) | const |
Get a reference to the value of the 'ipAddresses' attribute.
|
inline |
Get the value of the 'ipv6Address' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'masterInstanceName' attribute.
|
inline |
Get the value of the 'maxDiskSize' attribute.
|
inline |
Get the value of the 'name' attribute.
| const OnPremisesConfiguration google_sqladmin_api::DatabaseInstance::get_on_premises_configuration | ( | ) | const |
Get a reference to the value of the 'onPremisesConfiguration' attribute.
|
inline |
Get the value of the 'project' attribute.
|
inline |
Get the value of the 'region' attribute.
| const ReplicaConfiguration google_sqladmin_api::DatabaseInstance::get_replica_configuration | ( | ) | const |
Get a reference to the value of the 'replicaConfiguration' attribute.
|
inline |
Get a reference to the value of the 'replicaNames' attribute.
|
inline |
Get the value of the 'rootPassword' attribute.
|
inline |
Get the value of the 'selfLink' attribute.
| const SslCert google_sqladmin_api::DatabaseInstance::get_server_ca_cert | ( | ) | const |
Get a reference to the value of the 'serverCaCert' attribute.
|
inline |
Get the value of the 'serviceAccountEmailAddress' attribute.
| const Settings google_sqladmin_api::DatabaseInstance::get_settings | ( | ) | const |
Get a reference to the value of the 'settings' attribute.
|
inline |
Get the value of the 'state' attribute.
|
inline |
Get a reference to the value of the 'suspensionReason' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'backendType' attribute was set.
backendType' attribute was set.
|
inline |
Determine if the 'connectionName' attribute was set.
connectionName' attribute was set.
|
inline |
Determine if the 'currentDiskSize' attribute was set.
currentDiskSize' attribute was set.
|
inline |
Determine if the 'databaseVersion' attribute was set.
databaseVersion' attribute was set.
|
inline |
Determine if the 'diskEncryptionConfiguration' attribute was set.
diskEncryptionConfiguration' attribute was set.
|
inline |
Determine if the 'diskEncryptionStatus' attribute was set.
diskEncryptionStatus' attribute was set.
|
inline |
Determine if the 'etag' attribute was set.
etag' attribute was set.
|
inline |
Determine if the 'failoverReplica' attribute was set.
failoverReplica' attribute was set.
|
inline |
Determine if the 'gceZone' attribute was set.
gceZone' attribute was set.
|
inline |
Determine if the 'instanceType' attribute was set.
instanceType' attribute was set.
|
inline |
Determine if the 'ipAddresses' attribute was set.
ipAddresses' attribute was set.
|
inline |
Determine if the 'ipv6Address' attribute was set.
ipv6Address' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'masterInstanceName' attribute was set.
masterInstanceName' attribute was set.
|
inline |
Determine if the 'maxDiskSize' attribute was set.
maxDiskSize' attribute was set.
|
inline |
Determine if the 'name' attribute was set.
name' attribute was set.
|
inline |
Determine if the 'onPremisesConfiguration' attribute was set.
onPremisesConfiguration' attribute was set.
|
inline |
Determine if the 'project' attribute was set.
project' attribute was set.
|
inline |
Determine if the 'region' attribute was set.
region' attribute was set.
|
inline |
Determine if the 'replicaConfiguration' attribute was set.
replicaConfiguration' attribute was set.
|
inline |
Determine if the 'replicaNames' attribute was set.
replicaNames' attribute was set.
|
inline |
Determine if the 'rootPassword' attribute was set.
rootPassword' attribute was set.
|
inline |
Determine if the 'selfLink' attribute was set.
selfLink' attribute was set.
|
inline |
Determine if the 'serverCaCert' attribute was set.
serverCaCert' attribute was set.
|
inline |
Determine if the 'serviceAccountEmailAddress' attribute was set.
serviceAccountEmailAddress' attribute was set.
|
inline |
Determine if the 'settings' attribute was set.
settings' attribute was set.
|
inline |
Determine if the 'state' attribute was set.
state' attribute was set.
|
inline |
Determine if the 'suspensionReason' attribute was set.
suspensionReason' attribute was set. | DiskEncryptionConfiguration google_sqladmin_api::DatabaseInstance::mutable_diskEncryptionConfiguration | ( | ) |
Gets a reference to a mutable value of the 'diskEncryptionConfiguration' property.
Disk encryption configuration specific to an instance. Applies only to Second Generation instances.
| DiskEncryptionStatus google_sqladmin_api::DatabaseInstance::mutable_diskEncryptionStatus | ( | ) |
Gets a reference to a mutable value of the 'diskEncryptionStatus' property.
Disk encryption status specific to an instance. Applies only to Second Generation instances.
|
inline |
Gets a reference to a mutable value of the 'failoverReplica' property.
The name and status of the failover replica. This property is applicable only to Second Generation instances.
| client::JsonCppArray<IpMapping > google_sqladmin_api::DatabaseInstance::mutable_ipAddresses | ( | ) |
Gets a reference to a mutable value of the 'ipAddresses' property.
The assigned IP addresses for the instance.
| OnPremisesConfiguration google_sqladmin_api::DatabaseInstance::mutable_onPremisesConfiguration | ( | ) |
Gets a reference to a mutable value of the 'onPremisesConfiguration' property.
Configuration specific to on-premises instances.
| ReplicaConfiguration google_sqladmin_api::DatabaseInstance::mutable_replicaConfiguration | ( | ) |
Gets a reference to a mutable value of the 'replicaConfiguration' property.
Configuration specific to failover replicas and read replicas.
|
inline |
Gets a reference to a mutable value of the 'replicaNames' property.
The replicas of the instance.
| SslCert google_sqladmin_api::DatabaseInstance::mutable_serverCaCert | ( | ) |
Gets a reference to a mutable value of the 'serverCaCert' property.
SSL configuration.
| Settings google_sqladmin_api::DatabaseInstance::mutable_settings | ( | ) |
Gets a reference to a mutable value of the 'settings' property.
The user settings.
|
inline |
Gets a reference to a mutable value of the 'suspensionReason' property.
If the instance state is SUSPENDED, the reason for the suspension.
|
static |
Creates a new default instance.
|
inline |
Change the 'backendType' attribute.
This property is read-only; use the tier property in the settings object to determine the database type and Second or First Generation.
| [in] | value | The new value. |
|
inline |
Change the 'connectionName' attribute.
Connection name of the Cloud SQL instance used in connection strings.
| [in] | value | The new value. |
|
inline |
Change the 'currentDiskSize' attribute.
The current disk usage of the instance in bytes. This property has been deprecated. Users should use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
| [in] | value | The new value. |
|
inline |
Change the 'databaseVersion' attribute.
The database engine type and version. The databaseVersion field can not be changed after instance creation. MySQL Second Generation instances: MYSQL_5_7 (default) or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6 (default) or POSTGRES_11 Beta. MySQL First Generation instances: MYSQL_5_6 (default) or MYSQL_5_5.
| [in] | value | The new value. |
|
inline |
Change the 'etag' attribute.
This field is deprecated and will be removed from a future version of the API. Use the settings.settingsVersion field instead.
| [in] | value | The new value. |
|
inline |
Change the 'gceZone' attribute.
The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone.
| [in] | value | The new value. |
|
inline |
Change the 'instanceType' attribute.
The instance type. This can be one of the following.
| [in] | value | The new value. |
|
inline |
Change the 'ipv6Address' attribute.
The IPv6 address assigned to the instance. This property is applicable only to First Generation instances.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
This is always sql::instance.
| [in] | value | The new value. |
|
inline |
Change the 'masterInstanceName' attribute.
The name of the instance which will act as master in the replication setup.
| [in] | value | The new value. |
|
inline |
Change the 'maxDiskSize' attribute.
The maximum disk size of the instance in bytes.
| [in] | value | The new value. |
|
inline |
Change the 'name' attribute.
Name of the Cloud SQL instance. This does not include the project ID.
| [in] | value | The new value. |
|
inline |
Change the 'project' attribute.
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
| [in] | value | The new value. |
|
inline |
Change the 'region' attribute.
The geographical region. Can be us-central (FIRST_GEN instances only), us- central1 (SECOND_GEN instances only), asia-east1 or europe-west1. Defaults to us-central or us-central1 depending on the instance type (First Generation or Second Generation). The region can not be changed after instance creation.
| [in] | value | The new value. |
|
inline |
Change the 'rootPassword' attribute.
Initial root password. Use only on creation.
| [in] | value | The new value. |
|
inline |
Change the 'selfLink' attribute.
The URI of this resource.
| [in] | value | The new value. |
|
inline |
Change the 'serviceAccountEmailAddress' attribute.
The service account email address assigned to the instance. This property is applicable only to Second Generation instances.
| [in] | value | The new value. |
|
inline |
Change the 'state' attribute.
The current serving state of the Cloud SQL instance. This can be one of the following.
| [in] | value | The new value. |