google-cloud-sql-v1 0.2.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +9 -2
  4. data/lib/google/cloud/sql/v1/blue_green_deployments_service/client.rb +899 -0
  5. data/lib/google/cloud/sql/v1/blue_green_deployments_service/credentials.rb +48 -0
  6. data/lib/google/cloud/sql/v1/blue_green_deployments_service/paths.rb +86 -0
  7. data/lib/google/cloud/sql/v1/blue_green_deployments_service/rest/client.rb +821 -0
  8. data/lib/google/cloud/sql/v1/blue_green_deployments_service/rest/service_stub.rb +388 -0
  9. data/lib/google/cloud/sql/v1/blue_green_deployments_service/rest.rb +52 -0
  10. data/lib/google/cloud/sql/v1/blue_green_deployments_service.rb +55 -0
  11. data/lib/google/cloud/sql/v1/cloud_sql_backups_pb.rb +1 -1
  12. data/lib/google/cloud/sql/v1/cloud_sql_blue_green_deployments_pb.rb +45 -0
  13. data/lib/google/cloud/sql/v1/cloud_sql_blue_green_deployments_services_pb.rb +54 -0
  14. data/lib/google/cloud/sql/v1/cloud_sql_databases_pb.rb +2 -1
  15. data/lib/google/cloud/sql/v1/cloud_sql_instances_pb.rb +7 -1
  16. data/lib/google/cloud/sql/v1/cloud_sql_operations_pb.rb +1 -1
  17. data/lib/google/cloud/sql/v1/cloud_sql_resources_pb.rb +5 -1
  18. data/lib/google/cloud/sql/v1/cloud_sql_ssl_certs_pb.rb +2 -1
  19. data/lib/google/cloud/sql/v1/cloud_sql_users_pb.rb +1 -1
  20. data/lib/google/cloud/sql/v1/cloud_sql_workload_captures_pb.rb +35 -0
  21. data/lib/google/cloud/sql/v1/cloud_sql_workload_captures_services_pb.rb +60 -0
  22. data/lib/google/cloud/sql/v1/rest.rb +2 -0
  23. data/lib/google/cloud/sql/v1/sql_backup_runs_service/client.rb +2 -0
  24. data/lib/google/cloud/sql/v1/sql_backup_runs_service/paths.rb +77 -0
  25. data/lib/google/cloud/sql/v1/sql_backup_runs_service/rest/client.rb +2 -0
  26. data/lib/google/cloud/sql/v1/sql_backup_runs_service/rest.rb +1 -0
  27. data/lib/google/cloud/sql/v1/sql_backup_runs_service.rb +1 -0
  28. data/lib/google/cloud/sql/v1/sql_backups_service/paths.rb +63 -0
  29. data/lib/google/cloud/sql/v1/sql_databases_service/client.rb +18 -6
  30. data/lib/google/cloud/sql/v1/sql_databases_service/rest/client.rb +18 -6
  31. data/lib/google/cloud/sql/v1/sql_instances_service/client.rb +131 -44
  32. data/lib/google/cloud/sql/v1/sql_instances_service/paths.rb +108 -0
  33. data/lib/google/cloud/sql/v1/sql_instances_service/rest/client.rb +126 -42
  34. data/lib/google/cloud/sql/v1/sql_operations_service/client.rb +9 -3
  35. data/lib/google/cloud/sql/v1/sql_operations_service/rest/client.rb +9 -3
  36. data/lib/google/cloud/sql/v1/sql_users_service/client.rb +23 -5
  37. data/lib/google/cloud/sql/v1/sql_users_service/rest/client.rb +23 -5
  38. data/lib/google/cloud/sql/v1/sql_workload_captures_service/client.rb +906 -0
  39. data/lib/google/cloud/sql/v1/sql_workload_captures_service/credentials.rb +48 -0
  40. data/lib/google/cloud/sql/v1/sql_workload_captures_service/rest/client.rb +810 -0
  41. data/lib/google/cloud/sql/v1/sql_workload_captures_service/rest/service_stub.rb +396 -0
  42. data/lib/google/cloud/sql/v1/sql_workload_captures_service/rest.rb +51 -0
  43. data/lib/google/cloud/sql/v1/sql_workload_captures_service.rb +54 -0
  44. data/lib/google/cloud/sql/v1/version.rb +1 -1
  45. data/lib/google/cloud/sql/v1.rb +2 -6
  46. data/proto_docs/google/api/routing.rb +463 -0
  47. data/proto_docs/google/cloud/sql/v1/cloud_sql_blue_green_deployments.rb +399 -0
  48. data/proto_docs/google/cloud/sql/v1/cloud_sql_databases.rb +15 -0
  49. data/proto_docs/google/cloud/sql/v1/cloud_sql_instances.rb +248 -2
  50. data/proto_docs/google/cloud/sql/v1/cloud_sql_operations.rb +9 -0
  51. data/proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb +116 -3
  52. data/proto_docs/google/cloud/sql/v1/cloud_sql_users.rb +32 -4
  53. data/proto_docs/google/cloud/sql/v1/cloud_sql_workload_captures.rb +170 -0
  54. data/proto_docs/google/protobuf/timestamp.rb +7 -6
  55. metadata +24 -3
