Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/v1/applications_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ export class ApplicationsClient {
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.getApplication(request, options, callback);
Expand Down Expand Up @@ -722,7 +722,7 @@ export class ApplicationsClient {
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.updateApplication(request, options, callback);
Expand Down Expand Up @@ -869,7 +869,7 @@ export class ApplicationsClient {
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.repairApplication(request, options, callback);
Expand Down
14 changes: 7 additions & 7 deletions src/v1/authorized_certificates_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export class AuthorizedCertificatesClient {
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.getAuthorizedCertificate(
Expand Down Expand Up @@ -527,7 +527,7 @@ export class AuthorizedCertificatesClient {
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.createAuthorizedCertificate(
Expand Down Expand Up @@ -639,7 +639,7 @@ export class AuthorizedCertificatesClient {
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.updateAuthorizedCertificate(
Expand Down Expand Up @@ -741,7 +741,7 @@ export class AuthorizedCertificatesClient {
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.deleteAuthorizedCertificate(
Expand Down Expand Up @@ -846,7 +846,7 @@ export class AuthorizedCertificatesClient {
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.listAuthorizedCertificates(
Expand Down Expand Up @@ -890,7 +890,7 @@ export class AuthorizedCertificatesClient {
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['listAuthorizedCertificates'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -939,7 +939,7 @@ export class AuthorizedCertificatesClient {
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['listAuthorizedCertificates'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
6 changes: 3 additions & 3 deletions src/v1/authorized_domains_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class AuthorizedDomainsClient {
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.listAuthorizedDomains(request, options, callback);
Expand Down Expand Up @@ -461,7 +461,7 @@ export class AuthorizedDomainsClient {
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['listAuthorizedDomains'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -508,7 +508,7 @@ export class AuthorizedDomainsClient {
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['listAuthorizedDomains'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
14 changes: 7 additions & 7 deletions src/v1/domain_mappings_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export class DomainMappingsClient {
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.getDomainMapping(request, options, callback);
Expand Down Expand Up @@ -600,7 +600,7 @@ export class DomainMappingsClient {
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.createDomainMapping(request, options, callback);
Expand Down Expand Up @@ -747,7 +747,7 @@ export class DomainMappingsClient {
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.updateDomainMapping(request, options, callback);
Expand Down Expand Up @@ -888,7 +888,7 @@ export class DomainMappingsClient {
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.deleteDomainMapping(request, options, callback);
Expand Down Expand Up @@ -1015,7 +1015,7 @@ export class DomainMappingsClient {
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.listDomainMappings(request, options, callback);
Expand Down Expand Up @@ -1053,7 +1053,7 @@ export class DomainMappingsClient {
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['listDomainMappings'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -1100,7 +1100,7 @@ export class DomainMappingsClient {
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['listDomainMappings'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
16 changes: 8 additions & 8 deletions src/v1/firewall_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export class FirewallClient {
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.batchUpdateIngressRules(
Expand Down Expand Up @@ -537,7 +537,7 @@ export class FirewallClient {
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.createIngressRule(request, options, callback);
Expand Down Expand Up @@ -621,7 +621,7 @@ export class FirewallClient {
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.getIngressRule(request, options, callback);
Expand Down Expand Up @@ -711,7 +711,7 @@ export class FirewallClient {
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.updateIngressRule(request, options, callback);
Expand Down Expand Up @@ -797,7 +797,7 @@ export class FirewallClient {
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.deleteIngressRule(request, options, callback);
Expand Down Expand Up @@ -895,7 +895,7 @@ export class FirewallClient {
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.listIngressRules(request, options, callback);
Expand Down Expand Up @@ -938,7 +938,7 @@ export class FirewallClient {
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['listIngressRules'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -990,7 +990,7 @@ export class FirewallClient {
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['listIngressRules'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
12 changes: 6 additions & 6 deletions src/v1/instances_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export class InstancesClient {
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.getInstance(request, options, callback);
Expand Down Expand Up @@ -591,7 +591,7 @@ export class InstancesClient {
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.deleteInstance(request, options, callback);
Expand Down Expand Up @@ -745,7 +745,7 @@ export class InstancesClient {
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.debugInstance(request, options, callback);
Expand Down Expand Up @@ -874,7 +874,7 @@ export class InstancesClient {
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.listInstances(request, options, callback);
Expand Down Expand Up @@ -913,7 +913,7 @@ export class InstancesClient {
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['listInstances'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -961,7 +961,7 @@ export class InstancesClient {
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['listInstances'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
12 changes: 6 additions & 6 deletions src/v1/services_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export class ServicesClient {
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.getService(request, options, callback);
Expand Down Expand Up @@ -596,7 +596,7 @@ export class ServicesClient {
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.updateService(request, options, callback);
Expand Down Expand Up @@ -734,7 +734,7 @@ export class ServicesClient {
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.deleteService(request, options, callback);
Expand Down Expand Up @@ -859,7 +859,7 @@ export class ServicesClient {
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.listServices(request, options, callback);
Expand Down Expand Up @@ -897,7 +897,7 @@ export class ServicesClient {
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['listServices'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -944,7 +944,7 @@ export class ServicesClient {
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['listServices'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
Loading