google-cloud-sql-v1beta4 0.1.1 → 0.3.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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service/client.rb +906 -0
  4. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service/credentials.rb +48 -0
  5. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service/paths.rb +69 -0
  6. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service/rest/client.rb +828 -0
  7. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service/rest/service_stub.rb +388 -0
  8. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service/rest.rb +52 -0
  9. data/lib/google/cloud/sql/v1beta4/blue_green_deployments_service.rb +55 -0
  10. data/lib/google/cloud/sql/v1beta4/cloud_sql_blue_green_deployments_pb.rb +47 -0
  11. data/lib/google/cloud/sql/v1beta4/cloud_sql_blue_green_deployments_services_pb.rb +65 -0
  12. data/lib/google/cloud/sql/v1beta4/cloud_sql_pb.rb +2 -1
  13. data/lib/google/cloud/sql/v1beta4/cloud_sql_resources_pb.rb +10 -1
  14. data/lib/google/cloud/sql/v1beta4/cloud_sql_users_pb.rb +1 -1
  15. data/lib/google/cloud/sql/v1beta4/cloud_sql_workload_captures_pb.rb +35 -0
  16. data/lib/google/cloud/sql/v1beta4/cloud_sql_workload_captures_services_pb.rb +60 -0
  17. data/lib/google/cloud/sql/v1beta4/rest.rb +2 -0
  18. data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/client.rb +2 -0
  19. data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/paths.rb +77 -0
  20. data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/rest/client.rb +2 -0
  21. data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/rest.rb +1 -0
  22. data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service.rb +1 -0
  23. data/lib/google/cloud/sql/v1beta4/sql_backups_service/paths.rb +63 -0
  24. data/lib/google/cloud/sql/v1beta4/sql_databases_service/client.rb +18 -6
  25. data/lib/google/cloud/sql/v1beta4/sql_databases_service/rest/client.rb +18 -6
  26. data/lib/google/cloud/sql/v1beta4/sql_instances_service/client.rb +131 -44
  27. data/lib/google/cloud/sql/v1beta4/sql_instances_service/paths.rb +63 -0
  28. data/lib/google/cloud/sql/v1beta4/sql_instances_service/rest/client.rb +126 -42
  29. data/lib/google/cloud/sql/v1beta4/sql_users_service/client.rb +15 -5
  30. data/lib/google/cloud/sql/v1beta4/sql_users_service/rest/client.rb +15 -5
  31. data/lib/google/cloud/sql/v1beta4/sql_workload_captures_service/client.rb +905 -0
  32. data/lib/google/cloud/sql/v1beta4/sql_workload_captures_service/credentials.rb +48 -0
  33. data/lib/google/cloud/sql/v1beta4/sql_workload_captures_service/rest/client.rb +809 -0
  34. data/lib/google/cloud/sql/v1beta4/sql_workload_captures_service/rest/service_stub.rb +396 -0
  35. data/lib/google/cloud/sql/v1beta4/sql_workload_captures_service/rest.rb +51 -0
  36. data/lib/google/cloud/sql/v1beta4/sql_workload_captures_service.rb +54 -0
  37. data/lib/google/cloud/sql/v1beta4/version.rb +1 -1
  38. data/lib/google/cloud/sql/v1beta4.rb +2 -0
  39. data/proto_docs/google/api/routing.rb +463 -0
  40. data/proto_docs/google/cloud/sql/v1beta4/cloud_sql.rb +142 -1
  41. data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_blue_green_deployments.rb +428 -0
  42. data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb +214 -2
  43. data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_users.rb +19 -4
  44. data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_workload_captures.rb +169 -0
  45. data/proto_docs/google/protobuf/timestamp.rb +7 -6
  46. metadata +24 -3
@@ -210,7 +210,7 @@ module Google
210
210
  # @param options [::Gapic::CallOptions, ::Hash]
211
211
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
212
212
  #
213
- # @overload delete(host: nil, instance: nil, name: nil, project: nil)
213
+ # @overload delete(host: nil, instance: nil, name: nil, project: nil, location: nil)
214
214
  # Pass arguments to `delete` via keyword arguments. Note that at
215
215
  # least one keyword argument is required. To specify no parameters, or to keep all
216
216
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -223,6 +223,8 @@ module Google
223
223
  # Name of the user in the instance.
224
224
  # @param project [::String]
225
225
  # Project ID of the project that contains the instance.
