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

Commit

Permalink
fix: make request optional in all cases (#269)
Browse files Browse the repository at this point in the history
... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0

Committer: @miraleung
PiperOrigin-RevId: 380641501

Source-Link: googleapis/googleapis@076f7e9

Source-Link: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892
  • Loading branch information
gcf-owl-bot[bot] authored Jun 22, 2021
1 parent 7884195 commit 99596db
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/v1/secret_manager_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export class SecretManagerServiceClient {
// -- Service calls --
// -------------------
createSecret(
request: protos.google.cloud.secretmanager.v1.ICreateSecretRequest,
request?: protos.google.cloud.secretmanager.v1.ICreateSecretRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -391,7 +391,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.createSecret(request);
*/
createSecret(
request: protos.google.cloud.secretmanager.v1.ICreateSecretRequest,
request?: protos.google.cloud.secretmanager.v1.ICreateSecretRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -434,7 +434,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.createSecret(request, options, callback);
}
addSecretVersion(
request: protos.google.cloud.secretmanager.v1.IAddSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IAddSecretVersionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -486,7 +486,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.addSecretVersion(request);
*/
addSecretVersion(
request: protos.google.cloud.secretmanager.v1.IAddSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IAddSecretVersionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -529,7 +529,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.addSecretVersion(request, options, callback);
}
getSecret(
request: protos.google.cloud.secretmanager.v1.IGetSecretRequest,
request?: protos.google.cloud.secretmanager.v1.IGetSecretRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -573,7 +573,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.getSecret(request);
*/
getSecret(
request: protos.google.cloud.secretmanager.v1.IGetSecretRequest,
request?: protos.google.cloud.secretmanager.v1.IGetSecretRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -614,7 +614,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.getSecret(request, options, callback);
}
updateSecret(
request: protos.google.cloud.secretmanager.v1.IUpdateSecretRequest,
request?: protos.google.cloud.secretmanager.v1.IUpdateSecretRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -664,7 +664,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.updateSecret(request);
*/
updateSecret(
request: protos.google.cloud.secretmanager.v1.IUpdateSecretRequest,
request?: protos.google.cloud.secretmanager.v1.IUpdateSecretRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -707,7 +707,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.updateSecret(request, options, callback);
}
deleteSecret(
request: protos.google.cloud.secretmanager.v1.IDeleteSecretRequest,
request?: protos.google.cloud.secretmanager.v1.IDeleteSecretRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -760,7 +760,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.deleteSecret(request);
*/
deleteSecret(
request: protos.google.cloud.secretmanager.v1.IDeleteSecretRequest,
request?: protos.google.cloud.secretmanager.v1.IDeleteSecretRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -803,7 +803,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.deleteSecret(request, options, callback);
}
getSecretVersion(
request: protos.google.cloud.secretmanager.v1.IGetSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IGetSecretVersionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -858,7 +858,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.getSecretVersion(request);
*/
getSecretVersion(
request: protos.google.cloud.secretmanager.v1.IGetSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IGetSecretVersionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -901,7 +901,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.getSecretVersion(request, options, callback);
}
accessSecretVersion(
request: protos.google.cloud.secretmanager.v1.IAccessSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IAccessSecretVersionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -959,7 +959,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.accessSecretVersion(request);
*/
accessSecretVersion(
request: protos.google.cloud.secretmanager.v1.IAccessSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IAccessSecretVersionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1005,7 +1005,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.accessSecretVersion(request, options, callback);
}
disableSecretVersion(
request: protos.google.cloud.secretmanager.v1.IDisableSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IDisableSecretVersionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1064,7 +1064,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.disableSecretVersion(request);
*/
disableSecretVersion(
request: protos.google.cloud.secretmanager.v1.IDisableSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IDisableSecretVersionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1110,7 +1110,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.disableSecretVersion(request, options, callback);
}
enableSecretVersion(
request: protos.google.cloud.secretmanager.v1.IEnableSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IEnableSecretVersionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1169,7 +1169,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.enableSecretVersion(request);
*/
enableSecretVersion(
request: protos.google.cloud.secretmanager.v1.IEnableSecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IEnableSecretVersionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1215,7 +1215,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.enableSecretVersion(request, options, callback);
}
destroySecretVersion(
request: protos.google.cloud.secretmanager.v1.IDestroySecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IDestroySecretVersionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1275,7 +1275,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.destroySecretVersion(request);
*/
destroySecretVersion(
request: protos.google.cloud.secretmanager.v1.IDestroySecretVersionRequest,
request?: protos.google.cloud.secretmanager.v1.IDestroySecretVersionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1321,7 +1321,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.destroySecretVersion(request, options, callback);
}
setIamPolicy(
request: protos.google.iam.v1.ISetIamPolicyRequest,
request?: protos.google.iam.v1.ISetIamPolicyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1375,7 +1375,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.setIamPolicy(request);
*/
setIamPolicy(
request: protos.google.iam.v1.ISetIamPolicyRequest,
request?: protos.google.iam.v1.ISetIamPolicyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1414,7 +1414,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.setIamPolicy(request, options, callback);
}
getIamPolicy(
request: protos.google.iam.v1.IGetIamPolicyRequest,
request?: protos.google.iam.v1.IGetIamPolicyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1463,7 +1463,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.getIamPolicy(request);
*/
getIamPolicy(
request: protos.google.iam.v1.IGetIamPolicyRequest,
request?: protos.google.iam.v1.IGetIamPolicyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1502,7 +1502,7 @@ export class SecretManagerServiceClient {
return this.innerApiCalls.getIamPolicy(request, options, callback);
}
testIamPermissions(
request: protos.google.iam.v1.ITestIamPermissionsRequest,
request?: protos.google.iam.v1.ITestIamPermissionsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1558,7 +1558,7 @@ export class SecretManagerServiceClient {
* const [response] = await client.testIamPermissions(request);
*/
testIamPermissions(
request: protos.google.iam.v1.ITestIamPermissionsRequest,
request?: protos.google.iam.v1.ITestIamPermissionsRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1598,7 +1598,7 @@ export class SecretManagerServiceClient {
}

listSecrets(
request: protos.google.cloud.secretmanager.v1.IListSecretsRequest,
request?: protos.google.cloud.secretmanager.v1.IListSecretsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1657,7 +1657,7 @@ export class SecretManagerServiceClient {
* for more details and examples.
*/
listSecrets(
request: protos.google.cloud.secretmanager.v1.IListSecretsRequest,
request?: protos.google.cloud.secretmanager.v1.IListSecretsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down Expand Up @@ -1801,7 +1801,7 @@ export class SecretManagerServiceClient {
) as AsyncIterable<protos.google.cloud.secretmanager.v1.ISecret>;
}
listSecretVersions(
request: protos.google.cloud.secretmanager.v1.IListSecretVersionsRequest,
request?: protos.google.cloud.secretmanager.v1.IListSecretVersionsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1862,7 +1862,7 @@ export class SecretManagerServiceClient {
* for more details and examples.
*/
listSecretVersions(
request: protos.google.cloud.secretmanager.v1.IListSecretVersionsRequest,
request?: protos.google.cloud.secretmanager.v1.IListSecretVersionsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit 99596db

Please sign in to comment.