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

Commit 2a0380f

Browse files
fix: make request optional in all cases (#63)
... 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: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892
1 parent eead1a8 commit 2a0380f

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

src/v1beta1/binauthz_management_service_v1_beta1_client.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export class BinauthzManagementServiceV1Beta1Client {
319319
// -- Service calls --
320320
// -------------------
321321
getPolicy(
322-
request: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
322+
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
323323
options?: CallOptions
324324
): Promise<
325325
[
@@ -381,7 +381,7 @@ export class BinauthzManagementServiceV1Beta1Client {
381381
* const [response] = await client.getPolicy(request);
382382
*/
383383
getPolicy(
384-
request: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
384+
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest,
385385
optionsOrCallback?:
386386
| CallOptions
387387
| Callback<
@@ -427,7 +427,7 @@ export class BinauthzManagementServiceV1Beta1Client {
427427
return this.innerApiCalls.getPolicy(request, options, callback);
428428
}
429429
updatePolicy(
430-
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
430+
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
431431
options?: CallOptions
432432
): Promise<
433433
[
@@ -488,7 +488,7 @@ export class BinauthzManagementServiceV1Beta1Client {
488488
* const [response] = await client.updatePolicy(request);
489489
*/
490490
updatePolicy(
491-
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
491+
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest,
492492
optionsOrCallback?:
493493
| CallOptions
494494
| Callback<
@@ -534,7 +534,7 @@ export class BinauthzManagementServiceV1Beta1Client {
534534
return this.innerApiCalls.updatePolicy(request, options, callback);
535535
}
536536
createAttestor(
537-
request: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
537+
request?: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
538538
options?: CallOptions
539539
): Promise<
540540
[
@@ -601,7 +601,7 @@ export class BinauthzManagementServiceV1Beta1Client {
601601
* const [response] = await client.createAttestor(request);
602602
*/
603603
createAttestor(
604-
request: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
604+
request?: protos.google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest,
605605
optionsOrCallback?:
606606
| CallOptions
607607
| Callback<
@@ -647,7 +647,7 @@ export class BinauthzManagementServiceV1Beta1Client {
647647
return this.innerApiCalls.createAttestor(request, options, callback);
648648
}
649649
getAttestor(
650-
request: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
650+
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
651651
options?: CallOptions
652652
): Promise<
653653
[
@@ -703,7 +703,7 @@ export class BinauthzManagementServiceV1Beta1Client {
703703
* const [response] = await client.getAttestor(request);
704704
*/
705705
getAttestor(
706-
request: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
706+
request?: protos.google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest,
707707
optionsOrCallback?:
708708
| CallOptions
709709
| Callback<
@@ -749,7 +749,7 @@ export class BinauthzManagementServiceV1Beta1Client {
749749
return this.innerApiCalls.getAttestor(request, options, callback);
750750
}
751751
updateAttestor(
752-
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
752+
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
753753
options?: CallOptions
754754
): Promise<
755755
[
@@ -808,7 +808,7 @@ export class BinauthzManagementServiceV1Beta1Client {
808808
* const [response] = await client.updateAttestor(request);
809809
*/
810810
updateAttestor(
811-
request: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
811+
request?: protos.google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest,
812812
optionsOrCallback?:
813813
| CallOptions
814814
| Callback<
@@ -854,7 +854,7 @@ export class BinauthzManagementServiceV1Beta1Client {
854854
return this.innerApiCalls.updateAttestor(request, options, callback);
855855
}
856856
deleteAttestor(
857-
request: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
857+
request?: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
858858
options?: CallOptions
859859
): Promise<
860860
[
@@ -910,7 +910,7 @@ export class BinauthzManagementServiceV1Beta1Client {
910910
* const [response] = await client.deleteAttestor(request);
911911
*/
912912
deleteAttestor(
913-
request: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
913+
request?: protos.google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest,
914914
optionsOrCallback?:
915915
| CallOptions
916916
| Callback<
@@ -957,7 +957,7 @@ export class BinauthzManagementServiceV1Beta1Client {
957957
}
958958

959959
listAttestors(
960-
request: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
960+
request?: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
961961
options?: CallOptions
962962
): Promise<
963963
[
@@ -1019,7 +1019,7 @@ export class BinauthzManagementServiceV1Beta1Client {
10191019
* for more details and examples.
10201020
*/
10211021
listAttestors(
1022-
request: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
1022+
request?: protos.google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest,
10231023
optionsOrCallback?:
10241024
| CallOptions
10251025
| PaginationCallback<

0 commit comments

Comments
 (0)