generated/google/apis/storagetransfer_v1/service.rb in google-api-client-0.46.1 vs generated/google/apis/storagetransfer_v1/service.rb in google-api-client-0.46.2

- old
+ new

@@ -136,11 +136,11 @@ # @return [Google::Apis::StoragetransferV1::TransferJob] # # @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 get_transfer_job(job_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_transfer_job(job_name, project_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+jobName}', options) command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation command.response_class = Google::Apis::StoragetransferV1::TransferJob command.params['jobName'] = job_name unless job_name.nil? command.query['projectId'] = project_id unless project_id.nil? @@ -149,17 +149,16 @@ execute_or_queue_command(command, &block) end # Lists transfer jobs. # @param [String] filter - # Required. A list of query parameters specified as JSON text in the form of: `" - # project_id":"my_project_id", "job_names":["jobid1","jobid2",...], " - # job_statuses":["status1","status2",...]`. Since `job_names` and `job_statuses` - # support multiple values, their values must be specified with array notation. ` - # project``_``id` is required. `job_names` and `job_statuses` are optional. The - # valid values for `job_statuses` are case-insensitive: ENABLED, DISABLED, and - # DELETED. + # Required. A list of query parameters specified as JSON text in the form of: ``" + # projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":[ + # "status1","status2",...]`` Since `jobNames` and `jobStatuses` support multiple + # values, their values must be specified with array notation. `projectId` is + # required. `jobNames` and `jobStatuses` are optional. The valid values for ` + # jobStatuses` are case-insensitive: ENABLED, DISABLED, and DELETED. # @param [Fixnum] page_size # The list page size. The max allowed value is 256. # @param [String] page_token # The list page token. # @param [String] fields @@ -177,11 +176,11 @@ # @return [Google::Apis::StoragetransferV1::ListTransferJobsResponse] # # @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_transfer_jobs(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_transfer_jobs(filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/transferJobs', options) command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? @@ -309,18 +308,18 @@ # Lists transfer operations. # @param [String] name # Required. The value `transferOperations`. # @param [String] filter - # Required. A list of query parameters specified as JSON text in the form of: `" - # project_id":"my_project_id", "job_names":["jobid1","jobid2",...], " - # operation_names":["opid1","opid2",...], "transfer_statuses":["status1"," - # status2",...]`. Since `job_names`, `operation_names`, and `transfer_statuses` - # support multiple values, they must be specified with array notation. `project`` - # _``id` is required. `job_names`, `operation_names`, and `transfer_statuses` - # are optional. The valid values for `transfer_statuses` are case-insensitive: - # IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED. + # Required. A list of query parameters specified as JSON text in the form of: ``" + # projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], " + # operationNames":["opid1","opid2",...], "transferStatuses":["status1","status2", + # ...]`` Since `jobNames`, `operationNames`, and `transferStatuses` support + # multiple values, they must be specified with array notation. `projectId` is + # required. `jobNames`, `operationNames`, and `transferStatuses` are optional. + # The valid values for `transferStatuses` are case-insensitive: IN_PROGRESS, + # PAUSED, SUCCESS, FAILED, and ABORTED. # @param [Fixnum] page_size # The list page size. The max allowed value is 256. # @param [String] page_token # The list page token. # @param [String] fields @@ -338,10 +337,10 @@ # @return [Google::Apis::StoragetransferV1::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_transfer_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_transfer_operations(name, filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil?