@googleapis/servicenetworking 0.2.0 → 4.3.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/v1.ts CHANGED
@@ -228,6 +228,18 @@ export namespace servicenetworking_v1 {
228
228
  * Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.
229
229
  */
230
230
  ipPrefixLength?: number | null;
231
+ /**
232
+ * Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this primary IP range.
233
+ */
234
+ outsideAllocationPublicIpRange?: string | null;
235
+ /**
236
+ * Optional. The private IPv6 google access type for the VMs in this subnet. For information about the access types that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
237
+ */
238
+ privateIpv6GoogleAccess?: string | null;
239
+ /**
240
+ * Optional. Defines the purpose field of the subnet, e.g. 'PRIVATE_SERVICE_CONNECT'. For information about the purposes that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
241
+ */
242
+ purpose?: string | null;
231
243
  /**
232
244
  * Required. The name of a [region](/compute/docs/regions-zones) for the subnet, such `europe-west1`.
233
245
  */
@@ -287,7 +299,7 @@ export namespace servicenetworking_v1 {
287
299
  version?: string | null;
288
300
  }
289
301
  /**
290
- * `Authentication` defines the authentication configuration for an API. Example for an API targeted for external use: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
302
+ * `Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
291
303
  */
292
304
  export interface Schema$Authentication {
293
305
  /**
@@ -391,10 +403,6 @@ export namespace servicenetworking_v1 {
391
403
  * The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend.
392
404
  */
393
405
  jwtAudience?: string | null;
394
- /**
395
- * Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
396
- */
397
- minDeadline?: number | null;
398
406
  /**
399
407
  * The number of seconds to wait for the completion of a long running operation. The default is no deadline.
400
408
  */
@@ -553,11 +561,11 @@ export namespace servicenetworking_v1 {
553
561
  selector?: string | null;
554
562
  }
555
563
  /**
556
- * Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
564
+ * Selects and configures the service controller used by the service. The service controller handles two things: - **What is allowed:** for each API request, Chemist checks the project status, activation status, abuse status, billing status, service status, location restrictions, VPC Service Controls, SuperQuota, and other policies. - **What has happened:** for each API response, Chemist reports the telemetry data to analytics, auditing, billing, eventing, logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data not associated with API traffic, such as billing metrics. Example: control: environment: servicecontrol.googleapis.com
557
565
  */
558
566
  export interface Schema$Control {
559
567
  /**
560
- * The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
568
+ * The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com
561
569
  */
562
570
  environment?: string | null;
563
571
  }
@@ -604,6 +612,15 @@ export namespace servicenetworking_v1 {
604
612
  * Metadata provided through GetOperation request for the LRO generated by Delete Connection API
605
613
  */
606
614
  export interface Schema$DeleteConnectionMetadata {}
615
+ /**
616
+ * Request to delete a private service access connection. The call will fail if there are any managed service instances using this connection.
617
+ */
618
+ export interface Schema$DeleteConnectionRequest {
619
+ /**
620
+ * Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project\}/global/networks/{network\} {project\} is a project number, as in '12345' {network\} is a network name.
621
+ */
622
+ consumerNetwork?: string | null;
623
+ }
607
624
  /**
608
625
  * Metadata provided through GetOperation request for the LRO generated by DeletePeeredDnsDomain API.
609
626
  */
@@ -676,7 +693,7 @@ export namespace servicenetworking_v1 {
676
693
  */
677
694
  serviceRootUrl?: string | null;
678
695
  /**
679
- * A short summary of what the service does. Can only be provided by plain text.
696
+ * A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
680
697
  */
681
698
  summary?: string | null;
682
699
  }
@@ -689,11 +706,11 @@ export namespace servicenetworking_v1 {
689
706
  */
690
707
  deprecationDescription?: string | null;
691
708
  /**
692
- * Description of the selected API(s).
709
+ * Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.
693
710
  */
694
711
  description?: string | null;
695
712
  /**
696
- * The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
713
+ * The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
697
714
  */
698
715
  selector?: string | null;
699
716
  }
@@ -711,13 +728,9 @@ export namespace servicenetworking_v1 {
711
728
  consumerNetwork?: string | null;
712
729
  }
713
730
  /**
714
- * `Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
731
+ * `Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true
715
732
  */
716
733
  export interface Schema$Endpoint {
717
- /**
718
- * DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.
719
- */
720
- aliases?: string[] | null;
721
734
  /**
722
735
  * Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
723
736
  */
@@ -1197,7 +1210,7 @@ export namespace servicenetworking_v1 {
1197
1210
  */
1198
1211
  name?: string | null;
1199
1212
  /**
1200
- * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
1213
+ * Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
1201
1214
  */
1202
1215
  type?: string | null;
1203
1216
  }
@@ -1279,7 +1292,7 @@ export namespace servicenetworking_v1 {
1279
1292
  */
1280
1293
  export interface Schema$Page {
1281
1294
  /**
1282
- * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file.
1295
+ * The Markdown content of the page. You can use (== include {path\} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.
1283
1296
  */
1284
1297
  content?: string | null;
1285
1298
  /**
@@ -1291,12 +1304,16 @@ export namespace servicenetworking_v1 {
1291
1304
  */
1292
1305
  subpages?: Schema$Page[];
1293
1306
  }
1307
+ /**
1308
+ * Metadata provided through GetOperation request for the LRO generated by Partial Delete Connection API
1309
+ */
1310
+ export interface Schema$PartialDeleteConnectionMetadata {}
1294
1311
  /**
1295
1312
  * DNS domain suffix for which requests originating in the producer VPC network are resolved in the associated consumer VPC network.
1296
1313
  */
1297
1314
  export interface Schema$PeeredDnsDomain {
1298
1315
  /**
1299
- * The DNS domain name suffix e.g. `example.com.`.
1316
+ * The DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.
1300
1317
  */
1301
1318
  dnsSuffix?: string | null;
1302
1319
  /**
@@ -1508,6 +1525,10 @@ export namespace servicenetworking_v1 {
1508
1525
  * Required. The prefix length of the secondary IP range. Use CIDR range notation, such as `30` to provision a secondary IP range with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.
1509
1526
  */
1510
1527
  ipPrefixLength?: number | null;
1528
+ /**
1529
+ * Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this secondary IP range.
1530
+ */
1531
+ outsideAllocationPublicIpRange?: string | null;
1511
1532
  /**
1512
1533
  * Required. A name for the secondary IP range. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
1513
1534
  */
@@ -1518,7 +1539,7 @@ export namespace servicenetworking_v1 {
1518
1539
  requestedAddress?: string | null;
1519
1540
  }
1520
1541
  /**
1521
- * `Service` is the root object of Google service configuration schema. It describes basic information about a service, such as the name and the title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. See each proto message definition for details. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
1542
+ * `Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*" restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
1522
1543
  */
1523
1544
  export interface Schema$Service {
1524
1545
  /**
@@ -1538,7 +1559,7 @@ export namespace servicenetworking_v1 {
1538
1559
  */
1539
1560
  billing?: Schema$Billing;
1540
1561
  /**
1541
- * Deprecated. The service config compiler always sets this field to `3`.
1562
+ * Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.
1542
1563
  */
1543
1564
  configVersion?: number | null;
1544
1565
  /**
@@ -1562,7 +1583,7 @@ export namespace servicenetworking_v1 {
1562
1583
  */
1563
1584
  endpoints?: Schema$Endpoint[];
1564
1585
  /**
1565
- * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum
1586
+ * A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
1566
1587
  */
1567
1588
  enums?: Schema$Enum[];
1568
1589
  /**
@@ -1618,11 +1639,11 @@ export namespace servicenetworking_v1 {
1618
1639
  */
1619
1640
  systemTypes?: Schema$Type[];
1620
1641
  /**
1621
- * The product title for this service.
1642
+ * The product title for this service, it is the name displayed in Google Cloud Console.
1622
1643
  */
1623
1644
  title?: string | null;
1624
1645
  /**
1625
- * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32
1646
+ * A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
1626
1647
  */
1627
1648
  types?: Schema$Type[];
1628
1649
  /**
@@ -1831,6 +1852,10 @@ export namespace servicenetworking_v1 {
1831
1852
  skipServiceControl?: boolean | null;
1832
1853
  }
1833
1854
  export interface Schema$ValidateConsumerConfigRequest {
1855
+ /**
1856
+ * Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.
1857
+ */
1858
+ checkServiceNetworkingUsePermission?: boolean | null;
1834
1859
  /**
1835
1860
  * Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project\}/global/networks/{network\} {project\} is a project number, as in '12345' {network\} is network name.
1836
1861
  */
@@ -2507,6 +2532,9 @@ export namespace servicenetworking_v1 {
2507
2532
  * // "consumerNetwork": "my_consumerNetwork",
2508
2533
  * // "description": "my_description",
2509
2534
  * // "ipPrefixLength": 0,
2535
+ * // "outsideAllocationPublicIpRange": "my_outsideAllocationPublicIpRange",
2536
+ * // "privateIpv6GoogleAccess": "my_privateIpv6GoogleAccess",
2537
+ * // "purpose": "my_purpose",
2510
2538
  * // "region": "my_region",
2511
2539
  * // "requestedAddress": "my_requestedAddress",
2512
2540
  * // "requestedRanges": [],
@@ -3097,6 +3125,7 @@ export namespace servicenetworking_v1 {
3097
3125
  * requestBody: {
3098
3126
  * // request body parameters
3099
3127
  * // {
3128
+ * // "checkServiceNetworkingUsePermission": false,
3100
3129
  * // "consumerNetwork": "my_consumerNetwork",
3101
3130
  * // "consumerProject": {},
3102
3131
  * // "rangeReservation": {},
@@ -3431,6 +3460,148 @@ export namespace servicenetworking_v1 {
3431
3460
  }
3432
3461
  }
3433
3462
 
3463
+ /**
3464
+ * Deletes a private service access connection.
3465
+ * @example
3466
+ * ```js
3467
+ * // Before running the sample:
3468
+ * // - Enable the API at:
3469
+ * // https://console.developers.google.com/apis/api/servicenetworking.googleapis.com
3470
+ * // - Login into gcloud by running:
3471
+ * // `$ gcloud auth application-default login`
3472
+ * // - Install the npm module by running:
3473
+ * // `$ npm install googleapis`
3474
+ *
3475
+ * const {google} = require('googleapis');
3476
+ * const servicenetworking = google.servicenetworking('v1');
3477
+ *
3478
+ * async function main() {
3479
+ * const auth = new google.auth.GoogleAuth({
3480
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3481
+ * scopes: [
3482
+ * 'https://www.googleapis.com/auth/cloud-platform',
3483
+ * 'https://www.googleapis.com/auth/service.management',
3484
+ * ],
3485
+ * });
3486
+ *
3487
+ * // Acquire an auth client, and bind it to all future calls
3488
+ * const authClient = await auth.getClient();
3489
+ * google.options({auth: authClient});
3490
+ *
3491
+ * // Do the magic
3492
+ * const res = await servicenetworking.services.connections.deleteConnection({
3493
+ * // Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name\}/connections/{vpc_peering_name\}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.
3494
+ * name: 'services/my-service/connections/my-connection',
3495
+ *
3496
+ * // Request body metadata
3497
+ * requestBody: {
3498
+ * // request body parameters
3499
+ * // {
3500
+ * // "consumerNetwork": "my_consumerNetwork"
3501
+ * // }
3502
+ * },
3503
+ * });
3504
+ * console.log(res.data);
3505
+ *
3506
+ * // Example response
3507
+ * // {
3508
+ * // "done": false,
3509
+ * // "error": {},
3510
+ * // "metadata": {},
3511
+ * // "name": "my_name",
3512
+ * // "response": {}
3513
+ * // }
3514
+ * }
3515
+ *
3516
+ * main().catch(e => {
3517
+ * console.error(e);
3518
+ * throw e;
3519
+ * });
3520
+ *
3521
+ * ```
3522
+ *
3523
+ * @param params - Parameters for request
3524
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3525
+ * @param callback - Optional callback that handles the response.
3526
+ * @returns A promise if used with async/await, or void if used with a callback.
3527
+ */
3528
+ deleteConnection(
3529
+ params: Params$Resource$Services$Connections$Deleteconnection,
3530
+ options: StreamMethodOptions
3531
+ ): GaxiosPromise<Readable>;
3532
+ deleteConnection(
3533
+ params?: Params$Resource$Services$Connections$Deleteconnection,
3534
+ options?: MethodOptions
3535
+ ): GaxiosPromise<Schema$Operation>;
3536
+ deleteConnection(
3537
+ params: Params$Resource$Services$Connections$Deleteconnection,
3538
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3539
+ callback: BodyResponseCallback<Readable>
3540
+ ): void;
3541
+ deleteConnection(
3542
+ params: Params$Resource$Services$Connections$Deleteconnection,
3543
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3544
+ callback: BodyResponseCallback<Schema$Operation>
3545
+ ): void;
3546
+ deleteConnection(
3547
+ params: Params$Resource$Services$Connections$Deleteconnection,
3548
+ callback: BodyResponseCallback<Schema$Operation>
3549
+ ): void;
3550
+ deleteConnection(callback: BodyResponseCallback<Schema$Operation>): void;
3551
+ deleteConnection(
3552
+ paramsOrCallback?:
3553
+ | Params$Resource$Services$Connections$Deleteconnection
3554
+ | BodyResponseCallback<Schema$Operation>
3555
+ | BodyResponseCallback<Readable>,
3556
+ optionsOrCallback?:
3557
+ | MethodOptions
3558
+ | StreamMethodOptions
3559
+ | BodyResponseCallback<Schema$Operation>
3560
+ | BodyResponseCallback<Readable>,
3561
+ callback?:
3562
+ | BodyResponseCallback<Schema$Operation>
3563
+ | BodyResponseCallback<Readable>
3564
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3565
+ let params = (paramsOrCallback ||
3566
+ {}) as Params$Resource$Services$Connections$Deleteconnection;
3567
+ let options = (optionsOrCallback || {}) as MethodOptions;
3568
+
3569
+ if (typeof paramsOrCallback === 'function') {
3570
+ callback = paramsOrCallback;
3571
+ params = {} as Params$Resource$Services$Connections$Deleteconnection;
3572
+ options = {};
3573
+ }
3574
+
3575
+ if (typeof optionsOrCallback === 'function') {
3576
+ callback = optionsOrCallback;
3577
+ options = {};
3578
+ }
3579
+
3580
+ const rootUrl =
3581
+ options.rootUrl || 'https://servicenetworking.googleapis.com/';
3582
+ const parameters = {
3583
+ options: Object.assign(
3584
+ {
3585
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3586
+ method: 'POST',
3587
+ },
3588
+ options
3589
+ ),
3590
+ params,
3591
+ requiredParams: ['name'],
3592
+ pathParams: ['name'],
3593
+ context: this.context,
3594
+ };
3595
+ if (callback) {
3596
+ createAPIRequest<Schema$Operation>(
3597
+ parameters,
3598
+ callback as BodyResponseCallback<unknown>
3599
+ );
3600
+ } else {
3601
+ return createAPIRequest<Schema$Operation>(parameters);
3602
+ }
3603
+ }
3604
+
3434
3605
  /**
3435
3606
  * List the private connections that are configured in a service consumer's VPC network.
3436
3607
  * @example
@@ -3733,6 +3904,18 @@ export namespace servicenetworking_v1 {
3733
3904
  */
3734
3905
  requestBody?: Schema$Connection;
3735
3906
  }
3907
+ export interface Params$Resource$Services$Connections$Deleteconnection
3908
+ extends StandardParameters {
3909
+ /**
3910
+ * Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name\}/connections/{vpc_peering_name\}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.
3911
+ */
3912
+ name?: string;
3913
+
3914
+ /**
3915
+ * Request body metadata
3916
+ */
3917
+ requestBody?: Schema$DeleteConnectionRequest;
3918
+ }
3736
3919
  export interface Params$Resource$Services$Connections$List
3737
3920
  extends StandardParameters {
3738
3921
  /**
@@ -4601,9 +4784,10 @@ export namespace servicenetworking_v1 {
4601
4784
  peeredDnsDomains: Resource$Services$Projects$Global$Networks$Peereddnsdomains;
4602
4785
  constructor(context: APIRequestContext) {
4603
4786
  this.context = context;
4604
- this.peeredDnsDomains = new Resource$Services$Projects$Global$Networks$Peereddnsdomains(
4605
- this.context
4606
- );
4787
+ this.peeredDnsDomains =
4788
+ new Resource$Services$Projects$Global$Networks$Peereddnsdomains(
4789
+ this.context
4790
+ );
4607
4791
  }
4608
4792
 
4609
4793
  /**
@@ -4775,21 +4959,22 @@ export namespace servicenetworking_v1 {
4775
4959
  * google.options({auth: authClient});
4776
4960
  *
4777
4961
  * // Do the magic
4778
- * const res = await servicenetworking.services.projects.global.networks.updateConsumerConfig(
4779
- * {
4780
- * // Required. Parent resource identifying the connection for which the consumer config is being updated in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
4781
- * parent:
4782
- * 'services/my-service/projects/my-project/global/networks/my-network',
4783
- *
4784
- * // Request body metadata
4785
- * requestBody: {
4786
- * // request body parameters
4787
- * // {
4788
- * // "consumerConfig": {}
4789
- * // }
4790
- * },
4791
- * }
4792
- * );
4962
+ * const res =
4963
+ * await servicenetworking.services.projects.global.networks.updateConsumerConfig(
4964
+ * {
4965
+ * // Required. Parent resource identifying the connection for which the consumer config is being updated in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
4966
+ * parent:
4967
+ * 'services/my-service/projects/my-project/global/networks/my-network',
4968
+ *
4969
+ * // Request body metadata
4970
+ * requestBody: {
4971
+ * // request body parameters
4972
+ * // {
4973
+ * // "consumerConfig": {}
4974
+ * // }
4975
+ * },
4976
+ * }
4977
+ * );
4793
4978
  * console.log(res.data);
4794
4979
  *
4795
4980
  * // Example response
@@ -4859,7 +5044,8 @@ export namespace servicenetworking_v1 {
4859
5044
 
4860
5045
  if (typeof paramsOrCallback === 'function') {
4861
5046
  callback = paramsOrCallback;
4862
- params = {} as Params$Resource$Services$Projects$Global$Networks$Updateconsumerconfig;
5047
+ params =
5048
+ {} as Params$Resource$Services$Projects$Global$Networks$Updateconsumerconfig;
4863
5049
  options = {};
4864
5050
  }
4865
5051
 
@@ -4952,22 +5138,23 @@ export namespace servicenetworking_v1 {
4952
5138
  * google.options({auth: authClient});
4953
5139
  *
4954
5140
  * // Do the magic
4955
- * const res = await servicenetworking.services.projects.global.networks.peeredDnsDomains.create(
4956
- * {
4957
- * // Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
4958
- * parent:
4959
- * 'services/my-service/projects/my-project/global/networks/my-network',
4960
- *
4961
- * // Request body metadata
4962
- * requestBody: {
4963
- * // request body parameters
4964
- * // {
4965
- * // "dnsSuffix": "my_dnsSuffix",
4966
- * // "name": "my_name"
4967
- * // }
4968
- * },
4969
- * }
4970
- * );
5141
+ * const res =
5142
+ * await servicenetworking.services.projects.global.networks.peeredDnsDomains.create(
5143
+ * {
5144
+ * // Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: `services/{service\}/projects/{project\}/global/networks/{network\}` {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network.
5145
+ * parent:
5146
+ * 'services/my-service/projects/my-project/global/networks/my-network',
5147
+ *
5148
+ * // Request body metadata
5149
+ * requestBody: {
5150
+ * // request body parameters
5151
+ * // {
5152
+ * // "dnsSuffix": "my_dnsSuffix",
5153
+ * // "name": "my_name"
5154
+ * // }
5155
+ * },
5156
+ * }
5157
+ * );
4971
5158
  * console.log(res.data);
4972
5159
  *
4973
5160
  * // Example response
@@ -5035,7 +5222,8 @@ export namespace servicenetworking_v1 {
5035
5222
 
5036
5223
  if (typeof paramsOrCallback === 'function') {
5037
5224
  callback = paramsOrCallback;
5038
- params = {} as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Create;
5225
+ params =
5226
+ {} as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Create;
5039
5227
  options = {};
5040
5228
  }
5041
5229
 
@@ -5101,13 +5289,13 @@ export namespace servicenetworking_v1 {
5101
5289
  * google.options({auth: authClient});
5102
5290
  *
5103
5291
  * // Do the magic
5104
- * const res = await servicenetworking.services.projects.global.networks.peeredDnsDomains.delete(
5105
- * {
5106
- * // Required. The name of the peered DNS domain to delete in the format: `services/{service\}/projects/{project\}/global/networks/{network\}/peeredDnsDomains/{name\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network. {name\} is the name of the peered DNS domain.
5107
- * name:
5108
- * 'services/my-service/projects/my-project/global/networks/my-network/peeredDnsDomains/my-peeredDnsDomain',
5109
- * }
5110
- * );
5292
+ * const res =
5293
+ * await servicenetworking.services.projects.global.networks.peeredDnsDomains.delete(
5294
+ * {
5295
+ * // Required. The name of the peered DNS domain to delete in the format: `services/{service\}/projects/{project\}/global/networks/{network\}/peeredDnsDomains/{name\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network\} is the name of the service consumer's VPC network. {name\} is the name of the peered DNS domain.
5296
+ * name: 'services/my-service/projects/my-project/global/networks/my-network/peeredDnsDomains/my-peeredDnsDomain',
5297
+ * }
5298
+ * );
5111
5299
  * console.log(res.data);
5112
5300
  *
5113
5301
  * // Example response
@@ -5175,7 +5363,8 @@ export namespace servicenetworking_v1 {
5175
5363
 
5176
5364
  if (typeof paramsOrCallback === 'function') {
5177
5365
  callback = paramsOrCallback;
5178
- params = {} as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Delete;
5366
+ params =
5367
+ {} as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$Delete;
5179
5368
  options = {};
5180
5369
  }
5181
5370
 
@@ -5238,13 +5427,14 @@ export namespace servicenetworking_v1 {
5238
5427
  * google.options({auth: authClient});
5239
5428
  *
5240
5429
  * // Do the magic
5241
- * const res = await servicenetworking.services.projects.global.networks.peeredDnsDomains.list(
5242
- * {
5243
- * // Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: `services/{service\}/projects/{project\}/global/networks/{network\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is a project number e.g. `12345` that contains the service consumer's VPC network. {network\} is the name of the service consumer's VPC network.
5244
- * parent:
5245
- * 'services/my-service/projects/my-project/global/networks/my-network',
5246
- * }
5247
- * );
5430
+ * const res =
5431
+ * await servicenetworking.services.projects.global.networks.peeredDnsDomains.list(
5432
+ * {
5433
+ * // Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: `services/{service\}/projects/{project\}/global/networks/{network\}`. {service\} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project\} is a project number e.g. `12345` that contains the service consumer's VPC network. {network\} is the name of the service consumer's VPC network.
5434
+ * parent:
5435
+ * 'services/my-service/projects/my-project/global/networks/my-network',
5436
+ * }
5437
+ * );
5248
5438
  * console.log(res.data);
5249
5439
  *
5250
5440
  * // Example response
@@ -5315,7 +5505,8 @@ export namespace servicenetworking_v1 {
5315
5505
 
5316
5506
  if (typeof paramsOrCallback === 'function') {
5317
5507
  callback = paramsOrCallback;
5318
- params = {} as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$List;
5508
+ params =
5509
+ {} as Params$Resource$Services$Projects$Global$Networks$Peereddnsdomains$List;
5319
5510
  options = {};
5320
5511
  }
5321
5512