Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/grafeas

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/grafeas - npm Package Compare versions

Comparing version 4.5.0 to 5.0.0

106

build/src/v1/grafeas_client.d.ts

@@ -134,5 +134,4 @@ /// <reference types="node" />

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Occurrence | Occurrence}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Occurrence|Occurrence}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -162,5 +161,4 @@ * @example <caption>include:samples/generated/v1/grafeas.get_occurrence.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.protobuf.Empty | Empty}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -190,5 +188,4 @@ * @example <caption>include:samples/generated/v1/grafeas.delete_occurrence.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Occurrence | Occurrence}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Occurrence|Occurrence}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -218,5 +215,4 @@ * @example <caption>include:samples/generated/v1/grafeas.create_occurrence.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.BatchCreateOccurrencesResponse | BatchCreateOccurrencesResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.BatchCreateOccurrencesResponse|BatchCreateOccurrencesResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -248,5 +244,4 @@ * @example <caption>include:samples/generated/v1/grafeas.batch_create_occurrences.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Occurrence | Occurrence}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Occurrence|Occurrence}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -275,5 +270,4 @@ * @example <caption>include:samples/generated/v1/grafeas.update_occurrence.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Note | Note}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Note|Note}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -301,5 +295,4 @@ * @example <caption>include:samples/generated/v1/grafeas.get_occurrence_note.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Note | Note}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Note|Note}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -327,5 +320,4 @@ * @example <caption>include:samples/generated/v1/grafeas.get_note.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.protobuf.Empty | Empty}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -357,5 +349,4 @@ * @example <caption>include:samples/generated/v1/grafeas.delete_note.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Note | Note}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Note|Note}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -385,5 +376,4 @@ * @example <caption>include:samples/generated/v1/grafeas.create_note.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.BatchCreateNotesResponse | BatchCreateNotesResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.BatchCreateNotesResponse|BatchCreateNotesResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -415,5 +405,4 @@ * @example <caption>include:samples/generated/v1/grafeas.batch_create_notes.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link grafeas.v1.Note | Note}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.grafeas.v1.Note|Note}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -448,3 +437,3 @@ * @example <caption>include:samples/generated/v1/grafeas.update_note.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is Array of {@link grafeas.v1.Occurrence | Occurrence}.
* The first element of the array is Array of {@link protos.grafeas.v1.Occurrence|Occurrence}.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -455,4 +444,3 @@ * times as needed and will merge results from all the pages into this array.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -484,3 +472,3 @@ */

* @returns {Stream}
* An object stream which emits an object representing {@link grafeas.v1.Occurrence | Occurrence} on 'data' event.
* An object stream which emits an object representing {@link protos.grafeas.v1.Occurrence|Occurrence} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -490,4 +478,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -515,8 +502,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link grafeas.v1.Occurrence | Occurrence}. The API will be called under the hood as needed, once per the page,
* {@link protos.grafeas.v1.Occurrence|Occurrence}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -545,3 +531,3 @@ * @example <caption>include:samples/generated/v1/grafeas.list_occurrences.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is Array of {@link grafeas.v1.Note | Note}.
* The first element of the array is Array of {@link protos.grafeas.v1.Note|Note}.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -552,4 +538,3 @@ * times as needed and will merge results from all the pages into this array.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -581,3 +566,3 @@ */

* @returns {Stream}
* An object stream which emits an object representing {@link grafeas.v1.Note | Note} on 'data' event.
* An object stream which emits an object representing {@link protos.grafeas.v1.Note|Note} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -587,4 +572,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -612,8 +596,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link grafeas.v1.Note | Note}. The API will be called under the hood as needed, once per the page,
* {@link protos.grafeas.v1.Note|Note}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -643,3 +626,3 @@ * @example <caption>include:samples/generated/v1/grafeas.list_notes.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is Array of {@link grafeas.v1.Occurrence | Occurrence}.
* The first element of the array is Array of {@link protos.grafeas.v1.Occurrence|Occurrence}.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -650,4 +633,3 @@ * times as needed and will merge results from all the pages into this array.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -678,3 +660,3 @@ */

