google-apis-cloudchannel_v1 0.36.0 → 0.38.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: e669947f4278ac58c1aadd93ab15990949977cb1eb568f3b8561f8864c7887d4
4
- data.tar.gz: 3002e1dc1e08cc211e8f8547e5a3f312cae4ed45a7838a6593307c5e99969374
3
+ metadata.gz: 7270b43eaf81651c4ae68f7adb61391b1a8115267d84e9bc155bebbc56b2932c
4
+ data.tar.gz: 16cffb2a3c8dac4b58ea701e7223fed5a53fd860b251da21676d909e3302090c
5
5
  SHA512:
6
- metadata.gz: d347c16dded7403a3714ab44f642cb80b222319a1936670f7eb4b63cd8b66cbbabb2f3f447e1cf8bbe6fc55a9f09fda3037daf5761c14e2ad085ac36cd9d57b7
7
- data.tar.gz: b8d6043e131fce7636c7bf69569a437472e0e41deec8044b6d8df6e9c6cdc6c874deb000806b13c1e3f696d6440af65b00a17c79ab40f93a0710d7c3976c600a
6
+ metadata.gz: a8c6417a9fb02dbb9f6472c1dc08f92bcd16bbb41c701826fc281ed437a2b8f80b744c74ca6fc06c177a18183ca09ea0d1c0ea9c3dc104d5b7c6b2eb35d39a53
7
+ data.tar.gz: 14031cbc79bc294e86fb7a40b50d764021b956f5e8c7704637cdb9d24d6fac761343fe619c916c3ee1dbf39bd4423246728c233215d7ac01f15ba1055eda788a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.38.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230510
6
+
7
+ ### v0.37.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230426
10
+
3
11
  ### v0.36.0 (2023-04-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230326
@@ -98,6 +98,69 @@ module Google
98
98
  end
99
99
  end
100
100
 
101
+ # Represents a billing account.
102
+ class GoogleCloudChannelV1BillingAccount
103
+ include Google::Apis::Core::Hashable
104
+
105
+ # Output only. The time when this billing account was created.
106
+ # Corresponds to the JSON property `createTime`
107
+ # @return [String]
108
+ attr_accessor :create_time
109
+
110
+ # Output only. The 3-letter currency code defined in ISO 4217.
111
+ # Corresponds to the JSON property `currencyCode`
112
+ # @return [String]
113
+ attr_accessor :currency_code
114
+
115
+ # Display name of the billing account.
116
+ # Corresponds to the JSON property `displayName`
117
+ # @return [String]
118
+ attr_accessor :display_name
119
+
120
+ # Output only. Resource name of the billing account. Format: accounts/`
121
+ # account_id`/billingAccounts/`billing_account_id`.
122
+ # Corresponds to the JSON property `name`
123
+ # @return [String]
124
+ attr_accessor :name
125
+
126
+ # Output only. The CLDR region code.
127
+ # Corresponds to the JSON property `regionCode`
128
+ # @return [String]
129
+ attr_accessor :region_code
130
+
131
+ def initialize(**args)
132
+ update!(**args)
133
+ end
134
+
135
+ # Update properties of this object
136
+ def update!(**args)
137
+ @create_time = args[:create_time] if args.key?(:create_time)
138
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
139
+ @display_name = args[:display_name] if args.key?(:display_name)
140
+ @name = args[:name] if args.key?(:name)
141
+ @region_code = args[:region_code] if args.key?(:region_code)
142
+ end
143
+ end
144
+
145
+ # Represents a billing account that can be used to make a purchase.
146
+ class GoogleCloudChannelV1BillingAccountPurchaseInfo
147
+ include Google::Apis::Core::Hashable
148
+
149
+ # Represents a billing account.
150
+ # Corresponds to the JSON property `billingAccount`
151
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccount]
152
+ attr_accessor :billing_account
153
+
154
+ def initialize(**args)
155
+ update!(**args)
156
+ end
157
+
158
+ # Update properties of this object
159
+ def update!(**args)
160
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
161
+ end
162
+ end
163
+
101
164
  # Request message for CloudChannelService.CancelEntitlement.
