Reference documentation and code samples for the Cloud Run Admin v2 API class CloudSqlInstance.
Represents a set of Cloud SQL instances. Each one will be available under
/cloudsql/[instance]. Visit
https://cloud.google.com/sql/docs/mysql/connect-run for more information on
how to connect Cloud SQL and Cloud Run.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class in the Cloud Run Admin v2 API represents a collection of Cloud SQL instances accessible via \u003ccode\u003e/cloudsql/[instance]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.13.0 is the latest available version of the \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, with multiple older versions also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudSqlInstance\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<CloudSqlInstance>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CloudSqlInstance>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstances\u003c/code\u003e property of the \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class provides a list of Cloud SQL instance connection names, formatted as {project}:{location}:{instance}.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL and Cloud Run connection instructions can be found at the provided URL: \u003ca href=\"https://cloud.google.com/sql/docs/mysql/connect-run\"\u003ehttps://cloud.google.com/sql/docs/mysql/connect-run\u003c/a\u003e.\u003c/p\u003e\n"]]],[],null,[]]