@googleapis/siteverification 2.0.0 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.2](https://github.com/googleapis/google-api-nodejs-client/compare/siteverification-v2.0.1...siteverification-v2.0.2) (2023-08-25)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** update dependency googleapis-common to v7 ([9491ec1](https://github.com/googleapis/google-api-nodejs-client/commit/9491ec1cdc3c413e7d73edcfcd59cf5c28a7c855))
9
+
10
+ ## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/siteverification-v2.0.0...siteverification-v2.0.1) (2023-08-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **siteVerification:** update the API ([760447c](https://github.com/googleapis/google-api-nodejs-client/commit/760447c31306ecfff4e66d6d0b10390a398a97fc))
16
+
3
17
  ## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/siteverification-v1.0.0...siteverification-v2.0.0) (2022-12-22)
4
18
 
5
19
 
package/build/v1.d.ts CHANGED
@@ -106,43 +106,6 @@ export declare namespace siteVerification_v1 {
106
106
  constructor(context: APIRequestContext);
107
107
  /**
108
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
109
  *
147
110
  * @param params - Parameters for request
148
111
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -157,50 +120,6 @@ export declare namespace siteVerification_v1 {
157
120
  delete(callback: BodyResponseCallback<void>): void;
158
121
  /**
159
122
  * 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
123
  *
205
124
  * @param params - Parameters for request
206
125
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -215,58 +134,6 @@ export declare namespace siteVerification_v1 {
215
134
  get(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
216
135
  /**
217
136
  * 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
137
  *
271
138
  * @param params - Parameters for request
272
139
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -281,63 +148,6 @@ export declare namespace siteVerification_v1 {
281
148
  getToken(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceGettokenResponse>): void;
282
149
  /**
283
150
  * 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
151
  *
342
152
  * @param params - Parameters for request
343
153
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -352,45 +162,6 @@ export declare namespace siteVerification_v1 {
352
162
  insert(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
353
163
  /**
354
164
  * 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
165
  *
395
166
  * @param params - Parameters for request
396
167
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -405,60 +176,6 @@ export declare namespace siteVerification_v1 {
405
176
  list(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceListResponse>): void;
406
177
  /**
407
178
  * 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
179
  *
463
180
  * @param params - Parameters for request
464
181
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -473,60 +190,6 @@ export declare namespace siteVerification_v1 {
473
190
  patch(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
474
191
  /**
475
192
  * 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
193
  *
531
194
  * @param params - Parameters for request
532
195
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts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,EAAE,CAAuC,CAAC;YAC5C,IAAI,OAAO,GAAG,CAAC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAAwC,CAAC;gBAClD,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,6BAA6B,CAAC;YACjE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,uCAAuC,CAAC,CAAC,OAAO,CAC9D,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,KAAK;iBACd,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,IAAI,CAAC;gBACtB,UAAU,EAAE,CAAC,IAAI,CAAC;gBAClB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAxpBY,wCAAoB,uBAwpBhC,CAAA;AA4DH,CAAC,EAt0BgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAs0BnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/siteverification",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "siteVerification",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -28,12 +28,12 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^6.0.3"
31
+ "googleapis-common": "^7.0.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
- "gts": "^3.1.1",
36
+ "gts": "^5.0.0",
37
37
  "null-loader": "^4.0.0",
38
38
  "ts-loader": "^9.0.0",
39
39
  "typescript": "~4.8.4",
package/v1.ts CHANGED
@@ -157,43 +157,6 @@ export namespace siteVerification_v1 {
157
157
 
158
158
  /**
159
159
  * Relinquish ownership of 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.delete({
185
- * // The id of a verified site or domain.
186
- * id: 'placeholder-value',
187
- * });
188
- * console.log(res.data);
189
- * }
190
- *
191
- * main().catch(e => {
192
- * console.error(e);
193
- * throw e;
194
- * });
195
- *
196
- * ```
197
160
  *
198
161
  * @param params - Parameters for request
199
162
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -279,50 +242,6 @@ export namespace siteVerification_v1 {
279
242
 
280
243
  /**
281
244
  * Get the most current data for a website or domain.
282
- * @example
283
- * ```js
284
- * // Before running the sample:
285
- * // - Enable the API at:
286
- * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
287
- * // - Login into gcloud by running:
288
- * // `$ gcloud auth application-default login`
289
- * // - Install the npm module by running:
290
- * // `$ npm install googleapis`
291
- *
292
- * const {google} = require('googleapis');
293
- * const siteVerification = google.siteVerification('v1');
294
- *
295
- * async function main() {
296
- * const auth = new google.auth.GoogleAuth({
297
- * // Scopes can be specified either as an array or as a single, space-delimited string.
298
- * scopes: ['https://www.googleapis.com/auth/siteverification'],
299
- * });
300
- *
301
- * // Acquire an auth client, and bind it to all future calls
302
- * const authClient = await auth.getClient();
303
- * google.options({auth: authClient});
304
- *
305
- * // Do the magic
306
- * const res = await siteVerification.webResource.get({
307
- * // The id of a verified site or domain.
308
- * id: 'placeholder-value',
309
- * });
310
- * console.log(res.data);
311
- *
312
- * // Example response
313
- * // {
314
- * // "id": "my_id",
315
- * // "owners": [],
316
- * // "site": {}
317
- * // }
318
- * }
319
- *
320
- * main().catch(e => {
321
- * console.error(e);
322
- * throw e;
323
- * });
324
- *
325
- * ```
326
245
  *
327
246
  * @param params - Parameters for request
328
247
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -418,58 +337,6 @@ export namespace siteVerification_v1 {
418
337
 
419
338
  /**
420
339
  * Get a verification token for placing on a website or domain.
421
- * @example
422
- * ```js
423
- * // Before running the sample:
424
- * // - Enable the API at:
425
- * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
426
- * // - Login into gcloud by running:
427
- * // `$ gcloud auth application-default login`
428
- * // - Install the npm module by running:
429
- * // `$ npm install googleapis`
430
- *
431
- * const {google} = require('googleapis');
432
- * const siteVerification = google.siteVerification('v1');
433
- *
434
- * async function main() {
435
- * const auth = new google.auth.GoogleAuth({
436
- * // Scopes can be specified either as an array or as a single, space-delimited string.
437
- * scopes: [
438
- * 'https://www.googleapis.com/auth/siteverification',
439
- * 'https://www.googleapis.com/auth/siteverification.verify_only',
440
- * ],
441
- * });
442
- *
443
- * // Acquire an auth client, and bind it to all future calls
444
- * const authClient = await auth.getClient();
445
- * google.options({auth: authClient});
446
- *
447
- * // Do the magic
448
- * const res = await siteVerification.webResource.getToken({
449
- * // Request body metadata
450
- * requestBody: {
451
- * // request body parameters
452
- * // {
453
- * // "site": {},
454
- * // "verificationMethod": "my_verificationMethod"
455
- * // }
456
- * },
457
- * });
458
- * console.log(res.data);
459
- *
460
- * // Example response
461
- * // {
462
- * // "method": "my_method",
463
- * // "token": "my_token"
464
- * // }
465
- * }
466
- *
467
- * main().catch(e => {
468
- * console.error(e);
469
- * throw e;
470
- * });
471
- *
472
- * ```
473
340
  *
474
341
  * @param params - Parameters for request
475
342
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -566,63 +433,6 @@ export namespace siteVerification_v1 {
566
433
 
567
434
  /**
568
435
  * Attempt verification of a website or domain.
569
- * @example
570
- * ```js
571
- * // Before running the sample:
572
- * // - Enable the API at:
573
- * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
574
- * // - Login into gcloud by running:
575
- * // `$ gcloud auth application-default login`
576
- * // - Install the npm module by running:
577
- * // `$ npm install googleapis`
578
- *
579
- * const {google} = require('googleapis');
580
- * const siteVerification = google.siteVerification('v1');
581
- *
582
- * async function main() {
583
- * const auth = new google.auth.GoogleAuth({
584
- * // Scopes can be specified either as an array or as a single, space-delimited string.
585
- * scopes: [
586
- * 'https://www.googleapis.com/auth/siteverification',
587
- * 'https://www.googleapis.com/auth/siteverification.verify_only',
588
- * ],
589
- * });
590
- *
591
- * // Acquire an auth client, and bind it to all future calls
592
- * const authClient = await auth.getClient();
593
- * google.options({auth: authClient});
594
- *
595
- * // Do the magic
596
- * const res = await siteVerification.webResource.insert({
597
- * // The method to use for verifying a site or domain.
598
- * verificationMethod: 'placeholder-value',
599
- *
600
- * // Request body metadata
601
- * requestBody: {
602
- * // request body parameters
603
- * // {
604
- * // "id": "my_id",
605
- * // "owners": [],
606
- * // "site": {}
607
- * // }
608
- * },
609
- * });
610
- * console.log(res.data);
611
- *
612
- * // Example response
613
- * // {
614
- * // "id": "my_id",
615
- * // "owners": [],
616
- * // "site": {}
617
- * // }
618
- * }
619
- *
620
- * main().catch(e => {
621
- * console.error(e);
622
- * throw e;
623
- * });
624
- *
625
- * ```
626
436
  *
627
437
  * @param params - Parameters for request
628
438
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -719,45 +529,6 @@ export namespace siteVerification_v1 {
719
529
 
720
530
  /**
721
531
  * Get the list of your verified websites and domains.
722
- * @example
723
- * ```js
724
- * // Before running the sample:
725
- * // - Enable the API at:
726
- * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
727
- * // - Login into gcloud by running:
728
- * // `$ gcloud auth application-default login`
729
- * // - Install the npm module by running:
730
- * // `$ npm install googleapis`
731
- *
732
- * const {google} = require('googleapis');
733
- * const siteVerification = google.siteVerification('v1');
734
- *
735
- * async function main() {
736
- * const auth = new google.auth.GoogleAuth({
737
- * // Scopes can be specified either as an array or as a single, space-delimited string.
738
- * scopes: ['https://www.googleapis.com/auth/siteverification'],
739
- * });
740
- *
741
- * // Acquire an auth client, and bind it to all future calls
742
- * const authClient = await auth.getClient();
743
- * google.options({auth: authClient});
744
- *
745
- * // Do the magic
746
- * const res = await siteVerification.webResource.list({});
747
- * console.log(res.data);
748
- *
749
- * // Example response
750
- * // {
751
- * // "items": []
752
- * // }
753
- * }
754
- *
755
- * main().catch(e => {
756
- * console.error(e);
757
- * throw e;
758
- * });
759
- *
760
- * ```
761
532
  *
762
533
  * @param params - Parameters for request
763
534
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -853,60 +624,6 @@ export namespace siteVerification_v1 {
853
624
 
854
625
  /**
855
626
  * Modify the list of owners for your website or domain. This method supports patch semantics.
856
- * @example
857
- * ```js
858
- * // Before running the sample:
859
- * // - Enable the API at:
860
- * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
861
- * // - Login into gcloud by running:
862
- * // `$ gcloud auth application-default login`
863
- * // - Install the npm module by running:
864
- * // `$ npm install googleapis`
865
- *
866
- * const {google} = require('googleapis');
867
- * const siteVerification = google.siteVerification('v1');
868
- *
869
- * async function main() {
870
- * const auth = new google.auth.GoogleAuth({
871
- * // Scopes can be specified either as an array or as a single, space-delimited string.
872
- * scopes: ['https://www.googleapis.com/auth/siteverification'],
873
- * });
874
- *
875
- * // Acquire an auth client, and bind it to all future calls
876
- * const authClient = await auth.getClient();
877
- * google.options({auth: authClient});
878
- *
879
- * // Do the magic
880
- * const res = await siteVerification.webResource.patch({
881
- * // The id of a verified site or domain.
882
- * id: 'placeholder-value',
883
- *
884
- * // Request body metadata
885
- * requestBody: {
886
- * // request body parameters
887
- * // {
888
- * // "id": "my_id",
889
- * // "owners": [],
890
- * // "site": {}
891
- * // }
892
- * },
893
- * });
894
- * console.log(res.data);
895
- *
896
- * // Example response
897
- * // {
898
- * // "id": "my_id",
899
- * // "owners": [],
900
- * // "site": {}
901
- * // }
902
- * }
903
- *
904
- * main().catch(e => {
905
- * console.error(e);
906
- * throw e;
907
- * });
908
- *
909
- * ```
910
627
  *
911
628
  * @param params - Parameters for request
912
629
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1003,60 +720,6 @@ export namespace siteVerification_v1 {
1003
720
 
1004
721
  /**
1005
722
  * Modify the list of owners for your website or domain.
1006
- * @example
1007
- * ```js
1008
- * // Before running the sample:
1009
- * // - Enable the API at:
1010
- * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
1011
- * // - Login into gcloud by running:
1012
- * // `$ gcloud auth application-default login`
1013
- * // - Install the npm module by running:
1014
- * // `$ npm install googleapis`
1015
- *
1016
- * const {google} = require('googleapis');
1017
- * const siteVerification = google.siteVerification('v1');
1018
- *
1019
- * async function main() {
1020
- * const auth = new google.auth.GoogleAuth({
1021
- * // Scopes can be specified either as an array or as a single, space-delimited string.
1022
- * scopes: ['https://www.googleapis.com/auth/siteverification'],
1023
- * });
1024
- *
1025
- * // Acquire an auth client, and bind it to all future calls
1026
- * const authClient = await auth.getClient();
1027
- * google.options({auth: authClient});
1028
- *
1029
- * // Do the magic
1030
- * const res = await siteVerification.webResource.update({
1031
- * // The id of a verified site or domain.
1032
- * id: 'placeholder-value',
1033
- *
1034
- * // Request body metadata
1035
- * requestBody: {
1036
- * // request body parameters
1037
- * // {
1038
- * // "id": "my_id",
1039
- * // "owners": [],
1040
- * // "site": {}
1041
- * // }
1042
- * },
1043
- * });
1044
- * console.log(res.data);
1045
- *
1046
- * // Example response
1047
- * // {
1048
- * // "id": "my_id",
1049
- * // "owners": [],
1050
- * // "site": {}
1051
- * // }
1052
- * }
1053
- *
1054
- * main().catch(e => {
1055
- * console.error(e);
1056
- * throw e;
1057
- * });
1058
- *
1059
- * ```
1060
723
  *
1061
724
  * @param params - Parameters for request
1062
725
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.