generated/google/apis/sqladmin_v1beta4/service.rb in google-api-client-0.9.pre2 vs generated/google/apis/sqladmin_v1beta4/service.rb in google-api-client-0.9.pre3
- old
+ new
@@ -1122,11 +1122,11 @@
# @return [Google::Apis::SqladminV1beta4::ListOperationsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def list_operations(project, instance: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def list_operations(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
path = 'projects/{project}/operations'
command = make_simple_command(:get, path, options)
command.response_representation = Google::Apis::SqladminV1beta4::ListOperationsResponse::Representation
command.response_class = Google::Apis::SqladminV1beta4::ListOperationsResponse
command.params['project'] = project unless project.nil?
@@ -1375,11 +1375,11 @@
# @return [Google::Apis::SqladminV1beta4::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def delete_user(project, instance, host, name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
path = 'projects/{project}/instances/{instance}/users'
command = make_simple_command(:delete, path, options)
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
command.response_class = Google::Apis::SqladminV1beta4::Operation
command.params['project'] = project unless project.nil?
@@ -1476,15 +1476,15 @@
# Updates an existing user in a Cloud SQL instance.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
# Database instance ID. This does not include the project ID.
- # @param [Google::Apis::SqladminV1beta4::User] user_object
# @param [String] host
# Host of the user in the instance.
# @param [String] name
# Name of the user in the instance.
+ # @param [Google::Apis::SqladminV1beta4::User] user_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -1502,10 +1502,10 @@
# @return [Google::Apis::SqladminV1beta4::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def update_user(project, instance, host, name, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
path = 'projects/{project}/instances/{instance}/users'
command = make_simple_command(:put, path, options)
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
command.request_object = user_object
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation