google-cloud-sql-v1beta4 0.1.0 → 0.2.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.
@@ -12,7 +12,7 @@ require 'google/protobuf/duration_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n.google/cloud/sql/v1beta4/cloud_sql_users.proto\x12\x18google.cloud.sql.v1beta4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x32google/cloud/sql/v1beta4/cloud_sql_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x15SqlUsersDeleteRequest\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\"S\n\x12SqlUsersGetRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\"h\n\x15SqlUsersInsertRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\"8\n\x13SqlUsersListRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\"\xd5\x02\n\x15SqlUsersUpdateRequest\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\'\n\x15revoke_existing_roles\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x0cserver_roles\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12.\n\x1crevoke_existing_server_roles\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.UserB\x18\n\x16_revoke_existing_rolesB\x1f\n\x1d_revoke_existing_server_roles\"\x8b\x02\n\x1cUserPasswordValidationPolicy\x12\x1f\n\x17\x61llowed_failed_attempts\x18\x01 \x01(\x05\x12?\n\x1cpassword_expiration_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12$\n\x1c\x65nable_failed_attempts_check\x18\x03 \x01(\x08\x12=\n\x06status\x18\x04 \x01(\x0b\x32(.google.cloud.sql.v1beta4.PasswordStatusB\x03\xe0\x41\x03\x12$\n\x1c\x65nable_password_verification\x18\x05 \x01(\x08\"^\n\x0ePasswordStatus\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x12<\n\x18password_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8a\x08\n\x04User\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x11\n\x04host\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x08instance\x18\x06 \x01(\t\x12\x0f\n\x07project\x18\x07 \x01(\t\x12\x38\n\x04type\x18\x08 \x01(\x0e\x32*.google.cloud.sql.v1beta4.User.SqlUserType\x12P\n\x16sqlserver_user_details\x18\t \x01(\x0b\x32..google.cloud.sql.v1beta4.SqlServerUserDetailsH\x00\x12\x16\n\tiam_email\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12O\n\x0fpassword_policy\x18\x0c \x01(\x0b\x32\x36.google.cloud.sql.v1beta4.UserPasswordValidationPolicy\x12P\n\x12\x64ual_password_type\x18\r \x01(\x0e\x32/.google.cloud.sql.v1beta4.User.DualPasswordTypeH\x01\x88\x01\x01\x12\x41\n\niam_status\x18\x0e \x01(\x0e\x32(.google.cloud.sql.v1beta4.User.IamStatusH\x02\x88\x01\x01\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x0f \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0cserver_roles\x18\x10 \x03(\tB\x03\xe0\x41\x01\"\xd6\x01\n\x0bSqlUserType\x12\x0c\n\x08\x42UILT_IN\x10\x00\x12\x12\n\x0e\x43LOUD_IAM_USER\x10\x01\x12\x1d\n\x19\x43LOUD_IAM_SERVICE_ACCOUNT\x10\x02\x12\x13\n\x0f\x43LOUD_IAM_GROUP\x10\x03\x12\x18\n\x14\x43LOUD_IAM_GROUP_USER\x10\x04\x12#\n\x1f\x43LOUD_IAM_GROUP_SERVICE_ACCOUNT\x10\x05\x12 \n\x1c\x43LOUD_IAM_WORKFORCE_IDENTITY\x10\x06\x12\x10\n\x0c\x45NTRAID_USER\x10\x07\"|\n\x10\x44ualPasswordType\x12\"\n\x1e\x44UAL_PASSWORD_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17NO_MODIFY_DUAL_PASSWORD\x10\x01\x12\x14\n\x10NO_DUAL_PASSWORD\x10\x02\x12\x11\n\rDUAL_PASSWORD\x10\x03\"A\n\tIamStatus\x12\x1a\n\x16IAM_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\x0e\n\x0cuser_detailsB\x15\n\x13_dual_password_typeB\r\n\x0b_iam_status\">\n\x14SqlServerUserDetails\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x14\n\x0cserver_roles\x18\x02 \x03(\t\"m\n\x11UsersListResponse\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12-\n\x05items\x18\x02 \x03(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x1b\n\x0fnext_page_token\x18\x03 \x01(\tB\x02\x18\x01\x32\xd4\x07\n\x0fSqlUsersService\x12\xa2\x01\n\x06\x44\x65lete\x12/.google.cloud.sql.v1beta4.SqlUsersDeleteRequest\x1a#.google.cloud.sql.v1beta4.Operation\"B\x82\xd3\xe4\x93\x02<*:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\x9e\x01\n\x03Get\x12,.google.cloud.sql.v1beta4.SqlUsersGetRequest\x1a\x1e.google.cloud.sql.v1beta4.User\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}\x12\xa8\x01\n\x06Insert\x12/.google.cloud.sql.v1beta4.SqlUsersInsertRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\":/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x12\xa6\x01\n\x04List\x12-.google.cloud.sql.v1beta4.SqlUsersListRequest\x1a+.google.cloud.sql.v1beta4.UsersListResponse\"B\x82\xd3\xe4\x93\x02<\x12:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\xa8\x01\n\x06Update\x12/.google.cloud.sql.v1beta4.SqlUsersUpdateRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\x1a:/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x1a|\xca\x41\x17sqladmin.googleapis.com\xd2\x41_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBd\n\x1c\x63om.google.cloud.sql.v1beta4B\x12\x43loudSqlUsersProtoP\x01Z.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbb\x06proto3"
15
+ descriptor_data = "\n.google/cloud/sql/v1beta4/cloud_sql_users.proto\x12\x18google.cloud.sql.v1beta4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x32google/cloud/sql/v1beta4/cloud_sql_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"m\n\x15SqlUsersDeleteRequest\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x15\n\x08location\x18\x05 \x01(\tB\x03\xe0\x41\x01\"j\n\x12SqlUsersGetRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\x12\x15\n\x08location\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x15SqlUsersInsertRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x15\n\x08location\x18\x03 \x01(\tB\x03\xe0\x41\x01\"O\n\x13SqlUsersListRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x15\n\x08location\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xec\x02\n\x15SqlUsersUpdateRequest\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\'\n\x15revoke_existing_roles\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x0cserver_roles\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12.\n\x1crevoke_existing_server_roles\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x15\n\x08location\x18\t \x01(\tB\x03\xe0\x41\x01\x42\x18\n\x16_revoke_existing_rolesB\x1f\n\x1d_revoke_existing_server_roles\"\x8b\x02\n\x1cUserPasswordValidationPolicy\x12\x1f\n\x17\x61llowed_failed_attempts\x18\x01 \x01(\x05\x12?\n\x1cpassword_expiration_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12$\n\x1c\x65nable_failed_attempts_check\x18\x03 \x01(\x08\x12=\n\x06status\x18\x04 \x01(\x0b\x32(.google.cloud.sql.v1beta4.PasswordStatusB\x03\xe0\x41\x03\x12$\n\x1c\x65nable_password_verification\x18\x05 \x01(\x08\"^\n\x0ePasswordStatus\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x12<\n\x18password_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8a\x08\n\x04User\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x11\n\x04host\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x08instance\x18\x06 \x01(\t\x12\x0f\n\x07project\x18\x07 \x01(\t\x12\x38\n\x04type\x18\x08 \x01(\x0e\x32*.google.cloud.sql.v1beta4.User.SqlUserType\x12P\n\x16sqlserver_user_details\x18\t \x01(\x0b\x32..google.cloud.sql.v1beta4.SqlServerUserDetailsH\x00\x12\x16\n\tiam_email\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12O\n\x0fpassword_policy\x18\x0c \x01(\x0b\x32\x36.google.cloud.sql.v1beta4.UserPasswordValidationPolicy\x12P\n\x12\x64ual_password_type\x18\r \x01(\x0e\x32/.google.cloud.sql.v1beta4.User.DualPasswordTypeH\x01\x88\x01\x01\x12\x41\n\niam_status\x18\x0e \x01(\x0e\x32(.google.cloud.sql.v1beta4.User.IamStatusH\x02\x88\x01\x01\x12\x1b\n\x0e\x64\x61tabase_roles\x18\x0f \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0cserver_roles\x18\x10 \x03(\tB\x03\xe0\x41\x01\"\xd6\x01\n\x0bSqlUserType\x12\x0c\n\x08\x42UILT_IN\x10\x00\x12\x12\n\x0e\x43LOUD_IAM_USER\x10\x01\x12\x1d\n\x19\x43LOUD_IAM_SERVICE_ACCOUNT\x10\x02\x12\x13\n\x0f\x43LOUD_IAM_GROUP\x10\x03\x12\x18\n\x14\x43LOUD_IAM_GROUP_USER\x10\x04\x12#\n\x1f\x43LOUD_IAM_GROUP_SERVICE_ACCOUNT\x10\x05\x12 \n\x1c\x43LOUD_IAM_WORKFORCE_IDENTITY\x10\x06\x12\x10\n\x0c\x45NTRAID_USER\x10\x07\"|\n\x10\x44ualPasswordType\x12\"\n\x1e\x44UAL_PASSWORD_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17NO_MODIFY_DUAL_PASSWORD\x10\x01\x12\x14\n\x10NO_DUAL_PASSWORD\x10\x02\x12\x11\n\rDUAL_PASSWORD\x10\x03\"A\n\tIamStatus\x12\x1a\n\x16IAM_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\x0e\n\x0cuser_detailsB\x15\n\x13_dual_password_typeB\r\n\x0b_iam_status\">\n\x14SqlServerUserDetails\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x14\n\x0cserver_roles\x18\x02 \x03(\t\"m\n\x11UsersListResponse\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12-\n\x05items\x18\x02 \x03(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x1b\n\x0fnext_page_token\x18\x03 \x01(\tB\x02\x18\x01\x32\xd4\x07\n\x0fSqlUsersService\x12\xa2\x01\n\x06\x44\x65lete\x12/.google.cloud.sql.v1beta4.SqlUsersDeleteRequest\x1a#.google.cloud.sql.v1beta4.Operation\"B\x82\xd3\xe4\x93\x02<*:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\x9e\x01\n\x03Get\x12,.google.cloud.sql.v1beta4.SqlUsersGetRequest\x1a\x1e.google.cloud.sql.v1beta4.User\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}\x12\xa8\x01\n\x06Insert\x12/.google.cloud.sql.v1beta4.SqlUsersInsertRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\":/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x12\xa6\x01\n\x04List\x12-.google.cloud.sql.v1beta4.SqlUsersListRequest\x1a+.google.cloud.sql.v1beta4.UsersListResponse\"B\x82\xd3\xe4\x93\x02<\x12:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\xa8\x01\n\x06Update\x12/.google.cloud.sql.v1beta4.SqlUsersUpdateRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\x1a:/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x1a|\xca\x41\x17sqladmin.googleapis.com\xd2\x41_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBd\n\x1c\x63om.google.cloud.sql.v1beta4B\x12\x43loudSqlUsersProtoP\x01Z.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbb\x06proto3"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -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(database: nil, instance: nil, project: nil)
213
+ # @overload delete(database: nil, instance: 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).
@@ -221,6 +221,8 @@ module Google
221
221
  # Database instance ID. This does not include the project ID.
222
222
  # @param project [::String]
223
223
  # Project ID of the project that contains the instance.
224
+ # @param location [::String]
225
+ # Optional. Region of the Cloud SQL instance.
224
226
  #
225
227
  # @yield [response, operation] Access the result along with the RPC operation
226
228
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
@@ -306,7 +308,7 @@ module Google
306
308
  # @param options [::Gapic::CallOptions, ::Hash]
307
309
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
308
310
  #
309
- # @overload get(database: nil, instance: nil, project: nil)
311
+ # @overload get(database: nil, instance: nil, project: nil, location: nil)
310
312
  # Pass arguments to `get` via keyword arguments. Note that at
311
313
  # least one keyword argument is required. To specify no parameters, or to keep all
312
314
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -317,6 +319,8 @@ module Google
317
319
  # Database instance ID. This does not include the project ID.
318
320
  # @param project [::String]
319
321
  # Project ID of the project that contains 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::Database]
@@ -404,7 +408,7 @@ module Google
404
408
  # @param options [::Gapic::CallOptions, ::Hash]
405
409
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
406
410
  #
407
- # @overload insert(instance: nil, project: nil, body: nil)
411
+ # @overload insert(instance: nil, project: nil, body: nil, location: nil)
408
412
  # Pass arguments to `insert` via keyword arguments. Note that at
409
413
  # least one keyword argument is required. To specify no parameters, or to keep all
410
414
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -414,6 +418,8 @@ module Google
414
418
  # @param project [::String]
415
419
  # Project ID of the project that contains the instance.
416
420
  # @param body [::Google::Cloud::Sql::V1beta4::Database, ::Hash]
421
+ # @param location [::String]
422
+ # Optional. Region of the Cloud SQL instance.
417
423
  #
418
424
  # @yield [response, operation] Access the result along with the RPC operation
419
425
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
@@ -495,7 +501,7 @@ module Google
495
501
  # @param options [::Gapic::CallOptions, ::Hash]
496
502
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
497
503
  #
498
- # @overload list(instance: nil, project: nil)
504
+ # @overload list(instance: nil, project: nil, location: nil)
499
505
  # Pass arguments to `list` via keyword arguments. Note that at
500
506
  # least one keyword argument is required. To specify no parameters, or to keep all
501
507
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -504,6 +510,8 @@ module Google
504
510
  # Cloud SQL instance ID. This does not include the project ID.
505
511
  # @param project [::String]
506
512
  # Project ID of the project that contains the instance.
513
+ # @param location [::String]
514
+ # Optional. Region of the Cloud SQL instance.
507
515
  #
508
516
  # @yield [response, operation] Access the result along with the RPC operation
509
517
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::DatabasesListResponse]
@@ -586,7 +594,7 @@ module Google
586
594
  # @param options [::Gapic::CallOptions, ::Hash]
