Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

VPCAccess

import { VPCAccess } from "https://googleapis.deno.dev/v1/vpcaccess:v1.ts";

API for managing VPC access connectors.

class VPCAccess {
constructor(client?: CredentialsClient, baseUrl?: string);
locations;
locations;
 
async projectsLocationsConnectorsCreate(
parent: string,
req: Connector,
): Promise<Operation>;
async projectsLocationsConnectorsDelete(name: string): Promise<Operation>;
async projectsLocationsConnectorsGet(name: string): Promise<Connector>;
async projectsLocationsConnectorsList(parent: string, opts?: ProjectsLocationsConnectorsListOptions): Promise<ListConnectorsResponse>;
async projectsLocationsConnectorsPatch(
name: string,
req: Connector,
): Promise<Operation>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
async projectsLocationsOperationsGet(name: string): Promise<Operation>;
async projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>;
}

§Constructors

§
new VPCAccess(client?: CredentialsClient, baseUrl?: string)
[src]

§Properties

§
locations
[src]

Creates a Serverless VPC Access connector, returns an operation.

§
locations
[src]

Updates a Serverless VPC Access connector, returns an operation.

§Methods

§
projectsLocationsConnectorsCreate(parent: string, req: Connector, opts?: ProjectsLocationsConnectorsCreateOptions): Promise<Operation>
[src]
§
projectsLocationsConnectorsDelete(name: string): Promise<Operation>
[src]

Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

@param name

Required. Name of a Serverless VPC Access connector to delete.

§
projectsLocationsConnectorsGet(name: string): Promise<Connector>
[src]

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

@param name

Required. Name of a Serverless VPC Access connector to get.

§
projectsLocationsConnectorsList(parent: string, opts?: ProjectsLocationsConnectorsListOptions): Promise<ListConnectorsResponse>
[src]

Lists Serverless VPC Access connectors.

@param parent

Required. The project and location from which the routes should be listed.

§
projectsLocationsConnectorsPatch(name: string, req: Connector, opts?: ProjectsLocationsConnectorsPatchOptions): Promise<Operation>
[src]
§
projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>
[src]

Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * Global locations: If name is empty, the method lists the public locations available to all projects. * Project-specific locations: If name follows the format projects/{project}, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the name field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.

@param name

The resource that owns the locations collection, if applicable.

§
projectsLocationsOperationsGet(name: string): Promise<Operation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.