102
165
  class GoogleCloudChannelV1CancelEntitlementRequest
103
166
  include Google::Apis::Core::Hashable
@@ -1007,6 +1070,12 @@ module Google
1007
1070
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1AssociationInfo]
1008
1071
  attr_accessor :association_info
1009
1072
 
1073
+ # Optional. The billing account resource name that is used to pay for this
1074
+ # entitlement.
1075
+ # Corresponds to the JSON property `billingAccount`
1076
+ # @return [String]
1077
+ attr_accessor :billing_account
1078
+
1010
1079
  # Commitment settings for commitment-based offers.
1011
1080
  # Corresponds to the JSON property `commitmentSettings`
1012
1081
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CommitmentSettings]
@@ -1035,8 +1104,9 @@ module Google
1035
1104
  # maximum assignable units for a flexible offer OR - num_units: The total
1036
1105
  # commitment for commitment-based offers The response may additionally include
1037
1106
  # the following output-only Parameters: - assigned_units: The number of licenses
1038
- # assigned to users. For GCP billing subaccounts, the following Parameter may be
1039
- # accepted as input: - display_name: The display name of the billing subaccount.
1107
+ # assigned to users. For Google Cloud billing subaccounts, the following
1108
+ # Parameter may be accepted as input: - display_name: The display name of the
1109
+ # billing subaccount.
1040
1110
  # Corresponds to the JSON property `parameters`
1041
1111
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>]
1042
1112
  attr_accessor :parameters
@@ -1082,6 +1152,7 @@ module Google
1082
1152
  # Update properties of this object
1083
1153
  def update!(**args)
1084
1154
  @association_info = args[:association_info] if args.key?(:association_info)
1155
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
1085
1156
  @commitment_settings = args[:commitment_settings] if args.key?(:commitment_settings)
1086
1157
  @create_time = args[:create_time] if args.key?(:create_time)
1087
1158
  @name = args[:name] if args.key?(:name)
@@ -1231,6 +1302,12 @@ module Google
1231
1302
  # @return [String]
1232
1303
  attr_accessor :page_token
1233
1304
 
1305
+ # Optional. List of keys specifying which report partitions to return. If empty,
1306
+ # returns all partitions.
1307
+ # Corresponds to the JSON property `partitionKeys`
1308
+ # @return [Array<String>]
1309
+ attr_accessor :partition_keys
1310
+
1234
1311
  def initialize(**args)
1235
1312
  update!(**args)
1236
1313
  end
@@ -1239,6 +1316,7 @@ module Google
1239
1316
  def update!(**args)
1240
1317
  @page_size = args[:page_size] if args.key?(:page_size)
1241
1318
  @page_token = args[:page_token] if args.key?(:page_token)
1319
+ @partition_keys = args[:partition_keys] if args.key?(:partition_keys)
1242
1320
  end
1243
1321
  end
1244
1322
 
@@ -2140,7 +2218,7 @@ module Google
2140
2218
  include Google::Apis::Core::Hashable
2141
2219
 
2142
2220
  # Reseller Billing account to charge after an offer transaction. Only present
2143
- # for Google Cloud Platform offers.
2221
+ # for Google Cloud offers.
2144
2222
  # Corresponds to the JSON property `billingAccount`
2145
2223
  # @return [String]
2146
2224
  attr_accessor :billing_account
@@ -2396,8 +2474,8 @@ module Google
2396
2474
  attr_accessor :product_id
2397
2475
 
2398
2476
  # Output only. Provisioning ID of the entitlement. For Google Workspace, this is
2399
- # the underlying Subscription ID. For Google Cloud Platform, this is the Billing
2400
- # Account ID of the billing subaccount."
2477
+ # the underlying Subscription ID. For Google Cloud, this is the Billing Account
2478
+ # ID of the billing subaccount."
2401
2479
  # Corresponds to the JSON property `provisioningId`
