Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [Many APIs] add response types for async magic methods #7786

Merged
merged 2 commits into from
Nov 1, 2024
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
6 changes: 3 additions & 3 deletions Channel/src/V1/Client/CloudChannelReportsServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
*
* @deprecated This class will be removed in the next major version update.
*
* @method PromiseInterface fetchReportResultsAsync(FetchReportResultsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listReportsAsync(ListReportsRequest $request, array $optionalArgs = [])
* @method PromiseInterface runReportJobAsync(RunReportJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> fetchReportResultsAsync(FetchReportResultsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listReportsAsync(ListReportsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> runReportJobAsync(RunReportJobRequest $request, array $optionalArgs = [])
*/
final class CloudChannelReportsServiceClient
{
Expand Down
98 changes: 49 additions & 49 deletions Channel/src/V1/Client/CloudChannelServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,55 +129,55 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface activateEntitlementAsync(ActivateEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface cancelEntitlementAsync(CancelEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface changeOfferAsync(ChangeOfferRequest $request, array $optionalArgs = [])
* @method PromiseInterface changeParametersAsync(ChangeParametersRequest $request, array $optionalArgs = [])
* @method PromiseInterface changeRenewalSettingsAsync(ChangeRenewalSettingsRequest $request, array $optionalArgs = [])
* @method PromiseInterface checkCloudIdentityAccountsExistAsync(CheckCloudIdentityAccountsExistRequest $request, array $optionalArgs = [])
* @method PromiseInterface createChannelPartnerLinkAsync(CreateChannelPartnerLinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface createChannelPartnerRepricingConfigAsync(CreateChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface createCustomerAsync(CreateCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface createCustomerRepricingConfigAsync(CreateCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface createEntitlementAsync(CreateEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteChannelPartnerRepricingConfigAsync(DeleteChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteCustomerAsync(DeleteCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteCustomerRepricingConfigAsync(DeleteCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface getChannelPartnerLinkAsync(GetChannelPartnerLinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface getChannelPartnerRepricingConfigAsync(GetChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface getCustomerAsync(GetCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface getCustomerRepricingConfigAsync(GetCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface getEntitlementAsync(GetEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface importCustomerAsync(ImportCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface listChannelPartnerLinksAsync(ListChannelPartnerLinksRequest $request, array $optionalArgs = [])
* @method PromiseInterface listChannelPartnerRepricingConfigsAsync(ListChannelPartnerRepricingConfigsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listCustomerRepricingConfigsAsync(ListCustomerRepricingConfigsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listCustomersAsync(ListCustomersRequest $request, array $optionalArgs = [])
* @method PromiseInterface listEntitlementChangesAsync(ListEntitlementChangesRequest $request, array $optionalArgs = [])
* @method PromiseInterface listEntitlementsAsync(ListEntitlementsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listOffersAsync(ListOffersRequest $request, array $optionalArgs = [])
* @method PromiseInterface listProductsAsync(ListProductsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listPurchasableOffersAsync(ListPurchasableOffersRequest $request, array $optionalArgs = [])
* @method PromiseInterface listPurchasableSkusAsync(ListPurchasableSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface listSkuGroupBillableSkusAsync(ListSkuGroupBillableSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface listSkuGroupsAsync(ListSkuGroupsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listSkusAsync(ListSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface listSubscribersAsync(ListSubscribersRequest $request, array $optionalArgs = [])
* @method PromiseInterface listTransferableOffersAsync(ListTransferableOffersRequest $request, array $optionalArgs = [])
* @method PromiseInterface listTransferableSkusAsync(ListTransferableSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface lookupOfferAsync(LookupOfferRequest $request, array $optionalArgs = [])
* @method PromiseInterface provisionCloudIdentityAsync(ProvisionCloudIdentityRequest $request, array $optionalArgs = [])
* @method PromiseInterface queryEligibleBillingAccountsAsync(QueryEligibleBillingAccountsRequest $request, array $optionalArgs = [])
* @method PromiseInterface registerSubscriberAsync(RegisterSubscriberRequest $request, array $optionalArgs = [])
* @method PromiseInterface startPaidServiceAsync(StartPaidServiceRequest $request, array $optionalArgs = [])
* @method PromiseInterface suspendEntitlementAsync(SuspendEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface transferEntitlementsAsync(TransferEntitlementsRequest $request, array $optionalArgs = [])
* @method PromiseInterface transferEntitlementsToGoogleAsync(TransferEntitlementsToGoogleRequest $request, array $optionalArgs = [])
* @method PromiseInterface unregisterSubscriberAsync(UnregisterSubscriberRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateChannelPartnerLinkAsync(UpdateChannelPartnerLinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateChannelPartnerRepricingConfigAsync(UpdateChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateCustomerAsync(UpdateCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateCustomerRepricingConfigAsync(UpdateCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> activateEntitlementAsync(ActivateEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> cancelEntitlementAsync(CancelEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> changeOfferAsync(ChangeOfferRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> changeParametersAsync(ChangeParametersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> changeRenewalSettingsAsync(ChangeRenewalSettingsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<CheckCloudIdentityAccountsExistResponse> checkCloudIdentityAccountsExistAsync(CheckCloudIdentityAccountsExistRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ChannelPartnerLink> createChannelPartnerLinkAsync(CreateChannelPartnerLinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ChannelPartnerRepricingConfig> createChannelPartnerRepricingConfigAsync(CreateChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Customer> createCustomerAsync(CreateCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface<CustomerRepricingConfig> createCustomerRepricingConfigAsync(CreateCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> createEntitlementAsync(CreateEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteChannelPartnerRepricingConfigAsync(DeleteChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteCustomerAsync(DeleteCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteCustomerRepricingConfigAsync(DeleteCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ChannelPartnerLink> getChannelPartnerLinkAsync(GetChannelPartnerLinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ChannelPartnerRepricingConfig> getChannelPartnerRepricingConfigAsync(GetChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Customer> getCustomerAsync(GetCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface<CustomerRepricingConfig> getCustomerRepricingConfigAsync(GetCustomerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Entitlement> getEntitlementAsync(GetEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Customer> importCustomerAsync(ImportCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listChannelPartnerLinksAsync(ListChannelPartnerLinksRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listChannelPartnerRepricingConfigsAsync(ListChannelPartnerRepricingConfigsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listCustomerRepricingConfigsAsync(ListCustomerRepricingConfigsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listCustomersAsync(ListCustomersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listEntitlementChangesAsync(ListEntitlementChangesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listEntitlementsAsync(ListEntitlementsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listOffersAsync(ListOffersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listProductsAsync(ListProductsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listPurchasableOffersAsync(ListPurchasableOffersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listPurchasableSkusAsync(ListPurchasableSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listSkuGroupBillableSkusAsync(ListSkuGroupBillableSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listSkuGroupsAsync(ListSkuGroupsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listSkusAsync(ListSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listSubscribersAsync(ListSubscribersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listTransferableOffersAsync(ListTransferableOffersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listTransferableSkusAsync(ListTransferableSkusRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Offer> lookupOfferAsync(LookupOfferRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> provisionCloudIdentityAsync(ProvisionCloudIdentityRequest $request, array $optionalArgs = [])
* @method PromiseInterface<QueryEligibleBillingAccountsResponse> queryEligibleBillingAccountsAsync(QueryEligibleBillingAccountsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<RegisterSubscriberResponse> registerSubscriberAsync(RegisterSubscriberRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> startPaidServiceAsync(StartPaidServiceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> suspendEntitlementAsync(SuspendEntitlementRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> transferEntitlementsAsync(TransferEntitlementsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> transferEntitlementsToGoogleAsync(TransferEntitlementsToGoogleRequest $request, array $optionalArgs = [])
* @method PromiseInterface<UnregisterSubscriberResponse> unregisterSubscriberAsync(UnregisterSubscriberRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ChannelPartnerLink> updateChannelPartnerLinkAsync(UpdateChannelPartnerLinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ChannelPartnerRepricingConfig> updateChannelPartnerRepricingConfigAsync(UpdateChannelPartnerRepricingConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Customer> updateCustomerAsync(UpdateCustomerRequest $request, array $optionalArgs = [])
* @method PromiseInterface<CustomerRepricingConfig> updateCustomerRepricingConfigAsync(UpdateCustomerRepricingConfigRequest $request, array $optionalArgs = [])
*/
final class CloudChannelServiceClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface cancelOrderAsync(CancelOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface getOrderAsync(GetOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface listOrdersAsync(ListOrdersRequest $request, array $optionalArgs = [])
* @method PromiseInterface modifyOrderAsync(ModifyOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface placeOrderAsync(PlaceOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> cancelOrderAsync(CancelOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Order> getOrderAsync(GetOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listOrdersAsync(ListOrdersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> modifyOrderAsync(ModifyOrderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> placeOrderAsync(PlaceOrderRequest $request, array $optionalArgs = [])
*/
final class ConsumerProcurementServiceClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface assignAsync(AssignRequest $request, array $optionalArgs = [])
* @method PromiseInterface enumerateLicensedUsersAsync(EnumerateLicensedUsersRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLicensePoolAsync(GetLicensePoolRequest $request, array $optionalArgs = [])
* @method PromiseInterface unassignAsync(UnassignRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateLicensePoolAsync(UpdateLicensePoolRequest $request, array $optionalArgs = [])
* @method PromiseInterface<AssignResponse> assignAsync(AssignRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> enumerateLicensedUsersAsync(EnumerateLicensedUsersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<LicensePool> getLicensePoolAsync(GetLicensePoolRequest $request, array $optionalArgs = [])
* @method PromiseInterface<UnassignResponse> unassignAsync(UnassignRequest $request, array $optionalArgs = [])
* @method PromiseInterface<LicensePool> updateLicensePoolAsync(UpdateLicensePoolRequest $request, array $optionalArgs = [])
*/
final class LicenseManagementServiceClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface createChallengeAsync(CreateChallengeRequest $request, array $optionalArgs = [])
* @method PromiseInterface verifyAttestationAsync(VerifyAttestationRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Challenge> createChallengeAsync(CreateChallengeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<VerifyAttestationResponse> verifyAttestationAsync(VerifyAttestationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Location> getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
*/
final class ConfidentialComputingClient
{
Expand Down
Loading
Loading