Google Cloud Sql Admin V1 Client - Class SqlActivationPolicy (1.2.6)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlActivationPolicy.
Specifies when the instance is activated.
Protobuf type google.cloud.sql.v1.Settings.SqlActivationPolicy
Namespace
Google \ Cloud \ Sql \ V1 \ Settings
Methods
static::name
static::value
Constants
SQL_ACTIVATION_POLICY_UNSPECIFIED
Unknown activation plan.
Generated from protobuf enum SQL_ACTIVATION_POLICY_UNSPECIFIED = 0;
ALWAYS
The instance is always up and running.
Generated from protobuf enum ALWAYS = 1;
NEVER
The instance never starts.
Generated from protobuf enum NEVER = 2;
ON_DEMAND
The instance starts upon receiving requests.
Generated from protobuf enum ON_DEMAND = 3 [deprecated = true];
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Sql Admin V1 Client - Class SqlActivationPolicy (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-sql-admin/latest/V1.Settings.SqlActivationPolicy)\n- [1.2.5](/php/docs/reference/cloud-sql-admin/1.2.5/V1.Settings.SqlActivationPolicy)\n- [1.1.0](/php/docs/reference/cloud-sql-admin/1.1.0/V1.Settings.SqlActivationPolicy)\n- [1.0.0](/php/docs/reference/cloud-sql-admin/1.0.0/V1.Settings.SqlActivationPolicy)\n- [0.19.0](/php/docs/reference/cloud-sql-admin/0.19.0/V1.Settings.SqlActivationPolicy)\n- [0.18.0](/php/docs/reference/cloud-sql-admin/0.18.0/V1.Settings.SqlActivationPolicy)\n- [0.17.1](/php/docs/reference/cloud-sql-admin/0.17.1/V1.Settings.SqlActivationPolicy)\n- [0.16.1](/php/docs/reference/cloud-sql-admin/0.16.1/V1.Settings.SqlActivationPolicy)\n- [0.12.0](/php/docs/reference/cloud-sql-admin/0.12.0/V1.Settings.SqlActivationPolicy)\n- [0.11.0](/php/docs/reference/cloud-sql-admin/0.11.0/V1.Settings.SqlActivationPolicy)\n- [0.10.0](/php/docs/reference/cloud-sql-admin/0.10.0/V1.Settings.SqlActivationPolicy)\n- [0.9.0](/php/docs/reference/cloud-sql-admin/0.9.0/V1.Settings.SqlActivationPolicy)\n- [0.8.0](/php/docs/reference/cloud-sql-admin/0.8.0/V1.Settings.SqlActivationPolicy)\n- [0.7.0](/php/docs/reference/cloud-sql-admin/0.7.0/V1.Settings.SqlActivationPolicy)\n- [0.6.0](/php/docs/reference/cloud-sql-admin/0.6.0/V1.Settings.SqlActivationPolicy)\n- [0.5.0](/php/docs/reference/cloud-sql-admin/0.5.0/V1.Settings.SqlActivationPolicy)\n- [0.4.1](/php/docs/reference/cloud-sql-admin/0.4.1/V1.Settings.SqlActivationPolicy)\n- [0.3.1](/php/docs/reference/cloud-sql-admin/0.3.1/V1.Settings.SqlActivationPolicy)\n- [0.2.12](/php/docs/reference/cloud-sql-admin/0.2.12/V1.Settings.SqlActivationPolicy) \nReference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlActivationPolicy.\n\nSpecifies when the instance is activated.\n\nProtobuf type `google.cloud.sql.v1.Settings.SqlActivationPolicy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Sql \\\\ V1 \\\\ Settings\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### SQL_ACTIVATION_POLICY_UNSPECIFIED\n\n Value: 0\n\nUnknown activation plan.\n\nGenerated from protobuf enum `SQL_ACTIVATION_POLICY_UNSPECIFIED = 0;`\n\n### ALWAYS\n\n Value: 1\n\nThe instance is always up and running.\n\nGenerated from protobuf enum `ALWAYS = 1;`\n\n### NEVER\n\n Value: 2\n\nThe instance never starts.\n\nGenerated from protobuf enum `NEVER = 2;`\n\n### ON_DEMAND\n\n Value: 3\n\nThe instance starts upon receiving requests.\n\nGenerated from protobuf enum `ON_DEMAND = 3 [deprecated = true];`"]]