google-apis-cloudcommerceprocurement_v1 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cef5a2e2e16ee0ba6bf9ebe2c70de9a4dbfcecaa27e4d19c9250d15e6063524
4
- data.tar.gz: 3b9cd3d44b46ebcb40080f2cae743537109a685be26c9a083f728949a69e48bd
3
+ metadata.gz: d39dfdef8bb51967e47501686ebc8a25d43396dfc455982acd13b48e9a84313f
4
+ data.tar.gz: 9a8d7d7fd705f00e7b4ad0999abb36f06b1babd9bd42075f6c2422975604a2a0
5
5
  SHA512:
6
- metadata.gz: 187d215d529f108879b3859e6615f6e447730b4b637c814de911fe493faace0407cd8449fffd152d67fc439cdf814f16bdbb925eb729b12992d62b6246eac937
7
- data.tar.gz: 6320fc33cab7886ddaab02537008bc40720611fd80d624e10958e129dd41fb7c62e93ea8a1b1cc5bc2fe040c03a2ef4236cf89568d27ea94dc1ede80021896b5
6
+ metadata.gz: a23415e793b870bf9035f6ddf7723edb3945f9bbf28575169d101c577b711faf5baccb0c2a4dd5d4b19d91f8961dd020284599de436c8a6d2e8154a00fd94b2d
7
+ data.tar.gz: b437d213beb3b30c0666efc469501f3247d1ea5260ebba61042d7aaa725e61e828ab9c9626262951db9f9d970bfdb7e6fb78121cf636ac37c3f295aaa807cadb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudcommerceprocurement_v1
2
2
 
3
+ ### v0.2.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250831
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.1.0 (2021-04-22)
4
9
 
5
10
  * Regenerated from discovery document revision 20210417
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudcommerceprocurement_v1"
51
51
  client = Google::Apis::CloudcommerceprocurementV1::CloudCommercePartnerProcurementServiceService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudcommerceprocurement service in particular.)
67
67
 
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/marketplace/docs/partners/)
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -163,7 +163,7 @@ module Google
163
163
  class ApproveEntitlementPlanChangeRequest
164
164
  include Google::Apis::Core::Hashable
165
165
 
166
- # Name of the pending plan that is being approved. Required.
166
+ # Required. Name of the pending plan that's being approved.
167
167
  # Corresponds to the JSON property `pendingPlanName`
168
168
  # @return [String]
169
169
  attr_accessor :pending_plan_name
@@ -182,6 +182,14 @@ module Google
182
182
  class ApproveEntitlementRequest
183
183
  include Google::Apis::Core::Hashable
184
184
 
185
+ # Optional. The resource name of the entitlement that was migrated, with the
186
+ # format `providers/`provider_id`/entitlements/`entitlement_id``. Should only be
187
+ # sent when resources have been migrated from entitlement_migrated to the new
188
+ # entitlement. Optional.
189
+ # Corresponds to the JSON property `entitlementMigrated`
190
+ # @return [String]
191
+ attr_accessor :entitlement_migrated
192
+
185
193
  # Set of properties that should be associated with the entitlement. Optional.
186
194
  # Corresponds to the JSON property `properties`
187
195
  # @return [Hash<String,String>]
@@ -193,6 +201,7 @@ module Google
193
201
 
194
202
  # Update properties of this object
195
203
  def update!(**args)
204
+ @entitlement_migrated = args[:entitlement_migrated] if args.key?(:entitlement_migrated)
196
205
  @properties = args[:properties] if args.key?(:properties)
197
206
  end
198
207
  end
@@ -219,8 +228,7 @@ module Google
219
228
  # A generic empty message that you can re-use to avoid defining duplicated empty
220
229
  # messages in your APIs. A typical example is to use it as the request or the
221
230
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
222
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
223
- # `Empty` is empty JSON object ````.
231
+ # protobuf.Empty) returns (google.protobuf.Empty); `
224
232
  class Empty
225
233
  include Google::Apis::Core::Hashable
226
234
 
@@ -233,7 +241,7 @@ module Google
233
241
  end
234
242
  end
235
243
 
236
- # Represents a procured product of a customer. Next Id: 24
244
+ # Represents a procured product of a customer.
237
245
  class Entitlement
238
246
  include Google::Apis::Core::Hashable
239
247
 
@@ -243,6 +251,17 @@ module Google
243
251
  # @return [String]
