Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#702)
Browse files Browse the repository at this point in the history
* chore: update v2.14.2 gapic-generator-typescript

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: googleapis/googleapis-gen@930b673
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 16, 2022
1 parent 7b4b928 commit 2d45e42
Show file tree
Hide file tree
Showing 119 changed files with 36 additions and 508 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export class AcceleratorTypesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of accelerator types.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/addresses_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ export class AddressesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of addresses.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/autoscalers_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ export class AutoscalersClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of autoscalers.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ export class BackendServicesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all BackendService resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/disk_types_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class DiskTypesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of disk types.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/disks_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ export class DisksClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of persistent disks.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ export class ForwardingRulesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of forwarding rules.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ export class GlobalOperationsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of all operations.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ export class HealthChecksClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,7 @@ export class InstanceGroupManagersClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of managed instance groups and groups them by zone.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ export class InstanceGroupsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of instance groups and sorts them by zone.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/instances_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5282,7 +5282,7 @@ export class InstancesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ export class InterconnectAttachmentsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of interconnect attachments.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export class MachineTypesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of machine types.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ export class NetworkEndpointGroupsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of network endpoint groups and sorts them by zone.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/node_groups_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ export class NodeGroupsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ export class NodeTemplatesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of node templates.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/node_types_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class NodeTypesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of node types.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ export class PacketMirroringsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of packetMirrorings.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ export class PublicDelegatedPrefixesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ export class RegionCommitmentsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of commitments by region.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ export class ReservationsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of reservations.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ export class ResourcePoliciesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of resource policies.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/routers_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ export class RoutersClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of routers.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ export class ServiceAttachmentsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ export class SslCertificatesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/subnetworks_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ export class SubnetworksClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of subnetworks.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ export class TargetHttpProxiesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ export class TargetHttpsProxiesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ export class TargetInstancesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of target instances.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ export class TargetPoolsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of target pools.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ export class TargetVpnGatewaysClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of target VPN gateways.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/url_maps_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ export class UrlMapsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves the list of all UrlMap resources, regional and global, available to the specified project.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ export class VpnGatewaysClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of VPN gateways.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-compute/src/v1/vpn_tunnels_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ export class VpnTunnelsClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of VPN tunnels.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ export class AddressesClient {
}

/**
* Equivalent to `aggregatedList`, but returns an iterable object.
* Retrieves an aggregated list of addresses.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ describe('v1.AcceleratorTypesClient', () => {
new protos.google.cloud.compute.v1.GetAcceleratorTypeRequest()
);
request.project = '';
const expectedHeaderRequestParams = 'project=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.get(request), expectedError);
Expand Down
3 changes: 0 additions & 3 deletions packages/google-cloud-compute/test/gapic_addresses_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ describe('v1.AddressesClient', () => {
new protos.google.cloud.compute.v1.DeleteAddressRequest()
);
request.project = '';
const expectedHeaderRequestParams = 'project=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.delete(request), expectedError);
Expand Down Expand Up @@ -461,7 +460,6 @@ describe('v1.AddressesClient', () => {
new protos.google.cloud.compute.v1.GetAddressRequest()
);
request.project = '';
const expectedHeaderRequestParams = 'project=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.get(request), expectedError);
Expand Down Expand Up @@ -585,7 +583,6 @@ describe('v1.AddressesClient', () => {
new protos.google.cloud.compute.v1.InsertAddressRequest()
);
request.project = '';
const expectedHeaderRequestParams = 'project=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.insert(request), expectedError);
Expand Down
2 changes: 0 additions & 2 deletions packages/google-cloud-compute/test/gapic_addresses_v1small.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ describe('v1small.AddressesClient', () => {
new protos.google.cloud.compute.v1small.DeleteAddressRequest()
);
request.project = '';
const expectedHeaderRequestParams = 'project=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.delete(request), expectedError);
Expand Down Expand Up @@ -462,7 +461,6 @@ describe('v1small.AddressesClient', () => {
new protos.google.cloud.compute.v1small.InsertAddressRequest()
);
request.project = '';
const expectedHeaderRequestParams = 'project=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.insert(request), expectedError);
Expand Down
Loading

0 comments on commit 2d45e42

Please sign in to comment.