Reference documentation and code samples for the Google Cloud Run V2 Client 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.
Generated from protobuf message google.cloud.run.v2.CloudSqlInstance
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ instances
array
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances . Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
getInstances
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances . Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
setInstances
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances . Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}
var
string[]
$this