244
252
  attr_accessor :account
245
253
 
254
+ # Output only. The reason the entitlement was cancelled. If this entitlement
255
+ # wasn't cancelled, this field is empty. Possible values include "unknown", "
256
+ # expired", "user-cancelled", "account-closed", "billing-disabled" (if the
257
+ # customer has manually disabled billing to their resources), "user-aborted",
258
+ # and "migrated" (if the entitlement has migrated across products). Values of
259
+ # this field are subject to change, and we recommend that you don't build your
260
+ # technical integration to rely on these fields.
261
+ # Corresponds to the JSON property `cancellationReason`
262
+ # @return [String]
263
+ attr_accessor :cancellation_reason
264
+
246
265
  # Output only. The resources using this entitlement, if applicable.
247
266
  # Corresponds to the JSON property `consumers`
248
267
  # @return [Array<Google::Apis::CloudcommerceprocurementV1::Consumer>]
@@ -253,6 +272,11 @@ module Google
253
272
  # @return [String]
254
273
  attr_accessor :create_time
255
274
 
275
+ # Output only. The entitlement benefit IDs associated with the purchase.
276
+ # Corresponds to the JSON property `entitlementBenefitIds`
277
+ # @return [Array<String>]
278
+ attr_accessor :entitlement_benefit_ids
279
+
256
280
  # Output only. The custom properties that were collected from the user to create
257
281
  # this entitlement.
258
282
  # Corresponds to the JSON property `inputProperties`
@@ -275,15 +299,43 @@ module Google
275
299
  # @return [String]
276
300
  attr_accessor :name
277
301
 
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
304
+ # populated even if the entitlement isn't active yet. If there's no upcoming
305
+ # offer, the field is be empty.
306
+ # Corresponds to the JSON property `newOfferEndTime`
307
+ # @return [String]
308
+ attr_accessor :new_offer_end_time
309
+
310
+ # Output only. The timestamp when the new offer becomes effective. This field is
311
+ # populated even if the entitlement isn't active yet. If there's no upcoming
312
+ # offer, the field is empty.
313
+ # Corresponds to the JSON property `newOfferStartTime`
314
+ # @return [String]
315
+ attr_accessor :new_offer_start_time
316
+
278
317
  # Output only. The name of the offer the entitlement is switching to upon a
279
318
  # pending plan change. Only exists if the pending plan change is moving to an
280
- # offer. Format: 'projects/`project`/services/`service`/privateOffers/`offer-id`'
281
- # OR 'projects/`project`/services/`service`/standardOffers/`offer-id`',
282
- # depending on whether the offer is private or public.
319
+ # 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
322
+ # whether the offer is private or public. The `service` in the name is the
323
+ # listing service of the offer. It could be either the product service that the
324
+ # offer is referencing, or a generic private offer parent service. We recommend
325
+ # that you don't build your integration to rely on the meaning of this `service`
326
+ # part.
283
327
  # Corresponds to the JSON property `newPendingOffer`
284
328
  # @return [String]
285
329
  attr_accessor :new_pending_offer
286
330
 
331
+ # Output only. The duration of the new offer, in ISO 8601 duration format. This
332
+ # 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.
335
+ # Corresponds to the JSON property `newPendingOfferDuration`
336
+ # @return [String]
337
+ attr_accessor :new_pending_offer_duration
338
+
287
339
  # Output only. The identifier of the pending new plan. Required if the product
288
340
  # has plans and the entitlement has a pending plan change.
289
341
  # Corresponds to the JSON property `newPendingPlan`
@@ -294,11 +346,22 @@ module Google
294
346
  # was not made using an offer. Format: 'projects/`project`/services/`service`/
295
347
  # privateOffers/`offer-id`' OR 'projects/`project`/services/`service`/
296
348
  # standardOffers/`offer-id`', depending on whether the offer is private or
297
- # public.
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.
298
353
  # Corresponds to the JSON property `offer`
299
354
  # @return [String]
300
355
  attr_accessor :offer
301
356
 
357
+ # Output only. The offer duration of the current offer in ISO 8601 duration
358
+ # 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.
361
+ # Corresponds to the JSON property `offerDuration`
362
+ # @return [String]
363
+ attr_accessor :offer_duration
364
+
302
365
  # Output only. End time for the Offer association corresponding to this
