Skip to content

Commit

Permalink
feat: add vizier service to aiplatform v1 (#205)
Browse files Browse the repository at this point in the history
Committer: @dizcology
PiperOrigin-RevId: 399538263
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <[email protected]>
  • Loading branch information
3 people authored Oct 5, 2021
1 parent 89e53a3 commit 7202cb9
Show file tree
Hide file tree
Showing 332 changed files with 18,432 additions and 2,397 deletions.

Large diffs are not rendered by default.

2,445 changes: 2,445 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.d.ts

Large diffs are not rendered by default.

5,267 changes: 5,267 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.js

Large diffs are not rendered by default.

657 changes: 656 additions & 1 deletion packages/google-cloud-aiplatform/protos/protos.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent, dataset) {
// [START aiplatform_create_dataset_sample]
// [START aiplatform_v1_generated_DatasetService_CreateDataset_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -49,7 +49,7 @@ function main(parent, dataset) {
}

createDataset();
// [END aiplatform_create_dataset_sample]
// [END aiplatform_v1_generated_DatasetService_CreateDataset_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_delete_dataset_sample]
// [START aiplatform_v1_generated_DatasetService_DeleteDataset_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -45,7 +45,7 @@ function main(name) {
}

deleteDataset();
// [END aiplatform_delete_dataset_sample]
// [END aiplatform_v1_generated_DatasetService_DeleteDataset_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name, exportConfig) {
// [START aiplatform_export_data_sample]
// [START aiplatform_v1_generated_DatasetService_ExportData_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ function main(name, exportConfig) {
}

exportData();
// [END aiplatform_export_data_sample]
// [END aiplatform_v1_generated_DatasetService_ExportData_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_get_annotation_spec_sample]
// [START aiplatform_v1_generated_DatasetService_GetAnnotationSpec_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -48,7 +48,7 @@ function main(name) {
}

getAnnotationSpec();
// [END aiplatform_get_annotation_spec_sample]
// [END aiplatform_v1_generated_DatasetService_GetAnnotationSpec_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_get_dataset_sample]
// [START aiplatform_v1_generated_DatasetService_GetDataset_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -46,7 +46,7 @@ function main(name) {
}

getDataset();
// [END aiplatform_get_dataset_sample]
// [END aiplatform_v1_generated_DatasetService_GetDataset_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name, importConfigs) {
// [START aiplatform_import_data_sample]
// [START aiplatform_v1_generated_DatasetService_ImportData_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -51,7 +51,7 @@ function main(name, importConfigs) {
}

importData();
// [END aiplatform_import_data_sample]
// [END aiplatform_v1_generated_DatasetService_ImportData_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent) {
// [START aiplatform_list_annotations_sample]
// [START aiplatform_v1_generated_DatasetService_ListAnnotations_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -67,7 +67,7 @@ function main(parent) {
}

listAnnotations();
// [END aiplatform_list_annotations_sample]
// [END aiplatform_v1_generated_DatasetService_ListAnnotations_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent) {
// [START aiplatform_list_data_items_sample]
// [START aiplatform_v1_generated_DatasetService_ListDataItems_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -67,7 +67,7 @@ function main(parent) {
}

listDataItems();
// [END aiplatform_list_data_items_sample]
// [END aiplatform_v1_generated_DatasetService_ListDataItems_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent) {
// [START aiplatform_list_datasets_sample]
// [START aiplatform_v1_generated_DatasetService_ListDatasets_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -80,7 +80,7 @@ function main(parent) {
}

listDatasets();
// [END aiplatform_list_datasets_sample]
// [END aiplatform_v1_generated_DatasetService_ListDatasets_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(dataset, updateMask) {
// [START aiplatform_update_dataset_sample]
// [START aiplatform_v1_generated_DatasetService_UpdateDataset_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -52,7 +52,7 @@ function main(dataset, updateMask) {
}

updateDataset();
// [END aiplatform_update_dataset_sample]
// [END aiplatform_v1_generated_DatasetService_UpdateDataset_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent, endpoint) {
// [START aiplatform_create_endpoint_sample]
// [START aiplatform_v1_generated_EndpointService_CreateEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -49,7 +49,7 @@ function main(parent, endpoint) {
}