2402
2480
  # @return [String]
2403
2481
  attr_accessor :provisioning_id
@@ -2464,6 +2542,27 @@ module Google
2464
2542
  end
2465
2543
  end
2466
2544
 
2545
+ # Response message for QueryEligibleBillingAccounts.
2546
+ class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse
2547
+ include Google::Apis::Core::Hashable
2548
+
2549
+ # List of SKU purchase groups where each group represents a set of SKUs that
2550
+ # must be purchased using the same billing account. Each SKU from [
2551
+ # QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.
2552
+ # Corresponds to the JSON property `skuPurchaseGroups`
2553
+ # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuPurchaseGroup>]
2554
+ attr_accessor :sku_purchase_groups
2555
+
2556
+ def initialize(**args)
2557
+ update!(**args)
2558
+ end
2559
+
2560
+ # Update properties of this object
2561
+ def update!(**args)
2562
+ @sku_purchase_groups = args[:sku_purchase_groups] if args.key?(:sku_purchase_groups)
2563
+ end
2564
+ end
2565
+
2467
2566
  # Request Message for RegisterSubscriber.
2468
2567
  class GoogleCloudChannelV1RegisterSubscriberRequest
2469
2568
  include Google::Apis::Core::Hashable
@@ -2544,7 +2643,7 @@ module Google
2544
2643
  end
2545
2644
 
2546
2645
  # The ID and description of a report that was used to generate report data. For
2547
- # example, "GCP Daily Spend", "Google Workspace License Activity", etc.
2646
+ # example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
2548
2647
  class GoogleCloudChannelV1Report
2549
2648
  include Google::Apis::Core::Hashable
2550
2649
 
@@ -2627,7 +2726,7 @@ module Google
2627
2726
  attr_accessor :preceding_date_range
2628
2727
 
2629
2728
  # The ID and description of a report that was used to generate report data. For
2630
- # example, "GCP Daily Spend", "Google Workspace License Activity", etc.
2729
+ # example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
2631
2730
  # Corresponds to the JSON property `report`
2632
2731
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Report]
2633
2732
  attr_accessor :report
@@ -2892,6 +2991,12 @@ module Google
2892
2991
  class GoogleCloudChannelV1Row
2893
2992
  include Google::Apis::Core::Hashable
2894
2993
 
2994
+ # The key for the partition this row belongs to. This field is empty if the
2995
+ # report is not partitioned.
2996
+ # Corresponds to the JSON property `partitionKey`
2997
+ # @return [String]
2998
+ attr_accessor :partition_key
2999
+
2895
3000
  # The list of values in the row.
2896
3001
  # Corresponds to the JSON property `values`
2897
3002
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue>]
@@ -2903,6 +3008,7 @@ module Google
2903
3008
 
2904
3009
  # Update properties of this object
2905
3010
  def update!(**args)
3011
+ @partition_key = args[:partition_key] if args.key?(:partition_key)
2906
3012
  @values = args[:values] if args.key?(:values)
2907
3013
  end
2908
3014
  end
@@ -3028,6 +3134,32 @@ module Google
3028
3134
  end
3029
3135
  end
3030
3136
 
3137
+ # Represents a set of SKUs that must be purchased using the same billing account.
3138
+ class GoogleCloudChannelV1SkuPurchaseGroup
3139
+ include Google::Apis::Core::Hashable
3140
+
3141
+ # List of billing accounts that are eligible to purhcase these SKUs.
3142
+ # Corresponds to the JSON property `billingAccountPurchaseInfos`
3143
+ # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccountPurchaseInfo>]
3144
+ attr_accessor :billing_account_purchase_infos
3145
+
3146
+ # Resource names of the SKUs included in this group. Format: products/`
3147
+ # product_id`/skus/`sku_id`.
3148
+ # Corresponds to the JSON property `skus`
3149
+ # @return [Array<String>]
3150
+ attr_accessor :skus
3151
+
3152
+ def initialize(**args)
3153
+ update!(**args)
3154
+ end
3155
+
3156
+ # Update properties of this object
3157
+ def update!(**args)
3158
+ @billing_account_purchase_infos = args[:billing_account_purchase_infos] if args.key?(:billing_account_purchase_infos)
3159
+ @skus = args[:skus] if args.key?(:skus)
3160
+ end
3161
+ end
3162
+
3031
3163
  # Request message for CloudChannelService.StartPaidService.
