New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/binary-authorization

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/binary-authorization - npm Package Compare versions

Comparing version 2.5.0 to 3.0.0

115

build/src/v1/binauthz_management_service_v1_client.d.ts

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

*
* * {@link google.cloud.binaryauthorization.v1.Policy|Policy}
* * {@link google.cloud.binaryauthorization.v1.Attestor|Attestor}
* * {@link protos.google.cloud.binaryauthorization.v1.Policy|Policy}
* * {@link protos.google.cloud.binaryauthorization.v1.Attestor|Attestor}
* @class

@@ -118,3 +118,3 @@ * @memberof v1

/**
* A {@link google.cloud.binaryauthorization.v1.Policy|policy} specifies the {@link google.cloud.binaryauthorization.v1.Attestor|attestors} that must attest to
* A {@link protos.google.cloud.binaryauthorization.v1.Policy|policy} specifies the {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors} that must attest to
* a container image, before the project is allowed to deploy that

@@ -124,4 +124,4 @@ * image. There is at most one policy per project. All image admission

*
* Gets the {@link google.cloud.binaryauthorization.v1.Policy|policy} for this project. Returns a default
* {@link google.cloud.binaryauthorization.v1.Policy|policy} if the project does not have one.
* Gets the {@link protos.google.cloud.binaryauthorization.v1.Policy|policy} for this project. Returns a default
* {@link protos.google.cloud.binaryauthorization.v1.Policy|policy} if the project does not have one.
*

@@ -131,3 +131,3 @@ * @param {Object} request

* @param {string} request.name
* Required. The resource name of the {@link google.cloud.binaryauthorization.v1.Policy|policy} to retrieve,
* Required. The resource name of the {@link protos.google.cloud.binaryauthorization.v1.Policy|policy} to retrieve,
* in the format `projects/* /policy`.

@@ -137,5 +137,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.Policy | Policy}.
* 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.cloud.binaryauthorization.v1.Policy|Policy}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -153,4 +152,4 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.get_policy.js</caption>

/**
* Creates or updates a project's {@link google.cloud.binaryauthorization.v1.Policy|policy}, and returns a copy of the
* new {@link google.cloud.binaryauthorization.v1.Policy|policy}. A policy is always updated as a whole, to avoid race
* Creates or updates a project's {@link protos.google.cloud.binaryauthorization.v1.Policy|policy}, and returns a copy of the
* new {@link protos.google.cloud.binaryauthorization.v1.Policy|policy}. A policy is always updated as a whole, to avoid race
* conditions with concurrent policy enforcement (or management!)

@@ -163,4 +162,4 @@ * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT

* @param {google.cloud.binaryauthorization.v1.Policy} request.policy
* Required. A new or updated {@link google.cloud.binaryauthorization.v1.Policy|policy} value. The service will
* overwrite the {@link google.cloud.binaryauthorization.v1.Policy.name|policy name} field with the resource name in
* Required. A new or updated {@link protos.google.cloud.binaryauthorization.v1.Policy|policy} value. The service will
* overwrite the {@link protos.google.cloud.binaryauthorization.v1.Policy.name|policy name} field with the resource name in
* the request URL, in the format `projects/* /policy`.

@@ -170,5 +169,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.Policy | Policy}.
* 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.cloud.binaryauthorization.v1.Policy|Policy}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -186,6 +184,6 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.update_policy.js</caption>

/**
* Creates an {@link google.cloud.binaryauthorization.v1.Attestor|attestor}, and returns a copy of the new
* {@link google.cloud.binaryauthorization.v1.Attestor|attestor}. Returns NOT_FOUND if the project does not exist,
* Creates an {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor}, and returns a copy of the new
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor}. Returns NOT_FOUND if the project does not exist,
* INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestor} already exists.
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} already exists.
*

@@ -195,8 +193,8 @@ * @param {Object} request

* @param {string} request.parent
* Required. The parent of this {@link google.cloud.binaryauthorization.v1.Attestor|attestor}.
* Required. The parent of this {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor}.
* @param {string} request.attestorId
* Required. The {@link google.cloud.binaryauthorization.v1.Attestor|attestors} ID.
* Required. The {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors} ID.
* @param {google.cloud.binaryauthorization.v1.Attestor} request.attestor
* Required. The initial {@link google.cloud.binaryauthorization.v1.Attestor|attestor} value. The service will
* overwrite the {@link google.cloud.binaryauthorization.v1.Attestor.name|attestor name} field with the resource name,
* Required. The initial {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} value. The service will
* overwrite the {@link protos.google.cloud.binaryauthorization.v1.Attestor.name|attestor name} field with the resource name,
* in the format `projects/* /attestors/*`.

@@ -206,5 +204,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.Attestor | Attestor}.
* 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.cloud.binaryauthorization.v1.Attestor|Attestor}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -222,4 +219,4 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.create_attestor.js</caption>

/**
* Gets an {@link google.cloud.binaryauthorization.v1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link google.cloud.binaryauthorization.v1.Attestor|attestor} does not exist.
* Gets an {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} does not exist.
*

@@ -229,3 +226,3 @@ * @param {Object} request

* @param {string} request.name
* Required. The name of the {@link google.cloud.binaryauthorization.v1.Attestor|attestor} to retrieve, in the format
* Required. The name of the {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} to retrieve, in the format
* `projects/* /attestors/*`.

@@ -235,5 +232,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.Attestor | Attestor}.
* 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.cloud.binaryauthorization.v1.Attestor|Attestor}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -251,4 +247,4 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.get_attestor.js</caption>

/**
* Updates an {@link google.cloud.binaryauthorization.v1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link google.cloud.binaryauthorization.v1.Attestor|attestor} does not exist.
* Updates an {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} does not exist.
*

@@ -258,4 +254,4 @@ * @param {Object} request

* @param {google.cloud.binaryauthorization.v1.Attestor} request.attestor
* Required. The updated {@link google.cloud.binaryauthorization.v1.Attestor|attestor} value. The service will
* overwrite the {@link google.cloud.binaryauthorization.v1.Attestor.name|attestor name} field with the resource name
* Required. The updated {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} value. The service will
* overwrite the {@link protos.google.cloud.binaryauthorization.v1.Attestor.name|attestor name} field with the resource name
* in the request URL, in the format `projects/* /attestors/*`.

@@ -265,5 +261,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.Attestor | Attestor}.
* 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.cloud.binaryauthorization.v1.Attestor|Attestor}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -281,4 +276,4 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.update_attestor.js</caption>

/**
* Deletes an {@link google.cloud.binaryauthorization.v1.Attestor|attestor}. Returns NOT_FOUND if the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestor} does not exist.
* Deletes an {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor}. Returns NOT_FOUND if the
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestor} does not exist.
*

@@ -288,3 +283,3 @@ * @param {Object} request

* @param {string} request.name
* Required. The name of the {@link google.cloud.binaryauthorization.v1.Attestor|attestors} to delete, in the format
* Required. The name of the {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors} to delete, in the format
* `projects/* /attestors/*`.

@@ -294,5 +289,4 @@ * @param {object} [options]

* @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.

@@ -310,3 +304,3 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.delete_attestor.js</caption>

/**
* Lists {@link google.cloud.binaryauthorization.v1.Attestor|attestors}.
* Lists {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors}.
* Returns INVALID_ARGUMENT if the project does not exist.

@@ -318,3 +312,3 @@ *

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -325,3 +319,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -331,3 +325,3 @@ * @param {object} [options]

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

@@ -338,4 +332,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.

@@ -356,3 +349,3 @@ */

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -363,3 +356,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -369,3 +362,3 @@ * @param {object} [options]

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

