Skip to content

Commit

Permalink
fix(binaryauthorization): update the API
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent e5ac195 commit e34164d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/apis/binaryauthorization/v1.ts
Expand Up @@ -1895,8 +1895,8 @@ export namespace binaryauthorization_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await binaryauthorization.projects.attestors.validateAttestationOccurrence(
* {
* const res =
* await binaryauthorization.projects.attestors.validateAttestationOccurrence({
* // Required. The resource name of the Attestor of the occurrence, in the format `projects/x/attestors/x`.
* attestor: 'projects/my-project/attestors/my-attestor',
*
Expand All @@ -1909,8 +1909,7 @@ export namespace binaryauthorization_v1 {
* // "occurrenceResourceUri": "my_occurrenceResourceUri"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -1982,7 +1981,8 @@ export namespace binaryauthorization_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Attestors$Validateattestationoccurrence;
params =
{} as Params$Resource$Projects$Attestors$Validateattestationoccurrence;
options = {};
}

Expand Down
10 changes: 5 additions & 5 deletions src/apis/binaryauthorization/v1beta1.ts
Expand Up @@ -1895,8 +1895,8 @@ export namespace binaryauthorization_v1beta1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await binaryauthorization.projects.attestors.validateAttestationOccurrence(
* {
* const res =
* await binaryauthorization.projects.attestors.validateAttestationOccurrence({
* // Required. The resource name of the Attestor of the occurrence, in the format `projects/x/attestors/x`.
* attestor: 'projects/my-project/attestors/my-attestor',
*
Expand All @@ -1909,8 +1909,7 @@ export namespace binaryauthorization_v1beta1 {
* // "occurrenceResourceUri": "my_occurrenceResourceUri"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -1982,7 +1981,8 @@ export namespace binaryauthorization_v1beta1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Attestors$Validateattestationoccurrence;
params =
{} as Params$Resource$Projects$Attestors$Validateattestationoccurrence;
options = {};
}

Expand Down

0 comments on commit e34164d

Please sign in to comment.