@google-cloud/apikeys 2.2.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,8 +8,7 @@
8
8
  "java_multiple_files": true,
9
9
  "java_outer_classname": "LaunchStageProto",
10
10
  "java_package": "com.google.api",
11
- "objc_class_prefix": "GAPI",
12
- "cc_enable_arenas": true
11
+ "objc_class_prefix": "GAPI"
13
12
  },
14
13
  "nested": {
15
14
  "apikeys": {
@@ -773,6 +772,10 @@
773
772
  "rule": "repeated",
774
773
  "type": "ClientLibraryDestination",
775
774
  "id": 2
775
+ },
776
+ "selectiveGapicGeneration": {
777
+ "type": "SelectiveGapicGeneration",
778
+ "id": 3
776
779
  }
777
780
  }
778
781
  },
@@ -913,6 +916,28 @@
913
916
  "common": {
914
917
  "type": "CommonLanguageSettings",
915
918
  "id": 1
919
+ },
920
+ "experimentalFeatures": {
921
+ "type": "ExperimentalFeatures",
922
+ "id": 2
923
+ }
924
+ },
925
+ "nested": {
926
+ "ExperimentalFeatures": {
927
+ "fields": {
928
+ "restAsyncIoEnabled": {
929
+ "type": "bool",
930
+ "id": 1
931
+ },
932
+ "protobufPythonicTypesEnabled": {
933
+ "type": "bool",
934
+ "id": 2
935
+ },
936
+ "unversionedPackageDisabled": {
937
+ "type": "bool",
938
+ "id": 3
939
+ }
940
+ }
916
941
  }
917
942
  }
918
943
  },
@@ -970,6 +995,11 @@
970
995
  "common": {
971
996
  "type": "CommonLanguageSettings",
972
997
  "id": 1
998
+ },
999
+ "renamedServices": {
1000
+ "keyType": "string",
1001
+ "type": "string",
1002
+ "id": 2
973
1003
  }
974
1004
  }
975
1005
  },
@@ -1031,6 +1061,19 @@
1031
1061
  "PACKAGE_MANAGER": 20
1032
1062
  }
1033
1063
  },
1064
+ "SelectiveGapicGeneration": {
1065
+ "fields": {
1066
+ "methods": {
1067
+ "rule": "repeated",
1068
+ "type": "string",
1069
+ "id": 1
1070
+ },
1071
+ "generateOmittedAsInternal": {
1072
+ "type": "bool",
1073
+ "id": 2
1074
+ }
1075
+ }
1076
+ },
1034
1077
  "LaunchStage": {
1035
1078
  "values": {
1036
1079
  "LAUNCH_STAGE_UNSPECIFIED": 0,
@@ -1064,12 +1107,19 @@
1064
1107
  "type": "FileDescriptorProto",
1065
1108
  "id": 1
1066
1109
  }
1067
- }
1110
+ },
1111
+ "extensions": [
1112
+ [
1113
+ 536000000,
1114
+ 536000000
1115
+ ]
1116
+ ]
1068
1117
  },
1069
1118
  "Edition": {
1070
1119
  "edition": "proto2",
1071
1120
  "values": {
1072
1121
  "EDITION_UNKNOWN": 0,
1122
+ "EDITION_LEGACY": 900,
1073
1123
  "EDITION_PROTO2": 998,
1074
1124
  "EDITION_PROTO3": 999,
1075
1125
  "EDITION_2023": 1000,
@@ -1108,6 +1158,11 @@
1108
1158
  "type": "int32",
1109
1159
  "id": 11
1110
1160
  },
1161
+ "optionDependency": {
1162
+ "rule": "repeated",
1163
+ "type": "string",
1164
+ "id": 15
1165
+ },
1111
1166
  "messageType": {
1112
1167
  "rule": "repeated",
1113
1168
  "type": "DescriptorProto",
@@ -1196,6 +1251,10 @@
1196
1251
  "rule": "repeated",
1197
1252
  "type": "string",
1198
1253
  "id": 10
1254
+ },
1255
+ "visibility": {
1256
+ "type": "SymbolVisibility",
1257
+ "id": 11
1199
1258
  }
1200
1259
  },
1201
1260
  "nested": {
@@ -1421,6 +1480,10 @@
1421
1480
  "rule": "repeated",
1422
1481
  "type": "string",
1423
1482
  "id": 5
1483
+ },
1484
+ "visibility": {
1485
+ "type": "SymbolVisibility",
1486
+ "id": 6
1424
1487
  }
1425
1488
  },
1426
1489
  "nested": {
@@ -1471,7 +1534,14 @@
1471
1534
  "type": "ServiceOptions",
1472
1535
  "id": 3
1473
1536
  }
1474
- }
1537
+ },
1538
+ "reserved": [
1539
+ [
1540
+ 4,
1541
+ 4
1542
+ ],
1543
+ "stream"
1544
+ ]
1475
1545
  },
1476
1546
  "MethodDescriptorProto": {
1477
1547
  "edition": "proto2",
@@ -1635,6 +1705,7 @@
1635
1705
  42,
1636
1706
  42
1637
1707
  ],
