[[["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 Database (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-sql-admin/latest/V1.Database)\n- [1.2.5](/php/docs/reference/cloud-sql-admin/1.2.5/V1.Database)\n- [1.1.0](/php/docs/reference/cloud-sql-admin/1.1.0/V1.Database)\n- [1.0.0](/php/docs/reference/cloud-sql-admin/1.0.0/V1.Database)\n- [0.19.0](/php/docs/reference/cloud-sql-admin/0.19.0/V1.Database)\n- [0.18.0](/php/docs/reference/cloud-sql-admin/0.18.0/V1.Database)\n- [0.17.1](/php/docs/reference/cloud-sql-admin/0.17.1/V1.Database)\n- [0.16.1](/php/docs/reference/cloud-sql-admin/0.16.1/V1.Database)\n- [0.12.0](/php/docs/reference/cloud-sql-admin/0.12.0/V1.Database)\n- [0.11.0](/php/docs/reference/cloud-sql-admin/0.11.0/V1.Database)\n- [0.10.0](/php/docs/reference/cloud-sql-admin/0.10.0/V1.Database)\n- [0.9.0](/php/docs/reference/cloud-sql-admin/0.9.0/V1.Database)\n- [0.8.0](/php/docs/reference/cloud-sql-admin/0.8.0/V1.Database)\n- [0.7.0](/php/docs/reference/cloud-sql-admin/0.7.0/V1.Database)\n- [0.6.0](/php/docs/reference/cloud-sql-admin/0.6.0/V1.Database)\n- [0.5.0](/php/docs/reference/cloud-sql-admin/0.5.0/V1.Database)\n- [0.4.1](/php/docs/reference/cloud-sql-admin/0.4.1/V1.Database)\n- [0.3.1](/php/docs/reference/cloud-sql-admin/0.3.1/V1.Database)\n- [0.2.12](/php/docs/reference/cloud-sql-admin/0.2.12/V1.Database) \nReference documentation and code samples for the Google Cloud Sql Admin V1 Client class Database.\n\nRepresents a SQL database on the Cloud SQL instance.\n\nGenerated from protobuf message `google.cloud.sql.v1.Database`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Sql \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKind\n\nThis is always `sql#database`.\n\n### setKind\n\nThis is always `sql#database`.\n\n### getCharset\n\nThe Cloud SQL charset value.\n\n### setCharset\n\nThe Cloud SQL charset value.\n\n### getCollation\n\nThe Cloud SQL collation value.\n\n### setCollation\n\nThe Cloud SQL collation value.\n\n### getEtag\n\nThis field is deprecated and will be removed from a future version of the\nAPI.\n\n### setEtag\n\nThis field is deprecated and will be removed from a future version of the\nAPI.\n\n### getName\n\nThe name of the database in the Cloud SQL instance. This does not include\nthe project ID or instance name.\n\n### setName\n\nThe name of the database in the Cloud SQL instance. This does not include\nthe project ID or instance name.\n\n### getInstance\n\nThe name of the Cloud SQL instance. This does not include the project ID.\n\n### setInstance\n\nThe name of the Cloud SQL instance. This does not include the project ID.\n\n### getSelfLink\n\nThe URI of this resource.\n\n### setSelfLink\n\nThe URI of this resource.\n\n### getProject\n\nThe project ID of the project containing the Cloud SQL database. The Google\napps domain is prefixed if applicable.\n\n### setProject\n\nThe project ID of the project containing the Cloud SQL database. The Google\napps domain is prefixed if applicable.\n\n### getSqlserverDatabaseDetails\n\nGenerated from protobuf field `.google.cloud.sql.v1.SqlServerDatabaseDetails sqlserver_database_details = 9;`\n\n### hasSqlserverDatabaseDetails\n\n### setSqlserverDatabaseDetails\n\nGenerated from protobuf field `.google.cloud.sql.v1.SqlServerDatabaseDetails sqlserver_database_details = 9;`\n\n### getDatabaseDetails"]]