Skip to content

Commit

Permalink
feat(ml): update the api
Browse files Browse the repository at this point in the history
#### ml:v1

The following keys were added:
- schemas.GoogleCloudMlV1__HyperparameterOutput.properties.webAccessUris (Total Keys: 2)
- schemas.GoogleCloudMlV1__TrainingInput.properties.enableWebAccess.type (Total Keys: 1)
- schemas.GoogleCloudMlV1__TrainingOutput.properties.webAccessUris (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Jun 29, 2021
1 parent 9fd5ffb commit cf54d56
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
42 changes: 42 additions & 0 deletions docs/dyn/ml_v1.projects.jobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ <h3>Method Details</h3>
&quot;args&quot;: [ # Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container&#x27;s `ENTRYPOINT` command.
&quot;A String&quot;,
],
&quot;enableWebAccess&quot;: True or False, # Optional. Whether to enable web access for the training job.
&quot;encryptionConfig&quot;: { # Represents a custom encryption key configuration that can be applied to a resource. # Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google&#x27;s default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek).
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
},
Expand Down Expand Up @@ -342,8 +343,14 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the trial.
&quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the trial.
&quot;trialId&quot;: &quot;A String&quot;, # The trial id for these results.
&quot;webAccessUris&quot;: { # The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
],
&quot;webAccessUris&quot;: { # Output only. The web URIs for the training job. Currently for debug terminal access to the job.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
}

Expand Down Expand Up @@ -392,6 +399,7 @@ <h3>Method Details</h3>
&quot;args&quot;: [ # Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container&#x27;s `ENTRYPOINT` command.
&quot;A String&quot;,
],
&quot;enableWebAccess&quot;: True or False, # Optional. Whether to enable web access for the training job.
&quot;encryptionConfig&quot;: { # Represents a custom encryption key configuration that can be applied to a resource. # Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google&#x27;s default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek).
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
},
Expand Down Expand Up @@ -554,8 +562,14 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the trial.
&quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the trial.
&quot;trialId&quot;: &quot;A String&quot;, # The trial id for these results.
&quot;webAccessUris&quot;: { # The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
],
&quot;webAccessUris&quot;: { # Output only. The web URIs for the training job. Currently for debug terminal access to the job.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
}</pre>
</div>
Expand Down Expand Up @@ -611,6 +625,7 @@ <h3>Method Details</h3>
&quot;args&quot;: [ # Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container&#x27;s `ENTRYPOINT` command.
&quot;A String&quot;,
],
&quot;enableWebAccess&quot;: True or False, # Optional. Whether to enable web access for the training job.
&quot;encryptionConfig&quot;: { # Represents a custom encryption key configuration that can be applied to a resource. # Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google&#x27;s default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek).
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
},
Expand Down Expand Up @@ -773,8 +788,14 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the trial.
&quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the trial.
&quot;trialId&quot;: &quot;A String&quot;, # The trial id for these results.
&quot;webAccessUris&quot;: { # The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
],
&quot;webAccessUris&quot;: { # Output only. The web URIs for the training job. Currently for debug terminal access to the job.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
}</pre>
</div>
Expand Down Expand Up @@ -883,6 +904,7 @@ <h3>Method Details</h3>
&quot;args&quot;: [ # Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container&#x27;s `ENTRYPOINT` command.
&quot;A String&quot;,
],
&quot;enableWebAccess&quot;: True or False, # Optional. Whether to enable web access for the training job.
&quot;encryptionConfig&quot;: { # Represents a custom encryption key configuration that can be applied to a resource. # Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google&#x27;s default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek).
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
},
Expand Down Expand Up @@ -1045,8 +1067,14 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the trial.
&quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the trial.
&quot;trialId&quot;: &quot;A String&quot;, # The trial id for these results.
&quot;webAccessUris&quot;: { # The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
],
&quot;webAccessUris&quot;: { # Output only. The web URIs for the training job. Currently for debug terminal access to the job.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
},
],
Expand Down Expand Up @@ -1114,6 +1142,7 @@ <h3>Method Details</h3>
&quot;args&quot;: [ # Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container&#x27;s `ENTRYPOINT` command.
&quot;A String&quot;,
],
&quot;enableWebAccess&quot;: True or False, # Optional. Whether to enable web access for the training job.
&quot;encryptionConfig&quot;: { # Represents a custom encryption key configuration that can be applied to a resource. # Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google&#x27;s default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek).
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
},
Expand Down Expand Up @@ -1276,8 +1305,14 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the trial.
&quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the trial.
&quot;trialId&quot;: &quot;A String&quot;, # The trial id for these results.
&quot;webAccessUris&quot;: { # The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
],
&quot;webAccessUris&quot;: { # Output only. The web URIs for the training job. Currently for debug terminal access to the job.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
}

Expand Down Expand Up @@ -1327,6 +1362,7 @@ <h3>Method Details</h3>
&quot;args&quot;: [ # Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container&#x27;s `ENTRYPOINT` command.
&quot;A String&quot;,
],
&quot;enableWebAccess&quot;: True or False, # Optional. Whether to enable web access for the training job.
&quot;encryptionConfig&quot;: { # Represents a custom encryption key configuration that can be applied to a resource. # Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google&#x27;s default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek).
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
},
Expand Down Expand Up @@ -1489,8 +1525,14 @@ <h3>Method Details</h3>
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time for the trial.
&quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the trial.
&quot;trialId&quot;: &quot;A String&quot;, # The trial id for these results.
&quot;webAccessUris&quot;: { # The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
],
&quot;webAccessUris&quot;: { # Output only. The web URIs for the training job. Currently for debug terminal access to the job.
&quot;a_key&quot;: &quot;A String&quot;,
},
},
}</pre>
</div>
Expand Down
21 changes: 20 additions & 1 deletion googleapiclient/discovery_cache/documents/ml.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@
}
}
},
"revision": "20210601",
"revision": "20210611",
"rootUrl": "https://ml.googleapis.com/",
"schemas": {
"GoogleApi__HttpBody": {
Expand Down Expand Up @@ -2250,6 +2250,13 @@
"trialId": {
"description": "The trial id for these results.",
"type": "string"
},
"webAccessUris": {
"additionalProperties": {
"type": "string"
},
"description": "The web URIs for the training job. Currently for debug terminal access to the job. Only set for in-progress hyperparameter tuning trials with web access enabled.",
"type": "object"
}
},
"type": "object"
Expand Down Expand Up @@ -3211,6 +3218,10 @@
},
"type": "array"
},
"enableWebAccess": {
"description": "Optional. Whether to enable web access for the training job.",
"type": "boolean"
},
"encryptionConfig": {
"$ref": "GoogleCloudMlV1__EncryptionConfig",
"description": "Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek)."
Expand Down Expand Up @@ -3368,6 +3379,14 @@
"$ref": "GoogleCloudMlV1__HyperparameterOutput"
},
"type": "array"
},
"webAccessUris": {
"additionalProperties": {
"type": "string"
},
"description": "Output only. The web URIs for the training job. Currently for debug terminal access to the job.",
"readOnly": true,
"type": "object"
}
},
"type": "object"
Expand Down

0 comments on commit cf54d56

Please sign in to comment.