createEndpoint();
// [END aiplatform_create_endpoint_sample]
// [END aiplatform_v1_generated_EndpointService_CreateEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_delete_endpoint_sample]
// [START aiplatform_v1_generated_EndpointService_DeleteEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -45,7 +45,7 @@ function main(name) {
}

deleteEndpoint();
// [END aiplatform_delete_endpoint_sample]
// [END aiplatform_v1_generated_EndpointService_DeleteEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(endpoint, deployedModel) {
// [START aiplatform_deploy_model_sample]
// [START aiplatform_v1_generated_EndpointService_DeployModel_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -65,7 +65,7 @@ function main(endpoint, deployedModel) {
}

deployModel();
// [END aiplatform_deploy_model_sample]
// [END aiplatform_v1_generated_EndpointService_DeployModel_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_get_endpoint_sample]
// [START aiplatform_v1_generated_EndpointService_GetEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -44,7 +44,7 @@ function main(name) {
}

getEndpoint();
// [END aiplatform_get_endpoint_sample]
// [END aiplatform_v1_generated_EndpointService_GetEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent) {
// [START aiplatform_list_endpoints_sample]
// [START aiplatform_v1_generated_EndpointService_ListEndpoints_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -86,7 +86,7 @@ function main(parent) {
}

listEndpoints();
// [END aiplatform_list_endpoints_sample]
// [END aiplatform_v1_generated_EndpointService_ListEndpoints_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(endpoint, deployedModelId) {
// [START aiplatform_undeploy_model_sample]
// [START aiplatform_v1_generated_EndpointService_UndeployModel_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -60,7 +60,7 @@ function main(endpoint, deployedModelId) {
}

undeployModel();
// [END aiplatform_undeploy_model_sample]
// [END aiplatform_v1_generated_EndpointService_UndeployModel_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(endpoint, updateMask) {
// [START aiplatform_update_endpoint_sample]
// [START aiplatform_v1_generated_EndpointService_UpdateEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -47,7 +47,7 @@ function main(endpoint, updateMask) {
}

updateEndpoint();
// [END aiplatform_update_endpoint_sample]
// [END aiplatform_v1_generated_EndpointService_UpdateEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent, indexEndpoint) {
// [START aiplatform_create_index_endpoint_sample]
// [START aiplatform_v1_generated_IndexEndpointService_CreateIndexEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -49,7 +49,7 @@ function main(parent, indexEndpoint) {
}

createIndexEndpoint();
// [END aiplatform_create_index_endpoint_sample]
// [END aiplatform_v1_generated_IndexEndpointService_CreateIndexEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_delete_index_endpoint_sample]
// [START aiplatform_v1_generated_IndexEndpointService_DeleteIndexEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -45,7 +45,7 @@ function main(name) {
}

deleteIndexEndpoint();
// [END aiplatform_delete_index_endpoint_sample]
// [END aiplatform_v1_generated_IndexEndpointService_DeleteIndexEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(indexEndpoint, deployedIndex) {
// [START aiplatform_deploy_index_sample]
// [START aiplatform_v1_generated_IndexEndpointService_DeployIndex_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ function main(indexEndpoint, deployedIndex) {
}

deployIndex();
// [END aiplatform_deploy_index_sample]
// [END aiplatform_v1_generated_IndexEndpointService_DeployIndex_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(name) {
// [START aiplatform_get_index_endpoint_sample]
// [START aiplatform_v1_generated_IndexEndpointService_GetIndexEndpoint_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -44,7 +44,7 @@ function main(name) {
}

getIndexEndpoint();
// [END aiplatform_get_index_endpoint_sample]
// [END aiplatform_v1_generated_IndexEndpointService_GetIndexEndpoint_async]
}

process.on('unhandledRejection', err => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'use strict';

function main(parent) {
// [START aiplatform_list_index_endpoints_sample]
// [START aiplatform_v1_generated_IndexEndpointService_ListIndexEndpoints_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
Expand Down Expand Up @@ -79,7 +79,7 @@ function main(parent) {
}

listIndexEndpoints();
// [END aiplatform_list_index_endpoints_sample]
// [END aiplatform_v1_generated_IndexEndpointService_ListIndexEndpoints_async]
}

process.on('unhandledRejection', err => {
Expand Down
Loading

0 comments on commit 7202cb9

Please sign in to comment.