3032
3164
  class GoogleCloudChannelV1StartPaidServiceRequest
3033
3165
  include Google::Apis::Core::Hashable
@@ -3657,6 +3789,12 @@ module Google
3657
3789
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1AssociationInfo]
3658
3790
  attr_accessor :association_info
3659
3791
 
3792
+ # Optional. The billing account resource name that is used to pay for this
3793
+ # entitlement.
3794
+ # Corresponds to the JSON property `billingAccount`
3795
+ # @return [String]
3796
+ attr_accessor :billing_account
3797
+
3660
3798
  # Cloud Identity ID of a channel partner who will be the direct reseller for the
3661
3799
  # customer's order. This field is generally used in 2-tier ordering, where the
3662
3800
  # order is placed by a top-level distributor on behalf of their channel partner
@@ -3710,8 +3848,9 @@ module Google
3710
3848
  # maximum assignable units for a flexible offer OR - num_units: The total
3711
3849
  # commitment for commitment-based offers The response may additionally include
3712
3850
  # the following output-only Parameters: - assigned_units: The number of licenses
3713
- # assigned to users. For GCP billing subaccounts, the following Parameter may be
3714
- # accepted as input: - display_name: The display name of the billing subaccount.
3851
+ # assigned to users. For Google Cloud billing subaccounts, the following
3852
+ # Parameter may be accepted as input: - display_name: The display name of the
3853
+ # billing subaccount.
3715
3854
  # Corresponds to the JSON property `parameters`
3716
3855
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
3717
3856
  attr_accessor :parameters
@@ -3758,6 +3897,7 @@ module Google
3758
3897
  def update!(**args)
3759
3898
  @assigned_units = args[:assigned_units] if args.key?(:assigned_units)
3760
3899
  @association_info = args[:association_info] if args.key?(:association_info)
3900
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
3761
3901
  @channel_partner_id = args[:channel_partner_id] if args.key?(:channel_partner_id)
3762
3902
  @commitment_settings = args[:commitment_settings] if args.key?(:commitment_settings)
3763
3903
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -3890,8 +4030,8 @@ module Google
3890
4030
  attr_accessor :product_id
3891
4031
 
3892
4032
  # Output only. Provisioning ID of the entitlement. For Google Workspace, this is
3893
- # the underlying Subscription ID. For Google Cloud Platform, this is the Billing
3894
- # Account ID of the billing subaccount."
4033
+ # the underlying Subscription ID. For Google Cloud, this is the Billing Account
4034
+ # ID of the billing subaccount."
3895
4035
  # Corresponds to the JSON property `provisioningId`
3896
4036
  # @return [String]
3897
4037
  attr_accessor :provisioning_id
@@ -3976,7 +4116,7 @@ module Google
3976
4116
  end
3977
4117
 
3978
4118
  # The ID and description of a report that was used to generate report data. For
3979
- # example, "GCP Daily Spend", "Google Workspace License Activity", etc.
4119
+ # example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
3980
4120
  class GoogleCloudChannelV1alpha1Report
3981
4121
  include Google::Apis::Core::Hashable
3982
4122
 
@@ -4059,7 +4199,7 @@ module Google
4059
4199
  attr_accessor :preceding_date_range
4060
4200
 
4061
4201
  # The ID and description of a report that was used to generate report data. For
