Class: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
Represents a specific Cloud SQL instance.
Instance Attribute Summary collapse
-
#instances ⇒ Array<String>
The Cloud SQL instance connection names, as can be found in https://console.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2CloudSqlInstance
constructor
A new instance of GoogleCloudRunV2CloudSqlInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2CloudSqlInstance
Returns a new instance of GoogleCloudRunV2CloudSqlInstance.
67 68 69 |
# File 'lib/google/apis/run_v2/classes.rb', line 67 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
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
Corresponds to the JSON property instances
65 66 67 |
# File 'lib/google/apis/run_v2/classes.rb', line 65 def instances @instances end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72 73 74 |
# File 'lib/google/apis/run_v2/classes.rb', line 72 def update!(**args) @instances = args[:instances] if args.key?(:instances) end |