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 Google Cloud Run Admin v2 API represents a set 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 version of the CloudSqlInstance, with many other versions being provided from 2.12.0 all the way down to 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003eCloudSqlInstance\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstances\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e, holds the connection names for Cloud SQL instances, in the format {project}:{location}:{instance}.\u003c/p\u003e\n"]]],[],null,[]]