@@ -375,4 +368,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.

@@ -389,3 +381,3 @@ */

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -396,3 +388,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -402,8 +394,7 @@ * @param {object} [options]

* @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 google.cloud.binaryauthorization.v1.Attestor | Attestor}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|Attestor}. 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.

@@ -410,0 +401,0 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.list_attestors.js</caption>

@@ -35,4 +35,4 @@ "use strict";

*
* * {@link google.cloud.binaryauthorization.v1.Policy|Policy}
* * {@link google.cloud.binaryauthorization.v1.Attestor|Attestor}
* * {@link protos.google.cloud.binaryauthorization.v1.Policy|Policy}
* * {@link protos.google.cloud.binaryauthorization.v1.Attestor|Attestor}
* @class

@@ -413,3 +413,3 @@ * @memberof v1

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -420,3 +420,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -426,3 +426,3 @@ * @param {object} [options]

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

@@ -432,4 +432,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.

@@ -460,3 +459,3 @@ */

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -467,3 +466,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -473,8 +472,7 @@ * @param {object} [options]

* @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 google.cloud.binaryauthorization.v1.Attestor | Attestor}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.binaryauthorization.v1.Attestor|Attestor}. 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.

@@ -481,0 +479,0 @@ * @example <caption>include:samples/generated/v1/binauthz_management_service_v1.list_attestors.js</caption>

