google-apis-cloudchannel_v1 0.29.0 → 0.30.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: 21f6128cb0f120ad11840c4520a4b1df97b55c95ea37f22d647e3d8ed4352d5b
4
- data.tar.gz: 5d2adca897e3365bad0ea39e859d804623c32992fd766d6ae797edb3d382d50f
3
+ metadata.gz: c85050d04596ace04cf7e8b28fd23c0362111948ce9cb1494bc9ff5747aa3865
4
+ data.tar.gz: 6711294b71243778712798dd148babfe76764fdefdfa2029ab01428989e44700
5
5
  SHA512:
6
- metadata.gz: 96349de66503140d06f6189fc17e9879381a545fd5ac63ec4461bde5402504ca02e5c7b0263839094bdb478da27e8857b8fc9c82fb8db91451f1eb0ca1d0b21d
7
- data.tar.gz: 86df97e94b66ead2ad49f25eb10248b2ebbc278feed8a4a891031a463324c595e3be824c6ce641497e2db676e32a25c26d78d9766c4fe3ea6a3b4d4d551cee03
6
+ metadata.gz: 858e7bd361424ef5201901fa9d22285c72e623aa665c7c5e428aaa75130ac74f410cec3b031158cdf017b43da2ccb3189afb10bd24a0c53f712c587162e9a81a
7
+ data.tar.gz: 1c8fa678ce56058624de8f55ba61be922fa2bc7c1239de3f0eba127030604268d7f0964a0e2022be1e8740080f4d6a1139848f8dbae94726b0c75b3be3c27473
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.30.0 (2022-12-14)
4
+
5
+ * Regenerated from discovery document revision 20221210
6
+
3
7
  ### v0.29.0 (2022-11-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20221108
@@ -552,6 +552,39 @@ module Google
552
552
  end
553
553
  end
554
554
 
555
+ # Specifies the override to conditionally apply.
556
+ class GoogleCloudChannelV1ConditionalOverride
557
+ include Google::Apis::Core::Hashable
558
+
559
+ # A type that represents the various adjustments you can apply to a bill.
560
+ # Corresponds to the JSON property `adjustment`
561
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingAdjustment]
562
+ attr_accessor :adjustment
563
+
564
+ # Required. The RebillingBasis to use for the applied override. Shows the
565
+ # relative cost based on your repricing costs.
566
+ # Corresponds to the JSON property `rebillingBasis`
567
+ # @return [String]
568
+ attr_accessor :rebilling_basis
569
+
570
+ # Represents the various repricing conditions you can use for a conditional
571
+ # override.
572
+ # Corresponds to the JSON property `repricingCondition`
573
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition]
574
+ attr_accessor :repricing_condition
575
+
576
+ def initialize(**args)
577
+ update!(**args)
578
+ end
579
+
580
+ # Update properties of this object
581
+ def update!(**args)
582
+ @adjustment = args[:adjustment] if args.key?(:adjustment)
583
+ @rebilling_basis = args[:rebilling_basis] if args.key?(:rebilling_basis)
584
+ @repricing_condition = args[:repricing_condition] if args.key?(:repricing_condition)
585
+ end
586
+ end
587
+
555
588
  # Represents the constraints for buying the Offer.
556
589
  class GoogleCloudChannelV1Constraints
557
590
  include Google::Apis::Core::Hashable
@@ -2615,6 +2648,27 @@ module Google
2615
2648
  end
2616
2649
  end
2617
2650
 
2651
+ # Represents the various repricing conditions you can use for a conditional
2652
+ # override.
2653
+ class GoogleCloudChannelV1RepricingCondition
2654
+ include Google::Apis::Core::Hashable
2655
+
2656
+ # A condition that applies the override if a line item SKU is found in the SKU
2657
+ # group.
2658
+ # Corresponds to the JSON property `skuGroupCondition`
2659
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition]
2660
+ attr_accessor :sku_group_condition
2661
+
2662
+ def initialize(**args)
2663
+ update!(**args)
2664
+ end
2665
+
2666
+ # Update properties of this object
2667
+ def update!(**args)
2668
+ @sku_group_condition = args[:sku_group_condition] if args.key?(:sku_group_condition)
2669
+ end
2670
+ end
2671
+
2618
2672
  # Configuration for repricing a Google bill over a period of time.
2619
2673
  class GoogleCloudChannelV1RepricingConfig
2620
2674
  include Google::Apis::Core::Hashable
@@ -2630,6 +2684,13 @@ module Google
2630
2684
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]
2631
2685
  attr_accessor :channel_partner_granularity
2632
2686
 
2687
+ # The conditional overrides to apply for this configuration. If you list
2688
+ # multiple overrides, only the first valid override is used. If you don't list
2689
+ # any overrides, the API uses the normal adjustment and rebilling basis.
2690
+ # Corresponds to the JSON property `conditionalOverrides`
2691
+ # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ConditionalOverride>]
2692
+ attr_accessor :conditional_overrides
2693
+
2633
2694
  # Represents a whole or partial calendar date, such as a birthday. The time of
2634
2695
  # day and time zone are either specified elsewhere or are insignificant. The