303
366
  # entitlement. The field is only populated if the entitlement is currently
304
367
  # associated with an Offer.
@@ -306,6 +369,12 @@ module Google
306
369
  # @return [String]
307
370
  attr_accessor :offer_end_time
308
371
 
372
+ # Output only. The order ID of this entitlement, without any `orders/` resource
373
+ # name prefix.
374
+ # Corresponds to the JSON property `orderId`
375
+ # @return [String]
376
+ attr_accessor :order_id
377
+
309
378
  # Output only. The identifier of the plan that was procured. Required if the
310
379
  # product has plans.
311
380
  # Corresponds to the JSON property `plan`
@@ -313,7 +382,9 @@ module Google
313
382
  attr_accessor :plan
314
383
 
315
384
  # Output only. The identifier of the entity that was purchased. This may
316
- # actually represent a product, quote, or offer.
385
+ # actually represent a product, quote, or offer. We strongly recommend that you
386
+ # use the following more explicit fields: productExternalName, quoteExternalName,
387
+ # or offer.
317
388
  # Corresponds to the JSON property `product`
318
389
  # @return [String]
319
390
  attr_accessor :product
@@ -366,15 +437,22 @@ module Google
366
437
  # Update properties of this object
367
438
  def update!(**args)
368
439
  @account = args[:account] if args.key?(:account)
440
+ @cancellation_reason = args[:cancellation_reason] if args.key?(:cancellation_reason)
369
441
  @consumers = args[:consumers] if args.key?(:consumers)
370
442
  @create_time = args[:create_time] if args.key?(:create_time)
443
+ @entitlement_benefit_ids = args[:entitlement_benefit_ids] if args.key?(:entitlement_benefit_ids)
371
444
  @input_properties = args[:input_properties] if args.key?(:input_properties)
372
445
  @message_to_user = args[:message_to_user] if args.key?(:message_to_user)
373
446
  @name = args[:name] if args.key?(:name)
447
+ @new_offer_end_time = args[:new_offer_end_time] if args.key?(:new_offer_end_time)
448
+ @new_offer_start_time = args[:new_offer_start_time] if args.key?(:new_offer_start_time)
374
449
  @new_pending_offer = args[:new_pending_offer] if args.key?(:new_pending_offer)
450
+ @new_pending_offer_duration = args[:new_pending_offer_duration] if args.key?(:new_pending_offer_duration)
375
451
  @new_pending_plan = args[:new_pending_plan] if args.key?(:new_pending_plan)
376
452
  @offer = args[:offer] if args.key?(:offer)
453
+ @offer_duration = args[:offer_duration] if args.key?(:offer_duration)
377
454
  @offer_end_time = args[:offer_end_time] if args.key?(:offer_end_time)
455
+ @order_id = args[:order_id] if args.key?(:order_id)
378
456
  @plan = args[:plan] if args.key?(:plan)
379
457
  @product = args[:product] if args.key?(:product)
380
458
  @product_external_name = args[:product_external_name] if args.key?(:product_external_name)
@@ -470,7 +548,7 @@ module Google
470
548
  class RejectEntitlementPlanChangeRequest
471
549
  include Google::Apis::Core::Hashable
472
550
 
473
- # Name of the pending plan that is being rejected. Required.
551
+ # Required. Name of the pending plan that is being rejected.
474
552
  # Corresponds to the JSON property `pendingPlanName`
475
553
  # @return [String]
476
554
  attr_accessor :pending_plan_name
@@ -512,7 +590,7 @@ module Google
512
590
  end
513
591
  end
514
592
 
515
- # Request message for for PartnerProcurementService.ResetAccount.
593
+ # Request message for PartnerProcurementService.ResetAccount.
516
594
  class ResetAccountRequest
517
595
  include Google::Apis::Core::Hashable
518
596
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudcommerceprocurementV1
18
18
  # Version of the google-apis-cloudcommerceprocurement_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210417"
25
+ REVISION = "20250831"
26
26
  end
27
27
  end
28
28
  end
@@ -155,6 +155,7 @@ module Google
155
155
  class ApproveEntitlementRequest
156
156
  # @private
157
157
  class Representation < Google::Apis::Core::JsonRepresentation
158
+ property :entitlement_migrated, as: 'entitlementMigrated'
158
159
  hash :properties, as: 'properties'
159
160
  end
160
161
  end
@@ -176,16 +177,23 @@ module Google
176
177
  # @private
