Regen docs (#373)
diff --git a/docs/dyn/ml_v1beta1.projects.models.html b/docs/dyn/ml_v1beta1.projects.models.html
index 1ead461..9483d3e 100644
--- a/docs/dyn/ml_v1beta1.projects.models.html
+++ b/docs/dyn/ml_v1beta1.projects.models.html
@@ -89,7 +89,7 @@
<code><a href="#get">get(name=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets information about a model, including its name, the description (if</p>
<p class="toc_element">
- <code><a href="#list">list(parent=None, pageToken=None, x__xgafv=None, pageSize=None)</a></code></p>
+ <code><a href="#list">list(parent=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists the models in a project.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -101,7 +101,7 @@
You must add at least one version before you can request predictions from
the model. Add versions by calling
-[projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create).
+[projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create).
Args:
parent: string, Required. The project name.
@@ -118,18 +118,24 @@
"regions": [ # Optional. The list of regions where the model is going to be deployed.
# Currently only one region per model is supported.
# Defaults to 'us-central1' if nothing is set.
+ # Note:
+ # * No matter where a model is deployed, it can always be accessed by
+ # users from anywhere, both for online and batch prediction.
+ # * The region for a batch prediction job is set by the region field when
+ # submitting the batch prediction job and does not take its value from
+ # this field.
"A String",
],
"defaultVersion": { # Represents a version of the model. # Output only. The default version of the model. This version will be used to
# handle prediction requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
#
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
- # [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).
"description": "A String", # Optional. The description specified for the version when it was created.
"runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this deployment.
# If not set, Google Cloud ML will choose a version.
@@ -147,11 +153,11 @@
"lastUseTime": "A String", # Output only. The time the version was last used for prediction.
"deploymentUri": "A String", # Required. The Google Cloud Storage location of the trained model used to
# create the version. See the
- # [overview of model deployment](/ml/docs/concepts/deployment-overview) for
+ # [overview of model deployment](/ml-engine/docs/concepts/deployment-overview) for
# more informaiton.
#
# When passing Version to
- # [projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create)
+ # [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)
# the model service uses the specified location as the source of the model.
# Once deployed, the model version is hosted by the prediction service, so
# this location is useful only as a historical record.
@@ -160,7 +166,7 @@
# requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
"name": "A String", # Required.The name specified for the version when it was created.
#
# The version name must be unique within the model it is created in.
@@ -189,18 +195,24 @@
"regions": [ # Optional. The list of regions where the model is going to be deployed.
# Currently only one region per model is supported.
# Defaults to 'us-central1' if nothing is set.
+ # Note:
+ # * No matter where a model is deployed, it can always be accessed by
+ # users from anywhere, both for online and batch prediction.
+ # * The region for a batch prediction job is set by the region field when
+ # submitting the batch prediction job and does not take its value from
+ # this field.
"A String",
],
"defaultVersion": { # Represents a version of the model. # Output only. The default version of the model. This version will be used to
# handle prediction requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
#
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
- # [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).
"description": "A String", # Optional. The description specified for the version when it was created.
"runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this deployment.
# If not set, Google Cloud ML will choose a version.
@@ -218,11 +230,11 @@
"lastUseTime": "A String", # Output only. The time the version was last used for prediction.
"deploymentUri": "A String", # Required. The Google Cloud Storage location of the trained model used to
# create the version. See the
- # [overview of model deployment](/ml/docs/concepts/deployment-overview) for
+ # [overview of model deployment](/ml-engine/docs/concepts/deployment-overview) for
# more informaiton.
#
# When passing Version to
- # [projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create)
+ # [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)
# the model service uses the specified location as the source of the model.
# Once deployed, the model version is hosted by the prediction service, so
# this location is useful only as a historical record.
@@ -231,7 +243,7 @@
# requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
"name": "A String", # Required.The name specified for the version when it was created.
#
# The version name must be unique within the model it is created in.
@@ -251,7 +263,7 @@
You can only delete a model if there are no versions in it. You can delete
versions by calling
-[projects.models.versions.delete](/ml/reference/rest/v1beta1/projects.models.versions/delete).
+[projects.models.versions.delete](/ml-engine/reference/rest/v1beta1/projects.models.versions/delete).
Args:
name: string, Required. The name of the model.
@@ -267,12 +279,6 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
- "metadata": { # Service-specific metadata associated with the operation. It typically
- # contains progress information and common metadata such as create time.
- # Some services might not provide such metadata. Any method that returns a
- # long-running operation should document the metadata type, if any.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
"error": { # The `Status` type defines a logical error model that is suitable for different # The error result of the operation in case of failure or cancellation.
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -352,6 +358,12 @@
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
+ "metadata": { # Service-specific metadata associated with the operation. It typically
+ # contains progress information and common metadata such as create time.
+ # Some services might not provide such metadata. Any method that returns a
+ # long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
}</pre>
</div>
@@ -381,18 +393,24 @@
"regions": [ # Optional. The list of regions where the model is going to be deployed.
# Currently only one region per model is supported.
# Defaults to 'us-central1' if nothing is set.
+ # Note:
+ # * No matter where a model is deployed, it can always be accessed by
+ # users from anywhere, both for online and batch prediction.
+ # * The region for a batch prediction job is set by the region field when
+ # submitting the batch prediction job and does not take its value from
+ # this field.
"A String",
],
"defaultVersion": { # Represents a version of the model. # Output only. The default version of the model. This version will be used to
# handle prediction requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
#
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
- # [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).
"description": "A String", # Optional. The description specified for the version when it was created.
"runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this deployment.
# If not set, Google Cloud ML will choose a version.
@@ -410,11 +428,11 @@
"lastUseTime": "A String", # Output only. The time the version was last used for prediction.
"deploymentUri": "A String", # Required. The Google Cloud Storage location of the trained model used to
# create the version. See the
- # [overview of model deployment](/ml/docs/concepts/deployment-overview) for
+ # [overview of model deployment](/ml-engine/docs/concepts/deployment-overview) for
# more informaiton.
#
# When passing Version to
- # [projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create)
+ # [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)
# the model service uses the specified location as the source of the model.
# Once deployed, the model version is hosted by the prediction service, so
# this location is useful only as a historical record.
@@ -423,7 +441,7 @@
# requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
"name": "A String", # Required.The name specified for the version when it was created.
#
# The version name must be unique within the model it is created in.
@@ -438,7 +456,7 @@
</div>
<div class="method">
- <code class="details" id="list">list(parent=None, pageToken=None, x__xgafv=None, pageSize=None)</code>
+ <code class="details" id="list">list(parent=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists the models in a project.
Each project can contain multiple models, and each model can have multiple
@@ -448,6 +466,11 @@
parent: string, Required. The name of the project whose models are to be listed.
Authorization: requires `Viewer` role on the specified project. (required)
+ pageSize: integer, 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.
pageToken: string, 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
@@ -456,18 +479,11 @@
Allowed values
1 - v1 error format
2 - v2 error format
- pageSize: integer, 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.
Returns:
An object of the form:
{ # Response message for the ListModels method.
- "nextPageToken": "A String", # Optional. Pass this token as the `page_token` field of the request for a
- # subsequent call.
"models": [ # The list of models.
{ # Represents a machine learning solution.
#
@@ -477,18 +493,24 @@
"regions": [ # Optional. The list of regions where the model is going to be deployed.
# Currently only one region per model is supported.
# Defaults to 'us-central1' if nothing is set.
+ # Note:
+ # * No matter where a model is deployed, it can always be accessed by
+ # users from anywhere, both for online and batch prediction.
+ # * The region for a batch prediction job is set by the region field when
+ # submitting the batch prediction job and does not take its value from
+ # this field.
"A String",
],
"defaultVersion": { # Represents a version of the model. # Output only. The default version of the model. This version will be used to
# handle prediction requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
#
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
- # [projects.models.versions.list](/ml/reference/rest/v1beta1/projects.models.versions/list).
+ # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).
"description": "A String", # Optional. The description specified for the version when it was created.
"runtimeVersion": "A String", # Optional. The Google Cloud ML runtime version to use for this deployment.
# If not set, Google Cloud ML will choose a version.
@@ -506,11 +528,11 @@
"lastUseTime": "A String", # Output only. The time the version was last used for prediction.
"deploymentUri": "A String", # Required. The Google Cloud Storage location of the trained model used to
# create the version. See the
- # [overview of model deployment](/ml/docs/concepts/deployment-overview) for
+ # [overview of model deployment](/ml-engine/docs/concepts/deployment-overview) for
# more informaiton.
#
# When passing Version to
- # [projects.models.versions.create](/ml/reference/rest/v1beta1/projects.models.versions/create)
+ # [projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)
# the model service uses the specified location as the source of the model.
# Once deployed, the model version is hosted by the prediction service, so
# this location is useful only as a historical record.
@@ -519,7 +541,7 @@
# requests that do not specify a version.
#
# You can change the default version by calling
- # [projects.methods.versions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefault).
+ # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).
"name": "A String", # Required.The name specified for the version when it was created.
#
# The version name must be unique within the model it is created in.
@@ -532,6 +554,8 @@
"description": "A String", # Optional. The description specified for the model when it was created.
},
],
+ "nextPageToken": "A String", # Optional. Pass this token as the `page_token` field of the request for a
+ # subsequent call.
}</pre>
</div>