@googleapis/searchconsole 0.4.0 → 0.5.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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.1](https://github.com/googleapis/google-api-nodejs-client/compare/searchconsole-v0.5.0...searchconsole-v0.5.1) (2022-06-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **searchconsole:** update the API ([29a1c14](https://github.com/googleapis/google-api-nodejs-client/commit/29a1c1496400b7f9061014be3d5890acba549fb7))
9
+
10
+ ## [0.5.0](https://github.com/googleapis/google-api-nodejs-client/compare/searchconsole-v0.4.1...searchconsole-v0.5.0) (2022-02-04)
11
+
12
+
13
+ ### Features
14
+
15
+ * **searchconsole:** update the API ([006f4cb](https://github.com/googleapis/google-api-nodejs-client/commit/006f4cbc2d55f3834e9fce09a98df34b12ad8e50))
16
+
17
+ ### [0.4.1](https://github.com/googleapis/google-api-nodejs-client/compare/searchconsole-v0.4.0...searchconsole-v0.4.1) (2022-01-17)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **searchconsole:** update the API ([f12ab81](https://github.com/googleapis/google-api-nodejs-client/commit/f12ab81bf358ba69f5cea0c99168f8df19025101))
23
+
3
24
  ## [0.4.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/searchconsole-v0.3.0...searchconsole-v0.4.0) (2021-10-28)
4
25
 
5
26
 
package/build/v1.d.ts CHANGED
@@ -71,9 +71,60 @@ export declare namespace searchconsole_v1 {
71
71
  searchanalytics: Resource$Searchanalytics;
72
72
  sitemaps: Resource$Sitemaps;
73
73
  sites: Resource$Sites;
74
+ urlInspection: Resource$Urlinspection;
74
75
  urlTestingTools: Resource$Urltestingtools;
75
76
  constructor(options: GlobalOptions, google?: GoogleConfigurable);
76
77
  }
78
+ /**
79
+ * AMP inspection result of the live page or the current information from Google's index, depending on whether you requested a live inspection or not.
80
+ */
81
+ export interface Schema$AmpInspectionResult {
82
+ /**
83
+ * Index status of the AMP URL.
84
+ */
85
+ ampIndexStatusVerdict?: string | null;
86
+ /**
87
+ * URL of the AMP that was inspected. If the submitted URL is a desktop page that refers to an AMP version, the AMP version will be inspected.
88
+ */
89
+ ampUrl?: string | null;
90
+ /**
91
+ * Whether or not the page blocks indexing through a noindex rule.
92
+ */
93
+ indexingState?: string | null;
94
+ /**
95
+ * A list of zero or more AMP issues found for the inspected URL.
96
+ */
97
+ issues?: Schema$AmpIssue[];
98
+ /**
99
+ * Last time this AMP version was crawled by Google. Absent if the URL was never crawled successfully.
100
+ */
101
+ lastCrawlTime?: string | null;
102
+ /**
103
+ * Whether or not Google could fetch the AMP.
104
+ */
105
+ pageFetchState?: string | null;
106
+ /**
107
+ * Whether or not the page is blocked to Google by a robots.txt rule.
108
+ */
109
+ robotsTxtState?: string | null;
110
+ /**
111
+ * The status of the most severe error on the page. If a page has both warnings and errors, the page status is error. Error status means the page cannot be shown in Search results.
112
+ */
113
+ verdict?: string | null;
114
+ }
115
+ /**
116
+ * AMP issue.
117
+ */
118
+ export interface Schema$AmpIssue {
119
+ /**
120
+ * Brief description of this issue.
121
+ */
122
+ issueMessage?: string | null;
123
+ /**
124
+ * Severity of this issue: WARNING or ERROR.
125
+ */
126
+ severity?: string | null;
127
+ }
77
128
  export interface Schema$ApiDataRow {
78
129
  clicks?: number | null;
79
130
  ctr?: number | null;
@@ -105,6 +156,19 @@ export declare namespace searchconsole_v1 {
105
156
  */
106
157
  url?: string | null;
107
158
  }
159
+ /**
160
+ * Rich Results items grouped by type.
161
+ */
162
+ export interface Schema$DetectedItems {
163
+ /**
164
+ * List of Rich Results items.
165
+ */
166
+ items?: Schema$Item[];
167
+ /**
168
+ * Rich Results type
169
+ */
170
+ richResultType?: string | null;
171
+ }
108
172
  /**
109
173
  * Describe image data.
110
174
  */
@@ -118,6 +182,94 @@ export declare namespace searchconsole_v1 {
118
182
  */
119
183
  mimeType?: string | null;
120
184
  }
185
+ /**
186
+ * Results of index status inspection for either the live page or the version in Google's index, depending on whether you requested a live inspection or not. For more information, see the [Index coverage report documentation](https://support.google.com/webmasters/answer/7440203).
187
+ */
188
+ export interface Schema$IndexStatusInspectionResult {
189
+ /**
190
+ * Could Google find and index the page. More details about page indexing appear in 'indexing_state'.
191
+ */
192
+ coverageState?: string | null;
193
+ /**
194
+ * Primary crawler that was used by Google to crawl your site.
195
+ */
196
+ crawledAs?: string | null;
197
+ /**
198
+ * The URL of the page that Google selected as canonical. If the page was not indexed, this field is absent.
199
+ */
200
+ googleCanonical?: string | null;
201
+ /**
202
+ * Whether or not the page blocks indexing through a noindex rule.
203
+ */
204
+ indexingState?: string | null;
205
+ /**
206
+ * Last time this URL was crawled by Google using the [primary crawler](https://support.google.com/webmasters/answer/7440203#primary_crawler). Absent if the URL was never crawled successfully.
207
+ */
208
+ lastCrawlTime?: string | null;
209
+ /**
210
+ * Whether or not Google could retrieve the page from your server. Equivalent to ["page fetch"](https://support.google.com/webmasters/answer/9012289#index_coverage) in the URL inspection report.
211
+ */
212
+ pageFetchState?: string | null;
213
+ /**
214
+ * URLs that link to the inspected URL, directly and indirectly.
215
+ */
216
+ referringUrls?: string[] | null;
217
+ /**
218
+ * Whether or not the page is blocked to Google by a robots.txt rule.
219
+ */
220
+ robotsTxtState?: string | null;
221
+ /**
222
+ * Any sitemaps that this URL was listed in, as known by Google. Not guaranteed to be an exhaustive list, especially if Google did not discover this URL through a sitemap. Absent if no sitemaps were found.
223
+ */
224
+ sitemap?: string[] | null;
225
+ /**
226
+ * The URL that your page or site [declares as canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls?#define-canonical). If you did not declare a canonical URL, this field is absent.
227
+ */
228
+ userCanonical?: string | null;
229
+ /**
230
+ * High level verdict about whether the URL *is* indexed (indexed status), or *can be* indexed (live inspection).
231
+ */
232
+ verdict?: string | null;
233
+ }
234
+ /**
235
+ * Index inspection request.
236
+ */
237
+ export interface Schema$InspectUrlIndexRequest {
238
+ /**
239
+ * Required. URL to inspect. Must be under the property specified in "site_url".
240
+ */
241
+ inspectionUrl?: string | null;
242
+ /**
243
+ * Optional. An [IETF BCP-47](https://en.wikipedia.org/wiki/IETF_language_tag) language code representing the requested language for translated issue messages, e.g. "en-US", "or "de-CH". Default value is "en-US".
244
+ */
245
+ languageCode?: string | null;
246
+ /**
247
+ * Required. The URL of the property as defined in Search Console. **Examples:** `http://www.example.com/` for a URL-prefix property, or `sc-domain:example.com` for a Domain property.
248
+ */
249
+ siteUrl?: string | null;
250
+ }
251
+ /**
252
+ * Index-Status inspection response.
253
+ */
254
+ export interface Schema$InspectUrlIndexResponse {
255
+ /**
256
+ * URL inspection results.
257
+ */
258
+ inspectionResult?: Schema$UrlInspectionResult;
259
+ }
260
+ /**
261
+ * A specific rich result found on the page.
262
+ */
263
+ export interface Schema$Item {
264
+ /**
265
+ * A list of zero or more rich result issues found for this instance.
266
+ */
267
+ issues?: Schema$RichResultsIssue[];
268
+ /**
269
+ * The user-provided name of this item.
270
+ */
271
+ name?: string | null;
272
+ }
121
273
  /**
122
274
  * Mobile-friendly issue.
123
275
  */
@@ -127,6 +279,36 @@ export declare namespace searchconsole_v1 {
127
279
  */
128
280
  rule?: string | null;
129
281
  }
282
+ /**
283
+ * Mobile-usability inspection results.
284
+ */
285
+ export interface Schema$MobileUsabilityInspectionResult {
286
+ /**
287
+ * A list of zero or more mobile-usability issues detected for this URL.
288
+ */
289
+ issues?: Schema$MobileUsabilityIssue[];
290
+ /**
291
+ * High-level mobile-usability inspection result for this URL.
292
+ */
293
+ verdict?: string | null;
294
+ }
295
+ /**
296
+ * Mobile-usability issue.
297
+ */
298
+ export interface Schema$MobileUsabilityIssue {
299
+ /**
300
+ * Mobile-usability issue type.
301
+ */
302
+ issueType?: string | null;
303
+ /**
304
+ * Additional information regarding the issue.
305
+ */
306
+ message?: string | null;
307
+ /**
308
+ * Not returned; reserved for future use.
309
+ */
310
+ severity?: string | null;
311
+ }
130
312
  /**
131
313
  * Information about a resource with issue.
132
314
  */
@@ -136,6 +318,32 @@ export declare namespace searchconsole_v1 {
136
318
  */
137
319
  blockedResource?: Schema$BlockedResource;
138
320
  }
321
+ /**
322
+ * Rich-Results inspection result, including any rich results found at this URL.
323
+ */
324
+ export interface Schema$RichResultsInspectionResult {
325
+ /**
326
+ * A list of zero or more rich results detected on this page. Rich results that cannot even be parsed due to syntactic issues will not be listed here.
327
+ */
328
+ detectedItems?: Schema$DetectedItems[];
329
+ /**
330
+ * High-level rich results inspection result for this URL.
331
+ */
332
+ verdict?: string | null;
333
+ }
334
+ /**
335
+ * Severity and status of a single issue affecting a single rich result instance on a page.
336
+ */
337
+ export interface Schema$RichResultsIssue {
338
+ /**
339
+ * Rich Results issue type.
340
+ */
341
+ issueMessage?: string | null;
342
+ /**
343
+ * Severity of this issue: WARNING, or ERROR. Items with an issue of status ERROR cannot appear with rich result features in Google Search results.
344
+ */
345
+ severity?: string | null;
346
+ }
139
347
  /**
140
348
  * Mobile-friendly test request.
141
349
  */
@@ -260,6 +468,31 @@ export declare namespace searchconsole_v1 {
260
468
  */
261
469
  status?: string | null;
262
470
  }
471
+ /**
472
+ * URL inspection result, including all inspection results.
473
+ */
474
+ export interface Schema$UrlInspectionResult {
475
+ /**
476
+ * Result of the AMP analysis. Absent if the page is not an AMP page.
477
+ */
478
+ ampResult?: Schema$AmpInspectionResult;
479
+ /**
480
+ * Result of the index status analysis.
481
+ */
482
+ indexStatusResult?: Schema$IndexStatusInspectionResult;
483
+ /**
484
+ * Link to Search Console URL inspection.
485
+ */
486
+ inspectionResultLink?: string | null;
487
+ /**
488
+ * Result of the Mobile usability analysis.
489
+ */
490
+ mobileUsabilityResult?: Schema$MobileUsabilityInspectionResult;
491
+ /**
492
+ * Result of the Rich Results analysis. Absent if there are no rich results found.
493
+ */
494
+ richResultsResult?: Schema$RichResultsInspectionResult;
495
+ }
263
496
  /**
264
497
  * Contains permission level information about a Search Console site. For more information, see [Permissions in Search Console](https://support.google.com/webmasters/answer/2451999).
265
498
  */
@@ -426,7 +659,7 @@ export declare namespace searchconsole_v1 {
426
659
  context: APIRequestContext;
427
660
  constructor(context: APIRequestContext);
428
661
  /**
429
- * Deletes a sitemap from this site.
662
+ * Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap.
430
663
  * @example
431
664
  * ```js
432
665
  * // Before running the sample:
@@ -944,6 +1177,87 @@ export declare namespace searchconsole_v1 {
944
1177
  }
945
1178
  export interface Params$Resource$Sites$List extends StandardParameters {
946
1179
  }
1180
+ export class Resource$Urlinspection {
1181
+ context: APIRequestContext;
1182
+ index: Resource$Urlinspection$Index;
1183
+ constructor(context: APIRequestContext);
1184
+ }
1185
+ export class Resource$Urlinspection$Index {
1186
+ context: APIRequestContext;
1187
+ constructor(context: APIRequestContext);
1188
+ /**
1189
+ * Index inspection.
1190
+ * @example
1191
+ * ```js
1192
+ * // Before running the sample:
1193
+ * // - Enable the API at:
1194
+ * // https://console.developers.google.com/apis/api/searchconsole.googleapis.com
1195
+ * // - Login into gcloud by running:
1196
+ * // `$ gcloud auth application-default login`
1197
+ * // - Install the npm module by running:
1198
+ * // `$ npm install googleapis`
1199
+ *
1200
+ * const {google} = require('googleapis');
1201
+ * const searchconsole = google.searchconsole('v1');
1202
+ *
1203
+ * async function main() {
1204
+ * const auth = new google.auth.GoogleAuth({
1205
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1206
+ * scopes: [
1207
+ * 'https://www.googleapis.com/auth/webmasters',
1208
+ * 'https://www.googleapis.com/auth/webmasters.readonly',
1209
+ * ],
1210
+ * });
1211
+ *
1212
+ * // Acquire an auth client, and bind it to all future calls
1213
+ * const authClient = await auth.getClient();
1214
+ * google.options({auth: authClient});
1215
+ *
1216
+ * // Do the magic
1217
+ * const res = await searchconsole.urlInspection.index.inspect({
1218
+ * // Request body metadata
1219
+ * requestBody: {
1220
+ * // request body parameters
1221
+ * // {
1222
+ * // "inspectionUrl": "my_inspectionUrl",
1223
+ * // "languageCode": "my_languageCode",
1224
+ * // "siteUrl": "my_siteUrl"
1225
+ * // }
1226
+ * },
1227
+ * });
1228
+ * console.log(res.data);
1229
+ *
1230
+ * // Example response
1231
+ * // {
1232
+ * // "inspectionResult": {}
1233
+ * // }
1234
+ * }
1235
+ *
1236
+ * main().catch(e => {
1237
+ * console.error(e);
1238
+ * throw e;
1239
+ * });
1240
+ *
1241
+ * ```
1242
+ *
1243
+ * @param params - Parameters for request
1244
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1245
+ * @param callback - Optional callback that handles the response.
1246
+ * @returns A promise if used with async/await, or void if used with a callback.
1247
+ */
1248
+ inspect(params: Params$Resource$Urlinspection$Index$Inspect, options: StreamMethodOptions): GaxiosPromise<Readable>;
1249
+ inspect(params?: Params$Resource$Urlinspection$Index$Inspect, options?: MethodOptions): GaxiosPromise<Schema$InspectUrlIndexResponse>;
1250
+ inspect(params: Params$Resource$Urlinspection$Index$Inspect, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1251
+ inspect(params: Params$Resource$Urlinspection$Index$Inspect, options: MethodOptions | BodyResponseCallback<Schema$InspectUrlIndexResponse>, callback: BodyResponseCallback<Schema$InspectUrlIndexResponse>): void;
1252
+ inspect(params: Params$Resource$Urlinspection$Index$Inspect, callback: BodyResponseCallback<Schema$InspectUrlIndexResponse>): void;
1253
+ inspect(callback: BodyResponseCallback<Schema$InspectUrlIndexResponse>): void;
1254
+ }
1255
+ export interface Params$Resource$Urlinspection$Index$Inspect extends StandardParameters {
1256
+ /**
1257
+ * Request body metadata
1258
+ */
1259
+ requestBody?: Schema$InspectUrlIndexRequest;
1260
+ }
947
1261
  export class Resource$Urltestingtools {
948
1262
  context: APIRequestContext;
949
1263
  mobileFriendlyTest: Resource$Urltestingtools$Mobilefriendlytest;
package/build/v1.js CHANGED
@@ -13,7 +13,6 @@
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
- /* eslint-disable @typescript-eslint/class-name-casing */
17
16
  /* eslint-disable @typescript-eslint/no-unused-vars */
18
17
  /* eslint-disable @typescript-eslint/no-empty-interface */
19
18
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -41,6 +40,7 @@ var searchconsole_v1;
41
40
  this.searchanalytics = new Resource$Searchanalytics(this.context);
42
41
  this.sitemaps = new Resource$Sitemaps(this.context);
43
42
  this.sites = new Resource$Sites(this.context);
43
+ this.urlInspection = new Resource$Urlinspection(this.context);
44
44
  this.urlTestingTools = new Resource$Urltestingtools(this.context);
45
45
  }
46
46
  }
@@ -334,6 +334,50 @@ var searchconsole_v1;
334
334
  }
335
335
  }
336
336
  searchconsole_v1.Resource$Sites = Resource$Sites;
337
+ class Resource$Urlinspection {
338
+ constructor(context) {
339
+ this.context = context;
340
+ this.index = new Resource$Urlinspection$Index(this.context);
341
+ }
342
+ }
343
+ searchconsole_v1.Resource$Urlinspection = Resource$Urlinspection;
344
+ class Resource$Urlinspection$Index {
345
+ constructor(context) {
346
+ this.context = context;
347
+ }
348
+ inspect(paramsOrCallback, optionsOrCallback, callback) {
349
+ let params = (paramsOrCallback ||
350
+ {});
351
+ let options = (optionsOrCallback || {});
352
+ if (typeof paramsOrCallback === 'function') {
353
+ callback = paramsOrCallback;
354
+ params = {};
355
+ options = {};
356
+ }
357
+ if (typeof optionsOrCallback === 'function') {
358
+ callback = optionsOrCallback;
359
+ options = {};
360
+ }
361
+ const rootUrl = options.rootUrl || 'https://searchconsole.googleapis.com/';
362
+ const parameters = {
363
+ options: Object.assign({
364
+ url: (rootUrl + '/v1/urlInspection/index:inspect').replace(/([^:]\/)\/+/g, '$1'),
365
+ method: 'POST',
366
+ }, options),
367
+ params,
368
+ requiredParams: [],
369
+ pathParams: [],
370
+ context: this.context,
371
+ };
372
+ if (callback) {
373
+ googleapis_common_1.createAPIRequest(parameters, callback);
374
+ }
375
+ else {
376
+ return googleapis_common_1.createAPIRequest(parameters);
377
+ }
378
+ }
379
+ }
380
+ searchconsole_v1.Resource$Urlinspection$Index = Resource$Urlinspection$Index;
337
381
  class Resource$Urltestingtools {
338
382
  constructor(context) {
339
383
  this.context = context;
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,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,gBAAgB,CAuxDhC;AAvxDD,WAAiB,gBAAgB;IAgE/B;;;;;;;;;;OAUG;IACH,MAAa,aAAa;QAOxB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,eAAe,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClE,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACpD,IAAI,CAAC,KAAK,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC9C,IAAI,CAAC,eAAe,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpE,CAAC;KACF;IAlBY,8BAAa,gBAkBzB,CAAA;IAoQD,MAAa,wBAAwB;QAEnC,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;QAoGD,K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U,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CACH,OAAO,GAAG,4CAA4C,CACvD,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBAC/B,MAAM,EAAE,MAAM;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,oCAAgB,CACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,oCAAgB,CACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAzJY,4DAA2C,8CAyJvD,CAAA;AASH,CAAC,EA5qEgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA4qEhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/searchconsole",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "searchconsole",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
36
  "gts": "^2.0.0",
37
37
  "null-loader": "^4.0.0",
38
- "ts-loader": "^8.0.0",
38
+ "ts-loader": "^9.0.0",
39
39
  "typescript": "~3.7.0",
40
40
  "webpack": "^5.0.0",
41
41
  "webpack-cli": "^4.0.0"
package/v1.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  // limitations under the License.
13
13
 
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
- /* eslint-disable @typescript-eslint/class-name-casing */
16
15
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
16
  /* eslint-disable @typescript-eslint/no-empty-interface */
18
17
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -116,6 +115,7 @@ export namespace searchconsole_v1 {
116
115
  searchanalytics: Resource$Searchanalytics;
117
116
  sitemaps: Resource$Sitemaps;
118
117
  sites: Resource$Sites;
118
+ urlInspection: Resource$Urlinspection;
119
119
  urlTestingTools: Resource$Urltestingtools;
120
120
 
121
121
  constructor(options: GlobalOptions, google?: GoogleConfigurable) {
@@ -127,10 +127,61 @@ export namespace searchconsole_v1 {
127
127
  this.searchanalytics = new Resource$Searchanalytics(this.context);
128
128
  this.sitemaps = new Resource$Sitemaps(this.context);
129
129
  this.sites = new Resource$Sites(this.context);
130
+ this.urlInspection = new Resource$Urlinspection(this.context);
130
131
  this.urlTestingTools = new Resource$Urltestingtools(this.context);
131
132
  }
132
133
  }
133
134
 
135
+ /**
136
+ * AMP inspection result of the live page or the current information from Google's index, depending on whether you requested a live inspection or not.
137
+ */
138
+ export interface Schema$AmpInspectionResult {
139
+ /**
140
+ * Index status of the AMP URL.
141
+ */
142
+ ampIndexStatusVerdict?: string | null;
143
+ /**
144
+ * URL of the AMP that was inspected. If the submitted URL is a desktop page that refers to an AMP version, the AMP version will be inspected.
145
+ */
146
+ ampUrl?: string | null;
147
+ /**
148
+ * Whether or not the page blocks indexing through a noindex rule.
149
+ */
150
+ indexingState?: string | null;
151
+ /**
152
+ * A list of zero or more AMP issues found for the inspected URL.
153
+ */
154
+ issues?: Schema$AmpIssue[];
155
+ /**
156
+ * Last time this AMP version was crawled by Google. Absent if the URL was never crawled successfully.
157
+ */
158
+ lastCrawlTime?: string | null;
159
+ /**
160
+ * Whether or not Google could fetch the AMP.
161
+ */
162
+ pageFetchState?: string | null;
163
+ /**
164
+ * Whether or not the page is blocked to Google by a robots.txt rule.
165
+ */
166
+ robotsTxtState?: string | null;
167
+ /**
168
+ * The status of the most severe error on the page. If a page has both warnings and errors, the page status is error. Error status means the page cannot be shown in Search results.
169
+ */
170
+ verdict?: string | null;
171
+ }
172
+ /**
173
+ * AMP issue.
174
+ */
175
+ export interface Schema$AmpIssue {
176
+ /**
177
+ * Brief description of this issue.
178
+ */
179
+ issueMessage?: string | null;
180
+ /**
181
+ * Severity of this issue: WARNING or ERROR.
182
+ */
183
+ severity?: string | null;
184
+ }
134
185
  export interface Schema$ApiDataRow {
135
186
  clicks?: number | null;
136
187
  ctr?: number | null;
@@ -162,6 +213,19 @@ export namespace searchconsole_v1 {
162
213
  */
163
214
  url?: string | null;
164
215
  }
216
+ /**
217
+ * Rich Results items grouped by type.
218
+ */
219
+ export interface Schema$DetectedItems {
220
+ /**
221
+ * List of Rich Results items.
222
+ */
223
+ items?: Schema$Item[];
224
+ /**
225
+ * Rich Results type
226
+ */
227
+ richResultType?: string | null;
228
+ }
165
229
  /**
166
230
  * Describe image data.
167
231
  */
@@ -175,6 +239,94 @@ export namespace searchconsole_v1 {
175
239
  */
176
240
  mimeType?: string | null;
177
241
  }
242
+ /**
243
+ * Results of index status inspection for either the live page or the version in Google's index, depending on whether you requested a live inspection or not. For more information, see the [Index coverage report documentation](https://support.google.com/webmasters/answer/7440203).
244
+ */
245
+ export interface Schema$IndexStatusInspectionResult {
246
+ /**
247
+ * Could Google find and index the page. More details about page indexing appear in 'indexing_state'.
248
+ */
249
+ coverageState?: string | null;
250
+ /**
251
+ * Primary crawler that was used by Google to crawl your site.
252
+ */
253
+ crawledAs?: string | null;
254
+ /**
255
+ * The URL of the page that Google selected as canonical. If the page was not indexed, this field is absent.
256
+ */
257
+ googleCanonical?: string | null;
258
+ /**
259
+ * Whether or not the page blocks indexing through a noindex rule.
260
+ */
261
+ indexingState?: string | null;
262
+ /**
263
+ * Last time this URL was crawled by Google using the [primary crawler](https://support.google.com/webmasters/answer/7440203#primary_crawler). Absent if the URL was never crawled successfully.
264
+ */
265
+ lastCrawlTime?: string | null;
266
+ /**
267
+ * Whether or not Google could retrieve the page from your server. Equivalent to ["page fetch"](https://support.google.com/webmasters/answer/9012289#index_coverage) in the URL inspection report.
268
+ */
269
+ pageFetchState?: string | null;
270
+ /**
271
+ * URLs that link to the inspected URL, directly and indirectly.
272
+ */
273
+ referringUrls?: string[] | null;
274
+ /**
275
+ * Whether or not the page is blocked to Google by a robots.txt rule.
276
+ */
277
+ robotsTxtState?: string | null;
278
+ /**
279
+ * Any sitemaps that this URL was listed in, as known by Google. Not guaranteed to be an exhaustive list, especially if Google did not discover this URL through a sitemap. Absent if no sitemaps were found.
280
+ */
281
+ sitemap?: string[] | null;
282
+ /**
283
+ * The URL that your page or site [declares as canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls?#define-canonical). If you did not declare a canonical URL, this field is absent.
284
+ */
285
+ userCanonical?: string | null;
286
+ /**
287
+ * High level verdict about whether the URL *is* indexed (indexed status), or *can be* indexed (live inspection).
288
+ */
289
+ verdict?: string | null;
290
+ }
291
+ /**
292
+ * Index inspection request.
293
+ */
294
+ export interface Schema$InspectUrlIndexRequest {
295
+ /**
296
+ * Required. URL to inspect. Must be under the property specified in "site_url".
297
+ */
298
+ inspectionUrl?: string | null;
299
+ /**
300
+ * Optional. An [IETF BCP-47](https://en.wikipedia.org/wiki/IETF_language_tag) language code representing the requested language for translated issue messages, e.g. "en-US", "or "de-CH". Default value is "en-US".
301
+ */
302
+ languageCode?: string | null;
303
+ /**
304
+ * Required. The URL of the property as defined in Search Console. **Examples:** `http://www.example.com/` for a URL-prefix property, or `sc-domain:example.com` for a Domain property.
305
+ */
306
+ siteUrl?: string | null;
307
+ }
308
+ /**
309
+ * Index-Status inspection response.
310
+ */
311
+ export interface Schema$InspectUrlIndexResponse {
312
+ /**
313
+ * URL inspection results.
314
+ */
315
+ inspectionResult?: Schema$UrlInspectionResult;
316
+ }
317
+ /**
318
+ * A specific rich result found on the page.
319
+ */
320
+ export interface Schema$Item {
321
+ /**
322
+ * A list of zero or more rich result issues found for this instance.
323
+ */
324
+ issues?: Schema$RichResultsIssue[];
325
+ /**
326
+ * The user-provided name of this item.
327
+ */
328
+ name?: string | null;
329
+ }
178
330
  /**
179
331
  * Mobile-friendly issue.
180
332
  */
@@ -184,6 +336,36 @@ export namespace searchconsole_v1 {
184
336
  */
185
337
  rule?: string | null;
186
338
  }
339
+ /**
340
+ * Mobile-usability inspection results.
341
+ */
342
+ export interface Schema$MobileUsabilityInspectionResult {
343
+ /**
344
+ * A list of zero or more mobile-usability issues detected for this URL.
345
+ */
346
+ issues?: Schema$MobileUsabilityIssue[];
347
+ /**
348
+ * High-level mobile-usability inspection result for this URL.
349
+ */
350
+ verdict?: string | null;
351
+ }
352
+ /**
353
+ * Mobile-usability issue.
354
+ */
355
+ export interface Schema$MobileUsabilityIssue {
356
+ /**
357
+ * Mobile-usability issue type.
358
+ */
359
+ issueType?: string | null;
360
+ /**
361
+ * Additional information regarding the issue.
362
+ */
363
+ message?: string | null;
364
+ /**
365
+ * Not returned; reserved for future use.
366
+ */
367
+ severity?: string | null;
368
+ }
187
369
  /**
188
370
  * Information about a resource with issue.
189
371
  */
@@ -193,6 +375,32 @@ export namespace searchconsole_v1 {
193
375
  */
194
376
  blockedResource?: Schema$BlockedResource;
195
377
  }
378
+ /**
379
+ * Rich-Results inspection result, including any rich results found at this URL.
380
+ */
381
+ export interface Schema$RichResultsInspectionResult {
382
+ /**
383
+ * A list of zero or more rich results detected on this page. Rich results that cannot even be parsed due to syntactic issues will not be listed here.
384
+ */
385
+ detectedItems?: Schema$DetectedItems[];
386
+ /**
387
+ * High-level rich results inspection result for this URL.
388
+ */
389
+ verdict?: string | null;
390
+ }
391
+ /**
392
+ * Severity and status of a single issue affecting a single rich result instance on a page.
393
+ */
394
+ export interface Schema$RichResultsIssue {
395
+ /**
396
+ * Rich Results issue type.
397
+ */
398
+ issueMessage?: string | null;
399
+ /**
400
+ * Severity of this issue: WARNING, or ERROR. Items with an issue of status ERROR cannot appear with rich result features in Google Search results.
401
+ */
402
+ severity?: string | null;
403
+ }
196
404
  /**
197
405
  * Mobile-friendly test request.
198
406
  */
@@ -317,6 +525,31 @@ export namespace searchconsole_v1 {
317
525
  */
318
526
  status?: string | null;
319
527
  }
528
+ /**
529
+ * URL inspection result, including all inspection results.
530
+ */
531
+ export interface Schema$UrlInspectionResult {
532
+ /**
533
+ * Result of the AMP analysis. Absent if the page is not an AMP page.
534
+ */
535
+ ampResult?: Schema$AmpInspectionResult;
536
+ /**
537
+ * Result of the index status analysis.
538
+ */
539
+ indexStatusResult?: Schema$IndexStatusInspectionResult;
540
+ /**
541
+ * Link to Search Console URL inspection.
542
+ */
543
+ inspectionResultLink?: string | null;
544
+ /**
545
+ * Result of the Mobile usability analysis.
546
+ */
547
+ mobileUsabilityResult?: Schema$MobileUsabilityInspectionResult;
548
+ /**
549
+ * Result of the Rich Results analysis. Absent if there are no rich results found.
550
+ */
551
+ richResultsResult?: Schema$RichResultsInspectionResult;
552
+ }
320
553
  /**
321
554
  * Contains permission level information about a Search Console site. For more information, see [Permissions in Search Console](https://support.google.com/webmasters/answer/2451999).
322
555
  */
@@ -575,7 +808,7 @@ export namespace searchconsole_v1 {
575
808
  }
576
809
 
577
810
  /**
578
- * Deletes a sitemap from this site.
811
+ * Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap.
579
812
  * @example
580
813
  * ```js
581
814
  * // Before running the sample:
@@ -1678,6 +1911,177 @@ export namespace searchconsole_v1 {
1678
1911
  }
1679
1912
  export interface Params$Resource$Sites$List extends StandardParameters {}
1680
1913
 
1914
+ export class Resource$Urlinspection {
1915
+ context: APIRequestContext;
1916
+ index: Resource$Urlinspection$Index;
1917
+ constructor(context: APIRequestContext) {
1918
+ this.context = context;
1919
+ this.index = new Resource$Urlinspection$Index(this.context);
1920
+ }
1921
+ }
1922
+
1923
+ export class Resource$Urlinspection$Index {
1924
+ context: APIRequestContext;
1925
+ constructor(context: APIRequestContext) {
1926
+ this.context = context;
1927
+ }
1928
+
1929
+ /**
1930
+ * Index inspection.
1931
+ * @example
1932
+ * ```js
1933
+ * // Before running the sample:
1934
+ * // - Enable the API at:
1935
+ * // https://console.developers.google.com/apis/api/searchconsole.googleapis.com
1936
+ * // - Login into gcloud by running:
1937
+ * // `$ gcloud auth application-default login`
1938
+ * // - Install the npm module by running:
1939
+ * // `$ npm install googleapis`
1940
+ *
1941
+ * const {google} = require('googleapis');
1942
+ * const searchconsole = google.searchconsole('v1');
1943
+ *
1944
+ * async function main() {
1945
+ * const auth = new google.auth.GoogleAuth({
1946
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1947
+ * scopes: [
1948
+ * 'https://www.googleapis.com/auth/webmasters',
1949
+ * 'https://www.googleapis.com/auth/webmasters.readonly',
1950
+ * ],
1951
+ * });
1952
+ *
1953
+ * // Acquire an auth client, and bind it to all future calls
1954
+ * const authClient = await auth.getClient();
1955
+ * google.options({auth: authClient});
1956
+ *
1957
+ * // Do the magic
1958
+ * const res = await searchconsole.urlInspection.index.inspect({
1959
+ * // Request body metadata
1960
+ * requestBody: {
1961
+ * // request body parameters
1962
+ * // {
1963
+ * // "inspectionUrl": "my_inspectionUrl",
1964
+ * // "languageCode": "my_languageCode",
1965
+ * // "siteUrl": "my_siteUrl"
1966
+ * // }
1967
+ * },
1968
+ * });
1969
+ * console.log(res.data);
1970
+ *
1971
+ * // Example response
1972
+ * // {
1973
+ * // "inspectionResult": {}
1974
+ * // }
1975
+ * }
1976
+ *
1977
+ * main().catch(e => {
1978
+ * console.error(e);
1979
+ * throw e;
1980
+ * });
1981
+ *
1982
+ * ```
1983
+ *
1984
+ * @param params - Parameters for request
1985
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1986
+ * @param callback - Optional callback that handles the response.
1987
+ * @returns A promise if used with async/await, or void if used with a callback.
1988
+ */
1989
+ inspect(
1990
+ params: Params$Resource$Urlinspection$Index$Inspect,
1991
+ options: StreamMethodOptions
1992
+ ): GaxiosPromise<Readable>;
1993
+ inspect(
1994
+ params?: Params$Resource$Urlinspection$Index$Inspect,
1995
+ options?: MethodOptions
1996
+ ): GaxiosPromise<Schema$InspectUrlIndexResponse>;
1997
+ inspect(
1998
+ params: Params$Resource$Urlinspection$Index$Inspect,
1999
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2000
+ callback: BodyResponseCallback<Readable>
2001
+ ): void;
2002
+ inspect(
2003
+ params: Params$Resource$Urlinspection$Index$Inspect,
2004
+ options:
2005
+ | MethodOptions
2006
+ | BodyResponseCallback<Schema$InspectUrlIndexResponse>,
2007
+ callback: BodyResponseCallback<Schema$InspectUrlIndexResponse>
2008
+ ): void;
2009
+ inspect(
2010
+ params: Params$Resource$Urlinspection$Index$Inspect,
2011
+ callback: BodyResponseCallback<Schema$InspectUrlIndexResponse>
2012
+ ): void;
2013
+ inspect(
2014
+ callback: BodyResponseCallback<Schema$InspectUrlIndexResponse>
2015
+ ): void;
2016
+ inspect(
2017
+ paramsOrCallback?:
2018
+ | Params$Resource$Urlinspection$Index$Inspect
2019
+ | BodyResponseCallback<Schema$InspectUrlIndexResponse>
2020
+ | BodyResponseCallback<Readable>,
2021
+ optionsOrCallback?:
2022
+ | MethodOptions
2023
+ | StreamMethodOptions
2024
+ | BodyResponseCallback<Schema$InspectUrlIndexResponse>
2025
+ | BodyResponseCallback<Readable>,
2026
+ callback?:
2027
+ | BodyResponseCallback<Schema$InspectUrlIndexResponse>
2028
+ | BodyResponseCallback<Readable>
2029
+ ):
2030
+ | void
2031
+ | GaxiosPromise<Schema$InspectUrlIndexResponse>
2032
+ | GaxiosPromise<Readable> {
2033
+ let params = (paramsOrCallback ||
2034
+ {}) as Params$Resource$Urlinspection$Index$Inspect;
2035
+ let options = (optionsOrCallback || {}) as MethodOptions;
2036
+
2037
+ if (typeof paramsOrCallback === 'function') {
2038
+ callback = paramsOrCallback;
2039
+ params = {} as Params$Resource$Urlinspection$Index$Inspect;
2040
+ options = {};
2041
+ }
2042
+
2043
+ if (typeof optionsOrCallback === 'function') {
2044
+ callback = optionsOrCallback;
2045
+ options = {};
2046
+ }
2047
+
2048
+ const rootUrl =
2049
+ options.rootUrl || 'https://searchconsole.googleapis.com/';
2050
+ const parameters = {
2051
+ options: Object.assign(
2052
+ {
2053
+ url: (rootUrl + '/v1/urlInspection/index:inspect').replace(
2054
+ /([^:]\/)\/+/g,
2055
+ '$1'
2056
+ ),
2057
+ method: 'POST',
2058
+ },
2059
+ options
2060
+ ),
2061
+ params,
2062
+ requiredParams: [],
2063
+ pathParams: [],
2064
+ context: this.context,
2065
+ };
2066
+ if (callback) {
2067
+ createAPIRequest<Schema$InspectUrlIndexResponse>(
2068
+ parameters,
2069
+ callback as BodyResponseCallback<unknown>
2070
+ );
2071
+ } else {
2072
+ return createAPIRequest<Schema$InspectUrlIndexResponse>(parameters);
2073
+ }
2074
+ }
2075
+ }
2076
+
2077
+ export interface Params$Resource$Urlinspection$Index$Inspect
2078
+ extends StandardParameters {
2079
+ /**
2080
+ * Request body metadata
2081
+ */
2082
+ requestBody?: Schema$InspectUrlIndexRequest;
2083
+ }
2084
+
1681
2085
  export class Resource$Urltestingtools {
1682
2086
  context: APIRequestContext;
1683
2087
  mobileFriendlyTest: Resource$Urltestingtools$Mobilefriendlytest;