diff --git a/src/v1/web_risk_service_client.ts b/src/v1/web_risk_service_client.ts index fc2b163..be8c684 100644 --- a/src/v1/web_risk_service_client.ts +++ b/src/v1/web_risk_service_client.ts @@ -283,7 +283,7 @@ export class WebRiskServiceClient { // -- Service calls -- // ------------------- computeThreatListDiff( - request: protos.google.cloud.webrisk.v1.IComputeThreatListDiffRequest, + request?: protos.google.cloud.webrisk.v1.IComputeThreatListDiffRequest, options?: CallOptions ): Promise< [ @@ -344,7 +344,7 @@ export class WebRiskServiceClient { * const [response] = await client.computeThreatListDiff(request); */ computeThreatListDiff( - request: protos.google.cloud.webrisk.v1.IComputeThreatListDiffRequest, + request?: protos.google.cloud.webrisk.v1.IComputeThreatListDiffRequest, optionsOrCallback?: | CallOptions | Callback< @@ -381,7 +381,7 @@ export class WebRiskServiceClient { return this.innerApiCalls.computeThreatListDiff(request, options, callback); } searchUris( - request: protos.google.cloud.webrisk.v1.ISearchUrisRequest, + request?: protos.google.cloud.webrisk.v1.ISearchUrisRequest, options?: CallOptions ): Promise< [ @@ -431,7 +431,7 @@ export class WebRiskServiceClient { * const [response] = await client.searchUris(request); */ searchUris( - request: protos.google.cloud.webrisk.v1.ISearchUrisRequest, + request?: protos.google.cloud.webrisk.v1.ISearchUrisRequest, optionsOrCallback?: | CallOptions | Callback< @@ -464,7 +464,7 @@ export class WebRiskServiceClient { return this.innerApiCalls.searchUris(request, options, callback); } searchHashes( - request: protos.google.cloud.webrisk.v1.ISearchHashesRequest, + request?: protos.google.cloud.webrisk.v1.ISearchHashesRequest, options?: CallOptions ): Promise< [ @@ -515,7 +515,7 @@ export class WebRiskServiceClient { * const [response] = await client.searchHashes(request); */ searchHashes( - request: protos.google.cloud.webrisk.v1.ISearchHashesRequest, + request?: protos.google.cloud.webrisk.v1.ISearchHashesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -550,7 +550,7 @@ export class WebRiskServiceClient { return this.innerApiCalls.searchHashes(request, options, callback); } createSubmission( - request: protos.google.cloud.webrisk.v1.ICreateSubmissionRequest, + request?: protos.google.cloud.webrisk.v1.ICreateSubmissionRequest, options?: CallOptions ): Promise< [ @@ -606,7 +606,7 @@ export class WebRiskServiceClient { * const [response] = await client.createSubmission(request); */ createSubmission( - request: protos.google.cloud.webrisk.v1.ICreateSubmissionRequest, + request?: protos.google.cloud.webrisk.v1.ICreateSubmissionRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/src/v1beta1/web_risk_service_v1_beta1_client.ts b/src/v1beta1/web_risk_service_v1_beta1_client.ts index 34bf566..65461cb 100644 --- a/src/v1beta1/web_risk_service_v1_beta1_client.ts +++ b/src/v1beta1/web_risk_service_v1_beta1_client.ts @@ -274,7 +274,7 @@ export class WebRiskServiceV1Beta1Client { // -- Service calls -- // ------------------- computeThreatListDiff( - request: protos.google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest, + request?: protos.google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest, options?: CallOptions ): Promise< [ @@ -330,7 +330,7 @@ export class WebRiskServiceV1Beta1Client { * const [response] = await client.computeThreatListDiff(request); */ computeThreatListDiff( - request: protos.google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest, + request?: protos.google.cloud.webrisk.v1beta1.IComputeThreatListDiffRequest, optionsOrCallback?: | CallOptions | Callback< @@ -370,7 +370,7 @@ export class WebRiskServiceV1Beta1Client { return this.innerApiCalls.computeThreatListDiff(request, options, callback); } searchUris( - request: protos.google.cloud.webrisk.v1beta1.ISearchUrisRequest, + request?: protos.google.cloud.webrisk.v1beta1.ISearchUrisRequest, options?: CallOptions ): Promise< [ @@ -416,7 +416,7 @@ export class WebRiskServiceV1Beta1Client { * const [response] = await client.searchUris(request); */ searchUris( - request: protos.google.cloud.webrisk.v1beta1.ISearchUrisRequest, + request?: protos.google.cloud.webrisk.v1beta1.ISearchUrisRequest, optionsOrCallback?: | CallOptions | Callback< @@ -451,7 +451,7 @@ export class WebRiskServiceV1Beta1Client { return this.innerApiCalls.searchUris(request, options, callback); } searchHashes( - request: protos.google.cloud.webrisk.v1beta1.ISearchHashesRequest, + request?: protos.google.cloud.webrisk.v1beta1.ISearchHashesRequest, options?: CallOptions ): Promise< [ @@ -506,7 +506,7 @@ export class WebRiskServiceV1Beta1Client { * const [response] = await client.searchHashes(request); */ searchHashes( - request: protos.google.cloud.webrisk.v1beta1.ISearchHashesRequest, + request?: protos.google.cloud.webrisk.v1beta1.ISearchHashesRequest, optionsOrCallback?: | CallOptions | Callback<