Skip to content

Commit

Permalink
fix: make request optional in all cases (#59)
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: googleapis/googleapis-gen@27e4c88
  • Loading branch information
gcf-owl-bot[bot] authored Jun 23, 2021
1 parent 8aa2c07 commit e4077bc
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export class ManagedIdentitiesServiceClient {
// -- Service calls --
// -------------------
resetAdminPassword(
request: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest,
request?: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -501,7 +501,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await client.resetAdminPassword(request);
*/
resetAdminPassword(
request: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest,
request?: protos.google.cloud.managedidentities.v1.IResetAdminPasswordRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -547,7 +547,7 @@ export class ManagedIdentitiesServiceClient {
return this.innerApiCalls.resetAdminPassword(request, options, callback);
}
getDomain(
request: protos.google.cloud.managedidentities.v1.IGetDomainRequest,
request?: protos.google.cloud.managedidentities.v1.IGetDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -596,7 +596,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await client.getDomain(request);
*/
getDomain(
request: protos.google.cloud.managedidentities.v1.IGetDomainRequest,
request?: protos.google.cloud.managedidentities.v1.IGetDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -640,7 +640,7 @@ export class ManagedIdentitiesServiceClient {
}

createMicrosoftAdDomain(
request: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest,
request?: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -712,7 +712,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
createMicrosoftAdDomain(
request: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest,
request?: protos.google.cloud.managedidentities.v1.ICreateMicrosoftAdDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -801,7 +801,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
updateDomain(
request: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest,
request?: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -865,7 +865,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
updateDomain(
request: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest,
request?: protos.google.cloud.managedidentities.v1.IUpdateDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -950,7 +950,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
deleteDomain(
request: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest,
request?: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1007,7 +1007,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
deleteDomain(
request: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest,
request?: protos.google.cloud.managedidentities.v1.IDeleteDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1092,7 +1092,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
attachTrust(
request: protos.google.cloud.managedidentities.v1.IAttachTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IAttachTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1151,7 +1151,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
attachTrust(
request: protos.google.cloud.managedidentities.v1.IAttachTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IAttachTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1236,7 +1236,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
reconfigureTrust(
request: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1299,7 +1299,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
reconfigureTrust(
request: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IReconfigureTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1384,7 +1384,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
detachTrust(
request: protos.google.cloud.managedidentities.v1.IDetachTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IDetachTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1443,7 +1443,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
detachTrust(
request: protos.google.cloud.managedidentities.v1.IDetachTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IDetachTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1528,7 +1528,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
validateTrust(
request: protos.google.cloud.managedidentities.v1.IValidateTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IValidateTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1588,7 +1588,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
validateTrust(
request: protos.google.cloud.managedidentities.v1.IValidateTrustRequest,
request?: protos.google.cloud.managedidentities.v1.IValidateTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1673,7 +1673,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
listDomains(
request: protos.google.cloud.managedidentities.v1.IListDomainsRequest,
request?: protos.google.cloud.managedidentities.v1.IListDomainsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1743,7 +1743,7 @@ export class ManagedIdentitiesServiceClient {
* for more details and examples.
*/
listDomains(
request: protos.google.cloud.managedidentities.v1.IListDomainsRequest,
request?: protos.google.cloud.managedidentities.v1.IListDomainsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export class ManagedIdentitiesServiceClient {
// -- Service calls --
// -------------------
resetAdminPassword(
request: protos.google.cloud.managedidentities.v1beta1.IResetAdminPasswordRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IResetAdminPasswordRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -453,7 +453,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await client.resetAdminPassword(request);
*/
resetAdminPassword(
request: protos.google.cloud.managedidentities.v1beta1.IResetAdminPasswordRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IResetAdminPasswordRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -499,7 +499,7 @@ export class ManagedIdentitiesServiceClient {
return this.innerApiCalls.resetAdminPassword(request, options, callback);
}
getDomain(
request: protos.google.cloud.managedidentities.v1beta1.IGetDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IGetDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -551,7 +551,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await client.getDomain(request);
*/
getDomain(
request: protos.google.cloud.managedidentities.v1beta1.IGetDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IGetDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -598,7 +598,7 @@ export class ManagedIdentitiesServiceClient {
}

createMicrosoftAdDomain(
request: protos.google.cloud.managedidentities.v1beta1.ICreateMicrosoftAdDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.ICreateMicrosoftAdDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -668,7 +668,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
createMicrosoftAdDomain(
request: protos.google.cloud.managedidentities.v1beta1.ICreateMicrosoftAdDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.ICreateMicrosoftAdDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -757,7 +757,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
updateDomain(
request: protos.google.cloud.managedidentities.v1beta1.IUpdateDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IUpdateDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -821,7 +821,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
updateDomain(
request: protos.google.cloud.managedidentities.v1beta1.IUpdateDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IUpdateDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -906,7 +906,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
deleteDomain(
request: protos.google.cloud.managedidentities.v1beta1.IDeleteDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IDeleteDomainRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -963,7 +963,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
deleteDomain(
request: protos.google.cloud.managedidentities.v1beta1.IDeleteDomainRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IDeleteDomainRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1048,7 +1048,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
attachTrust(
request: protos.google.cloud.managedidentities.v1beta1.IAttachTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IAttachTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1107,7 +1107,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
attachTrust(
request: protos.google.cloud.managedidentities.v1beta1.IAttachTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IAttachTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1192,7 +1192,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
reconfigureTrust(
request: protos.google.cloud.managedidentities.v1beta1.IReconfigureTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IReconfigureTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1255,7 +1255,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
reconfigureTrust(
request: protos.google.cloud.managedidentities.v1beta1.IReconfigureTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IReconfigureTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1340,7 +1340,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
detachTrust(
request: protos.google.cloud.managedidentities.v1beta1.IDetachTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IDetachTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1399,7 +1399,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
detachTrust(
request: protos.google.cloud.managedidentities.v1beta1.IDetachTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IDetachTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1484,7 +1484,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
validateTrust(
request: protos.google.cloud.managedidentities.v1beta1.IValidateTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IValidateTrustRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1544,7 +1544,7 @@ export class ManagedIdentitiesServiceClient {
* const [response] = await operation.promise();
*/
validateTrust(
request: protos.google.cloud.managedidentities.v1beta1.IValidateTrustRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IValidateTrustRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1629,7 +1629,7 @@ export class ManagedIdentitiesServiceClient {
>;
}
listDomains(
request: protos.google.cloud.managedidentities.v1beta1.IListDomainsRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IListDomainsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1699,7 +1699,7 @@ export class ManagedIdentitiesServiceClient {
* for more details and examples.
*/
listDomains(
request: protos.google.cloud.managedidentities.v1beta1.IListDomainsRequest,
request?: protos.google.cloud.managedidentities.v1beta1.IListDomainsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit e4077bc

Please sign in to comment.