@@ -119,5 +119,4 @@ import type * as gax from 'google-gax';

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.Policy | Policy}.
* 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.cloud.binaryauthorization.v1.Policy|Policy}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -124,0 +123,0 @@ * @example <caption>include:samples/generated/v1/system_policy_v1.get_system_policy.js</caption>

@@ -115,7 +115,7 @@ import type * as gax from 'google-gax';

* @param {string} request.attestor
* Required. The resource name of the {@link google.cloud.binaryauthorization.v1.Attestor|Attestor} of the
* {@link grafeas.v1.Occurrence|occurrence}, in the format
* Required. The resource name of the {@link protos.google.cloud.binaryauthorization.v1.Attestor|Attestor} of the
* {@link protos.grafeas.v1.Occurrence|occurrence}, in the format
* `projects/* /attestors/*`.
* @param {grafeas.v1.AttestationOccurrence} request.attestation
* Required. An {@link grafeas.v1.AttestationOccurrence|AttestationOccurrence} to
* Required. An {@link protos.grafeas.v1.AttestationOccurrence|AttestationOccurrence} to
* be checked that it can be verified by the Attestor. It does not have to be

@@ -125,13 +125,12 @@ * an existing entity in Container Analysis. It must otherwise be a valid

* @param {string} request.occurrenceNote
* Required. The resource name of the {@link grafeas.v1.Note|Note} to which the
* containing {@link grafeas.v1.Occurrence|Occurrence} is associated.
* Required. The resource name of the {@link protos.grafeas.v1.Note|Note} to which the
* containing {@link protos.grafeas.v1.Occurrence|Occurrence} is associated.
* @param {string} request.occurrenceResourceUri
* Required. The URI of the artifact (e.g. container image) that is the
* subject of the containing {@link grafeas.v1.Occurrence|Occurrence}.
* subject of the containing {@link protos.grafeas.v1.Occurrence|Occurrence}.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse | ValidateAttestationOccurrenceResponse}.
* 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.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse|ValidateAttestationOccurrenceResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -138,0 +137,0 @@ * @example <caption>include:samples/generated/v1/validation_helper_v1.validate_attestation_occurrence.js</caption>

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

*
* * {@link google.cloud.binaryauthorization.v1beta1.Policy|Policy}
* * {@link google.cloud.binaryauthorization.v1beta1.Attestor|Attestor}
* * {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|Policy}
* * {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|Attestor}
* @class

@@ -118,3 +118,3 @@ * @memberof v1beta1

