Skip to content

Commit cca959c

Browse files
feat: Automated regeneration of cloudcommerceprocurement v1 client (#24253)
Auto-created at 2025-09-14 09:34:58 +0000 using the toys pull request generator.
1 parent 0891683 commit cca959c

File tree

3 files changed

+94
-22
lines changed

3 files changed

+94
-22
lines changed

generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-cloudcommerceprocurement_v1
22

3+
### v0.3.0 (2025-09-14)
4+
5+
* Regenerated from discovery document revision 20250907
6+
37
### v0.2.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250831

generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/classes.rb

Lines changed: 88 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -299,39 +299,69 @@ class Entitlement
299299
# @return [String]
300300
attr_accessor :name
301301

302-
# Output only. The end time of the new offer. If the offer was created with a
303-
# term instead of a specified end date, this field is empty. This field is
302+
# Output only. The end time of the new offer. If the offer was has a term
303+
# duration instead of a specified end date, this field is empty. This field is
304304
# populated even if the entitlement isn't active yet. If there's no upcoming
305-
# offer, the field is be empty.
305+
# offer, the field is empty. * If the entitlement is in
306+
# ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or
307+
# ENTITLEMENT_PENDING_CANCELLATION state, then this field will be empty. * If
308+
# the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
309+
# ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated with
310+
# the expected end time of the upcoming offer (in the future) if the upcoming
311+
# offer has a specified end date. Otherwise, this field will be empty. * If the
312+
# entitlement is in ENTITLEMENT_CANCELLED state, then this field will be empty.
306313
# Corresponds to the JSON property `newOfferEndTime`
307314
# @return [String]
308315
attr_accessor :new_offer_end_time
309316

310317
# Output only. The timestamp when the new offer becomes effective. This field is
311318
# populated even if the entitlement isn't active yet. If there's no upcoming
312-
# offer, the field is empty.
319+
# offer, the field is empty. * If the entitlement is in
320+
# ENTITLEMENT_ACTIVATION_REQUESTED state, this field will not be populated when
321+
# the entitlement is not yet approved. But after the entitlement is approved,
322+
# then this field will be populated with effective time of the upcoming offer. *
323+
# If the entitlement is in ENTITLEMENT_ACTIVE or
324+
# ENTITLEMENT_PENDING_CANCELLATION state, this field will not be populated. * If
325+
# the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, this
326+
# field will not be populated since the entitlement change is waiting on
327+
# approval. * If the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE state,
328+
# this field will be populated with the expected effective time of the upcoming
329+
# offer (in the future). * If the entitlement is in ENTITLEMENT_CANCELLED state,
330+
# then this field will be empty.
313331
# Corresponds to the JSON property `newOfferStartTime`
314332
# @return [String]
315333
attr_accessor :new_offer_start_time
316334

317335
# Output only. The name of the offer the entitlement is switching to upon a
318336
# pending plan change. Only exists if the pending plan change is moving to an
319337
# offer. This field isn't populated for entitlements which aren't active yet.
320-
# Format: 'projects/`project`/services/`service`/privateOffers/`offer-id`' OR '
321-
# projects/`project`/services/`service`/standardOffers/`offer-id`', depending on
338+
# Format: 'projects/`project`/services/`service`/privateOffers/`offer`' OR '
339+
# projects/`project`/services/`service`/standardOffers/`offer`', depending on
322340
# whether the offer is private or public. The `service` in the name is the
323341
# listing service of the offer. It could be either the product service that the
324342
# offer is referencing, or a generic private offer parent service. We recommend
325343
# that you don't build your integration to rely on the meaning of this `service`
326-
# part.
344+
# part. * If the entitlement is in ENTITLEMENT_ACTIVATION_REQUESTED,
345+
# ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION state, then this field
346+
# will be empty. * If the entitlement is in
347+
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE
348+
# state, then this field will be populated with the upcoming offer. * If the
349+
# entitlement is in ENTITLEMENT_CANCELLED state, then this will be empty.
327350
# Corresponds to the JSON property `newPendingOffer`
328351
# @return [String]
329352
attr_accessor :new_pending_offer
330353

331354
# Output only. The duration of the new offer, in ISO 8601 duration format. This
332355
# field isn't populated for entitlements which aren't active yet, only for
333-
# pending offer changes. If the offer was created with a specified end date
334-
# instead of a duration, this field is empty.
356+
# pending offer changes. If the offer was has a specified end date instead of a
357+
# duration, this field is empty. * If the entitlement is in
358+
# ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEENTITLEMENT_ACTIVE, or
359+
# ENTITLEMENT_PENDING_CANCELLATION state, then this field is empty. * If the
360+
# entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
361+
# ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated with
362+
# the duration of the upcoming offer, if the upcoming offer is does not have a
363+
# specified end date. Otherwise, this field will be empty. * If the entitlement
364+
# is in ENTITLEMENT_CANCELLED state, then this field will be empty.
335365
# Corresponds to the JSON property `newPendingOfferDuration`
336366
# @return [String]
337367
attr_accessor :new_pending_offer_duration
@@ -344,27 +374,65 @@ class Entitlement
344374

345375
# Output only. The name of the offer that was procured. Field is empty if order
346376
# was not made using an offer. Format: 'projects/`project`/services/`service`/
347-
# privateOffers/`offer-id`' OR 'projects/`project`/services/`service`/
348-
# standardOffers/`offer-id`', depending on whether the offer is private or
349-
# public. The `service` in the name is the listing service of the offer. It
350-
# could be either the product service that the offer is referencing, or a
351-
# generic private offer parent service. We recommend that you don't build your
352-
# integration to rely on the meaning of this `service` part.
377+
# privateOffers/`offer`' OR 'projects/`project`/services/`service`/
378+
# standardOffers/`offer`', depending on whether the offer is private or public.
379+
# The `service` in the name is the listing service of the offer. It could be
380+
# either the product service that the offer is referencing, or a generic private
381+
# offer parent service. We recommend that you don't build your integration to
382+
# rely on the meaning of this `service` part. * If the entitlement is in
383+
# ENTITLEMENT_ACTIVATION_REQUESTED state, this field will be populated with the
384+
# upcoming offer. * If the entitlement is in ENTITLEMENT_ACTIVE,
385+
# ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or
386+
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, this field will be populated
387+
# with the current offer. * If the entitlement is in ENTITLEMENT_CANCELLED state,
388+
# then this field will be populated with the latest offer the order was
389+
# associated with.
353390
# Corresponds to the JSON property `offer`
354391
# @return [String]
355392
attr_accessor :offer
356393

357394
# Output only. The offer duration of the current offer in ISO 8601 duration
358395
# format. Field is empty if entitlement was not made using an offer. If the
359-
# offer was created with a specified end date instead of a duration, this field
360-
# is empty.
396+
# offer has a specified end date instead of a duration, this field is empty. *
397+
# If the entitlement is in ENTITLEMENT_ACTIVATION_REQUESTED state, then this
398+
# field will be populated with the duration of the upcoming offer, if the
399+
# upcoming offer does not have a specified end date. Otherwise, this field will
400+
# be empty. * If the entitlement is in ENTITLEMENT_ACTIVE,
401+
# ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or
402+
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, then this field will be
403+
# populated with the duration of the current offer if the current offer is does
404+
# not have a specific end date. Otherwise, this field will be empty. * If the
405+
# entitlement is in ENTITLEMENT_CANCELLED state, then this field will be
406+
# populated with the duration of the latest offer the order was associated with
407+
# if that offer does not have a specific end date. Otherwise, this field will be
408+
# empty.
361409
# Corresponds to the JSON property `offerDuration`
362410
# @return [String]
363411
attr_accessor :offer_duration
364412

365-
# Output only. End time for the Offer association corresponding to this
366-
# entitlement. The field is only populated if the entitlement is currently
367-
# associated with an Offer.
413+
# Output only. End time for the Offer associated with this entitlement. Note
414+
# that this field value can change over time. This occurs naturally even if the
415+
# offer is not changed, due to auto renewal. * If the entitlement is in
416+
# ENTITLEMENT_ACTIVATION_REQUESTED state, then: * If the entitlement is not yet
417+
# approved, then this field will be populated with the expected end time of the
418+
# upcoming offer (in the future) if the upcoming offer has a specified end date.
419+
# Otherwise this field will be empty. * If the entitlement is approved, then
420+
# this field will always be populated with the expected end time of the upcoming
421+
# offer (in the future). This means both this field, and the offer_duration
422+
# field, can co-exist. * If the entitlement is in ENTITLEMENT_ACTIVE or
423+
# ENTITLEMENT_PENDING_CANCELLATION state, then this field will be populated with
424+
# the actual expected end time of the current offer (in the futre). Meaning,
425+
# this field will be set, regardless of whether the offer has a specific end
426+
# date or a duration. This means both this field, and the offer_duration field,
427+
# can co-exist. * If the entitlement is in
428+
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE
429+
# state: * If the current offer has already ended and became pure PAYG, then
430+
# this field reflects the ACTUAL end time of the current offer (in the past). *
431+
# Otherwise, then this is the EXPECTED end date of the current offer (in the
432+
# future). * If the entitlement is in ENTITLEMENT_CANCELLED state, then this
433+
# field will be populated with the ACTUAL end time of the latest offer the order
434+
# was associated with (in the past). If the entitlement was cancelled before any
435+
# offer started, then this field will be empty.
368436
# Corresponds to the JSON property `offerEndTime`
369437
# @return [String]
370438
attr_accessor :offer_end_time

generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudcommerceprocurementV1
1818
# Version of the google-apis-cloudcommerceprocurement_v1 gem
19-
GEM_VERSION = "0.2.0"
19+
GEM_VERSION = "0.3.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250831"
25+
REVISION = "20250907"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)