Skip to content

Commit 715bd7f

Browse files
authored
Regen all docs. (#700)
* Stop recursing if discovery == {} * Generate docs with 'make docs'.
1 parent 02bae1c commit 715bd7f

File tree

1,765 files changed

+1031664
-110530
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,765 files changed

+1031664
-110530
lines changed

describe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ def document_collection_recursive(resource, path, root_discovery, discovery):
335335
for name in dir(resource):
336336
if (not name.startswith('_')
337337
and callable(getattr(resource, name))
338-
and hasattr(getattr(resource, name), '__is_resource__')):
338+
and hasattr(getattr(resource, name), '__is_resource__')
339+
and discovery != {}):
339340
dname = name.rsplit('_')[0]
340341
collection = getattr(resource, name)()
341342
document_collection_recursive(collection, path + name + '.', root_discovery,
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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="abusiveexperiencereport_v1.html">Abusive Experience Report API</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="abusiveexperiencereport_v1.sites.html">sites()</a></code>
79+
</p>
80+
<p class="firstline">Returns the sites Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="abusiveexperiencereport_v1.violatingSites.html">violatingSites()</a></code>
84+
</p>
85+
<p class="firstline">Returns the violatingSites Resource.</p>
86+
87+
<p class="toc_element">
88+
<code><a href="#new_batch_http_request">new_batch_http_request()</a></code></p>
89+
<p class="firstline">Create a BatchHttpRequest object based on the discovery document.</p>
90+
<h3>Method Details</h3>
91+
<div class="method">
92+
<code class="details" id="new_batch_http_request">new_batch_http_request()</code>
93+
<pre>Create a BatchHttpRequest object based on the discovery document.
94+
95+
Args:
96+
callback: callable, A callback to be called for each response, of the
97+
form callback(id, response, exception). The first parameter is the
98+
request id, and the second is the deserialized response object. The
99+
third is an apiclient.errors.HttpError exception object if an HTTP
100+
error occurred while processing the request, or None if no error
101+
occurred.
102+
103+
Returns:
104+
A BatchHttpRequest object based on the discovery document.
105+
</pre>
106+
</div>
107+
108+
</body></html>
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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="abusiveexperiencereport_v1.html">Abusive Experience Report API</a> . <a href="abusiveexperiencereport_v1.sites.html">sites</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Gets a summary of the abusive experience rating of a site.</p>
80+
<h3>Method Details</h3>
81+
<div class="method">
82+
<code class="details" id="get">get(name, x__xgafv=None)</code>
83+
<pre>Gets a summary of the abusive experience rating of a site.
84+
85+
Args:
86+
name: string, The required site name. This is the site property whose abusive
87+
experiences have been reviewed, and it must be URL-encoded. For example,
88+
sites/https%3A%2F%2Fwww.google.com. The server will return an error of
89+
BAD_REQUEST if this field is not filled in. Note that if the site property
90+
is not yet verified in Search Console, the reportUrl field
91+
returned by the API will lead to the verification page, prompting the user
92+
to go through that process before they can gain access to the Abusive
93+
Experience Report. (required)
94+
x__xgafv: string, V1 error format.
95+
Allowed values
96+
1 - v1 error format
97+
2 - v2 error format
98+
99+
Returns:
100+
An object of the form:
101+
102+
{ # Response message for GetSiteSummary.
103+
"lastChangeTime": "A String", # The last time that the site changed status.
104+
"abusiveStatus": "A String", # The status of the site reviewed for the abusive experiences.
105+
"reportUrl": "A String", # A link that leads to a full abusive experience report.
106+
"underReview": True or False, # Whether the site is currently under review.
107+
"enforcementTime": "A String", # The date on which enforcement begins.
108+
"filterStatus": "A String", # The abusive experience enforcement status of the site.
109+
"reviewedSite": "A String", # The name of the site reviewed.
110+
}</pre>
111+
</div>
112+
113+
</body></html>
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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="abusiveexperiencereport_v1.html">Abusive Experience Report API</a> . <a href="abusiveexperiencereport_v1.violatingSites.html">violatingSites</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#list">list(x__xgafv=None)</a></code></p>
79+
<p class="firstline">Lists sites with Abusive Experience Report statuses of "Failing".</p>
80+
<h3>Method Details</h3>
81+
<div class="method">
82+
<code class="details" id="list">list(x__xgafv=None)</code>
83+
<pre>Lists sites with Abusive Experience Report statuses of "Failing".
84+
85+
Args:
86+
x__xgafv: string, V1 error format.
87+
Allowed values
88+
1 - v1 error format
89+
2 - v2 error format
90+
91+
Returns:
92+
An object of the form:
93+
94+
{ # Response message for ListViolatingSites.
95+
"violatingSites": [ # A list of summaries of violating sites.
96+
{ # Response message for GetSiteSummary.
97+
"lastChangeTime": "A String", # The last time that the site changed status.
98+
"abusiveStatus": "A String", # The status of the site reviewed for the abusive experiences.
99+
"reportUrl": "A String", # A link that leads to a full abusive experience report.
100+
"underReview": True or False, # Whether the site is currently under review.
101+
"enforcementTime": "A String", # The date on which enforcement begins.
102+
"filterStatus": "A String", # The abusive experience enforcement status of the site.
103+
"reviewedSite": "A String", # The name of the site reviewed.
104+
},
105+
],
106+
}</pre>
107+
</div>
108+
109+
</body></html>

0 commit comments

Comments
 (0)