/**
* A {@link google.cloud.binaryauthorization.v1beta1.Policy|policy} specifies the {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors} that must attest to
* A {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy} specifies the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors} that must attest to
* a container image, before the project is allowed to deploy that

@@ -124,4 +124,4 @@ * image. There is at most one policy per project. All image admission

*
* Gets the {@link google.cloud.binaryauthorization.v1beta1.Policy|policy} for this project. Returns a default
* {@link google.cloud.binaryauthorization.v1beta1.Policy|policy} if the project does not have one.
* Gets the {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy} for this project. Returns a default
* {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy} if the project does not have one.
*

@@ -131,3 +131,3 @@ * @param {Object} request

* @param {string} request.name
* Required. The resource name of the {@link google.cloud.binaryauthorization.v1beta1.Policy|policy} to retrieve,
* Required. The resource name of the {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy} to retrieve,
* in the format `projects/* /policy`.

@@ -137,5 +137,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1beta1.Policy | Policy}.
* 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.cloud.binaryauthorization.v1beta1.Policy|Policy}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -153,4 +152,4 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_policy.js</caption>

/**
* Creates or updates a project's {@link google.cloud.binaryauthorization.v1beta1.Policy|policy}, and returns a copy of the
* new {@link google.cloud.binaryauthorization.v1beta1.Policy|policy}. A policy is always updated as a whole, to avoid race
* Creates or updates a project's {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy}, and returns a copy of the
* new {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy}. A policy is always updated as a whole, to avoid race
* conditions with concurrent policy enforcement (or management!)

@@ -163,4 +162,4 @@ * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT

* @param {google.cloud.binaryauthorization.v1beta1.Policy} request.policy
* Required. A new or updated {@link google.cloud.binaryauthorization.v1beta1.Policy|policy} value. The service will
* overwrite the {@link google.cloud.binaryauthorization.v1beta1.Policy.name|policy name} field with the resource name in
* Required. A new or updated {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|policy} value. The service will
* overwrite the {@link protos.google.cloud.binaryauthorization.v1beta1.Policy.name|policy name} field with the resource name in
* the request URL, in the format `projects/* /policy`.

@@ -170,5 +169,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1beta1.Policy | Policy}.
* 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.cloud.binaryauthorization.v1beta1.Policy|Policy}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -186,6 +184,6 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_policy.js</caption>

/**
* Creates an {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor}, and returns a copy of the new
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor}. Returns NOT_FOUND if the project does not exist,
* Creates an {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor}, and returns a copy of the new
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor}. Returns NOT_FOUND if the project does not exist,
* INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} already exists.
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} already exists.
*

@@ -195,8 +193,8 @@ * @param {Object} request

* @param {string} request.parent
* Required. The parent of this {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor}.
* Required. The parent of this {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor}.
* @param {string} request.attestorId
* Required. The {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors} ID.
* Required. The {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors} ID.
* @param {google.cloud.binaryauthorization.v1beta1.Attestor} request.attestor
* Required. The initial {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} value. The service will
* overwrite the {@link google.cloud.binaryauthorization.v1beta1.Attestor.name|attestor name} field with the resource name,
* Required. The initial {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} value. The service will
* overwrite the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor.name|attestor name} field with the resource name,
* in the format `projects/* /attestors/*`.

@@ -206,5 +204,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1beta1.Attestor | Attestor}.
* 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.cloud.binaryauthorization.v1beta1.Attestor|Attestor}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -222,4 +219,4 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.create_attestor.js</caption>

/**
* Gets an {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} does not exist.
* Gets an {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} does not exist.
*

@@ -229,3 +226,3 @@ * @param {Object} request

* @param {string} request.name
* Required. The name of the {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} to retrieve, in the format
* Required. The name of the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} to retrieve, in the format
* `projects/* /attestors/*`.

@@ -235,5 +232,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1beta1.Attestor | Attestor}.
* 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.cloud.binaryauthorization.v1beta1.Attestor|Attestor}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -251,4 +247,4 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_attestor.js</caption>

/**
* Updates an {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} does not exist.
* Updates an {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor}.
* Returns NOT_FOUND if the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} does not exist.
*

@@ -258,4 +254,4 @@ * @param {Object} request

* @param {google.cloud.binaryauthorization.v1beta1.Attestor} request.attestor
* Required. The updated {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} value. The service will
* overwrite the {@link google.cloud.binaryauthorization.v1beta1.Attestor.name|attestor name} field with the resource name
* Required. The updated {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} value. The service will
* overwrite the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor.name|attestor name} field with the resource name
* in the request URL, in the format `projects/* /attestors/*`.

@@ -265,5 +261,4 @@ * @param {object} [options]

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1beta1.Attestor | Attestor}.
* 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.cloud.binaryauthorization.v1beta1.Attestor|Attestor}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -281,4 +276,4 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_attestor.js</caption>

/**
* Deletes an {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor}. Returns NOT_FOUND if the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestor} does not exist.
* Deletes an {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor}. Returns NOT_FOUND if the
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestor} does not exist.
*

@@ -288,3 +283,3 @@ * @param {Object} request

* @param {string} request.name
* Required. The name of the {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors} to delete, in the format
* Required. The name of the {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors} to delete, in the format
* `projects/* /attestors/*`.

@@ -294,5 +289,4 @@ * @param {object} [options]

* @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.

@@ -310,3 +304,3 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.delete_attestor.js</caption>

/**
* Lists {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors}.
* Lists {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors}.
* Returns INVALID_ARGUMENT if the project does not exist.

@@ -318,3 +312,3 @@ *

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -325,3 +319,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -331,3 +325,3 @@ * @param {object} [options]

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

@@ -338,4 +332,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.

@@ -356,3 +349,3 @@ */

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -363,3 +356,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -369,3 +362,3 @@ * @param {object} [options]

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