226
+ # @param location [::String]
227
+ # Optional. Region of the Cloud SQL instance.
226
228
  #
227
229
  # @yield [response, operation] Access the result along with the RPC operation
228
230
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
@@ -304,7 +306,7 @@ module Google
304
306
  # @param options [::Gapic::CallOptions, ::Hash]
305
307
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
306
308
  #
307
- # @overload get(instance: nil, name: nil, project: nil, host: nil)
309
+ # @overload get(instance: nil, name: nil, project: nil, host: nil, location: nil)
308
310
  # Pass arguments to `get` via keyword arguments. Note that at
309
311
  # least one keyword argument is required. To specify no parameters, or to keep all
310
312
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -317,6 +319,8 @@ module Google
317
319
  # Project ID of the project that contains the instance.
318
320
  # @param host [::String]
319
321
  # Host of a user of the instance.
322
+ # @param location [::String]
323
+ # Optional. Region of the Cloud SQL instance.
320
324
  #
321
325
  # @yield [response, operation] Access the result along with the RPC operation
322
326
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::User]
@@ -401,7 +405,7 @@ module Google
401
405
  # @param options [::Gapic::CallOptions, ::Hash]
402
406
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
403
407
  #
404
- # @overload insert(instance: nil, project: nil, body: nil)
408
+ # @overload insert(instance: nil, project: nil, body: nil, location: nil)
405
409
  # Pass arguments to `insert` via keyword arguments. Note that at
406
410
  # least one keyword argument is required. To specify no parameters, or to keep all
407
411
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -411,6 +415,8 @@ module Google
411
415
  # @param project [::String]
412
416
  # Project ID of the project that contains the instance.
413
417
  # @param body [::Google::Cloud::Sql::V1beta4::User, ::Hash]
418
+ # @param location [::String]
419
+ # Optional. Region of the Cloud SQL instance.
414
420
  #
415
421
  # @yield [response, operation] Access the result along with the RPC operation
416
422
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
@@ -492,7 +498,7 @@ module Google
492
498
  # @param options [::Gapic::CallOptions, ::Hash]
493
499
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
494
500
  #
495
- # @overload list(instance: nil, project: nil)
501
+ # @overload list(instance: nil, project: nil, location: nil)
496
502
  # Pass arguments to `list` via keyword arguments. Note that at
497
503
  # least one keyword argument is required. To specify no parameters, or to keep all
498
504
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -501,6 +507,8 @@ module Google
501
507
  # Database instance ID. This does not include the project ID.
502
508
  # @param project [::String]
503
509
  # Project ID of the project that contains the instance.
510
+ # @param location [::String]
511
+ # Optional. Region of the Cloud SQL instance.
504
512
  #
505
513
  # @yield [response, operation] Access the result along with the RPC operation
506
514
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::UsersListResponse]
@@ -582,7 +590,7 @@ module Google
582
590
  # @param options [::Gapic::CallOptions, ::Hash]
583
591
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
584
592
  #
585
- # @overload update(host: nil, instance: nil, name: nil, project: nil, database_roles: nil, revoke_existing_roles: nil, server_roles: nil, revoke_existing_server_roles: nil, body: nil)
593
+ # @overload update(host: nil, instance: nil, name: nil, project: nil, database_roles: nil, revoke_existing_roles: nil, server_roles: nil, revoke_existing_server_roles: nil, body: nil, location: nil)
586
594
  # Pass arguments to `update` via keyword arguments. Note that at
587
595
  # least one keyword argument is required. To specify no parameters, or to keep all
588
596
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -611,6 +619,8 @@ module Google
611
619
  # in the `server_roles` field. If `false` or unset, the server roles
612
620
  # specified in `server_roles` are added to the user's existing server roles.
613
621
  # @param body [::Google::Cloud::Sql::V1beta4::User, ::Hash]
622
+ # @param location [::String]
623
+ # Optional. Region of the Cloud SQL instance.
614
624
  #
615
625
  # @yield [response, operation] Access the result along with the RPC operation
616
626
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
@@ -203,7 +203,7 @@ module Google
203
203
  # @param options [::Gapic::CallOptions, ::Hash]
204
204
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
205
205
  #
206
- # @overload delete(host: nil, instance: nil, name: nil, project: nil)
206
+ # @overload delete(host: nil, instance: nil, name: nil, project: nil, location: nil)
207
207
  # Pass arguments to `delete` via keyword arguments. Note that at
