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\u003eVersion 2.13.0 is the latest version available for the Cloud Run Admin v2 API, with multiple older versions also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class, within the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, represents a set of Cloud SQL instances accessible under \u003ccode\u003e/cloudsql/[instance]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data handling and operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudSqlInstance\u003c/code\u003e can be constructed using a parameterless constructor or by using another \u003ccode\u003eCloudSqlInstance\u003c/code\u003e object as the parameter, and the class has a \u003ccode\u003eRepeatedField\u003c/code\u003e property called \u003ccode\u003eInstances\u003c/code\u003e that stores the Cloud SQL instance connection names.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links for understanding how to connect Cloud SQL and Cloud Run, highlighting that each Cloud SQL instance will be available under /cloudsql/[instance].\u003c/p\u003e\n"]]],[],null,[]]