* @returns {Stream}
* An object stream which emits an object representing {@link grafeas.v1.Occurrence | Occurrence} on 'data' event.
* An object stream which emits an object representing {@link protos.grafeas.v1.Occurrence|Occurrence} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -684,4 +666,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -708,8 +689,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link grafeas.v1.Occurrence | Occurrence}. The API will be called under the hood as needed, once per the page,
* {@link protos.grafeas.v1.Occurrence|Occurrence}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -716,0 +696,0 @@ * @example <caption>include:samples/generated/v1/grafeas.list_note_occurrences.js</caption>

@@ -541,3 +541,3 @@ "use strict";

* @returns {Stream}
* An object stream which emits an object representing {@link grafeas.v1.Occurrence | Occurrence} on 'data' event.
* An object stream which emits an object representing {@link protos.grafeas.v1.Occurrence|Occurrence} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -547,4 +547,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -586,8 +585,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link grafeas.v1.Occurrence | Occurrence}. The API will be called under the hood as needed, once per the page,
* {@link protos.grafeas.v1.Occurrence|Occurrence}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -650,3 +648,3 @@ * @example <caption>include:samples/generated/v1/grafeas.list_occurrences.js</caption>

* @returns {Stream}
* An object stream which emits an object representing {@link grafeas.v1.Note | Note} on 'data' event.
* An object stream which emits an object representing {@link protos.grafeas.v1.Note|Note} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -656,4 +654,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -695,8 +692,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link grafeas.v1.Note | Note}. The API will be called under the hood as needed, once per the page,
* {@link protos.grafeas.v1.Note|Note}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -758,3 +754,3 @@ * @example <caption>include:samples/generated/v1/grafeas.list_notes.js</caption>

* @returns {Stream}
* An object stream which emits an object representing {@link grafeas.v1.Occurrence | Occurrence} on 'data' event.
* An object stream which emits an object representing {@link protos.grafeas.v1.Occurrence|Occurrence} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -764,4 +760,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -802,8 +797,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link grafeas.v1.Occurrence | Occurrence}. The API will be called under the hood as needed, once per the page,
* {@link protos.grafeas.v1.Occurrence|Occurrence}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -810,0 +804,0 @@ * @example <caption>include:samples/generated/v1/grafeas.list_note_occurrences.js</caption>

@@ -7,2 +7,18 @@ # Changelog

