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

feat: [cloudchannel] Add support for ListSkuGroups and ListSkuGroupBillableSkus APIs in Cloud Channel APIs #9548

Merged
merged 2 commits into from
Jun 22, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions java-channel/README.md
Original file line number Diff line number Diff line change
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 Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-channel.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.22.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.23.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading