@googleapis/servicenetworking 21.6.0 → 22.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/v1beta.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -239,7 +239,7 @@ export namespace servicenetworking_v1beta {
239
239
  */
240
240
  kind?: string | null;
241
241
  /**
242
- * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `apiserving/configaspects/proto`.
242
+ * Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.
243
243
  */
244
244
  spec?: {[key: string]: any} | null;
245
245
  }
@@ -2060,11 +2060,11 @@ export namespace servicenetworking_v1beta {
2060
2060
  get(
2061
2061
  params: Params$Resource$Operations$Get,
2062
2062
  options: StreamMethodOptions
2063
- ): GaxiosPromise<Readable>;
2063
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2064
2064
  get(
2065
2065
  params?: Params$Resource$Operations$Get,
2066
2066
  options?: MethodOptions
2067
- ): GaxiosPromise<Schema$Operation>;
2067
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2068
2068
  get(
2069
2069
  params: Params$Resource$Operations$Get,
2070
2070
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2093,7 +2093,10 @@ export namespace servicenetworking_v1beta {
2093
2093
  callback?:
2094
2094
  | BodyResponseCallback<Schema$Operation>
2095
2095
  | BodyResponseCallback<Readable>
2096
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2096
+ ):
2097
+ | void
2098
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2099
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2097
2100
  let params = (paramsOrCallback || {}) as Params$Resource$Operations$Get;
2098
2101
  let options = (optionsOrCallback || {}) as MethodOptions;
2099
2102
 
@@ -2161,11 +2164,11 @@ export namespace servicenetworking_v1beta {
2161
2164
  addSubnetwork(
2162
2165
  params: Params$Resource$Services$Addsubnetwork,
2163
2166
  options: StreamMethodOptions
2164
- ): GaxiosPromise<Readable>;
2167
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2165
2168
  addSubnetwork(
2166
2169
  params?: Params$Resource$Services$Addsubnetwork,
2167
2170
  options?: MethodOptions
2168
- ): GaxiosPromise<Schema$Operation>;
2171
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2169
2172
  addSubnetwork(
2170
2173
  params: Params$Resource$Services$Addsubnetwork,
2171
2174
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2194,7 +2197,10 @@ export namespace servicenetworking_v1beta {
2194
2197
  callback?:
2195
2198
  | BodyResponseCallback<Schema$Operation>
2196
2199
  | BodyResponseCallback<Readable>
2197
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2200
+ ):
2201
+ | void
2202
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2203
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2198
2204
  let params = (paramsOrCallback ||
2199
2205
  {}) as Params$Resource$Services$Addsubnetwork;
2200
2206
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2250,11 +2256,11 @@ export namespace servicenetworking_v1beta {
2250
2256
  searchRange(
2251
2257
  params: Params$Resource$Services$Searchrange,
2252
2258
  options: StreamMethodOptions
2253
- ): GaxiosPromise<Readable>;
2259
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2254
2260
  searchRange(
2255
2261
  params?: Params$Resource$Services$Searchrange,
2256
2262
  options?: MethodOptions
2257
- ): GaxiosPromise<Schema$Operation>;
2263
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2258
2264
  searchRange(
2259
2265
  params: Params$Resource$Services$Searchrange,
2260
2266
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2283,7 +2289,10 @@ export namespace servicenetworking_v1beta {
2283
2289
  callback?:
2284
2290
  | BodyResponseCallback<Schema$Operation>
2285
2291
  | BodyResponseCallback<Readable>
2286
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2292
+ ):
2293
+ | void
2294
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2295
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2287
2296
  let params = (paramsOrCallback ||
2288
2297
  {}) as Params$Resource$Services$Searchrange;
2289
2298
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2339,11 +2348,11 @@ export namespace servicenetworking_v1beta {
2339
2348
  updateConnections(
2340
2349
  params: Params$Resource$Services$Updateconnections,
2341
2350
  options: StreamMethodOptions
2342
- ): GaxiosPromise<Readable>;
2351
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2343
2352
  updateConnections(
2344
2353
  params?: Params$Resource$Services$Updateconnections,
2345
2354
  options?: MethodOptions
2346
- ): GaxiosPromise<Schema$Operation>;
2355
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2347
2356
  updateConnections(
2348
2357
  params: Params$Resource$Services$Updateconnections,
2349
2358
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2372,7 +2381,10 @@ export namespace servicenetworking_v1beta {
2372
2381
  callback?:
2373
2382
  | BodyResponseCallback<Schema$Operation>
2374
2383
  | BodyResponseCallback<Readable>
2375
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2384
+ ):
2385
+ | void
2386
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2387
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2376
2388
  let params = (paramsOrCallback ||
2377
2389
  {}) as Params$Resource$Services$Updateconnections;
2378
2390
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2480,11 +2492,11 @@ export namespace servicenetworking_v1beta {
2480
2492
  create(
2481
2493
  params: Params$Resource$Services$Connections$Create,
2482
2494
  options: StreamMethodOptions
2483
- ): GaxiosPromise<Readable>;
2495
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2484
2496
  create(
2485
2497
  params?: Params$Resource$Services$Connections$Create,
2486
2498
  options?: MethodOptions
2487
- ): GaxiosPromise<Schema$Operation>;
2499
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2488
2500
  create(
2489
2501
  params: Params$Resource$Services$Connections$Create,
2490
2502
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2513,7 +2525,10 @@ export namespace servicenetworking_v1beta {
2513
2525
  callback?:
2514
2526
  | BodyResponseCallback<Schema$Operation>
2515
2527
  | BodyResponseCallback<Readable>
2516
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
2528
+ ):
2529
+ | void
2530
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2531
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2517
2532
  let params = (paramsOrCallback ||
2518
2533
  {}) as Params$Resource$Services$Connections$Create;
2519
2534
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2569,11 +2584,11 @@ export namespace servicenetworking_v1beta {
2569
2584
  list(
2570
2585
  params: Params$Resource$Services$Connections$List,
2571
2586
  options: StreamMethodOptions
2572
- ): GaxiosPromise<Readable>;
2587
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2573
2588
  list(
2574
2589
  params?: Params$Resource$Services$Connections$List,
2575
2590
  options?: MethodOptions
2576
- ): GaxiosPromise<Schema$ListConnectionsResponse>;
2591
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListConnectionsResponse>>;
2577
2592
  list(
2578
2593
  params: Params$Resource$Services$Connections$List,
2579
2594
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2606,8 +2621,8 @@ export namespace servicenetworking_v1beta {
2606
2621
  | BodyResponseCallback<Readable>
2607
2622
  ):
2608
2623
  | void
2609
- | GaxiosPromise<Schema$ListConnectionsResponse>
2610
- | GaxiosPromise<Readable> {
2624
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListConnectionsResponse>>
2625
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2611
2626
  let params = (paramsOrCallback ||
2612
2627
  {}) as Params$Resource$Services$Connections$List;
2613
2628
  let options = (optionsOrCallback || {}) as MethodOptions;