208
208
  # least one keyword argument is required. To specify no parameters, or to keep all
209
209
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -216,6 +216,8 @@ module Google
216
216
  # Name of the user in the instance.
217
217
  # @param project [::String]
218
218
  # Project ID of the project that contains the instance.
219
+ # @param location [::String]
220
+ # Optional. Region of the Cloud SQL instance.
219
221
  # @yield [result, operation] Access the result along with the TransportOperation object
220
222
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Operation]
221
223
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -287,7 +289,7 @@ module Google
287
289
  # @param options [::Gapic::CallOptions, ::Hash]
288
290
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
289
291
  #
290
- # @overload get(instance: nil, name: nil, project: nil, host: nil)
292
+ # @overload get(instance: nil, name: nil, project: nil, host: nil, location: nil)
291
293
  # Pass arguments to `get` via keyword arguments. Note that at
292
294
  # least one keyword argument is required. To specify no parameters, or to keep all
293
295
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -300,6 +302,8 @@ module Google
300
302
  # Project ID of the project that contains the instance.
301
303
  # @param host [::String]
302
304
  # Host of a user of the instance.
305
+ # @param location [::String]
306
+ # Optional. Region of the Cloud SQL instance.
303
307
  # @yield [result, operation] Access the result along with the TransportOperation object
304
308
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::User]
305
309
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -371,7 +375,7 @@ module Google
371
375
  # @param options [::Gapic::CallOptions, ::Hash]
372
376
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
373
377
  #
374
- # @overload insert(instance: nil, project: nil, body: nil)
378
+ # @overload insert(instance: nil, project: nil, body: nil, location: nil)
375
379
  # Pass arguments to `insert` via keyword arguments. Note that at
376
380
  # least one keyword argument is required. To specify no parameters, or to keep all
377
381
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -381,6 +385,8 @@ module Google
381
385
  # @param project [::String]
382
386
  # Project ID of the project that contains the instance.
383
387
  # @param body [::Google::Cloud::Sql::V1beta4::User, ::Hash]
388
+ # @param location [::String]
389
+ # Optional. Region of the Cloud SQL instance.
384
390
  # @yield [result, operation] Access the result along with the TransportOperation object
385
391
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Operation]
386
392
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -452,7 +458,7 @@ module Google
452
458
  # @param options [::Gapic::CallOptions, ::Hash]
453
459
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
454
460
  #
455
- # @overload list(instance: nil, project: nil)
461
+ # @overload list(instance: nil, project: nil, location: nil)
456
462
  # Pass arguments to `list` via keyword arguments. Note that at
457
463
  # least one keyword argument is required. To specify no parameters, or to keep all
458
464
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -461,6 +467,8 @@ module Google
461
467
  # Database instance ID. This does not include the project ID.
462
468
  # @param project [::String]
463
469
  # Project ID of the project that contains the instance.
470
+ # @param location [::String]
471
+ # Optional. Region of the Cloud SQL instance.
464
472
  # @yield [result, operation] Access the result along with the TransportOperation object
465
473
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::UsersListResponse]
466
474
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -532,7 +540,7 @@ module Google
532
540
  # @param options [::Gapic::CallOptions, ::Hash]
533
541
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
534
542
  #
535
- # @overload update(host: nil, instance: nil, name: nil, project: nil, database_roles: nil, revoke_existing_roles: nil, server_roles: nil, revoke_existing_server_roles: nil, body: nil)
543
+ # @overload update(host: nil, instance: nil, name: nil, project: nil, database_roles: nil, revoke_existing_roles: nil, server_roles: nil, revoke_existing_server_roles: nil, body: nil, location: nil)
536
544
  # Pass arguments to `update` via keyword arguments. Note that at
537
545
  # least one keyword argument is required. To specify no parameters, or to keep all
538
546
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -561,6 +569,8 @@ module Google
561
569
  # in the `server_roles` field. If `false` or unset, the server roles
562
570
  # specified in `server_roles` are added to the user's existing server roles.
563
571
  # @param body [::Google::Cloud::Sql::V1beta4::User, ::Hash]
572
+ # @param location [::String]
573
+ # Optional. Region of the Cloud SQL instance.
564
574
  # @yield [result, operation] Access the result along with the TransportOperation object
565
575
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Operation]
566
576
  # @yieldparam operation [::Gapic::Rest::TransportOperation]