587
595
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
588
596
  #
589
- # @overload patch(database: nil, instance: nil, project: nil, body: nil)
597
+ # @overload patch(database: nil, instance: nil, project: nil, body: nil, location: nil)
590
598
  # Pass arguments to `patch` via keyword arguments. Note that at
591
599
  # least one keyword argument is required. To specify no parameters, or to keep all
592
600
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -598,6 +606,8 @@ module Google
598
606
  # @param project [::String]
599
607
  # Project ID of the project that contains the instance.
600
608
  # @param body [::Google::Cloud::Sql::V1beta4::Database, ::Hash]
609
+ # @param location [::String]
610
+ # Optional. Region of the Cloud SQL instance.
601
611
  #
602
612
  # @yield [response, operation] Access the result along with the RPC operation
603
613
  # @yieldparam response [::Google::Cloud::Sql::V1beta4::Operation]
@@ -683,7 +693,7 @@ module Google
683
693
  # @param options [::Gapic::CallOptions, ::Hash]
684
694
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
685
695
  #
686
- # @overload update(database: nil, instance: nil, project: nil, body: nil)
696
+ # @overload update(database: nil, instance: nil, project: nil, body: nil, location: nil)
687
697
  # Pass arguments to `update` via keyword arguments. Note that at
688
698
  # least one keyword argument is required. To specify no parameters, or to keep all
