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

Commit a3e6fa0

Browse files
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: googleapis/googleapis@076f7e9 Source-Link: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892
1 parent fad636b commit a3e6fa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v1beta1/phishing_protection_service_v1_beta1_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class PhishingProtectionServiceV1Beta1Client {
279279
// -- Service calls --
280280
// -------------------
281281
reportPhishing(
282-
request: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
282+
request?: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
283283
options?: CallOptions
284284
): Promise<
285285
[
@@ -339,7 +339,7 @@ export class PhishingProtectionServiceV1Beta1Client {
339339
* const [response] = await client.reportPhishing(request);
340340
*/
341341
reportPhishing(
342-
request: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
342+
request?: protos.google.cloud.phishingprotection.v1beta1.IReportPhishingRequest,
343343
optionsOrCallback?:
344344
| CallOptions
345345
| Callback<

0 commit comments

Comments
 (0)