Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-cloudcommerceprocurement_v1

### v0.5.0 (2025-09-28)

* Regenerated from discovery document revision 20250923

### v0.4.0 (2025-09-21)

* Regenerated from discovery document revision 20250914
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ class Account
# @return [String]
attr_accessor :provider

# The reseller parent billing account of the account's corresponding billing
# account, applicable only when the corresponding billing account is a
# subaccount of a reseller. Included in responses only for view
# Output only. The reseller parent billing account of the account's
# corresponding billing account, applicable only when the corresponding billing
# account is a subaccount of a reseller. Included in responses only for view:
# ACCOUNT_VIEW_FULL. Format: billingAccounts/`billing_account_id`
# Corresponds to the JSON property `resellerParentBillingAccount`
# @return [String]
Expand Down Expand Up @@ -308,69 +308,69 @@ class Entitlement
# @return [String]
attr_accessor :name

# Output only. The end time of the new offer. If the offer was has a term
# duration instead of a specified end date, this field is empty. This field is
# populated even if the entitlement isn't active yet. If there's no upcoming
# offer, the field is empty. * If the entitlement is in
# ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or
# ENTITLEMENT_PENDING_CANCELLATION state, then this field will be empty. * If
# the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
# ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated with
# the expected end time of the upcoming offer (in the future) if the upcoming
# offer has a specified end date. Otherwise, this field will be empty. * If the
# entitlement is in ENTITLEMENT_CANCELLED state, then this field will be empty.
# Output only. The end time of the new offer, determined from the offer's
# specified end date. If the offer des not have a specified end date then this
# field is not set. This field is populated even if the entitlement isn't active
# yet. If there's no upcoming offer, the field is empty. * If the entitlement is
# in the state ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or
# ENTITLEMENT_PENDING_CANCELLATION, then this field is empty. * If the
# entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
# ENTITLEMENT_PENDING_PLAN_CHANGE, and the upcoming offer has a specified end
# date, then this field is populated with the expected end time of the upcoming
# offer, in the future. Otherwise, this field is empty. * If the entitlement is
# in the state ENTITLEMENT_CANCELLED, then this field is empty.
# Corresponds to the JSON property `newOfferEndTime`
# @return [String]
attr_accessor :new_offer_end_time

# Output only. The timestamp when the new offer becomes effective. This field is
# populated even if the entitlement isn't active yet. If there's no upcoming
# offer, the field is empty. * If the entitlement is in
# ENTITLEMENT_ACTIVATION_REQUESTED state, this field will not be populated when
# the entitlement is not yet approved. But after the entitlement is approved,
# then this field will be populated with effective time of the upcoming offer. *
# If the entitlement is in ENTITLEMENT_ACTIVE or
# ENTITLEMENT_PENDING_CANCELLATION state, this field will not be populated. * If
# the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, this
# field will not be populated since the entitlement change is waiting on
# approval. * If the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE state,
# this field will be populated with the expected effective time of the upcoming
# offer (in the future). * If the entitlement is in ENTITLEMENT_CANCELLED state,
# then this field will be empty.
# offer, the field is empty. * If the entitlement is in the state
# ENTITLEMENT_ACTIVATION_REQUESTED, this field isn't populated when the
# entitlement isn't yet approved. After the entitlement is approved, this field
# is populated with the effective time of the upcoming offer. * If the
# entitlement is in the state ENTITLEMENT_ACTIVE or
# ENTITLEMENT_PENDING_CANCELLATION, this field isn't populated. * If the
# entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL, this
# field isn't populated, because the entitlement change is waiting on approval. *
# If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE, this
# field is populated with the expected effective time of the upcoming offer,
# which is in the future. * If the entitlement is in the state
# ENTITLEMENT_CANCELLED, then this field is empty.
# Corresponds to the JSON property `newOfferStartTime`
# @return [String]
attr_accessor :new_offer_start_time

