@googleapis/siteverification 3.0.1 → 4.0.1

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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/siteverification-v4.0.0...siteverification-v4.0.1) (2025-07-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **siteVerification:** update the API ([5db7e0a](https://github.com/googleapis/google-api-nodejs-client/commit/5db7e0a2cb2d5f039e925f323cd0d2d0b525106b))
9
+ * **siteVerification:** update the API ([6a6a70f](https://github.com/googleapis/google-api-nodejs-client/commit/6a6a70fb4263d907502f8edb14bc3f71f2f5f866))
10
+
11
+ ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/siteverification-v3.0.1...siteverification-v4.0.0) (2025-06-30)
12
+
13
+
14
+ ### ⚠ BREAKING CHANGES
15
+
16
+ * upgrade to node 18
17
+
18
+ ### Features
19
+
20
+ * upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
26
+ * **siteVerification:** update the API ([6a6a70f](https://github.com/googleapis/google-api-nodejs-client/commit/6a6a70fb4263d907502f8edb14bc3f71f2f5f866))
27
+
3
28
  ## [3.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/siteverification-v3.0.0...siteverification-v3.0.1) (2025-06-04)
4
29
 
5
30
 
package/build/v1.d.ts CHANGED
@@ -106,6 +106,47 @@ 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
+ * // ```sh
116
+ * // $ gcloud auth application-default login
117
+ * // ```
118
+ * // - Install the npm module by running:
119
+ * // ```sh
120
+ * // $ npm install googleapis
121
+ * // ```
122
+ *
123
+ * const {google} = require('googleapis');
124
+ * const siteVerification = google.siteVerification('v1');
125
+ *
126
+ * async function main() {
127
+ * const auth = new google.auth.GoogleAuth({
128
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
129
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
130
+ * });
131
+ *
132
+ * // Acquire an auth client, and bind it to all future calls
133
+ * const authClient = await auth.getClient();
134
+ * google.options({auth: authClient});
135
+ *
136
+ * // Do the magic
137
+ * const res = await siteVerification.webResource.delete({
138
+ * // The id of a verified site or domain.
139
+ * id: 'placeholder-value',
140
+ * });
141
+ * console.log(res.data);
142
+ * }
143
+ *
144
+ * main().catch(e => {
145
+ * console.error(e);
146
+ * throw e;
147
+ * });
148
+ *
149
+ * ```
109
150
  *
110
151
  * @param params - Parameters for request
111
152
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -120,6 +161,54 @@ export declare namespace siteVerification_v1 {
120
161
  delete(callback: BodyResponseCallback<void>): void;
121
162
  /**
122
163
  * Get the most current data for a website or domain.
164
+ * @example
165
+ * ```js
166
+ * // Before running the sample:
167
+ * // - Enable the API at:
168
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
169
+ * // - Login into gcloud by running:
170
+ * // ```sh
171
+ * // $ gcloud auth application-default login
172
+ * // ```
173
+ * // - Install the npm module by running:
174
+ * // ```sh
175
+ * // $ npm install googleapis
176
+ * // ```
177
+ *
178
+ * const {google} = require('googleapis');
179
+ * const siteVerification = google.siteVerification('v1');
180
+ *
181
+ * async function main() {
182
+ * const auth = new google.auth.GoogleAuth({
183
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
184
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
185
+ * });
186
+ *
187
+ * // Acquire an auth client, and bind it to all future calls
188
+ * const authClient = await auth.getClient();
189
+ * google.options({auth: authClient});
190
+ *
191
+ * // Do the magic
192
+ * const res = await siteVerification.webResource.get({
193
+ * // The id of a verified site or domain.
194
+ * id: 'placeholder-value',
195
+ * });
196
+ * console.log(res.data);
197
+ *
198
+ * // Example response
199
+ * // {
200
+ * // "id": "my_id",
201
+ * // "owners": [],
202
+ * // "site": {}
203
+ * // }
204
+ * }
205
+ *
206
+ * main().catch(e => {
207
+ * console.error(e);
208
+ * throw e;
209
+ * });
210
+ *
211
+ * ```
123
212
  *
124
213
  * @param params - Parameters for request
125
214
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -134,6 +223,62 @@ export declare namespace siteVerification_v1 {
134
223
  get(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
135
224
  /**
136
225
  * Get a verification token for placing on a website or domain.
226
+ * @example
227
+ * ```js
228
+ * // Before running the sample:
229
+ * // - Enable the API at:
230
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
231
+ * // - Login into gcloud by running:
232
+ * // ```sh
233
+ * // $ gcloud auth application-default login
234
+ * // ```
235
+ * // - Install the npm module by running:
236
+ * // ```sh
237
+ * // $ npm install googleapis
238
+ * // ```
239
+ *
240
+ * const {google} = require('googleapis');
241
+ * const siteVerification = google.siteVerification('v1');
242
+ *
243
+ * async function main() {
244
+ * const auth = new google.auth.GoogleAuth({
245
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
246
+ * scopes: [
247
+ * 'https://www.googleapis.com/auth/siteverification',
248
+ * 'https://www.googleapis.com/auth/siteverification.verify_only',
249
+ * ],
250
+ * });
251
+ *
252
+ * // Acquire an auth client, and bind it to all future calls
253
+ * const authClient = await auth.getClient();
254
+ * google.options({auth: authClient});
255
+ *
256
+ * // Do the magic
257
+ * const res = await siteVerification.webResource.getToken({
258
+ * // Request body metadata
259
+ * requestBody: {
260
+ * // request body parameters
261
+ * // {
262
+ * // "site": {},
263
+ * // "verificationMethod": "my_verificationMethod"
264
+ * // }
265
+ * },
266
+ * });
267
+ * console.log(res.data);
268
+ *
269
+ * // Example response
270
+ * // {
271
+ * // "method": "my_method",
272
+ * // "token": "my_token"
273
+ * // }
274
+ * }
275
+ *
276
+ * main().catch(e => {
277
+ * console.error(e);
278
+ * throw e;
279
+ * });
280
+ *
281
+ * ```
137
282
  *
138
283
  * @param params - Parameters for request
139
284
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -148,6 +293,67 @@ export declare namespace siteVerification_v1 {
148
293
  getToken(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceGettokenResponse>): void;
149
294
  /**
150
295
  * Attempt verification of a website or domain.
296
+ * @example
297
+ * ```js
298
+ * // Before running the sample:
299
+ * // - Enable the API at:
300
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
301
+ * // - Login into gcloud by running:
302
+ * // ```sh
303
+ * // $ gcloud auth application-default login
304
+ * // ```
305
+ * // - Install the npm module by running:
306
+ * // ```sh
307
+ * // $ npm install googleapis
308
+ * // ```
309
+ *
310
+ * const {google} = require('googleapis');
311
+ * const siteVerification = google.siteVerification('v1');
312
+ *
313
+ * async function main() {
314
+ * const auth = new google.auth.GoogleAuth({
315
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
316
+ * scopes: [
317
+ * 'https://www.googleapis.com/auth/siteverification',
318
+ * 'https://www.googleapis.com/auth/siteverification.verify_only',
319
+ * ],
320
+ * });
321
+ *
322
+ * // Acquire an auth client, and bind it to all future calls
323
+ * const authClient = await auth.getClient();
324
+ * google.options({auth: authClient});
325
+ *
326
+ * // Do the magic
327
+ * const res = await siteVerification.webResource.insert({
328
+ * // The method to use for verifying a site or domain.
329
+ * verificationMethod: 'placeholder-value',
330
+ *
331
+ * // Request body metadata
332
+ * requestBody: {
333
+ * // request body parameters
334
+ * // {
335
+ * // "id": "my_id",
336
+ * // "owners": [],
337
+ * // "site": {}
338
+ * // }
339
+ * },
340
+ * });
341
+ * console.log(res.data);
342
+ *
343
+ * // Example response
344
+ * // {
345
+ * // "id": "my_id",
346
+ * // "owners": [],
347
+ * // "site": {}
348
+ * // }
349
+ * }
350
+ *
351
+ * main().catch(e => {
352
+ * console.error(e);
353
+ * throw e;
354
+ * });
355
+ *
356
+ * ```
151
357
  *
152
358
  * @param params - Parameters for request
153
359
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -162,6 +368,49 @@ export declare namespace siteVerification_v1 {
162
368
  insert(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
163
369
  /**
164
370
  * Get the list of your verified websites and domains.
371
+ * @example
372
+ * ```js
373
+ * // Before running the sample:
374
+ * // - Enable the API at:
375
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
376
+ * // - Login into gcloud by running:
377
+ * // ```sh
378
+ * // $ gcloud auth application-default login
379
+ * // ```
380
+ * // - Install the npm module by running:
381
+ * // ```sh
382
+ * // $ npm install googleapis
383
+ * // ```
384
+ *
385
+ * const {google} = require('googleapis');
386
+ * const siteVerification = google.siteVerification('v1');
387
+ *
388
+ * async function main() {
389
+ * const auth = new google.auth.GoogleAuth({
390
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
391
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
392
+ * });
393
+ *
394
+ * // Acquire an auth client, and bind it to all future calls
395
+ * const authClient = await auth.getClient();
396
+ * google.options({auth: authClient});
397
+ *
398
+ * // Do the magic
399
+ * const res = await siteVerification.webResource.list({});
400
+ * console.log(res.data);
401
+ *
402
+ * // Example response
403
+ * // {
404
+ * // "items": []
405
+ * // }
406
+ * }
407
+ *
408
+ * main().catch(e => {
409
+ * console.error(e);
410
+ * throw e;
411
+ * });
412
+ *
413
+ * ```
165
414
  *
166
415
  * @param params - Parameters for request
167
416
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -176,6 +425,64 @@ export declare namespace siteVerification_v1 {
176
425
  list(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceListResponse>): void;
177
426
  /**
178
427
  * Modify the list of owners for your website or domain. This method supports patch semantics.
428
+ * @example
429
+ * ```js
430
+ * // Before running the sample:
431
+ * // - Enable the API at:
432
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
433
+ * // - Login into gcloud by running:
434
+ * // ```sh
435
+ * // $ gcloud auth application-default login
436
+ * // ```
437
+ * // - Install the npm module by running:
438
+ * // ```sh
439
+ * // $ npm install googleapis
440
+ * // ```
441
+ *
442
+ * const {google} = require('googleapis');
443
+ * const siteVerification = google.siteVerification('v1');
444
+ *
445
+ * async function main() {
446
+ * const auth = new google.auth.GoogleAuth({
447
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
448
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
449
+ * });
450
+ *
451
+ * // Acquire an auth client, and bind it to all future calls
452
+ * const authClient = await auth.getClient();
453
+ * google.options({auth: authClient});
454
+ *
455
+ * // Do the magic
456
+ * const res = await siteVerification.webResource.patch({
457
+ * // The id of a verified site or domain.
458
+ * id: 'placeholder-value',
459
+ *
460
+ * // Request body metadata
461
+ * requestBody: {
462
+ * // request body parameters
463
+ * // {
464
+ * // "id": "my_id",
465
+ * // "owners": [],
466
+ * // "site": {}
467
+ * // }
468
+ * },
469
+ * });
470
+ * console.log(res.data);
471
+ *
472
+ * // Example response
473
+ * // {
474
+ * // "id": "my_id",
475
+ * // "owners": [],
476
+ * // "site": {}
477
+ * // }
478
+ * }
479
+ *
480
+ * main().catch(e => {
481
+ * console.error(e);
482
+ * throw e;
483
+ * });
484
+ *
485
+ * ```
179
486
  *
180
487
  * @param params - Parameters for request
181
488
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -190,6 +497,64 @@ export declare namespace siteVerification_v1 {
190
497
  patch(callback: BodyResponseCallback<Schema$SiteVerificationWebResourceResource>): void;
191
498
  /**
192
499
  * Modify the list of owners for your website or domain.
500
+ * @example
501
+ * ```js
502
+ * // Before running the sample:
503
+ * // - Enable the API at:
504
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
505
+ * // - Login into gcloud by running:
506
+ * // ```sh
507
+ * // $ gcloud auth application-default login
508
+ * // ```
509
+ * // - Install the npm module by running:
510
+ * // ```sh
511
+ * // $ npm install googleapis
512
+ * // ```
513
+ *
514
+ * const {google} = require('googleapis');
515
+ * const siteVerification = google.siteVerification('v1');
516
+ *
517
+ * async function main() {
518
+ * const auth = new google.auth.GoogleAuth({
519
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
520
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
521
+ * });
522
+ *
523
+ * // Acquire an auth client, and bind it to all future calls
524
+ * const authClient = await auth.getClient();
525
+ * google.options({auth: authClient});
526
+ *
527
+ * // Do the magic
528
+ * const res = await siteVerification.webResource.update({
529
+ * // The id of a verified site or domain.
530
+ * id: 'placeholder-value',
531
+ *
532
+ * // Request body metadata
533
+ * requestBody: {
534
+ * // request body parameters
535
+ * // {
536
+ * // "id": "my_id",
537
+ * // "owners": [],
538
+ * // "site": {}
539
+ * // }
540
+ * },
541
+ * });
542
+ * console.log(res.data);
543
+ *
544
+ * // Example response
545
+ * // {
546
+ * // "id": "my_id",
547
+ * // "owners": [],
548
+ * // "site": {}
549
+ * // }
550
+ * }
551
+ *
552
+ * main().catch(e => {
553
+ * console.error(e);
554
+ * throw e;
555
+ * });
556
+ *
557
+ * ```
193
558
  *
194
559
  * @param params - Parameters for request
195
560
  * @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"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2E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 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/siteverification",
3
- "version": "3.0.1",
3
+ "version": "4.0.1",
4
4
  "description": "siteVerification",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -157,6 +157,47 @@ 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
+ * // ```sh
167
+ * // $ gcloud auth application-default login
168
+ * // ```
169
+ * // - Install the npm module by running:
170
+ * // ```sh
171
+ * // $ npm install googleapis
172
+ * // ```
173
+ *
174
+ * const {google} = require('googleapis');
175
+ * const siteVerification = google.siteVerification('v1');
176
+ *
177
+ * async function main() {
178
+ * const auth = new google.auth.GoogleAuth({
179
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
180
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
181
+ * });
182
+ *
183
+ * // Acquire an auth client, and bind it to all future calls
184
+ * const authClient = await auth.getClient();
185
+ * google.options({auth: authClient});
186
+ *
187
+ * // Do the magic
188
+ * const res = await siteVerification.webResource.delete({
189
+ * // The id of a verified site or domain.
190
+ * id: 'placeholder-value',
191
+ * });
192
+ * console.log(res.data);
193
+ * }
194
+ *
195
+ * main().catch(e => {
196
+ * console.error(e);
197
+ * throw e;
198
+ * });
199
+ *
200
+ * ```
160
201
  *
161
202
  * @param params - Parameters for request
162
203
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -246,6 +287,54 @@ export namespace siteVerification_v1 {
246
287
 
247
288
  /**
248
289
  * Get the most current data for a website or domain.
290
+ * @example
291
+ * ```js
292
+ * // Before running the sample:
293
+ * // - Enable the API at:
294
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
295
+ * // - Login into gcloud by running:
296
+ * // ```sh
297
+ * // $ gcloud auth application-default login
298
+ * // ```
299
+ * // - Install the npm module by running:
300
+ * // ```sh
301
+ * // $ npm install googleapis
302
+ * // ```
303
+ *
304
+ * const {google} = require('googleapis');
305
+ * const siteVerification = google.siteVerification('v1');
306
+ *
307
+ * async function main() {
308
+ * const auth = new google.auth.GoogleAuth({
309
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
310
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
311
+ * });
312
+ *
313
+ * // Acquire an auth client, and bind it to all future calls
314
+ * const authClient = await auth.getClient();
315
+ * google.options({auth: authClient});
316
+ *
317
+ * // Do the magic
318
+ * const res = await siteVerification.webResource.get({
319
+ * // The id of a verified site or domain.
320
+ * id: 'placeholder-value',
321
+ * });
322
+ * console.log(res.data);
323
+ *
324
+ * // Example response
325
+ * // {
326
+ * // "id": "my_id",
327
+ * // "owners": [],
328
+ * // "site": {}
329
+ * // }
330
+ * }
331
+ *
332
+ * main().catch(e => {
333
+ * console.error(e);
334
+ * throw e;
335
+ * });
336
+ *
337
+ * ```
249
338
  *
250
339
  * @param params - Parameters for request
251
340
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -346,6 +435,62 @@ export namespace siteVerification_v1 {
346
435
 
347
436
  /**
348
437
  * Get a verification token for placing on a website or domain.
438
+ * @example
439
+ * ```js
440
+ * // Before running the sample:
441
+ * // - Enable the API at:
442
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
443
+ * // - Login into gcloud by running:
444
+ * // ```sh
445
+ * // $ gcloud auth application-default login
446
+ * // ```
447
+ * // - Install the npm module by running:
448
+ * // ```sh
449
+ * // $ npm install googleapis
450
+ * // ```
451
+ *
452
+ * const {google} = require('googleapis');
453
+ * const siteVerification = google.siteVerification('v1');
454
+ *
455
+ * async function main() {
456
+ * const auth = new google.auth.GoogleAuth({
457
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
458
+ * scopes: [
459
+ * 'https://www.googleapis.com/auth/siteverification',
460
+ * 'https://www.googleapis.com/auth/siteverification.verify_only',
461
+ * ],
462
+ * });
463
+ *
464
+ * // Acquire an auth client, and bind it to all future calls
465
+ * const authClient = await auth.getClient();
466
+ * google.options({auth: authClient});
467
+ *
468
+ * // Do the magic
469
+ * const res = await siteVerification.webResource.getToken({
470
+ * // Request body metadata
471
+ * requestBody: {
472
+ * // request body parameters
473
+ * // {
474
+ * // "site": {},
475
+ * // "verificationMethod": "my_verificationMethod"
476
+ * // }
477
+ * },
478
+ * });
479
+ * console.log(res.data);
480
+ *
481
+ * // Example response
482
+ * // {
483
+ * // "method": "my_method",
484
+ * // "token": "my_token"
485
+ * // }
486
+ * }
487
+ *
488
+ * main().catch(e => {
489
+ * console.error(e);
490
+ * throw e;
491
+ * });
492
+ *
493
+ * ```
349
494
  *
350
495
  * @param params - Parameters for request
351
496
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -447,6 +592,67 @@ export namespace siteVerification_v1 {
447
592
 
448
593
  /**
449
594
  * Attempt verification of a website or domain.
595
+ * @example
596
+ * ```js
597
+ * // Before running the sample:
598
+ * // - Enable the API at:
599
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
600
+ * // - Login into gcloud by running:
601
+ * // ```sh
602
+ * // $ gcloud auth application-default login
603
+ * // ```
604
+ * // - Install the npm module by running:
605
+ * // ```sh
606
+ * // $ npm install googleapis
607
+ * // ```
608
+ *
609
+ * const {google} = require('googleapis');
610
+ * const siteVerification = google.siteVerification('v1');
611
+ *
612
+ * async function main() {
613
+ * const auth = new google.auth.GoogleAuth({
614
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
615
+ * scopes: [
616
+ * 'https://www.googleapis.com/auth/siteverification',
617
+ * 'https://www.googleapis.com/auth/siteverification.verify_only',
618
+ * ],
619
+ * });
620
+ *
621
+ * // Acquire an auth client, and bind it to all future calls
622
+ * const authClient = await auth.getClient();
623
+ * google.options({auth: authClient});
624
+ *
625
+ * // Do the magic
626
+ * const res = await siteVerification.webResource.insert({
627
+ * // The method to use for verifying a site or domain.
628
+ * verificationMethod: 'placeholder-value',
629
+ *
630
+ * // Request body metadata
631
+ * requestBody: {
632
+ * // request body parameters
633
+ * // {
634
+ * // "id": "my_id",
635
+ * // "owners": [],
636
+ * // "site": {}
637
+ * // }
638
+ * },
639
+ * });
640
+ * console.log(res.data);
641
+ *
642
+ * // Example response
643
+ * // {
644
+ * // "id": "my_id",
645
+ * // "owners": [],
646
+ * // "site": {}
647
+ * // }
648
+ * }
649
+ *
650
+ * main().catch(e => {
651
+ * console.error(e);
652
+ * throw e;
653
+ * });
654
+ *
655
+ * ```
450
656
  *
451
657
  * @param params - Parameters for request
452
658
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -548,6 +754,49 @@ export namespace siteVerification_v1 {
548
754
 
549
755
  /**
550
756
  * Get the list of your verified websites and domains.
757
+ * @example
758
+ * ```js
759
+ * // Before running the sample:
760
+ * // - Enable the API at:
761
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
762
+ * // - Login into gcloud by running:
763
+ * // ```sh
764
+ * // $ gcloud auth application-default login
765
+ * // ```
766
+ * // - Install the npm module by running:
767
+ * // ```sh
768
+ * // $ npm install googleapis
769
+ * // ```
770
+ *
771
+ * const {google} = require('googleapis');
772
+ * const siteVerification = google.siteVerification('v1');
773
+ *
774
+ * async function main() {
775
+ * const auth = new google.auth.GoogleAuth({
776
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
777
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
778
+ * });
779
+ *
780
+ * // Acquire an auth client, and bind it to all future calls
781
+ * const authClient = await auth.getClient();
782
+ * google.options({auth: authClient});
783
+ *
784
+ * // Do the magic
785
+ * const res = await siteVerification.webResource.list({});
786
+ * console.log(res.data);
787
+ *
788
+ * // Example response
789
+ * // {
790
+ * // "items": []
791
+ * // }
792
+ * }
793
+ *
794
+ * main().catch(e => {
795
+ * console.error(e);
796
+ * throw e;
797
+ * });
798
+ *
799
+ * ```
551
800
  *
552
801
  * @param params - Parameters for request
553
802
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -648,6 +897,64 @@ export namespace siteVerification_v1 {
648
897
 
649
898
  /**
650
899
  * Modify the list of owners for your website or domain. This method supports patch semantics.
900
+ * @example
901
+ * ```js
902
+ * // Before running the sample:
903
+ * // - Enable the API at:
904
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
905
+ * // - Login into gcloud by running:
906
+ * // ```sh
907
+ * // $ gcloud auth application-default login
908
+ * // ```
909
+ * // - Install the npm module by running:
910
+ * // ```sh
911
+ * // $ npm install googleapis
912
+ * // ```
913
+ *
914
+ * const {google} = require('googleapis');
915
+ * const siteVerification = google.siteVerification('v1');
916
+ *
917
+ * async function main() {
918
+ * const auth = new google.auth.GoogleAuth({
919
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
920
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
921
+ * });
922
+ *
923
+ * // Acquire an auth client, and bind it to all future calls
924
+ * const authClient = await auth.getClient();
925
+ * google.options({auth: authClient});
926
+ *
927
+ * // Do the magic
928
+ * const res = await siteVerification.webResource.patch({
929
+ * // The id of a verified site or domain.
930
+ * id: 'placeholder-value',
931
+ *
932
+ * // Request body metadata
933
+ * requestBody: {
934
+ * // request body parameters
935
+ * // {
936
+ * // "id": "my_id",
937
+ * // "owners": [],
938
+ * // "site": {}
939
+ * // }
940
+ * },
941
+ * });
942
+ * console.log(res.data);
943
+ *
944
+ * // Example response
945
+ * // {
946
+ * // "id": "my_id",
947
+ * // "owners": [],
948
+ * // "site": {}
949
+ * // }
950
+ * }
951
+ *
952
+ * main().catch(e => {
953
+ * console.error(e);
954
+ * throw e;
955
+ * });
956
+ *
957
+ * ```
651
958
  *
652
959
  * @param params - Parameters for request
653
960
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -749,6 +1056,64 @@ export namespace siteVerification_v1 {
749
1056
 
750
1057
  /**
751
1058
  * Modify the list of owners for your website or domain.
1059
+ * @example
1060
+ * ```js
1061
+ * // Before running the sample:
1062
+ * // - Enable the API at:
1063
+ * // https://console.developers.google.com/apis/api/siteVerification.googleapis.com
1064
+ * // - Login into gcloud by running:
1065
+ * // ```sh
1066
+ * // $ gcloud auth application-default login
1067
+ * // ```
1068
+ * // - Install the npm module by running:
1069
+ * // ```sh
1070
+ * // $ npm install googleapis
1071
+ * // ```
1072
+ *
1073
+ * const {google} = require('googleapis');
1074
+ * const siteVerification = google.siteVerification('v1');
1075
+ *
1076
+ * async function main() {
1077
+ * const auth = new google.auth.GoogleAuth({
1078
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1079
+ * scopes: ['https://www.googleapis.com/auth/siteverification'],
1080
+ * });
1081
+ *
1082
+ * // Acquire an auth client, and bind it to all future calls
1083
+ * const authClient = await auth.getClient();
1084
+ * google.options({auth: authClient});
1085
+ *
1086
+ * // Do the magic
1087
+ * const res = await siteVerification.webResource.update({
1088
+ * // The id of a verified site or domain.
1089
+ * id: 'placeholder-value',
1090
+ *
1091
+ * // Request body metadata
1092
+ * requestBody: {
1093
+ * // request body parameters
1094
+ * // {
1095
+ * // "id": "my_id",
1096
+ * // "owners": [],
1097
+ * // "site": {}
1098
+ * // }
1099
+ * },
1100
+ * });
1101
+ * console.log(res.data);
1102
+ *
1103
+ * // Example response
1104
+ * // {
1105
+ * // "id": "my_id",
1106
+ * // "owners": [],
1107
+ * // "site": {}
1108
+ * // }
1109
+ * }
1110
+ *
1111
+ * main().catch(e => {
1112
+ * console.error(e);
1113
+ * throw e;
1114
+ * });
1115
+ *
1116
+ * ```
752
1117
  *
753
1118
  * @param params - Parameters for request
754
1119
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.