google-apis-paymentsresellersubscription_v1 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aeaca9f311d0410d430967b2b57c5894657f4b3407e047e618a7e2a3314ec2b
4
- data.tar.gz: 1a53b047f8518c07de06f8dde05560e2d4ede49c746c2fe8f50759b4929ecbcf
3
+ metadata.gz: bcee5f6d535db64d6871c78df803b0c58061f250a0bf1d7a240f4baedeec287b
4
+ data.tar.gz: b541060f4038282ada9591335f160f62d9a586ac81cb4aee3c69164537267c9e
5
5
  SHA512:
6
- metadata.gz: 9edf73af9805f93c7748c58cddfe5d615f460a617f654ecad66513cad260953251d057078546556b40133c03f3a85c7271f3dc38182e058eecde93d8835c1c14
7
- data.tar.gz: 813c7c1ce41bc024b5fc2e1c725db79c0c445dafba28368f8ec7ed504e2defaa43a7a81b8e2cbdf75e88812eff1ded75173251b79bed9be54f6406d15060c307
6
+ metadata.gz: 8836c4ce4b079ed61233e78527acd5bb193d88f7985db1f0d5f162e954a002f79c65e9ffde112a7001b16302ff24424b2e1759420bf23abf5baf5362add7769d
7
+ data.tar.gz: 8b06af0c57227616b94b1fefa5680373159140f61500caba681ceb9c57518418b08fda0b3c1246dc37ca9cbe54b406afdcc325b7210d6f5c22415c9b60e99a1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.33.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230913
6
+
3
7
  ### v0.32.0 (2023-08-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20230823
@@ -458,6 +458,11 @@ module Google
458
458
  class GoogleCloudPaymentsResellerSubscriptionV1Product
459
459
  include Google::Apis::Core::Hashable
460
460
 
461
+ # Details for a bundle product.
462
+ # Corresponds to the JSON property `bundleDetails`
463
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails]
464
+ attr_accessor :bundle_details
465
+
461
466
  # Details for a subscriptiin line item with finite billing cycles.
462
467
  # Corresponds to the JSON property `finiteBillingCycleDetails`
463
468
  # @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails]
@@ -474,6 +479,11 @@ module Google
474
479
  # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig>]
475
480
  attr_accessor :price_configs
476
481
 
482
+ # Output only. Output Only. Specifies the type of the product.
483
+ # Corresponds to the JSON property `productType`
484
+ # @return [String]
485
+ attr_accessor :product_type
486
+
477
487
  # Output only. 2-letter ISO region code where the product is available in. Ex. "
478
488
  # US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
479
489
  # Corresponds to the JSON property `regionCodes`
@@ -496,15 +506,62 @@ module Google
496
506
 
497
507
  # Update properties of this object
498
508
  def update!(**args)
509
+ @bundle_details = args[:bundle_details] if args.key?(:bundle_details)
499
510
  @finite_billing_cycle_details = args[:finite_billing_cycle_details] if args.key?(:finite_billing_cycle_details)
500
511
  @name = args[:name] if args.key?(:name)
501
512
  @price_configs = args[:price_configs] if args.key?(:price_configs)
513
+ @product_type = args[:product_type] if args.key?(:product_type)
502
514
  @region_codes = args[:region_codes] if args.key?(:region_codes)
503
515
  @subscription_billing_cycle_duration = args[:subscription_billing_cycle_duration] if args.key?(:subscription_billing_cycle_duration)
504
516
  @titles = args[:titles] if args.key?(:titles)
505
517
  end
506
518
  end
507
519
 
520
+ # Details for a bundle product.
521
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
522
+ include Google::Apis::Core::Hashable
523
+
524
+ # The individual products that are included in the bundle.
525
+ # Corresponds to the JSON property `bundleElements`
526
+ # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement>]
527
+ attr_accessor :bundle_elements
528
+
529
+ # The entitlement mode of the bundle product.
530
+ # Corresponds to the JSON property `entitlementMode`
531
+ # @return [String]
532
+ attr_accessor :entitlement_mode
533
+
534
+ def initialize(**args)
535
+ update!(**args)
536
+ end
537
+
538
+ # Update properties of this object
539
+ def update!(**args)
540
+ @bundle_elements = args[:bundle_elements] if args.key?(:bundle_elements)
541
+ @entitlement_mode = args[:entitlement_mode] if args.key?(:entitlement_mode)
542
+ end
543
+ end
544
+
545
+ # The individual product that is included in the bundle.
546
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
547
+ include Google::Apis::Core::Hashable
548
+
549
+ # Required. Output only. Product resource name that identifies the bundle
550
+ # element. The format is 'partners/`partner_id`/products/`product_id`'.
551
+ # Corresponds to the JSON property `product`
552
+ # @return [String]
553
+ attr_accessor :product
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @product = args[:product] if args.key?(:product)
562
+ end
563
+ end
564
+
508
565
  # Specifies product specific payload.
509
566
  class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
510
567
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PaymentsresellersubscriptionV1
18
18
  # Version of the google-apis-paymentsresellersubscription_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230823"
25
+ REVISION = "20230913"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,18 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -357,11 +369,14 @@ module Google
357
369
  class GoogleCloudPaymentsResellerSubscriptionV1Product
358
370
  # @private
359
371
  class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :bundle_details, as: 'bundleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails::Representation
373
+
360
374
  property :finite_billing_cycle_details, as: 'finiteBillingCycleDetails', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails::Representation
361
375
 
362
376
  property :name, as: 'name'
363
377
  collection :price_configs, as: 'priceConfigs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig::Representation
364
378
 
379
+ property :product_type, as: 'productType'
365
380
  collection :region_codes, as: 'regionCodes'
366
381
  property :subscription_billing_cycle_duration, as: 'subscriptionBillingCycleDuration', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration::Representation
367
382
 
@@ -370,6 +385,22 @@ module Google
370
385
  end
371
386
  end
372
387
 
388
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ collection :bundle_elements, as: 'bundleElements', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement::Representation
392
+
393
+ property :entitlement_mode, as: 'entitlementMode'
394
+ end
395
+ end
396
+
397
+ class GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :product, as: 'product'
401
+ end
402
+ end
403
+
373
404
  class GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
374
405
  # @private
375
406
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-paymentsresellersubscription_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
63
63
  post_install_message:
64
64
  rdoc_options: []