4062
- # example, "GCP Daily Spend", "Google Workspace License Activity", etc.
4202
+ # example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
4063
4203
  # Corresponds to the JSON property `report`
4064
4204
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Report]
4065
4205
  attr_accessor :report
@@ -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.36.0"
19
+ GEM_VERSION = "0.38.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 = "20230326"
25
+ REVISION = "20230510"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudChannelV1BillingAccount
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudChannelV1BillingAccountPurchaseInfo
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class GoogleCloudChannelV1CancelEntitlementRequest
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -418,6 +430,12 @@ module Google
418
430
  include Google::Apis::Core::JsonObjectSupport
419
431
  end
420
432
 
433
+ class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
421
439
  class GoogleCloudChannelV1RegisterSubscriberRequest
422
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
441
 
@@ -526,6 +544,12 @@ module Google
526
544
  include Google::Apis::Core::JsonObjectSupport
527
545
  end
528
546
 
547
+ class GoogleCloudChannelV1SkuPurchaseGroup
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
529
553
  class GoogleCloudChannelV1StartPaidServiceRequest
530
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
555
 
@@ -831,6 +855,25 @@ module Google
831
855
  end
832
856
  end
833
857
 
858
+ class GoogleCloudChannelV1BillingAccount
859
+ # @private
860
+ class Representation < Google::Apis::Core::JsonRepresentation
861
+ property :create_time, as: 'createTime'
862
+ property :currency_code, as: 'currencyCode'
863
+ property :display_name, as: 'displayName'
864
+ property :name, as: 'name'
865
+ property :region_code, as: 'regionCode'
866
+ end
867
+ end
868
+
869
+ class GoogleCloudChannelV1BillingAccountPurchaseInfo
870
+ # @private
871
+ class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :billing_account, as: 'billingAccount', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccount, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccount::Representation
873
+
874
+ end
875
+ end
876
+
834
877
  class GoogleCloudChannelV1CancelEntitlementRequest
835
878
  # @private
836
879
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1069,6 +1112,7 @@ module Google
1069
1112
  class Representation < Google::Apis::Core::JsonRepresentation
1070
1113
  property :association_info, as: 'associationInfo', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1AssociationInfo, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1AssociationInfo::Representation
1071
1114
 
1115
+ property :billing_account, as: 'billingAccount'
1072
1116
  property :commitment_settings, as: 'commitmentSettings', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1CommitmentSettings, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1CommitmentSettings::Representation
1073
1117
 
1074
1118
  property :create_time, as: 'createTime'
@@ -1120,6 +1164,7 @@ module Google
1120
1164
  class Representation < Google::Apis::Core::JsonRepresentation
1121
1165
  property :page_size, as: 'pageSize'
1122
1166
  property :page_token, as: 'pageToken'
1167
+ collection :partition_keys, as: 'partitionKeys'
1123
1168
  end
1124
1169
  end
1125
1170
 
@@ -1498,6 +1543,14 @@ module Google
1498
1543
  end
1499
1544
  end
1500
1545
 
1546
+ class GoogleCloudChannelV1QueryEligibleBillingAccountsResponse
1547
+ # @private
1548
+ class Representation < Google::Apis::Core::JsonRepresentation
1549
+ collection :sku_purchase_groups, as: 'skuPurchaseGroups', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuPurchaseGroup, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuPurchaseGroup::Representation
1550
+
1551
+ end
1552
+ end
1553
+
1501
1554
  class GoogleCloudChannelV1RegisterSubscriberRequest
1502
1555
  # @private
1503
1556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1630,6 +1683,7 @@ module Google
1630
1683
  class GoogleCloudChannelV1Row
1631
1684
  # @private
1632
1685
  class Representation < Google::Apis::Core::JsonRepresentation
1686
+ property :partition_key, as: 'partitionKey'
1633
1687
  collection :values, as: 'values', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue::Representation
1634
1688
 
1635
1689
  end
@@ -1673,6 +1727,15 @@ module Google
1673
1727
  end
