google-apis-cloudchannel_v1 0.38.0 → 0.40.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: 7631e31d75178158ceebc9d4de3db4edf70b5e93160cd37069087fbe0e504e10
|
4
|
+
data.tar.gz: dbb8fc4481cb97100eccdc1f4bf00a357fbf37d60814b5e136c4b6c58a954caa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ffb92126b7e4a33a94658a9a2abcfcdfdaae6224eb755aba480cbfc79b2507fa498b1eaf151b9bd6ed3a1372e1b6c78fb4b6fd28148c0ba7b7167021fae853
|
7
|
+
data.tar.gz: 0f59d7ee9f65afedc2ee6817ff58a858c7fbac1342e8a398a3665f6504c14527203e279a3afb4d1ed7559d66e0fc0777820bc1b0c8c65d6e6d686be57a64bd58
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudchannel_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2023-06-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230613
|
6
|
+
|
7
|
+
### v0.39.0 (2023-05-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230516
|
10
|
+
|
3
11
|
### v0.38.0 (2023-05-14)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230510
|
@@ -98,6 +98,45 @@ module Google
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
# Represents the Billable SKU information.
|
102
|
+
class GoogleCloudChannelV1BillableSku
|
103
|
+
include Google::Apis::Core::Hashable
|
104
|
+
|
105
|
+
# Resource name of Service which contains Repricing SKU. Format: services/`
|
106
|
+
# service`. Example: "services/B7D9-FDCB-15D8".
|
107
|
+
# Corresponds to the JSON property `service`
|
108
|
+
# @return [String]
|
109
|
+
attr_accessor :service
|
110
|
+
|
111
|
+
# Unique human readable name for the Service.
|
112
|
+
# Corresponds to the JSON property `serviceDisplayName`
|
113
|
+
# @return [String]
|
114
|
+
attr_accessor :service_display_name
|
115
|
+
|
116
|
+
# Resource name of Billable SKU. Format: billableSkus/`sku`. Example:
|
117
|
+
# billableSkus/6E1B-6634-470F".
|
118
|
+
# Corresponds to the JSON property `sku`
|
119
|
+
# @return [String]
|
120
|
+
attr_accessor :sku
|
121
|
+
|
122
|
+
# Unique human readable name for the SKU.
|
123
|
+
# Corresponds to the JSON property `skuDisplayName`
|
124
|
+
# @return [String]
|
125
|
+
attr_accessor :sku_display_name
|
126
|
+
|
127
|
+
def initialize(**args)
|
128
|
+
update!(**args)
|
129
|
+
end
|
130
|
+
|
131
|
+
# Update properties of this object
|
132
|
+
def update!(**args)
|
133
|
+
@service = args[:service] if args.key?(:service)
|
134
|
+
@service_display_name = args[:service_display_name] if args.key?(:service_display_name)
|
135
|
+
@sku = args[:sku] if args.key?(:sku)
|
136
|
+
@sku_display_name = args[:sku_display_name] if args.key?(:sku_display_name)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
101
140
|
# Represents a billing account.
|
102
141
|
class GoogleCloudChannelV1BillingAccount
|
103
142
|
include Google::Apis::Core::Hashable
|
@@ -191,6 +230,14 @@ module Google
|
|
191
230
|
class GoogleCloudChannelV1ChangeOfferRequest
|
192
231
|
include Google::Apis::Core::Hashable
|
193
232
|
|
233
|
+
# Optional. The billing account resource name that is used to pay for this
|
234
|
+
# entitlement when setting up billing on a trial subscription. This field is
|
235
|
+
# only relevant for multi-currency accounts. It should be left empty for single
|
236
|
+
# currency accounts.
|
237
|
+
# Corresponds to the JSON property `billingAccount`
|
238
|
+
# @return [String]
|
239
|
+
attr_accessor :billing_account
|
240
|
+
|
194
241
|
# Required. New Offer. Format: accounts/`account_id`/offers/`offer_id`.
|
195
242
|
# Corresponds to the JSON property `offer`
|
196
243
|
# @return [String]
|
@@ -225,6 +272,7 @@ module Google
|
|
225
272
|
|
226
273
|
# Update properties of this object
|
227
274
|
def update!(**args)
|
275
|
+
@billing_account = args[:billing_account] if args.key?(:billing_account)
|
228
276
|
@offer = args[:offer] if args.key?(:offer)
|
229
277
|
@parameters = args[:parameters] if args.key?(:parameters)
|
230
278
|
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
|
@@ -1694,6 +1742,58 @@ module Google
|
|
1694
1742
|
end
|
1695
1743
|
end
|
1696
1744
|
|
1745
|
+
# Response message for ListSkuGroupBillableSkus.
|
1746
|
+
class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
|
1747
|
+
include Google::Apis::Core::Hashable
|
1748
|
+
|
1749
|
+
# The list of billable SKUs in the requested SKU group.
|
1750
|
+
# Corresponds to the JSON property `billableSkus`
|
1751
|
+
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku>]
|
1752
|
+
attr_accessor :billable_skus
|
1753
|
+
|
1754
|
+
# A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.
|
1755
|
+
# page_token to obtain that page.
|
1756
|
+
# Corresponds to the JSON property `nextPageToken`
|
1757
|
+
# @return [String]
|
1758
|
+
attr_accessor :next_page_token
|
1759
|
+
|
1760
|
+
def initialize(**args)
|
1761
|
+
update!(**args)
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# Update properties of this object
|
1765
|
+
def update!(**args)
|
1766
|
+
@billable_skus = args[:billable_skus] if args.key?(:billable_skus)
|
1767
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# Response message for ListSkuGroups.
|
1772
|
+
class GoogleCloudChannelV1ListSkuGroupsResponse
|
1773
|
+
include Google::Apis::Core::Hashable
|
1774
|
+
|
1775
|
+
# A token to retrieve the next page of results. Pass to ListSkuGroups.page_token
|
1776
|
+
# to obtain that page.
|
1777
|
+
# Corresponds to the JSON property `nextPageToken`
|
1778
|
+
# @return [String]
|
1779
|
+
attr_accessor :next_page_token
|
1780
|
+
|
1781
|
+
# The list of SKU groups requested.
|
1782
|
+
# Corresponds to the JSON property `skuGroups`
|
1783
|
+
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroup>]
|
1784
|
+
attr_accessor :sku_groups
|
1785
|
+
|
1786
|
+
def initialize(**args)
|
1787
|
+
update!(**args)
|
1788
|
+
end
|
1789
|
+
|
1790
|
+
# Update properties of this object
|
1791
|
+
def update!(**args)
|
1792
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1793
|
+
@sku_groups = args[:sku_groups] if args.key?(:sku_groups)
|
1794
|
+
end
|
1795
|
+
end
|
1796
|
+
|
1697
1797
|
# Response message for ListSkus.
|
1698
1798
|
class GoogleCloudChannelV1ListSkusResponse
|
1699
1799
|
include Google::Apis::Core::Hashable
|
@@ -1755,6 +1855,14 @@ module Google
|
|
1755
1855
|
class GoogleCloudChannelV1ListTransferableOffersRequest
|
1756
1856
|
include Google::Apis::Core::Hashable
|
1757
1857
|
|
1858
|
+
# Optional. The Billing Account to look up Offers for. Format: accounts/`
|
1859
|
+
# account_id`/billingAccounts/`billing_account_id`. This field is only relevant
|
1860
|
+
# for multi-currency accounts. It should be left empty for single currency
|
1861
|
+
# accounts.
|
1862
|
+
# Corresponds to the JSON property `billingAccount`
|
1863
|
+
# @return [String]
|
1864
|
+
attr_accessor :billing_account
|
1865
|
+
|
1758
1866
|
# Customer's Cloud Identity ID
|
1759
1867
|
# Corresponds to the JSON property `cloudIdentityId`
|
1760
1868
|
# @return [String]
|
@@ -1798,6 +1906,7 @@ module Google
|
|
1798
1906
|
|
1799
1907
|
# Update properties of this object
|
1800
1908
|
def update!(**args)
|
1909
|
+
@billing_account = args[:billing_account] if args.key?(:billing_account)
|
1801
1910
|
@cloud_identity_id = args[:cloud_identity_id] if args.key?(:cloud_identity_id)
|
1802
1911
|
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
1803
1912
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -3112,6 +3221,32 @@ module Google
|
|
3112
3221
|
end
|
3113
3222
|
end
|
3114
3223
|
|
3224
|
+
# Represents the SKU group information.
|
3225
|
+
class GoogleCloudChannelV1SkuGroup
|
3226
|
+
include Google::Apis::Core::Hashable
|
3227
|
+
|
3228
|
+
# Unique human readable identifier for the SKU group.
|
3229
|
+
# Corresponds to the JSON property `displayName`
|
3230
|
+
# @return [String]
|
3231
|
+
attr_accessor :display_name
|
3232
|
+
|
3233
|
+
# Resource name of SKU group. Format: accounts/`account`/skuGroups/`sku_group`.
|
3234
|
+
# Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
|
3235
|
+
# Corresponds to the JSON property `name`
|
3236
|
+
# @return [String]
|
3237
|
+
attr_accessor :name
|
3238
|
+
|
3239
|
+
def initialize(**args)
|
3240
|
+
update!(**args)
|
3241
|
+
end
|
3242
|
+
|
3243
|
+
# Update properties of this object
|
3244
|
+
def update!(**args)
|
3245
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3246
|
+
@name = args[:name] if args.key?(:name)
|
3247
|
+
end
|
3248
|
+
end
|
3249
|
+
|
3115
3250
|
# A condition that applies the override if a line item SKU is found in the SKU
|
3116
3251
|
# group.
|
3117
3252
|
class GoogleCloudChannelV1SkuGroupCondition
|
@@ -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.40.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 = "20230613"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleCloudChannelV1BillableSku
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class GoogleCloudChannelV1BillingAccount
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -286,6 +292,18 @@ module Google
|
|
286
292
|
include Google::Apis::Core::JsonObjectSupport
|
287
293
|
end
|
288
294
|
|
295
|
+
class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class GoogleCloudChannelV1ListSkuGroupsResponse
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
289
307
|
class GoogleCloudChannelV1ListSkusResponse
|
290
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
309
|
|
@@ -538,6 +556,12 @@ module Google
|
|
538
556
|
include Google::Apis::Core::JsonObjectSupport
|
539
557
|
end
|
540
558
|
|
559
|
+
class GoogleCloudChannelV1SkuGroup
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
541
565
|
class GoogleCloudChannelV1SkuGroupCondition
|
542
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
567
|
|
@@ -855,6 +879,16 @@ module Google
|
|
855
879
|
end
|
856
880
|
end
|
857
881
|
|
882
|
+
class GoogleCloudChannelV1BillableSku
|
883
|
+
# @private
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
885
|
+
property :service, as: 'service'
|
886
|
+
property :service_display_name, as: 'serviceDisplayName'
|
887
|
+
property :sku, as: 'sku'
|
888
|
+
property :sku_display_name, as: 'skuDisplayName'
|
889
|
+
end
|
890
|
+
end
|
891
|
+
|
858
892
|
class GoogleCloudChannelV1BillingAccount
|
859
893
|
# @private
|
860
894
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -884,6 +918,7 @@ module Google
|
|
884
918
|
class GoogleCloudChannelV1ChangeOfferRequest
|
885
919
|
# @private
|
886
920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
921
|
+
property :billing_account, as: 'billingAccount'
|
887
922
|
property :offer, as: 'offer'
|
888
923
|
collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter::Representation
|
889
924
|
|
@@ -1290,6 +1325,24 @@ module Google
|
|
1290
1325
|
end
|
1291
1326
|
end
|
1292
1327
|
|
1328
|
+
class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
|
1329
|
+
# @private
|
1330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1331
|
+
collection :billable_skus, as: 'billableSkus', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku::Representation
|
1332
|
+
|
1333
|
+
property :next_page_token, as: 'nextPageToken'
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
class GoogleCloudChannelV1ListSkuGroupsResponse
|
1338
|
+
# @private
|
1339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1340
|
+
property :next_page_token, as: 'nextPageToken'
|
1341
|
+
collection :sku_groups, as: 'skuGroups', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroup, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroup::Representation
|
1342
|
+
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
|
1293
1346
|
class GoogleCloudChannelV1ListSkusResponse
|
1294
1347
|
# @private
|
1295
1348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1311,6 +1364,7 @@ module Google
|
|
1311
1364
|
class GoogleCloudChannelV1ListTransferableOffersRequest
|
1312
1365
|
# @private
|
1313
1366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1367
|
+
property :billing_account, as: 'billingAccount'
|
1314
1368
|
property :cloud_identity_id, as: 'cloudIdentityId'
|
1315
1369
|
property :customer_name, as: 'customerName'
|
1316
1370
|
property :language_code, as: 'languageCode'
|
@@ -1720,6 +1774,14 @@ module Google
|
|
1720
1774
|
end
|
1721
1775
|
end
|
1722
1776
|
|
1777
|
+
class GoogleCloudChannelV1SkuGroup
|
1778
|
+
# @private
|
1779
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1780
|
+
property :display_name, as: 'displayName'
|
1781
|
+
property :name, as: 'name'
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1723
1785
|
class GoogleCloudChannelV1SkuGroupCondition
|
1724
1786
|
# @private
|
1725
1787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1188,12 +1188,21 @@ module Google
|
|
1188
1188
|
# @param [String] customer
|
1189
1189
|
# Required. The resource name of the customer to list Offers for. Format:
|
1190
1190
|
# accounts/`account_id`/customers/`customer_id`.
|
1191
|
+
# @param [String] change_offer_purchase_billing_account
|
1192
|
+
# Optional. Resource name of the new target Billing Account. Provide this
|
1193
|
+
# Billing Account when setting up billing for a trial subscription. Format:
|
1194
|
+
# accounts/`account_id`/billingAccounts/`billing_account_id`. This field is only
|
1195
|
+
# relevant for multi-currency accounts. It should be left empty for single
|
1196
|
+
# currency accounts.
|
1191
1197
|
# @param [String] change_offer_purchase_entitlement
|
1192
1198
|
# Required. Resource name of the entitlement. Format: accounts/`account_id`/
|
1193
1199
|
# customers/`customer_id`/entitlements/`entitlement_id`
|
1194
1200
|
# @param [String] change_offer_purchase_new_sku
|
1195
1201
|
# Optional. Resource name of the new target SKU. Provide this SKU when upgrading
|
1196
1202
|
# or downgrading an entitlement. Format: products/`product_id`/skus/`sku_id`
|
1203
|
+
# @param [String] create_entitlement_purchase_billing_account
|
1204
|
+
# Optional. Billing account that the result should be restricted to. Format:
|
1205
|
+
# accounts/`account_id`/billingAccounts/`billing_account_id`.
|
1197
1206
|
# @param [String] create_entitlement_purchase_sku
|
1198
1207
|
# Required. SKU that the result should be restricted to. Format: products/`
|
1199
1208
|
# product_id`/skus/`sku_id`.
|
@@ -1224,13 +1233,15 @@ module Google
|
|
1224
1233
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1225
1234
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1226
1235
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1227
|
-
def list_account_customer_purchasable_offers(customer, change_offer_purchase_entitlement: nil, change_offer_purchase_new_sku: nil, create_entitlement_purchase_sku: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1236
|
+
def list_account_customer_purchasable_offers(customer, change_offer_purchase_billing_account: nil, change_offer_purchase_entitlement: nil, change_offer_purchase_new_sku: nil, create_entitlement_purchase_billing_account: nil, create_entitlement_purchase_sku: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1228
1237
|
command = make_simple_command(:get, 'v1/{+customer}:listPurchasableOffers', options)
|
1229
1238
|
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListPurchasableOffersResponse::Representation
|
1230
1239
|
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListPurchasableOffersResponse
|
1231
1240
|
command.params['customer'] = customer unless customer.nil?
|
1241
|
+
command.query['changeOfferPurchase.billingAccount'] = change_offer_purchase_billing_account unless change_offer_purchase_billing_account.nil?
|
1232
1242
|
command.query['changeOfferPurchase.entitlement'] = change_offer_purchase_entitlement unless change_offer_purchase_entitlement.nil?
|
1233
1243
|
command.query['changeOfferPurchase.newSku'] = change_offer_purchase_new_sku unless change_offer_purchase_new_sku.nil?
|
1244
|
+
command.query['createEntitlementPurchase.billingAccount'] = create_entitlement_purchase_billing_account unless create_entitlement_purchase_billing_account.nil?
|
1234
1245
|
command.query['createEntitlementPurchase.sku'] = create_entitlement_purchase_sku unless create_entitlement_purchase_sku.nil?
|
1235
1246
|
command.query['languageCode'] = language_code unless language_code.nil?
|
1236
1247
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -2502,6 +2513,104 @@ module Google
|
|
2502
2513
|
execute_or_queue_command(command, &block)
|
2503
2514
|
end
|
2504
2515
|
|
2516
|
+
# Lists the Rebilling supported SKU groups the account is authorized to sell.
|
2517
|
+
# Reference: https://cloud.google.com/skus/sku-groups Possible Error Codes: *
|
2518
|
+
# PERMISSION_DENIED: If the account making the request and the account being
|
2519
|
+
# queried are different, or the account doesn't exist. * INTERNAL: Any non-user
|
2520
|
+
# error related to technical issues in the backend. In this case, contact Cloud
|
2521
|
+
# Channel support. Return Value: If successful, the SkuGroup resources. The data
|
2522
|
+
# for each resource is displayed in the alphabetical order of SKU group display
|
2523
|
+
# name. The data for each resource is displayed in the ascending order of
|
2524
|
+
# SkuGroup.display_name If unsuccessful, returns an error.
|
2525
|
+
# @param [String] parent
|
2526
|
+
# Required. The resource name of the account from which to list SKU groups.
|
2527
|
+
# Parent uses the format: accounts/`account`.
|
2528
|
+
# @param [Fixnum] page_size
|
2529
|
+
# Optional. The maximum number of SKU groups to return. The service may return
|
2530
|
+
# fewer than this value. If unspecified, returns a maximum of 1000 SKU groups.
|
2531
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
2532
|
+
# @param [String] page_token
|
2533
|
+
# Optional. A token identifying a page of results beyond the first page.
|
2534
|
+
# Obtained through ListSkuGroups.next_page_token of the previous
|
2535
|
+
# CloudChannelService.ListSkuGroups call.
|
2536
|
+
# @param [String] fields
|
2537
|
+
# Selector specifying which fields to include in a partial response.
|
2538
|
+
# @param [String] quota_user
|
2539
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2540
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2541
|
+
# @param [Google::Apis::RequestOptions] options
|
2542
|
+
# Request-specific options
|
2543
|
+
#
|
2544
|
+
# @yield [result, err] Result & error if block supplied
|
2545
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupsResponse] parsed result object
|
2546
|
+
# @yieldparam err [StandardError] error object if request failed
|
2547
|
+
#
|
2548
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupsResponse]
|
2549
|
+
#
|
2550
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2551
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2552
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2553
|
+
def list_account_sku_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2554
|
+
command = make_simple_command(:get, 'v1/{+parent}/skuGroups', options)
|
2555
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupsResponse::Representation
|
2556
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupsResponse
|
2557
|
+
command.params['parent'] = parent unless parent.nil?
|
2558
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2559
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2560
|
+
command.query['fields'] = fields unless fields.nil?
|
2561
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2562
|
+
execute_or_queue_command(command, &block)
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
# Lists the Billable SKUs in a given SKU group. Possible error codes:
|
2566
|
+
# PERMISSION_DENIED: If the account making the request and the account being
|
2567
|
+
# queried for are different, or the account doesn't exist. INVALID_ARGUMENT:
|
2568
|
+
# Missing or invalid required parameters in the request. INTERNAL: Any non-user
|
2569
|
+
# error related to technical issue in the backend. In this case, contact cloud
|
2570
|
+
# channel support. Return Value: If successful, the BillableSku resources. The
|
2571
|
+
# data for each resource is displayed in the ascending order of: * BillableSku.
|
2572
|
+
# service_display_name * BillableSku.sku_display_name If unsuccessful, returns
|
2573
|
+
# an error.
|
2574
|
+
# @param [String] parent
|
2575
|
+
# Required. Resource name of the SKU group. Format: accounts/`account`/skuGroups/
|
2576
|
+
# `sku_group`.
|
2577
|
+
# @param [Fixnum] page_size
|
2578
|
+
# Optional. The maximum number of SKUs to return. The service may return fewer
|
2579
|
+
# than this value. If unspecified, returns a maximum of 100000 SKUs. The maximum
|
2580
|
+
# value is 100000; values above 100000 will be coerced to 100000.
|
2581
|
+
# @param [String] page_token
|
2582
|
+
# Optional. A token identifying a page of results beyond the first page.
|
2583
|
+
# Obtained through ListSkuGroupBillableSkus.next_page_token of the previous
|
2584
|
+
# CloudChannelService.ListSkuGroupBillableSkus call.
|
2585
|
+
# @param [String] fields
|
2586
|
+
# Selector specifying which fields to include in a partial response.
|
2587
|
+
# @param [String] quota_user
|
2588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2590
|
+
# @param [Google::Apis::RequestOptions] options
|
2591
|
+
# Request-specific options
|
2592
|
+
#
|
2593
|
+
# @yield [result, err] Result & error if block supplied
|
2594
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupBillableSkusResponse] parsed result object
|
2595
|
+
# @yieldparam err [StandardError] error object if request failed
|
2596
|
+
#
|
2597
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupBillableSkusResponse]
|
2598
|
+
#
|
2599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2602
|
+
def list_account_sku_group_billable_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2603
|
+
command = make_simple_command(:get, 'v1/{+parent}/billableSkus', options)
|
2604
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupBillableSkusResponse::Representation
|
2605
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
|
2606
|
+
command.params['parent'] = parent unless parent.nil?
|
2607
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2608
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2609
|
+
command.query['fields'] = fields unless fields.nil?
|
2610
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2611
|
+
execute_or_queue_command(command, &block)
|
2612
|
+
end
|
2613
|
+
|
2505
2614
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2506
2615
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2507
2616
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
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.40.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-06-25 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.40.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: []
|