1708
+ "php_generic_services",
1638
1709
  [
1639
1710
  38,
1640
1711
  38
@@ -1770,7 +1841,8 @@
1770
1841
  "type": "bool",
1771
1842
  "id": 10,
1772
1843
  "options": {
1773
- "default": false
1844
+ "default": false,
1845
+ "deprecated": true
1774
1846
  }
1775
1847
  },
1776
1848
  "debugRedact": {
@@ -1798,6 +1870,10 @@
1798
1870
  "type": "FeatureSet",
1799
1871
  "id": 21
1800
1872
  },
1873
+ "featureSupport": {
1874
+ "type": "FeatureSupport",
1875
+ "id": 22
1876
+ },
1801
1877
  "uninterpretedOption": {
1802
1878
  "rule": "repeated",
1803
1879
  "type": "UninterpretedOption",
@@ -1867,6 +1943,26 @@
1867
1943
  "id": 2
1868
1944
  }
1869
1945
  }
1946
+ },
1947
+ "FeatureSupport": {
1948
+ "fields": {
1949
+ "editionIntroduced": {
1950
+ "type": "Edition",
1951
+ "id": 1
1952
+ },
1953
+ "editionDeprecated": {
1954
+ "type": "Edition",
1955
+ "id": 2
1956
+ },
1957
+ "deprecationWarning": {
1958
+ "type": "string",
1959
+ "id": 3
1960
+ },
1961
+ "editionRemoved": {
1962
+ "type": "Edition",
1963
+ "id": 4
1964
+ }
1965
+ }
1870
1966
  }
1871
1967
  }
1872
1968
  },
@@ -1955,6 +2051,10 @@
1955
2051
  "default": false
1956
2052
  }
1957
2053
  },
2054
+ "featureSupport": {
2055
+ "type": "FieldOptions.FeatureSupport",
2056
+ "id": 4
2057
+ },
1958
2058
  "uninterpretedOption": {
1959
2059
  "rule": "repeated",
1960
2060
  "type": "UninterpretedOption",
@@ -2097,6 +2197,7 @@
2097
2197
  "options": {
2098
2198
  "retention": "RETENTION_RUNTIME",
2099
2199
  "targets": "TARGET_TYPE_FILE",
2200
+ "feature_support.edition_introduced": "EDITION_2023",
2100
2201
  "edition_defaults.edition": "EDITION_2023",
2101
2202
  "edition_defaults.value": "EXPLICIT"
2102
2203
  }
@@ -2107,6 +2208,7 @@
2107
2208
  "options": {
2108
2209
  "retention": "RETENTION_RUNTIME",
2109
2210
  "targets": "TARGET_TYPE_FILE",
2211
+ "feature_support.edition_introduced": "EDITION_2023",
2110
2212
  "edition_defaults.edition": "EDITION_PROTO3",
2111
2213
  "edition_defaults.value": "OPEN"
2112
2214
  }
@@ -2117,6 +2219,7 @@
2117
2219
  "options": {
2118
2220
  "retention": "RETENTION_RUNTIME",
2119
2221
  "targets": "TARGET_TYPE_FILE",
2222
+ "feature_support.edition_introduced": "EDITION_2023",
2120
2223
  "edition_defaults.edition": "EDITION_PROTO3",
2121
2224
  "edition_defaults.value": "PACKED"
2122
2225
  }
@@ -2127,6 +2230,7 @@
2127
2230
  "options": {
2128
2231
  "retention": "RETENTION_RUNTIME",
2129
2232
  "targets": "TARGET_TYPE_FILE",
2233
+ "feature_support.edition_introduced": "EDITION_2023",
2130
2234
  "edition_defaults.edition": "EDITION_PROTO3",
2131
2235
  "edition_defaults.value": "VERIFY"
2132
2236
  }
@@ -2137,7 +2241,8 @@
2137
2241
  "options": {
2138
2242
  "retention": "RETENTION_RUNTIME",
2139
2243
  "targets": "TARGET_TYPE_FILE",
2140
- "edition_defaults.edition": "EDITION_PROTO2",
2244
+ "feature_support.edition_introduced": "EDITION_2023",
2245
+ "edition_defaults.edition": "EDITION_LEGACY",
2141
2246
  "edition_defaults.value": "LENGTH_PREFIXED"
2142
2247
  }
2143
2248
  },
@@ -2147,27 +2252,38 @@
2147
2252
  "options": {
2148
2253
  "retention": "RETENTION_RUNTIME",
2149
2254
  "targets": "TARGET_TYPE_FILE",
2255
+ "feature_support.edition_introduced": "EDITION_2023",
2150
2256
  "edition_defaults.edition": "EDITION_PROTO3",
2151
2257
  "edition_defaults.value": "ALLOW"
2152
2258
  }
