Skip to content

Commit

Permalink
feat: [cloudchannel] Add support for ListSkuGroups and ListSkuGroupBi…
Browse files Browse the repository at this point in the history
…llableSkus APIs in Cloud Channel APIs (#9548)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 540624759

Source-Link: https://togithub.com/googleapis/googleapis/commit/7f2c9d158ac679bbf84fa110c9e6da692b8f9b9d

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/2ed2d95b6255d0a33ecd961af6c9ca8b02cd8e03
Copy-Tag: eyJwIjoiamF2YS1jaGFubmVsLy5Pd2xCb3QueWFtbCIsImgiOiIyZWQyZDk1YjYyNTVkMGEzM2VjZDk2MWFmNmM5Y2E4YjAyY2Q4ZTAzIn0=
  • Loading branch information
gcf-owl-bot[bot] committed Jun 22, 2023
1 parent e2f7dc3 commit 9c1a805
Show file tree
Hide file tree
Showing 36 changed files with 9,987 additions and 409 deletions.
2 changes: 1 addition & 1 deletion java-channel/README.md
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.17.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -26,6 +26,8 @@
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListProductsPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableOffersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupBillableSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupsPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSubscribersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableOffersPagedResponse;
Expand Down Expand Up @@ -402,6 +404,21 @@ public UnaryCallSettings<TransferEntitlementsRequest, Operation> transferEntitle
.deleteChannelPartnerRepricingConfigSettings();
}

/** Returns the object with the settings used for calls to listSkuGroups. */
public PagedCallSettings<ListSkuGroupsRequest, ListSkuGroupsResponse, ListSkuGroupsPagedResponse>
listSkuGroupsSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listSkuGroupsSettings();
}

/** Returns the object with the settings used for calls to listSkuGroupBillableSkus. */
public PagedCallSettings<
ListSkuGroupBillableSkusRequest,
ListSkuGroupBillableSkusResponse,
ListSkuGroupBillableSkusPagedResponse>
listSkuGroupBillableSkusSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).listSkuGroupBillableSkusSettings();
}

/** Returns the object with the settings used for calls to lookupOffer. */
public UnaryCallSettings<LookupOfferRequest, Offer> lookupOfferSettings() {
return ((CloudChannelServiceStubSettings) getStubSettings()).lookupOfferSettings();
Expand Down Expand Up @@ -891,6 +908,22 @@ public UnaryCallSettings.Builder<ChangeOfferRequest, Operation> changeOfferSetti
return getStubSettingsBuilder().deleteChannelPartnerRepricingConfigSettings();
}

/** Returns the builder for the settings used for calls to listSkuGroups. */
public PagedCallSettings.Builder<
ListSkuGroupsRequest, ListSkuGroupsResponse, ListSkuGroupsPagedResponse>
listSkuGroupsSettings() {
return getStubSettingsBuilder().listSkuGroupsSettings();
}

/** Returns the builder for the settings used for calls to listSkuGroupBillableSkus. */
public PagedCallSettings.Builder<
ListSkuGroupBillableSkusRequest,
ListSkuGroupBillableSkusResponse,
ListSkuGroupBillableSkusPagedResponse>
listSkuGroupBillableSkusSettings() {
return getStubSettingsBuilder().listSkuGroupBillableSkusSettings();
}

/** Returns the builder for the settings used for calls to lookupOffer. */
public UnaryCallSettings.Builder<LookupOfferRequest, Offer> lookupOfferSettings() {
return getStubSettingsBuilder().lookupOfferSettings();
Expand Down
Expand Up @@ -118,6 +118,12 @@
"ListPurchasableSkus": {
"methods": ["listPurchasableSkus", "listPurchasableSkusPagedCallable", "listPurchasableSkusCallable"]
},
"ListSkuGroupBillableSkus": {
"methods": ["listSkuGroupBillableSkus", "listSkuGroupBillableSkus", "listSkuGroupBillableSkus", "listSkuGroupBillableSkusPagedCallable", "listSkuGroupBillableSkusCallable"]
},
"ListSkuGroups": {
"methods": ["listSkuGroups", "listSkuGroups", "listSkuGroupsPagedCallable", "listSkuGroupsCallable"]
},
"ListSkus": {
"methods": ["listSkus", "listSkusPagedCallable", "listSkusCallable"]
},
Expand Down
Expand Up @@ -26,6 +26,8 @@
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListProductsPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableOffersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupBillableSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupsPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkusPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSubscribersPagedResponse;
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableOffersPagedResponse;
Expand Down Expand Up @@ -80,6 +82,10 @@
import com.google.cloud.channel.v1.ListPurchasableOffersResponse;
import com.google.cloud.channel.v1.ListPurchasableSkusRequest;
import com.google.cloud.channel.v1.ListPurchasableSkusResponse;
import com.google.cloud.channel.v1.ListSkuGroupBillableSkusRequest;
import com.google.cloud.channel.v1.ListSkuGroupBillableSkusResponse;
import com.google.cloud.channel.v1.ListSkuGroupsRequest;
import com.google.cloud.channel.v1.ListSkuGroupsResponse;
import com.google.cloud.channel.v1.ListSkusRequest;
import com.google.cloud.channel.v1.ListSkusResponse;
import com.google.cloud.channel.v1.ListSubscribersRequest;
Expand Down Expand Up @@ -410,6 +416,26 @@ public UnaryCallable<TransferEntitlementsRequest, Operation> transferEntitlement
"Not implemented: deleteChannelPartnerRepricingConfigCallable()");
}

public UnaryCallable<ListSkuGroupsRequest, ListSkuGroupsPagedResponse>
listSkuGroupsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listSkuGroupsPagedCallable()");
}

public UnaryCallable<ListSkuGroupsRequest, ListSkuGroupsResponse> listSkuGroupsCallable() {
throw new UnsupportedOperationException("Not implemented: listSkuGroupsCallable()");
}

public UnaryCallable<ListSkuGroupBillableSkusRequest, ListSkuGroupBillableSkusPagedResponse>
listSkuGroupBillableSkusPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listSkuGroupBillableSkusPagedCallable()");
}

public UnaryCallable<ListSkuGroupBillableSkusRequest, ListSkuGroupBillableSkusResponse>
listSkuGroupBillableSkusCallable() {
throw new UnsupportedOperationException("Not implemented: listSkuGroupBillableSkusCallable()");
}

public UnaryCallable<LookupOfferRequest, Offer> lookupOfferCallable() {
throw new UnsupportedOperationException("Not implemented: lookupOfferCallable()");
}
Expand Down

0 comments on commit 9c1a805

Please sign in to comment.