Skip to content

Commit cfe625a

Browse files
feat(ml): update the api
#### ml:v1 The following keys were added: - schemas.GoogleCloudMlV1__Job.properties.jobPosition (Total Keys: 3)
1 parent efe5104 commit cfe625a

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

docs/dyn/ml_v1.projects.jobs.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ <h3>Method Details</h3>
149149
&quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The details of a failure or a cancellation.
150150
&quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
151151
&quot;jobId&quot;: &quot;A String&quot;, # Required. The user-specified id of the job.
152+
&quot;jobPosition&quot;: &quot;A String&quot;, # Output only. It&#x27;s only effect when the job is in QUEUED state. If it&#x27;s positive, it indicates the job&#x27;s position in the job scheduler. It&#x27;s 0 when the job is already scheduled.
152153
&quot;labels&quot;: { # Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
153154
&quot;a_key&quot;: &quot;A String&quot;,
154155
},
@@ -369,6 +370,7 @@ <h3>Method Details</h3>
369370
&quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The details of a failure or a cancellation.
370371
&quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
371372
&quot;jobId&quot;: &quot;A String&quot;, # Required. The user-specified id of the job.
373+
&quot;jobPosition&quot;: &quot;A String&quot;, # Output only. It&#x27;s only effect when the job is in QUEUED state. If it&#x27;s positive, it indicates the job&#x27;s position in the job scheduler. It&#x27;s 0 when the job is already scheduled.
372374
&quot;labels&quot;: { # Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
373375
&quot;a_key&quot;: &quot;A String&quot;,
374376
},
@@ -596,6 +598,7 @@ <h3>Method Details</h3>
596598
&quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The details of a failure or a cancellation.
597599
&quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
598600
&quot;jobId&quot;: &quot;A String&quot;, # Required. The user-specified id of the job.
601+
&quot;jobPosition&quot;: &quot;A String&quot;, # Output only. It&#x27;s only effect when the job is in QUEUED state. If it&#x27;s positive, it indicates the job&#x27;s position in the job scheduler. It&#x27;s 0 when the job is already scheduled.
599602
&quot;labels&quot;: { # Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
600603
&quot;a_key&quot;: &quot;A String&quot;,
601604
},
@@ -809,7 +812,7 @@ <h3>Method Details</h3>
809812

810813
Args:
811814
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
812-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
815+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
813816
x__xgafv: string, V1 error format.
814817
Allowed values
815818
1 - v1 error format
@@ -876,6 +879,7 @@ <h3>Method Details</h3>
876879
&quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The details of a failure or a cancellation.
877880
&quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
878881
&quot;jobId&quot;: &quot;A String&quot;, # Required. The user-specified id of the job.
882+
&quot;jobPosition&quot;: &quot;A String&quot;, # Output only. It&#x27;s only effect when the job is in QUEUED state. If it&#x27;s positive, it indicates the job&#x27;s position in the job scheduler. It&#x27;s 0 when the job is already scheduled.
879883
&quot;labels&quot;: { # Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
880884
&quot;a_key&quot;: &quot;A String&quot;,
881885
},
@@ -1115,6 +1119,7 @@ <h3>Method Details</h3>
11151119
&quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The details of a failure or a cancellation.
11161120
&quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
11171121
&quot;jobId&quot;: &quot;A String&quot;, # Required. The user-specified id of the job.
1122+
&quot;jobPosition&quot;: &quot;A String&quot;, # Output only. It&#x27;s only effect when the job is in QUEUED state. If it&#x27;s positive, it indicates the job&#x27;s position in the job scheduler. It&#x27;s 0 when the job is already scheduled.
11181123
&quot;labels&quot;: { # Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
11191124
&quot;a_key&quot;: &quot;A String&quot;,
11201125
},
@@ -1336,6 +1341,7 @@ <h3>Method Details</h3>
13361341
&quot;errorMessage&quot;: &quot;A String&quot;, # Output only. The details of a failure or a cancellation.
13371342
&quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
13381343
&quot;jobId&quot;: &quot;A String&quot;, # Required. The user-specified id of the job.
1344+
&quot;jobPosition&quot;: &quot;A String&quot;, # Output only. It&#x27;s only effect when the job is in QUEUED state. If it&#x27;s positive, it indicates the job&#x27;s position in the job scheduler. It&#x27;s 0 when the job is already scheduled.
13391345
&quot;labels&quot;: { # Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
13401346
&quot;a_key&quot;: &quot;A String&quot;,
13411347
},

docs/dyn/ml_v1.projects.models.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ <h3>Method Details</h3>
474474

475475
Args:
476476
resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
477-
options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
477+
options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
478478
x__xgafv: string, V1 error format.
479479
Allowed values
480480
1 - v1 error format

googleapiclient/discovery_cache/documents/ml.v1.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
],
288288
"parameters": {
289289
"options.requestedPolicyVersion": {
290-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
290+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
291291
"format": "int32",
292292
"location": "query",
293293
"type": "integer"
@@ -1045,7 +1045,7 @@
10451045
],
10461046
"parameters": {
10471047
"options.requestedPolicyVersion": {
1048-
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
1048+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
10491049
"format": "int32",
10501050
"location": "query",
10511051
"type": "integer"
@@ -1486,7 +1486,7 @@
14861486
}
14871487
}
14881488
},
1489-
"revision": "20211022",
1489+
"revision": "20211112",
14901490
"rootUrl": "https://ml.googleapis.com/",
14911491
"schemas": {
14921492
"GoogleApi__HttpBody": {
@@ -2377,6 +2377,12 @@
23772377
"description": "Required. The user-specified id of the job.",
23782378
"type": "string"
23792379
},
2380+
"jobPosition": {
2381+
"description": "Output only. It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.",
2382+
"format": "int64",
2383+
"readOnly": true,
2384+
"type": "string"
2385+
},
23802386
"labels": {
23812387
"additionalProperties": {
23822388
"type": "string"

0 commit comments

Comments
 (0)