2259
+ },
2260
+ "enforceNamingStyle": {
2261
+ "type": "EnforceNamingStyle",
2262
+ "id": 7,
2263
+ "options": {
2264
+ "retention": "RETENTION_SOURCE",
2265
+ "targets": "TARGET_TYPE_METHOD",
2266
+ "feature_support.edition_introduced": "EDITION_2024",
2267
+ "edition_defaults.edition": "EDITION_2024",
2268
+ "edition_defaults.value": "STYLE2024"
2269
+ }
2270
+ },
2271
+ "defaultSymbolVisibility": {
2272
+ "type": "VisibilityFeature.DefaultSymbolVisibility",
2273
+ "id": 8,
2274
+ "options": {
2275
+ "retention": "RETENTION_SOURCE",
2276
+ "targets": "TARGET_TYPE_FILE",
2277
+ "feature_support.edition_introduced": "EDITION_2024",
2278
+ "edition_defaults.edition": "EDITION_2024",
2279
+ "edition_defaults.value": "EXPORT_TOP_LEVEL"
2280
+ }
2153
2281
  }
2154
2282
  },
2155
2283
  "extensions": [
2156
2284
  [
2157
2285
  1000,
2158
- 1000
2159
- ],
2160
- [
2161
- 1001,
2162
- 1001
2163
- ],
2164
- [
2165
- 1002,
2166
- 1002
2167
- ],
2168
- [
2169
- 9990,
2170
- 9990
2286
+ 9994
2171
2287
  ],
2172
2288
  [
2173
2289
  9995,
@@ -2212,7 +2328,13 @@
2212
2328
  "UTF8_VALIDATION_UNKNOWN": 0,
2213
2329
  "VERIFY": 2,
2214
2330
  "NONE": 3
2215
- }
2331
+ },
2332
+ "reserved": [
2333
+ [
2334
+ 1,
2335
+ 1
2336
+ ]
2337
+ ]
2216
2338
  },
2217
2339
  "MessageEncoding": {
2218
2340
  "values": {
@@ -2227,6 +2349,33 @@
2227
2349
  "ALLOW": 1,
2228
2350
  "LEGACY_BEST_EFFORT": 2
2229
2351
  }
2352
+ },
2353
+ "EnforceNamingStyle": {
2354
+ "values": {
2355
+ "ENFORCE_NAMING_STYLE_UNKNOWN": 0,
2356
+ "STYLE2024": 1,
2357
+ "STYLE_LEGACY": 2
2358
+ }
2359
+ },
2360
+ "VisibilityFeature": {
2361
+ "fields": {},
2362
+ "reserved": [
2363
+ [
2364
+ 1,
2365
+ 536870911
2366
+ ]
2367
+ ],
2368
+ "nested": {
2369
+ "DefaultSymbolVisibility": {
2370
+ "values": {
2371
+ "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
2372
+ "EXPORT_ALL": 1,
2373
+ "EXPORT_TOP_LEVEL": 2,
2374
+ "LOCAL_ALL": 3,
2375
+ "STRICT": 4
2376
+ }
2377
+ }
2378
+ }
2230
2379
  }
2231
2380
  }
2232
2381
  },
@@ -2254,11 +2403,26 @@
2254
2403
  "type": "Edition",
2255
2404
  "id": 3
2256
2405
  },
2257
- "features": {
2406
+ "overridableFeatures": {
2258
2407
  "type": "FeatureSet",
2259
- "id": 2
2408
+ "id": 4
2409
+ },
2410
+ "fixedFeatures": {
2411
+ "type": "FeatureSet",
2412
+ "id": 5
2260
2413
  }
2261
- }
2414
+ },
2415
+ "reserved": [
2416
+ [
2417
+ 1,
2418
+ 1
2419
+ ],
2420
+ [
2421
+ 2,
2422
+ 2
2423
+ ],
2424
+ "features"
2425
+ ]
2262
2426
  }
2263
2427
  }
2264
2428
  },
@@ -2271,6 +2435,12 @@
2271
2435
  "id": 1
2272
2436
  }
2273
2437
  },
2438
+ "extensions": [
2439
+ [
2440
+ 536000000,
2441
+ 536000000
2442
+ ]
2443
+ ],
2274
2444
  "nested": {
2275
2445
  "Location": {
2276
2446
  "fields": {
@@ -2356,6 +2526,14 @@
2356
2526
  }
2357
2527
  }
2358
2528
  },
2529
+ "SymbolVisibility": {
2530
+ "edition": "proto2",
2531
+ "values": {
2532
+ "VISIBILITY_UNSET": 0,
2533
+ "VISIBILITY_LOCAL": 1,
2534
+ "VISIBILITY_EXPORT": 2
2535
+ }
2536
+ },
2359
2537
  "Timestamp": {
2360
2538
  "fields": {
2361
2539
  "seconds": {
@@ -2414,6 +2592,7 @@
2414
2592
  "java_multiple_files": true,
2415
2593
  "java_outer_classname": "OperationsProto",
2416
2594
  "java_package": "com.google.longrunning",
2595
+ "objc_class_prefix": "GLRUN",
2417
2596
  "php_namespace": "Google\\LongRunning"
2418
2597
  },
2419
2598
  "nested": {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
2
+ // Copyright 2026 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -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