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

Commit

Permalink
fix: make request optional in all cases (#320)
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 fad636b commit a3e6fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v1beta1/phishing_protection_service_v1_beta1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export class PhishingProtectionServiceV1Beta1Client {
// -- Service calls --
// -------------------
reportPhishing(
request: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
request?: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -339,7 +339,7 @@ export class PhishingProtectionServiceV1Beta1Client {
* const [response] = await client.reportPhishing(request);
*/
reportPhishing(
request: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
request?: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down

0 comments on commit a3e6fa0

Please sign in to comment.