Skip to content

Commit

Permalink
fix(sts): update the API
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent 29f9992 commit 49e6aa7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 36 deletions.
18 changes: 6 additions & 12 deletions src/apis/sts/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,20 +256,14 @@ export namespace sts_v1 {
options:
| MethodOptions
| BodyResponseCallback<Schema$GoogleIdentityStsV1ExchangeTokenResponse>,
callback: BodyResponseCallback<
Schema$GoogleIdentityStsV1ExchangeTokenResponse
>
callback: BodyResponseCallback<Schema$GoogleIdentityStsV1ExchangeTokenResponse>
): void;
token(
params: Params$Resource$V1$Token,
callback: BodyResponseCallback<
Schema$GoogleIdentityStsV1ExchangeTokenResponse
>
callback: BodyResponseCallback<Schema$GoogleIdentityStsV1ExchangeTokenResponse>
): void;
token(
callback: BodyResponseCallback<
Schema$GoogleIdentityStsV1ExchangeTokenResponse
>
callback: BodyResponseCallback<Schema$GoogleIdentityStsV1ExchangeTokenResponse>
): void;
token(
paramsOrCallback?:
Expand Down Expand Up @@ -322,9 +316,9 @@ export namespace sts_v1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$GoogleIdentityStsV1ExchangeTokenResponse
>(parameters);
return createAPIRequest<Schema$GoogleIdentityStsV1ExchangeTokenResponse>(
parameters
);
}
}
}
Expand Down
34 changes: 10 additions & 24 deletions src/apis/sts/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,42 +265,28 @@ export namespace sts_v1beta {
params: Params$Resource$V1beta$Token,
options:
| MethodOptions
| BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>,
callback: BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>
| BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>,
callback: BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>
): void;
token(
params: Params$Resource$V1beta$Token,
callback: BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>
callback: BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>
): void;
token(
callback: BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>
callback: BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>
): void;
token(
paramsOrCallback?:
| Params$Resource$V1beta$Token
| BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>
| BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>
| BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>
| BodyResponseCallback<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>
| BodyResponseCallback<Readable>
):
| void
Expand Down Expand Up @@ -340,9 +326,9 @@ export namespace sts_v1beta {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$GoogleIdentityStsV1betaExchangeTokenResponse
>(parameters);
return createAPIRequest<Schema$GoogleIdentityStsV1betaExchangeTokenResponse>(
parameters
);
}
}
}
Expand Down

0 comments on commit 49e6aa7

Please sign in to comment.