Autogenerated update (2017-08-25)
Add: - adexperiencereport_v1 - androiddeviceprovisioning_v1 - androidmanagement_v1 - bigquerydatatransfer_v1 - cloudtrace_v2 - clouduseraccounts_vm_alpha - consumersurveys_v2 - dlp_v2beta1 - oslogin_v1alpha - playcustomapp_v1 - playmoviespartner_v1 - safebrowsing_v4 - spectrum_v1explorer - speech_v1 - streetviewpublish_v1 - vault_v1 - videointelligence_v1beta1 Update: - acceleratedmobilepageurl_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_4 - adsense_v1_4 - adsensehost_v4_1 - analytics_v3 - analyticsreporting_v4 - androidenterprise_v1 - androidpublisher_v2 - appengine_v1 - appsactivity_v1 - appstate_v1 - bigquery_v2 - calendar_v3 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudfunctions_v1 - cloudkms_v1 - cloudmonitoring_v2beta2 - cloudresourcemanager_v1 - compute_beta - compute_v1 - container_v1 - content_v2 - dataflow_v1b3 - dataproc_v1 - datastore_v1 - deploymentmanager_v2 - dfareporting_v2_8 - dns_v1 - doubleclicksearch_v2 - drive_v3 - firebasedynamiclinks_v1 - firebaserules_v1 - fitness_v1 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - gmail_v1 - iam_v1 - identitytoolkit_v3 - language_v1 - logging_v2 - manufacturers_v1 - ml_v1 - monitoring_v3 - oauth2_v2 - partners_v2 - people_v1 - plus_domains_v1 - plus_v1 - proximitybeacon_v1beta1 - pubsub_v1 - runtimeconfig_v1 - script_v1 - searchconsole_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceuser_v1 - sheets_v4 - slides_v1 - sourcerepo_v1 - spanner_v1 - sqladmin_v1beta4 - storage_v1 - storagetransfer_v1 - toolresults_v1beta3 - vision_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_partner_v1 - youtubereporting_v1
This commit is contained in:
1 parent
ce32deabcf
commit
2dd396ce6e
315 files changed
+158012
-116092
No files matched your search
+1465
-1654
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -115,20 +115,10 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the models in a project.
|
||||
# Each project can contain multiple models, and each model can have multiple
|
||||
# versions.
|
||||
# @param [String] parent
|
||||
# Required. The name of the project whose models are to be listed.
|
||||
# @param [String] page_token
|
||||
# Optional. A page token to request the next page of results.
|
||||
# You get the token from the `next_page_token` field of the response from
|
||||
# the previous call.
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The number of models to retrieve per "page" of results. If there
|
||||
# are more remaining results than this number, the response message will
|
||||
# contain a valid value in the `next_page_token` field.
|
||||
# The default value is 20, and the maximum page size is 100.
|
||||
# Cancels a running job.
|
||||
# @param [String] name
|
||||
# Required. The name of the job to cancel.
|
||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -138,21 +128,161 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse] parsed result object
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse]
|
||||
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
||||
#
|
||||
# @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_project_models(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/models', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse
|
||||
def cancel_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation
|
||||
command.request_object = google_cloud_ml_v1__cancel_job_request_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a training or a batch prediction job.
|
||||
# @param [String] parent
|
||||
# Required. The project name.
|
||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Job]
|
||||
#
|
||||
# @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 create_project_job(parent, google_cloud_ml_v1__job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/jobs', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
||||
command.request_object = google_cloud_ml_v1__job_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Describes a job.
|
||||
# @param [String] name
|
||||
# Required. The name of the job to get the description of.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Job]
|
||||
#
|
||||
# @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_project_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource.
|
||||
# Returns an empty policy if the resource exists and does not have a policy
|
||||
# set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleIamV1Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
|
||||
#
|
||||
# @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_project_job_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleIamV1Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the jobs in the project.
|
||||
# @param [String] parent
|
||||
# Required. The name of the project for which to list jobs.
|
||||
# @param [String] filter
|
||||
# Optional. Specifies the subset of jobs to retrieve.
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The number of jobs to retrieve per "page" of results. If there
|
||||
# are more remaining results than this number, the response message will
|
||||
# contain a valid value in the `next_page_token` field.
|
||||
# The default value is 20, and the maximum page size is 100.
|
||||
# @param [String] page_token
|
||||
# Optional. A page token to request the next page of results.
|
||||
# You get the token from the `next_page_token` field of the response from
|
||||
# the previous call.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse]
|
||||
#
|
||||
# @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_project_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
@@ -181,7 +311,7 @@ module Google
|
||||
# @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 set_project_model_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def set_project_job_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest::Representation
|
||||
command.request_object = google_iam_v1__set_iam_policy_request_object
|
||||
@@ -193,6 +323,45 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1__test_iam_permissions_request_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_project_job_iam_permissions(resource, google_iam_v1__test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
||||
command.request_object = google_iam_v1__test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleIamV1TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a model which will later contain one or more versions.
|
||||
# You must add at least one version before you can request predictions from
|
||||
# the model. Add versions by calling
|
||||
@@ -230,6 +399,72 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a model.
|
||||
# You can only delete a model if there are no versions in it. You can delete
|
||||
# versions by calling
|
||||
# [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/delete).
|
||||
# @param [String] name
|
||||
# Required. The name of the model.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets information about a model, including its name, the description (if
|
||||
# set), and the default version (if at least one version of the model has
|
||||
# been deployed).
|
||||
# @param [String] name
|
||||
# Required. The name of the model.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Model] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Model]
|
||||
#
|
||||
# @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Model
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource.
|
||||
# Returns an empty policy if the resource exists and does not have a policy
|
||||
# set.
|
||||
@@ -263,11 +498,20 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets information about a model, including its name, the description (if
|
||||
# set), and the default version (if at least one version of the model has
|
||||
# been deployed).
|
||||
# @param [String] name
|
||||
# Required. The name of the model.
|
||||
# Lists the models in a project.
|
||||
# Each project can contain multiple models, and each model can have multiple
|
||||
# versions.
|
||||
# @param [String] parent
|
||||
# Required. The name of the project whose models are to be listed.
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The number of models to retrieve per "page" of results. If there
|
||||
# are more remaining results than this number, the response message will
|
||||
# contain a valid value in the `next_page_token` field.
|
||||
# The default value is 20, and the maximum page size is 100.
|
||||
# @param [String] page_token
|
||||
# Optional. A page token to request the next page of results.
|
||||
# You get the token from the `next_page_token` field of the response from
|
||||
# the previous call.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -277,19 +521,56 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Model] parsed result object
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Model]
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse]
|
||||
#
|
||||
# @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Model
|
||||
command.params['name'] = name unless name.nil?
|
||||
def list_project_models(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/models', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1__set_iam_policy_request_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleIamV1Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
|
||||
#
|
||||
# @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 set_project_model_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest::Representation
|
||||
command.request_object = google_iam_v1__set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleIamV1Policy::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleIamV1Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
@@ -334,40 +615,6 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a model.
|
||||
# You can only delete a model if there are no versions in it. You can delete
|
||||
# versions by calling
|
||||
# [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/delete).
|
||||
# @param [String] name
|
||||
# Required. The name of the model.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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_project_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new version of a model from a trained TensorFlow model.
|
||||
# If the version created in the cloud by this call is the first deployed
|
||||
# version of the specified model, it will be made the default version of the
|
||||
@@ -408,48 +655,6 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Designates a version to be the default for the model.
|
||||
# The default version is used for prediction requests made against the model
|
||||
# that don't specify a version.
|
||||
# The first version to be created for a model is automatically set as the
|
||||
# default. You must make any subsequent changes to the default version
|
||||
# setting manually using this method.
|
||||
# @param [String] name
|
||||
# Required. The name of the version to make the default for the model. You
|
||||
# can get the names of all the versions of a model by calling
|
||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Authorization: `ml.models.update` permission is required on the parent model.
|
||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Version] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
#
|
||||
# @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 set_project_model_version_default(name, google_cloud_ml_v1__set_default_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:setDefault', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest::Representation
|
||||
command.request_object = google_cloud_ml_v1__set_default_version_request_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Version
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a model version.
|
||||
# Each model can have multiple versions deployed and in use at any given
|
||||
# time. Use this method to remove a single version.
|
||||
@@ -566,11 +771,18 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# Designates a version to be the default for the model.
|
||||
# The default version is used for prediction requests made against the model
|
||||
# that don't specify a version.
|
||||
# The first version to be created for a model is automatically set as the
|
||||
# default. You must make any subsequent changes to the default version
|
||||
# setting manually using this method.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# Required. The name of the version to make the default for the model. You
|
||||
# can get the names of all the versions of a model by calling
|
||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -580,71 +792,26 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Version] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
#
|
||||
# @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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
||||
def set_project_model_version_default(name, google_cloud_ml_v1__set_default_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:setDefault', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest::Representation
|
||||
command.request_object = google_cloud_ml_v1__set_default_version_request_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Version
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the
|
||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
# NOTE: the `name` binding allows API services to override the binding
|
||||
# to use different resource name schemes, such as `users/*/operations`. To
|
||||
# override the binding, API services can add a binding such as
|
||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
||||
# For backwards compatibility, the default name includes the operations
|
||||
# collection id, however overriding users must ensure the name binding
|
||||
# is the parent resource, without the operations collection id.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse]
|
||||
#
|
||||
# @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_project_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Starts asynchronous cancellation on a long-running operation. The server
|
||||
# makes a best effort to cancel the operation, but success is not
|
||||
# guaranteed. If the server doesn't support this method, it returns
|
||||
@@ -717,43 +884,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a training or a batch prediction job.
|
||||
# @param [String] parent
|
||||
# Required. The project name.
|
||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Job]
|
||||
#
|
||||
# @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 create_project_job(parent, google_cloud_ml_v1__job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/jobs', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
||||
command.request_object = google_cloud_ml_v1__job_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Cancels a running job.
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# Required. The name of the job to cancel.
|
||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object
|
||||
# The name of the operation resource.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -763,70 +898,41 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
||||
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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 cancel_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
||||
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation
|
||||
command.request_object = google_cloud_ml_v1__cancel_job_request_object
|
||||
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Describes a job.
|
||||
# @param [String] name
|
||||
# Required. The name of the job to get the description of.
|
||||
# @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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Job]
|
||||
#
|
||||
# @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_project_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job
|
||||
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the jobs in the project.
|
||||
# @param [String] parent
|
||||
# Required. The name of the project for which to list jobs.
|
||||
# @param [String] page_token
|
||||
# Optional. A page token to request the next page of results.
|
||||
# You get the token from the `next_page_token` field of the response from
|
||||
# the previous call.
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The number of jobs to retrieve per "page" of results. If there
|
||||
# are more remaining results than this number, the response message will
|
||||
# contain a valid value in the `next_page_token` field.
|
||||
# The default value is 20, and the maximum page size is 100.
|
||||
# Lists operations that match the specified filter in the request. If the
|
||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
# NOTE: the `name` binding allows API services to override the binding
|
||||
# to use different resource name schemes, such as `users/*/operations`. To
|
||||
# override the binding, API services can add a binding such as
|
||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
||||
# For backwards compatibility, the default name includes the operations
|
||||
# collection id, however overriding users must ensure the name binding
|
||||
# is the parent resource, without the operations collection id.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# Optional. Specifies the subset of jobs to retrieve.
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -836,22 +942,22 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] parsed result object
|
||||
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse]
|
||||
# @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse]
|
||||
#
|
||||
# @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_project_jobs(parent, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
||||
command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
||||
Reference in new issue
Block a user