Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 90dcec7

Browse files
suryaguthikondagcf-owl-bot[bot]junkourata
authored
feat(samples): add feature apis samples (#340)
* added create-featurestore-sample.js and create-featurestore-sample.test.js * feat(samples): added createFeaturestore sample (#313) * feat(samples): added remaining featurestore samples (#313) * removed the extraneous files * feat(samples): add feature apis samples (#313) * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat(samples): updated feature-samples.test.js (#313) * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: junkourata <102059808+junkourata@users.noreply.github.com>
1 parent 5bb18f3 commit 90dcec7

14 files changed

+1432
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Large diffs are not rendered by default.

samples/README.md

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ machine learning development lifecycle.
1515

1616
* [Before you begin](#before-you-begin)
1717
* [Samples](#samples)
18+
* [Batch-create-features-sample](#batch-create-features-sample)
1819
* [Cancel-batch-prediction-job](#cancel-batch-prediction-job)
1920
* [Cancel-custom-job](#cancel-custom-job)
2021
* [Create-batch-prediction-job-text-classification](#create-batch-prediction-job-text-classification)
@@ -33,6 +34,7 @@ machine learning development lifecycle.
3334
* [Create-endpoint](#create-endpoint)
3435
* [Create-entity-type-monitoring-sample](#create-entity-type-monitoring-sample)
3536
* [Create-entity-type-sample](#create-entity-type-sample)
37+
* [Create-feature-sample](#create-feature-sample)
3638
* [Create-featurestore-fixed-nodes-sample](#create-featurestore-fixed-nodes-sample)
3739
* [Create-featurestore-sample](#create-featurestore-sample)
3840
* [Create-hyperparameter-tuning-job](#create-hyperparameter-tuning-job)
@@ -52,6 +54,7 @@ machine learning development lifecycle.
5254
* [Delete-endpoint](#delete-endpoint)
5355
* [Delete-entity-type-sample](#delete-entity-type-sample)
5456
* [Delete-export-model](#delete-export-model)
57+
* [Delete-feature-sample](#delete-feature-sample)
5558
* [Delete-featurestore-sample](#delete-featurestore-sample)
5659
* [Delete-model](#delete-model)
5760
* [Deploy-model-custom-trained-model](#deploy-model-custom-trained-model)
@@ -61,6 +64,7 @@ machine learning development lifecycle.
6164
* [Get-batch-prediction-job](#get-batch-prediction-job)
6265
* [Get-custom-job](#get-custom-job)
6366
* [Get-entity-type-sample](#get-entity-type-sample)
67+
* [Get-feature-sample](#get-feature-sample)
6468
* [Get-featurestore-sample](#get-featurestore-sample)
6569
* [Get-hyperparameter-tuning-job](#get-hyperparameter-tuning-job)
6670
* [Get-model-evaluation-image-classification](#get-model-evaluation-image-classification)
@@ -90,6 +94,9 @@ machine learning development lifecycle.
9094
* [List-entity-types-async-sample](#list-entity-types-async-sample)
9195
* [List-entity-types-sample](#list-entity-types-sample)
9296
* [List-entity-types-stream-sample](#list-entity-types-stream-sample)
97+
* [List-features-async-sample](#list-features-async-sample)
98+
* [List-features-sample](#list-features-sample)
99+
* [List-features-stream-sample](#list-features-stream-sample)
93100
* [List-featurestores-async-sample](#list-featurestores-async-sample)
94101
* [List-featurestores-sample](#list-featurestores-sample)
95102
* [List-featurestores-stream-sample](#list-featurestores-stream-sample)
@@ -103,9 +110,13 @@ machine learning development lifecycle.
103110
* [Predict-text-entity-extraction](#predict-text-entity-extraction)
104111
* [Predict-text-sentiment-analysis](#predict-text-sentiment-analysis)
105112
* [Quickstart](#quickstart)
113+
* [Search-features-async-sample](#search-features-async-sample)
114+
* [Search-features-sample](#search-features-sample)
115+
* [Search-features-stream-sample](#search-features-stream-sample)
106116
* [Undeploy-model](#undeploy-model)
107117
* [Update-entity-type-monitoring-sample](#update-entity-type-monitoring-sample)
108118
* [Update-entity-type-sample](#update-entity-type-sample)
119+
* [Update-feature-sample](#update-feature-sample)
109120
* [Update-featurestore-fixed-nodes-sample](#update-featurestore-fixed-nodes-sample)
110121
* [Update-featurestore-sample](#update-featurestore-sample)
111122
* [Upload-model](#upload-model)
@@ -125,6 +136,23 @@ Before running the samples, make sure you've followed the steps outlined in
125136

126137

127138

139+
### Batch-create-features-sample
140+
141+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/batch-create-features-sample.js).
142+
143+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/batch-create-features-sample.js,samples/README.md)
144+
145+
__Usage:__
146+
147+
148+
`node samples/batch-create-features-sample.js`
149+
150+
151+
-----
152+
153+
154+
155+
128156
### Cancel-batch-prediction-job
129157

130158
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/cancel-batch-prediction-job.js).
@@ -431,6 +459,23 @@ __Usage:__
431459

432460

433461

462+
### Create-feature-sample
463+
464+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/create-feature-sample.js).
465+
466+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/create-feature-sample.js,samples/README.md)
467+
468+
__Usage:__
469+
470+
471+
`node samples/create-feature-sample.js`
472+
473+
474+
-----
475+
476+
477+
478+
434479
### Create-featurestore-fixed-nodes-sample
435480

436481
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/create-featurestore-fixed-nodes-sample.js).
@@ -754,6 +799,23 @@ __Usage:__
754799

755800

756801

802+
### Delete-feature-sample
803+
804+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/delete-feature-sample.js).
805+
806+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/delete-feature-sample.js,samples/README.md)
807+
808+
__Usage:__
809+
810+
811+
`node samples/delete-feature-sample.js`
812+
813+
814+
-----
815+
816+
817+
818+
757819
### Delete-featurestore-sample
758820

759821
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/delete-featurestore-sample.js).
@@ -907,6 +969,23 @@ __Usage:__
907969

908970

909971

972+
### Get-feature-sample
973+
974+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/get-feature-sample.js).
975+
976+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/get-feature-sample.js,samples/README.md)
977+
978+
__Usage:__
979+
980+
981+
`node samples/get-feature-sample.js`
982+
983+
984+
-----
985+
986+
987+
988+
910989
### Get-featurestore-sample
911990

912991
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/get-featurestore-sample.js).
@@ -1400,6 +1479,57 @@ __Usage:__
14001479

14011480

14021481

1482+
### List-features-async-sample
1483+
1484+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/list-features-async-sample.js).
1485+
1486+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/list-features-async-sample.js,samples/README.md)
1487+
1488+
__Usage:__
1489+
1490+
1491+
`node samples/list-features-async-sample.js`
1492+
1493+
1494+
-----
1495+
1496+
1497+
1498+
1499+
### List-features-sample
1500+
1501+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/list-features-sample.js).
1502+
1503+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/list-features-sample.js,samples/README.md)
1504+
1505+
__Usage:__
1506+
1507+
1508+
`node samples/list-features-sample.js`
1509+
1510+
1511+
-----
1512+
1513+
1514+
1515+
1516+
### List-features-stream-sample
1517+
1518+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/list-features-stream-sample.js).
1519+
1520+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/list-features-stream-sample.js,samples/README.md)
1521+
1522+
__Usage:__
1523+
1524+
1525+
`node samples/list-features-stream-sample.js`
1526+
1527+
1528+
-----
1529+
1530+
1531+
1532+
14031533
### List-featurestores-async-sample
14041534

14051535
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/list-featurestores-async-sample.js).
@@ -1621,6 +1751,57 @@ __Usage:__
16211751

16221752

16231753

1754+
### Search-features-async-sample
1755+
1756+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/search-features-async-sample.js).
1757+
1758+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/search-features-async-sample.js,samples/README.md)
1759+
1760+
__Usage:__
1761+
1762+
1763+
`node samples/search-features-async-sample.js`
1764+
1765+
1766+
-----
1767+
1768+
1769+
1770+
1771+
### Search-features-sample
1772+
1773+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/search-features-sample.js).
1774+
1775+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/search-features-sample.js,samples/README.md)
1776+
1777+
__Usage:__
1778+
1779+
1780+
`node samples/search-features-sample.js`
1781+
1782+
1783+
-----
1784+
1785+
1786+
1787+
1788+
### Search-features-stream-sample
1789+
1790+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/search-features-stream-sample.js).
1791+
1792+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/search-features-stream-sample.js,samples/README.md)
1793+
1794+
__Usage:__
1795+
1796+
1797+
`node samples/search-features-stream-sample.js`
1798+
1799+
1800+
-----
1801+
1802+
1803+
1804+
16241805
### Undeploy-model
16251806

16261807
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/undeploy-model.js).
@@ -1672,6 +1853,23 @@ __Usage:__
16721853

16731854

16741855

1856+
### Update-feature-sample
1857+
1858+
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/update-feature-sample.js).
1859+
1860+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-ai-platform&page=editor&open_in_editor=samples/update-feature-sample.js,samples/README.md)
1861+
1862+
__Usage:__
1863+
1864+
1865+
`node samples/update-feature-sample.js`
1866+
1867+
1868+
-----
1869+
1870+
1871+
1872+
16751873
### Update-featurestore-fixed-nodes-sample
16761874

16771875
View the [source code](https://github.com/googleapis/nodejs-ai-platform/blob/main/samples/update-featurestore-fixed-nodes-sample.js).

0 commit comments

Comments
 (0)