| 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="cloudbilling_v1beta.html">Cloud Billing API</a> . <a href="cloudbilling_v1beta.billingAccounts.html">billingAccounts</a> . <a href="cloudbilling_v1beta.billingAccounts.skus.html">skus</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="cloudbilling_v1beta.billingAccounts.skus.price.html">price()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the price Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="cloudbilling_v1beta.billingAccounts.skus.prices.html">prices()</a></code> |
| 84 |
</p> |
| 85 |
<p class="firstline">Returns the prices Resource.</p> |
| 86 |
|
| 87 |
<p class="toc_element"> |
| 88 |
<code><a href="#close">close()</a></code></p> |
| 89 |
<p class="firstline">Close httplib2 connections.</p> |
| 90 |
<p class="toc_element"> |
| 91 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 92 |
<p class="firstline">Gets a SKU visible to a billing account.</p> |
| 93 |
<p class="toc_element"> |
| 94 |
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 95 |
<p class="firstline">Lists SKUs visible to a billing account.</p> |
| 96 |
<p class="toc_element"> |
| 97 |
<code><a href="#list_next">list_next()</a></code></p> |
| 98 |
<p class="firstline">Retrieves the next page of results.</p> |
| 99 |
<h3>Method Details</h3> |
| 100 |
<div class="method"> |
| 101 |
<code class="details" id="close">close()</code> |
| 102 |
<pre>Close httplib2 connections.</pre> |
| 103 |
</div> |
| 104 |
|
| 105 |
<div class="method"> |
| 106 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 107 |
<pre>Gets a SKU visible to a billing account. |
| 108 |
|
| 109 |
Args: |
| 110 |
name: string, Required. The name of the billing account SKU to retrieve. Format: billingAccounts/{billing_account}/skus/{sku} (required) |
| 111 |
x__xgafv: string, V1 error format. |
| 112 |
Allowed values |
| 113 |
1 - v1 error format |
| 114 |
2 - v2 error format |
| 115 |
|
| 116 |
Returns: |
| 117 |
An object of the form: |
| 118 |
|
| 119 |
{ # Encapsulates a stock keeping unit (SKU) visible to a billing account. A SKU distinctly identifies a resource that you can purchase. For a list of available SKUs, see [SKUs](https://cloud.google.com/skus). |
| 120 |
"billingAccountService": "A String", # BillingAccountService that the BillingAccountSku belongs to. |
| 121 |
"displayName": "A String", # Description of the BillingAccountSku. Example: "A2 Instance Core running in Hong Kong". |
| 122 |
"geoTaxonomy": { # Encapsulates geographic metadata, such as regions and multi-regions like `us-east4` or `European Union`. # Geographic metadata that applies to the BillingAccountSku. |
| 123 |
"globalMetadata": { # Encapsulates a global geographic taxonomy. # Global geographic metadata with no regions. |
| 124 |
}, |
| 125 |
"multiRegionalMetadata": { # Encapsulates a multi-regional geographic taxonomy. # Multi-regional geographic metadata with 2 or more regions. |
| 126 |
"regions": [ # Google Cloud regions associated with the multi-regional geographic taxonomy. |
| 127 |
{ # Encapsulates a Google Cloud region. |
| 128 |
"region": "A String", # Description of a Google Cloud region. Example: "us-west2". |
| 129 |
}, |
| 130 |
], |
| 131 |
}, |
| 132 |
"regionalMetadata": { # Encapsulates a regional geographic taxonomy. # Regional geographic metadata with 1 region. |
| 133 |
"region": { # Encapsulates a Google Cloud region. # Google Cloud region associated with the regional geographic taxonomy. |
| 134 |
"region": "A String", # Description of a Google Cloud region. Example: "us-west2". |
| 135 |
}, |
| 136 |
}, |
| 137 |
"type": "A String", # Type of geographic taxonomy associated with the billing account SKU. |
| 138 |
}, |
| 139 |
"name": "A String", # Resource name for the BillingAccountSku. Example: "billingAccounts/012345-567890-ABCDEF/skus/AA95-CD31-42FE". |
| 140 |
"productTaxonomy": { # Encapsulates product categories, such as `Serverless`, `Cloud Run`, `TaskQueue`, and others. # List of product categories that apply to the BillingAccountSku. |
| 141 |
"taxonomyCategories": [ # All product categories that the billing account SKU belong to. |
| 142 |
{ # Encapsulates a product category. |
| 143 |
"category": "A String", # Name of the product category. |
| 144 |
}, |
| 145 |
], |
| 146 |
}, |
| 147 |
"skuId": "A String", # Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE". |
| 148 |
}</pre> |
| 149 |
</div> |
| 150 |
|
| 151 |
<div class="method"> |
| 152 |
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 153 |
<pre>Lists SKUs visible to a billing account. |
| 154 |
|
| 155 |
Args: |
| 156 |
parent: string, Required. The billing account to list billing account SKU from. Format: billingAccounts/{billing_account} (required) |
| 157 |
filter: string, Options for how to filter the billing account SKUs. Currently, only filter on `billing_account_service` is supported. Only !=, = operators are supported. Examples: - billing_account_service = "billingAccounts/012345-567890-ABCDEF/services/DA34-426B-A397" |
| 158 |
pageSize: integer, Maximum number of billing account SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000. |
| 159 |
pageToken: string, Page token received from a previous ListBillingAccountSkus call to retrieve the next page of results. If this field is empty, the first page is returned. |
| 160 |
x__xgafv: string, V1 error format. |
| 161 |
Allowed values |
| 162 |
1 - v1 error format |
| 163 |
2 - v2 error format |
| 164 |
|
| 165 |
Returns: |
| 166 |
An object of the form: |
| 167 |
|
| 168 |
{ # Response message for ListBillingAccountSkus. |
| 169 |
"billingAccountSkus": [ # The returned billing account SKUs. |
| 170 |
{ # Encapsulates a stock keeping unit (SKU) visible to a billing account. A SKU distinctly identifies a resource that you can purchase. For a list of available SKUs, see [SKUs](https://cloud.google.com/skus). |
| 171 |
"billingAccountService": "A String", # BillingAccountService that the BillingAccountSku belongs to. |
| 172 |
"displayName": "A String", # Description of the BillingAccountSku. Example: "A2 Instance Core running in Hong Kong". |
| 173 |
"geoTaxonomy": { # Encapsulates geographic metadata, such as regions and multi-regions like `us-east4` or `European Union`. # Geographic metadata that applies to the BillingAccountSku. |
| 174 |
"globalMetadata": { # Encapsulates a global geographic taxonomy. # Global geographic metadata with no regions. |
| 175 |
}, |
| 176 |
"multiRegionalMetadata": { # Encapsulates a multi-regional geographic taxonomy. # Multi-regional geographic metadata with 2 or more regions. |
| 177 |
"regions": [ # Google Cloud regions associated with the multi-regional geographic taxonomy. |
| 178 |
{ # Encapsulates a Google Cloud region. |
| 179 |
"region": "A String", # Description of a Google Cloud region. Example: "us-west2". |
| 180 |
}, |
| 181 |
], |
| 182 |
}, |
| 183 |
"regionalMetadata": { # Encapsulates a regional geographic taxonomy. # Regional geographic metadata with 1 region. |
| 184 |
"region": { # Encapsulates a Google Cloud region. # Google Cloud region associated with the regional geographic taxonomy. |
| 185 |
"region": "A String", # Description of a Google Cloud region. Example: "us-west2". |
| 186 |
}, |
| 187 |
}, |
| 188 |
"type": "A String", # Type of geographic taxonomy associated with the billing account SKU. |
| 189 |
}, |
| 190 |
"name": "A String", # Resource name for the BillingAccountSku. Example: "billingAccounts/012345-567890-ABCDEF/skus/AA95-CD31-42FE". |
| 191 |
"productTaxonomy": { # Encapsulates product categories, such as `Serverless`, `Cloud Run`, `TaskQueue`, and others. # List of product categories that apply to the BillingAccountSku. |
| 192 |
"taxonomyCategories": [ # All product categories that the billing account SKU belong to. |
| 193 |
{ # Encapsulates a product category. |
| 194 |
"category": "A String", # Name of the product category. |
| 195 |
}, |
| 196 |
], |
| 197 |
}, |
| 198 |
"skuId": "A String", # Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE". |
| 199 |
}, |
| 200 |
], |
| 201 |
"nextPageToken": "A String", # Token that can be sent as `page_token` in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages. |
| 202 |
}</pre> |
| 203 |
</div> |
| 204 |
|
| 205 |
<div class="method"> |
| 206 |
<code class="details" id="list_next">list_next()</code> |
| 207 |
<pre>Retrieves the next page of results. |
| 208 |
|
| 209 |
Args: |
| 210 |
previous_request: The request for the previous page. (required) |
| 211 |
previous_response: The response from the request for the previous page. (required) |
| 212 |
|
| 213 |
Returns: |
| 214 |
A request object that you can call 'execute()' on to request the next |
| 215 |
page. Returns None if there are no more items in the collection. |
| 216 |
</pre> |
| 217 |
</div> |
| 218 |
|
| 219 |
</body></html> |