From a3e6fa03485bb63eea70243554aa9c636b725bcd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 22 Jun 2021 20:22:36 +0000 Subject: [PATCH] fix: make request optional in all cases (#320) ... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0 Committer: @miraleung PiperOrigin-RevId: 380641501 Source-Link: https://github.com/googleapis/googleapis/commit/076f7e9f0b258bdb54338895d7251b202e8f0de3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892 --- src/v1beta1/phishing_protection_service_v1_beta1_client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v1beta1/phishing_protection_service_v1_beta1_client.ts b/src/v1beta1/phishing_protection_service_v1_beta1_client.ts index e8b14b76..f0d694dc 100644 --- a/src/v1beta1/phishing_protection_service_v1_beta1_client.ts +++ b/src/v1beta1/phishing_protection_service_v1_beta1_client.ts @@ -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< [ @@ -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<