Skip to content

Commit 9c1a805

Browse files
feat: [cloudchannel] Add support for ListSkuGroups and ListSkuGroupBillableSkus 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=
1 parent e2f7dc3 commit 9c1a805

File tree

36 files changed

+9987
-409
lines changed

36 files changed

+9987
-409
lines changed

java-channel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.16.0</version>
23+
<version>26.17.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>

java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java

Lines changed: 607 additions & 0 deletions
Large diffs are not rendered by default.

java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListProductsPagedResponse;
2727
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableOffersPagedResponse;
2828
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableSkusPagedResponse;
29+
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupBillableSkusPagedResponse;
30+
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupsPagedResponse;
2931
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkusPagedResponse;
3032
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSubscribersPagedResponse;
3133
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableOffersPagedResponse;
@@ -402,6 +404,21 @@ public UnaryCallSettings<TransferEntitlementsRequest, Operation> transferEntitle
402404
.deleteChannelPartnerRepricingConfigSettings();
403405
}
404406

407+
/** Returns the object with the settings used for calls to listSkuGroups. */
408+
public PagedCallSettings<ListSkuGroupsRequest, ListSkuGroupsResponse, ListSkuGroupsPagedResponse>
409+
listSkuGroupsSettings() {
410+
return ((CloudChannelServiceStubSettings) getStubSettings()).listSkuGroupsSettings();
411+
}
412+
413+
/** Returns the object with the settings used for calls to listSkuGroupBillableSkus. */
414+
public PagedCallSettings<
415+
ListSkuGroupBillableSkusRequest,
416+
ListSkuGroupBillableSkusResponse,
417+
ListSkuGroupBillableSkusPagedResponse>
418+
listSkuGroupBillableSkusSettings() {
419+
return ((CloudChannelServiceStubSettings) getStubSettings()).listSkuGroupBillableSkusSettings();
420+
}
421+
405422
/** Returns the object with the settings used for calls to lookupOffer. */
406423
public UnaryCallSettings<LookupOfferRequest, Offer> lookupOfferSettings() {
407424
return ((CloudChannelServiceStubSettings) getStubSettings()).lookupOfferSettings();
@@ -891,6 +908,22 @@ public UnaryCallSettings.Builder<ChangeOfferRequest, Operation> changeOfferSetti
891908
return getStubSettingsBuilder().deleteChannelPartnerRepricingConfigSettings();
892909
}
893910

911+
/** Returns the builder for the settings used for calls to listSkuGroups. */
912+
public PagedCallSettings.Builder<
913+
ListSkuGroupsRequest, ListSkuGroupsResponse, ListSkuGroupsPagedResponse>
914+
listSkuGroupsSettings() {
915+
return getStubSettingsBuilder().listSkuGroupsSettings();
916+
}
917+
918+
/** Returns the builder for the settings used for calls to listSkuGroupBillableSkus. */
919+
public PagedCallSettings.Builder<
920+
ListSkuGroupBillableSkusRequest,
921+
ListSkuGroupBillableSkusResponse,
922+
ListSkuGroupBillableSkusPagedResponse>
923+
listSkuGroupBillableSkusSettings() {
924+
return getStubSettingsBuilder().listSkuGroupBillableSkusSettings();
925+
}
926+
894927
/** Returns the builder for the settings used for calls to lookupOffer. */
895928
public UnaryCallSettings.Builder<LookupOfferRequest, Offer> lookupOfferSettings() {
896929
return getStubSettingsBuilder().lookupOfferSettings();

java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@
118118
"ListPurchasableSkus": {
119119
"methods": ["listPurchasableSkus", "listPurchasableSkusPagedCallable", "listPurchasableSkusCallable"]
120120
},
121+
"ListSkuGroupBillableSkus": {
122+
"methods": ["listSkuGroupBillableSkus", "listSkuGroupBillableSkus", "listSkuGroupBillableSkus", "listSkuGroupBillableSkusPagedCallable", "listSkuGroupBillableSkusCallable"]
123+
},
124+
"ListSkuGroups": {
125+
"methods": ["listSkuGroups", "listSkuGroups", "listSkuGroupsPagedCallable", "listSkuGroupsCallable"]
126+
},
121127
"ListSkus": {
122128
"methods": ["listSkus", "listSkusPagedCallable", "listSkusCallable"]
123129
},

java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListProductsPagedResponse;
2727
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableOffersPagedResponse;
2828
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListPurchasableSkusPagedResponse;
29+
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupBillableSkusPagedResponse;
30+
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkuGroupsPagedResponse;
2931
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSkusPagedResponse;
3032
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListSubscribersPagedResponse;
3133
import static com.google.cloud.channel.v1.CloudChannelServiceClient.ListTransferableOffersPagedResponse;
@@ -80,6 +82,10 @@
8082
import com.google.cloud.channel.v1.ListPurchasableOffersResponse;
8183
import com.google.cloud.channel.v1.ListPurchasableSkusRequest;
8284
import com.google.cloud.channel.v1.ListPurchasableSkusResponse;
85+
import com.google.cloud.channel.v1.ListSkuGroupBillableSkusRequest;
86+
import com.google.cloud.channel.v1.ListSkuGroupBillableSkusResponse;
87+
import com.google.cloud.channel.v1.ListSkuGroupsRequest;
88+
import com.google.cloud.channel.v1.ListSkuGroupsResponse;
8389
import com.google.cloud.channel.v1.ListSkusRequest;
8490
import com.google.cloud.channel.v1.ListSkusResponse;
8591
import com.google.cloud.channel.v1.ListSubscribersRequest;
@@ -410,6 +416,26 @@ public UnaryCallable<TransferEntitlementsRequest, Operation> transferEntitlement
410416
"Not implemented: deleteChannelPartnerRepricingConfigCallable()");
411417
}
412418

419+
public UnaryCallable<ListSkuGroupsRequest, ListSkuGroupsPagedResponse>
420+
listSkuGroupsPagedCallable() {
421+
throw new UnsupportedOperationException("Not implemented: listSkuGroupsPagedCallable()");
422+
}
423+
424+
public UnaryCallable<ListSkuGroupsRequest, ListSkuGroupsResponse> listSkuGroupsCallable() {
425+
throw new UnsupportedOperationException("Not implemented: listSkuGroupsCallable()");
426+
}
427+
428+
public UnaryCallable<ListSkuGroupBillableSkusRequest, ListSkuGroupBillableSkusPagedResponse>
429+
listSkuGroupBillableSkusPagedCallable() {
430+
throw new UnsupportedOperationException(
431+
"Not implemented: listSkuGroupBillableSkusPagedCallable()");
432+
}
433+
434+
public UnaryCallable<ListSkuGroupBillableSkusRequest, ListSkuGroupBillableSkusResponse>
435+
listSkuGroupBillableSkusCallable() {
436+
throw new UnsupportedOperationException("Not implemented: listSkuGroupBillableSkusCallable()");
437+
}
438+
413439
public UnaryCallable<LookupOfferRequest, Offer> lookupOfferCallable() {
414440
throw new UnsupportedOperationException("Not implemented: lookupOfferCallable()");
415441
}

0 commit comments

Comments
 (0)