Skip to content

Commit 0d628d7

Browse files
feat(cloudchannel): update the api
#### cloudchannel:v1 The following keys were added: - resources.accounts.resources.skuGroups.methods.list (Total Keys: 16) - resources.accounts.resources.skuGroups.resources.billableSkus.methods.list (Total Keys: 16) - schemas.GoogleCloudChannelV1BillableSku (Total Keys: 6) - schemas.GoogleCloudChannelV1ListSkuGroupBillableSkusResponse (Total Keys: 5) - schemas.GoogleCloudChannelV1ListSkuGroupsResponse (Total Keys: 5) - schemas.GoogleCloudChannelV1SkuGroup (Total Keys: 4)
1 parent 88acaa7 commit 0d628d7

File tree

5 files changed

+441
-7
lines changed

5 files changed

+441
-7
lines changed

docs/dyn/cloudchannel_v1.accounts.customers.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,10 @@ <h3>Method Details</h3>
505505

506506
Args:
507507
customer: string, Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}. (required)
508-
changeOfferPurchase_billingAccount: string, Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billing_accounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
508+
changeOfferPurchase_billingAccount: string, Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
509509
changeOfferPurchase_entitlement: string, Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
510510
changeOfferPurchase_newSku: string, Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}
511-
createEntitlementPurchase_billingAccount: string, Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billing_accounts/{billing_account_id}.
511+
createEntitlementPurchase_billingAccount: string, Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
512512
createEntitlementPurchase_sku: string, Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.
513513
languageCode: string, Optional. The BCP-47 language code. For example, &quot;en-US&quot;. The response will localize in the corresponding language code, if specified. The default value is &quot;en-US&quot;.
514514
pageSize: integer, Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. The maximum value is 1000; the server will coerce values above 1000.

docs/dyn/cloudchannel_v1.accounts.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ <h2>Instance Methods</h2>
9999
</p>
100100
<p class="firstline">Returns the reports Resource.</p>
101101

102+
<p class="toc_element">
103+
<code><a href="cloudchannel_v1.accounts.skuGroups.html">skuGroups()</a></code>
104+
</p>
105+
<p class="firstline">Returns the skuGroups Resource.</p>
106+
102107
<p class="toc_element">
103108
<code><a href="#checkCloudIdentityAccountsExist">checkCloudIdentityAccountsExist(parent, body=None, x__xgafv=None)</a></code></p>
104109
<p class="firstline">Confirms the existence of Cloud Identity accounts based on the domain and if the Cloud Identity accounts are owned by the reseller. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INVALID_VALUE: Invalid domain value in the request. Return value: A list of CloudIdentityCustomerAccount resources for the domain (may be empty) Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if no CloudIdentityCustomerAccount resources match the domain.</p>
@@ -217,7 +222,7 @@ <h3>Method Details</h3>
217222
The object takes the form of:
218223