# Output only. The name of the offer the entitlement is switching to upon a
# pending plan change. Only exists if the pending plan change is moving to an
# offer. This field isn't populated for entitlements which aren't active yet.
# Format: 'projects/`project`/services/`service`/privateOffers/`offer`' OR '
# Output only. Upon a pending plan change, the name of the offer that the
# entitlement is switching to. Only exists if the pending plan change is moving
# to an offer. This field isn't populated for entitlements which aren't active
# yet. Format: 'projects/`project`/services/`service`/privateOffers/`offer`' OR '
# projects/`project`/services/`service`/standardOffers/`offer`', depending on
# whether the offer is private or public. The `service` in the name is the
# listing service of the offer. It could be either the product service that the
# offer is referencing, or a generic private offer parent service. We recommend
# that you don't build your integration to rely on the meaning of this `service`
# part. * If the entitlement is in ENTITLEMENT_ACTIVATION_REQUESTED,
# ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION state, then this field
# will be empty. * If the entitlement is in
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE
# state, then this field will be populated with the upcoming offer. * If the
# entitlement is in ENTITLEMENT_CANCELLED state, then this will be empty.
# part. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED,
# ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION, then this field is
# empty. * If the entitlement is in the state
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE,
# then this field is populated with the upcoming offer. * If the entitlement is
# in the state ENTITLEMENT_CANCELLED, then this is empty.
# Corresponds to the JSON property `newPendingOffer`
# @return [String]
attr_accessor :new_pending_offer

# Output only. The duration of the new offer, in ISO 8601 duration format. This
# field isn't populated for entitlements which aren't active yet, only for
# pending offer changes. If the offer was has a specified end date instead of a
# duration, this field is empty. * If the entitlement is in
# ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEENTITLEMENT_ACTIVE, or
# ENTITLEMENT_PENDING_CANCELLATION state, then this field is empty. * If the
# entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
# ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated with
# the duration of the upcoming offer, if the upcoming offer is does not have a
# specified end date. Otherwise, this field will be empty. * If the entitlement
# is in ENTITLEMENT_CANCELLED state, then this field will be empty.
# field is populated for pending offer changes. It isn't populated for
# entitlements which aren't active yet. If the offer has a specified end date
# instead of a duration, this field is empty. * If the entitlement is in the
# state ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or
# ENTITLEMENT_PENDING_CANCELLATION, this field is empty. * If the entitlement is
# in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
# ENTITLEMENT_PENDING_PLAN_CHANGE, and the upcoming offer doesn't have a
# specified end date, then this field is populated with the duration of the
# upcoming offer. Otherwise, this field is empty. * If the entitlement is in the
# state ENTITLEMENT_CANCELLED, then this field is empty.
# Corresponds to the JSON property `newPendingOfferDuration`
# @return [String]
attr_accessor :new_pending_offer_duration
Expand All @@ -382,66 +382,67 @@ class Entitlement
attr_accessor :new_pending_plan

# Output only. The name of the offer that was procured. Field is empty if order
# was not made using an offer. Format: 'projects/`project`/services/`service`/
# wasn't made using an offer. Format: 'projects/`project`/services/`service`/
# privateOffers/`offer`' OR 'projects/`project`/services/`service`/
# standardOffers/`offer`', depending on whether the offer is private or public.
# The `service` in the name is the listing service of the offer. It could be
# either the product service that the offer is referencing, or a generic private
# offer parent service. We recommend that you don't build your integration to
# rely on the meaning of this `service` part. * If the entitlement is in
# ENTITLEMENT_ACTIVATION_REQUESTED state, this field will be populated with the
# upcoming offer. * If the entitlement is in ENTITLEMENT_ACTIVE,
# rely on the meaning of this `service` part. * If the entitlement is in the
# state ENTITLEMENT_ACTIVATION_REQUESTED, this field is populated with the
# upcoming offer. * If the entitlement is in the state ENTITLEMENT_ACTIVE,
# ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, this field will be populated
# with the current offer. * If the entitlement is in ENTITLEMENT_CANCELLED state,
# then this field will be populated with the latest offer the order was
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL, this field is populated with the
# current offer. * If the entitlement is in the state ENTITLEMENT_CANCELLED,
# then this field is populated with the latest offer that the order was
# associated with.
# Corresponds to the JSON property `offer`
# @return [String]
attr_accessor :offer