## [5.0.0](https://github.com/googleapis/google-cloud-node/compare/grafeas-v4.5.0...grafeas-v5.0.0) (2023-08-06)
### ⚠ BREAKING CHANGES
* migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443))
### Bug Fixes
* [Many APIs] fix typings for IAM methods ([#4466](https://github.com/googleapis/google-cloud-node/issues/4466)) ([fa1520c](https://github.com/googleapis/google-cloud-node/commit/fa1520c3eb526efd3523d9cea349ed31683d5889))
### Miscellaneous Chores
* Migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443)) ([2260f12](https://github.com/googleapis/google-cloud-node/commit/2260f12543d171bda95345e53475f5f0fdc45770))
## [4.5.0](https://github.com/googleapis/google-cloud-node/compare/grafeas-v4.4.1...grafeas-v4.5.0) (2023-04-24)

@@ -9,0 +25,0 @@

@@ -8,3 +8,3 @@ {

"name": "@google-cloud/grafeas",
"version": "4.5.0",
"version": "5.0.0",
"author": "Google LLC",

@@ -32,45 +32,42 @@ "description": "Grafeas API client for Node.js",

"dependencies": {
"google-gax": "^3.5.8"
"google-gax": "^4.0.3"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"@types/node": "^20.4.5",
"@types/sinon": "^10.0.0",
"c8": "^7.0.0",
"gts": "^3.1.0",
"c8": "^8.0.1",
"gapic-tools": "^0.1.8",
"gts": "^5.0.0",
"jsdoc": "^4.0.0",
"jsdoc-fresh": "^2.0.0",
"jsdoc-region-tag": "^2.0.0",
"linkinator": "^4.0.0",
"linkinator": "4.1.2",
"long": "^5.2.3",
"mocha": "^9.2.2",
"null-loader": "^4.0.0",
"pack-n-play": "^1.0.0-2",
"sinon": "^15.0.0",
"ts-loader": "^9.0.0",
"typescript": "^4.6.4",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0"
"typescript": "^5.1.6"
},
"scripts": {
"test": "c8 mocha build/test",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"system-test": "npm run compile && c8 mocha build/system-test",
"presystem-test": "npm run compile",
"clean": "gts clean",
"compile": "tsc -p . && cp -r protos build/",
"compile-protos": "compileProtos src",
"docs": "jsdoc -c .jsdoc.js",
"lint": "gts check",
"fix": "gts fix",
"predocs-test": "npm run docs",
"docs-test": "linkinator docs",
"clean": "gts clean",
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
"compile-protos": "compileProtos src",
"prepare": "npm run compile",
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean"
"fix": "gts fix",
"lint": "gts check",
"prepare": "npm run compile-protos && npm run compile",
"prelint": "cd samples; npm link ../; npm i",
"postpack": "minifyProtoJson",
"samples-test": "cd samples/ && npm link ../ && npm i && npm test",
"system-test": "c8 mocha build/system-test",
"test": "c8 mocha build/test"
},
"license": "Apache-2.0",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/grafeas"
}

@@ -5,3 +5,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

# [Grafeas: Node.js Client](https://github.com/googleapis/google-cloud-node)
# [Grafeas: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/grafeas)

@@ -88,22 +88,21 @@ [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)

Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/grafeas/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Grafeas.batch_create_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.batch_create_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.batch_create_notes.js,samples/README.md) |
| Grafeas.batch_create_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.batch_create_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.batch_create_occurrences.js,samples/README.md) |
| Grafeas.create_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.create_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.create_note.js,samples/README.md) |
| Grafeas.create_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.create_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.create_occurrence.js,samples/README.md) |
| Grafeas.delete_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.delete_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.delete_note.js,samples/README.md) |
| Grafeas.delete_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.delete_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.delete_occurrence.js,samples/README.md) |
| Grafeas.get_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.get_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.get_note.js,samples/README.md) |
| Grafeas.get_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.get_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.get_occurrence.js,samples/README.md) |
| Grafeas.get_occurrence_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.get_occurrence_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.get_occurrence_note.js,samples/README.md) |
| Grafeas.list_note_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.list_note_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.list_note_occurrences.js,samples/README.md) |
| Grafeas.list_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.list_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.list_notes.js,samples/README.md) |
| Grafeas.list_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.list_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.list_occurrences.js,samples/README.md) |
| Grafeas.update_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.update_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.update_note.js,samples/README.md) |
| Grafeas.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.update_occurrence.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/quickstart.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/test/quickstart.js,samples/README.md) |
| Grafeas.batch_create_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.batch_create_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.batch_create_notes.js,packages/grafeas/samples/README.md) |
| Grafeas.batch_create_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.batch_create_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.batch_create_occurrences.js,packages/grafeas/samples/README.md) |
| Grafeas.create_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.create_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.create_note.js,packages/grafeas/samples/README.md) |
| Grafeas.create_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.create_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.create_occurrence.js,packages/grafeas/samples/README.md) |
| Grafeas.delete_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.delete_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.delete_note.js,packages/grafeas/samples/README.md) |
| Grafeas.delete_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.delete_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.delete_occurrence.js,packages/grafeas/samples/README.md) |
| Grafeas.get_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.get_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.get_note.js,packages/grafeas/samples/README.md) |
| Grafeas.get_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.get_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.get_occurrence.js,packages/grafeas/samples/README.md) |
| Grafeas.get_occurrence_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.get_occurrence_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.get_occurrence_note.js,packages/grafeas/samples/README.md) |
| Grafeas.list_note_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.list_note_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.list_note_occurrences.js,packages/grafeas/samples/README.md) |
| Grafeas.list_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.list_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.list_notes.js,packages/grafeas/samples/README.md) |
| Grafeas.list_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.list_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.list_occurrences.js,packages/grafeas/samples/README.md) |
| Grafeas.update_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.update_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.update_note.js,packages/grafeas/samples/README.md) |
| Grafeas.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/generated/v1/grafeas.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/generated/v1/grafeas.update_occurrence.js,packages/grafeas/samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/grafeas/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/grafeas/samples/quickstart.js,packages/grafeas/samples/README.md) |

@@ -110,0 +109,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc