google-apis-cloudchannel_v1 0.29.0 → 0.31.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bf0d3597c5c33c8987cd7e3f2c4ede20fe1e61611cf096424bf54c283003c4b
|
4
|
+
data.tar.gz: 617578a03c1e6b1ea485090c59e5890b8b25c471761d35cf74e603d1c27eed6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c8990a52e838cdf2021283bef07ea9f01302b92a8414116e3a683e62460dec83b596fe0443e7b690595d09023d08f435b5714096acf0a8599850b5147d2a84b
|
7
|
+
data.tar.gz: '08f925bc9c3711e718bbaa1203ca107a4a9f9bac2dcbc26da274e935ecc9c2aa9214f4ddc312d792756a594bb7cb9beb1f392dfb836916a73680423b0271a1cb'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudchannel_v1
|
2
2
|
|
3
|
+
### v0.31.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230122
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.30.0 (2022-12-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221210
|
11
|
+
|
3
12
|
### v0.29.0 (2022-11-10)
|
4
13
|
|
5
14
|
* 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
|
@@ -990,10 +1023,13 @@ module Google
|
|
990
1023
|
attr_accessor :offer
|
991
1024
|
|
992
1025
|
# Extended entitlement parameters. When creating an entitlement, valid parameter
|
993
|
-
# names and values are defined in the Offer.parameter_definitions.
|
994
|
-
#
|
995
|
-
#
|
996
|
-
#
|
1026
|
+
# names and values are defined in the Offer.parameter_definitions. For Google
|
1027
|
+
# Workspace, the following Parameters may be accepted as input: - max_units: The
|
1028
|
+
# maximum assignable units for a flexible offer OR - num_units: The total
|
1029
|
+
# commitment for commitment-based offers The response may additionally include
|
1030
|
+
# the following output-only Parameters: - assigned_units: The number of licenses
|
1031
|
+
# assigned to users. For GCP billing accounts, the following Parameter may be
|
1032
|
+
# accepted as input: - display_name: The display name of the billing account.
|
997
1033
|
# Corresponds to the JSON property `parameters`
|
998
1034
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>]
|
999
1035
|
attr_accessor :parameters
|
@@ -2615,6 +2651,27 @@ module Google
|
|
2615
2651
|
end
|
2616
2652
|
end
|
2617
2653
|
|
2654
|
+
# Represents the various repricing conditions you can use for a conditional
|
2655
|
+
# override.
|
2656
|
+
class GoogleCloudChannelV1RepricingCondition
|
2657
|
+
include Google::Apis::Core::Hashable
|
2658
|
+
|
2659
|
+
# A condition that applies the override if a line item SKU is found in the SKU
|
2660
|
+
# group.
|
2661
|
+
# Corresponds to the JSON property `skuGroupCondition`
|
2662
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition]
|
2663
|
+
attr_accessor :sku_group_condition
|
2664
|
+
|
2665
|
+
def initialize(**args)
|
2666
|
+
update!(**args)
|
2667
|
+
end
|
2668
|
+
|
2669
|
+
# Update properties of this object
|
2670
|
+
def update!(**args)
|
2671
|
+
@sku_group_condition = args[:sku_group_condition] if args.key?(:sku_group_condition)
|
2672
|
+
end
|
2673
|
+
end
|
2674
|
+
|
2618
2675
|
# Configuration for repricing a Google bill over a period of time.
|
2619
2676
|
class GoogleCloudChannelV1RepricingConfig
|
2620
2677
|
include Google::Apis::Core::Hashable
|
@@ -2630,6 +2687,13 @@ module Google
|
|
2630
2687
|
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]
|
2631
2688
|
attr_accessor :channel_partner_granularity
|
2632
2689
|
|
2690
|
+
# The conditional overrides to apply for this configuration. If you list
|
2691
|
+
# multiple overrides, only the first valid override is used. If you don't list
|
2692
|
+
# any overrides, the API uses the normal adjustment and rebilling basis.
|
2693
|
+
# Corresponds to the JSON property `conditionalOverrides`
|
2694
|
+
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ConditionalOverride>]
|
2695
|
+
attr_accessor :conditional_overrides
|
2696
|
+
|
2633
2697
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
2634
2698
|
# day and time zone are either specified elsewhere or are insignificant. The
|
2635
2699
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -2661,6 +2725,7 @@ module Google
|
|
2661
2725
|
def update!(**args)
|
2662
2726
|
@adjustment = args[:adjustment] if args.key?(:adjustment)
|
2663
2727
|
@channel_partner_granularity = args[:channel_partner_granularity] if args.key?(:channel_partner_granularity)
|
2728
|
+
@conditional_overrides = args[:conditional_overrides] if args.key?(:conditional_overrides)
|
2664
2729
|
@effective_invoice_month = args[:effective_invoice_month] if args.key?(:effective_invoice_month)
|
2665
2730
|
@entitlement_granularity = args[:entitlement_granularity] if args.key?(:entitlement_granularity)
|
2666
2731
|
@rebilling_basis = args[:rebilling_basis] if args.key?(:rebilling_basis)
|
@@ -2819,6 +2884,28 @@ module Google
|
|
2819
2884
|
end
|
2820
2885
|
end
|
2821
2886
|
|
2887
|
+
# A condition that applies the override if a line item SKU is found in the SKU
|
2888
|
+
# group.
|
2889
|
+
class GoogleCloudChannelV1SkuGroupCondition
|
2890
|
+
include Google::Apis::Core::Hashable
|
2891
|
+
|
2892
|
+
# Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource
|
2893
|
+
# name of SKU group. Format: accounts/`account`/skuGroups/`sku_group`. Example: "
|
2894
|
+
# accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
|
2895
|
+
# Corresponds to the JSON property `skuGroup`
|
2896
|
+
# @return [String]
|
2897
|
+
attr_accessor :sku_group
|
2898
|
+
|
2899
|
+
def initialize(**args)
|
2900
|
+
update!(**args)
|
2901
|
+
end
|
2902
|
+
|
2903
|
+
# Update properties of this object
|
2904
|
+
def update!(**args)
|
2905
|
+
@sku_group = args[:sku_group] if args.key?(:sku_group)
|
2906
|
+
end
|
2907
|
+
end
|
2908
|
+
|
2822
2909
|
# Request message for CloudChannelService.StartPaidService.
|
2823
2910
|
class GoogleCloudChannelV1StartPaidServiceRequest
|
2824
2911
|
include Google::Apis::Core::Hashable
|
@@ -3496,10 +3583,13 @@ module Google
|
|
3496
3583
|
attr_accessor :offer
|
3497
3584
|
|
3498
3585
|
# Extended entitlement parameters. When creating an entitlement, valid parameter
|
3499
|
-
# names and values are defined in the Offer.parameter_definitions.
|
3500
|
-
#
|
3501
|
-
#
|
3502
|
-
#
|
3586
|
+
# names and values are defined in the Offer.parameter_definitions. For Google
|
3587
|
+
# Workspace, the following Parameters may be accepted as input: - max_units: The
|
3588
|
+
# maximum assignable units for a flexible offer OR - num_units: The total
|
3589
|
+
# commitment for commitment-based offers The response may additionally include
|
3590
|
+
# the following output-only Parameters: - assigned_units: The number of licenses
|
3591
|
+
# assigned to users. For GCP billing accounts, the following Parameter may be
|
3592
|
+
# accepted as input: - display_name: The display name of the billing account.
|
3503
3593
|
# Corresponds to the JSON property `parameters`
|
3504
3594
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
|
3505
3595
|
attr_accessor :parameters
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230122"
|
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.
|
4
|
+
version: 0.31.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:
|
11
|
+
date: 2023-01-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.31.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Channel API V1
|