Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: make request optional in all cases (#458)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 380641501
  • Loading branch information
gcf-owl-bot[bot] committed Jun 25, 2021
1 parent 0fd7b0f commit f1e43fa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions src/v1/os_login_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class OsLoginServiceClient {
// -- Service calls --
// -------------------
deletePosixAccount(
request: protos.google.cloud.oslogin.v1.IDeletePosixAccountRequest,
request?: protos.google.cloud.oslogin.v1.IDeletePosixAccountRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -344,7 +344,7 @@ export class OsLoginServiceClient {
* const [response] = await client.deletePosixAccount(request);
*/
deletePosixAccount(
request: protos.google.cloud.oslogin.v1.IDeletePosixAccountRequest,
request?: protos.google.cloud.oslogin.v1.IDeletePosixAccountRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -387,7 +387,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.deletePosixAccount(request, options, callback);
}
deleteSshPublicKey(
request: protos.google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -437,7 +437,7 @@ export class OsLoginServiceClient {
* const [response] = await client.deleteSshPublicKey(request);
*/
deleteSshPublicKey(
request: protos.google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IDeleteSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -480,7 +480,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.deleteSshPublicKey(request, options, callback);
}
getLoginProfile(
request: protos.google.cloud.oslogin.v1.IGetLoginProfileRequest,
request?: protos.google.cloud.oslogin.v1.IGetLoginProfileRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -529,7 +529,7 @@ export class OsLoginServiceClient {
* const [response] = await client.getLoginProfile(request);
*/
getLoginProfile(
request: protos.google.cloud.oslogin.v1.IGetLoginProfileRequest,
request?: protos.google.cloud.oslogin.v1.IGetLoginProfileRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -570,7 +570,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.getLoginProfile(request, options, callback);
}
getSshPublicKey(
request: protos.google.cloud.oslogin.v1.IGetSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IGetSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -616,7 +616,7 @@ export class OsLoginServiceClient {
* const [response] = await client.getSshPublicKey(request);
*/
getSshPublicKey(
request: protos.google.cloud.oslogin.v1.IGetSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IGetSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -657,7 +657,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.getSshPublicKey(request, options, callback);
}
importSshPublicKey(
request: protos.google.cloud.oslogin.v1.IImportSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IImportSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -711,7 +711,7 @@ export class OsLoginServiceClient {
* const [response] = await client.importSshPublicKey(request);
*/
importSshPublicKey(
request: protos.google.cloud.oslogin.v1.IImportSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IImportSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -754,7 +754,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.importSshPublicKey(request, options, callback);
}
updateSshPublicKey(
request: protos.google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -809,7 +809,7 @@ export class OsLoginServiceClient {
* const [response] = await client.updateSshPublicKey(request);
*/
updateSshPublicKey(
request: protos.google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1.IUpdateSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down
24 changes: 12 additions & 12 deletions src/v1beta/os_login_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export class OsLoginServiceClient {
// -- Service calls --
// -------------------
deletePosixAccount(
request: protos.google.cloud.oslogin.v1beta.IDeletePosixAccountRequest,
request?: protos.google.cloud.oslogin.v1beta.IDeletePosixAccountRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -346,7 +346,7 @@ export class OsLoginServiceClient {
* const [response] = await client.deletePosixAccount(request);
*/
deletePosixAccount(
request: protos.google.cloud.oslogin.v1beta.IDeletePosixAccountRequest,
request?: protos.google.cloud.oslogin.v1beta.IDeletePosixAccountRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -389,7 +389,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.deletePosixAccount(request, options, callback);
}
deleteSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IDeleteSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IDeleteSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -439,7 +439,7 @@ export class OsLoginServiceClient {
* const [response] = await client.deleteSshPublicKey(request);
*/
deleteSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IDeleteSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IDeleteSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -482,7 +482,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.deleteSshPublicKey(request, options, callback);
}
getLoginProfile(
request: protos.google.cloud.oslogin.v1beta.IGetLoginProfileRequest,
request?: protos.google.cloud.oslogin.v1beta.IGetLoginProfileRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -535,7 +535,7 @@ export class OsLoginServiceClient {
* const [response] = await client.getLoginProfile(request);
*/
getLoginProfile(
request: protos.google.cloud.oslogin.v1beta.IGetLoginProfileRequest,
request?: protos.google.cloud.oslogin.v1beta.IGetLoginProfileRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -578,7 +578,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.getLoginProfile(request, options, callback);
}
getSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IGetSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IGetSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -628,7 +628,7 @@ export class OsLoginServiceClient {
* const [response] = await client.getSshPublicKey(request);
*/
getSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IGetSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IGetSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -671,7 +671,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.getSshPublicKey(request, options, callback);
}
importSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IImportSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IImportSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -725,7 +725,7 @@ export class OsLoginServiceClient {
* const [response] = await client.importSshPublicKey(request);
*/
importSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IImportSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IImportSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -768,7 +768,7 @@ export class OsLoginServiceClient {
return this.innerApiCalls.importSshPublicKey(request, options, callback);
}
updateSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IUpdateSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IUpdateSshPublicKeyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -823,7 +823,7 @@ export class OsLoginServiceClient {
* const [response] = await client.updateSshPublicKey(request);
*/
updateSshPublicKey(
request: protos.google.cloud.oslogin.v1beta.IUpdateSshPublicKeyRequest,
request?: protos.google.cloud.oslogin.v1beta.IUpdateSshPublicKeyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down

0 comments on commit f1e43fa

Please sign in to comment.