177
178
  class Representation < Google::Apis::Core::JsonRepresentation
178
179
  property :account, as: 'account'
180
+ property :cancellation_reason, as: 'cancellationReason'
179
181
  collection :consumers, as: 'consumers', class: Google::Apis::CloudcommerceprocurementV1::Consumer, decorator: Google::Apis::CloudcommerceprocurementV1::Consumer::Representation
180
182
 
181
183
  property :create_time, as: 'createTime'
184
+ collection :entitlement_benefit_ids, as: 'entitlementBenefitIds'
182
185
  hash :input_properties, as: 'inputProperties'
183
186
  property :message_to_user, as: 'messageToUser'
184
187
  property :name, as: 'name'
188
+ property :new_offer_end_time, as: 'newOfferEndTime'
189
+ property :new_offer_start_time, as: 'newOfferStartTime'
185
190
  property :new_pending_offer, as: 'newPendingOffer'
191
+ property :new_pending_offer_duration, as: 'newPendingOfferDuration'
186
192
  property :new_pending_plan, as: 'newPendingPlan'
187
193
  property :offer, as: 'offer'
194
+ property :offer_duration, as: 'offerDuration'
188
195
  property :offer_end_time, as: 'offerEndTime'
196
+ property :order_id, as: 'orderId'
189
197
  property :plan, as: 'plan'
190
198
  property :product, as: 'product'
191
199
  property :product_external_name, as: 'productExternalName'
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/marketplace/docs/partners/
34
34
  class CloudCommercePartnerProcurementServiceService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://cloudcommerceprocurement.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://cloudcommerceprocurement.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-cloudcommerceprocurement_v1',
48
50
  client_version: Google::Apis::CloudcommerceprocurementV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -51,7 +53,8 @@ module Google
51
53
 
52
54
  # Grants an approval on an Account.
53
55
  # @param [String] name
54
- # The resource name of the account. Required.
56
+ # Required. The resource name of the account, with the format `providers/`
57
+ # providerId`/accounts/`accountId``.
55
58
  # @param [Google::Apis::CloudcommerceprocurementV1::ApproveAccountRequest] approve_account_request_object
56
59
  # @param [String] fields
57
60
  # Selector specifying which fields to include in a partial response.
@@ -84,7 +87,7 @@ module Google
84
87
 
85
88
  # Gets a requested Account resource.
86
89
  # @param [String] name
87
- # The name of the account to retrieve.
90
+ # Required. The name of the account to retrieve.
88
91
  # @param [String] fields
89
92
  # Selector specifying which fields to include in a partial response.
90
93
  # @param [String] quota_user
@@ -114,9 +117,10 @@ module Google
114
117
 
115
118
  # Lists Accounts that the provider has access to.
116
119
  # @param [String] parent
117
- # The parent resource name.
120
+ # Required. The parent resource name.
118
121
  # @param [Fixnum] page_size
119
- # The maximum number of entries that are requested. Default size is 200.
122
+ # The maximum number of entries that are requested. The default page size is 25
123
+ # and the maximum page size is 200.
120
124
  # @param [String] page_token
121
125
  # The token for fetching the next page.
122
126
  # @param [String] fields
@@ -150,7 +154,7 @@ module Google
150
154
 
151
155
  # Rejects an approval on an Account.
152
156
  # @param [String] name
153
- # The resource name of the account. Required.
157
+ # Required. The resource name of the account.
154
158
  # @param [Google::Apis::CloudcommerceprocurementV1::RejectAccountRequest] reject_account_request_object
155
159
  # @param [String] fields
156
160
  # Selector specifying which fields to include in a partial response.
@@ -181,10 +185,10 @@ module Google
181
185
  execute_or_queue_command(command, &block)
182
186
  end
183
187
 
184
- # Resets an Account and cancel all associated Entitlements. Partner can only
188
+ # Resets an Account and cancels all associated Entitlements. Partner can only
185
189
  # reset accounts they own rather than customer accounts.
186
190
  # @param [String] name
187
- # The resource name of the account. Required.
191
+ # Required. The resource name of the account.
188
192
  # @param [Google::Apis::CloudcommerceprocurementV1::ResetAccountRequest] reset_account_request_object
189
193
  # @param [String] fields
190
194
  # Selector specifying which fields to include in a partial response.