@@ -375,4 +368,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.

@@ -389,3 +381,3 @@ */

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -396,3 +388,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -402,8 +394,7 @@ * @param {object} [options]

* @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 google.cloud.binaryauthorization.v1beta1.Attestor | Attestor}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|Attestor}. 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.

@@ -410,0 +401,0 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.list_attestors.js</caption>

@@ -35,4 +35,4 @@ "use strict";

*
* * {@link google.cloud.binaryauthorization.v1beta1.Policy|Policy}
* * {@link google.cloud.binaryauthorization.v1beta1.Attestor|Attestor}
* * {@link protos.google.cloud.binaryauthorization.v1beta1.Policy|Policy}
* * {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|Attestor}
* @class

@@ -413,3 +413,3 @@ * @memberof v1beta1

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -420,3 +420,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -426,3 +426,3 @@ * @param {object} [options]

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

@@ -432,4 +432,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.

@@ -460,3 +459,3 @@ */

* Required. The resource name of the project associated with the
* {@link google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|attestors}, in the format `projects/*`.
* @param {number} request.pageSize

@@ -467,3 +466,3 @@ * Requested page size. The server may return fewer results than requested. If

* A token identifying a page of results the server should return. Typically,
* this is the value of {@link google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* this is the value of {@link protos.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token|ListAttestorsResponse.next_page_token} returned
* from the previous call to the `ListAttestors` method.

@@ -473,8 +472,7 @@ * @param {object} [options]

* @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 google.cloud.binaryauthorization.v1beta1.Attestor | Attestor}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.binaryauthorization.v1beta1.Attestor|Attestor}. 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.

@@ -481,0 +479,0 @@ * @example <caption>include:samples/generated/v1beta1/binauthz_management_service_v1_beta1.list_attestors.js</caption>

@@ -119,5 +119,4 @@ import type * as gax from 'google-gax';

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.binaryauthorization.v1beta1.Policy | Policy}.
* 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.cloud.binaryauthorization.v1beta1.Policy|Policy}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -124,0 +123,0 @@ * @example <caption>include:samples/generated/v1beta1/system_policy_v1_beta1.get_system_policy.js</caption>

# Changelog
## [3.0.0](https://github.com/googleapis/google-cloud-node/compare/binary-authorization-v2.5.0...binary-authorization-v3.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 ([#4460](https://github.com/googleapis/google-cloud-node/issues/4460)) ([c32965c](https://github.com/googleapis/google-cloud-node/commit/c32965c0c4a5975ba37371ecd819d9cffb080aa5))
### 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))
## [2.5.0](https://github.com/googleapis/google-cloud-node/compare/binary-authorization-v2.4.0...binary-authorization-v2.5.0) (2023-04-13)

@@ -4,0 +20,0 @@

