GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: preserve default values in x-goog-request-params header by gcf-owl-bot[bot] · Pull Request #658 · googleapis/nodejs-asset

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

fix: preserve default values in x-goog-request-params header #658

Merged
gcf-merge-on-green merged 3 commits into main from owl-bot-copy
Sep 14, 2022

Uh oh!

There was an error while loading. Please reload this page.

Merged

fix: preserve default values in x-goog-request-params header #658

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3 commits
Select commit Hold shift + click to select a range
3c67216
chore: use gapic-generator-typescript v2.17.0
gcf-owl-bot[bot] Sep 14, 2022
225f386
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Sep 14, 2022
1027275
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Sep 14, 2022
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

56 changes: 28 additions & 28 deletions 56 src/v1/asset_service_client.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.batchGetAssetsHistory(request, options, callback);
Expand Down Expand Up @@ -670,7 +670,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.createFeed(request, options, callback);
Expand Down Expand Up @@ -756,7 +756,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name || '',
name: request.name ?? '',
});
this.initialize();
return this.innerApiCalls.getFeed(request, options, callback);
Expand Down Expand Up @@ -841,7 +841,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.listFeeds(request, options, callback);
Expand Down Expand Up @@ -932,7 +932,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'feed.name': request.feed!.name || '',
'feed.name': request.feed!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updateFeed(request, options, callback);
Expand Down Expand Up @@ -1018,7 +1018,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name || '',
name: request.name ?? '',
});
this.initialize();
return this.innerApiCalls.deleteFeed(request, options, callback);
Expand Down Expand Up @@ -1133,7 +1133,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'analysis_query.scope': request.analysisQuery!.scope || '',
'analysis_query.scope': request.analysisQuery!.scope ?? '',
});
this.initialize();
return this.innerApiCalls.analyzeIamPolicy(request, options, callback);
Expand Down Expand Up @@ -1232,7 +1232,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
resource: request.resource || '',
resource: request.resource ?? '',
});
this.initialize();
return this.innerApiCalls.analyzeMove(request, options, callback);
Expand Down Expand Up @@ -1382,7 +1382,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.queryAssets(request, options, callback);
Expand Down Expand Up @@ -1484,7 +1484,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.createSavedQuery(request, options, callback);
Expand Down Expand Up @@ -1571,7 +1571,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name || '',
name: request.name ?? '',
});
this.initialize();
return this.innerApiCalls.getSavedQuery(request, options, callback);
Expand Down Expand Up @@ -1665,7 +1665,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'saved_query.name': request.savedQuery!.name || '',
'saved_query.name': request.savedQuery!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updateSavedQuery(request, options, callback);
Expand Down Expand Up @@ -1755,7 +1755,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name || '',
name: request.name ?? '',
});
this.initialize();
return this.innerApiCalls.deleteSavedQuery(request, options, callback);
Expand Down Expand Up @@ -1868,7 +1868,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
this.initialize();
return this.innerApiCalls.batchGetEffectiveIamPolicies(
Expand Down Expand Up @@ -2036,7 +2036,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.exportAssets(request, options, callback);
Expand Down Expand Up @@ -2203,7 +2203,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'analysis_query.scope': request.analysisQuery!.scope || '',
'analysis_query.scope': request.analysisQuery!.scope ?? '',
});
this.initialize();
return this.innerApiCalls.analyzeIamPolicyLongrunning(
Expand Down Expand Up @@ -2384,7 +2384,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.listAssets(request, options, callback);
Expand Down Expand Up @@ -2473,7 +2473,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
const defaultCallSettings = this._defaults['listAssets'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -2571,7 +2571,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
const defaultCallSettings = this._defaults['listAssets'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -2815,7 +2815,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
this.initialize();
return this.innerApiCalls.searchAllResources(request, options, callback);
Expand Down Expand Up @@ -2990,7 +2990,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllResources'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -3174,7 +3174,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllResources'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -3371,7 +3371,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
this.initialize();
return this.innerApiCalls.searchAllIamPolicies(request, options, callback);
Expand Down Expand Up @@ -3499,7 +3499,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllIamPolicies'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -3636,7 +3636,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllIamPolicies'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -3751,7 +3751,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.listSavedQueries(request, options, callback);
Expand Down Expand Up @@ -3806,7 +3806,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
const defaultCallSettings = this._defaults['listSavedQueries'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -3870,7 +3870,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
const defaultCallSettings = this._defaults['listSavedQueries'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
12 changes: 6 additions & 6 deletions 12 src/v1p1beta1/asset_service_client.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
this.initialize();
return this.innerApiCalls.searchAllResources(request, options, callback);
Expand Down Expand Up @@ -500,7 +500,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllResources'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -568,7 +568,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllResources'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -693,7 +693,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
this.initialize();
return this.innerApiCalls.searchAllIamPolicies(request, options, callback);
Expand Down Expand Up @@ -747,7 +747,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllIamPolicies'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -810,7 +810,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
scope: request.scope || '',
scope: request.scope ?? '',
});
const defaultCallSettings = this._defaults['searchAllIamPolicies'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
10 changes: 5 additions & 5 deletions 10 src/v1p2beta1/asset_service_client.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.createFeed(request, options, callback);
Expand Down Expand Up @@ -504,7 +504,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name || '',
name: request.name ?? '',
});
this.initialize();
return this.innerApiCalls.getFeed(request, options, callback);
Expand Down Expand Up @@ -591,7 +591,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.listFeeds(request, options, callback);
Expand Down Expand Up @@ -684,7 +684,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'feed.name': request.feed!.name || '',
'feed.name': request.feed!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updateFeed(request, options, callback);
Expand Down Expand Up @@ -772,7 +772,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
name: request.name || '',
name: request.name ?? '',
});
this.initialize();
return this.innerApiCalls.deleteFeed(request, options, callback);
Expand Down
6 changes: 3 additions & 3 deletions 6 src/v1p5beta1/asset_service_client.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
this.initialize();
return this.innerApiCalls.listAssets(request, options, callback);
Expand Down Expand Up @@ -504,7 +504,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
const defaultCallSettings = this._defaults['listAssets'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -572,7 +572,7 @@ export class AssetServiceClient {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
parent: request.parent || '',
parent: request.parent ?? '',
});
const defaultCallSettings = this._defaults['listAssets'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.