google-apis-cloudchannel_v1 0.37.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7270b43eaf81651c4ae68f7adb61391b1a8115267d84e9bc155bebbc56b2932c
|
4
|
+
data.tar.gz: 16cffb2a3c8dac4b58ea701e7223fed5a53fd860b251da21676d909e3302090c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8c6417a9fb02dbb9f6472c1dc08f92bcd16bbb41c701826fc281ed437a2b8f80b744c74ca6fc06c177a18183ca09ea0d1c0ea9c3dc104d5b7c6b2eb35d39a53
|
7
|
+
data.tar.gz: 14031cbc79bc294e86fb7a40b50d764021b956f5e8c7704637cdb9d24d6fac761343fe619c916c3ee1dbf39bd4423246728c233215d7ac01f15ba1055eda788a
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -1041,8 +1104,9 @@ module Google
|
|
1041
1104
|
# maximum assignable units for a flexible offer OR - num_units: The total
|
1042
1105
|
# commitment for commitment-based offers The response may additionally include
|
1043
1106
|
# the following output-only Parameters: - assigned_units: The number of licenses
|
1044
|
-
# assigned to users. For
|
1045
|
-
# accepted as input: - display_name: The display name of the
|
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.
|
1046
1110
|
# Corresponds to the JSON property `parameters`
|
1047
1111
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>]
|
1048
1112
|
attr_accessor :parameters
|
@@ -1238,6 +1302,12 @@ module Google
|
|
1238
1302
|
# @return [String]
|
1239
1303
|
attr_accessor :page_token
|
1240
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
|
+
|
1241
1311
|
def initialize(**args)
|
1242
1312
|
update!(**args)
|
1243
1313
|
end
|
@@ -1246,6 +1316,7 @@ module Google
|
|
1246
1316
|
def update!(**args)
|
1247
1317
|
@page_size = args[:page_size] if args.key?(:page_size)
|
1248
1318
|
@page_token = args[:page_token] if args.key?(:page_token)
|
1319
|
+
@partition_keys = args[:partition_keys] if args.key?(:partition_keys)
|
1249
1320
|
end
|
1250
1321
|
end
|
1251
1322
|
|
@@ -2147,7 +2218,7 @@ module Google
|
|
2147
2218
|
include Google::Apis::Core::Hashable
|
2148
2219
|
|
2149
2220
|
# Reseller Billing account to charge after an offer transaction. Only present
|
2150
|
-
# for Google Cloud
|
2221
|
+
# for Google Cloud offers.
|
2151
2222
|
# Corresponds to the JSON property `billingAccount`
|
2152
2223
|
# @return [String]
|
2153
2224
|
attr_accessor :billing_account
|
@@ -2403,8 +2474,8 @@ module Google
|
|
2403
2474
|
attr_accessor :product_id
|
2404
2475
|
|
2405
2476
|
# Output only. Provisioning ID of the entitlement. For Google Workspace, this is
|
2406
|
-
# the underlying Subscription ID. For Google Cloud
|
2407
|
-
#
|
2477
|
+
# the underlying Subscription ID. For Google Cloud, this is the Billing Account
|
2478
|
+
# ID of the billing subaccount."
|
2408
2479
|
# Corresponds to the JSON property `provisioningId`
|
2409
2480
|
# @return [String]
|
2410
2481
|
attr_accessor :provisioning_id
|
@@ -2471,6 +2542,27 @@ module Google
|
|
2471
2542
|
end
|
2472
2543
|
end
|
2473
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
|
+
|
2474
2566
|
# Request Message for RegisterSubscriber.
|
2475
2567
|
class GoogleCloudChannelV1RegisterSubscriberRequest
|
2476
2568
|
include Google::Apis::Core::Hashable
|
@@ -2551,7 +2643,7 @@ module Google
|
|
2551
2643
|
end
|
2552
2644
|
|
2553
2645
|
# The ID and description of a report that was used to generate report data. For
|
2554
|
-
# example, "
|
2646
|
+
# example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
|
2555
2647
|
class GoogleCloudChannelV1Report
|
2556
2648
|
include Google::Apis::Core::Hashable
|
2557
2649
|
|
@@ -2634,7 +2726,7 @@ module Google
|
|
2634
2726
|
attr_accessor :preceding_date_range
|
2635
2727
|
|
2636
2728
|
# The ID and description of a report that was used to generate report data. For
|
2637
|
-
# example, "
|
2729
|
+
# example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
|
2638
2730
|
# Corresponds to the JSON property `report`
|
2639
2731
|
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Report]
|
2640
2732
|
attr_accessor :report
|
@@ -2899,6 +2991,12 @@ module Google
|
|
2899
2991
|
class GoogleCloudChannelV1Row
|
2900
2992
|
include Google::Apis::Core::Hashable
|
2901
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
|
+
|
2902
3000
|
# The list of values in the row.
|
2903
3001
|
# Corresponds to the JSON property `values`
|
2904
3002
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue>]
|
@@ -2910,6 +3008,7 @@ module Google
|
|
2910
3008
|
|
2911
3009
|
# Update properties of this object
|
2912
3010
|
def update!(**args)
|
3011
|
+
@partition_key = args[:partition_key] if args.key?(:partition_key)
|
2913
3012
|
@values = args[:values] if args.key?(:values)
|
2914
3013
|
end
|
2915
3014
|
end
|
@@ -3035,6 +3134,32 @@ module Google
|
|
3035
3134
|
end
|
3036
3135
|
end
|
3037
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
|
+
|
3038
3163
|
# Request message for CloudChannelService.StartPaidService.
|
3039
3164
|
class GoogleCloudChannelV1StartPaidServiceRequest
|
3040
3165
|
include Google::Apis::Core::Hashable
|
@@ -3723,8 +3848,9 @@ module Google
|
|
3723
3848
|
# maximum assignable units for a flexible offer OR - num_units: The total
|
3724
3849
|
# commitment for commitment-based offers The response may additionally include
|
3725
3850
|
# the following output-only Parameters: - assigned_units: The number of licenses
|
3726
|
-
# assigned to users. For
|
3727
|
-
# accepted as input: - display_name: The display name of the
|
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.
|
3728
3854
|
# Corresponds to the JSON property `parameters`
|
3729
3855
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
|
3730
3856
|
attr_accessor :parameters
|
@@ -3904,8 +4030,8 @@ module Google
|
|
3904
4030
|
attr_accessor :product_id
|
3905
4031
|
|
3906
4032
|
# Output only. Provisioning ID of the entitlement. For Google Workspace, this is
|
3907
|
-
# the underlying Subscription ID. For Google Cloud
|
3908
|
-
#
|
4033
|
+
# the underlying Subscription ID. For Google Cloud, this is the Billing Account
|
4034
|
+
# ID of the billing subaccount."
|
3909
4035
|
# Corresponds to the JSON property `provisioningId`
|
3910
4036
|
# @return [String]
|
3911
4037
|
attr_accessor :provisioning_id
|
@@ -3990,7 +4116,7 @@ module Google
|
|
3990
4116
|
end
|
3991
4117
|
|
3992
4118
|
# The ID and description of a report that was used to generate report data. For
|
3993
|
-
# example, "
|
4119
|
+
# example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
|
3994
4120
|
class GoogleCloudChannelV1alpha1Report
|
3995
4121
|
include Google::Apis::Core::Hashable
|
3996
4122
|
|
@@ -4073,7 +4199,7 @@ module Google
|
|
4073
4199
|
attr_accessor :preceding_date_range
|
4074
4200
|
|
4075
4201
|
# The ID and description of a report that was used to generate report data. For
|
4076
|
-
# example, "
|
4202
|
+
# example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
|
4077
4203
|
# Corresponds to the JSON property `report`
|
4078
4204
|
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Report]
|
4079
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.
|
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 = "
|
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
|
@@ -1121,6 +1164,7 @@ module Google
|
|
1121
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1122
1165
|
property :page_size, as: 'pageSize'
|
1123
1166
|
property :page_token, as: 'pageToken'
|
1167
|
+
collection :partition_keys, as: 'partitionKeys'
|
1124
1168
|
end
|
1125
1169
|
end
|
1126
1170
|
|
@@ -1499,6 +1543,14 @@ module Google
|
|
1499
1543
|
end
|
1500
1544
|
end
|
1501
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
|
+
|
1502
1554
|
class GoogleCloudChannelV1RegisterSubscriberRequest
|
1503
1555
|
# @private
|
1504
1556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1631,6 +1683,7 @@ module Google
|
|
1631
1683
|
class GoogleCloudChannelV1Row
|
1632
1684
|
# @private
|
1633
1685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1686
|
+
property :partition_key, as: 'partitionKey'
|
1634
1687
|
collection :values, as: 'values', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue::Representation
|
1635
1688
|
|
1636
1689
|
end
|
@@ -1674,6 +1727,15 @@ module Google
|
|
1674
1727
|
end
|
1675
1728
|
end
|
1676
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
|
+
|
1677
1739
|
class GoogleCloudChannelV1StartPaidServiceRequest
|
1678
1740
|
# @private
|
1679
1741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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.
|
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-
|
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.
|
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: []
|