1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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 111Args: 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 120Args: 121 id: string, The id of a verified site or domain. (required) 122 123Returns: 124 An object of the form: 125 126 { 127 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 128 "owners": [ # The email addresses of all verified owners. 129 "A String", 130 ], 131 "site": { # The address and type of a site that is verified or will be verified. 132 "identifier": "A String", # 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 "type": "A String", # 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 142Args: 143 body: object, The request body. 144 The object takes the form of: 145 146{ 147 "site": { # The site for which a verification token will be generated. 148 "identifier": "A String", # 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 "type": "A String", # The type of resource to be verified. Can be SITE or INET_DOMAIN (domain name). 150 }, 151 "verificationMethod": "A String", # The verification method that will be used to verify this site. For sites, 'FILE' or 'META' methods may be used. For domains, only 'DNS' may be used. 152} 153 154 155Returns: 156 An object of the form: 157 158 { 159 "method": "A String", # 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 "token": "A String", # 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 168Args: 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 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 175 "owners": [ # The email addresses of all verified owners. 176 "A String", 177 ], 178 "site": { # The address and type of a site that is verified or will be verified. 179 "identifier": "A String", # 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 "type": "A String", # The site type. Can be SITE or INET_DOMAIN (domain name). 181 }, 182} 183 184 185Returns: 186 An object of the form: 187 188 { 189 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 190 "owners": [ # The email addresses of all verified owners. 191 "A String", 192 ], 193 "site": { # The address and type of a site that is verified or will be verified. 194 "identifier": "A String", # 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 "type": "A String", # 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 204Args: 205 206Returns: 207 An object of the form: 208 209 { 210 "items": [ # The list of sites that are owned by the authenticated user. 211 { 212 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 213 "owners": [ # The email addresses of all verified owners. 214 "A String", 215 ], 216 "site": { # The address and type of a site that is verified or will be verified. 217 "identifier": "A String", # 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 "type": "A String", # 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 229Args: 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 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 236 "owners": [ # The email addresses of all verified owners. 237 "A String", 238 ], 239 "site": { # The address and type of a site that is verified or will be verified. 240 "identifier": "A String", # 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 "type": "A String", # The site type. Can be SITE or INET_DOMAIN (domain name). 242 }, 243} 244 245 246Returns: 247 An object of the form: 248 249 { 250 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 251 "owners": [ # The email addresses of all verified owners. 252 "A String", 253 ], 254 "site": { # The address and type of a site that is verified or will be verified. 255 "identifier": "A String", # 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 "type": "A String", # 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 265Args: 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 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 272 "owners": [ # The email addresses of all verified owners. 273 "A String", 274 ], 275 "site": { # The address and type of a site that is verified or will be verified. 276 "identifier": "A String", # 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 "type": "A String", # The site type. Can be SITE or INET_DOMAIN (domain name). 278 }, 279} 280 281 282Returns: 283 An object of the form: 284 285 { 286 "id": "A String", # The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. 287 "owners": [ # The email addresses of all verified owners. 288 "A String", 289 ], 290 "site": { # The address and type of a site that is verified or will be verified. 291 "identifier": "A String", # 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 "type": "A String", # The site type. Can be SITE or INET_DOMAIN (domain name). 293 }, 294}</pre> 295</div> 296 297</body></html>