@@ -0,0 +1,399 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Sql
23
+ module V1
24
+ # A `BlueGreenDeployment` resource represents a Cloud SQL blue-green deployment
25
+ # setup.
26
+ # @!attribute [r] name
27
+ # @return [::String]
28
+ # Output only. Identifier. The full resource name of the deployment.
29
+ # Format:
30
+ # projects/\\{project}/locations/\\{location}/blueGreenDeployments/\\{deployment_id}
31
+ # @!attribute [rw] description
32
+ # @return [::String]
33
+ # Optional. User-provided description for the deployment.
34
+ # The description can be up to 255 characters long.
35
+ # @!attribute [r] create_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. The time when the deployment was created.
38
+ # Example: `2024-01-01T00:00:00Z`
39
+ # @!attribute [r] state
40
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::State]
41
+ # Output only. The current state of the blue-green deployment.
42
+ # @!attribute [rw] source_instance
43
+ # @return [::String]
44
+ # Required. Immutable. Required on create, and immutable. The full resource
45
+ # name of the source instance (the "blue" instance). Format:
46
+ # projects/\\{project}/instances/\\{instance}
47
+ # @!attribute [r] switchover_target_instance
48
+ # @return [::String]
49
+ # Output only. The full resource name of the primary target instance (the
50
+ # "green" instance) that will be promoted during switchover. This field is
51
+ # always populated once the deployment is created. Format:
52
+ # projects/\\{project}/instances/\\{instance}
53
+ # @!attribute [r] error_detail
54
+ # @return [::String]
55
+ # Output only. Provides details on why switchover is not possible.
56
+ # This field is empty unless a switchover attempt failed or the state is
57
+ # `SWITCHOVER_NOT_READY`.
58
+ # Example: "The target database version does not match the source instance
59
+ # database version."
60
+ # @!attribute [r] deployment_mappings
61
+ # @return [::Array<::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode>]
62
+ # Output only. A list representing the pairs of source and target instances
63
+ # in the deployment.
64
+ # @!attribute [r] deployment_tasks
65
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::DeploymentTasks]
66
+ # Output only. Combined list of tasks for all paired nodes.
67
+ # @!attribute [rw] requested_config
68
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::RequestedConfig]
69
+ # Optional. Immutable. Optional on create, and immutable. The configuration
70
+ # intended for the target instance(s) when the deployment was created.
71
+ class BlueGreenDeployment
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+
75
+ # Configuration specified by the user at creation time for the target (green)
76
+ # instance.
77
+ # @!attribute [rw] database_version
78
+ # @return [::String]
79
+ # Optional. The target database major version for the upgrade. For example,
80
+ # `MYSQL_8_0` or `POSTGRES_15`.
81
+ class RequestedConfig
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Combined list of tasks for all paired nodes in the deployment.
87
+ # @!attribute [r] task
88
+ # @return [::Array<::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask>]
89
+ # Output only. Tasks performed or being performed on the paired nodes
90
+ # of the deployment at a consolidated level.
91
+ class DeploymentTasks
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
96
+ # Represents a pairing of a source instance node and a target instance node.
97
+ # @!attribute [r] source
98
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo]
99
+ # Output only. Specifies the resource name of the source instance in this
100
+ # pair.
101
+ # @!attribute [r] target
102
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo]
103
+ # Output only. Specifies details of the corresponding target instance in
104
+ # this pair.
105
+ # @!attribute [r] state
106
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::State]
107
+ # Output only. Specifies the current state of this specific source-target
108
+ # pair.
109
+ # @!attribute [r] diffs
110
+ # @return [::Array<::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::ConfigDiff>]
111
+ # Output only. Describes the list of differences for the
112
+ # `SourceTargetPairedNode`.
113
+ class SourceTargetPairedNode
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+
117
+ # Represents a specific configuration difference between blue and green
118
+ # instances.
119
+ # @!attribute [r] field
120
+ # @return [::String]
121
+ # Output only. The name of the field that differs in the blue and green
122
+ # instances, fully-qualified. Example: `settings.tier`
123
+ # @!attribute [r] source_value
124
+ # @return [::String]
125
+ # Output only. The value on the source instance.
126
+ # @!attribute [r] target_value
127
+ # @return [::String]
128
+ # Output only. The value on the target instance.
129
+ class ConfigDiff
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
133
+
134
+ # Details about an instance within the deployment.
135
+ # @!attribute [r] instance
136
+ # @return [::String]
137
+ # Output only. The full resource name of the instance.
138
+ # Format: projects/\\{project}/instances/\\{instance}
139
+ # @!attribute [r] connection
140
+ # @return [::String]
141
+ # Output only. The instance connection name.
142
+ # @!attribute [r] dns
143
+ # @return [::String]
144
+ # Output only. The unique DNS name for this instance.
145
+ # @!attribute [r] ip_mappings
146
+ # @return [::Array<::Google::Cloud::Sql::V1::IpMapping>]
147
+ # Output only. The list of IP addresses for this instance.
148
+ class NodeInfo
149
+ include ::Google::Protobuf::MessageExts
150
+ extend ::Google::Protobuf::MessageExts::ClassMethods
151
+ end
152
+
153
+ # Represents a task executed as part of the deployment on a target
154
+ # instance.
155
+ # @!attribute [r] type
156
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask::Type]
157
+ # Output only. The type of the task.
158
+ # @!attribute [r] state
159
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask::State]
160
+ # Output only. The current state of the task.
161
+ # @!attribute [r] start_time
162
+ # @return [::Google::Protobuf::Timestamp]
163
+ # Output only. Task start time.
164
+ # @!attribute [r] end_time
165
+ # @return [::Google::Protobuf::Timestamp]
166
+ # Output only. Task end time (if completed).
167
+ # @!attribute [r] error_message
168
+ # @return [::String]
169
+ # Output only. Optional error details if the task state is `FAILED`.
170
+ class DeploymentTask
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+
174
+ # The type of the task.
175
+ # This enum type `Type` is prone to change, and new values may be added
176
+ # in the future.
177
+ module Type
178
+ # The default value. This value is used if the type is omitted.
179
+ TYPE_UNSPECIFIED = 0
180
+
181
+ # Provisions the green environment, which includes creating the target
182
+ # instance.
183
+ PROVISION = 1
184
+
185
+ # Upgrades the green environment, for example, performing a major
186
+ # version upgrade on the target instance.
187
+ UPGRADE = 2
188
+
189
+ # Promotes the target instance and then demotes the source instance for
190
+ # this pair.
191
+ SWITCHOVER = 3
192
+
193
+ # Deletes the blue-green deployment, including underlying resources.
194
+ DELETE = 4
195
+
196
+ # Post-switchover operations, including cleaning up resources of the
197
+ # old instance, taking final backups, and updating metadata.
198
+ POST_SWITCHOVER_OPERATIONS = 5
199
+ end
200
+
201
+ # The state of the task.
202
+ # This enum is not frozen, and new values may be added in the future.
203
+ module State
204
+ # The state of the task is unknown.
205
+ STATE_UNSPECIFIED = 0
206
+
207
+ # The task is pending.
208
+ PENDING = 1
209
+
210
+ # The task is running.
211
+ RUNNING = 2
212
+
213
+ # The task has succeeded.
214
+ SUCCEEDED = 3
215
+
216
+ # The task has failed.
217
+ FAILED = 4
218
+ end
219
+ end
220
+
221
+ # The state of a pair of source and target instances in deployment (paired
222
+ # node).
223
+ module State
224
+ # The state of the paired node is unknown.
225
+ STATE_UNSPECIFIED = 0
226
+
227
+ # The paired node is being provisioned.
228
+ PROVISIONING = 1
229
+
230
+ # The paired node is provisioned.
231
+ PROVISIONED = 2
232
+
233
+ # The paired node is upgrading.
234
+ UPGRADING = 3
235
+
236
+ # The paired node is upgraded.
237
+ UPGRADED = 4
238
+
239
+ # Upgrade failed on the paired node.
240
+ UPGRADE_FAILED = 5
241
+
242
+ # Switchover is in progress.
243
+ SWITCHOVER_IN_PROGRESS = 6
244
+
245
+ # Switchover failed on the paired node.
246
+ SWITCHOVER_FAILED = 7
247
+
248
+ # Switchover completed successfully.
249
+ SWITCHOVER_SUCCEEDED = 8
250
+
251
+ # The paired node is being deleted.
252
+ DELETING = 11
253
+ end
254
+ end
255
+
256
+ # The state of the blue-green deployment.
257
+ module State
258
+ # The default value. This value is used if the state is omitted or unknown.
259
+ STATE_UNSPECIFIED = 0
260
+
261
+ # The deployment is being provisioned.
262
+ PROVISIONING = 1
263
+
264
+ # The deployment is ready for switchover.
265
+ SWITCHOVER_READY = 2
266
+
267
+ # The deployment is not ready for switchover.
268
+ SWITCHOVER_NOT_READY = 3
269
+
270
+ # The deployment is in the process of switching over.
271
+ SWITCHOVER_IN_PROGRESS = 4
272
+
273
+ # The deployment has completed switchover.
274
+ SWITCHOVER_COMPLETED = 5
275
+
276
+ # The deployment is being deleted.
277
+ DELETING = 6
278
+ end
279
+ end
280
+
281
+ # The request message for creating a `BlueGreenDeployment` resource.
282
+ # @!attribute [rw] parent
283
+ # @return [::String]
284
+ # Required. The parent resource where this blue-green deployment will be
285
+ # created. Format: projects/\\{project}/locations/\\{location}
286
+ # @!attribute [rw] blue_green_deployment_id
287
+ # @return [::String]
288
+ # Required. The ID to use for the blue-green deployment, which will become
289
+ # the final component of the deployment's resource name. The ID must be
290
+ # unique within the given project and location and between 2-63 characters.
291
+ # @!attribute [rw] blue_green_deployment
292
+ # @return [::Google::Cloud::Sql::V1::BlueGreenDeployment]
293
+ # Required. The `BlueGreenDeployment` resource to create.
294
+ class CreateBlueGreenDeploymentRequest
295
+ include ::Google::Protobuf::MessageExts
296
+ extend ::Google::Protobuf::MessageExts::ClassMethods
297
+ end
298
+
299
+ # The request message for getting a BlueGreenDeployment.
300
+ # @!attribute [rw] name
301
+ # @return [::String]
302
+ # Required. The name of the blue-green deployment to retrieve.
303
+ # Format:
304
+ # projects/\\{project}/locations/\\{location}/blueGreenDeployments/\\{blue_green_deployment}
305
+ # @!attribute [rw] view
306
+ # @return [::Google::Cloud::Sql::V1::GetBlueGreenDeploymentRequest::BlueGreenDeploymentView]
307
+ # Optional. Specifies whether to return the basic or detailed view of the
308
+ # resource in the response.
309
+ class GetBlueGreenDeploymentRequest
310
+ include ::Google::Protobuf::MessageExts
311
+ extend ::Google::Protobuf::MessageExts::ClassMethods
312
+
313
+ # The view of a `BlueGreenDeployment` resource.
314
+ module BlueGreenDeploymentView
315
+ # Blue-green deployment view enumeration. This allows the caller to specify
316
+ # what view they query. If unspecified
317
+ # (BLUE_GREEN_DEPLOYMENT_VIEW_UNSPECIFIED), the behavior is the same as
318
+ # BASIC.
319
+ BLUE_GREEN_DEPLOYMENT_VIEW_UNSPECIFIED = 0
320
+
321
+ # Includes basic metadata about the blue-green deployment.
322
+ # `BASIC` is the default view.
323
+ BASIC = 1
324
+
325
+ # Includes basic metadata and configuration differences between source and
326
+ # target instances (`database_version`, `tier`, `edition`,
327
+ # `availability_type`, `data_disk_size_gb`, and `data_disk_type`).
328
+ DETAILED = 2
329
+ end
330
+ end
331
+
332
+ # Request message for switching over a `BlueGreenDeployment` resource.
333
+ # @!attribute [rw] name
334
+ # @return [::String]
335
+ # Required. The name of the blue-green deployment to switch over.
336
+ # Format:
337
+ # projects/\\{project}/locations/\\{location}/blueGreenDeployments/\\{blue_green_deployment}
338
+ class SwitchoverBlueGreenDeploymentRequest
339
+ include ::Google::Protobuf::MessageExts
340
+ extend ::Google::Protobuf::MessageExts::ClassMethods
341
+ end
342
+
343
+ # The request message for listing blue-green deployment resources.
344
+ # @!attribute [rw] parent
345
+ # @return [::String]
346
+ # Required. The parent resource whose blue-green deployments are to be
347
+ # listed. Format: projects/\\{project}/locations/\\{location}
348
+ # @!attribute [rw] page_size
349
+ # @return [::Integer]
350
+ # Optional. The maximum number of deployments to return. The service may
351
+ # return fewer deployments than this value. If unspecified, at most 500
352
+ # deployments are returned. The maximum value is 1000; values above 1000
353
+ # are treated as 1000.
354
+ # @!attribute [rw] page_token
355
+ # @return [::String]
356
+ # Optional. A page token, received from a previous `ListBlueGreenDeployments`
357
+ # call. Provide this to retrieve the subsequent page.
358
+ # @!attribute [rw] filter
359
+ # @return [::String]
360
+ # Optional. A filter expression that filters the results.
361
+ # @!attribute [rw] order_by
362
+ # @return [::String]
363
+ # Optional. A comma-separated list of fields to order the results by.
364
+ class ListBlueGreenDeploymentsRequest
365
+ include ::Google::Protobuf::MessageExts
366
+ extend ::Google::Protobuf::MessageExts::ClassMethods
367
+ end
368
+
369
+ # The response message for listing blue-green deployment resources.
370
+ # @!attribute [rw] blue_green_deployments
371
+ # @return [::Array<::Google::Cloud::Sql::V1::BlueGreenDeployment>]
372
+ # The list of blue-green deployment resources.
373
+ # @!attribute [rw] next_page_token
374
+ # @return [::String]
375
+ # A token to retrieve the next page of results, or empty if there are no
376
+ # more results.
377
+ class ListBlueGreenDeploymentsResponse
378
+ include ::Google::Protobuf::MessageExts
379
+ extend ::Google::Protobuf::MessageExts::ClassMethods
380
+ end
381
+
382
+ # Request message for deleting a BlueGreenDeployment.
383
+ # @!attribute [rw] name
384
+ # @return [::String]
385
+ # Required. The name of the blue-green deployment to delete.
386
+ # Format:
387
+ # projects/\\{project}/locations/\\{location}/blueGreenDeployments/\\{blue_green_deployment}
388
+ # @!attribute [rw] delete_old_source
389
+ # @return [::Boolean]
390
+ # Optional. If set to true, and the switchover is complete, this deletes the
391
+ # old source instance along with the deployment.
392
+ class DeleteBlueGreenDeploymentRequest
393
+ include ::Google::Protobuf::MessageExts
394
+ extend ::Google::Protobuf::MessageExts::ClassMethods
395
+ end
396
+ end
397
+ end
398
+ end
399
+ end
@@ -31,6 +31,9 @@ module Google
31
31
  # @!attribute [rw] project
