Debian Codegraph @

docs/dyn/siteVerification_v1.webResource.html

raw
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="siteVerification_v1.html">Google Site Verification API</a> . <a href="siteVerification_v1.webResource.html">webResource</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="#delete">delete(id)</a></code></p>
82 <p class="firstline">Relinquish ownership of a website or domain.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(id)</a></code></p>
85 <p class="firstline">Get the most current data for a website or domain.</p>
86 <p class="toc_element">
87 <code><a href="#getToken">getToken(body=None)</a></code></p>
88 <p class="firstline">Get a verification token for placing on a website or domain.</p>
89 <p class="toc_element">
90 <code><a href="#insert">insert(verificationMethod, body=None)</a></code></p>
91 <p class="firstline">Attempt verification of a website or domain.</p>
92 <p class="toc_element">
93 <code><a href="#list">list()</a></code></p>
94 <p class="firstline">Get the list of your verified websites and domains.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(id, body=None)</a></code></p>
97 <p class="firstline">Modify the list of owners for your website or domain. This method supports patch semantics.</p>
98 <p class="toc_element">
99 <code><a href="#update">update(id, body=None)</a></code></p>
100 <p class="firstline">Modify the list of owners for your website or domain.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="delete">delete(id)</code>
109 <pre>Relinquish ownership of a website or domain.
110
111 Args:
112 id: string, The id of a verified site or domain. (required)
113 </pre>
114 </div>
115
116 <div class="method">
117 <code class="details" id="get">get(id)</code>
118 <pre>Get the most current data for a website or domain.
119
120 Args:
121 id: string, The id of a verified site or domain. (required)
122
123 Returns:
124 An object of the form:
125
126 {
127 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
128 &quot;owners&quot;: [ # The email addresses of all verified owners.
129 &quot;A String&quot;,
130 ],
131 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
132 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
133 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
134 },
135 }</pre>
136 </div>
137
138 <div class="method">
139 <code class="details" id="getToken">getToken(body=None)</code>
140 <pre>Get a verification token for placing on a website or domain.
141
142 Args:
143 body: object, The request body.
144 The object takes the form of:
145
146 {
147 &quot;site&quot;: { # The site for which a verification token will be generated.
148 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
149 &quot;type&quot;: &quot;A String&quot;, # The type of resource to be verified. Can be SITE or INET_DOMAIN (domain name).
150 },
151 &quot;verificationMethod&quot;: &quot;A String&quot;, # The verification method that will be used to verify this site. For sites, &#x27;FILE&#x27; or &#x27;META&#x27; methods may be used. For domains, only &#x27;DNS&#x27; may be used.
152 }
153
154
155 Returns:
156 An object of the form:
157
158 {
159 &quot;method&quot;: &quot;A String&quot;, # The verification method to use in conjunction with this token. For FILE, the token should be placed in the top-level directory of the site, stored inside a file of the same name. For META, the token should be placed in the HEAD tag of the default page that is loaded for the site. For DNS, the token should be placed in a TXT record of the domain.
160 &quot;token&quot;: &quot;A String&quot;, # The verification token. The token must be placed appropriately in order for verification to succeed.
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="insert">insert(verificationMethod, body=None)</code>
166 <pre>Attempt verification of a website or domain.
167
168 Args:
169 verificationMethod: string, The method to use for verifying a site or domain. (required)
170 body: object, The request body.
171 The object takes the form of:
172
173 {
174 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
175 &quot;owners&quot;: [ # The email addresses of all verified owners.
176 &quot;A String&quot;,
177 ],
178 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
179 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
180 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
181 },
182 }
183
184
185 Returns:
186 An object of the form:
187
188 {
189 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
190 &quot;owners&quot;: [ # The email addresses of all verified owners.
191 &quot;A String&quot;,
192 ],
193 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
194 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
195 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
196 },
197 }</pre>
198 </div>
199
200 <div class="method">
201 <code class="details" id="list">list()</code>
202 <pre>Get the list of your verified websites and domains.
203
204 Args:
205
206 Returns:
207 An object of the form:
208
209 {
210 &quot;items&quot;: [ # The list of sites that are owned by the authenticated user.
211 {
212 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
213 &quot;owners&quot;: [ # The email addresses of all verified owners.
214 &quot;A String&quot;,
215 ],
216 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
217 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
218 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
219 },
220 },
221 ],
222 }</pre>
223 </div>
224
225 <div class="method">
226 <code class="details" id="patch">patch(id, body=None)</code>
227 <pre>Modify the list of owners for your website or domain. This method supports patch semantics.
228
229 Args:
230 id: string, The id of a verified site or domain. (required)
231 body: object, The request body.
232 The object takes the form of:
233
234 {
235 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
236 &quot;owners&quot;: [ # The email addresses of all verified owners.
237 &quot;A String&quot;,
238 ],
239 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
240 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
241 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
242 },
243 }
244
245
246 Returns:
247 An object of the form:
248
249 {
250 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
251 &quot;owners&quot;: [ # The email addresses of all verified owners.
252 &quot;A String&quot;,
253 ],
254 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
255 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
256 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
257 },
258 }</pre>
259 </div>
260
261 <div class="method">
262 <code class="details" id="update">update(id, body=None)</code>
263 <pre>Modify the list of owners for your website or domain.
264
265 Args:
266 id: string, The id of a verified site or domain. (required)
267 body: object, The request body.
268 The object takes the form of:
269
270 {
271 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
272 &quot;owners&quot;: [ # The email addresses of all verified owners.
273 &quot;A String&quot;,
274 ],
275 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
276 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
277 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
278 },
279 }
280
281
282 Returns:
283 An object of the form:
284
285 {
286 &quot;id&quot;: &quot;A String&quot;, # The string used to identify this site. This value should be used in the &quot;id&quot; portion of the REST URL for the Get, Update, and Delete operations.
287 &quot;owners&quot;: [ # The email addresses of all verified owners.
288 &quot;A String&quot;,
289 ],
290 &quot;site&quot;: { # The address and type of a site that is verified or will be verified.
291 &quot;identifier&quot;: &quot;A String&quot;, # The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.
292 &quot;type&quot;: &quot;A String&quot;, # The site type. Can be SITE or INET_DOMAIN (domain name).
293 },
294 }</pre>
295 </div>
296
297 </body></html>