@@ -219,7 +223,8 @@ module Google
219
223
  # ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider
220
224
  # to approve the creation of the entitlement resource.
221
225
  # @param [String] name
222
- # The resource name of the entitlement. Required.
226
+ # Required. The resource name of the entitlement, with the format `providers/`
227
+ # providerId`/entitlements/`entitlementId``.
223
228
  # @param [Google::Apis::CloudcommerceprocurementV1::ApproveEntitlementRequest] approve_entitlement_request_object
224
229
  # @param [String] fields
225
230
  # Selector specifying which fields to include in a partial response.
@@ -254,7 +259,7 @@ module Google
254
259
  # ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the
255
260
  # provider to approve the plan change on the entitlement resource.
256
261
  # @param [String] name
257
- # The resource name of the entitlement. Required.
262
+ # Required. The resource name of the entitlement.
258
263
  # @param [Google::Apis::CloudcommerceprocurementV1::ApproveEntitlementPlanChangeRequest] approve_entitlement_plan_change_request_object
259
264
  # @param [String] fields
260
265
  # Selector specifying which fields to include in a partial response.
@@ -287,7 +292,7 @@ module Google
287
292
 
288
293
  # Gets a requested Entitlement resource.
289
294
  # @param [String] name
290
- # The name of the entitlement to retrieve.
295
+ # Required. The name of the entitlement to retrieve.
291
296
  # @param [String] fields
292
297
  # Selector specifying which fields to include in a partial response.
293
298
  # @param [String] quota_user
@@ -317,7 +322,7 @@ module Google
317
322
 
318
323
  # Lists Entitlements for which the provider has read access.
319
324
  # @param [String] parent
320
- # The parent resource name.
325
+ # Required. The parent resource name.
321
326
  # @param [String] filter
322
327
  # The filter that can be used to limit the list request. The filter is a query
323
328
  # string that can match a selected set of attributes with string values. For
@@ -326,24 +331,27 @@ module Google
326
331
  # customer_billing_account` with value in the format of: `billingAccounts/`id`` *
327
332
  # `product_external_name` * `quote_external_name` * `offer` * `
328
333
  # new_pending_offer` * `plan` * `newPendingPlan` or `new_pending_plan` * `state`
329
- # * `consumers.project` Note that the consumers match works on repeated
330
- # structures, so equality (`consumers.project=projects/123456789`) is not
331
- # supported. Set membership can be expressed with the `:` operator. For example,
332
- # `consumers.project:projects/123456789` finds entitlements with at least one
333
- # consumer with project field equal to `projects/123456789`. Also note that the
334
- # state name match is case-insensitive and query can omit the prefix "
335
- # ENTITLEMENT_". For example, `state=active` is equivalent to `state=
336
- # ENTITLEMENT_ACTIVE`. If the query contains some special characters other than
337
- # letters, underscore, or digits, the phrase must be quoted with double quotes.
338
- # For example, `product="providerId:productId"`, where the product name needs to
339
- # be quoted because it contains special character colon. Queries can be combined
340
- # with `AND`, `OR`, and `NOT` to form more complex queries. They can also be
341
- # grouped to force a desired evaluation order. For example, `state=active AND (
342
- # account=E-1234 OR account=5678) AND NOT (product=foo-product)`. Connective `
343
- # AND` can be omitted between two predicates. For example `account=E-1234 state=
344
- # active` is equivalent to `account=E-1234 AND state=active`.
334
+ # * `services` * `consumers.project` * `change_history.new_offer` Note that the
335
+ # consumers and change_history.new_offer match works on repeated structures, so
336
+ # equality (`consumers.project=projects/123456789`) is not supported. Set
337
+ # membership can be expressed with the `:` operator. For example, `consumers.
338
+ # project:projects/123456789` finds entitlements with at least one consumer with
339
+ # project field equal to `projects/123456789`. `change_history.new_offer`
340
+ # retrieves all entitlements that were once associated or are currently active
341
+ # with the offer. Also note that the state name match is case-insensitive and
342
+ # query can omit the prefix "ENTITLEMENT_". For example, `state=active` is
343
+ # equivalent to `state=ENTITLEMENT_ACTIVE`. If the query contains some special
344
+ # characters other than letters, underscore, or digits, the phrase must be
345
+ # quoted with double quotes. For example, `product="providerId:productId"`,
346
+ # where the product name needs to be quoted because it contains special
347
+ # character colon. Queries can be combined with `AND`, `OR`, and `NOT` to form
348
+ # more complex queries. They can also be grouped to force a desired evaluation
349
+ # order. For example, `state=active AND (account=E-1234 OR account=5678) AND NOT
350
+ # (product=foo-product)`. Connective `AND` can be omitted between two predicates.
351
+ # For example `account=E-1234 state=active` is equivalent to `account=E-1234
352
+ # AND state=active`.
345
353
  # @param [Fixnum] page_size
