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 is 2.13.0, with multiple prior versions also accessible, including 2.9.0, 2.8.0, all the way down to 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe CloudSqlInstance class, which represents a set of Cloud SQL instances, is used in the Cloud Run Admin v2 API and allows each instance to be available under /cloudsql/[instance].\u003c/p\u003e\n"],["\u003cp\u003eThe CloudSqlInstance class inherits from object and implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstances\u003c/code\u003e property of the CloudSqlInstance class stores Cloud SQL instance connection names, formatted as {project}:{location}:{instance}, and can be accessed via a RepeatedField of strings.\u003c/p\u003e\n"],["\u003cp\u003eYou can create new instances of the CloudSqlInstance class with either an empty constructor, or a constructor that takes in another instance of itself to create a copy.\u003c/p\u003e\n"]]],[],null,[]]