@googleapis/siteverification 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/v1.d.ts ADDED
@@ -0,0 +1,594 @@
1
+ /// <reference types="node" />
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
+ import { Readable } from 'stream';
4
+ export declare namespace siteVerification_v1 {
5
+ export interface Options extends GlobalOptions {
6
+ version: 'v1';
7
+ }
8
+ interface StandardParameters {
9
+ /**
10
+ * Auth client or API Key for the request
11
+ */
12
+ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
13
+ /**
14
+ * Data format for the response.
15
+ */
16
+ alt?: string;
17
+ /**
18
+ * Selector specifying which fields to include in a partial response.
19
+ */
20
+ fields?: string;
21
+ /**
22
+ * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
23
+ */
24
+ key?: string;
25
+ /**
26
+ * OAuth 2.0 token for the current user.
27
+ */
28
+ oauth_token?: string;
29
+ /**
30
+ * Returns response with indentations and line breaks.
31
+ */
32
+ prettyPrint?: boolean;
33
+ /**
34
+ * An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
35
+ */
36
+ quotaUser?: string;
37
+ /**
38
+ * Deprecated. Please use quotaUser instead.
39
+ */
40
+ userIp?: string;
41
+ }
42
+ /**
43
+ * Google Site Verification API
44
+ *
45
+ * Verifies ownership of websites or domains with Google.
46
+ *
47
+ * @example
48
+ * ```js
49
+ * const {google} = require('googleapis');
50
+ * const siteVerification = google.siteVerification('v1');
51
+ * ```
52
+ */
53
+ export class Siteverification {
54
+ context: APIRequestContext;
55
+ webResource: Resource$Webresource;
56
+ constructor(options: GlobalOptions, google?: GoogleConfigurable);
57
+ }
58
+ export interface Schema$SiteVerificationWebResourceGettokenRequest {
59
+ /**
60
+ * The site for which a verification token will be generated.
61
+ */
62
+ site?: {
63
+ identifier?: string;
64
+ type?: string;
65
+ } | null;
66
+ /**
67
+ * 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.
68
+ */
69
+ verificationMethod?: string | null;
70
+ }
71
+ export interface Schema$SiteVerificationWebResourceGettokenResponse {
72
+ /**
73
+ * 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.
74
+ */
75
+ method?: string | null;
76
+ /**
77
+ * The verification token. The token must be placed appropriately in order for verification to succeed.
78
+ */
79
+ token?: string | null;
80
+ }
81
+ export interface Schema$SiteVerificationWebResourceListResponse {
82
+ /**
83
+ * The list of sites that are owned by the authenticated user.
84
+ */
85
+ items?: Schema$SiteVerificationWebResourceResource[];
86
+ }
87
+ export interface Schema$SiteVerificationWebResourceResource {
88
+ /**
89
+ * 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.
90
+ */
91
+ id?: string | null;
92
+ /**
93
+ * The email addresses of all verified owners.
94
+ */
95
+ owners?: string[] | null;
96
+ /**
97
+ * The address and type of a site that is verified or will be verified.
98
+ */
99
+ site?: {
100
+ identifier?: string;
101
+ type?: string;
102
+ } | null;
103
+ }
104
+ export class Resource$Webresource {
105
+ context: APIRequestContext;
106
+ constructor(context: APIRequestContext);
107
+ /**
108
+ * Relinquish ownership of a website or domain.
109
+ * @example
110
+ * ```js
111
+ * // Before running the sample:
112
+ * // - Enable the API at:
113
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
114
+ * // - Login into gcloud by running:
115
+ * // `$ gcloud auth application-default login`
116
+ * // - Install the npm module by running:
117
+ * // `$ npm install googleapis`
118
+ *
119
+ * const {google} = require('googleapis');
120
+ * const siteVerification = google.siteVerification('v1');
121
+ *
122
+ * async function main() {
123
+ * const auth = new google.auth.GoogleAuth({
124
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
125
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
126
+ * });
127
+ *
128
+ * // Acquire an auth client, and bind it to all future calls
129
+ * const authClient = await auth.getClient();
130
+ * google.options({auth: authClient});
131
+ *
132
+ * // Do the magic
133
+ * const res = await siteVerification.webResource.delete({
134
+ * // The id of a verified site or domain.
135
+ * id: 'placeholder-value',
136
+ * });
137
+ * console.log(res.data);
138
+ * }
139
+ *
140
+ * main().catch(e => {
141
+ * console.error(e);
142
+ * throw e;
143
+ * });
144
+ *
145
+ * ```
146
+ *
147
+ * @param params - Parameters for request
148
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
149
+ * @param callback - Optional callback that handles the response.
150
+ * @returns A promise if used with async/await, or void if used with a callback.
151
+ */
152
+ delete(params: Params$Resource$Webresource$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
153
+ delete(params?: Params$Resource$Webresource$Delete, options?: MethodOptions): GaxiosPromise<void>;
154
+ delete(params: Params$Resource$Webresource$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
155
+ delete(params: Params$Resource$Webresource$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
156
+ delete(params: Params$Resource$Webresource$Delete, callback: BodyResponseCallback<void>): void;
157
+ delete(callback: BodyResponseCallback<void>): void;
158
+ /**
159
+ * Get the most current data for a website or domain.
160
+ * @example
161
+ * ```js
162
+ * // Before running the sample:
163
+ * // - Enable the API at:
164
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
165
+ * // - Login into gcloud by running:
166
+ * // `$ gcloud auth application-default login`
167
+ * // - Install the npm module by running:
168
+ * // `$ npm install googleapis`
169
+ *
170
+ * const {google} = require('googleapis');
171
+ * const siteVerification = google.siteVerification('v1');
172
+ *
173
+ * async function main() {
174
+ * const auth = new google.auth.GoogleAuth({
175
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
176
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
177
+ * });
178
+ *
179
+ * // Acquire an auth client, and bind it to all future calls
180
+ * const authClient = await auth.getClient();
181
+ * google.options({auth: authClient});
182
+ *
183
+ * // Do the magic
184
+ * const res = await siteVerification.webResource.get({
185
+ * // The id of a verified site or domain.
186
+ * id: 'placeholder-value',
187
+ * });
188
+ * console.log(res.data);
189
+ *
190
+ * // Example response
191
+ * // {
192
+ * // "id": "my_id",
193
+ * // "owners": [],
194
+ * // "site": {}
195
+ * // }
196
+ * }
197
+ *
198
+ * main().catch(e => {
199
+ * console.error(e);
200
+ * throw e;
201
+ * });
202
+ *
203
+ * ```
204
+ *
205
+ * @param params - Parameters for request
206
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
207
+ * @param callback - Optional callback that handles the response.
208
+ * @returns A promise if used with async/await, or void if used with a callback.
209
+ */
210
+ get(params: Params$Resource$Webresource$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
211
+ get(params?: Params$Resource$Webresource$Get, options?: MethodOptions): GaxiosPromise<Schema$SiteVerificationWebResourceResource>;
212
+ get(params: Params$Resource$Webresource$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
213
+ get(params: Params$Resource$Webresource$Get, options: MethodOptions | BodyResponseCallback<Schema$SiteVerificationWebResourceResource>, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
214
+ get(params: Params$Resource$Webresource$Get, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
215
+ get(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
216
+ /**
217
+ * Get a verification token for placing on a website or domain.
218
+ * @example
219
+ * ```js
220
+ * // Before running the sample:
221
+ * // - Enable the API at:
222
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
223
+ * // - Login into gcloud by running:
224
+ * // `$ gcloud auth application-default login`
225
+ * // - Install the npm module by running:
226
+ * // `$ npm install googleapis`
227
+ *
228
+ * const {google} = require('googleapis');
229
+ * const siteVerification = google.siteVerification('v1');
230
+ *
231
+ * async function main() {
232
+ * const auth = new google.auth.GoogleAuth({
233
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
234
+ * scopes: [
235
+ * 'https://www.googleapis.com/auth/siteverification',
236
+ * 'https://www.googleapis.com/auth/siteverification.verify_only',
237
+ * ],
238
+ * });
239
+ *
240
+ * // Acquire an auth client, and bind it to all future calls
241
+ * const authClient = await auth.getClient();
242
+ * google.options({auth: authClient});
243
+ *
244
+ * // Do the magic
245
+ * const res = await siteVerification.webResource.getToken({
246
+ * // Request body metadata
247
+ * requestBody: {
248
+ * // request body parameters
249
+ * // {
250
+ * // "site": {},
251
+ * // "verificationMethod": "my_verificationMethod"
252
+ * // }
253
+ * },
254
+ * });
255
+ * console.log(res.data);
256
+ *
257
+ * // Example response
258
+ * // {
259
+ * // "method": "my_method",
260
+ * // "token": "my_token"
261
+ * // }
262
+ * }
263
+ *
264
+ * main().catch(e => {
265
+ * console.error(e);
266
+ * throw e;
267
+ * });
268
+ *
269
+ * ```
270
+ *
271
+ * @param params - Parameters for request
272
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
273
+ * @param callback - Optional callback that handles the response.
274
+ * @returns A promise if used with async/await, or void if used with a callback.
275
+ */
276
+ getToken(params: Params$Resource$Webresource$Gettoken, options: StreamMethodOptions): GaxiosPromise<Readable>;
277
+ getToken(params?: Params$Resource$Webresource$Gettoken, options?: MethodOptions): GaxiosPromise<Schema$SiteVerificationWebResourceGettokenResponse>;
278
+ getToken(params: Params$Resource$Webresource$Gettoken, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
279
+ getToken(params: Params$Resource$Webresource$Gettoken, options: MethodOptions | BodyResponseCallback<Schema$SiteVerificationWebResourceGettokenResponse>, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceGettokenResponse>): void;
280
+ getToken(params: Params$Resource$Webresource$Gettoken, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceGettokenResponse>): void;
281
+ getToken(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceGettokenResponse>): void;
282
+ /**
283
+ * Attempt verification of a website or domain.
284
+ * @example
285
+ * ```js
286
+ * // Before running the sample:
287
+ * // - Enable the API at:
288
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
289
+ * // - Login into gcloud by running:
290
+ * // `$ gcloud auth application-default login`
291
+ * // - Install the npm module by running:
292
+ * // `$ npm install googleapis`
293
+ *
294
+ * const {google} = require('googleapis');
295
+ * const siteVerification = google.siteVerification('v1');
296
+ *
297
+ * async function main() {
298
+ * const auth = new google.auth.GoogleAuth({
299
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
300
+ * scopes: [
301
+ * 'https://www.googleapis.com/auth/siteverification',
302
+ * 'https://www.googleapis.com/auth/siteverification.verify_only',
303
+ * ],
304
+ * });
305
+ *
306
+ * // Acquire an auth client, and bind it to all future calls
307
+ * const authClient = await auth.getClient();
308
+ * google.options({auth: authClient});
309
+ *
310
+ * // Do the magic
311
+ * const res = await siteVerification.webResource.insert({
312
+ * // The method to use for verifying a site or domain.
313
+ * verificationMethod: 'placeholder-value',
314
+ *
315
+ * // Request body metadata
316
+ * requestBody: {
317
+ * // request body parameters
318
+ * // {
319
+ * // "id": "my_id",
320
+ * // "owners": [],
321
+ * // "site": {}
322
+ * // }
323
+ * },
324
+ * });
325
+ * console.log(res.data);
326
+ *
327
+ * // Example response
328
+ * // {
329
+ * // "id": "my_id",
330
+ * // "owners": [],
331
+ * // "site": {}
332
+ * // }
333
+ * }
334
+ *
335
+ * main().catch(e => {
336
+ * console.error(e);
337
+ * throw e;
338
+ * });
339
+ *
340
+ * ```
341
+ *
342
+ * @param params - Parameters for request
343
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
344
+ * @param callback - Optional callback that handles the response.
345
+ * @returns A promise if used with async/await, or void if used with a callback.
346
+ */
347
+ insert(params: Params$Resource$Webresource$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
348
+ insert(params?: Params$Resource$Webresource$Insert, options?: MethodOptions): GaxiosPromise<Schema$SiteVerificationWebResourceResource>;
349
+ insert(params: Params$Resource$Webresource$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
350
+ insert(params: Params$Resource$Webresource$Insert, options: MethodOptions | BodyResponseCallback<Schema$SiteVerificationWebResourceResource>, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
351
+ insert(params: Params$Resource$Webresource$Insert, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
352
+ insert(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
353
+ /**
354
+ * Get the list of your verified websites and domains.
355
+ * @example
356
+ * ```js
357
+ * // Before running the sample:
358
+ * // - Enable the API at:
359
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
360
+ * // - Login into gcloud by running:
361
+ * // `$ gcloud auth application-default login`
362
+ * // - Install the npm module by running:
363
+ * // `$ npm install googleapis`
364
+ *
365
+ * const {google} = require('googleapis');
366
+ * const siteVerification = google.siteVerification('v1');
367
+ *
368
+ * async function main() {
369
+ * const auth = new google.auth.GoogleAuth({
370
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
371
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
372
+ * });
373
+ *
374
+ * // Acquire an auth client, and bind it to all future calls
375
+ * const authClient = await auth.getClient();
376
+ * google.options({auth: authClient});
377
+ *
378
+ * // Do the magic
379
+ * const res = await siteVerification.webResource.list({});
380
+ * console.log(res.data);
381
+ *
382
+ * // Example response
383
+ * // {
384
+ * // "items": []
385
+ * // }
386
+ * }
387
+ *
388
+ * main().catch(e => {
389
+ * console.error(e);
390
+ * throw e;
391
+ * });
392
+ *
393
+ * ```
394
+ *
395
+ * @param params - Parameters for request
396
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
397
+ * @param callback - Optional callback that handles the response.
398
+ * @returns A promise if used with async/await, or void if used with a callback.
399
+ */
400
+ list(params: Params$Resource$Webresource$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
401
+ list(params?: Params$Resource$Webresource$List, options?: MethodOptions): GaxiosPromise<Schema$SiteVerificationWebResourceListResponse>;
402
+ list(params: Params$Resource$Webresource$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
403
+ list(params: Params$Resource$Webresource$List, options: MethodOptions | BodyResponseCallback<Schema$SiteVerificationWebResourceListResponse>, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceListResponse>): void;
404
+ list(params: Params$Resource$Webresource$List, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceListResponse>): void;
405
+ list(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceListResponse>): void;
406
+ /**
407
+ * Modify the list of owners for your website or domain. This method supports patch semantics.
408
+ * @example
409
+ * ```js
410
+ * // Before running the sample:
411
+ * // - Enable the API at:
412
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
413
+ * // - Login into gcloud by running:
414
+ * // `$ gcloud auth application-default login`
415
+ * // - Install the npm module by running:
416
+ * // `$ npm install googleapis`
417
+ *
418
+ * const {google} = require('googleapis');
419
+ * const siteVerification = google.siteVerification('v1');
420
+ *
421
+ * async function main() {
422
+ * const auth = new google.auth.GoogleAuth({
423
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
424
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
425
+ * });
426
+ *
427
+ * // Acquire an auth client, and bind it to all future calls
428
+ * const authClient = await auth.getClient();
429
+ * google.options({auth: authClient});
430
+ *
431
+ * // Do the magic
432
+ * const res = await siteVerification.webResource.patch({
433
+ * // The id of a verified site or domain.
434
+ * id: 'placeholder-value',
435
+ *
436
+ * // Request body metadata
437
+ * requestBody: {
438
+ * // request body parameters
439
+ * // {
440
+ * // "id": "my_id",
441
+ * // "owners": [],
442
+ * // "site": {}
443
+ * // }
444
+ * },
445
+ * });
446
+ * console.log(res.data);
447
+ *
448
+ * // Example response
449
+ * // {
450
+ * // "id": "my_id",
451
+ * // "owners": [],
452
+ * // "site": {}
453
+ * // }
454
+ * }
455
+ *
456
+ * main().catch(e => {
457
+ * console.error(e);
458
+ * throw e;
459
+ * });
460
+ *
461
+ * ```
462
+ *
463
+ * @param params - Parameters for request
464
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
465
+ * @param callback - Optional callback that handles the response.
466
+ * @returns A promise if used with async/await, or void if used with a callback.
467
+ */
468
+ patch(params: Params$Resource$Webresource$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
469
+ patch(params?: Params$Resource$Webresource$Patch, options?: MethodOptions): GaxiosPromise<Schema$SiteVerificationWebResourceResource>;
470
+ patch(params: Params$Resource$Webresource$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
471
+ patch(params: Params$Resource$Webresource$Patch, options: MethodOptions | BodyResponseCallback<Schema$SiteVerificationWebResourceResource>, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
472
+ patch(params: Params$Resource$Webresource$Patch, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
473
+ patch(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
474
+ /**
475
+ * Modify the list of owners for your website or domain.
476
+ * @example
477
+ * ```js
478
+ * // Before running the sample:
479
+ * // - Enable the API at:
480
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
481
+ * // - Login into gcloud by running:
482
+ * // `$ gcloud auth application-default login`
483
+ * // - Install the npm module by running:
484
+ * // `$ npm install googleapis`
485
+ *
486
+ * const {google} = require('googleapis');
487
+ * const siteVerification = google.siteVerification('v1');
488
+ *
489
+ * async function main() {
490
+ * const auth = new google.auth.GoogleAuth({
491
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
492
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
493
+ * });
494
+ *
495
+ * // Acquire an auth client, and bind it to all future calls
496
+ * const authClient = await auth.getClient();
497
+ * google.options({auth: authClient});
498
+ *
499
+ * // Do the magic
500
+ * const res = await siteVerification.webResource.update({
501
+ * // The id of a verified site or domain.
502
+ * id: 'placeholder-value',
503
+ *
504
+ * // Request body metadata
505
+ * requestBody: {
506
+ * // request body parameters
507
+ * // {
508
+ * // "id": "my_id",
509
+ * // "owners": [],
510
+ * // "site": {}
511
+ * // }
512
+ * },
513
+ * });
514
+ * console.log(res.data);
515
+ *
516
+ * // Example response
517
+ * // {
518
+ * // "id": "my_id",
519
+ * // "owners": [],
520
+ * // "site": {}
521
+ * // }
522
+ * }
523
+ *
524
+ * main().catch(e => {
525
+ * console.error(e);
526
+ * throw e;
527
+ * });
528
+ *
529
+ * ```
530
+ *
531
+ * @param params - Parameters for request
532
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
533
+ * @param callback - Optional callback that handles the response.
534
+ * @returns A promise if used with async/await, or void if used with a callback.
535
+ */
536
+ update(params: Params$Resource$Webresource$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
537
+ update(params?: Params$Resource$Webresource$Update, options?: MethodOptions): GaxiosPromise<Schema$SiteVerificationWebResourceResource>;
538
+ update(params: Params$Resource$Webresource$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
539
+ update(params: Params$Resource$Webresource$Update, options: MethodOptions | BodyResponseCallback<Schema$SiteVerificationWebResourceResource>, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
540
+ update(params: Params$Resource$Webresource$Update, callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
541
+ update(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
542
+ }
543
+ export interface Params$Resource$Webresource$Delete extends StandardParameters {
544
+ /**
545
+ * The id of a verified site or domain.
546
+ */
547
+ id?: string;
548
+ }
549
+ export interface Params$Resource$Webresource$Get extends StandardParameters {
550
+ /**
551
+ * The id of a verified site or domain.
552
+ */
553
+ id?: string;
554
+ }
555
+ export interface Params$Resource$Webresource$Gettoken extends StandardParameters {
556
+ /**
557
+ * Request body metadata
558
+ */
559
+ requestBody?: Schema$SiteVerificationWebResourceGettokenRequest;
560
+ }
561
+ export interface Params$Resource$Webresource$Insert extends StandardParameters {
562
+ /**
563
+ * The method to use for verifying a site or domain.
564
+ */
565
+ verificationMethod?: string;
566
+ /**
567
+ * Request body metadata
568
+ */
569
+ requestBody?: Schema$SiteVerificationWebResourceResource;
570
+ }
571
+ export interface Params$Resource$Webresource$List extends StandardParameters {
572
+ }
573
+ export interface Params$Resource$Webresource$Patch extends StandardParameters {
574
+ /**
575
+ * The id of a verified site or domain.
576
+ */
577
+ id?: string;
578
+ /**
579
+ * Request body metadata
580
+ */
581
+ requestBody?: Schema$SiteVerificationWebResourceResource;
582
+ }
583
+ export interface Params$Resource$Webresource$Update extends StandardParameters {
584
+ /**
585
+ * The id of a verified site or domain.
586
+ */
587
+ id?: string;
588
+ /**
589
+ * Request body metadata
590
+ */
591
+ requestBody?: Schema$SiteVerificationWebResourceResource;
592
+ }
593
+ export {};
594
+ }