Skip to content

Commit 1f244f9

Browse files
1 parent b65ed3f commit 1f244f9

File tree

6 files changed

+135
-89
lines changed

6 files changed

+135
-89
lines changed

clients/google-api-services-cloudcommerceprocurement/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-cloudcommerceprocurement</artifactId>
25-
<version>v1-rev20240602-2.0.0</version>
25+
<version>v1-rev20250831-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-cloudcommerceprocurement:v1-rev20240602-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudcommerceprocurement:v1-rev20250831-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudcommerceprocurement/v1/2.0.0/com/google/api/services/cloudcommerceprocurement/v1/CloudCommercePartnerProcurementService.java

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,8 +1476,8 @@ public List setParent(java.lang.String parent) {
14761476
* Supported query attributes are * `account` * `customer_billing_account` with value in the
14771477
* format of: `billingAccounts/{id}` * `product_external_name` * `quote_external_name` *
14781478
* `offer` * `new_pending_offer` * `plan` * `newPendingPlan` or `new_pending_plan` * `state`
1479-
* * `consumers.project` * `change_history.new_offer` Note that the consumers and
1480-
* change_history.new_offer match works on repeated structures, so equality
1479+
* * `services` * `consumers.project` * `change_history.new_offer` Note that the consumers
1480+
* and change_history.new_offer match works on repeated structures, so equality
14811481
* (`consumers.project=projects/123456789`) is not supported. Set membership can be
14821482
* expressed with the `:` operator. For example, `consumers.project:projects/123456789`
14831483
* finds entitlements with at least one consumer with project field equal to
@@ -1502,21 +1502,22 @@ public List setParent(java.lang.String parent) {
15021502
`state=pending_cancellation`, and `plan!=foo-plan`. Supported query attributes are * `account` *
15031503
`customer_billing_account` with value in the format of: `billingAccounts/{id}` *
15041504
`product_external_name` * `quote_external_name` * `offer` * `new_pending_offer` * `plan` *
1505-
`newPendingPlan` or `new_pending_plan` * `state` * `consumers.project` * `change_history.new_offer`
1506-
Note that the consumers and change_history.new_offer match works on repeated structures, so
1507-
equality (`consumers.project=projects/123456789`) is not supported. Set membership can be expressed
1508-
with the `:` operator. For example, `consumers.project:projects/123456789` finds entitlements with
1509-
at least one consumer with project field equal to `projects/123456789`. `change_history.new_offer`
1510-
retrieves all entitlements that were once associated or are currently active with the offer. Also
1511-
note that the state name match is case-insensitive and query can omit the prefix "ENTITLEMENT_".
1512-
For example, `state=active` is equivalent to `state=ENTITLEMENT_ACTIVE`. If the query contains some
1513-
special characters other than letters, underscore, or digits, the phrase must be quoted with double
1514-
quotes. For example, `product="providerId:productId"`, where the product name needs to be quoted
1515-
because it contains special character colon. Queries can be combined with `AND`, `OR`, and `NOT` to
1516-
form more complex queries. They can also be grouped to force a desired evaluation order. For
1517-
example, `state=active AND (account=E-1234 OR account=5678) AND NOT (product=foo-product)`.
1518-
Connective `AND` can be omitted between two predicates. For example `account=E-1234 state=active`
1519-
is equivalent to `account=E-1234 AND state=active`.
1505+
`newPendingPlan` or `new_pending_plan` * `state` * `services` * `consumers.project` *
1506+
`change_history.new_offer` Note that the consumers and change_history.new_offer match works on
1507+
repeated structures, so equality (`consumers.project=projects/123456789`) is not supported. Set
1508+
membership can be expressed with the `:` operator. For example,
1509+
`consumers.project:projects/123456789` finds entitlements with at least one consumer with project
1510+
field equal to `projects/123456789`. `change_history.new_offer` retrieves all entitlements that
1511+
were once associated or are currently active with the offer. Also note that the state name match is
1512+
case-insensitive and query can omit the prefix "ENTITLEMENT_". For example, `state=active` is
1513+
equivalent to `state=ENTITLEMENT_ACTIVE`. If the query contains some special characters other than
1514+
letters, underscore, or digits, the phrase must be quoted with double quotes. For example,
1515+
`product="providerId:productId"`, where the product name needs to be quoted because it contains
1516+
special character colon. Queries can be combined with `AND`, `OR`, and `NOT` to form more complex
1517+
queries. They can also be grouped to force a desired evaluation order. For example, `state=active
1518+
AND (account=E-1234 OR account=5678) AND NOT (product=foo-product)`. Connective `AND` can be
1519+
omitted between two predicates. For example `account=E-1234 state=active` is equivalent to
1520+
`account=E-1234 AND state=active`.
15201521
*/
15211522
public java.lang.String getFilter() {
15221523
return filter;
@@ -1529,8 +1530,8 @@ public java.lang.String getFilter() {
15291530
* Supported query attributes are * `account` * `customer_billing_account` with value in the
15301531
* format of: `billingAccounts/{id}` * `product_external_name` * `quote_external_name` *
15311532
* `offer` * `new_pending_offer` * `plan` * `newPendingPlan` or `new_pending_plan` * `state`
1532-
* * `consumers.project` * `change_history.new_offer` Note that the consumers and
1533-
* change_history.new_offer match works on repeated structures, so equality
1533+
* * `services` * `consumers.project` * `change_history.new_offer` Note that the consumers
1534+
* and change_history.new_offer match works on repeated structures, so equality
15341535
* (`consumers.project=projects/123456789`) is not supported. Set membership can be
15351536
* expressed with the `:` operator. For example, `consumers.project:projects/123456789`
15361537
* finds entitlements with at least one consumer with project field equal to

clients/google-api-services-cloudcommerceprocurement/v1/2.0.0/com/google/api/services/cloudcommerceprocurement/v1/model/ApproveEntitlementPlanChangeRequest.java

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

3333
/**
34-
* Required. Name of the pending plan that is being approved.
34+
* Required. Name of the pending plan that's being approved.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String pendingPlanName;
3939

4040
/**
41-
* Required. Name of the pending plan that is being approved.
41+
* Required. Name of the pending plan that's being approved.
4242
* @return value or {@code null} for none
4343
*/
4444
public java.lang.String getPendingPlanName() {
4545
return pendingPlanName;
4646
}
4747

4848
/**
49-
* Required. Name of the pending plan that is being approved.
49+
* Required. Name of the pending plan that's being approved.
5050
* @param pendingPlanName pendingPlanName or {@code null} for none
5151
*/
5252
public ApproveEntitlementPlanChangeRequest setPendingPlanName(java.lang.String pendingPlanName) {

clients/google-api-services-cloudcommerceprocurement/v1/2.0.0/com/google/api/services/cloudcommerceprocurement/v1/model/Entitlement.java

Lines changed: 42 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ public final class Entitlement extends com.google.api.client.json.GenericJson {
3838
private java.lang.String account;
3939

4040
/**
41-
* Output only. The reason the entitlement was cancelled. If this entitlement was not cancelled,
42-
* this field will be empty. Possible values include "unknown", "expired", "user-cancelled",
43-
* "account-closed", "billing-disabled" (if the customer has manually disabled billing to their
44-
* resources), "user-aborted", and "migrated" (if the entitlement has migrated across products).
45-
* Values of this field are subject to change and should not be relied upon for technical
46-
* integration.
41+
* Output only. The reason the entitlement was cancelled. If this entitlement wasn't cancelled,
42+
* this field is empty. Possible values include "unknown", "expired", "user-cancelled", "account-
43+
* closed", "billing-disabled" (if the customer has manually disabled billing to their resources),
44+
* "user-aborted", and "migrated" (if the entitlement has migrated across products). Values of
45+
* this field are subject to change, and we recommend that you don't build your technical
46+
* integration to rely on these fields.
4747
* The value may be {@code null}.
4848
*/
4949
@com.google.api.client.util.Key
@@ -106,26 +106,25 @@ public final class Entitlement extends com.google.api.client.json.GenericJson {
106106

107107
/**
108108
* Output only. The end time of the new offer. If the offer was created with a term instead of a
109-
* specified end date, this field is empty. This field will be populated even if the entitlement
110-
* is not active yet. If there is no upcoming offer, the field will be empty.
109+
* specified end date, this field is empty. This field is populated even if the entitlement isn't
110+
* active yet. If there's no upcoming offer, the field is be empty.
111111
* The value may be {@code null}.
112112
*/
113113
@com.google.api.client.util.Key
114114
private String newOfferEndTime;
115115

116116
/**
117-
* Output only. The timestamp when the new offer will become effective. This field will be
118-
* populated even if the entitlement is not active yet. If there is no upcoming offer, the field
119-
* will be empty.
117+
* Output only. The timestamp when the new offer becomes effective. This field is populated even
118+
* if the entitlement isn't active yet. If there's no upcoming offer, the field is empty.
120119
* The value may be {@code null}.
121120
*/
122121
@com.google.api.client.util.Key
123122
private String newOfferStartTime;
124123

125124
/**
126125
* Output only. The name of the offer the entitlement is switching to upon a pending plan change.
127-
* Only exists if the pending plan change is moving to an offer. This field is not populated for
128-
* entitlements which are not active yet. Format:
126+
* Only exists if the pending plan change is moving to an offer. This field isn't populated for
127+
* entitlements which aren't active yet. Format:
129128
* 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR
130129
* 'projects/{project}/services/{service}/standardOffers/{offer-id}', depending on whether the
131130
* offer is private or public. The {service} in the name is the listing service of the offer. It
@@ -138,8 +137,8 @@ public final class Entitlement extends com.google.api.client.json.GenericJson {
138137
private java.lang.String newPendingOffer;
139138

140139
/**
141-
* Output only. The offer duration of the new offer in ISO 8601 duration format. This field is not
142-
* populated for entitlements which are not active yet, only for pending offer changes. If the
140+
* Output only. The duration of the new offer, in ISO 8601 duration format. This field isn't
141+
* populated for entitlements which aren't active yet, only for pending offer changes. If the
143142
* offer was created with a specified end date instead of a duration, this field is empty.
144143
* The value may be {@code null}.
145144
*/
@@ -280,25 +279,25 @@ public Entitlement setAccount(java.lang.String account) {
280279
}
281280

282281
/**
283-
* Output only. The reason the entitlement was cancelled. If this entitlement was not cancelled,
284-
* this field will be empty. Possible values include "unknown", "expired", "user-cancelled",
285-
* "account-closed", "billing-disabled" (if the customer has manually disabled billing to their
286-
* resources), "user-aborted", and "migrated" (if the entitlement has migrated across products).
287-
* Values of this field are subject to change and should not be relied upon for technical
288-
* integration.
282+
* Output only. The reason the entitlement was cancelled. If this entitlement wasn't cancelled,
283+
* this field is empty. Possible values include "unknown", "expired", "user-cancelled", "account-
284+
* closed", "billing-disabled" (if the customer has manually disabled billing to their resources),
285+
* "user-aborted", and "migrated" (if the entitlement has migrated across products). Values of
286+
* this field are subject to change, and we recommend that you don't build your technical
287+
* integration to rely on these fields.
289288
* @return value or {@code null} for none
290289
*/
291290
public java.lang.String getCancellationReason() {
292291
return cancellationReason;
293292
}
294293

295294
/**
296-
* Output only. The reason the entitlement was cancelled. If this entitlement was not cancelled,
297-
* this field will be empty. Possible values include "unknown", "expired", "user-cancelled",
298-
* "account-closed", "billing-disabled" (if the customer has manually disabled billing to their
299-
* resources), "user-aborted", and "migrated" (if the entitlement has migrated across products).
300-
* Values of this field are subject to change and should not be relied upon for technical
301-
* integration.
295+
* Output only. The reason the entitlement was cancelled. If this entitlement wasn't cancelled,
296+
* this field is empty. Possible values include "unknown", "expired", "user-cancelled", "account-
297+
* closed", "billing-disabled" (if the customer has manually disabled billing to their resources),
298+
* "user-aborted", and "migrated" (if the entitlement has migrated across products). Values of
299+
* this field are subject to change, and we recommend that you don't build your technical
300+
* integration to rely on these fields.
302301
* @param cancellationReason cancellationReason or {@code null} for none
303302
*/
304303
public Entitlement setCancellationReason(java.lang.String cancellationReason) {
@@ -424,8 +423,8 @@ public Entitlement setName(java.lang.String name) {
424423

425424
/**
426425
* Output only. The end time of the new offer. If the offer was created with a term instead of a
427-
* specified end date, this field is empty. This field will be populated even if the entitlement
428-
* is not active yet. If there is no upcoming offer, the field will be empty.
426+
* specified end date, this field is empty. This field is populated even if the entitlement isn't
427+
* active yet. If there's no upcoming offer, the field is be empty.
429428
* @return value or {@code null} for none
430429
*/
431430
public String getNewOfferEndTime() {
@@ -434,8 +433,8 @@ public String getNewOfferEndTime() {
434433

435434
/**
436435
* Output only. The end time of the new offer. If the offer was created with a term instead of a
437-
* specified end date, this field is empty. This field will be populated even if the entitlement
438-
* is not active yet. If there is no upcoming offer, the field will be empty.
436+
* specified end date, this field is empty. This field is populated even if the entitlement isn't
437+
* active yet. If there's no upcoming offer, the field is be empty.
439438
* @param newOfferEndTime newOfferEndTime or {@code null} for none
440439
*/
441440
public Entitlement setNewOfferEndTime(String newOfferEndTime) {
@@ -444,19 +443,17 @@ public Entitlement setNewOfferEndTime(String newOfferEndTime) {
444443
}
445444

446445
/**
447-
* Output only. The timestamp when the new offer will become effective. This field will be
448-
* populated even if the entitlement is not active yet. If there is no upcoming offer, the field
449-
* will be empty.
446+
* Output only. The timestamp when the new offer becomes effective. This field is populated even
447+
* if the entitlement isn't active yet. If there's no upcoming offer, the field is empty.
450448
* @return value or {@code null} for none
451449
*/
452450
public String getNewOfferStartTime() {
453451
return newOfferStartTime;
454452
}
455453

456454
/**
457-
* Output only. The timestamp when the new offer will become effective. This field will be
458-
* populated even if the entitlement is not active yet. If there is no upcoming offer, the field
459-
* will be empty.
455+
* Output only. The timestamp when the new offer becomes effective. This field is populated even
456+
* if the entitlement isn't active yet. If there's no upcoming offer, the field is empty.
460457
* @param newOfferStartTime newOfferStartTime or {@code null} for none
461458
*/
462459
public Entitlement setNewOfferStartTime(String newOfferStartTime) {
@@ -466,8 +463,8 @@ public Entitlement setNewOfferStartTime(String newOfferStartTime) {
466463

467464
/**
468465
* Output only. The name of the offer the entitlement is switching to upon a pending plan change.
469-
* Only exists if the pending plan change is moving to an offer. This field is not populated for
470-
* entitlements which are not active yet. Format:
466+
* Only exists if the pending plan change is moving to an offer. This field isn't populated for
467+
* entitlements which aren't active yet. Format:
471468
* 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR
472469
* 'projects/{project}/services/{service}/standardOffers/{offer-id}', depending on whether the
473470
* offer is private or public. The {service} in the name is the listing service of the offer. It
@@ -482,8 +479,8 @@ public java.lang.String getNewPendingOffer() {
482479

483480
/**
484481
* Output only. The name of the offer the entitlement is switching to upon a pending plan change.
485-
* Only exists if the pending plan change is moving to an offer. This field is not populated for
486-
* entitlements which are not active yet. Format:
482+
* Only exists if the pending plan change is moving to an offer. This field isn't populated for
483+
* entitlements which aren't active yet. Format:
487484
* 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR
488485
* 'projects/{project}/services/{service}/standardOffers/{offer-id}', depending on whether the
489486
* offer is private or public. The {service} in the name is the listing service of the offer. It
@@ -498,8 +495,8 @@ public Entitlement setNewPendingOffer(java.lang.String newPendingOffer) {
498495
}
499496

500497
/**
501-
* Output only. The offer duration of the new offer in ISO 8601 duration format. This field is not
502-
* populated for entitlements which are not active yet, only for pending offer changes. If the
498+
* Output only. The duration of the new offer, in ISO 8601 duration format. This field isn't
499+
* populated for entitlements which aren't active yet, only for pending offer changes. If the
503500
* offer was created with a specified end date instead of a duration, this field is empty.
504501
* @return value or {@code null} for none
505502
*/
@@ -508,8 +505,8 @@ public java.lang.String getNewPendingOfferDuration() {
508505
}
509506

510507
/**
511-
* Output only. The offer duration of the new offer in ISO 8601 duration format. This field is not
512-
* populated for entitlements which are not active yet, only for pending offer changes. If the
508+
* Output only. The duration of the new offer, in ISO 8601 duration format. This field isn't
509+
* populated for entitlements which aren't active yet, only for pending offer changes. If the
513510
* offer was created with a specified end date instead of a duration, this field is empty.
514511
* @param newPendingOfferDuration newPendingOfferDuration or {@code null} for none
515512
*/

0 commit comments

Comments
 (0)