346
- # The maximum number of entries that are requested.
354
+ # The maximum number of entries that are requested. The default page size is 200.
347
355
  # @param [String] page_token
348
356
  # The token for fetching the next page.
349
357
  # @param [String] fields
@@ -378,7 +386,7 @@ module Google
378
386
 
379
387
  # Updates an existing Entitlement.
380
388
  # @param [String] name
381
- # The name of the entitlement to update.
389
+ # Required. The name of the entitlement to update.
382
390
  # @param [Google::Apis::CloudcommerceprocurementV1::Entitlement] entitlement_object
383
391
  # @param [String] update_mask
384
392
  # The update mask that applies to the resource. See the [FieldMask definition] (
@@ -418,7 +426,7 @@ module Google
418
426
  # ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider
419
427
  # to reject the creation of the entitlement resource.
420
428
  # @param [String] name
421
- # The resource name of the entitlement. Required.
429
+ # Required. The resource name of the entitlement.
422
430
  # @param [Google::Apis::CloudcommerceprocurementV1::RejectEntitlementRequest] reject_entitlement_request_object
423
431
  # @param [String] fields
424
432
  # Selector specifying which fields to include in a partial response.
@@ -453,7 +461,7 @@ module Google
453
461
  # ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the
454
462
  # provider to reject the plan change on the entitlement resource.
455
463
  # @param [String] name
456
- # The resource name of the entitlement. Required.
464
+ # Required. The resource name of the entitlement.
457
465
  # @param [Google::Apis::CloudcommerceprocurementV1::RejectEntitlementPlanChangeRequest] reject_entitlement_plan_change_request_object
458
466
  # @param [String] fields
459
467
  # Selector specifying which fields to include in a partial response.
@@ -486,7 +494,7 @@ module Google
486
494
 
487
495
  # Requests suspension of an active Entitlement. This is not yet supported.
488
496
  # @param [String] name
489
- # The name of the entitlement to suspend.
497
+ # Required. The name of the entitlement to suspend.
490
498
  # @param [Google::Apis::CloudcommerceprocurementV1::SuspendEntitlementRequest] suspend_entitlement_request_object
491
499
  # @param [String] fields
492
500
  # Selector specifying which fields to include in a partial response.
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,29 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudcommerceprocurement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2021-05-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '0.1'
18
+ version: 0.15.0
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: 2.a
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
- - - "~>"
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.15.0
29
+ - - "<"
25
30
  - !ruby/object:Gem::Version
26
- version: '0.1'
31
+ version: 2.a
27
32
  description: This is the simple REST client for Cloud Commerce Partner Procurement
28
33
  API V1. Simple REST clients are Ruby client libraries that provide access to Google
29
34
  services via their HTTP REST API endpoints. These libraries are generated and updated
@@ -51,10 +56,9 @@ licenses:
51
56
  - Apache-2.0
52
57
  metadata:
53
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcommerceprocurement_v1/v0.1.0
56
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudcommerceprocurement_v1
57
- post_install_message:
59
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcommerceprocurement_v1/v0.2.0
61
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudcommerceprocurement_v1
58
62
  rdoc_options: []
59
63
  require_paths:
60
64
  - lib
@@ -62,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
66
  requirements:
63
67
  - - ">="
64
68
  - !ruby/object:Gem::Version
65
- version: '2.5'
69
+ version: '3.1'
66
70
  required_rubygems_version: !ruby/object:Gem::Requirement
67
71
  requirements:
68
72
  - - ">="
69
73
  - !ruby/object:Gem::Version
70
74
  version: '0'
71
75
  requirements: []
72
- rubygems_version: 3.2.17
73
- signing_key:
76
+ rubygems_version: 3.6.9
74
77
  specification_version: 4
75
78
  summary: Simple REST client for Cloud Commerce Partner Procurement API V1
76
79
  test_files: []