From 37614a48131a848e865dda914bddc1e9d211abf4 Mon Sep 17 00:00:00 2001 From: "F. Hinkelmann" Date: Fri, 12 Nov 2021 11:54:13 -0500 Subject: [PATCH] chore(cloud-rad): Add code fencing (#641) ## Code fencing Code examples need code fencing around them to distingish from rich text for TSDoc. Internally b/179483748 Script used: https://github.com/fhinkel/cloud-rad-script/blob/main/fixExampleComments.js --- .../src/v1/accelerator_types_client.ts | 6 ++ .../src/v1/addresses_client.ts | 10 +++ .../src/v1/autoscalers_client.ts | 14 ++++ .../src/v1/backend_buckets_client.ts | 16 ++++ .../src/v1/backend_services_client.ts | 22 +++++ .../src/v1/disk_types_client.ts | 6 ++ .../src/v1/disks_client.ts | 26 ++++++ .../src/v1/external_vpn_gateways_client.ts | 12 +++ .../src/v1/firewall_policies_client.ts | 36 ++++++++ .../src/v1/firewalls_client.ts | 12 +++ .../src/v1/forwarding_rules_client.ts | 16 ++++ .../src/v1/global_addresses_client.ts | 8 ++ .../src/v1/global_forwarding_rules_client.ts | 14 ++++ .../global_network_endpoint_groups_client.ts | 14 ++++ .../src/v1/global_operations_client.ts | 10 +++ .../global_organization_operations_client.ts | 6 ++ ...global_public_delegated_prefixes_client.ts | 10 +++ .../src/v1/health_checks_client.ts | 14 ++++ .../src/v1/images_client.ts | 22 +++++ .../src/v1/instance_group_managers_client.ts | 40 +++++++++ .../src/v1/instance_groups_client.ts | 18 ++++ .../src/v1/instance_templates_client.ts | 14 ++++ .../src/v1/instances_client.ts | 84 +++++++++++++++++++ .../src/v1/interconnect_attachments_client.ts | 12 +++ .../src/v1/interconnect_locations_client.ts | 4 + .../src/v1/interconnects_client.ts | 12 +++ .../src/v1/license_codes_client.ts | 4 + .../src/v1/licenses_client.ts | 14 ++++ .../src/v1/machine_types_client.ts | 6 ++ .../src/v1/network_endpoint_groups_client.ts | 18 ++++ .../src/v1/networks_client.ts | 22 +++++ .../src/v1/node_groups_client.ts | 26 ++++++ .../src/v1/node_templates_client.ts | 16 ++++ .../src/v1/node_types_client.ts | 6 ++ .../src/v1/packet_mirrorings_client.ts | 14 ++++ .../src/v1/projects_client.ts | 26 ++++++ .../v1/public_advertised_prefixes_client.ts | 10 +++ .../v1/public_delegated_prefixes_client.ts | 12 +++ .../src/v1/region_autoscalers_client.ts | 12 +++ .../src/v1/region_backend_services_client.ts | 14 ++++ .../src/v1/region_commitments_client.ts | 8 ++ .../src/v1/region_disk_types_client.ts | 4 + .../src/v1/region_disks_client.ts | 24 ++++++ .../v1/region_health_check_services_client.ts | 10 +++ .../src/v1/region_health_checks_client.ts | 12 +++ .../region_instance_group_managers_client.ts | 38 +++++++++ .../src/v1/region_instance_groups_client.ts | 8 ++ .../src/v1/region_instances_client.ts | 2 + .../region_network_endpoint_groups_client.ts | 8 ++ .../region_notification_endpoints_client.ts | 8 ++ .../src/v1/region_operations_client.ts | 8 ++ .../src/v1/region_ssl_certificates_client.ts | 8 ++ .../v1/region_target_http_proxies_client.ts | 10 +++ .../v1/region_target_https_proxies_client.ts | 12 +++ .../src/v1/region_url_maps_client.ts | 14 ++++ .../src/v1/regions_client.ts | 4 + .../src/v1/reservations_client.ts | 18 ++++ .../src/v1/resource_policies_client.ts | 16 ++++ .../src/v1/routers_client.ts | 20 +++++ .../src/v1/routes_client.ts | 8 ++ .../src/v1/security_policies_client.ts | 20 +++++ .../src/v1/snapshots_client.ts | 14 ++++ .../src/v1/ssl_certificates_client.ts | 10 +++ .../src/v1/ssl_policies_client.ts | 12 +++ .../src/v1/subnetworks_client.ts | 24 ++++++ .../src/v1/target_grpc_proxies_client.ts | 10 +++ .../src/v1/target_http_proxies_client.ts | 14 ++++ .../src/v1/target_https_proxies_client.ts | 20 +++++ .../src/v1/target_instances_client.ts | 10 +++ .../src/v1/target_pools_client.ts | 22 +++++ .../src/v1/target_ssl_proxies_client.ts | 16 ++++ .../src/v1/target_tcp_proxies_client.ts | 12 +++ .../src/v1/target_vpn_gateways_client.ts | 10 +++ .../src/v1/url_maps_client.ts | 18 ++++ .../src/v1/vpn_gateways_client.ts | 16 ++++ .../src/v1/vpn_tunnels_client.ts | 10 +++ .../src/v1/zone_operations_client.ts | 8 ++ .../src/v1/zones_client.ts | 4 + 78 files changed, 1148 insertions(+) diff --git a/packages/google-cloud-compute/src/v1/accelerator_types_client.ts b/packages/google-cloud-compute/src/v1/accelerator_types_client.ts index e838923bf01..6ab01173e1a 100644 --- a/packages/google-cloud-compute/src/v1/accelerator_types_client.ts +++ b/packages/google-cloud-compute/src/v1/accelerator_types_client.ts @@ -366,7 +366,9 @@ export class AcceleratorTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetAcceleratorTypeRequest, @@ -453,10 +455,12 @@ export class AcceleratorTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListAcceleratorTypesRequest, @@ -696,10 +700,12 @@ export class AcceleratorTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListAcceleratorTypesRequest, diff --git a/packages/google-cloud-compute/src/v1/addresses_client.ts b/packages/google-cloud-compute/src/v1/addresses_client.ts index 49c94cbd9c5..b925d05c75a 100644 --- a/packages/google-cloud-compute/src/v1/addresses_client.ts +++ b/packages/google-cloud-compute/src/v1/addresses_client.ts @@ -376,7 +376,9 @@ export class AddressesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteAddressRequest, @@ -485,7 +487,9 @@ export class AddressesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetAddressRequest, @@ -583,7 +587,9 @@ export class AddressesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertAddressRequest, @@ -688,10 +694,12 @@ export class AddressesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListAddressesRequest, @@ -929,10 +937,12 @@ export class AddressesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListAddressesRequest, diff --git a/packages/google-cloud-compute/src/v1/autoscalers_client.ts b/packages/google-cloud-compute/src/v1/autoscalers_client.ts index 89e5b5321db..946d9ae1aa0 100644 --- a/packages/google-cloud-compute/src/v1/autoscalers_client.ts +++ b/packages/google-cloud-compute/src/v1/autoscalers_client.ts @@ -382,7 +382,9 @@ export class AutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteAutoscalerRequest, @@ -493,7 +495,9 @@ export class AutoscalersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetAutoscalerRequest, @@ -597,7 +601,9 @@ export class AutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertAutoscalerRequest, @@ -721,7 +727,9 @@ export class AutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchAutoscalerRequest, @@ -847,7 +855,9 @@ export class AutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateAutoscalerRequest, @@ -954,10 +964,12 @@ export class AutoscalersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListAutoscalersRequest, @@ -1195,10 +1207,12 @@ export class AutoscalersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListAutoscalersRequest, diff --git a/packages/google-cloud-compute/src/v1/backend_buckets_client.ts b/packages/google-cloud-compute/src/v1/backend_buckets_client.ts index 061e2eb26e0..83a8301f02c 100644 --- a/packages/google-cloud-compute/src/v1/backend_buckets_client.ts +++ b/packages/google-cloud-compute/src/v1/backend_buckets_client.ts @@ -378,7 +378,9 @@ export class BackendBucketsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addSignedUrlKey(request); + * ``` */ addSignedUrlKey( request?: protos.google.cloud.compute.v1.IAddSignedUrlKeyBackendBucketRequest, @@ -502,7 +504,9 @@ export class BackendBucketsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteBackendBucketRequest, @@ -628,7 +632,9 @@ export class BackendBucketsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deleteSignedUrlKey(request); + * ``` */ deleteSignedUrlKey( request?: protos.google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest, @@ -741,7 +747,9 @@ export class BackendBucketsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetBackendBucketRequest, @@ -845,7 +853,9 @@ export class BackendBucketsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertBackendBucketRequest, @@ -971,7 +981,9 @@ export class BackendBucketsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchBackendBucketRequest, @@ -1097,7 +1109,9 @@ export class BackendBucketsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateBackendBucketRequest, @@ -1368,10 +1382,12 @@ export class BackendBucketsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListBackendBucketsRequest, diff --git a/packages/google-cloud-compute/src/v1/backend_services_client.ts b/packages/google-cloud-compute/src/v1/backend_services_client.ts index e868a35d96e..bdf4ac57d29 100644 --- a/packages/google-cloud-compute/src/v1/backend_services_client.ts +++ b/packages/google-cloud-compute/src/v1/backend_services_client.ts @@ -386,7 +386,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addSignedUrlKey(request); + * ``` */ addSignedUrlKey( request?: protos.google.cloud.compute.v1.IAddSignedUrlKeyBackendServiceRequest, @@ -510,7 +512,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteBackendServiceRequest, @@ -636,7 +640,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deleteSignedUrlKey(request); + * ``` */ deleteSignedUrlKey( request?: protos.google.cloud.compute.v1.IDeleteSignedUrlKeyBackendServiceRequest, @@ -749,7 +755,9 @@ export class BackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetBackendServiceRequest, @@ -850,7 +858,9 @@ export class BackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getHealth(request); + * ``` */ getHealth( request?: protos.google.cloud.compute.v1.IGetHealthBackendServiceRequest, @@ -957,7 +967,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertBackendServiceRequest, @@ -1083,7 +1095,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchBackendServiceRequest, @@ -1209,7 +1223,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setSecurityPolicy(request); + * ``` */ setSecurityPolicy( request?: protos.google.cloud.compute.v1.ISetSecurityPolicyBackendServiceRequest, @@ -1335,7 +1351,9 @@ export class BackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateBackendServiceRequest, @@ -1442,10 +1460,12 @@ export class BackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListBackendServicesRequest, @@ -1677,10 +1697,12 @@ export class BackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListBackendServicesRequest, diff --git a/packages/google-cloud-compute/src/v1/disk_types_client.ts b/packages/google-cloud-compute/src/v1/disk_types_client.ts index 7a03942b607..5cc736251a1 100644 --- a/packages/google-cloud-compute/src/v1/disk_types_client.ts +++ b/packages/google-cloud-compute/src/v1/disk_types_client.ts @@ -359,7 +359,9 @@ export class DiskTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetDiskTypeRequest, @@ -442,10 +444,12 @@ export class DiskTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListDiskTypesRequest, @@ -683,10 +687,12 @@ export class DiskTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListDiskTypesRequest, diff --git a/packages/google-cloud-compute/src/v1/disks_client.ts b/packages/google-cloud-compute/src/v1/disks_client.ts index 65d4b351488..3defd54e90d 100644 --- a/packages/google-cloud-compute/src/v1/disks_client.ts +++ b/packages/google-cloud-compute/src/v1/disks_client.ts @@ -390,7 +390,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addResourcePolicies(request); + * ``` */ addResourcePolicies( request?: protos.google.cloud.compute.v1.IAddResourcePoliciesDiskRequest, @@ -520,7 +522,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.createSnapshot(request); + * ``` */ createSnapshot( request?: protos.google.cloud.compute.v1.ICreateSnapshotDiskRequest, @@ -642,7 +646,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteDiskRequest, @@ -749,7 +755,9 @@ export class DisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetDiskRequest, @@ -842,7 +850,9 @@ export class DisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyDiskRequest, @@ -946,7 +956,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertDiskRequest, @@ -1070,7 +1082,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeResourcePolicies(request); + * ``` */ removeResourcePolicies( request?: protos.google.cloud.compute.v1.IRemoveResourcePoliciesDiskRequest, @@ -1194,7 +1208,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.resize(request); + * ``` */ resize( request?: protos.google.cloud.compute.v1.IResizeDiskRequest, @@ -1307,7 +1323,9 @@ export class DisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyDiskRequest, @@ -1411,7 +1429,9 @@ export class DisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsDiskRequest, @@ -1526,7 +1546,9 @@ export class DisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsDiskRequest, @@ -1613,10 +1635,12 @@ export class DisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListDisksRequest, @@ -1852,10 +1876,12 @@ export class DisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListDisksRequest, diff --git a/packages/google-cloud-compute/src/v1/external_vpn_gateways_client.ts b/packages/google-cloud-compute/src/v1/external_vpn_gateways_client.ts index a694072bdc5..40dd4d26272 100644 --- a/packages/google-cloud-compute/src/v1/external_vpn_gateways_client.ts +++ b/packages/google-cloud-compute/src/v1/external_vpn_gateways_client.ts @@ -374,7 +374,9 @@ export class ExternalVpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteExternalVpnGatewayRequest, @@ -487,7 +489,9 @@ export class ExternalVpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetExternalVpnGatewayRequest, @@ -591,7 +595,9 @@ export class ExternalVpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertExternalVpnGatewayRequest, @@ -711,7 +717,9 @@ export class ExternalVpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsExternalVpnGatewayRequest, @@ -829,7 +837,9 @@ export class ExternalVpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsExternalVpnGatewayRequest, @@ -1085,10 +1095,12 @@ export class ExternalVpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListExternalVpnGatewaysRequest, diff --git a/packages/google-cloud-compute/src/v1/firewall_policies_client.ts b/packages/google-cloud-compute/src/v1/firewall_policies_client.ts index 4d80a8dae0a..a6cf9809f45 100644 --- a/packages/google-cloud-compute/src/v1/firewall_policies_client.ts +++ b/packages/google-cloud-compute/src/v1/firewall_policies_client.ts @@ -388,7 +388,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addAssociation(request); + * ``` */ addAssociation( request?: protos.google.cloud.compute.v1.IAddAssociationFirewallPolicyRequest, @@ -512,7 +514,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addRule(request); + * ``` */ addRule( request?: protos.google.cloud.compute.v1.IAddRuleFirewallPolicyRequest, @@ -636,7 +640,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.cloneRules(request); + * ``` */ cloneRules( request?: protos.google.cloud.compute.v1.ICloneRulesFirewallPolicyRequest, @@ -758,7 +764,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteFirewallPolicyRequest, @@ -869,7 +877,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetFirewallPolicyRequest, @@ -965,7 +975,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getAssociation(request); + * ``` */ getAssociation( request?: protos.google.cloud.compute.v1.IGetAssociationFirewallPolicyRequest, @@ -1064,7 +1076,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyFirewallPolicyRequest, @@ -1160,7 +1174,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getRule(request); + * ``` */ getRule( request?: protos.google.cloud.compute.v1.IGetRuleFirewallPolicyRequest, @@ -1264,7 +1280,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertFirewallPolicyRequest, @@ -1372,7 +1390,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.listAssociations(request); + * ``` */ listAssociations( request?: protos.google.cloud.compute.v1.IListAssociationsFirewallPolicyRequest, @@ -1473,7 +1493,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.move(request); + * ``` */ move( request?: protos.google.cloud.compute.v1.IMoveFirewallPolicyRequest, @@ -1597,7 +1619,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchFirewallPolicyRequest, @@ -1723,7 +1747,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patchRule(request); + * ``` */ patchRule( request?: protos.google.cloud.compute.v1.IPatchRuleFirewallPolicyRequest, @@ -1847,7 +1873,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeAssociation(request); + * ``` */ removeAssociation( request?: protos.google.cloud.compute.v1.IRemoveAssociationFirewallPolicyRequest, @@ -1971,7 +1999,9 @@ export class FirewallPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeRule(request); + * ``` */ removeRule( request?: protos.google.cloud.compute.v1.IRemoveRuleFirewallPolicyRequest, @@ -2087,7 +2117,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyFirewallPolicyRequest, @@ -2186,7 +2218,9 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsFirewallPolicyRequest, @@ -2428,10 +2462,12 @@ export class FirewallPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListFirewallPoliciesRequest, diff --git a/packages/google-cloud-compute/src/v1/firewalls_client.ts b/packages/google-cloud-compute/src/v1/firewalls_client.ts index 88385c021b3..ad78d17983e 100644 --- a/packages/google-cloud-compute/src/v1/firewalls_client.ts +++ b/packages/google-cloud-compute/src/v1/firewalls_client.ts @@ -370,7 +370,9 @@ export class FirewallsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteFirewallRequest, @@ -477,7 +479,9 @@ export class FirewallsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetFirewallRequest, @@ -573,7 +577,9 @@ export class FirewallsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertFirewallRequest, @@ -693,7 +699,9 @@ export class FirewallsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchFirewallRequest, @@ -813,7 +821,9 @@ export class FirewallsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateFirewallRequest, @@ -1082,10 +1092,12 @@ export class FirewallsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListFirewallsRequest, diff --git a/packages/google-cloud-compute/src/v1/forwarding_rules_client.ts b/packages/google-cloud-compute/src/v1/forwarding_rules_client.ts index 7a452863f5c..0f1ca7313e6 100644 --- a/packages/google-cloud-compute/src/v1/forwarding_rules_client.ts +++ b/packages/google-cloud-compute/src/v1/forwarding_rules_client.ts @@ -383,7 +383,9 @@ export class ForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteForwardingRuleRequest, @@ -498,7 +500,9 @@ export class ForwardingRulesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetForwardingRuleRequest, @@ -604,7 +608,9 @@ export class ForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertForwardingRuleRequest, @@ -732,7 +738,9 @@ export class ForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchForwardingRuleRequest, @@ -860,7 +868,9 @@ export class ForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsForwardingRuleRequest, @@ -988,7 +998,9 @@ export class ForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setTarget(request); + * ``` */ setTarget( request?: protos.google.cloud.compute.v1.ISetTargetForwardingRuleRequest, @@ -1095,10 +1107,12 @@ export class ForwardingRulesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListForwardingRulesRequest, @@ -1336,10 +1350,12 @@ export class ForwardingRulesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListForwardingRulesRequest, diff --git a/packages/google-cloud-compute/src/v1/global_addresses_client.ts b/packages/google-cloud-compute/src/v1/global_addresses_client.ts index 4cc24ff2439..c77adb15f46 100644 --- a/packages/google-cloud-compute/src/v1/global_addresses_client.ts +++ b/packages/google-cloud-compute/src/v1/global_addresses_client.ts @@ -367,7 +367,9 @@ export class GlobalAddressesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteGlobalAddressRequest, @@ -480,7 +482,9 @@ export class GlobalAddressesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetGlobalAddressRequest, @@ -584,7 +588,9 @@ export class GlobalAddressesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertGlobalAddressRequest, @@ -855,10 +861,12 @@ export class GlobalAddressesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListGlobalAddressesRequest, diff --git a/packages/google-cloud-compute/src/v1/global_forwarding_rules_client.ts b/packages/google-cloud-compute/src/v1/global_forwarding_rules_client.ts index 73d5e9bf27d..8d6fb96aa2b 100644 --- a/packages/google-cloud-compute/src/v1/global_forwarding_rules_client.ts +++ b/packages/google-cloud-compute/src/v1/global_forwarding_rules_client.ts @@ -376,7 +376,9 @@ export class GlobalForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteGlobalForwardingRuleRequest, @@ -492,7 +494,9 @@ export class GlobalForwardingRulesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetGlobalForwardingRuleRequest, @@ -599,7 +603,9 @@ export class GlobalForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertGlobalForwardingRuleRequest, @@ -725,7 +731,9 @@ export class GlobalForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchGlobalForwardingRuleRequest, @@ -845,7 +853,9 @@ export class GlobalForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsGlobalForwardingRuleRequest, @@ -971,7 +981,9 @@ export class GlobalForwardingRulesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setTarget(request); + * ``` */ setTarget( request?: protos.google.cloud.compute.v1.ISetTargetGlobalForwardingRuleRequest, @@ -1242,10 +1254,12 @@ export class GlobalForwardingRulesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListGlobalForwardingRulesRequest, diff --git a/packages/google-cloud-compute/src/v1/global_network_endpoint_groups_client.ts b/packages/google-cloud-compute/src/v1/global_network_endpoint_groups_client.ts index fc4ba73bc03..015bedd095c 100644 --- a/packages/google-cloud-compute/src/v1/global_network_endpoint_groups_client.ts +++ b/packages/google-cloud-compute/src/v1/global_network_endpoint_groups_client.ts @@ -384,7 +384,9 @@ export class GlobalNetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.attachNetworkEndpoints(request); + * ``` */ attachNetworkEndpoints( request?: protos.google.cloud.compute.v1.IAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, @@ -508,7 +510,9 @@ export class GlobalNetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteGlobalNetworkEndpointGroupRequest, @@ -634,7 +638,9 @@ export class GlobalNetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.detachNetworkEndpoints(request); + * ``` */ detachNetworkEndpoints( request?: protos.google.cloud.compute.v1.IDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, @@ -750,7 +756,9 @@ export class GlobalNetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetGlobalNetworkEndpointGroupRequest, @@ -857,7 +865,9 @@ export class GlobalNetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertGlobalNetworkEndpointGroupRequest, @@ -1136,10 +1146,12 @@ export class GlobalNetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListGlobalNetworkEndpointGroupsRequest, @@ -1381,10 +1393,12 @@ export class GlobalNetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listNetworkEndpointsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listNetworkEndpointsAsync( request?: protos.google.cloud.compute.v1.IListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, diff --git a/packages/google-cloud-compute/src/v1/global_operations_client.ts b/packages/google-cloud-compute/src/v1/global_operations_client.ts index cb3a009ac3b..b4e591d6d0c 100644 --- a/packages/google-cloud-compute/src/v1/global_operations_client.ts +++ b/packages/google-cloud-compute/src/v1/global_operations_client.ts @@ -366,7 +366,9 @@ export class GlobalOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteGlobalOperationRequest, @@ -459,7 +461,9 @@ export class GlobalOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetGlobalOperationRequest, @@ -556,7 +560,9 @@ export class GlobalOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.wait(request); + * ``` */ wait( request?: protos.google.cloud.compute.v1.IWaitGlobalOperationRequest, @@ -643,10 +649,12 @@ export class GlobalOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, @@ -878,10 +886,12 @@ export class GlobalOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListGlobalOperationsRequest, diff --git a/packages/google-cloud-compute/src/v1/global_organization_operations_client.ts b/packages/google-cloud-compute/src/v1/global_organization_operations_client.ts index d4138f1424b..ea5a6d37a1d 100644 --- a/packages/google-cloud-compute/src/v1/global_organization_operations_client.ts +++ b/packages/google-cloud-compute/src/v1/global_organization_operations_client.ts @@ -360,7 +360,9 @@ export class GlobalOrganizationOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, @@ -459,7 +461,9 @@ export class GlobalOrganizationOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, @@ -701,10 +705,12 @@ export class GlobalOrganizationOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, diff --git a/packages/google-cloud-compute/src/v1/global_public_delegated_prefixes_client.ts b/packages/google-cloud-compute/src/v1/global_public_delegated_prefixes_client.ts index 4cc775e699a..c0450891d20 100644 --- a/packages/google-cloud-compute/src/v1/global_public_delegated_prefixes_client.ts +++ b/packages/google-cloud-compute/src/v1/global_public_delegated_prefixes_client.ts @@ -375,7 +375,9 @@ export class GlobalPublicDelegatedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteGlobalPublicDelegatedPrefixeRequest, @@ -491,7 +493,9 @@ export class GlobalPublicDelegatedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetGlobalPublicDelegatedPrefixeRequest, @@ -598,7 +602,9 @@ export class GlobalPublicDelegatedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertGlobalPublicDelegatedPrefixeRequest, @@ -724,7 +730,9 @@ export class GlobalPublicDelegatedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchGlobalPublicDelegatedPrefixeRequest, @@ -1003,10 +1011,12 @@ export class GlobalPublicDelegatedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListGlobalPublicDelegatedPrefixesRequest, diff --git a/packages/google-cloud-compute/src/v1/health_checks_client.ts b/packages/google-cloud-compute/src/v1/health_checks_client.ts index 67d4790d474..978d8f85a7f 100644 --- a/packages/google-cloud-compute/src/v1/health_checks_client.ts +++ b/packages/google-cloud-compute/src/v1/health_checks_client.ts @@ -380,7 +380,9 @@ export class HealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteHealthCheckRequest, @@ -489,7 +491,9 @@ export class HealthChecksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetHealthCheckRequest, @@ -591,7 +595,9 @@ export class HealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertHealthCheckRequest, @@ -717,7 +723,9 @@ export class HealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchHealthCheckRequest, @@ -843,7 +851,9 @@ export class HealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateHealthCheckRequest, @@ -950,10 +960,12 @@ export class HealthChecksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListHealthChecksRequest, @@ -1185,10 +1197,12 @@ export class HealthChecksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListHealthChecksRequest, diff --git a/packages/google-cloud-compute/src/v1/images_client.ts b/packages/google-cloud-compute/src/v1/images_client.ts index 3dd368ed429..f70bb95b2bb 100644 --- a/packages/google-cloud-compute/src/v1/images_client.ts +++ b/packages/google-cloud-compute/src/v1/images_client.ts @@ -375,7 +375,9 @@ export class ImagesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteImageRequest, @@ -495,7 +497,9 @@ export class ImagesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deprecate(request); + * ``` */ deprecate( request?: protos.google.cloud.compute.v1.IDeprecateImageRequest, @@ -602,7 +606,9 @@ export class ImagesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetImageRequest, @@ -691,7 +697,9 @@ export class ImagesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getFromFamily(request); + * ``` */ getFromFamily( request?: protos.google.cloud.compute.v1.IGetFromFamilyImageRequest, @@ -786,7 +794,9 @@ export class ImagesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyImageRequest, @@ -888,7 +898,9 @@ export class ImagesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertImageRequest, @@ -1006,7 +1018,9 @@ export class ImagesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchImageRequest, @@ -1117,7 +1131,9 @@ export class ImagesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyImageRequest, @@ -1213,7 +1229,9 @@ export class ImagesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsImageRequest, @@ -1329,7 +1347,9 @@ export class ImagesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsImageRequest, @@ -1583,10 +1603,12 @@ export class ImagesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListImagesRequest, diff --git a/packages/google-cloud-compute/src/v1/instance_group_managers_client.ts b/packages/google-cloud-compute/src/v1/instance_group_managers_client.ts index 25e315f7d53..65d9341090d 100644 --- a/packages/google-cloud-compute/src/v1/instance_group_managers_client.ts +++ b/packages/google-cloud-compute/src/v1/instance_group_managers_client.ts @@ -417,7 +417,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.abandonInstances(request); + * ``` */ abandonInstances( request?: protos.google.cloud.compute.v1.IAbandonInstancesInstanceGroupManagerRequest, @@ -539,7 +541,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.applyUpdatesToInstances(request); + * ``` */ applyUpdatesToInstances( request?: protos.google.cloud.compute.v1.IApplyUpdatesToInstancesInstanceGroupManagerRequest, @@ -667,7 +671,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.createInstances(request); + * ``` */ createInstances( request?: protos.google.cloud.compute.v1.ICreateInstancesInstanceGroupManagerRequest, @@ -793,7 +799,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteInstanceGroupManagerRequest, @@ -925,7 +933,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deleteInstances(request); + * ``` */ deleteInstances( request?: protos.google.cloud.compute.v1.IDeleteInstancesInstanceGroupManagerRequest, @@ -1047,7 +1057,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deletePerInstanceConfigs(request); + * ``` */ deletePerInstanceConfigs( request?: protos.google.cloud.compute.v1.IDeletePerInstanceConfigsInstanceGroupManagerRequest, @@ -1165,7 +1177,9 @@ export class InstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInstanceGroupManagerRequest, @@ -1276,7 +1290,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertInstanceGroupManagerRequest, @@ -1404,7 +1420,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchInstanceGroupManagerRequest, @@ -1532,7 +1550,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patchPerInstanceConfigs(request); + * ``` */ patchPerInstanceConfigs( request?: protos.google.cloud.compute.v1.IPatchPerInstanceConfigsInstanceGroupManagerRequest, @@ -1664,7 +1684,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.recreateInstances(request); + * ``` */ recreateInstances( request?: protos.google.cloud.compute.v1.IRecreateInstancesInstanceGroupManagerRequest, @@ -1800,7 +1822,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.resize(request); + * ``` */ resize( request?: protos.google.cloud.compute.v1.IResizeInstanceGroupManagerRequest, @@ -1928,7 +1952,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setInstanceTemplate(request); + * ``` */ setInstanceTemplate( request?: protos.google.cloud.compute.v1.ISetInstanceTemplateInstanceGroupManagerRequest, @@ -2056,7 +2082,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setTargetPools(request); + * ``` */ setTargetPools( request?: protos.google.cloud.compute.v1.ISetTargetPoolsInstanceGroupManagerRequest, @@ -2184,7 +2212,9 @@ export class InstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updatePerInstanceConfigs(request); + * ``` */ updatePerInstanceConfigs( request?: protos.google.cloud.compute.v1.IUpdatePerInstanceConfigsInstanceGroupManagerRequest, @@ -2291,10 +2321,12 @@ export class InstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListInstanceGroupManagersRequest, @@ -2540,10 +2572,12 @@ export class InstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInstanceGroupManagersRequest, @@ -2791,10 +2825,12 @@ export class InstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listErrorsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listErrorsAsync( request?: protos.google.cloud.compute.v1.IListErrorsInstanceGroupManagersRequest, @@ -3042,10 +3078,12 @@ export class InstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listManagedInstancesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listManagedInstancesAsync( request?: protos.google.cloud.compute.v1.IListManagedInstancesInstanceGroupManagersRequest, @@ -3297,10 +3335,12 @@ export class InstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listPerInstanceConfigsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listPerInstanceConfigsAsync( request?: protos.google.cloud.compute.v1.IListPerInstanceConfigsInstanceGroupManagersRequest, diff --git a/packages/google-cloud-compute/src/v1/instance_groups_client.ts b/packages/google-cloud-compute/src/v1/instance_groups_client.ts index ac7b70b5de8..668efd3bb23 100644 --- a/packages/google-cloud-compute/src/v1/instance_groups_client.ts +++ b/packages/google-cloud-compute/src/v1/instance_groups_client.ts @@ -391,7 +391,9 @@ export class InstanceGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addInstances(request); + * ``` */ addInstances( request?: protos.google.cloud.compute.v1.IAddInstancesInstanceGroupRequest, @@ -517,7 +519,9 @@ export class InstanceGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteInstanceGroupRequest, @@ -634,7 +638,9 @@ export class InstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInstanceGroupRequest, @@ -740,7 +746,9 @@ export class InstanceGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertInstanceGroupRequest, @@ -870,7 +878,9 @@ export class InstanceGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeInstances(request); + * ``` */ removeInstances( request?: protos.google.cloud.compute.v1.IRemoveInstancesInstanceGroupRequest, @@ -998,7 +1008,9 @@ export class InstanceGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setNamedPorts(request); + * ``` */ setNamedPorts( request?: protos.google.cloud.compute.v1.ISetNamedPortsInstanceGroupRequest, @@ -1105,10 +1117,12 @@ export class InstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListInstanceGroupsRequest, @@ -1348,10 +1362,12 @@ export class InstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInstanceGroupsRequest, @@ -1605,10 +1621,12 @@ export class InstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listInstancesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listInstancesAsync( request?: protos.google.cloud.compute.v1.IListInstancesInstanceGroupsRequest, diff --git a/packages/google-cloud-compute/src/v1/instance_templates_client.ts b/packages/google-cloud-compute/src/v1/instance_templates_client.ts index 2bd03a78b88..70c48c1854d 100644 --- a/packages/google-cloud-compute/src/v1/instance_templates_client.ts +++ b/packages/google-cloud-compute/src/v1/instance_templates_client.ts @@ -375,7 +375,9 @@ export class InstanceTemplatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteInstanceTemplateRequest, @@ -488,7 +490,9 @@ export class InstanceTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInstanceTemplateRequest, @@ -586,7 +590,9 @@ export class InstanceTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyInstanceTemplateRequest, @@ -693,7 +699,9 @@ export class InstanceTemplatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertInstanceTemplateRequest, @@ -811,7 +819,9 @@ export class InstanceTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyInstanceTemplateRequest, @@ -912,7 +922,9 @@ export class InstanceTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsInstanceTemplateRequest, @@ -1168,10 +1180,12 @@ export class InstanceTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInstanceTemplatesRequest, diff --git a/packages/google-cloud-compute/src/v1/instances_client.ts b/packages/google-cloud-compute/src/v1/instances_client.ts index b5bff76f349..5cd5e8f8ff5 100644 --- a/packages/google-cloud-compute/src/v1/instances_client.ts +++ b/packages/google-cloud-compute/src/v1/instances_client.ts @@ -426,7 +426,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addAccessConfig(request); + * ``` */ addAccessConfig( request?: protos.google.cloud.compute.v1.IAddAccessConfigInstanceRequest, @@ -554,7 +556,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addResourcePolicies(request); + * ``` */ addResourcePolicies( request?: protos.google.cloud.compute.v1.IAddResourcePoliciesInstanceRequest, @@ -684,7 +688,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.attachDisk(request); + * ``` */ attachDisk( request?: protos.google.cloud.compute.v1.IAttachDiskInstanceRequest, @@ -810,7 +816,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.bulkInsert(request); + * ``` */ bulkInsert( request?: protos.google.cloud.compute.v1.IBulkInsertInstanceRequest, @@ -932,7 +940,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteInstanceRequest, @@ -1060,7 +1070,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deleteAccessConfig(request); + * ``` */ deleteAccessConfig( request?: protos.google.cloud.compute.v1.IDeleteAccessConfigInstanceRequest, @@ -1188,7 +1200,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.detachDisk(request); + * ``` */ detachDisk( request?: protos.google.cloud.compute.v1.IDetachDiskInstanceRequest, @@ -1299,7 +1313,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInstanceRequest, @@ -1395,7 +1411,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getEffectiveFirewalls(request); + * ``` */ getEffectiveFirewalls( request?: protos.google.cloud.compute.v1.IGetEffectiveFirewallsInstanceRequest, @@ -1500,7 +1518,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getGuestAttributes(request); + * ``` */ getGuestAttributes( request?: protos.google.cloud.compute.v1.IGetGuestAttributesInstanceRequest, @@ -1600,7 +1620,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyInstanceRequest, @@ -1695,7 +1717,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getScreenshot(request); + * ``` */ getScreenshot( request?: protos.google.cloud.compute.v1.IGetScreenshotInstanceRequest, @@ -1801,7 +1825,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getSerialPortOutput(request); + * ``` */ getSerialPortOutput( request?: protos.google.cloud.compute.v1.IGetSerialPortOutputInstanceRequest, @@ -1902,7 +1928,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getShieldedInstanceIdentity(request); + * ``` */ getShieldedInstanceIdentity( request?: protos.google.cloud.compute.v1.IGetShieldedInstanceIdentityInstanceRequest, @@ -2018,7 +2046,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertInstanceRequest, @@ -2144,7 +2174,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeResourcePolicies(request); + * ``` */ removeResourcePolicies( request?: protos.google.cloud.compute.v1.IRemoveResourcePoliciesInstanceRequest, @@ -2266,7 +2298,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.reset(request); + * ``` */ reset( request?: protos.google.cloud.compute.v1.IResetInstanceRequest, @@ -2392,7 +2426,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setDeletionProtection(request); + * ``` */ setDeletionProtection( request?: protos.google.cloud.compute.v1.ISetDeletionProtectionInstanceRequest, @@ -2522,7 +2558,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setDiskAutoDelete(request); + * ``` */ setDiskAutoDelete( request?: protos.google.cloud.compute.v1.ISetDiskAutoDeleteInstanceRequest, @@ -2639,7 +2677,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyInstanceRequest, @@ -2747,7 +2787,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsInstanceRequest, @@ -2875,7 +2917,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setMachineResources(request); + * ``` */ setMachineResources( request?: protos.google.cloud.compute.v1.ISetMachineResourcesInstanceRequest, @@ -3003,7 +3047,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setMachineType(request); + * ``` */ setMachineType( request?: protos.google.cloud.compute.v1.ISetMachineTypeInstanceRequest, @@ -3131,7 +3177,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setMetadata(request); + * ``` */ setMetadata( request?: protos.google.cloud.compute.v1.ISetMetadataInstanceRequest, @@ -3259,7 +3307,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setMinCpuPlatform(request); + * ``` */ setMinCpuPlatform( request?: protos.google.cloud.compute.v1.ISetMinCpuPlatformInstanceRequest, @@ -3387,7 +3437,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setScheduling(request); + * ``` */ setScheduling( request?: protos.google.cloud.compute.v1.ISetSchedulingInstanceRequest, @@ -3515,7 +3567,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setServiceAccount(request); + * ``` */ setServiceAccount( request?: protos.google.cloud.compute.v1.ISetServiceAccountInstanceRequest, @@ -3643,7 +3697,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setShieldedInstanceIntegrityPolicy(request); + * ``` */ setShieldedInstanceIntegrityPolicy( request?: protos.google.cloud.compute.v1.ISetShieldedInstanceIntegrityPolicyInstanceRequest, @@ -3767,7 +3823,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setTags(request); + * ``` */ setTags( request?: protos.google.cloud.compute.v1.ISetTagsInstanceRequest, @@ -3885,7 +3943,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.simulateMaintenanceEvent(request); + * ``` */ simulateMaintenanceEvent( request?: protos.google.cloud.compute.v1.ISimulateMaintenanceEventInstanceRequest, @@ -4007,7 +4067,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.start(request); + * ``` */ start( request?: protos.google.cloud.compute.v1.IStartInstanceRequest, @@ -4133,7 +4195,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.startWithEncryptionKey(request); + * ``` */ startWithEncryptionKey( request?: protos.google.cloud.compute.v1.IStartWithEncryptionKeyInstanceRequest, @@ -4255,7 +4319,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.stop(request); + * ``` */ stop( request?: protos.google.cloud.compute.v1.IStopInstanceRequest, @@ -4373,7 +4439,9 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsInstanceRequest, @@ -4484,7 +4552,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateInstanceRequest, @@ -4612,7 +4682,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updateAccessConfig(request); + * ``` */ updateAccessConfig( request?: protos.google.cloud.compute.v1.IUpdateAccessConfigInstanceRequest, @@ -4740,7 +4812,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updateDisplayDevice(request); + * ``` */ updateDisplayDevice( request?: protos.google.cloud.compute.v1.IUpdateDisplayDeviceInstanceRequest, @@ -4870,7 +4944,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updateNetworkInterface(request); + * ``` */ updateNetworkInterface( request?: protos.google.cloud.compute.v1.IUpdateNetworkInterfaceInstanceRequest, @@ -4998,7 +5074,9 @@ export class InstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updateShieldedInstanceConfig(request); + * ``` */ updateShieldedInstanceConfig( request?: protos.google.cloud.compute.v1.IUpdateShieldedInstanceConfigInstanceRequest, @@ -5105,10 +5183,12 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListInstancesRequest, @@ -5346,10 +5426,12 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInstancesRequest, @@ -5591,10 +5673,12 @@ export class InstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listReferrersAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listReferrersAsync( request?: protos.google.cloud.compute.v1.IListReferrersInstancesRequest, diff --git a/packages/google-cloud-compute/src/v1/interconnect_attachments_client.ts b/packages/google-cloud-compute/src/v1/interconnect_attachments_client.ts index fd5d7b2646f..b3e61c44dbc 100644 --- a/packages/google-cloud-compute/src/v1/interconnect_attachments_client.ts +++ b/packages/google-cloud-compute/src/v1/interconnect_attachments_client.ts @@ -382,7 +382,9 @@ export class InterconnectAttachmentsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteInterconnectAttachmentRequest, @@ -500,7 +502,9 @@ export class InterconnectAttachmentsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInterconnectAttachmentRequest, @@ -611,7 +615,9 @@ export class InterconnectAttachmentsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertInterconnectAttachmentRequest, @@ -739,7 +745,9 @@ export class InterconnectAttachmentsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchInterconnectAttachmentRequest, @@ -846,10 +854,12 @@ export class InterconnectAttachmentsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest, @@ -1098,10 +1108,12 @@ export class InterconnectAttachmentsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInterconnectAttachmentsRequest, diff --git a/packages/google-cloud-compute/src/v1/interconnect_locations_client.ts b/packages/google-cloud-compute/src/v1/interconnect_locations_client.ts index 42ca8dce165..b04c3192ff3 100644 --- a/packages/google-cloud-compute/src/v1/interconnect_locations_client.ts +++ b/packages/google-cloud-compute/src/v1/interconnect_locations_client.ts @@ -360,7 +360,9 @@ export class InterconnectLocationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInterconnectLocationRequest, @@ -622,10 +624,12 @@ export class InterconnectLocationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInterconnectLocationsRequest, diff --git a/packages/google-cloud-compute/src/v1/interconnects_client.ts b/packages/google-cloud-compute/src/v1/interconnects_client.ts index 369345f3481..30fd3675cf8 100644 --- a/packages/google-cloud-compute/src/v1/interconnects_client.ts +++ b/packages/google-cloud-compute/src/v1/interconnects_client.ts @@ -374,7 +374,9 @@ export class InterconnectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteInterconnectRequest, @@ -483,7 +485,9 @@ export class InterconnectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetInterconnectRequest, @@ -577,7 +581,9 @@ export class InterconnectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getDiagnostics(request); + * ``` */ getDiagnostics( request?: protos.google.cloud.compute.v1.IGetDiagnosticsInterconnectRequest, @@ -684,7 +690,9 @@ export class InterconnectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertInterconnectRequest, @@ -810,7 +818,9 @@ export class InterconnectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchInterconnectRequest, @@ -1081,10 +1091,12 @@ export class InterconnectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListInterconnectsRequest, diff --git a/packages/google-cloud-compute/src/v1/license_codes_client.ts b/packages/google-cloud-compute/src/v1/license_codes_client.ts index e3292220fd6..d38262511d9 100644 --- a/packages/google-cloud-compute/src/v1/license_codes_client.ts +++ b/packages/google-cloud-compute/src/v1/license_codes_client.ts @@ -332,7 +332,9 @@ export class LicenseCodesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetLicenseCodeRequest, @@ -428,7 +430,9 @@ export class LicenseCodesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsLicenseCodeRequest, diff --git a/packages/google-cloud-compute/src/v1/licenses_client.ts b/packages/google-cloud-compute/src/v1/licenses_client.ts index 896dd365b62..56110faf8d3 100644 --- a/packages/google-cloud-compute/src/v1/licenses_client.ts +++ b/packages/google-cloud-compute/src/v1/licenses_client.ts @@ -371,7 +371,9 @@ export class LicensesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteLicenseRequest, @@ -478,7 +480,9 @@ export class LicensesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetLicenseRequest, @@ -569,7 +573,9 @@ export class LicensesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyLicenseRequest, @@ -669,7 +675,9 @@ export class LicensesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertLicenseRequest, @@ -782,7 +790,9 @@ export class LicensesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyLicenseRequest, @@ -880,7 +890,9 @@ export class LicensesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsLicenseRequest, @@ -1136,10 +1148,12 @@ export class LicensesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListLicensesRequest, diff --git a/packages/google-cloud-compute/src/v1/machine_types_client.ts b/packages/google-cloud-compute/src/v1/machine_types_client.ts index 87e9319ccbb..642e1d01a14 100644 --- a/packages/google-cloud-compute/src/v1/machine_types_client.ts +++ b/packages/google-cloud-compute/src/v1/machine_types_client.ts @@ -359,7 +359,9 @@ export class MachineTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetMachineTypeRequest, @@ -444,10 +446,12 @@ export class MachineTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListMachineTypesRequest, @@ -685,10 +689,12 @@ export class MachineTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListMachineTypesRequest, diff --git a/packages/google-cloud-compute/src/v1/network_endpoint_groups_client.ts b/packages/google-cloud-compute/src/v1/network_endpoint_groups_client.ts index 5be63b2165d..7d0a472b265 100644 --- a/packages/google-cloud-compute/src/v1/network_endpoint_groups_client.ts +++ b/packages/google-cloud-compute/src/v1/network_endpoint_groups_client.ts @@ -392,7 +392,9 @@ export class NetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.attachNetworkEndpoints(request); + * ``` */ attachNetworkEndpoints( request?: protos.google.cloud.compute.v1.IAttachNetworkEndpointsNetworkEndpointGroupRequest, @@ -518,7 +520,9 @@ export class NetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteNetworkEndpointGroupRequest, @@ -646,7 +650,9 @@ export class NetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.detachNetworkEndpoints(request); + * ``` */ detachNetworkEndpoints( request?: protos.google.cloud.compute.v1.IDetachNetworkEndpointsNetworkEndpointGroupRequest, @@ -764,7 +770,9 @@ export class NetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetNetworkEndpointGroupRequest, @@ -873,7 +881,9 @@ export class NetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertNetworkEndpointGroupRequest, @@ -993,7 +1003,9 @@ export class NetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsNetworkEndpointGroupRequest, @@ -1083,10 +1095,12 @@ export class NetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListNetworkEndpointGroupsRequest, @@ -1332,10 +1346,12 @@ export class NetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListNetworkEndpointGroupsRequest, @@ -1589,10 +1605,12 @@ export class NetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listNetworkEndpointsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listNetworkEndpointsAsync( request?: protos.google.cloud.compute.v1.IListNetworkEndpointsNetworkEndpointGroupsRequest, diff --git a/packages/google-cloud-compute/src/v1/networks_client.ts b/packages/google-cloud-compute/src/v1/networks_client.ts index 3e63eed2212..92d4d16f2c5 100644 --- a/packages/google-cloud-compute/src/v1/networks_client.ts +++ b/packages/google-cloud-compute/src/v1/networks_client.ts @@ -386,7 +386,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addPeering(request); + * ``` */ addPeering( request?: protos.google.cloud.compute.v1.IAddPeeringNetworkRequest, @@ -506,7 +508,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteNetworkRequest, @@ -613,7 +617,9 @@ export class NetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetNetworkRequest, @@ -705,7 +711,9 @@ export class NetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getEffectiveFirewalls(request); + * ``` */ getEffectiveFirewalls( request?: protos.google.cloud.compute.v1.IGetEffectiveFirewallsNetworkRequest, @@ -808,7 +816,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertNetworkRequest, @@ -928,7 +938,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchNetworkRequest, @@ -1052,7 +1064,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removePeering(request); + * ``` */ removePeering( request?: protos.google.cloud.compute.v1.IRemovePeeringNetworkRequest, @@ -1176,7 +1190,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.switchToCustomMode(request); + * ``` */ switchToCustomMode( request?: protos.google.cloud.compute.v1.ISwitchToCustomModeNetworkRequest, @@ -1302,7 +1318,9 @@ export class NetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updatePeering(request); + * ``` */ updatePeering( request?: protos.google.cloud.compute.v1.IUpdatePeeringNetworkRequest, @@ -1573,10 +1591,12 @@ export class NetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListNetworksRequest, @@ -1836,10 +1856,12 @@ export class NetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listPeeringRoutesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listPeeringRoutesAsync( request?: protos.google.cloud.compute.v1.IListPeeringRoutesNetworksRequest, diff --git a/packages/google-cloud-compute/src/v1/node_groups_client.ts b/packages/google-cloud-compute/src/v1/node_groups_client.ts index e59e6969739..8c8a3a78db5 100644 --- a/packages/google-cloud-compute/src/v1/node_groups_client.ts +++ b/packages/google-cloud-compute/src/v1/node_groups_client.ts @@ -395,7 +395,9 @@ export class NodeGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addNodes(request); + * ``` */ addNodes( request?: protos.google.cloud.compute.v1.IAddNodesNodeGroupRequest, @@ -517,7 +519,9 @@ export class NodeGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteNodeGroupRequest, @@ -643,7 +647,9 @@ export class NodeGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deleteNodes(request); + * ``` */ deleteNodes( request?: protos.google.cloud.compute.v1.IDeleteNodesNodeGroupRequest, @@ -754,7 +760,9 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetNodeGroupRequest, @@ -849,7 +857,9 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyNodeGroupRequest, @@ -953,7 +963,9 @@ export class NodeGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertNodeGroupRequest, @@ -1075,7 +1087,9 @@ export class NodeGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchNodeGroupRequest, @@ -1190,7 +1204,9 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyNodeGroupRequest, @@ -1298,7 +1314,9 @@ export class NodeGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setNodeTemplate(request); + * ``` */ setNodeTemplate( request?: protos.google.cloud.compute.v1.ISetNodeTemplateNodeGroupRequest, @@ -1418,7 +1436,9 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsNodeGroupRequest, @@ -1508,10 +1528,12 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListNodeGroupsRequest, @@ -1749,10 +1771,12 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListNodeGroupsRequest, @@ -1994,10 +2018,12 @@ export class NodeGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listNodesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listNodesAsync( request?: protos.google.cloud.compute.v1.IListNodesNodeGroupsRequest, diff --git a/packages/google-cloud-compute/src/v1/node_templates_client.ts b/packages/google-cloud-compute/src/v1/node_templates_client.ts index 3f602195139..1bb6407d40d 100644 --- a/packages/google-cloud-compute/src/v1/node_templates_client.ts +++ b/packages/google-cloud-compute/src/v1/node_templates_client.ts @@ -383,7 +383,9 @@ export class NodeTemplatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteNodeTemplateRequest, @@ -494,7 +496,9 @@ export class NodeTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetNodeTemplateRequest, @@ -592,7 +596,9 @@ export class NodeTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyNodeTemplateRequest, @@ -701,7 +707,9 @@ export class NodeTemplatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertNodeTemplateRequest, @@ -821,7 +829,9 @@ export class NodeTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyNodeTemplateRequest, @@ -924,7 +934,9 @@ export class NodeTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsNodeTemplateRequest, @@ -1014,10 +1026,12 @@ export class NodeTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListNodeTemplatesRequest, @@ -1255,10 +1269,12 @@ export class NodeTemplatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListNodeTemplatesRequest, diff --git a/packages/google-cloud-compute/src/v1/node_types_client.ts b/packages/google-cloud-compute/src/v1/node_types_client.ts index 8fdd1ee1a89..2fbb901dd1a 100644 --- a/packages/google-cloud-compute/src/v1/node_types_client.ts +++ b/packages/google-cloud-compute/src/v1/node_types_client.ts @@ -359,7 +359,9 @@ export class NodeTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetNodeTypeRequest, @@ -442,10 +444,12 @@ export class NodeTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListNodeTypesRequest, @@ -683,10 +687,12 @@ export class NodeTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListNodeTypesRequest, diff --git a/packages/google-cloud-compute/src/v1/packet_mirrorings_client.ts b/packages/google-cloud-compute/src/v1/packet_mirrorings_client.ts index 8e3a312ad09..3744d138f2a 100644 --- a/packages/google-cloud-compute/src/v1/packet_mirrorings_client.ts +++ b/packages/google-cloud-compute/src/v1/packet_mirrorings_client.ts @@ -382,7 +382,9 @@ export class PacketMirroringsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeletePacketMirroringRequest, @@ -497,7 +499,9 @@ export class PacketMirroringsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetPacketMirroringRequest, @@ -603,7 +607,9 @@ export class PacketMirroringsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertPacketMirroringRequest, @@ -731,7 +737,9 @@ export class PacketMirroringsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchPacketMirroringRequest, @@ -851,7 +859,9 @@ export class PacketMirroringsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsPacketMirroringRequest, @@ -941,10 +951,12 @@ export class PacketMirroringsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListPacketMirroringsRequest, @@ -1184,10 +1196,12 @@ export class PacketMirroringsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListPacketMirroringsRequest, diff --git a/packages/google-cloud-compute/src/v1/projects_client.ts b/packages/google-cloud-compute/src/v1/projects_client.ts index 4ad1f3d166c..dfaa12c3f3d 100644 --- a/packages/google-cloud-compute/src/v1/projects_client.ts +++ b/packages/google-cloud-compute/src/v1/projects_client.ts @@ -384,7 +384,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.disableXpnHost(request); + * ``` */ disableXpnHost( request?: protos.google.cloud.compute.v1.IDisableXpnHostProjectRequest, @@ -508,7 +510,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.disableXpnResource(request); + * ``` */ disableXpnResource( request?: protos.google.cloud.compute.v1.IDisableXpnResourceProjectRequest, @@ -630,7 +634,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.enableXpnHost(request); + * ``` */ enableXpnHost( request?: protos.google.cloud.compute.v1.IEnableXpnHostProjectRequest, @@ -754,7 +760,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.enableXpnResource(request); + * ``` */ enableXpnResource( request?: protos.google.cloud.compute.v1.IEnableXpnResourceProjectRequest, @@ -861,7 +869,9 @@ export class ProjectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetProjectRequest, @@ -948,7 +958,9 @@ export class ProjectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getXpnHost(request); + * ``` */ getXpnHost( request?: protos.google.cloud.compute.v1.IGetXpnHostProjectRequest, @@ -1048,7 +1060,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.moveDisk(request); + * ``` */ moveDisk( request?: protos.google.cloud.compute.v1.IMoveDiskProjectRequest, @@ -1170,7 +1184,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.moveInstance(request); + * ``` */ moveInstance( request?: protos.google.cloud.compute.v1.IMoveInstanceProjectRequest, @@ -1294,7 +1310,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setCommonInstanceMetadata(request); + * ``` */ setCommonInstanceMetadata( request?: protos.google.cloud.compute.v1.ISetCommonInstanceMetadataProjectRequest, @@ -1418,7 +1436,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setDefaultNetworkTier(request); + * ``` */ setDefaultNetworkTier( request?: protos.google.cloud.compute.v1.ISetDefaultNetworkTierProjectRequest, @@ -1542,7 +1562,9 @@ export class ProjectsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setUsageExportBucket(request); + * ``` */ setUsageExportBucket( request?: protos.google.cloud.compute.v1.ISetUsageExportBucketProjectRequest, @@ -1821,10 +1843,12 @@ export class ProjectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.getXpnResourcesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ getXpnResourcesAsync( request?: protos.google.cloud.compute.v1.IGetXpnResourcesProjectsRequest, @@ -2058,10 +2082,12 @@ export class ProjectsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listXpnHostsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listXpnHostsAsync( request?: protos.google.cloud.compute.v1.IListXpnHostsProjectsRequest, diff --git a/packages/google-cloud-compute/src/v1/public_advertised_prefixes_client.ts b/packages/google-cloud-compute/src/v1/public_advertised_prefixes_client.ts index 5c524d5cbd4..00db3d992c0 100644 --- a/packages/google-cloud-compute/src/v1/public_advertised_prefixes_client.ts +++ b/packages/google-cloud-compute/src/v1/public_advertised_prefixes_client.ts @@ -375,7 +375,9 @@ export class PublicAdvertisedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeletePublicAdvertisedPrefixeRequest, @@ -491,7 +493,9 @@ export class PublicAdvertisedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetPublicAdvertisedPrefixeRequest, @@ -598,7 +602,9 @@ export class PublicAdvertisedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertPublicAdvertisedPrefixeRequest, @@ -724,7 +730,9 @@ export class PublicAdvertisedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchPublicAdvertisedPrefixeRequest, @@ -1003,10 +1011,12 @@ export class PublicAdvertisedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListPublicAdvertisedPrefixesRequest, diff --git a/packages/google-cloud-compute/src/v1/public_delegated_prefixes_client.ts b/packages/google-cloud-compute/src/v1/public_delegated_prefixes_client.ts index 52421129715..85e7ffec197 100644 --- a/packages/google-cloud-compute/src/v1/public_delegated_prefixes_client.ts +++ b/packages/google-cloud-compute/src/v1/public_delegated_prefixes_client.ts @@ -382,7 +382,9 @@ export class PublicDelegatedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeletePublicDelegatedPrefixeRequest, @@ -500,7 +502,9 @@ export class PublicDelegatedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetPublicDelegatedPrefixeRequest, @@ -609,7 +613,9 @@ export class PublicDelegatedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertPublicDelegatedPrefixeRequest, @@ -737,7 +743,9 @@ export class PublicDelegatedPrefixesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchPublicDelegatedPrefixeRequest, @@ -844,10 +852,12 @@ export class PublicDelegatedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListPublicDelegatedPrefixesRequest, @@ -1096,10 +1106,12 @@ export class PublicDelegatedPrefixesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListPublicDelegatedPrefixesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_autoscalers_client.ts b/packages/google-cloud-compute/src/v1/region_autoscalers_client.ts index 72f696322ae..83a51ed670a 100644 --- a/packages/google-cloud-compute/src/v1/region_autoscalers_client.ts +++ b/packages/google-cloud-compute/src/v1/region_autoscalers_client.ts @@ -376,7 +376,9 @@ export class RegionAutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionAutoscalerRequest, @@ -491,7 +493,9 @@ export class RegionAutoscalersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionAutoscalerRequest, @@ -597,7 +601,9 @@ export class RegionAutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionAutoscalerRequest, @@ -725,7 +731,9 @@ export class RegionAutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRegionAutoscalerRequest, @@ -853,7 +861,9 @@ export class RegionAutoscalersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateRegionAutoscalerRequest, @@ -1132,10 +1142,12 @@ export class RegionAutoscalersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionAutoscalersRequest, diff --git a/packages/google-cloud-compute/src/v1/region_backend_services_client.ts b/packages/google-cloud-compute/src/v1/region_backend_services_client.ts index 45d6d3c84b5..8ff9c0b5d73 100644 --- a/packages/google-cloud-compute/src/v1/region_backend_services_client.ts +++ b/packages/google-cloud-compute/src/v1/region_backend_services_client.ts @@ -378,7 +378,9 @@ export class RegionBackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionBackendServiceRequest, @@ -496,7 +498,9 @@ export class RegionBackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionBackendServiceRequest, @@ -598,7 +602,9 @@ export class RegionBackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getHealth(request); + * ``` */ getHealth( request?: protos.google.cloud.compute.v1.IGetHealthRegionBackendServiceRequest, @@ -707,7 +713,9 @@ export class RegionBackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionBackendServiceRequest, @@ -835,7 +843,9 @@ export class RegionBackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRegionBackendServiceRequest, @@ -963,7 +973,9 @@ export class RegionBackendServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateRegionBackendServiceRequest, @@ -1240,10 +1252,12 @@ export class RegionBackendServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionBackendServicesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_commitments_client.ts b/packages/google-cloud-compute/src/v1/region_commitments_client.ts index 03ead3c279b..937c1c4434c 100644 --- a/packages/google-cloud-compute/src/v1/region_commitments_client.ts +++ b/packages/google-cloud-compute/src/v1/region_commitments_client.ts @@ -368,7 +368,9 @@ export class RegionCommitmentsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionCommitmentRequest, @@ -474,7 +476,9 @@ export class RegionCommitmentsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionCommitmentRequest, @@ -581,10 +585,12 @@ export class RegionCommitmentsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListRegionCommitmentsRequest, @@ -822,10 +828,12 @@ export class RegionCommitmentsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionCommitmentsRequest, diff --git a/packages/google-cloud-compute/src/v1/region_disk_types_client.ts b/packages/google-cloud-compute/src/v1/region_disk_types_client.ts index f98ee095a27..486134e4272 100644 --- a/packages/google-cloud-compute/src/v1/region_disk_types_client.ts +++ b/packages/google-cloud-compute/src/v1/region_disk_types_client.ts @@ -358,7 +358,9 @@ export class RegionDiskTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionDiskTypeRequest, @@ -615,10 +617,12 @@ export class RegionDiskTypesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionDiskTypesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_disks_client.ts b/packages/google-cloud-compute/src/v1/region_disks_client.ts index 1dcdd2bf6a2..57136af88fa 100644 --- a/packages/google-cloud-compute/src/v1/region_disks_client.ts +++ b/packages/google-cloud-compute/src/v1/region_disks_client.ts @@ -384,7 +384,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addResourcePolicies(request); + * ``` */ addResourcePolicies( request?: protos.google.cloud.compute.v1.IAddResourcePoliciesRegionDiskRequest, @@ -512,7 +514,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.createSnapshot(request); + * ``` */ createSnapshot( request?: protos.google.cloud.compute.v1.ICreateSnapshotRegionDiskRequest, @@ -638,7 +642,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionDiskRequest, @@ -749,7 +755,9 @@ export class RegionDisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionDiskRequest, @@ -844,7 +852,9 @@ export class RegionDisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyRegionDiskRequest, @@ -952,7 +962,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionDiskRequest, @@ -1080,7 +1092,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeResourcePolicies(request); + * ``` */ removeResourcePolicies( request?: protos.google.cloud.compute.v1.IRemoveResourcePoliciesRegionDiskRequest, @@ -1208,7 +1222,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.resize(request); + * ``` */ resize( request?: protos.google.cloud.compute.v1.IResizeRegionDiskRequest, @@ -1325,7 +1341,9 @@ export class RegionDisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyRegionDiskRequest, @@ -1433,7 +1451,9 @@ export class RegionDisksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsRegionDiskRequest, @@ -1553,7 +1573,9 @@ export class RegionDisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsRegionDiskRequest, @@ -1813,10 +1835,12 @@ export class RegionDisksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionDisksRequest, diff --git a/packages/google-cloud-compute/src/v1/region_health_check_services_client.ts b/packages/google-cloud-compute/src/v1/region_health_check_services_client.ts index 40bc912514b..70d8652edd4 100644 --- a/packages/google-cloud-compute/src/v1/region_health_check_services_client.ts +++ b/packages/google-cloud-compute/src/v1/region_health_check_services_client.ts @@ -377,7 +377,9 @@ export class RegionHealthCheckServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionHealthCheckServiceRequest, @@ -495,7 +497,9 @@ export class RegionHealthCheckServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionHealthCheckServiceRequest, @@ -604,7 +608,9 @@ export class RegionHealthCheckServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionHealthCheckServiceRequest, @@ -732,7 +738,9 @@ export class RegionHealthCheckServicesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRegionHealthCheckServiceRequest, @@ -1017,10 +1025,12 @@ export class RegionHealthCheckServicesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionHealthCheckServicesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_health_checks_client.ts b/packages/google-cloud-compute/src/v1/region_health_checks_client.ts index db4d85a99d0..6fe363c2537 100644 --- a/packages/google-cloud-compute/src/v1/region_health_checks_client.ts +++ b/packages/google-cloud-compute/src/v1/region_health_checks_client.ts @@ -376,7 +376,9 @@ export class RegionHealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionHealthCheckRequest, @@ -491,7 +493,9 @@ export class RegionHealthChecksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionHealthCheckRequest, @@ -597,7 +601,9 @@ export class RegionHealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionHealthCheckRequest, @@ -725,7 +731,9 @@ export class RegionHealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRegionHealthCheckRequest, @@ -853,7 +861,9 @@ export class RegionHealthChecksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateRegionHealthCheckRequest, @@ -1130,10 +1140,12 @@ export class RegionHealthChecksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionHealthChecksRequest, diff --git a/packages/google-cloud-compute/src/v1/region_instance_group_managers_client.ts b/packages/google-cloud-compute/src/v1/region_instance_group_managers_client.ts index f895eab1f7f..2b8df4a9510 100644 --- a/packages/google-cloud-compute/src/v1/region_instance_group_managers_client.ts +++ b/packages/google-cloud-compute/src/v1/region_instance_group_managers_client.ts @@ -412,7 +412,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.abandonInstances(request); + * ``` */ abandonInstances( request?: protos.google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest, @@ -534,7 +536,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.applyUpdatesToInstances(request); + * ``` */ applyUpdatesToInstances( request?: protos.google.cloud.compute.v1.IApplyUpdatesToInstancesRegionInstanceGroupManagerRequest, @@ -662,7 +666,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.createInstances(request); + * ``` */ createInstances( request?: protos.google.cloud.compute.v1.ICreateInstancesRegionInstanceGroupManagerRequest, @@ -788,7 +794,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionInstanceGroupManagerRequest, @@ -920,7 +928,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deleteInstances(request); + * ``` */ deleteInstances( request?: protos.google.cloud.compute.v1.IDeleteInstancesRegionInstanceGroupManagerRequest, @@ -1042,7 +1052,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.deletePerInstanceConfigs(request); + * ``` */ deletePerInstanceConfigs( request?: protos.google.cloud.compute.v1.IDeletePerInstanceConfigsRegionInstanceGroupManagerRequest, @@ -1160,7 +1172,9 @@ export class RegionInstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionInstanceGroupManagerRequest, @@ -1271,7 +1285,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionInstanceGroupManagerRequest, @@ -1399,7 +1415,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRegionInstanceGroupManagerRequest, @@ -1527,7 +1545,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patchPerInstanceConfigs(request); + * ``` */ patchPerInstanceConfigs( request?: protos.google.cloud.compute.v1.IPatchPerInstanceConfigsRegionInstanceGroupManagerRequest, @@ -1659,7 +1679,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.recreateInstances(request); + * ``` */ recreateInstances( request?: protos.google.cloud.compute.v1.IRecreateInstancesRegionInstanceGroupManagerRequest, @@ -1791,7 +1813,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.resize(request); + * ``` */ resize( request?: protos.google.cloud.compute.v1.IResizeRegionInstanceGroupManagerRequest, @@ -1919,7 +1943,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setInstanceTemplate(request); + * ``` */ setInstanceTemplate( request?: protos.google.cloud.compute.v1.ISetInstanceTemplateRegionInstanceGroupManagerRequest, @@ -2047,7 +2073,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setTargetPools(request); + * ``` */ setTargetPools( request?: protos.google.cloud.compute.v1.ISetTargetPoolsRegionInstanceGroupManagerRequest, @@ -2175,7 +2203,9 @@ export class RegionInstanceGroupManagersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.updatePerInstanceConfigs(request); + * ``` */ updatePerInstanceConfigs( request?: protos.google.cloud.compute.v1.IUpdatePerInstanceConfigsRegionInstanceGroupManagerRequest, @@ -2460,10 +2490,12 @@ export class RegionInstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionInstanceGroupManagersRequest, @@ -2711,10 +2743,12 @@ export class RegionInstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listErrorsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listErrorsAsync( request?: protos.google.cloud.compute.v1.IListErrorsRegionInstanceGroupManagersRequest, @@ -2962,10 +2996,12 @@ export class RegionInstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listManagedInstancesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listManagedInstancesAsync( request?: protos.google.cloud.compute.v1.IListManagedInstancesRegionInstanceGroupManagersRequest, @@ -3217,10 +3253,12 @@ export class RegionInstanceGroupManagersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listPerInstanceConfigsAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listPerInstanceConfigsAsync( request?: protos.google.cloud.compute.v1.IListPerInstanceConfigsRegionInstanceGroupManagersRequest, diff --git a/packages/google-cloud-compute/src/v1/region_instance_groups_client.ts b/packages/google-cloud-compute/src/v1/region_instance_groups_client.ts index ec7270474e7..64d8fe4ad95 100644 --- a/packages/google-cloud-compute/src/v1/region_instance_groups_client.ts +++ b/packages/google-cloud-compute/src/v1/region_instance_groups_client.ts @@ -368,7 +368,9 @@ export class RegionInstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionInstanceGroupRequest, @@ -476,7 +478,9 @@ export class RegionInstanceGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setNamedPorts(request); + * ``` */ setNamedPorts( request?: protos.google.cloud.compute.v1.ISetNamedPortsRegionInstanceGroupRequest, @@ -761,10 +765,12 @@ export class RegionInstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionInstanceGroupsRequest, @@ -1018,10 +1024,12 @@ export class RegionInstanceGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listInstancesAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listInstancesAsync( request?: protos.google.cloud.compute.v1.IListInstancesRegionInstanceGroupsRequest, diff --git a/packages/google-cloud-compute/src/v1/region_instances_client.ts b/packages/google-cloud-compute/src/v1/region_instances_client.ts index 6c235d293e5..155b5cd2243 100644 --- a/packages/google-cloud-compute/src/v1/region_instances_client.ts +++ b/packages/google-cloud-compute/src/v1/region_instances_client.ts @@ -354,7 +354,9 @@ export class RegionInstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.bulkInsert(request); + * ``` */ bulkInsert( request?: protos.google.cloud.compute.v1.IBulkInsertRegionInstanceRequest, diff --git a/packages/google-cloud-compute/src/v1/region_network_endpoint_groups_client.ts b/packages/google-cloud-compute/src/v1/region_network_endpoint_groups_client.ts index 2624846fdc5..682649daf55 100644 --- a/packages/google-cloud-compute/src/v1/region_network_endpoint_groups_client.ts +++ b/packages/google-cloud-compute/src/v1/region_network_endpoint_groups_client.ts @@ -376,7 +376,9 @@ export class RegionNetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionNetworkEndpointGroupRequest, @@ -494,7 +496,9 @@ export class RegionNetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionNetworkEndpointGroupRequest, @@ -603,7 +607,9 @@ export class RegionNetworkEndpointGroupsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionNetworkEndpointGroupRequest, @@ -888,10 +894,12 @@ export class RegionNetworkEndpointGroupsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionNetworkEndpointGroupsRequest, diff --git a/packages/google-cloud-compute/src/v1/region_notification_endpoints_client.ts b/packages/google-cloud-compute/src/v1/region_notification_endpoints_client.ts index 3c9a88f81e5..29f429df9e6 100644 --- a/packages/google-cloud-compute/src/v1/region_notification_endpoints_client.ts +++ b/packages/google-cloud-compute/src/v1/region_notification_endpoints_client.ts @@ -376,7 +376,9 @@ export class RegionNotificationEndpointsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionNotificationEndpointRequest, @@ -494,7 +496,9 @@ export class RegionNotificationEndpointsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionNotificationEndpointRequest, @@ -603,7 +607,9 @@ export class RegionNotificationEndpointsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionNotificationEndpointRequest, @@ -888,10 +894,12 @@ export class RegionNotificationEndpointsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionNotificationEndpointsRequest, diff --git a/packages/google-cloud-compute/src/v1/region_operations_client.ts b/packages/google-cloud-compute/src/v1/region_operations_client.ts index 569fe5cf432..38d9fd5a789 100644 --- a/packages/google-cloud-compute/src/v1/region_operations_client.ts +++ b/packages/google-cloud-compute/src/v1/region_operations_client.ts @@ -357,7 +357,9 @@ export class RegionOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionOperationRequest, @@ -452,7 +454,9 @@ export class RegionOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionOperationRequest, @@ -551,7 +555,9 @@ export class RegionOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.wait(request); + * ``` */ wait( request?: protos.google.cloud.compute.v1.IWaitRegionOperationRequest, @@ -808,10 +814,12 @@ export class RegionOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionOperationsRequest, diff --git a/packages/google-cloud-compute/src/v1/region_ssl_certificates_client.ts b/packages/google-cloud-compute/src/v1/region_ssl_certificates_client.ts index ef8fcfda4d0..2a2933be052 100644 --- a/packages/google-cloud-compute/src/v1/region_ssl_certificates_client.ts +++ b/packages/google-cloud-compute/src/v1/region_ssl_certificates_client.ts @@ -375,7 +375,9 @@ export class RegionSslCertificatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionSslCertificateRequest, @@ -493,7 +495,9 @@ export class RegionSslCertificatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionSslCertificateRequest, @@ -602,7 +606,9 @@ export class RegionSslCertificatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionSslCertificateRequest, @@ -879,10 +885,12 @@ export class RegionSslCertificatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionSslCertificatesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_target_http_proxies_client.ts b/packages/google-cloud-compute/src/v1/region_target_http_proxies_client.ts index 441a7004cb1..b1bfe969ad1 100644 --- a/packages/google-cloud-compute/src/v1/region_target_http_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/region_target_http_proxies_client.ts @@ -376,7 +376,9 @@ export class RegionTargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionTargetHttpProxyRequest, @@ -494,7 +496,9 @@ export class RegionTargetHttpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionTargetHttpProxyRequest, @@ -603,7 +607,9 @@ export class RegionTargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionTargetHttpProxyRequest, @@ -731,7 +737,9 @@ export class RegionTargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setUrlMap(request); + * ``` */ setUrlMap( request?: protos.google.cloud.compute.v1.ISetUrlMapRegionTargetHttpProxyRequest, @@ -1010,10 +1018,12 @@ export class RegionTargetHttpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionTargetHttpProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_target_https_proxies_client.ts b/packages/google-cloud-compute/src/v1/region_target_https_proxies_client.ts index ff6ca774f22..331e2cfa0ea 100644 --- a/packages/google-cloud-compute/src/v1/region_target_https_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/region_target_https_proxies_client.ts @@ -378,7 +378,9 @@ export class RegionTargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionTargetHttpsProxyRequest, @@ -496,7 +498,9 @@ export class RegionTargetHttpsProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionTargetHttpsProxyRequest, @@ -605,7 +609,9 @@ export class RegionTargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionTargetHttpsProxyRequest, @@ -733,7 +739,9 @@ export class RegionTargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setSslCertificates(request); + * ``` */ setSslCertificates( request?: protos.google.cloud.compute.v1.ISetSslCertificatesRegionTargetHttpsProxyRequest, @@ -861,7 +869,9 @@ export class RegionTargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setUrlMap(request); + * ``` */ setUrlMap( request?: protos.google.cloud.compute.v1.ISetUrlMapRegionTargetHttpsProxyRequest, @@ -1140,10 +1150,12 @@ export class RegionTargetHttpsProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionTargetHttpsProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/region_url_maps_client.ts b/packages/google-cloud-compute/src/v1/region_url_maps_client.ts index 3e511076ae3..5849f187c21 100644 --- a/packages/google-cloud-compute/src/v1/region_url_maps_client.ts +++ b/packages/google-cloud-compute/src/v1/region_url_maps_client.ts @@ -373,7 +373,9 @@ export class RegionUrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRegionUrlMapRequest, @@ -484,7 +486,9 @@ export class RegionUrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionUrlMapRequest, @@ -584,7 +588,9 @@ export class RegionUrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRegionUrlMapRequest, @@ -708,7 +714,9 @@ export class RegionUrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRegionUrlMapRequest, @@ -832,7 +840,9 @@ export class RegionUrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateRegionUrlMapRequest, @@ -949,7 +959,9 @@ export class RegionUrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.validate(request); + * ``` */ validate( request?: protos.google.cloud.compute.v1.IValidateRegionUrlMapRequest, @@ -1206,10 +1218,12 @@ export class RegionUrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionUrlMapsRequest, diff --git a/packages/google-cloud-compute/src/v1/regions_client.ts b/packages/google-cloud-compute/src/v1/regions_client.ts index 5d2c8ce0fa7..055437db08c 100644 --- a/packages/google-cloud-compute/src/v1/regions_client.ts +++ b/packages/google-cloud-compute/src/v1/regions_client.ts @@ -352,7 +352,9 @@ export class RegionsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRegionRequest, @@ -599,10 +601,12 @@ export class RegionsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRegionsRequest, diff --git a/packages/google-cloud-compute/src/v1/reservations_client.ts b/packages/google-cloud-compute/src/v1/reservations_client.ts index a7372e3e840..6dcf40e3474 100644 --- a/packages/google-cloud-compute/src/v1/reservations_client.ts +++ b/packages/google-cloud-compute/src/v1/reservations_client.ts @@ -384,7 +384,9 @@ export class ReservationsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteReservationRequest, @@ -495,7 +497,9 @@ export class ReservationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetReservationRequest, @@ -593,7 +597,9 @@ export class ReservationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyReservationRequest, @@ -702,7 +708,9 @@ export class ReservationsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertReservationRequest, @@ -830,7 +838,9 @@ export class ReservationsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.resize(request); + * ``` */ resize( request?: protos.google.cloud.compute.v1.IResizeReservationRequest, @@ -950,7 +960,9 @@ export class ReservationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyReservationRequest, @@ -1053,7 +1065,9 @@ export class ReservationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsReservationRequest, @@ -1143,10 +1157,12 @@ export class ReservationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListReservationsRequest, @@ -1384,10 +1400,12 @@ export class ReservationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListReservationsRequest, diff --git a/packages/google-cloud-compute/src/v1/resource_policies_client.ts b/packages/google-cloud-compute/src/v1/resource_policies_client.ts index a79e4b9572b..b0694df6868 100644 --- a/packages/google-cloud-compute/src/v1/resource_policies_client.ts +++ b/packages/google-cloud-compute/src/v1/resource_policies_client.ts @@ -383,7 +383,9 @@ export class ResourcePoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteResourcePolicyRequest, @@ -498,7 +500,9 @@ export class ResourcePoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetResourcePolicyRequest, @@ -598,7 +602,9 @@ export class ResourcePoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicyResourcePolicyRequest, @@ -707,7 +713,9 @@ export class ResourcePoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertResourcePolicyRequest, @@ -827,7 +835,9 @@ export class ResourcePoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicyResourcePolicyRequest, @@ -930,7 +940,9 @@ export class ResourcePoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsResourcePolicyRequest, @@ -1020,10 +1032,12 @@ export class ResourcePoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListResourcePoliciesRequest, @@ -1261,10 +1275,12 @@ export class ResourcePoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListResourcePoliciesRequest, diff --git a/packages/google-cloud-compute/src/v1/routers_client.ts b/packages/google-cloud-compute/src/v1/routers_client.ts index 84cf11c06cd..ca61776d2c8 100644 --- a/packages/google-cloud-compute/src/v1/routers_client.ts +++ b/packages/google-cloud-compute/src/v1/routers_client.ts @@ -386,7 +386,9 @@ export class RoutersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRouterRequest, @@ -495,7 +497,9 @@ export class RoutersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRouterRequest, @@ -586,7 +590,9 @@ export class RoutersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getRouterStatus(request); + * ``` */ getRouterStatus( request?: protos.google.cloud.compute.v1.IGetRouterStatusRouterRequest, @@ -688,7 +694,9 @@ export class RoutersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRouterRequest, @@ -810,7 +818,9 @@ export class RoutersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchRouterRequest, @@ -919,7 +929,9 @@ export class RoutersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.preview(request); + * ``` */ preview( request?: protos.google.cloud.compute.v1.IPreviewRouterRequest, @@ -1021,7 +1033,9 @@ export class RoutersClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateRouterRequest, @@ -1126,10 +1140,12 @@ export class RoutersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListRoutersRequest, @@ -1381,10 +1397,12 @@ export class RoutersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.getNatMappingInfoAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ getNatMappingInfoAsync( request?: protos.google.cloud.compute.v1.IGetNatMappingInfoRoutersRequest, @@ -1618,10 +1636,12 @@ export class RoutersClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRoutersRequest, diff --git a/packages/google-cloud-compute/src/v1/routes_client.ts b/packages/google-cloud-compute/src/v1/routes_client.ts index cf3b9619c17..db201c5a6e0 100644 --- a/packages/google-cloud-compute/src/v1/routes_client.ts +++ b/packages/google-cloud-compute/src/v1/routes_client.ts @@ -363,7 +363,9 @@ export class RoutesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteRouteRequest, @@ -468,7 +470,9 @@ export class RoutesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetRouteRequest, @@ -564,7 +568,9 @@ export class RoutesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertRouteRequest, @@ -831,10 +837,12 @@ export class RoutesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListRoutesRequest, diff --git a/packages/google-cloud-compute/src/v1/security_policies_client.ts b/packages/google-cloud-compute/src/v1/security_policies_client.ts index 9661ec5b761..a4122de9b61 100644 --- a/packages/google-cloud-compute/src/v1/security_policies_client.ts +++ b/packages/google-cloud-compute/src/v1/security_policies_client.ts @@ -374,7 +374,9 @@ export class SecurityPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addRule(request); + * ``` */ addRule( request?: protos.google.cloud.compute.v1.IAddRuleSecurityPolicyRequest, @@ -498,7 +500,9 @@ export class SecurityPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteSecurityPolicyRequest, @@ -611,7 +615,9 @@ export class SecurityPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetSecurityPolicyRequest, @@ -706,7 +712,9 @@ export class SecurityPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getRule(request); + * ``` */ getRule( request?: protos.google.cloud.compute.v1.IGetRuleSecurityPolicyRequest, @@ -810,7 +818,9 @@ export class SecurityPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertSecurityPolicyRequest, @@ -944,7 +954,9 @@ export class SecurityPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.listPreconfiguredExpressionSets(request); + * ``` */ listPreconfiguredExpressionSets( request?: protos.google.cloud.compute.v1.IListPreconfiguredExpressionSetsSecurityPoliciesRequest, @@ -1057,7 +1069,9 @@ export class SecurityPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchSecurityPolicyRequest, @@ -1179,7 +1193,9 @@ export class SecurityPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patchRule(request); + * ``` */ patchRule( request?: protos.google.cloud.compute.v1.IPatchRuleSecurityPolicyRequest, @@ -1299,7 +1315,9 @@ export class SecurityPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeRule(request); + * ``` */ removeRule( request?: protos.google.cloud.compute.v1.IRemoveRuleSecurityPolicyRequest, @@ -1570,10 +1588,12 @@ export class SecurityPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListSecurityPoliciesRequest, diff --git a/packages/google-cloud-compute/src/v1/snapshots_client.ts b/packages/google-cloud-compute/src/v1/snapshots_client.ts index 87d4f0491d2..ef72ece03a4 100644 --- a/packages/google-cloud-compute/src/v1/snapshots_client.ts +++ b/packages/google-cloud-compute/src/v1/snapshots_client.ts @@ -373,7 +373,9 @@ export class SnapshotsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteSnapshotRequest, @@ -480,7 +482,9 @@ export class SnapshotsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetSnapshotRequest, @@ -571,7 +575,9 @@ export class SnapshotsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicySnapshotRequest, @@ -666,7 +672,9 @@ export class SnapshotsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicySnapshotRequest, @@ -766,7 +774,9 @@ export class SnapshotsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsSnapshotRequest, @@ -884,7 +894,9 @@ export class SnapshotsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsSnapshotRequest, @@ -1138,10 +1150,12 @@ export class SnapshotsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListSnapshotsRequest, diff --git a/packages/google-cloud-compute/src/v1/ssl_certificates_client.ts b/packages/google-cloud-compute/src/v1/ssl_certificates_client.ts index 67d1e382150..95ac6aa0e70 100644 --- a/packages/google-cloud-compute/src/v1/ssl_certificates_client.ts +++ b/packages/google-cloud-compute/src/v1/ssl_certificates_client.ts @@ -378,7 +378,9 @@ export class SslCertificatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteSslCertificateRequest, @@ -491,7 +493,9 @@ export class SslCertificatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetSslCertificateRequest, @@ -595,7 +599,9 @@ export class SslCertificatesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertSslCertificateRequest, @@ -702,10 +708,12 @@ export class SslCertificatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListSslCertificatesRequest, @@ -937,10 +945,12 @@ export class SslCertificatesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListSslCertificatesRequest, diff --git a/packages/google-cloud-compute/src/v1/ssl_policies_client.ts b/packages/google-cloud-compute/src/v1/ssl_policies_client.ts index 70ed6c79b39..a41d532babf 100644 --- a/packages/google-cloud-compute/src/v1/ssl_policies_client.ts +++ b/packages/google-cloud-compute/src/v1/ssl_policies_client.ts @@ -370,7 +370,9 @@ export class SslPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteSslPolicyRequest, @@ -477,7 +479,9 @@ export class SslPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetSslPolicyRequest, @@ -575,7 +579,9 @@ export class SslPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertSslPolicyRequest, @@ -707,7 +713,9 @@ export class SslPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.listAvailableFeatures(request); + * ``` */ listAvailableFeatures( request?: protos.google.cloud.compute.v1.IListAvailableFeaturesSslPoliciesRequest, @@ -812,7 +820,9 @@ export class SslPoliciesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchSslPolicyRequest, @@ -1081,10 +1091,12 @@ export class SslPoliciesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListSslPoliciesRequest, diff --git a/packages/google-cloud-compute/src/v1/subnetworks_client.ts b/packages/google-cloud-compute/src/v1/subnetworks_client.ts index c9c3e39665d..2c79f941fbb 100644 --- a/packages/google-cloud-compute/src/v1/subnetworks_client.ts +++ b/packages/google-cloud-compute/src/v1/subnetworks_client.ts @@ -392,7 +392,9 @@ export class SubnetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteSubnetworkRequest, @@ -520,7 +522,9 @@ export class SubnetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.expandIpCidrRange(request); + * ``` */ expandIpCidrRange( request?: protos.google.cloud.compute.v1.IExpandIpCidrRangeSubnetworkRequest, @@ -631,7 +635,9 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetSubnetworkRequest, @@ -726,7 +732,9 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getIamPolicy(request); + * ``` */ getIamPolicy( request?: protos.google.cloud.compute.v1.IGetIamPolicySubnetworkRequest, @@ -832,7 +840,9 @@ export class SubnetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertSubnetworkRequest, @@ -958,7 +968,9 @@ export class SubnetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchSubnetworkRequest, @@ -1073,7 +1085,9 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.setIamPolicy(request); + * ``` */ setIamPolicy( request?: protos.google.cloud.compute.v1.ISetIamPolicySubnetworkRequest, @@ -1181,7 +1195,9 @@ export class SubnetworksClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setPrivateIpGoogleAccess(request); + * ``` */ setPrivateIpGoogleAccess( request?: protos.google.cloud.compute.v1.ISetPrivateIpGoogleAccessSubnetworkRequest, @@ -1301,7 +1317,9 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsSubnetworkRequest, @@ -1391,10 +1409,12 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListSubnetworksRequest, @@ -1632,10 +1652,12 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListSubnetworksRequest, @@ -1871,10 +1893,12 @@ export class SubnetworksClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listUsableAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listUsableAsync( request?: protos.google.cloud.compute.v1.IListUsableSubnetworksRequest, diff --git a/packages/google-cloud-compute/src/v1/target_grpc_proxies_client.ts b/packages/google-cloud-compute/src/v1/target_grpc_proxies_client.ts index 2b2707eacb2..830f782630b 100644 --- a/packages/google-cloud-compute/src/v1/target_grpc_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/target_grpc_proxies_client.ts @@ -373,7 +373,9 @@ export class TargetGrpcProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetGrpcProxyRequest, @@ -486,7 +488,9 @@ export class TargetGrpcProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetGrpcProxyRequest, @@ -590,7 +594,9 @@ export class TargetGrpcProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetGrpcProxyRequest, @@ -716,7 +722,9 @@ export class TargetGrpcProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchTargetGrpcProxyRequest, @@ -989,10 +997,12 @@ export class TargetGrpcProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetGrpcProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/target_http_proxies_client.ts b/packages/google-cloud-compute/src/v1/target_http_proxies_client.ts index 2b90e919837..90bf55a072e 100644 --- a/packages/google-cloud-compute/src/v1/target_http_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/target_http_proxies_client.ts @@ -380,7 +380,9 @@ export class TargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetHttpProxyRequest, @@ -493,7 +495,9 @@ export class TargetHttpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetHttpProxyRequest, @@ -597,7 +601,9 @@ export class TargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetHttpProxyRequest, @@ -723,7 +729,9 @@ export class TargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchTargetHttpProxyRequest, @@ -849,7 +857,9 @@ export class TargetHttpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setUrlMap(request); + * ``` */ setUrlMap( request?: protos.google.cloud.compute.v1.ISetUrlMapTargetHttpProxyRequest, @@ -956,10 +966,12 @@ export class TargetHttpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListTargetHttpProxiesRequest, @@ -1193,10 +1205,12 @@ export class TargetHttpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetHttpProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/target_https_proxies_client.ts b/packages/google-cloud-compute/src/v1/target_https_proxies_client.ts index d4f9e0da571..cf0e527bd36 100644 --- a/packages/google-cloud-compute/src/v1/target_https_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/target_https_proxies_client.ts @@ -383,7 +383,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetHttpsProxyRequest, @@ -496,7 +498,9 @@ export class TargetHttpsProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetHttpsProxyRequest, @@ -600,7 +604,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetHttpsProxyRequest, @@ -726,7 +732,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchTargetHttpsProxyRequest, @@ -852,7 +860,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setQuicOverride(request); + * ``` */ setQuicOverride( request?: protos.google.cloud.compute.v1.ISetQuicOverrideTargetHttpsProxyRequest, @@ -978,7 +988,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setSslCertificates(request); + * ``` */ setSslCertificates( request?: protos.google.cloud.compute.v1.ISetSslCertificatesTargetHttpsProxyRequest, @@ -1104,7 +1116,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setSslPolicy(request); + * ``` */ setSslPolicy( request?: protos.google.cloud.compute.v1.ISetSslPolicyTargetHttpsProxyRequest, @@ -1230,7 +1244,9 @@ export class TargetHttpsProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setUrlMap(request); + * ``` */ setUrlMap( request?: protos.google.cloud.compute.v1.ISetUrlMapTargetHttpsProxyRequest, @@ -1337,10 +1353,12 @@ export class TargetHttpsProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListTargetHttpsProxiesRequest, @@ -1574,10 +1592,12 @@ export class TargetHttpsProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetHttpsProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/target_instances_client.ts b/packages/google-cloud-compute/src/v1/target_instances_client.ts index 9aa193a7b27..6d89d827a01 100644 --- a/packages/google-cloud-compute/src/v1/target_instances_client.ts +++ b/packages/google-cloud-compute/src/v1/target_instances_client.ts @@ -380,7 +380,9 @@ export class TargetInstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetInstanceRequest, @@ -495,7 +497,9 @@ export class TargetInstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetInstanceRequest, @@ -601,7 +605,9 @@ export class TargetInstancesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetInstanceRequest, @@ -708,10 +714,12 @@ export class TargetInstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListTargetInstancesRequest, @@ -949,10 +957,12 @@ export class TargetInstancesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetInstancesRequest, diff --git a/packages/google-cloud-compute/src/v1/target_pools_client.ts b/packages/google-cloud-compute/src/v1/target_pools_client.ts index b3500979128..f54576241a8 100644 --- a/packages/google-cloud-compute/src/v1/target_pools_client.ts +++ b/packages/google-cloud-compute/src/v1/target_pools_client.ts @@ -388,7 +388,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addHealthCheck(request); + * ``` */ addHealthCheck( request?: protos.google.cloud.compute.v1.IAddHealthCheckTargetPoolRequest, @@ -516,7 +518,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.addInstance(request); + * ``` */ addInstance( request?: protos.google.cloud.compute.v1.IAddInstanceTargetPoolRequest, @@ -642,7 +646,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetPoolRequest, @@ -753,7 +759,9 @@ export class TargetPoolsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetPoolRequest, @@ -848,7 +856,9 @@ export class TargetPoolsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getHealth(request); + * ``` */ getHealth( request?: protos.google.cloud.compute.v1.IGetHealthTargetPoolRequest, @@ -954,7 +964,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetPoolRequest, @@ -1082,7 +1094,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeHealthCheck(request); + * ``` */ removeHealthCheck( request?: protos.google.cloud.compute.v1.IRemoveHealthCheckTargetPoolRequest, @@ -1210,7 +1224,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.removeInstance(request); + * ``` */ removeInstance( request?: protos.google.cloud.compute.v1.IRemoveInstanceTargetPoolRequest, @@ -1340,7 +1356,9 @@ export class TargetPoolsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setBackup(request); + * ``` */ setBackup( request?: protos.google.cloud.compute.v1.ISetBackupTargetPoolRequest, @@ -1447,10 +1465,12 @@ export class TargetPoolsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListTargetPoolsRequest, @@ -1688,10 +1708,12 @@ export class TargetPoolsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetPoolsRequest, diff --git a/packages/google-cloud-compute/src/v1/target_ssl_proxies_client.ts b/packages/google-cloud-compute/src/v1/target_ssl_proxies_client.ts index 0e4353ac1e3..bb5ad9df3f6 100644 --- a/packages/google-cloud-compute/src/v1/target_ssl_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/target_ssl_proxies_client.ts @@ -376,7 +376,9 @@ export class TargetSslProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetSslProxyRequest, @@ -489,7 +491,9 @@ export class TargetSslProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetSslProxyRequest, @@ -593,7 +597,9 @@ export class TargetSslProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetSslProxyRequest, @@ -719,7 +725,9 @@ export class TargetSslProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setBackendService(request); + * ``` */ setBackendService( request?: protos.google.cloud.compute.v1.ISetBackendServiceTargetSslProxyRequest, @@ -845,7 +853,9 @@ export class TargetSslProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setProxyHeader(request); + * ``` */ setProxyHeader( request?: protos.google.cloud.compute.v1.ISetProxyHeaderTargetSslProxyRequest, @@ -971,7 +981,9 @@ export class TargetSslProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setSslCertificates(request); + * ``` */ setSslCertificates( request?: protos.google.cloud.compute.v1.ISetSslCertificatesTargetSslProxyRequest, @@ -1097,7 +1109,9 @@ export class TargetSslProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setSslPolicy(request); + * ``` */ setSslPolicy( request?: protos.google.cloud.compute.v1.ISetSslPolicyTargetSslProxyRequest, @@ -1368,10 +1382,12 @@ export class TargetSslProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetSslProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/target_tcp_proxies_client.ts b/packages/google-cloud-compute/src/v1/target_tcp_proxies_client.ts index 90ff9cd1403..028984ab382 100644 --- a/packages/google-cloud-compute/src/v1/target_tcp_proxies_client.ts +++ b/packages/google-cloud-compute/src/v1/target_tcp_proxies_client.ts @@ -374,7 +374,9 @@ export class TargetTcpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetTcpProxyRequest, @@ -487,7 +489,9 @@ export class TargetTcpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetTcpProxyRequest, @@ -591,7 +595,9 @@ export class TargetTcpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetTcpProxyRequest, @@ -717,7 +723,9 @@ export class TargetTcpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setBackendService(request); + * ``` */ setBackendService( request?: protos.google.cloud.compute.v1.ISetBackendServiceTargetTcpProxyRequest, @@ -843,7 +851,9 @@ export class TargetTcpProxiesClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setProxyHeader(request); + * ``` */ setProxyHeader( request?: protos.google.cloud.compute.v1.ISetProxyHeaderTargetTcpProxyRequest, @@ -1114,10 +1124,12 @@ export class TargetTcpProxiesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetTcpProxiesRequest, diff --git a/packages/google-cloud-compute/src/v1/target_vpn_gateways_client.ts b/packages/google-cloud-compute/src/v1/target_vpn_gateways_client.ts index 8983657d99b..aad7a36e86b 100644 --- a/packages/google-cloud-compute/src/v1/target_vpn_gateways_client.ts +++ b/packages/google-cloud-compute/src/v1/target_vpn_gateways_client.ts @@ -380,7 +380,9 @@ export class TargetVpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteTargetVpnGatewayRequest, @@ -495,7 +497,9 @@ export class TargetVpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetTargetVpnGatewayRequest, @@ -601,7 +605,9 @@ export class TargetVpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertTargetVpnGatewayRequest, @@ -708,10 +714,12 @@ export class TargetVpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListTargetVpnGatewaysRequest, @@ -951,10 +959,12 @@ export class TargetVpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListTargetVpnGatewaysRequest, diff --git a/packages/google-cloud-compute/src/v1/url_maps_client.ts b/packages/google-cloud-compute/src/v1/url_maps_client.ts index 0661f3330bf..02f32a85c5e 100644 --- a/packages/google-cloud-compute/src/v1/url_maps_client.ts +++ b/packages/google-cloud-compute/src/v1/url_maps_client.ts @@ -378,7 +378,9 @@ export class UrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteUrlMapRequest, @@ -485,7 +487,9 @@ export class UrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetUrlMapRequest, @@ -581,7 +585,9 @@ export class UrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertUrlMapRequest, @@ -707,7 +713,9 @@ export class UrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.invalidateCache(request); + * ``` */ invalidateCache( request?: protos.google.cloud.compute.v1.IInvalidateCacheUrlMapRequest, @@ -829,7 +837,9 @@ export class UrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.patch(request); + * ``` */ patch( request?: protos.google.cloud.compute.v1.IPatchUrlMapRequest, @@ -947,7 +957,9 @@ export class UrlMapsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.update(request); + * ``` */ update( request?: protos.google.cloud.compute.v1.IUpdateUrlMapRequest, @@ -1056,7 +1068,9 @@ export class UrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.validate(request); + * ``` */ validate( request?: protos.google.cloud.compute.v1.IValidateUrlMapRequest, @@ -1141,10 +1155,12 @@ export class UrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListUrlMapsRequest, @@ -1376,10 +1392,12 @@ export class UrlMapsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListUrlMapsRequest, diff --git a/packages/google-cloud-compute/src/v1/vpn_gateways_client.ts b/packages/google-cloud-compute/src/v1/vpn_gateways_client.ts index 111c7c9e7f0..a6d18857f95 100644 --- a/packages/google-cloud-compute/src/v1/vpn_gateways_client.ts +++ b/packages/google-cloud-compute/src/v1/vpn_gateways_client.ts @@ -383,7 +383,9 @@ export class VpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteVpnGatewayRequest, @@ -494,7 +496,9 @@ export class VpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetVpnGatewayRequest, @@ -587,7 +591,9 @@ export class VpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.getStatus(request); + * ``` */ getStatus( request?: protos.google.cloud.compute.v1.IGetStatusVpnGatewayRequest, @@ -693,7 +699,9 @@ export class VpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertVpnGatewayRequest, @@ -821,7 +829,9 @@ export class VpnGatewaysClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.setLabels(request); + * ``` */ setLabels( request?: protos.google.cloud.compute.v1.ISetLabelsVpnGatewayRequest, @@ -941,7 +951,9 @@ export class VpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.testIamPermissions(request); + * ``` */ testIamPermissions( request?: protos.google.cloud.compute.v1.ITestIamPermissionsVpnGatewayRequest, @@ -1031,10 +1043,12 @@ export class VpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListVpnGatewaysRequest, @@ -1272,10 +1286,12 @@ export class VpnGatewaysClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListVpnGatewaysRequest, diff --git a/packages/google-cloud-compute/src/v1/vpn_tunnels_client.ts b/packages/google-cloud-compute/src/v1/vpn_tunnels_client.ts index 31bdbf860cf..61d0b19530f 100644 --- a/packages/google-cloud-compute/src/v1/vpn_tunnels_client.ts +++ b/packages/google-cloud-compute/src/v1/vpn_tunnels_client.ts @@ -376,7 +376,9 @@ export class VpnTunnelsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteVpnTunnelRequest, @@ -485,7 +487,9 @@ export class VpnTunnelsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetVpnTunnelRequest, @@ -585,7 +589,9 @@ export class VpnTunnelsClient { * and might get backwards-incompatible changes at any time. * `.promise()` is not supported yet. * @example + * ``` * const [operation] = await client.insert(request); + * ``` */ insert( request?: protos.google.cloud.compute.v1.IInsertVpnTunnelRequest, @@ -690,10 +696,12 @@ export class VpnTunnelsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.aggregatedListAsync(request); * for await (const [key, value] of iterable) { * // process response * } + * ``` */ aggregatedListAsync( request?: protos.google.cloud.compute.v1.IAggregatedListVpnTunnelsRequest, @@ -931,10 +939,12 @@ export class VpnTunnelsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListVpnTunnelsRequest, diff --git a/packages/google-cloud-compute/src/v1/zone_operations_client.ts b/packages/google-cloud-compute/src/v1/zone_operations_client.ts index 3e808b2f98c..3af19d111fe 100644 --- a/packages/google-cloud-compute/src/v1/zone_operations_client.ts +++ b/packages/google-cloud-compute/src/v1/zone_operations_client.ts @@ -357,7 +357,9 @@ export class ZoneOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.delete(request); + * ``` */ delete( request?: protos.google.cloud.compute.v1.IDeleteZoneOperationRequest, @@ -452,7 +454,9 @@ export class ZoneOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetZoneOperationRequest, @@ -551,7 +555,9 @@ export class ZoneOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.wait(request); + * ``` */ wait( request?: protos.google.cloud.compute.v1.IWaitZoneOperationRequest, @@ -808,10 +814,12 @@ export class ZoneOperationsClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListZoneOperationsRequest, diff --git a/packages/google-cloud-compute/src/v1/zones_client.ts b/packages/google-cloud-compute/src/v1/zones_client.ts index e8c09416f09..e12550e0685 100644 --- a/packages/google-cloud-compute/src/v1/zones_client.ts +++ b/packages/google-cloud-compute/src/v1/zones_client.ts @@ -352,7 +352,9 @@ export class ZonesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) * for more details and examples. * @example + * ``` * const [response] = await client.get(request); + * ``` */ get( request?: protos.google.cloud.compute.v1.IGetZoneRequest, @@ -599,10 +601,12 @@ export class ZonesClient { * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) * for more details and examples. * @example + * ``` * const iterable = client.listAsync(request); * for await (const response of iterable) { * // process response * } + * ``` */ listAsync( request?: protos.google.cloud.compute.v1.IListZonesRequest,