From 844aad0783a5c3ce4e08353b28ed21718649cf6f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 23 Nov 2020 11:09:38 -0800 Subject: [PATCH] chore: address linting issues --- .../src/v1p1beta1/asset_service_client.ts | 12 +++--------- packages/google-cloud-asset/synth.metadata | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts b/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts index 27fe5891a24..1f40241c597 100644 --- a/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts +++ b/packages/google-cloud-asset/src/v1p1beta1/asset_service_client.ts @@ -542,9 +542,7 @@ export class AssetServiceClient { searchAllResourcesAsync( request?: protos.google.cloud.asset.v1p1beta1.ISearchAllResourcesRequest, options?: gax.CallOptions - ): AsyncIterable< - protos.google.cloud.asset.v1p1beta1.IStandardResourceMetadata - > { + ): AsyncIterable { request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; @@ -561,9 +559,7 @@ export class AssetServiceClient { this.innerApiCalls['searchAllResources'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.asset.v1p1beta1.IStandardResourceMetadata - >; + ) as AsyncIterable; } searchAllIamPolicies( request: protos.google.cloud.asset.v1p1beta1.ISearchAllIamPoliciesRequest, @@ -810,9 +806,7 @@ export class AssetServiceClient { this.innerApiCalls['searchAllIamPolicies'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.asset.v1p1beta1.IIamPolicySearchResult - >; + ) as AsyncIterable; } /** diff --git a/packages/google-cloud-asset/synth.metadata b/packages/google-cloud-asset/synth.metadata index 1412d329ff8..7f0cb5d1473 100644 --- a/packages/google-cloud-asset/synth.metadata +++ b/packages/google-cloud-asset/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-asset.git", - "sha": "e05a3168955f8590db9581766530ef546d61a363" + "sha": "678ce5433f478b81698c68e0ffc52ff7a21ce692" } }, {