689
699
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -695,6 +705,8 @@ module Google
695
705
  # @param project [::String]
696
706
  # Project ID of the project that contains the instance.
697
707
  # @param body [::Google::Cloud::Sql::V1beta4::Database, ::Hash]
708
+ # @param location [::String]
709
+ # Optional. Region of the Cloud SQL instance.
698
710
  #
699
711
  # @yield [response, operation] Access the result along with the RPC operation
700
712
  # @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(database: nil, instance: nil, project: nil)
206
+ # @overload delete(database: nil, instance: 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).
@@ -214,6 +214,8 @@ module Google
214
214
  # Database instance ID. This does not include the project ID.
215
215
  # @param project [::String]
216
216
  # Project ID of the project that contains the instance.
217
+ # @param location [::String]
218
+ # Optional. Region of the Cloud SQL instance.
217
219
  # @yield [result, operation] Access the result along with the TransportOperation object
218
220
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Operation]
219
221
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -286,7 +288,7 @@ module Google
286
288
  # @param options [::Gapic::CallOptions, ::Hash]
287
289
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
288
290
  #
289
- # @overload get(database: nil, instance: nil, project: nil)
291
+ # @overload get(database: nil, instance: nil, project: nil, location: nil)
290
292
  # Pass arguments to `get` via keyword arguments. Note that at
