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 collection of Cloud SQL instances accessible via \u003ccode\u003e/cloudsql/[instance]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, is defined within the \u003ccode\u003eGoogle.Cloud.Run.V2.dll\u003c/code\u003e assembly and has multiple versions available, ranging from 1.0.0-beta02 to the latest 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudSqlInstance\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default one and one that takes another \u003ccode\u003eCloudSqlInstance\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstances\u003c/code\u003e property of this class stores the Cloud SQL instance connection names in the format \u003ccode\u003e{project}:{location}:{instance}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]