219224
{ # Request message for CloudChannelService.ListTransferableOffers
220-
&quot;billingAccount&quot;: &quot;A String&quot;, # Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billing_accounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
225+
&quot;billingAccount&quot;: &quot;A String&quot;, # Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
221226
&quot;cloudIdentityId&quot;: &quot;A String&quot;, # Customer&#x27;s Cloud Identity ID
222227
&quot;customerName&quot;: &quot;A String&quot;, # A reseller should create a customer and use the resource name of that customer here.
223228
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. The BCP-47 language code. For example, &quot;en-US&quot;. The response will localize in the corresponding language code, if specified. The default value is &quot;en-US&quot;.
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="cloudchannel_v1.html">Cloud Channel API</a> . <a href="cloudchannel_v1.accounts.html">accounts</a> . <a href="cloudchannel_v1.accounts.skuGroups.html">skuGroups</a> . <a href="cloudchannel_v1.accounts.skuGroups.billableSkus.html">billableSkus</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Lists the Billable SKUs in a given SKU group. Possible error codes: PERMISSION_DENIED: If the account making the request and the account being queried for are different, or the account doesn't exist. INVALID_ARGUMENT: Missing or invalid required parameters in the request. INTERNAL: Any non-user error related to technical issue in the backend. In this case, contact cloud channel support. Return Value: If successful, the BillableSku resources. The data for each resource is displayed in the ascending order of: * BillableSku.service_display_name * BillableSku.sku_display_name If unsuccessful, returns an error.</p>
83+
<p class="toc_element">
84+
<code><a href="#list_next">list_next()</a></code></p>
85+
<p class="firstline">Retrieves the next page of results.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94+
<pre>Lists the Billable SKUs in a given SKU group. Possible error codes: PERMISSION_DENIED: If the account making the request and the account being queried for are different, or the account doesn&#x27;t exist. INVALID_ARGUMENT: Missing or invalid required parameters in the request. INTERNAL: Any non-user error related to technical issue in the backend. In this case, contact cloud channel support. Return Value: If successful, the BillableSku resources. The data for each resource is displayed in the ascending order of: * BillableSku.service_display_name * BillableSku.sku_display_name If unsuccessful, returns an error.
95+
96+
Args:
97+
parent: string, Required. Resource name of the SKU group. Format: accounts/{account}/skuGroups/{sku_group}. (required)
98+
pageSize: integer, Optional. The maximum number of SKUs to return. The service may return fewer than this value. If unspecified, returns a maximum of 100000 SKUs. The maximum value is 100000; values above 100000 will be coerced to 100000.
99+
pageToken: string, Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkus.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call.
100+
x__xgafv: string, V1 error format.
101+
Allowed values
102+
1 - v1 error format
103+
2 - v2 error format
104+
105+
Returns:
106+
An object of the form:
107+
108+
{ # Response message for ListSkuGroupBillableSkus.
109+
&quot;billableSkus&quot;: [ # The list of billable SKUs in the requested SKU group.
110+
{ # Represents the Billable SKU information.
111+
&quot;service&quot;: &quot;A String&quot;, # Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: &quot;services/B7D9-FDCB-15D8&quot;.
112+
&quot;serviceDisplayName&quot;: &quot;A String&quot;, # Unique human readable name for the Service.
113+
&quot;sku&quot;: &quot;A String&quot;, # Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F&quot;.
114+
&quot;skuDisplayName&quot;: &quot;A String&quot;, # Unique human readable name for the SKU.
115+
},
116+
],
117+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.page_token to obtain that page.
118+
}</pre>
119+
</div>
120+
121+
<div class="method">
122+
<code class="details" id="list_next">list_next()</code>
123+
<pre>Retrieves the next page of results.
124+
125+
Args:
126+
previous_request: The request for the previous page. (required)
127+
previous_response: The response from the request for the previous page. (required)
128+
129+
Returns:
130+
A request object that you can call &#x27;execute()&#x27; on to request the next
131+
page. Returns None if there are no more items in the collection.
132+
</pre>
133+
</div>
134+
135+
</body></html>
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="cloudchannel_v1.html">Cloud Channel API</a> . <a href="cloudchannel_v1.accounts.html">accounts</a> . <a href="cloudchannel_v1.accounts.skuGroups.html">skuGroups</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="cloudchannel_v1.accounts.skuGroups.billableSkus.html">billableSkus()</a></code>
79+
</p>
80+
<p class="firstline">Returns the billableSkus Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<p class="toc_element">
86+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
87+
<p class="firstline">Lists the Rebilling supported SKU groups the account is authorized to sell. Reference: https://cloud.google.com/skus/sku-groups Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different, or the account doesn't exist. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the SkuGroup resources. The data for each resource is displayed in the alphabetical order of SKU group display name. The data for each resource is displayed in the ascending order of SkuGroup.display_name If unsuccessful, returns an error.</p>
88+
<p class="toc_element">
89+
<code><a href="#list_next">list_next()</a></code></p>
90+
<p class="firstline">Retrieves the next page of results.</p>
91+
<h3>Method Details</h3>
92+
<div class="method">
93+
<code class="details" id="close">close()</code>
94+
<pre>Close httplib2 connections.</pre>
95+
</div>
96+
97+
<div class="method">
98+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
99+
<pre>Lists the Rebilling supported SKU groups the account is authorized to sell. Reference: https://cloud.google.com/skus/sku-groups Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different, or the account doesn&#x27;t exist. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the SkuGroup resources. The data for each resource is displayed in the alphabetical order of SKU group display name. The data for each resource is displayed in the ascending order of SkuGroup.display_name If unsuccessful, returns an error.
100+
101+
Args:
102+
parent: string, Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}. (required)
103+
pageSize: integer, Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000.
104+
pageToken: string, Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroups.next_page_token of the previous CloudChannelService.ListSkuGroups call.
105+
x__xgafv: string, V1 error format.
106+
Allowed values
107+
1 - v1 error format
108+
2 - v2 error format
109+
110+
Returns:
111+
An object of the form:
112+
113+
{ # Response message for ListSkuGroups.
114+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass to ListSkuGroups.page_token to obtain that page.
115+
&quot;skuGroups&quot;: [ # The list of SKU groups requested.
116+
{ # Represents the SKU group information.
117+
&quot;displayName&quot;: &quot;A String&quot;, # Unique human readable identifier for the SKU group.
118+
&quot;name&quot;: &quot;A String&quot;, # Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: &quot;accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041&quot;.
119+
},
120+
],
121+
}</pre>
122+
</div>
123+
124+
<div class="method">
125+
<code class="details" id="list_next">list_next()</code>
126+
<pre>Retrieves the next page of results.
127+
128+
Args:
129+
previous_request: The request for the previous page. (required)
130+
previous_response: The response from the request for the previous page. (required)
131+
132+
Returns:
133+
A request object that you can call &#x27;execute()&#x27; on to request the next
134+
page. Returns None if there are no more items in the collection.
135+
</pre>
136+
</div>
137+
138+
</body></html>

0 commit comments

Comments
 (0)