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
18 changes: 9 additions & 9 deletions src/v1/binauthz_management_service_v1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export class BinauthzManagementServiceV1Client {
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.getPolicy(request, options, callback);
Expand Down Expand Up @@ -544,7 +544,7 @@ export class BinauthzManagementServiceV1Client {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'policy.name': request.policy!.name || '',
'policy.name': request.policy!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updatePolicy(request, options, callback);
Expand Down Expand Up @@ -650,7 +650,7 @@ export class BinauthzManagementServiceV1Client {
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.createAttestor(request, options, callback);
Expand Down Expand Up @@ -749,7 +749,7 @@ export class BinauthzManagementServiceV1Client {
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.getAttestor(request, options, callback);
Expand Down Expand Up @@ -849,7 +849,7 @@ export class BinauthzManagementServiceV1Client {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'attestor.name': request.attestor!.name || '',
'attestor.name': request.attestor!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updateAttestor(request, options, callback);
Expand Down Expand Up @@ -948,7 +948,7 @@ export class BinauthzManagementServiceV1Client {
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.deleteAttestor(request, options, callback);
Expand Down Expand Up @@ -1052,7 +1052,7 @@ export class BinauthzManagementServiceV1Client {
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.listAttestors(request, options, callback);
Expand Down Expand Up @@ -1094,7 +1094,7 @@ export class BinauthzManagementServiceV1Client {
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['listAttestors'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -1145,7 +1145,7 @@ export class BinauthzManagementServiceV1Client {
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['listAttestors'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
2 changes: 1 addition & 1 deletion src/v1/system_policy_v1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export class SystemPolicyV1Client {
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.getSystemPolicy(request, options, callback);
Expand Down
2 changes: 1 addition & 1 deletion src/v1/validation_helper_v1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export class ValidationHelperV1Client {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
attestor: request.attestor || '',
attestor: request.attestor ?? '',
});
this.initialize();
return this.innerApiCalls.validateAttestationOccurrence(
Expand Down
18 changes: 9 additions & 9 deletions src/v1beta1/binauthz_management_service_v1_beta1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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.getPolicy(request, options, callback);
Expand Down Expand Up @@ -550,7 +550,7 @@ export class BinauthzManagementServiceV1Beta1Client {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'policy.name': request.policy!.name || '',
'policy.name': request.policy!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updatePolicy(request, options, callback);
Expand Down Expand Up @@ -656,7 +656,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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.createAttestor(request, options, callback);
Expand Down Expand Up @@ -755,7 +755,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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.getAttestor(request, options, callback);
Expand Down Expand Up @@ -855,7 +855,7 @@ export class BinauthzManagementServiceV1Beta1Client {
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
'attestor.name': request.attestor!.name || '',
'attestor.name': request.attestor!.name ?? '',
});
this.initialize();
return this.innerApiCalls.updateAttestor(request, options, callback);
Expand Down Expand Up @@ -954,7 +954,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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.deleteAttestor(request, options, callback);
Expand Down Expand Up @@ -1058,7 +1058,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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.listAttestors(request, options, callback);
Expand Down Expand Up @@ -1100,7 +1100,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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['listAttestors'];
const callSettings = defaultCallSettings.merge(options);
Expand Down Expand Up @@ -1151,7 +1151,7 @@ export class BinauthzManagementServiceV1Beta1Client {
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['listAttestors'];
const callSettings = defaultCallSettings.merge(options);
Expand Down
2 changes: 1 addition & 1 deletion src/v1beta1/system_policy_v1_beta1_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export class SystemPolicyV1Beta1Client {
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.getSystemPolicy(request, options, callback);
Expand Down
Loading