Skip to content

Commit 4b07bac

Browse files
chore: regenerate paymentsresellersubscription client (googleapis#26422)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 48dbf2c commit 4b07bac

8 files changed

+69
-77
lines changed

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-paymentsresellersubscription</artifactId>
25-
<version>v1-rev20250302-2.0.0</version>
25+
<version>v1-rev20250312-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20250302-2.0.0'
38+
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20250312-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/PaymentsResellerSubscription.java

Lines changed: 48 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ public Products products() {
174174
public class Products {
175175

176176
/**
177-
* To retrieve the products that can be resold by the partner. It should be autenticated with a
178-
* service account. - This API doesn't apply to YouTube products currently.
177+
* Currently, it doesn't support **YouTube** products. Retrieves the products that can be resold by
178+
* the partner. It should be autenticated with a service account.
179179
*
180180
* Create a request for the method "products.list".
181181
*
@@ -200,8 +200,8 @@ public class List extends PaymentsResellerSubscriptionRequest<com.google.api.ser
200200
java.util.regex.Pattern.compile("^partners/[^/]+$");
201201

202202
/**
203-
* To retrieve the products that can be resold by the partner. It should be autenticated with a
204-
* service account. - This API doesn't apply to YouTube products currently.
203+
* Currently, it doesn't support **YouTube** products. Retrieves the products that can be resold
204+
* by the partner. It should be autenticated with a service account.
205205
*
206206
* Create a request for the method "products.list".
207207
*
@@ -430,8 +430,9 @@ public Promotions promotions() {
430430
public class Promotions {
431431

432432
/**
433-
* To find eligible promotions for the current user. The API requires user authorization via OAuth.
434-
* The bare minimum oauth scope `openid` is sufficient, which will skip the consent screen.
433+
* Currently, it is only enabeld for **YouTube**. Finds eligible promotions for the current user.
434+
* The API requires user authorization via OAuth. The bare minimum oauth scope `openid` is
435+
* sufficient, which will skip the consent screen.
435436
*
436437
* Create a request for the method "promotions.findEligible".
437438
*
@@ -457,8 +458,9 @@ public class FindEligible extends PaymentsResellerSubscriptionRequest<com.google
457458
java.util.regex.Pattern.compile("^partners/[^/]+$");
458459

459460
/**
460-
* To find eligible promotions for the current user. The API requires user authorization via
461-
* OAuth. The bare minimum oauth scope `openid` is sufficient, which will skip the consent screen.
461+
* Currently, it is only enabeld for **YouTube**. Finds eligible promotions for the current user.
462+
* The API requires user authorization via OAuth. The bare minimum oauth scope `openid` is
463+
* sufficient, which will skip the consent screen.
462464
*
463465
* Create a request for the method "promotions.findEligible".
464466
*
@@ -564,8 +566,8 @@ public FindEligible set(String parameterName, Object value) {
564566
}
565567
}
566568
/**
567-
* Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't
568-
* apply to YouTube promotions currently. It should be autenticated with a service account.
569+
* Currently, it doesn't support **YouTube** promotions. Retrieves the promotions, such as free
570+
* trial, that can be used by the partner. It should be autenticated with a service account.
569571
*
570572
* Create a request for the method "promotions.list".
571573
*
@@ -590,9 +592,8 @@ public class List extends PaymentsResellerSubscriptionRequest<com.google.api.ser
590592
java.util.regex.Pattern.compile("^partners/[^/]+$");
591593

592594
/**
593-
* Retrieves the promotions, such as free trial, that can be used by the partner. - This API
594-
* doesn't apply to YouTube promotions currently. It should be autenticated with a service
595-
* account.
595+
* Currently, it doesn't support **YouTube** promotions. Retrieves the promotions, such as free
596+
* trial, that can be used by the partner. It should be autenticated with a service account.
596597
*
597598
* Create a request for the method "promotions.list".
598599
*
@@ -824,9 +825,8 @@ public Subscriptions subscriptions() {
824825
public class Subscriptions {
825826

826827
/**
827-
* Used by partners to cancel a subscription service either immediately or by the end of the current
828-
* billing cycle for their customers. It should be called directly by the partner using service
829-
* accounts.
828+
* Cancels a subscription service either immediately or by the end of the current billing cycle for
829+
* their customers. It should be called directly by the partner using service accounts.
830830
*
831831
* Create a request for the method "subscriptions.cancel".
832832
*
@@ -853,9 +853,8 @@ public class Cancel extends PaymentsResellerSubscriptionRequest<com.google.api.s
853853
java.util.regex.Pattern.compile("^partners/[^/]+/subscriptions/[^/]+$");
854854

855855
/**
856-
* Used by partners to cancel a subscription service either immediately or by the end of the
857-
* current billing cycle for their customers. It should be called directly by the partner using
858-
* service accounts.
856+
* Cancels a subscription service either immediately or by the end of the current billing cycle
857+
* for their customers. It should be called directly by the partner using service accounts.
859858
*
860859
* Create a request for the method "subscriptions.cancel".
861860
*
@@ -1140,9 +1139,9 @@ public Create set(String parameterName, Object value) {
11401139
}
11411140
}
11421141
/**
1143-
* Used by partners to entitle a previously provisioned subscription to the current end user. The
1144-
* end user identity is inferred from the authorized credential of the request. This API must be
1145-
* authorized by the end user using OAuth.
1142+
* Entitles a previously provisioned subscription to the current end user. The end user identity is
1143+
* inferred from the authorized credential of the request. This API must be authorized by the end
1144+
* user using OAuth.
11461145
*
11471146
* Create a request for the method "subscriptions.entitle".
11481147
*
@@ -1169,9 +1168,9 @@ public class Entitle extends PaymentsResellerSubscriptionRequest<com.google.api.
11691168
java.util.regex.Pattern.compile("^partners/[^/]+/subscriptions/[^/]+$");
11701169

11711170
/**
1172-
* Used by partners to entitle a previously provisioned subscription to the current end user. The
1173-
* end user identity is inferred from the authorized credential of the request. This API must be
1174-
* authorized by the end user using OAuth.
1171+
* Entitles a previously provisioned subscription to the current end user. The end user identity
1172+
* is inferred from the authorized credential of the request. This API must be authorized by the
1173+
* end user using OAuth.
11751174
*
11761175
* Create a request for the method "subscriptions.entitle".
11771176
*
@@ -1285,9 +1284,9 @@ public Entitle set(String parameterName, Object value) {
12851284
}
12861285
}
12871286
/**
1288-
* [Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a
1289-
* subscription service for their customers on an ongoing basis for the subscription to remain
1290-
* active and renewable. It should be called directly by the partner using service accounts.
1287+
* [Opt-in only] Most partners should be on auto-extend by default. Extends a subscription service
1288+
* for their customers on an ongoing basis for the subscription to remain active and renewable. It
1289+
* should be called directly by the partner using service accounts.
12911290
*
12921291
* Create a request for the method "subscriptions.extend".
12931292
*
@@ -1314,9 +1313,9 @@ public class Extend extends PaymentsResellerSubscriptionRequest<com.google.api.s
13141313
java.util.regex.Pattern.compile("^partners/[^/]+/subscriptions/[^/]+$");
13151314

13161315
/**
1317-
* [Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a
1318-
* subscription service for their customers on an ongoing basis for the subscription to remain
1319-
* active and renewable. It should be called directly by the partner using service accounts.
1316+
* [Opt-in only] Most partners should be on auto-extend by default. Extends a subscription service
1317+
* for their customers on an ongoing basis for the subscription to remain active and renewable. It
1318+
* should be called directly by the partner using service accounts.
13201319
*
13211320
* Create a request for the method "subscriptions.extend".
13221321
*
@@ -1430,8 +1429,7 @@ public Extend set(String parameterName, Object value) {
14301429
}
14311430
}
14321431
/**
1433-
* Used by partners to get a subscription by id. It should be called directly by the partner using
1434-
* service accounts.
1432+
* Gets a subscription by id. It should be called directly by the partner using service accounts.
14351433
*
14361434
* Create a request for the method "subscriptions.get".
14371435
*
@@ -1457,8 +1455,7 @@ public class Get extends PaymentsResellerSubscriptionRequest<com.google.api.serv
14571455
java.util.regex.Pattern.compile("^partners/[^/]+/subscriptions/[^/]+$");
14581456

14591457
/**
1460-
* Used by partners to get a subscription by id. It should be called directly by the partner using
1461-
* service accounts.
1458+
* Gets a subscription by id. It should be called directly by the partner using service accounts.
14621459
*
14631460
* Create a request for the method "subscriptions.get".
14641461
*
@@ -1754,10 +1751,10 @@ public Provision set(String parameterName, Object value) {
17541751
}
17551752
}
17561753
/**
1757-
* Revokes the pending cancellation of a subscription, which is currently in
1758-
* `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will
1759-
* fail. - **This API doesn't apply to YouTube subscriptions.** It should be called directly by the
1760-
* partner using service accounts.
1754+
* Currently, it is used by **Google One, Play Pass** partners. Revokes the pending cancellation of
1755+
* a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription
1756+
* is already cancelled, the request will fail. It should be called directly by the partner using
1757+
* service accounts.
17611758
*
17621759
* Create a request for the method "subscriptions.undoCancel".
17631760
*
@@ -1784,10 +1781,10 @@ public class UndoCancel extends PaymentsResellerSubscriptionRequest<com.google.a
17841781
java.util.regex.Pattern.compile("^partners/[^/]+/subscriptions/[^/]+$");
17851782

17861783
/**
1787-
* Revokes the pending cancellation of a subscription, which is currently in
1788-
* `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request
1789-
* will fail. - **This API doesn't apply to YouTube subscriptions.** It should be called directly
1790-
* by the partner using service accounts.
1784+
* Currently, it is used by **Google One, Play Pass** partners. Revokes the pending cancellation
1785+
* of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the
1786+
* subscription is already cancelled, the request will fail. It should be called directly by the
1787+
* partner using service accounts.
17911788
*
17921789
* Create a request for the method "subscriptions.undoCancel".
17931790
*
@@ -1925,11 +1922,10 @@ public UserSessions userSessions() {
19251922
public class UserSessions {
19261923

19271924
/**
1928-
* This API replaces user authorized OAuth consent based APIs (Create, Entitle). Generates a short-
1929-
* lived token for a user session based on the user intent. You can use the session token to
1930-
* redirect the user to Google to finish the signup flow. You can re-generate new session token
1931-
* repeatedly for the same request if necessary, regardless of the previous tokens being expired or
1932-
* not.
1925+
* This API replaces user authorized OAuth consent based APIs (Create, Entitle). Issues a timed
1926+
* session token for the given user intent. You can use the session token to redirect the user to
1927+
* Google to finish the signup flow. You can re-generate new session token repeatedly for the same
1928+
* request if necessary, regardless of the previous tokens being expired or not.
19331929
*
19341930
* Create a request for the method "userSessions.generate".
19351931
*
@@ -1955,11 +1951,10 @@ public class Generate extends PaymentsResellerSubscriptionRequest<com.google.api
19551951
java.util.regex.Pattern.compile("^partners/[^/]+$");
19561952

19571953
/**
1958-
* This API replaces user authorized OAuth consent based APIs (Create, Entitle). Generates a
1959-
* short-lived token for a user session based on the user intent. You can use the session token to
1960-
* redirect the user to Google to finish the signup flow. You can re-generate new session token
1961-
* repeatedly for the same request if necessary, regardless of the previous tokens being expired
1962-
* or not.
1954+
* This API replaces user authorized OAuth consent based APIs (Create, Entitle). Issues a timed
1955+
* session token for the given user intent. You can use the session token to redirect the user to
1956+
* Google to finish the signup flow. You can re-generate new session token repeatedly for the same
1957+
* request if necessary, regardless of the previous tokens being expired or not.
19631958
*
19641959
* Create a request for the method "userSessions.generate".
19651960
*

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
public final class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Output only. Output only. This identifies whether the subscription is attached to a Google Home
35-
* structure.
34+
* Output only. This identifies whether the subscription is attached to a Google Home structure.
3635
* The value may be {@code null}.
3736
*/
3837
@com.google.api.client.util.Key
@@ -47,17 +46,15 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload ex
4746
private java.lang.String partnerStructureId;
4847

4948
/**
50-
* Output only. Output only. This identifies whether the subscription is attached to a Google Home
51-
* structure.
49+
* Output only. This identifies whether the subscription is attached to a Google Home structure.
5250
* @return value or {@code null} for none
5351
*/
5452
public java.lang.Boolean getAttachedToGoogleStructure() {
5553
return attachedToGoogleStructure;
5654
}
5755

5856
/**
59-
* Output only. Output only. This identifies whether the subscription is attached to a Google Home
60-
* structure.
57+
* Output only. This identifies whether the subscription is attached to a Google Home structure.
6158
* @param attachedToGoogleStructure attachedToGoogleStructure or {@code null} for none
6259
*/
6360
public GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload setAttachedToGoogleStructure(java.lang.Boolean attachedToGoogleStructure) {

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Product.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Output only. Output Only. Specifies the details for a bundle product.
34+
* Output only. Specifies the details for a bundle product.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -61,7 +61,7 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com.
6161
private java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig> priceConfigs;
6262

6363
/**
64-
* Output only. Output Only. Specifies the type of the product.
64+
* Output only. Specifies the type of the product.
6565
* The value may be {@code null}.
6666
*/
6767
@com.google.api.client.util.Key
@@ -90,15 +90,15 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Product extends com.
9090
private java.util.List<GoogleTypeLocalizedText> titles;
9191

9292
/**
93-
* Output only. Output Only. Specifies the details for a bundle product.
93+
* Output only. Specifies the details for a bundle product.
9494
* @return value or {@code null} for none
9595
*/
9696
public ProductBundleDetails getBundleDetails() {
9797
return bundleDetails;
9898
}
9999

100100
/**
101-
* Output only. Output Only. Specifies the details for a bundle product.
101+
* Output only. Specifies the details for a bundle product.
102102
* @param bundleDetails bundleDetails or {@code null} for none
103103
*/
104104
public GoogleCloudPaymentsResellerSubscriptionV1Product setBundleDetails(ProductBundleDetails bundleDetails) {
@@ -162,15 +162,15 @@ public GoogleCloudPaymentsResellerSubscriptionV1Product setPriceConfigs(java.uti
162162
}
163163

164164
/**
165-
* Output only. Output Only. Specifies the type of the product.
165+
* Output only. Specifies the type of the product.
166166
* @return value or {@code null} for none
167167
*/
168168
public java.lang.String getProductType() {
169169
return productType;
170170
}
171171

172172
/**
173-
* Output only. Output Only. Specifies the type of the product.
173+
* Output only. Specifies the type of the product.
174174
* @param productType productType or {@code null} for none
175175
*/
176176
public GoogleCloudPaymentsResellerSubscriptionV1Product setProductType(java.lang.String productType) {

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Promotion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Promotion extends co
7070
private java.lang.String name;
7171

7272
/**
73-
* Output only. Output Only. Specifies the type of the promotion.
73+
* Output only. Specifies the type of the promotion.
7474
* The value may be {@code null}.
7575
*/
7676
@com.google.api.client.util.Key
@@ -193,15 +193,15 @@ public GoogleCloudPaymentsResellerSubscriptionV1Promotion setName(java.lang.Stri
193193
}
194194

195195
/**
196-
* Output only. Output Only. Specifies the type of the promotion.
196+
* Output only. Specifies the type of the promotion.
197197
* @return value or {@code null} for none
198198
*/
199199
public java.lang.String getPromotionType() {
200200
return promotionType;
201201
}
202202

203203
/**
204-
* Output only. Output Only. Specifies the type of the promotion.
204+
* Output only. Specifies the type of the promotion.
205205
* @param promotionType promotionType or {@code null} for none
206206
*/
207207
public GoogleCloudPaymentsResellerSubscriptionV1Promotion setPromotionType(java.lang.String promotionType) {

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductor
4545
private java.lang.Long discountRatioMicros;
4646

4747
/**
48-
* Output only. Output Only. The duration of an introductory offer in billing cycles.
48+
* Output only. The duration of an introductory offer in billing cycles.
4949
* The value may be {@code null}.
5050
*/
5151
@com.google.api.client.util.Key
@@ -93,15 +93,15 @@ public GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDeta
9393
}
9494

9595
/**
96-
* Output only. Output Only. The duration of an introductory offer in billing cycles.
96+
* Output only. The duration of an introductory offer in billing cycles.
9797
* @return value or {@code null} for none
9898
*/
9999
public java.lang.Integer getRecurrenceCount() {
100100
return recurrenceCount;
101101
}
102102

103103
/**
104-
* Output only. Output Only. The duration of an introductory offer in billing cycles.
104+
* Output only. The duration of an introductory offer in billing cycles.
105105
* @param recurrenceCount recurrenceCount or {@code null} for none
106106
*/
107107
public GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec setRecurrenceCount(java.lang.Integer recurrenceCount) {

0 commit comments

Comments
 (0)