2635
2696
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -2661,6 +2722,7 @@ module Google
2661
2722
  def update!(**args)
2662
2723
  @adjustment = args[:adjustment] if args.key?(:adjustment)
2663
2724
  @channel_partner_granularity = args[:channel_partner_granularity] if args.key?(:channel_partner_granularity)
2725
+ @conditional_overrides = args[:conditional_overrides] if args.key?(:conditional_overrides)
2664
2726
  @effective_invoice_month = args[:effective_invoice_month] if args.key?(:effective_invoice_month)
2665
2727
  @entitlement_granularity = args[:entitlement_granularity] if args.key?(:entitlement_granularity)
2666
2728
  @rebilling_basis = args[:rebilling_basis] if args.key?(:rebilling_basis)
@@ -2819,6 +2881,28 @@ module Google
2819
2881
  end
2820
2882
  end
2821
2883
 
2884
+ # A condition that applies the override if a line item SKU is found in the SKU
2885
+ # group.
2886
+ class GoogleCloudChannelV1SkuGroupCondition
2887
+ include Google::Apis::Core::Hashable
2888
+
2889
+ # Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource
2890
+ # name of SKU group. Format: accounts/`account`/skuGroups/`sku_group`. Example: "
2891
+ # accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
2892
+ # Corresponds to the JSON property `skuGroup`
2893
+ # @return [String]
2894
+ attr_accessor :sku_group
2895
+
2896
+ def initialize(**args)
2897
+ update!(**args)
2898
+ end
2899
+
2900
+ # Update properties of this object
2901
+ def update!(**args)
2902
+ @sku_group = args[:sku_group] if args.key?(:sku_group)
2903
+ end
2904
+ end
2905
+
2822
2906
  # Request message for CloudChannelService.StartPaidService.
2823
2907
  class GoogleCloudChannelV1StartPaidServiceRequest
2824
2908
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudchannelV1
18
18
  # Version of the google-apis-cloudchannel_v1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221108"
25
+ REVISION = "20221210"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class GoogleCloudChannelV1ConditionalOverride
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class GoogleCloudChannelV1Constraints
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -454,6 +460,12 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class GoogleCloudChannelV1RepricingCondition
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class GoogleCloudChannelV1RepricingConfig
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
@@ -496,6 +508,12 @@ module Google
496
508
  include Google::Apis::Core::JsonObjectSupport
497
509
  end
498
510
 
511
+ class GoogleCloudChannelV1SkuGroupCondition
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
499
517
  class GoogleCloudChannelV1StartPaidServiceRequest
500
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
519
 
@@ -922,6 +940,17 @@ module Google
922
940
  end
923
941
  end
924
942
 
943
+ class GoogleCloudChannelV1ConditionalOverride
944
+ # @private
945
+ class Representation < Google::Apis::Core::JsonRepresentation
946
+ property :adjustment, as: 'adjustment', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingAdjustment, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingAdjustment::Representation
947
+
948
+ property :rebilling_basis, as: 'rebillingBasis'
949
+ property :repricing_condition, as: 'repricingCondition', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition::Representation
950
+
951
+ end
952
+ end
953
+
925
954
  class GoogleCloudChannelV1Constraints
926
955
  # @private
927
956
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1518,6 +1547,14 @@ module Google
1518
1547
  end
1519
1548
  end
1520
1549
 
1550
+ class GoogleCloudChannelV1RepricingCondition
1551
+ # @private
1552
+ class Representation < Google::Apis::Core::JsonRepresentation
1553
+ property :sku_group_condition, as: 'skuGroupCondition', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition::Representation
1554
+
1555
+ end
1556
+ end
1557
+
1521
1558
  class GoogleCloudChannelV1RepricingConfig
1522
1559
  # @private
1523
1560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1525,6 +1562,8 @@ module Google
1525
1562
 
1526
1563
  property :channel_partner_granularity, as: 'channelPartnerGranularity', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity::Representation
1527
1564
 
1565
+ collection :conditional_overrides, as: 'conditionalOverrides', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ConditionalOverride, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ConditionalOverride::Representation
1566
+
1528
1567
  property :effective_invoice_month, as: 'effectiveInvoiceMonth', class: Google::Apis::CloudchannelV1::GoogleTypeDate, decorator: Google::Apis::CloudchannelV1::GoogleTypeDate::Representation
1529
1568
 
1530
1569
  property :entitlement_granularity, as: 'entitlementGranularity', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigEntitlementGranularity, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigEntitlementGranularity::Representation
@@ -1585,6 +1624,13 @@ module Google
1585
1624
  end
1586
1625
  end
1587
1626
 
1627
+ class GoogleCloudChannelV1SkuGroupCondition
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ property :sku_group, as: 'skuGroup'
1631
+ end
1632
+ end
1633
+
1588
1634
  class GoogleCloudChannelV1StartPaidServiceRequest
1589
1635
  # @private
1590
1636
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudchannel_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.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: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2023-01-04 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-cloudchannel_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudchannel_v1
63
63
  post_install_message:
64
64
  rdoc_options: []