Skip to content

Commit 6a95844

Browse files
chore: regenerate paymentsresellersubscription client (#28342)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent da60241 commit 6a95844

File tree

53 files changed

+556
-532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+556
-532
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-rev20250713-2.0.0</version>
25+
<version>v1-rev20250808-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-rev20250713-2.0.0'
38+
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20250808-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: 66 additions & 66 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1Amount extends com.google.api.client.json.GenericJson {
31+
public final class Amount extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* Required. Amount in micros (1_000_000 micros = 1 currency unit)
@@ -57,7 +57,7 @@ public java.lang.Long getAmountMicros() {
5757
* Required. Amount in micros (1_000_000 micros = 1 currency unit)
5858
* @param amountMicros amountMicros or {@code null} for none
5959
*/
60-
public GoogleCloudPaymentsResellerSubscriptionV1Amount setAmountMicros(java.lang.Long amountMicros) {
60+
public Amount setAmountMicros(java.lang.Long amountMicros) {
6161
this.amountMicros = amountMicros;
6262
return this;
6363
}
@@ -76,19 +76,19 @@ public java.lang.String getCurrencyCode() {
7676
* (https://en.wikipedia.org/wiki/ISO_4217). For example, USD.
7777
* @param currencyCode currencyCode or {@code null} for none
7878
*/
79-
public GoogleCloudPaymentsResellerSubscriptionV1Amount setCurrencyCode(java.lang.String currencyCode) {
79+
public Amount setCurrencyCode(java.lang.String currencyCode) {
8080
this.currencyCode = currencyCode;
8181
return this;
8282
}
8383

8484
@Override
85-
public GoogleCloudPaymentsResellerSubscriptionV1Amount set(String fieldName, Object value) {
86-
return (GoogleCloudPaymentsResellerSubscriptionV1Amount) super.set(fieldName, value);
85+
public Amount set(String fieldName, Object value) {
86+
return (Amount) super.set(fieldName, value);
8787
}
8888

8989
@Override
90-
public GoogleCloudPaymentsResellerSubscriptionV1Amount clone() {
91-
return (GoogleCloudPaymentsResellerSubscriptionV1Amount) super.clone();
90+
public Amount clone() {
91+
return (Amount) super.clone();
9292
}
9393

9494
}
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest extends com.google.api.client.json.GenericJson {
31+
public final class CancelSubscriptionRequest extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* Optional. If true, Google will cancel the subscription immediately, and may or may not (based
@@ -68,7 +68,7 @@ public java.lang.Boolean getCancelImmediately() {
6868
* subscription until the end of the billing cycle.
6969
* @param cancelImmediately cancelImmediately or {@code null} for none
7070
*/
71-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest setCancelImmediately(java.lang.Boolean cancelImmediately) {
71+
public CancelSubscriptionRequest setCancelImmediately(java.lang.Boolean cancelImmediately) {
7272
this.cancelImmediately = cancelImmediately;
7373
return this;
7474
}
@@ -85,19 +85,19 @@ public java.lang.String getCancellationReason() {
8585
* Specifies the reason for the cancellation.
8686
* @param cancellationReason cancellationReason or {@code null} for none
8787
*/
88-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest setCancellationReason(java.lang.String cancellationReason) {
88+
public CancelSubscriptionRequest setCancellationReason(java.lang.String cancellationReason) {
8989
this.cancellationReason = cancellationReason;
9090
return this;
9191
}
9292

9393
@Override
94-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest set(String fieldName, Object value) {
95-
return (GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest) super.set(fieldName, value);
94+
public CancelSubscriptionRequest set(String fieldName, Object value) {
95+
return (CancelSubscriptionRequest) super.set(fieldName, value);
9696
}
9797

9898
@Override
99-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest clone() {
100-
return (GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest) super.clone();
99+
public CancelSubscriptionRequest clone() {
100+
return (CancelSubscriptionRequest) super.clone();
101101
}
102102

103103
}
Original file line numberDiff line numberDiff line change
@@ -28,40 +28,40 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse extends com.google.api.client.json.GenericJson {
31+
public final class CancelSubscriptionResponse extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* The cancelled subscription resource.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
38-
private GoogleCloudPaymentsResellerSubscriptionV1Subscription subscription;
38+
private Subscription subscription;
3939

4040
/**
4141
* The cancelled subscription resource.
4242
* @return value or {@code null} for none
4343
*/
44-
public GoogleCloudPaymentsResellerSubscriptionV1Subscription getSubscription() {
44+
public Subscription getSubscription() {
4545
return subscription;
4646
}
4747

4848
/**
4949
* The cancelled subscription resource.
5050
* @param subscription subscription or {@code null} for none
5151
*/
52-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse setSubscription(GoogleCloudPaymentsResellerSubscriptionV1Subscription subscription) {
52+
public CancelSubscriptionResponse setSubscription(Subscription subscription) {
5353
this.subscription = subscription;
5454
return this;
5555
}
5656

5757
@Override
58-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse set(String fieldName, Object value) {
59-
return (GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse) super.set(fieldName, value);
58+
public CancelSubscriptionResponse set(String fieldName, Object value) {
59+
return (CancelSubscriptionResponse) super.set(fieldName, value);
6060
}
6161

6262
@Override
63-
public GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse clone() {
64-
return (GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse) super.clone();
63+
public CancelSubscriptionResponse clone() {
64+
return (CancelSubscriptionResponse) super.clone();
6565
}
6666

6767
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent extends com.google.api.client.json.GenericJson {
31+
public final class CreateSubscriptionIntent extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* Required. The parent resource name, which is the identifier of the partner.
@@ -42,7 +42,7 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIn
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
45-
private GoogleCloudPaymentsResellerSubscriptionV1Subscription subscription;
45+
private Subscription subscription;
4646

4747
/**
4848
* Required. Identifies the subscription resource on the Partner side. The value is restricted to
@@ -65,7 +65,7 @@ public java.lang.String getParent() {
6565
* Required. The parent resource name, which is the identifier of the partner.
6666
* @param parent parent or {@code null} for none
6767
*/
68-
public GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent setParent(java.lang.String parent) {
68+
public CreateSubscriptionIntent setParent(java.lang.String parent) {
6969
this.parent = parent;
7070
return this;
7171
}
@@ -74,15 +74,15 @@ public GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent setPare
7474
* Required. The Subscription to be created.
7575
* @return value or {@code null} for none
7676
*/
77-
public GoogleCloudPaymentsResellerSubscriptionV1Subscription getSubscription() {
77+
public Subscription getSubscription() {
7878
return subscription;
7979
}
8080

8181
/**
8282
* Required. The Subscription to be created.
8383
* @param subscription subscription or {@code null} for none
8484
*/
85-
public GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent setSubscription(GoogleCloudPaymentsResellerSubscriptionV1Subscription subscription) {
85+
public CreateSubscriptionIntent setSubscription(Subscription subscription) {
8686
this.subscription = subscription;
8787
return this;
8888
}
@@ -103,19 +103,19 @@ public java.lang.String getSubscriptionId() {
103103
* subscription_id, we will directly return that one.
104104
* @param subscriptionId subscriptionId or {@code null} for none
105105
*/
106-
public GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent setSubscriptionId(java.lang.String subscriptionId) {
106+
public CreateSubscriptionIntent setSubscriptionId(java.lang.String subscriptionId) {
107107
this.subscriptionId = subscriptionId;
108108
return this;
109109
}
110110

111111
@Override
112-
public GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent set(String fieldName, Object value) {
113-
return (GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent) super.set(fieldName, value);
112+
public CreateSubscriptionIntent set(String fieldName, Object value) {
113+
return (CreateSubscriptionIntent) super.set(fieldName, value);
114114
}
115115

116116
@Override
117-
public GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent clone() {
118-
return (GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent) super.clone();
117+
public CreateSubscriptionIntent clone() {
118+
return (CreateSubscriptionIntent) super.clone();
119119
}
120120

121121
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1Duration extends com.google.api.client.json.GenericJson {
31+
public final class Duration extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* number of duration units to be included.
@@ -56,7 +56,7 @@ public java.lang.Integer getCount() {
5656
* number of duration units to be included.
5757
* @param count count or {@code null} for none
5858
*/
59-
public GoogleCloudPaymentsResellerSubscriptionV1Duration setCount(java.lang.Integer count) {
59+
public Duration setCount(java.lang.Integer count) {
6060
this.count = count;
6161
return this;
6262
}
@@ -73,19 +73,19 @@ public java.lang.String getUnit() {
7373
* The unit used for the duration
7474
* @param unit unit or {@code null} for none
7575
*/
76-
public GoogleCloudPaymentsResellerSubscriptionV1Duration setUnit(java.lang.String unit) {
76+
public Duration setUnit(java.lang.String unit) {
7777
this.unit = unit;
7878
return this;
7979
}
8080

8181
@Override
82-
public GoogleCloudPaymentsResellerSubscriptionV1Duration set(String fieldName, Object value) {
83-
return (GoogleCloudPaymentsResellerSubscriptionV1Duration) super.set(fieldName, value);
82+
public Duration set(String fieldName, Object value) {
83+
return (Duration) super.set(fieldName, value);
8484
}
8585

8686
@Override
87-
public GoogleCloudPaymentsResellerSubscriptionV1Duration clone() {
88-
return (GoogleCloudPaymentsResellerSubscriptionV1Duration) super.clone();
87+
public Duration clone() {
88+
return (Duration) super.clone();
8989
}
9090

9191
}
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent extends com.google.api.client.json.GenericJson {
31+
public final class EntitleSubscriptionIntent extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* Required. The name of the subscription resource that is entitled to the current end user. It is
@@ -52,19 +52,19 @@ public java.lang.String getName() {
5252
* in the format of "partners/{partner_id}/subscriptions/{subscriptionId}".
5353
* @param name name or {@code null} for none
5454
*/
55-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent setName(java.lang.String name) {
55+
public EntitleSubscriptionIntent setName(java.lang.String name) {
5656
this.name = name;
5757
return this;
5858
}
5959

6060
@Override
61-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent set(String fieldName, Object value) {
62-
return (GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent) super.set(fieldName, value);
61+
public EntitleSubscriptionIntent set(String fieldName, Object value) {
62+
return (EntitleSubscriptionIntent) super.set(fieldName, value);
6363
}
6464

6565
@Override
66-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent clone() {
67-
return (GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent) super.clone();
66+
public EntitleSubscriptionIntent clone() {
67+
return (EntitleSubscriptionIntent) super.clone();
6868
}
6969

7070
}
Original file line numberDiff line numberDiff line change
@@ -29,40 +29,40 @@
2929
* @author Google, Inc.
3030
*/
3131
@SuppressWarnings("javadoc")
32-
public final class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest extends com.google.api.client.json.GenericJson {
32+
public final class EntitleSubscriptionRequest extends com.google.api.client.json.GenericJson {
3333

3434
/**
3535
* Optional. The line items to be entitled. If unspecified, all line items will be entitled.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
39-
private java.util.List<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails> lineItemEntitlementDetails;
39+
private java.util.List<EntitleSubscriptionRequestLineItemEntitlementDetails> lineItemEntitlementDetails;
4040

4141
/**
4242
* Optional. The line items to be entitled. If unspecified, all line items will be entitled.
4343
* @return value or {@code null} for none
4444
*/
45-
public java.util.List<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails> getLineItemEntitlementDetails() {
45+
public java.util.List<EntitleSubscriptionRequestLineItemEntitlementDetails> getLineItemEntitlementDetails() {
4646
return lineItemEntitlementDetails;
4747
}
4848

4949
/**
5050
* Optional. The line items to be entitled. If unspecified, all line items will be entitled.
5151
* @param lineItemEntitlementDetails lineItemEntitlementDetails or {@code null} for none
5252
*/
53-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest setLineItemEntitlementDetails(java.util.List<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails> lineItemEntitlementDetails) {
53+
public EntitleSubscriptionRequest setLineItemEntitlementDetails(java.util.List<EntitleSubscriptionRequestLineItemEntitlementDetails> lineItemEntitlementDetails) {
5454
this.lineItemEntitlementDetails = lineItemEntitlementDetails;
5555
return this;
5656
}
5757

5858
@Override
59-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest set(String fieldName, Object value) {
60-
return (GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest) super.set(fieldName, value);
59+
public EntitleSubscriptionRequest set(String fieldName, Object value) {
60+
return (EntitleSubscriptionRequest) super.set(fieldName, value);
6161
}
6262

6363
@Override
64-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest clone() {
65-
return (GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest) super.clone();
64+
public EntitleSubscriptionRequest clone() {
65+
return (EntitleSubscriptionRequest) super.clone();
6666
}
6767

6868
}
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Google, Inc.
2929
*/
3030
@SuppressWarnings("javadoc")
31-
public final class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails extends com.google.api.client.json.GenericJson {
31+
public final class EntitleSubscriptionRequestLineItemEntitlementDetails extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* Required. The index of the line item to be entitled.
@@ -58,7 +58,7 @@ public java.lang.Integer getLineItemIndex() {
5858
* Required. The index of the line item to be entitled.
5959
* @param lineItemIndex lineItemIndex or {@code null} for none
6060
*/
61-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails setLineItemIndex(java.lang.Integer lineItemIndex) {
61+
public EntitleSubscriptionRequestLineItemEntitlementDetails setLineItemIndex(java.lang.Integer lineItemIndex) {
6262
this.lineItemIndex = lineItemIndex;
6363
return this;
6464
}
@@ -79,19 +79,19 @@ public java.util.List<java.lang.String> getProducts() {
7979
* elements will be entitled. The format is 'partners/{partner_id}/products/{product_id}'.
8080
* @param products products or {@code null} for none
8181
*/
82-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails setProducts(java.util.List<java.lang.String> products) {
82+
public EntitleSubscriptionRequestLineItemEntitlementDetails setProducts(java.util.List<java.lang.String> products) {
8383
this.products = products;
8484
return this;
8585
}
8686

8787
@Override
88-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails set(String fieldName, Object value) {
89-
return (GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails) super.set(fieldName, value);
88+
public EntitleSubscriptionRequestLineItemEntitlementDetails set(String fieldName, Object value) {
89+
return (EntitleSubscriptionRequestLineItemEntitlementDetails) super.set(fieldName, value);
9090
}
9191

9292
@Override
93-
public GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails clone() {
94-
return (GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails) super.clone();
93+
public EntitleSubscriptionRequestLineItemEntitlementDetails clone() {
94+
return (EntitleSubscriptionRequestLineItemEntitlementDetails) super.clone();
9595
}
9696

9797
}

0 commit comments

Comments
 (0)