291
293
  # least one keyword argument is required. To specify no parameters, or to keep all
292
294
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -297,6 +299,8 @@ module Google
297
299
  # Database instance ID. This does not include the project ID.
298
300
  # @param project [::String]
299
301
  # Project ID of the project that contains the instance.
302
+ # @param location [::String]
303
+ # Optional. Region of the Cloud SQL instance.
300
304
  # @yield [result, operation] Access the result along with the TransportOperation object
301
305
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Database]
302
306
  # @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::Database, ::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
  # Cloud SQL 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::DatabasesListResponse]
466
474
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -533,7 +541,7 @@ module Google
533
541
  # @param options [::Gapic::CallOptions, ::Hash]
534
542
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
535
543
  #
536
- # @overload patch(database: nil, instance: nil, project: nil, body: nil)
544
+ # @overload patch(database: nil, instance: nil, project: nil, body: nil, location: nil)
537
545
  # Pass arguments to `patch` via keyword arguments. Note that at
538
546
  # least one keyword argument is required. To specify no parameters, or to keep all
539
547
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -545,6 +553,8 @@ module Google
545
553
  # @param project [::String]
546
554
  # Project ID of the project that contains the instance.
547
555
  # @param body [::Google::Cloud::Sql::V1beta4::Database, ::Hash]
556
+ # @param location [::String]
557
+ # Optional. Region of the Cloud SQL instance.
548
558
  # @yield [result, operation] Access the result along with the TransportOperation object
549
559
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Operation]
550
560
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -617,7 +627,7 @@ module Google
617
627
  # @param options [::Gapic::CallOptions, ::Hash]
618
628
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
619
629
  #
620
- # @overload update(database: nil, instance: nil, project: nil, body: nil)
630
+ # @overload update(database: nil, instance: nil, project: nil, body: nil, location: nil)
621
631
  # Pass arguments to `update` via keyword arguments. Note that at
622
632
  # least one keyword argument is required. To specify no parameters, or to keep all
623
633
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -629,6 +639,8 @@ module Google
629
639
  # @param project [::String]
630
640
  # Project ID of the project that contains the instance.
631
641
  # @param body [::Google::Cloud::Sql::V1beta4::Database, ::Hash]
642
+ # @param location [::String]
643
+ # Optional. Region of the Cloud SQL instance.
632
644
  # @yield [result, operation] Access the result along with the TransportOperation object
633
645
  # @yieldparam result [::Google::Cloud::Sql::V1beta4::Operation]
634
646
  # @yieldparam operation [::Gapic::Rest::TransportOperation]