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 latest version available for the CloudSqlInstance class within the Cloud Run Admin v2 API is 2.13.0, while the current page focuses on version 2.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe CloudSqlInstance class represents a collection of Cloud SQL instances, accessible via /cloudsql/[instance].\u003c/p\u003e\n"],["\u003cp\u003eThe CloudSqlInstance class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstances\u003c/code\u003e property, of type \u003ccode\u003eRepeatedField<string>\u003c/code\u003e, holds the Cloud SQL instance connection names in the format {project}:{location}:{instance}.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple previous versions available for CloudSqlInstance, ranging from version 2.12.0 all the way back to 1.0.0-beta02.\u003c/p\u003e\n"]]],[],null,[]]