@googleapis/servicenetworking 22.0.1 → 24.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.
package/build/v1beta.d.ts CHANGED
@@ -150,6 +150,10 @@ export declare namespace servicenetworking_v1beta {
150
150
  * Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
151
151
  */
152
152
  export interface Schema$Api {
153
+ /**
154
+ * The source edition string, only valid when syntax is SYNTAX_EDITIONS.
155
+ */
156
+ edition?: string | null;
153
157
  /**
154
158
  * The methods of this interface, in unspecified order.
155
159
  */
@@ -317,6 +321,9 @@ export declare namespace servicenetworking_v1beta {
317
321
  overridesByRequestProtocol?: {
318
322
  [key: string]: Schema$BackendRule;
319
323
  } | null;
324
+ /**
325
+ * no-lint
326
+ */
320
327
  pathTranslation?: string | null;
321
328
  /**
322
329
  * The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.
@@ -327,6 +334,73 @@ export declare namespace servicenetworking_v1beta {
327
334
  */
328
335
  selector?: string | null;
329
336
  }
337
+ /**
338
+ * `BatchingConfigProto` defines the batching configuration for an API method.
339
+ */
340
+ export interface Schema$BatchingConfigProto {
341
+ /**
342
+ * The request and response fields used in batching.
343
+ */
344
+ batchDescriptor?: Schema$BatchingDescriptorProto;
345
+ /**
346
+ * The thresholds which trigger a batched request to be sent.
347
+ */
348
+ thresholds?: Schema$BatchingSettingsProto;
349
+ }
350
+ /**
351
+ * `BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.
352
+ */
353
+ export interface Schema$BatchingDescriptorProto {
354
+ /**
355
+ * The repeated field in the request message to be aggregated by batching.
356
+ */
357
+ batchedField?: string | null;
358
+ /**
359
+ * A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.
360
+ */
361
+ discriminatorFields?: string[] | null;
362
+ /**
363
+ * Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.
364
+ */
365
+ subresponseField?: string | null;
366
+ }
367
+ /**
368
+ * `BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.
369
+ */
370
+ export interface Schema$BatchingSettingsProto {
371
+ /**
372
+ * The duration after which a batch should be sent, starting from the addition of the first message to that batch.
373
+ */
374
+ delayThreshold?: string | null;
375
+ /**
376
+ * The maximum number of elements collected in a batch that could be accepted by server.
377
+ */
378
+ elementCountLimit?: number | null;
379
+ /**
380
+ * The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
381
+ */
382
+ elementCountThreshold?: number | null;
383
+ /**
384
+ * The maximum size of data allowed by flow control.
385
+ */
386
+ flowControlByteLimit?: number | null;
387
+ /**
388
+ * The maximum number of elements allowed by flow control.
389
+ */
390
+ flowControlElementLimit?: number | null;
391
+ /**
392
+ * The behavior to take when the flow control limit is exceeded.
393
+ */
394
+ flowControlLimitExceededBehavior?: string | null;
395
+ /**
396
+ * The maximum size of the request that could be accepted by server.
397
+ */
398
+ requestByteLimit?: number | null;
399
+ /**
400
+ * The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.
401
+ */
402
+ requestByteThreshold?: string | null;
403
+ }
330
404
  /**
331
405
  * Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
332
406
  */
@@ -349,6 +423,11 @@ export declare namespace servicenetworking_v1beta {
349
423
  */
350
424
  monitoredResource?: string | null;
351
425
  }
426
+ /**
427
+ * Metadata provided through GetOperation request for the LRO generated by Cleanup Connection API
428
+ */
429
+ export interface Schema$CleanupConnectionMetadata {
430
+ }
352
431
  /**
353
432
  * Details about how and where to publish client libraries.
354
433
  */
@@ -403,15 +482,15 @@ export declare namespace servicenetworking_v1beta {
403
482
  */
404
483
  export interface Schema$CloudSQLConfig {
405
484
  /**
406
- * Peering service used for peering with the Cloud SQL project.
485
+ * Required. Peering service used for peering with the Cloud SQL project.
407
486
  */
408
487
  service?: string | null;
409
488
  /**
410
- * The name of the umbrella network in the Cloud SQL umbrella project.
489
+ * Required. The name of the umbrella network in the Cloud SQL umbrella project.
411
490
  */
412
491
  umbrellaNetwork?: string | null;
413
492
  /**
414
- * The project number of the Cloud SQL umbrella project.
493
+ * Required. The project number of the Cloud SQL umbrella project.
415
494
  */
416
495
  umbrellaProject?: string | null;
417
496
  }
@@ -437,7 +516,7 @@ export declare namespace servicenetworking_v1beta {
437
516
  */
438
517
  export interface Schema$Connection {
439
518
  /**
440
- * The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project\}/global/networks/{network\}`. `{project\}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network\}` is the name of the service consumer's VPC network.
519
+ * Required. The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project\}/global/networks/{network\}`. `{project\}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network\}` is the name of the service consumer's VPC network.
441
520
  */
442
521
  network?: string | null;
443
522
  /**
@@ -959,7 +1038,7 @@ export declare namespace servicenetworking_v1beta {
959
1038
  */
960
1039
  common?: Schema$CommonLanguageSettings;
961
1040
  /**
962
- * Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
1041
+ * Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin
963
1042
  */
964
1043
  renamedServices?: {
965
1044
  [key: string]: string;
@@ -1161,6 +1240,10 @@ export declare namespace servicenetworking_v1beta {
1161
1240
  * Method represents a method of an API interface.
1162
1241
  */
1163
1242
  export interface Schema$Method {
1243
+ /**
1244
+ * The source edition string, only valid when syntax is SYNTAX_EDITIONS.
1245
+ */
1246
+ edition?: string | null;
1164
1247
  /**
1165
1248
  * The simple name of this method.
1166
1249
  */
@@ -1211,6 +1294,10 @@ export declare namespace servicenetworking_v1beta {
1211
1294
  * List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
1212
1295
  */
1213
1296
  autoPopulatedFields?: string[] | null;
1297
+ /**
1298
+ * Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10
1299
+ */
1300
+ batching?: Schema$BatchingConfigProto;
1214
1301
  /**
1215
1302
  * Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
1216
1303
  */
@@ -1466,7 +1553,7 @@ export declare namespace servicenetworking_v1beta {
1466
1553
  */
1467
1554
  dnsSuffix?: string | null;
1468
1555
  /**
1469
- * User assigned name for this resource. Must be unique within the consumer network. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
1556
+ * Required. User assigned name for this resource. Must be unique within the consumer network. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.
1470
1557
  */
1471
1558
  name?: string | null;
1472
1559
  }
@@ -1483,6 +1570,10 @@ export declare namespace servicenetworking_v1beta {
1483
1570
  * Some settings.
1484
1571
  */
1485
1572
  common?: Schema$CommonLanguageSettings;
1573
+ /**
1574
+ * The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.php.package_name" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\Cloud\PubSub\V1
1575
+ */
1576
+ libraryPackage?: string | null;
1486
1577
  }
1487
1578
  /**
1488
1579
  * Grouping of IAM role and IAM member.
@@ -2032,6 +2123,59 @@ export declare namespace servicenetworking_v1beta {
2032
2123
  constructor(context: APIRequestContext);
2033
2124
  /**
2034
2125
  * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
2126
+ * @example
2127
+ * ```js
2128
+ * // Before running the sample:
2129
+ * // - Enable the API at:
2130
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2131
+ * // - Login into gcloud by running:
2132
+ * // ```sh
2133
+ * // $ gcloud auth application-default login
2134
+ * // ```
2135
+ * // - Install the npm module by running:
2136
+ * // ```sh
2137
+ * // $ npm install googleapis
2138
+ * // ```
2139
+ *
2140
+ * const {google} = require('googleapis');
2141
+ * const servicenetworking = google.servicenetworking('v1beta');
2142
+ *
2143
+ * async function main() {
2144
+ * const auth = new google.auth.GoogleAuth({
2145
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2146
+ * scopes: [
2147
+ * 'https://www.googleapis.com/auth/cloud-platform',
2148
+ * 'https://www.googleapis.com/auth/service.management',
2149
+ * ],
2150
+ * });
2151
+ *
2152
+ * // Acquire an auth client, and bind it to all future calls
2153
+ * const authClient = await auth.getClient();
2154
+ * google.options({auth: authClient});
2155
+ *
2156
+ * // Do the magic
2157
+ * const res = await servicenetworking.operations.get({
2158
+ * // The name of the operation resource.
2159
+ * name: 'operations/my-operation',
2160
+ * });
2161
+ * console.log(res.data);
2162
+ *
2163
+ * // Example response
2164
+ * // {
2165
+ * // "done": false,
2166
+ * // "error": {},
2167
+ * // "metadata": {},
2168
+ * // "name": "my_name",
2169
+ * // "response": {}
2170
+ * // }
2171
+ * }
2172
+ *
2173
+ * main().catch(e => {
2174
+ * console.error(e);
2175
+ * throw e;
2176
+ * });
2177
+ *
2178
+ * ```
2035
2179
  *
2036
2180
  * @param params - Parameters for request
2037
2181
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2057,6 +2201,74 @@ export declare namespace servicenetworking_v1beta {
2057
2201
  constructor(context: APIRequestContext);
2058
2202
  /**
2059
2203
  * For service producers, provisions a new subnet in a peered service's shared VPC network in the requested region and with the requested size that's expressed as a CIDR range (number of leading bits of ipV4 network mask). The method checks against the assigned allocated ranges to find a non-conflicting IP address range. The method will reuse a subnet if subsequent calls contain the same subnet name, region, and prefix length. This method will make producer's tenant project to be a shared VPC service project as needed. The response from the `get` operation will be of type `Subnetwork` if the operation successfully completes.
2204
+ * @example
2205
+ * ```js
2206
+ * // Before running the sample:
2207
+ * // - Enable the API at:
2208
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2209
+ * // - Login into gcloud by running:
2210
+ * // ```sh
2211
+ * // $ gcloud auth application-default login
2212
+ * // ```
2213
+ * // - Install the npm module by running:
2214
+ * // ```sh
2215
+ * // $ npm install googleapis
2216
+ * // ```
2217
+ *
2218
+ * const {google} = require('googleapis');
2219
+ * const servicenetworking = google.servicenetworking('v1beta');
2220
+ *
2221
+ * async function main() {
2222
+ * const auth = new google.auth.GoogleAuth({
2223
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2224
+ * scopes: [
2225
+ * 'https://www.googleapis.com/auth/cloud-platform',
2226
+ * 'https://www.googleapis.com/auth/service.management',
2227
+ * ],
2228
+ * });
2229
+ *
2230
+ * // Acquire an auth client, and bind it to all future calls
2231
+ * const authClient = await auth.getClient();
2232
+ * google.options({auth: authClient});
2233
+ *
2234
+ * // Do the magic
2235
+ * const res = await servicenetworking.services.addSubnetwork({
2236
+ * // Required. A tenant project in the service producer organization, in the following format: services/{service\}/{collection-id\}/{resource-id\}. {collection-id\} is the cloud resource collection type that represents the tenant project. Only `projects` are supported. {resource-id\} is the tenant project numeric id, such as `123456`. {service\} the name of the peering service, such as `service-peering.example.com`. This service must already be enabled in the service consumer's project.
2237
+ * parent: 'services/my-service/[^/]+/[^/]+',
2238
+ *
2239
+ * // Request body metadata
2240
+ * requestBody: {
2241
+ * // request body parameters
2242
+ * // {
2243
+ * // "consumer": "my_consumer",
2244
+ * // "consumerNetwork": "my_consumerNetwork",
2245
+ * // "description": "my_description",
2246
+ * // "ipPrefixLength": 0,
2247
+ * // "region": "my_region",
2248
+ * // "requestedAddress": "my_requestedAddress",
2249
+ * // "subnetwork": "my_subnetwork",
2250
+ * // "subnetworkUsers": []
2251
+ * // }
2252
+ * },
2253
+ * });
2254
+ * console.log(res.data);
2255
+ *
2256
+ * // Example response
2257
+ * // {
2258
+ * // "done": false,
2259
+ * // "error": {},
2260
+ * // "metadata": {},
2261
+ * // "name": "my_name",
2262
+ * // "response": {}
2263
+ * // }
2264
+ * }
2265
+ *
2266
+ * main().catch(e => {
2267
+ * console.error(e);
2268
+ * throw e;
2269
+ * });
2270
+ *
2271
+ * ```
2060
2272
  *
2061
2273
  * @param params - Parameters for request
2062
2274
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2071,6 +2283,68 @@ export declare namespace servicenetworking_v1beta {
2071
2283
  addSubnetwork(callback: BodyResponseCallback<Schema$Operation>): void;
2072
2284
  /**
2073
2285
  * Service producers can use this method to find a currently unused range within consumer allocated ranges. This returned range is not reserved, and not guaranteed to remain unused. It will validate previously provided allocated ranges, find non-conflicting sub-range of requested size (expressed in number of leading bits of ipv4 network mask, as in CIDR range notation). Operation
2286
+ * @example
2287
+ * ```js
2288
+ * // Before running the sample:
2289
+ * // - Enable the API at:
2290
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2291
+ * // - Login into gcloud by running:
2292
+ * // ```sh
2293
+ * // $ gcloud auth application-default login
2294
+ * // ```
2295
+ * // - Install the npm module by running:
2296
+ * // ```sh
2297
+ * // $ npm install googleapis
2298
+ * // ```
2299
+ *
2300
+ * const {google} = require('googleapis');
2301
+ * const servicenetworking = google.servicenetworking('v1beta');
2302
+ *
2303
+ * async function main() {
2304
+ * const auth = new google.auth.GoogleAuth({
2305
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2306
+ * scopes: [
2307
+ * 'https://www.googleapis.com/auth/cloud-platform',
2308
+ * 'https://www.googleapis.com/auth/service.management',
2309
+ * ],
2310
+ * });
2311
+ *
2312
+ * // Acquire an auth client, and bind it to all future calls
2313
+ * const authClient = await auth.getClient();
2314
+ * google.options({auth: authClient});
2315
+ *
2316
+ * // Do the magic
2317
+ * const res = await servicenetworking.services.searchRange({
2318
+ * // Required. This is in a form services/{service\}. {service\} the name of the private access management service, for example 'service-peering.example.com'.
2319
+ * parent: 'services/my-service',
2320
+ *
2321
+ * // Request body metadata
2322
+ * requestBody: {
2323
+ * // request body parameters
2324
+ * // {
2325
+ * // "ipPrefixLength": 0,
2326
+ * // "network": "my_network"
2327
+ * // }
2328
+ * },
2329
+ * });
2330
+ * console.log(res.data);
2331
+ *
2332
+ * // Example response
2333
+ * // {
2334
+ * // "done": false,
2335
+ * // "error": {},
2336
+ * // "metadata": {},
2337
+ * // "name": "my_name",
2338
+ * // "response": {}
2339
+ * // }
2340
+ * }
2341
+ *
2342
+ * main().catch(e => {
2343
+ * console.error(e);
2344
+ * throw e;
2345
+ * });
2346
+ *
2347
+ * ```
2074
2348
  *
2075
2349
  * @param params - Parameters for request
2076
2350
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2085,6 +2359,74 @@ export declare namespace servicenetworking_v1beta {
2085
2359
  searchRange(callback: BodyResponseCallback<Schema$Operation>): void;
2086
2360
  /**
2087
2361
  * Updates the allocated ranges that are assigned to a connection. The response from the `get` operation will be of type `Connection` if the operation successfully completes.
2362
+ * @example
2363
+ * ```js
2364
+ * // Before running the sample:
2365
+ * // - Enable the API at:
2366
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2367
+ * // - Login into gcloud by running:
2368
+ * // ```sh
2369
+ * // $ gcloud auth application-default login
2370
+ * // ```
2371
+ * // - Install the npm module by running:
2372
+ * // ```sh
2373
+ * // $ npm install googleapis
2374
+ * // ```
2375
+ *
2376
+ * const {google} = require('googleapis');
2377
+ * const servicenetworking = google.servicenetworking('v1beta');
2378
+ *
2379
+ * async function main() {
2380
+ * const auth = new google.auth.GoogleAuth({
2381
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2382
+ * scopes: [
2383
+ * 'https://www.googleapis.com/auth/cloud-platform',
2384
+ * 'https://www.googleapis.com/auth/service.management',
2385
+ * ],
2386
+ * });
2387
+ *
2388
+ * // Acquire an auth client, and bind it to all future calls
2389
+ * const authClient = await auth.getClient();
2390
+ * google.options({auth: authClient});
2391
+ *
2392
+ * // Do the magic
2393
+ * const res = await servicenetworking.services.updateConnections({
2394
+ * // If a previously defined allocated range is removed, force flag must be set to true.
2395
+ * force: 'placeholder-value',
2396
+ * // The service producer peering service that is managing peering connectivity for a service producer organization. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com`.
2397
+ * name: 'services/my-service',
2398
+ * // The update mask. If this is omitted, it defaults to "*". You can only update the listed peering ranges.
2399
+ * updateMask: 'placeholder-value',
2400
+ *
2401
+ * // Request body metadata
2402
+ * requestBody: {
2403
+ * // request body parameters
2404
+ * // {
2405
+ * // "network": "my_network",
2406
+ * // "peering": "my_peering",
2407
+ * // "reservedPeeringRanges": [],
2408
+ * // "service": "my_service"
2409
+ * // }
2410
+ * },
2411
+ * });
2412
+ * console.log(res.data);
2413
+ *
2414
+ * // Example response
2415
+ * // {
2416
+ * // "done": false,
2417
+ * // "error": {},
2418
+ * // "metadata": {},
2419
+ * // "name": "my_name",
2420
+ * // "response": {}
2421
+ * // }
2422
+ * }
2423
+ *
2424
+ * main().catch(e => {
2425
+ * console.error(e);
2426
+ * throw e;
2427
+ * });
2428
+ *
2429
+ * ```
2088
2430
  *
2089
2431
  * @param params - Parameters for request
2090
2432
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2141,6 +2483,70 @@ export declare namespace servicenetworking_v1beta {
2141
2483
  constructor(context: APIRequestContext);
2142
2484
  /**
2143
2485
  * Creates a private connection that establishes a VPC Network Peering connection to a VPC network in the service producer's organization. The administrator of the service consumer's VPC network invokes this method. The administrator must assign one or more allocated IP ranges for provisioning subnetworks in the service producer's VPC network. This connection is used for all supported services in the service producer's organization, so it only needs to be invoked once. The response from the `get` operation will be of type `Connection` if the operation successfully completes.
2486
+ * @example
2487
+ * ```js
2488
+ * // Before running the sample:
2489
+ * // - Enable the API at:
2490
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2491
+ * // - Login into gcloud by running:
2492
+ * // ```sh
2493
+ * // $ gcloud auth application-default login
2494
+ * // ```
2495
+ * // - Install the npm module by running:
2496
+ * // ```sh
2497
+ * // $ npm install googleapis
2498
+ * // ```
2499
+ *
2500
+ * const {google} = require('googleapis');
2501
+ * const servicenetworking = google.servicenetworking('v1beta');
2502
+ *
2503
+ * async function main() {
2504
+ * const auth = new google.auth.GoogleAuth({
2505
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2506
+ * scopes: [
2507
+ * 'https://www.googleapis.com/auth/cloud-platform',
2508
+ * 'https://www.googleapis.com/auth/service.management',
2509
+ * ],
2510
+ * });
2511
+ *
2512
+ * // Acquire an auth client, and bind it to all future calls
2513
+ * const authClient = await auth.getClient();
2514
+ * google.options({auth: authClient});
2515
+ *
2516
+ * // Do the magic
2517
+ * const res = await servicenetworking.services.connections.create({
2518
+ * // The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.
2519
+ * parent: 'services/my-service',
2520
+ *
2521
+ * // Request body metadata
2522
+ * requestBody: {
2523
+ * // request body parameters
2524
+ * // {
2525
+ * // "network": "my_network",
2526
+ * // "peering": "my_peering",
2527
+ * // "reservedPeeringRanges": [],
2528
+ * // "service": "my_service"
2529
+ * // }
2530
+ * },
2531
+ * });
2532
+ * console.log(res.data);
2533
+ *
2534
+ * // Example response
2535
+ * // {
2536
+ * // "done": false,
2537
+ * // "error": {},
2538
+ * // "metadata": {},
2539
+ * // "name": "my_name",
2540
+ * // "response": {}
2541
+ * // }
2542
+ * }
2543
+ *
2544
+ * main().catch(e => {
2545
+ * console.error(e);
2546
+ * throw e;
2547
+ * });
2548
+ *
2549
+ * ```
2144
2550
  *
2145
2551
  * @param params - Parameters for request
2146
2552
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2155,6 +2561,57 @@ export declare namespace servicenetworking_v1beta {
2155
2561
  create(callback: BodyResponseCallback<Schema$Operation>): void;
2156
2562
  /**
2157
2563
  * List the private connections that are configured in a service consumer's VPC network.
2564
+ * @example
2565
+ * ```js
2566
+ * // Before running the sample:
2567
+ * // - Enable the API at:
2568
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
2569
+ * // - Login into gcloud by running:
2570
+ * // ```sh
2571
+ * // $ gcloud auth application-default login
2572
+ * // ```
2573
+ * // - Install the npm module by running:
2574
+ * // ```sh
2575
+ * // $ npm install googleapis
2576
+ * // ```
2577
+ *
2578
+ * const {google} = require('googleapis');
2579
+ * const servicenetworking = google.servicenetworking('v1beta');
2580
+ *
2581
+ * async function main() {
2582
+ * const auth = new google.auth.GoogleAuth({
2583
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2584
+ * scopes: [
2585
+ * 'https://www.googleapis.com/auth/cloud-platform',
2586
+ * 'https://www.googleapis.com/auth/service.management',
2587
+ * ],
2588
+ * });
2589
+ *
2590
+ * // Acquire an auth client, and bind it to all future calls
2591
+ * const authClient = await auth.getClient();
2592
+ * google.options({auth: authClient});
2593
+ *
2594
+ * // Do the magic
2595
+ * const res = await servicenetworking.services.connections.list({
2596
+ * // The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project\}/global/networks/{network\}`. {project\} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network\} is the name of the service consumer's VPC network.
2597
+ * network: 'placeholder-value',
2598
+ * // The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `-` as the parameter value, all configured public peering services are listed.
2599
+ * parent: 'services/my-service',
2600
+ * });
2601
+ * console.log(res.data);
2602
+ *
2603
+ * // Example response
2604
+ * // {
2605
+ * // "connections": []
2606
+ * // }
2607
+ * }
2608
+ *
2609
+ * main().catch(e => {
2610
+ * console.error(e);
2611
+ * throw e;
2612
+ * });
2613
+ *
2614
+ * ```
2158
2615
  *
2159
2616
  * @param params - Parameters for request
2160
2617
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1 +1 @@
1
- {"version":3,"file":"v1beta.js","sourceRoot":"","sources":["../v1beta.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,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E;QACH,CAAC;KACF;IAlTY,sDAA6B,gCAkTzC,CAAA;AAyBH,CAAC,EAxiGgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAwiGxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/servicenetworking",
3
- "version": "22.0.1",
3
+ "version": "24.0.0",
4
4
  "description": "servicenetworking",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",