Skip to content

Commit 3d3137d

Browse files
feat(css): update the api
#### css:v1 The following keys were added: - resources.accounts.resources.quotas.methods.list (Total Keys: 16) - schemas.ListQuotaGroupsResponse (Total Keys: 5) - schemas.MethodDetails (Total Keys: 10) - schemas.QuotaGroup (Total Keys: 15)
1 parent b66a574 commit 3d3137d

File tree

3 files changed

+271
-1
lines changed

3 files changed

+271
-1
lines changed

docs/dyn/css_v1.accounts.html

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
8989
</p>
9090
<p class="firstline">Returns the labels Resource.</p>
9191

92+
<p class="toc_element">
93+
<code><a href="css_v1.accounts.quotas.html">quotas()</a></code>
94+
</p>
95+
<p class="firstline">Returns the quotas Resource.</p>
96+
9297
<p class="toc_element">
9398
<code><a href="#close">close()</a></code></p>
9499
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/css_v1.accounts.quotas.html

+143
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
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="css_v1.html">CSS API</a> . <a href="css_v1.accounts.html">accounts</a> . <a href="css_v1.accounts.quotas.html">quotas</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 daily call quota and usage per group for your CSS Center account.</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 daily call quota and usage per group for your CSS Center account.
95+
96+
Args:
97+
parent: string, Required. The CSS account that owns the collection of method quotas and resources. In most cases, this is the CSS domain. Format: accounts/{account} (required)
98+
pageSize: integer, Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.
99+
pageToken: string, Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
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 the ListMethodGroups method.
109+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
110+
&quot;quotaGroups&quot;: [ # The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quota_usage.
111+
{ # The group information for methods in the CSS API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.
112+
&quot;methodDetails&quot;: [ # Output only. List of all methods group quota applies to.
113+
{ # The method details per method in the CSS API.
114+
&quot;method&quot;: &quot;A String&quot;, # Output only. The name of the method for example `cssproductsservice.listcssproducts`.
115+
&quot;path&quot;: &quot;A String&quot;, # Output only. The path for the method such as `v1/cssproductsservice.listcssproducts`.
116+
&quot;subapi&quot;: &quot;A String&quot;, # Output only. The sub-API that the method belongs to. In the CSS API, this is always `css`.
117+
&quot;version&quot;: &quot;A String&quot;, # Output only. The API version that the method belongs to.
118+
},
119+
],
120+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the quota group. Format: accounts/{account}/quotas/{group} Example: `accounts/12345678/quotas/css-products-insert` Note: The {group} part is not guaranteed to follow a specific pattern.
121+
&quot;quotaLimit&quot;: &quot;A String&quot;, # Output only. The maximum number of calls allowed per day for the group.
122+
&quot;quotaMinuteLimit&quot;: &quot;A String&quot;, # Output only. The maximum number of calls allowed per minute for the group.
123+
&quot;quotaUsage&quot;: &quot;A String&quot;, # Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.
124+
},
125+
],
126+
}</pre>
127+
</div>
128+
129+
<div class="method">
130+
<code class="details" id="list_next">list_next()</code>
131+
<pre>Retrieves the next page of results.
132+
133+
Args:
134+
previous_request: The request for the previous page. (required)
135+
previous_response: The response from the request for the previous page. (required)
136+
137+
Returns:
138+
A request object that you can call &#x27;execute()&#x27; on to request the next
139+
page. Returns None if there are no more items in the collection.
140+
</pre>
141+
</div>
142+
143+
</body></html>

googleapiclient/discovery_cache/documents/css.v1.json