1674
1728
  end
1675
1729
 
1730
+ class GoogleCloudChannelV1SkuPurchaseGroup
1731
+ # @private
1732
+ class Representation < Google::Apis::Core::JsonRepresentation
1733
+ collection :billing_account_purchase_infos, as: 'billingAccountPurchaseInfos', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccountPurchaseInfo, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccountPurchaseInfo::Representation
1734
+
1735
+ collection :skus, as: 'skus'
1736
+ end
1737
+ end
1738
+
1676
1739
  class GoogleCloudChannelV1StartPaidServiceRequest
1677
1740
  # @private
1678
1741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1857,6 +1920,7 @@ module Google
1857
1920
  property :assigned_units, as: 'assignedUnits'
1858
1921
  property :association_info, as: 'associationInfo', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1AssociationInfo, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1AssociationInfo::Representation
1859
1922
 
1923
+ property :billing_account, as: 'billingAccount'
1860
1924
  property :channel_partner_id, as: 'channelPartnerId'
1861
1925
  property :commitment_settings, as: 'commitmentSettings', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CommitmentSettings, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CommitmentSettings::Representation
1862
1926
 
@@ -1385,6 +1385,46 @@ module Google
1385
1385
  execute_or_queue_command(command, &block)
1386
1386
  end
1387
1387
 
1388
+ # Lists the billing accounts that are eligible to purchase particular SKUs for a
1389
+ # given customer. Possible error codes: * PERMISSION_DENIED: The customer doesn'
1390
+ # t belong to the reseller. * INVALID_ARGUMENT: Required request parameters are
1391
+ # missing or invalid. Return value: Based on the provided list of SKUs, returns
1392
+ # a list of SKU groups that must be purchased using the same billing account and
1393
+ # the billing accounts eligible to purchase each SKU group.
1394
+ # @param [String] customer
1395
+ # Required. The resource name of the customer to list eligible billing accounts
1396
+ # for. Format: accounts/`account_id`/customers/`customer_id`.
1397
+ # @param [Array<String>, String] skus
1398
+ # Required. List of SKUs to list eligible billing accounts for. At least one SKU
1399
+ # is required. Format: products/`product_id`/skus/`sku_id`.
1400
+ # @param [String] fields
1401
+ # Selector specifying which fields to include in a partial response.
1402
+ # @param [String] quota_user
1403
+ # Available to use for quota purposes for server-side applications. Can be any
1404
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1405
+ # @param [Google::Apis::RequestOptions] options
1406
+ # Request-specific options
1407
+ #
1408
+ # @yield [result, err] Result & error if block supplied
1409
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1QueryEligibleBillingAccountsResponse] parsed result object
1410
+ # @yieldparam err [StandardError] error object if request failed
1411
+ #
1412
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1QueryEligibleBillingAccountsResponse]
1413
+ #
1414
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1415
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1416
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1417
+ def query_account_customer_eligible_billing_accounts(customer, skus: nil, fields: nil, quota_user: nil, options: nil, &block)
1418
+ command = make_simple_command(:get, 'v1/{+customer}:queryEligibleBillingAccounts', options)
1419
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1QueryEligibleBillingAccountsResponse::Representation
1420
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1QueryEligibleBillingAccountsResponse
1421
+ command.params['customer'] = customer unless customer.nil?
1422
+ command.query['skus'] = skus unless skus.nil?
1423
+ command.query['fields'] = fields unless fields.nil?
1424
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1425
+ execute_or_queue_command(command, &block)
1426
+ end
1427
+
1388
1428
  # Transfers customer entitlements to new reseller. Possible error codes: *
1389
1429
  # PERMISSION_DENIED: The customer doesn't belong to the reseller. *
1390
1430
  # INVALID_ARGUMENT: Required request parameters are missing or invalid. *
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.36.0
4
+ version: 0.38.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-04-02 00:00:00.000000000 Z
11
+ date: 2023-05-14 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.38.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: []