Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#611)
Browse files Browse the repository at this point in the history
* chore: update v2.14.2 gapic-generator-typescript

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: googleapis/googleapis-gen@930b673
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 16, 2022
1 parent 366af52 commit fd60ce4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions packages/google-cloud-asset/test/gapic_asset_service_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ describe('v1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1.BatchGetAssetsHistoryRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -494,7 +493,6 @@ describe('v1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1.CreateFeedRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createFeed(request), expectedError);
Expand Down Expand Up @@ -618,7 +616,6 @@ describe('v1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1.GetFeedRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getFeed(request), expectedError);
Expand Down Expand Up @@ -742,7 +739,6 @@ describe('v1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1.ListFeedsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.listFeeds(request), expectedError);
Expand Down Expand Up @@ -873,7 +869,6 @@ describe('v1.AssetServiceClient', () => {
);
request.feed = {};
request.feed.name = '';
const expectedHeaderRequestParams = 'feed.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateFeed(request), expectedError);
Expand Down Expand Up @@ -1000,7 +995,6 @@ describe('v1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1.DeleteFeedRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteFeed(request), expectedError);
Expand Down Expand Up @@ -1131,7 +1125,6 @@ describe('v1.AssetServiceClient', () => {
);
request.analysisQuery = {};
request.analysisQuery.scope = '';
const expectedHeaderRequestParams = 'analysis_query.scope=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.analyzeIamPolicy(request), expectedError);
Expand Down Expand Up @@ -1258,7 +1251,6 @@ describe('v1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1.AnalyzeMoveRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.analyzeMove(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ describe('v1p2beta1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1p2beta1.CreateFeedRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createFeed(request), expectedError);
Expand Down Expand Up @@ -391,7 +390,6 @@ describe('v1p2beta1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1p2beta1.GetFeedRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getFeed(request), expectedError);
Expand Down Expand Up @@ -515,7 +513,6 @@ describe('v1p2beta1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1p2beta1.ListFeedsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.listFeeds(request), expectedError);
Expand Down Expand Up @@ -646,7 +643,6 @@ describe('v1p2beta1.AssetServiceClient', () => {
);
request.feed = {};
request.feed.name = '';
const expectedHeaderRequestParams = 'feed.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateFeed(request), expectedError);
Expand Down Expand Up @@ -773,7 +769,6 @@ describe('v1p2beta1.AssetServiceClient', () => {
new protos.google.cloud.asset.v1p2beta1.DeleteFeedRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteFeed(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ describe('v1p4beta1.AssetServiceClient', () => {
);
request.analysisQuery = {};
request.analysisQuery.parent = '';
const expectedHeaderRequestParams = 'analysis_query.parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.analyzeIamPolicy(request), expectedError);
Expand Down

0 comments on commit fd60ce4

Please sign in to comment.