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

Commit

Permalink
fix: make request optional in all cases (#63)
Browse files Browse the repository at this point in the history
... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0

Committer: @miraleung
PiperOrigin-RevId: 380641501

Source-Link: googleapis/googleapis@076f7e9

Source-Link: googleapis/googleapis-gen@27e4c88
  • Loading branch information
gcf-owl-bot[bot] committed Jun 22, 2021
1 parent eead1a8 commit 2a0380f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/v1beta1/binauthz_management_service_v1_beta1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class BinauthzManagementServiceV1Beta1Client {
// -- Service calls --
// -------------------
getPolicy(
request: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -381,7 +381,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* const [response] = await client.getPolicy(request);
*/
getPolicy(
request: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -427,7 +427,7 @@ export class BinauthzManagementServiceV1Beta1Client {
return this.innerApiCalls.getPolicy(request, options, callback);
}
updatePolicy(
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -488,7 +488,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* const [response] = await client.updatePolicy(request);
*/
updatePolicy(
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -534,7 +534,7 @@ export class BinauthzManagementServiceV1Beta1Client {
return this.innerApiCalls.updatePolicy(request, options, callback);
}
createAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -601,7 +601,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* const [response] = await client.createAttestor(request);
*/
createAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -647,7 +647,7 @@ export class BinauthzManagementServiceV1Beta1Client {
return this.innerApiCalls.createAttestor(request, options, callback);
}
getAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -703,7 +703,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* const [response] = await client.getAttestor(request);
*/
getAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -749,7 +749,7 @@ export class BinauthzManagementServiceV1Beta1Client {
return this.innerApiCalls.getAttestor(request, options, callback);
}
updateAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -808,7 +808,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* const [response] = await client.updateAttestor(request);
*/
updateAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -854,7 +854,7 @@ export class BinauthzManagementServiceV1Beta1Client {
return this.innerApiCalls.updateAttestor(request, options, callback);
}
deleteAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -910,7 +910,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* const [response] = await client.deleteAttestor(request);
*/
deleteAttestor(
request: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -957,7 +957,7 @@ export class BinauthzManagementServiceV1Beta1Client {
}

listAttestors(
request: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1019,7 +1019,7 @@ export class BinauthzManagementServiceV1Beta1Client {
* for more details and examples.
*/
listAttestors(
request: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
request?: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit 2a0380f

Please sign in to comment.