{
"name": "@google-cloud/binary-authorization",
"version": "2.5.0",
"version": "3.0.0",
"description": "Binaryauthorization client for Node.js",

@@ -33,3 +33,3 @@ "repository": {

"clean": "gts clean",
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
"compile": "tsc -p . && cp -r protos build/",
"compile-protos": "compileProtos src",

@@ -42,33 +42,32 @@ "docs": "jsdoc -c .jsdoc.js",

"prepare": "npm run compile-protos && npm run compile",
"system-test": "npm run compile && c8 mocha build/system-test",
"test": "c8 mocha build/test",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"prelint": "cd samples; npm link ../; npm i"
"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"
},
"dependencies": {
"google-gax": "^3.5.8"
"google-gax": "^4.0.3"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^18.0.0",
"@types/node": "^20.4.5",
"@types/sinon": "^10.0.0",
"c8": "^7.3.5",
"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.1",
"pack-n-play": "^1.0.0-2",
"sinon": "^15.0.0",
"ts-loader": "^9.0.0",
"typescript": "^4.6.4",
"webpack": "^5.4.0",
"webpack-cli": "^5.0.0"
"typescript": "^5.1.6"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-binaryauthorization"
}

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

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

@@ -86,25 +86,24 @@ [![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/google-cloud-binaryauthorization/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Binauthz_management_service_v1.create_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.create_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.create_attestor.js,samples/README.md) |
| Binauthz_management_service_v1.delete_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.delete_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.delete_attestor.js,samples/README.md) |
| Binauthz_management_service_v1.get_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_attestor.js,samples/README.md) |
| Binauthz_management_service_v1.get_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_policy.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_policy.js,samples/README.md) |
| Binauthz_management_service_v1.list_attestors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.list_attestors.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.list_attestors.js,samples/README.md) |
| Binauthz_management_service_v1.update_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_attestor.js,samples/README.md) |
| Binauthz_management_service_v1.update_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_policy.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_policy.js,samples/README.md) |
| System_policy_v1.get_system_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/system_policy_v1.get_system_policy.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/google-cloud-binaryauthorization/samples/generated/v1/system_policy_v1.get_system_policy.js,samples/README.md) |
| Validation_helper_v1.validate_attestation_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/validation_helper_v1.validate_attestation_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/google-cloud-binaryauthorization/samples/generated/v1/validation_helper_v1.validate_attestation_occurrence.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.create_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.create_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.create_attestor.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.delete_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.delete_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.delete_attestor.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.get_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_attestor.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.get_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_policy.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_policy.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.list_attestors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.list_attestors.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.list_attestors.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.update_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_attestor.js,samples/README.md) |
| Binauthz_management_service_v1_beta1.update_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_policy.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_policy.js,samples/README.md) |
| System_policy_v1_beta1.get_system_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/system_policy_v1_beta1.get_system_policy.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/google-cloud-binaryauthorization/samples/generated/v1beta1/system_policy_v1_beta1.get_system_policy.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/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/google-cloud-binaryauthorization/samples/quickstart.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/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/google-cloud-binaryauthorization/samples/test/quickstart.js,samples/README.md) |
| Binauthz_management_service_v1.create_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.create_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.create_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1.delete_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.delete_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.delete_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1.get_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1.get_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_policy.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.get_policy.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1.list_attestors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.list_attestors.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.list_attestors.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1.update_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_attestor.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1.update_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_policy.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/google-cloud-binaryauthorization/samples/generated/v1/binauthz_management_service_v1.update_policy.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| System_policy_v1.get_system_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/system_policy_v1.get_system_policy.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/google-cloud-binaryauthorization/samples/generated/v1/system_policy_v1.get_system_policy.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Validation_helper_v1.validate_attestation_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1/validation_helper_v1.validate_attestation_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/google-cloud-binaryauthorization/samples/generated/v1/validation_helper_v1.validate_attestation_occurrence.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.create_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.create_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.create_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.delete_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.delete_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.delete_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.get_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.get_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_policy.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.get_policy.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.list_attestors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.list_attestors.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.list_attestors.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.update_attestor | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_attestor.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_attestor.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Binauthz_management_service_v1_beta1.update_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_policy.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/google-cloud-binaryauthorization/samples/generated/v1beta1/binauthz_management_service_v1_beta1.update_policy.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| System_policy_v1_beta1.get_system_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/samples/generated/v1beta1/system_policy_v1_beta1.get_system_policy.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/google-cloud-binaryauthorization/samples/generated/v1beta1/system_policy_v1_beta1.get_system_policy.js,packages/google-cloud-binaryauthorization/samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-binaryauthorization/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/google-cloud-binaryauthorization/samples/quickstart.js,packages/google-cloud-binaryauthorization/samples/README.md) |

@@ -111,0 +110,0 @@

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