# Output only. The offer duration of the current offer in ISO 8601 duration
# format. Field is empty if entitlement was not made using an offer. If the
# offer has a specified end date instead of a duration, this field is empty. *
# If the entitlement is in ENTITLEMENT_ACTIVATION_REQUESTED state, then this
# field will be populated with the duration of the upcoming offer, if the
# upcoming offer does not have a specified end date. Otherwise, this field will
# be empty. * If the entitlement is in ENTITLEMENT_ACTIVE,
# ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, then this field will be
# populated with the duration of the current offer if the current offer is does
# not have a specific end date. Otherwise, this field will be empty. * If the
# entitlement is in ENTITLEMENT_CANCELLED state, then this field will be
# populated with the duration of the latest offer the order was associated with
# if that offer does not have a specific end date. Otherwise, this field will be
# Output only. The offer duration of the current offer, in ISO 8601 duration
# format. This is empty if the entitlement wasn't made using an offer, or if the
# offer has a specified end date instead of a duration. * If the entitlement is
# in the state ENTITLEMENT_ACTIVATION_REQUESTED, and the upcoming offer doesn't
# have a specified end date, then this field is populated with the duration of
# the upcoming offer. Otherwise, this field is empty. * If the entitlement is in
# the state ENTITLEMENT_ACTIVE, ENTITLEMENT_PENDING_CANCELLATION,
# ENTITLEMENT_PENDING_PLAN_CHANGE, or ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL,
# and the current offer doesn't have a specified end date, then this field
# contains the duration of the current offer. Otherwise, this field is empty. *
# If the entitlement is in the state ENTITLEMENT_CANCELLED, and the offer doesn'
# t have a specified end date, then this field is populated with the duration of
# the latest offer that the order was associated with. Otherwise, this field is
# empty.
# Corresponds to the JSON property `offerDuration`
# @return [String]
attr_accessor :offer_duration

# Output only. End time for the Offer associated with this entitlement. Note
# that this field value can change over time. This occurs naturally even if the
# offer is not changed, due to auto renewal. * If the entitlement is in
# ENTITLEMENT_ACTIVATION_REQUESTED state, then: * If the entitlement is not yet
# approved, then this field will be populated with the expected end time of the
# upcoming offer (in the future) if the upcoming offer has a specified end date.
# Otherwise this field will be empty. * If the entitlement is approved, then
# this field will always be populated with the expected end time of the upcoming
# offer (in the future). This means both this field, and the offer_duration
# field, can co-exist. * If the entitlement is in ENTITLEMENT_ACTIVE or
# ENTITLEMENT_PENDING_CANCELLATION state, then this field will be populated with
# the actual expected end time of the current offer (in the futre). Meaning,
# this field will be set, regardless of whether the offer has a specific end
# date or a duration. This means both this field, and the offer_duration field,
# can co-exist. * If the entitlement is in
# ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE
# state: * If the current offer has already ended and became pure PAYG, then
# this field reflects the ACTUAL end time of the current offer (in the past). *
# Otherwise, then this is the EXPECTED end date of the current offer (in the
# future). * If the entitlement is in ENTITLEMENT_CANCELLED state, then this
# field will be populated with the ACTUAL end time of the latest offer the order
# was associated with (in the past). If the entitlement was cancelled before any
# offer started, then this field will be empty.
# Output only. End time for the current term of the Offer associated with this
# entitlement. The value of this field can change naturally over time due to
# auto-renewal, even if the offer isn't changed. * If the entitlement is in the
# state ENTITLEMENT_ACTIVATION_REQUESTED, then: * If the entitlement isn't
# approved yet approved, and the offer has a specified end date, then this field
# is populated with the expected end time of the upcoming offer, in the future.
# Otherwise, this field is empty. * If the entitlement is approved, then this
# field is populated with the expected end time of the upcoming offer, in the
# future. This means that this field and the field offer_duration can both exist.
# * If the entitlement is in the state ENTITLEMENT_ACTIVE or
# ENTITLEMENT_PENDING_CANCELLATION, then this field is populated with the
# expected end time of the current offer, in the future. This field's value is
# set regardless of whether the offer has a specific end date or a duration.
# This means that this field and the field offer_duration can both exist. * If
# the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or
# ENTITLEMENT_PENDING_PLAN_CHANGE: * If the entitlement's pricing model is usage
# based and the associated offer is a private offer whose term has ended, then
# this field reflects the ACTUAL end time of the entitlement's associated offer (
# in the past), even though the entitlement associated with this private offer
# does not terminate at the end of that private offer's term. * Otherwise, this
# is the expected end date of the current offer, in the future. * If the
# entitlement is in the state ENTITLEMENT_CANCELLED, then this field is
# populated with the end time, in the past, of the latest offer that the order
# was associated with. If the entitlement was cancelled before any offer started,
# then this field is empty.
# Corresponds to the JSON property `offerEndTime`
# @return [String]
attr_accessor :offer_end_time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module CloudcommerceprocurementV1
# Version of the google-apis-cloudcommerceprocurement_v1 gem
GEM_VERSION = "0.4.0"
GEM_VERSION = "0.5.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20250914"
REVISION = "20250923"
end
end
end
Loading