32
32
  # @return [::String]
33
33
  # Project ID of the project that contains the instance.
34
+ # @!attribute [rw] location
35
+ # @return [::String]
36
+ # Optional. Region of the Cloud SQL instance.
34
37
  class SqlDatabasesDeleteRequest
35
38
  include ::Google::Protobuf::MessageExts
36
39
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -46,6 +49,9 @@ module Google
46
49
  # @!attribute [rw] project
47
50
  # @return [::String]
48
51
  # Project ID of the project that contains the instance.
52
+ # @!attribute [rw] location
53
+ # @return [::String]
54
+ # Optional. Region of the Cloud SQL instance.
49
55
  class SqlDatabasesGetRequest
50
56
  include ::Google::Protobuf::MessageExts
51
57
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -60,6 +66,9 @@ module Google
60
66
  # Project ID of the project that contains the instance.
61
67
  # @!attribute [rw] body
62
68
  # @return [::Google::Cloud::Sql::V1::Database]
69
+ # @!attribute [rw] location
70
+ # @return [::String]
71
+ # Optional. Region of the Cloud SQL instance.
63
72
  class SqlDatabasesInsertRequest
64
73
  include ::Google::Protobuf::MessageExts
65
74
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -72,6 +81,9 @@ module Google
72
81
  # @!attribute [rw] project
73
82
  # @return [::String]
74
83
  # Project ID of the project that contains the instance.
84
+ # @!attribute [rw] location
85
+ # @return [::String]
86
+ # Optional. Region of the Cloud SQL instance.
75
87
  class SqlDatabasesListRequest
76
88
  include ::Google::Protobuf::MessageExts
77
89
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -89,6 +101,9 @@ module Google
89
101
  # Project ID of the project that contains the instance.
90
102
  # @!attribute [rw] body
91
103
  # @return [::Google::Cloud::Sql::V1::Database]
104
+ # @!attribute [rw] location
105
+ # @return [::String]
106
+ # Optional. Region of the Cloud SQL instance.
92
107
  class SqlDatabasesUpdateRequest
93
108
  include ::Google::Protobuf::MessageExts
94
109
  extend ::Google::Protobuf::MessageExts::ClassMethods