@google-cloud/apikeys 2.1.0 → 2.2.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.
@@ -644,7 +644,10 @@
644
644
  "rule": "repeated",
645
645
  "type": "google.api.FieldBehavior",
646
646
  "id": 1052,
647
- "extend": "google.protobuf.FieldOptions"
647
+ "extend": "google.protobuf.FieldOptions",
648
+ "options": {
649
+ "packed": false
650
+ }
648
651
  },
649
652
  "FieldBehavior": {
650
653
  "values": {
@@ -752,6 +755,11 @@
752
755
  "id": 1050,
753
756
  "extend": "google.protobuf.ServiceOptions"
754
757
  },
758
+ "apiVersion": {
759
+ "type": "string",
760
+ "id": 525000001,
761
+ "extend": "google.protobuf.ServiceOptions"
762
+ },
755
763
  "CommonLanguageSettings": {
756
764
  "fields": {
757
765
  "referenceDocsUri": {
@@ -860,6 +868,10 @@
860
868
  "protoReferenceDocumentationUri": {
861
869
  "type": "string",
862
870
  "id": 110
871
+ },
872
+ "restReferenceDocumentationUri": {
873
+ "type": "string",
874
+ "id": 111
863
875
  }
864
876
  }
865
877
  },
@@ -1045,6 +1057,7 @@
1045
1057
  },
1046
1058
  "nested": {
1047
1059
  "FileDescriptorSet": {
1060
+ "edition": "proto2",
1048
1061
  "fields": {
1049
1062
  "file": {
1050
1063
  "rule": "repeated",
@@ -1054,6 +1067,7 @@
1054
1067
  }
1055
1068
  },
1056
1069
  "Edition": {
1070
+ "edition": "proto2",
1057
1071
  "values": {
1058
1072
  "EDITION_UNKNOWN": 0,
1059
1073
  "EDITION_PROTO2": 998,
@@ -1069,6 +1083,7 @@
1069
1083
  }
1070
1084
  },
1071
1085
  "FileDescriptorProto": {
1086
+ "edition": "proto2",
1072
1087
  "fields": {
1073
1088
  "name": {
1074
1089
  "type": "string",
@@ -1086,18 +1101,12 @@
1086
1101
  "publicDependency": {
1087
1102
  "rule": "repeated",
1088
1103
  "type": "int32",
1089
- "id": 10,
1090
- "options": {
1091
- "packed": false
1092
- }
1104
+ "id": 10
1093
1105
  },
1094
1106
  "weakDependency": {
1095
1107
  "rule": "repeated",
1096
1108
  "type": "int32",
1097
- "id": 11,
1098
- "options": {
1099
- "packed": false
1100
- }
1109
+ "id": 11
1101
1110
  },
1102
1111
  "messageType": {
1103
1112
  "rule": "repeated",
@@ -1138,6 +1147,7 @@
1138
1147
  }
1139
1148
  },
1140
1149
  "DescriptorProto": {
1150
+ "edition": "proto2",
1141
1151
  "fields": {
1142
1152
  "name": {
1143
1153
  "type": "string",
@@ -1220,6 +1230,7 @@
1220
1230
  }
1221
1231
  },
1222
1232
  "ExtensionRangeOptions": {
1233
+ "edition": "proto2",
1223
1234
  "fields": {
1224
1235
  "uninterpretedOption": {
1225
1236
  "rule": "repeated",
@@ -1293,6 +1304,7 @@
1293
1304
  }
1294
1305
  },
1295
1306
  "FieldDescriptorProto": {
1307
+ "edition": "proto2",
1296
1308
  "fields": {
1297
1309
  "name": {
1298
1310
  "type": "string",
@@ -1372,6 +1384,7 @@
1372
1384
  }
1373
1385
  },
1374
1386
  "OneofDescriptorProto": {
1387
+ "edition": "proto2",
1375
1388
  "fields": {
1376
1389
  "name": {
1377
1390
  "type": "string",
@@ -1384,6 +1397,7 @@
1384
1397
  }
1385
1398
  },
1386
1399
  "EnumDescriptorProto": {
1400
+ "edition": "proto2",
1387
1401
  "fields": {
1388
1402
  "name": {
1389
1403
  "type": "string",
@@ -1425,6 +1439,7 @@
1425
1439
  }
1426
1440
  },
1427
1441
  "EnumValueDescriptorProto": {
1442
+ "edition": "proto2",
1428
1443
  "fields": {
1429
1444
  "name": {
1430
1445
  "type": "string",
@@ -1441,6 +1456,7 @@
1441
1456
  }
1442
1457
  },
1443
1458
  "ServiceDescriptorProto": {
1459
+ "edition": "proto2",
1444
1460
  "fields": {
1445
1461
  "name": {
1446
1462
  "type": "string",
@@ -1458,6 +1474,7 @@
1458
1474
  }
1459
1475
  },
1460
1476
  "MethodDescriptorProto": {
1477
+ "edition": "proto2",
1461
1478
  "fields": {
1462
1479
  "name": {
1463
1480
  "type": "string",
@@ -1492,6 +1509,7 @@
1492
1509
  }
1493
1510
  },
1494
1511
  "FileOptions": {
1512
+ "edition": "proto2",
1495
1513
  "fields": {
1496
1514
  "javaPackage": {
1497
1515
  "type": "string",
@@ -1633,6 +1651,7 @@
1633
1651
  }
1634
1652
  },
1635
1653
  "MessageOptions": {
1654
+ "edition": "proto2",
1636
1655
  "fields": {
1637
1656
  "messageSetWireFormat": {
1638
1657
  "type": "bool",
@@ -1706,6 +1725,7 @@
1706
1725
  ]
1707
1726
  },
1708
1727
  "FieldOptions": {
1728
+ "edition": "proto2",
1709
1729
  "fields": {
1710
1730
  "ctype": {
1711
1731
  "type": "CType",
@@ -1767,10 +1787,7 @@
1767
1787
  "targets": {
1768
1788
  "rule": "repeated",
1769
1789
  "type": "OptionTargetType",
1770
- "id": 19,
1771
- "options": {
1772
- "packed": false
1773
- }
1790
+ "id": 19
1774
1791
  },
1775
1792
  "editionDefaults": {
1776
1793
  "rule": "repeated",
@@ -1854,6 +1871,7 @@
1854
1871
  }
1855
1872
  },
1856
1873
  "OneofOptions": {
1874
+ "edition": "proto2",
1857
1875
  "fields": {
1858
1876
  "features": {
1859
1877
  "type": "FeatureSet",
@@ -1873,6 +1891,7 @@
1873
1891
  ]
1874
1892
  },
1875
1893
  "EnumOptions": {
1894
+ "edition": "proto2",
1876
1895
  "fields": {
1877
1896
  "allowAlias": {
1878
1897
  "type": "bool",
@@ -1916,6 +1935,7 @@
1916
1935
  ]
1917
1936
  },
1918
1937
  "EnumValueOptions": {
1938
+ "edition": "proto2",
1919
1939
  "fields": {
1920
1940
  "deprecated": {
1921
1941
  "type": "bool",
@@ -1949,6 +1969,7 @@
1949
1969
  ]
1950
1970
  },
1951
1971
  "ServiceOptions": {
1972
+ "edition": "proto2",
1952
1973
  "fields": {
1953
1974
  "features": {
1954
1975
  "type": "FeatureSet",
@@ -1975,6 +1996,7 @@
1975
1996
  ]
1976
1997
  },
1977
1998
  "MethodOptions": {
1999
+ "edition": "proto2",
1978
2000
  "fields": {
1979
2001
  "deprecated": {
1980
2002
  "type": "bool",
@@ -2017,6 +2039,7 @@
2017
2039
  }
2018
2040
  },
2019
2041
  "UninterpretedOption": {
2042
+ "edition": "proto2",
2020
2043
  "fields": {
2021
2044
  "name": {
2022
2045
  "rule": "repeated",
@@ -2066,6 +2089,7 @@
2066
2089
  }
2067
2090
  },
2068
2091
  "FeatureSet": {
2092
+ "edition": "proto2",
2069
2093
  "fields": {
2070
2094
  "fieldPresence": {
2071
2095
  "type": "FieldPresence",
@@ -2137,9 +2161,21 @@
2137
2161
  1001,
2138
2162
  1001
2139
2163
  ],
2164
+ [
2165
+ 1002,
2166
+ 1002
2167
+ ],
2168
+ [
2169
+ 9990,
2170
+ 9990
2171
+ ],
2140
2172
  [
2141
2173
  9995,
2142
2174
  9999
2175
+ ],
2176
+ [
2177
+ 10000,
2178
+ 10000
2143
2179
  ]
2144
2180
  ],
2145
2181
  "reserved": [
@@ -2195,6 +2231,7 @@
2195
2231
  }
2196
2232
  },
2197
2233
  "FeatureSetDefaults": {
2234
+ "edition": "proto2",
2198
2235
  "fields": {
2199
2236
  "defaults": {
2200
2237
  "rule": "repeated",
@@ -2226,6 +2263,7 @@
2226
2263
  }
2227
2264
  },
2228
2265
  "SourceCodeInfo": {
2266
+ "edition": "proto2",
2229
2267
  "fields": {
2230
2268
  "location": {
2231
2269
  "rule": "repeated",
@@ -2239,12 +2277,18 @@
2239
2277
  "path": {
2240
2278
  "rule": "repeated",
2241
2279
  "type": "int32",
2242
- "id": 1
2280
+ "id": 1,
2281
+ "options": {
2282
+ "packed": true
2283
+ }
2243
2284
  },
2244
2285
  "span": {
2245
2286
  "rule": "repeated",
2246
2287
  "type": "int32",
2247
- "id": 2
2288
+ "id": 2,
2289
+ "options": {
2290
+ "packed": true
2291
+ }
2248
2292
  },
2249
2293
  "leadingComments": {
2250
2294
  "type": "string",
@@ -2264,6 +2308,7 @@
2264
2308
  }
2265
2309
  },
2266
2310
  "GeneratedCodeInfo": {
2311
+ "edition": "proto2",
2267
2312
  "fields": {
2268
2313
  "annotation": {
2269
2314
  "rule": "repeated",
@@ -2277,7 +2322,10 @@
2277
2322
  "path": {
2278
2323
  "rule": "repeated",
2279
2324
  "type": "int32",
2280
- "id": 1
2325
+ "id": 1,
2326
+ "options": {
2327
+ "packed": true
2328
+ }
2281
2329
  },
2282
2330
  "sourceFile": {
2283
2331
  "type": "string",
@@ -386,35 +386,35 @@ export declare class ApiKeysClient {
386
386
  */
387
387
  checkUndeleteKeyProgress(name: string): Promise<LROperation<protos.google.api.apikeys.v2.Key, protos.google.protobuf.Empty>>;
388
388
  /**
389
- * Lists the API keys owned by a project. The key string of the API key
390
- * isn't included in the response.
391
- *
392
- * NOTE: Key is a global resource; hence the only supported value for
393
- * location is `global`.
394
- *
395
- * @param {Object} request
396
- * The request object that will be sent.
397
- * @param {string} request.parent
398
- * Required. Lists all API keys associated with this project.
399
- * @param {number} [request.pageSize]
400
- * Optional. Specifies the maximum number of results to be returned at a time.
401
- * @param {string} [request.pageToken]
402
- * Optional. Requests a specific page of results.
403
- * @param {boolean} [request.showDeleted]
404
- * Optional. Indicate that keys deleted in the past 30 days should also be
405
- * returned.
406
- * @param {object} [options]
407
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
408
- * @returns {Promise} - The promise which resolves to an array.
409
- * The first element of the array is Array of {@link protos.google.api.apikeys.v2.Key|Key}.
410
- * The client library will perform auto-pagination by default: it will call the API as many
411
- * times as needed and will merge results from all the pages into this array.
412
- * Note that it can affect your quota.
413
- * We recommend using `listKeysAsync()`
414
- * method described below for async iteration which you can stop as needed.
415
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
416
- * for more details and examples.
417
- */
389
+ * Lists the API keys owned by a project. The key string of the API key
390
+ * isn't included in the response.
391
+ *
392
+ * NOTE: Key is a global resource; hence the only supported value for
393
+ * location is `global`.
394
+ *
395
+ * @param {Object} request
396
+ * The request object that will be sent.
397
+ * @param {string} request.parent
398
+ * Required. Lists all API keys associated with this project.
399
+ * @param {number} [request.pageSize]
400
+ * Optional. Specifies the maximum number of results to be returned at a time.
401
+ * @param {string} [request.pageToken]
402
+ * Optional. Requests a specific page of results.
403
+ * @param {boolean} [request.showDeleted]
404
+ * Optional. Indicate that keys deleted in the past 30 days should also be
405
+ * returned.
406
+ * @param {object} [options]
407
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
408
+ * @returns {Promise} - The promise which resolves to an array.
409
+ * The first element of the array is Array of {@link protos.google.api.apikeys.v2.Key|Key}.
410
+ * The client library will perform auto-pagination by default: it will call the API as many
411
+ * times as needed and will merge results from all the pages into this array.
412
+ * Note that it can affect your quota.
413
+ * We recommend using `listKeysAsync()`
414
+ * method described below for async iteration which you can stop as needed.
415
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
416
+ * for more details and examples.
417
+ */
418
418
  listKeys(request?: protos.google.api.apikeys.v2.IListKeysRequest, options?: CallOptions): Promise<[
419
419
  protos.google.api.apikeys.v2.IKey[],
420
420
  protos.google.api.apikeys.v2.IListKeysRequest | null,
@@ -476,35 +476,35 @@ export declare class ApiKeysClient {
476
476
  */
477
477
  listKeysAsync(request?: protos.google.api.apikeys.v2.IListKeysRequest, options?: CallOptions): AsyncIterable<protos.google.api.apikeys.v2.IKey>;
478
478
  /**
479
- * Gets the latest state of a long-running operation. Clients can use this
480
- * method to poll the operation result at intervals as recommended by the API
481
- * service.
482
- *
483
- * @param {Object} request - The request object that will be sent.
484
- * @param {string} request.name - The name of the operation resource.
485
- * @param {Object=} options
486
- * Optional parameters. You can override the default settings for this call,
487
- * e.g, timeout, retries, paginations, etc. See {@link
488
- * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
489
- * for the details.
490
- * @param {function(?Error, ?Object)=} callback
491
- * The function which will be called with the result of the API call.
492
- *
493
- * The second parameter to the callback is an object representing
494
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
495
- * @return {Promise} - The promise which resolves to an array.
496
- * The first element of the array is an object representing
497
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
498
- * The promise has a method named "cancel" which cancels the ongoing API call.
499
- *
500
- * @example
501
- * ```
502
- * const client = longrunning.operationsClient();
503
- * const name = '';
504
- * const [response] = await client.getOperation({name});
505
- * // doThingsWith(response)
506
- * ```
507
- */
479
+ * Gets the latest state of a long-running operation. Clients can use this
480
+ * method to poll the operation result at intervals as recommended by the API
481
+ * service.
482
+ *
483
+ * @param {Object} request - The request object that will be sent.
484
+ * @param {string} request.name - The name of the operation resource.
485
+ * @param {Object=} options
486
+ * Optional parameters. You can override the default settings for this call,
487
+ * e.g, timeout, retries, paginations, etc. See {@link
488
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
489
+ * for the details.
490
+ * @param {function(?Error, ?Object)=} callback
491
+ * The function which will be called with the result of the API call.
492
+ *
493
+ * The second parameter to the callback is an object representing
494
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
495
+ * @return {Promise} - The promise which resolves to an array.
496
+ * The first element of the array is an object representing
497
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
498
+ * The promise has a method named "cancel" which cancels the ongoing API call.
499
+ *
500
+ * @example
501
+ * ```
502
+ * const client = longrunning.operationsClient();
503
+ * const name = '';
504
+ * const [response] = await client.getOperation({name});
505
+ * // doThingsWith(response)
506
+ * ```
507
+ */
508
508
  getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
509
509
  /**
510
510
  * Lists operations that match the specified filter in the request. If the