+123-1
Original file line numberDiff line numberDiff line change
@@ -503,11 +503,51 @@
503503
]
504504
}
505505
}
506+
},
507+
"quotas": {
508+
"methods": {
509+
"list": {
510+
"description": "Lists the daily call quota and usage per group for your CSS Center account.",
511+
"flatPath": "v1/accounts/{accountsId}/quotas",
512+
"httpMethod": "GET",
513+
"id": "css.accounts.quotas.list",
514+
"parameterOrder": [
515+
"parent"
516+
],
517+
"parameters": {
518+
"pageSize": {
519+
"description": "Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.",
520+
"format": "int32",
521+
"location": "query",
522+
"type": "integer"
523+
},
524+
"pageToken": {
525+
"description": "Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.",
526+
"location": "query",
527+
"type": "string"
528+
},
529+
"parent": {
530+
"description": "Required. The CSS account that owns the collection of method quotas and resources. In most cases, this is the CSS domain. Format: accounts/{account}",
531+
"location": "path",
532+
"pattern": "^accounts/[^/]+$",
533+
"required": true,
534+
"type": "string"
535+
}
536+
},
537+
"path": "v1/{+parent}/quotas",
538+
"response": {
539+
"$ref": "ListQuotaGroupsResponse"
540+
},
541+
"scopes": [
542+
"https://www.googleapis.com/auth/content"
543+
]
544+
}
545+
}
506546
}
507547
}
508548
}
509549
},
510-
"revision": "20250219",
550+
"revision": "20250406",
511551
"rootUrl": "https://css.googleapis.com/",
512552
"schemas": {
513553
"Account": {
@@ -1216,6 +1256,51 @@
12161256
},
12171257
"type": "object"
12181258
},
1259+
"ListQuotaGroupsResponse": {
1260+
"description": "Response message for the ListMethodGroups method.",
1261+
"id": "ListQuotaGroupsResponse",
1262+
"properties": {
1263+
"nextPageToken": {
1264+
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
1265+
"type": "string"
1266+
},
1267+
"quotaGroups": {
1268+
"description": "The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quota_usage.",
1269+
"items": {
1270+
"$ref": "QuotaGroup"
1271+
},
1272+
"type": "array"
1273+
}
1274+
},
1275+
"type": "object"
1276+
},
1277+
"MethodDetails": {
1278+
"description": "The method details per method in the CSS API.",
1279+
"id": "MethodDetails",
1280+
"properties": {
1281+
"method": {
1282+
"description": "Output only. The name of the method for example `cssproductsservice.listcssproducts`.",
1283+
"readOnly": true,
1284+
"type": "string"
1285+
},
1286+
"path": {
1287+
"description": "Output only. The path for the method such as `v1/cssproductsservice.listcssproducts`.",
1288+
"readOnly": true,
1289+
"type": "string"
1290+
},
1291+
"subapi": {
1292+
"description": "Output only. The sub-API that the method belongs to. In the CSS API, this is always `css`.",
1293+
"readOnly": true,
1294+
"type": "string"
1295+
},
1296+
"version": {
1297+
"description": "Output only. The API version that the method belongs to.",
1298+
"readOnly": true,
1299+
"type": "string"
1300+
}
1301+
},
1302+
"type": "object"
1303+
},
12191304
"Price": {
12201305
"description": "The price represented as a number and currency.",
12211306
"id": "Price",
@@ -1283,6 +1368,43 @@
12831368
},
12841369
"type": "object"
12851370
},
1371+
"QuotaGroup": {
1372+
"description": "The group information for methods in the CSS API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.",
1373+
"id": "QuotaGroup",
1374+
"properties": {
1375+
"methodDetails": {
1376+
"description": "Output only. List of all methods group quota applies to.",
1377+
"items": {
1378+
"$ref": "MethodDetails"
1379+
},
1380+
"readOnly": true,
1381+
"type": "array"
1382+
},
1383+
"name": {
1384+
"description": "Identifier. The resource name of the quota group. Format: accounts/{account}/quotas/{group} Example: `accounts/12345678/quotas/css-products-insert` Note: The {group} part is not guaranteed to follow a specific pattern.",
1385+
"type": "string"
1386+
},
1387+
"quotaLimit": {
1388+
"description": "Output only. The maximum number of calls allowed per day for the group.",
1389+
"format": "int64",
1390+
"readOnly": true,
1391+
"type": "string"
1392+
},
1393+
"quotaMinuteLimit": {
1394+
"description": "Output only. The maximum number of calls allowed per minute for the group.",
1395+
"format": "int64",
1396+
"readOnly": true,
1397+
"type": "string"
1398+
},
1399+
"quotaUsage": {
1400+
"description": "Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.",
1401+
"format": "int64",
1402+
"readOnly": true,
1403+
"type": "string"
1404+
}
1405+
},
1406+
"type": "object"
1407+
},
12861408
"UpdateAccountLabelsRequest": {
12871409
"description": "The request message for the `UpdateLabels` method.",
12881410
"id": "UpdateAccountLabelsRequest",

0 commit comments

Comments
 (0)