import type * as gax from 'google-gax'; import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, IamClient, IamProtos, LocationsClient, LocationProtos } from 'google-gax'; import { Transform } from 'stream'; import * as protos from '../../protos/protos'; /** * Service for Third-Party Packet Intercept (TPPI). * TPPI is the "in-band" flavor of the Network Security Integrations product. * @class * @memberof v1alpha1 */ export declare class InterceptClient { private _terminated; private _opts; private _providedCustomServicePath; private _gaxModule; private _gaxGrpc; private _protos; private _defaults; private _universeDomain; private _servicePath; private _log; auth: gax.GoogleAuth; descriptors: Descriptors; warn: (code: string, message: string, warnType?: string) => void; innerApiCalls: { [name: string]: Function; }; iamClient: IamClient; locationsClient: LocationsClient; pathTemplates: { [name: string]: gax.PathTemplate; }; operationsClient: gax.OperationsClient; interceptStub?: Promise<{ [name: string]: Function; }>; /** * Construct an instance of InterceptClient. * * @param {object} [options] - The configuration object. * The options accepted by the constructor are described in detail * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance). * The common options are: * @param {object} [options.credentials] - Credentials object. * @param {string} [options.credentials.client_email] * @param {string} [options.credentials.private_key] * @param {string} [options.email] - Account email address. Required when * using a .pem or .p12 keyFilename. * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or * .p12 key downloaded from the Google Developers Console. If you provide * a path to a JSON file, the projectId option below is not necessary. * NOTE: .pem and .p12 require you to specify options.email as well. * @param {number} [options.port] - The port on which to connect to * the remote host. * @param {string} [options.projectId] - The project ID from the Google * Developer's Console, e.g. 'grape-spaceship-123'. We will also check * the environment variable GCLOUD_PROJECT for your project ID. If your * app is running in an environment which supports * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials}, * your project ID will be detected automatically. * @param {string} [options.apiEndpoint] - The domain name of the * API remote host. * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override. * Follows the structure of {@link gapicConfig}. * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode. * For more information, please check the * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you * need to avoid loading the default gRPC version and want to use the fallback * HTTP implementation. Load only fallback version and pass it to the constructor: * ``` * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC * const client = new InterceptClient({fallback: true}, gax); * ``` */ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback); /** * Initialize the client. * Performs asynchronous operations (such as authentication) and prepares the client. * This function will be called automatically when any class method is called for the * first time, but if you need to initialize it before calling an actual method, * feel free to call initialize() directly. * * You can await on this method if you want to make sure the client is initialized. * * @returns {Promise} A promise that resolves to an authenticated service stub. */ initialize(): Promise<{ [name: string]: Function; }>; /** * The DNS address for this API service. * @deprecated Use the apiEndpoint method of the client instance. * @returns {string} The DNS address for this service. */ static get servicePath(): string; /** * The DNS address for this API service - same as servicePath. * @deprecated Use the apiEndpoint method of the client instance. * @returns {string} The DNS address for this service. */ static get apiEndpoint(): string; /** * The DNS address for this API service. * @returns {string} The DNS address for this service. */ get apiEndpoint(): string; get universeDomain(): string; /** * The port for this API service. * @returns {number} The default port for this service. */ static get port(): number; /** * The scopes needed to make gRPC calls for every method defined * in this service. * @returns {string[]} List of default scopes. */ static get scopes(): string[]; getProjectId(): Promise; getProjectId(callback: Callback): void; /** * Gets a specific endpoint group. * See https://google.aip.dev/131. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The name of the endpoint group to retrieve. * Format: * projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group} * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroup|InterceptEndpointGroup}. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.get_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_GetInterceptEndpointGroup_async */ getInterceptEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptEndpointGroup, (protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupRequest | undefined), {} | undefined ]>; getInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupRequest, options: CallOptions, callback: Callback): void; getInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupRequest, callback: Callback): void; /** * Gets a specific association. * See https://google.aip.dev/131. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The name of the association to retrieve. * Format: * projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association} * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroupAssociation|InterceptEndpointGroupAssociation}. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.get_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_GetInterceptEndpointGroupAssociation_async */ getInterceptEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupAssociationRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptEndpointGroupAssociation, (protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupAssociationRequest | undefined), {} | undefined ]>; getInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupAssociationRequest, options: CallOptions, callback: Callback): void; getInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptEndpointGroupAssociationRequest, callback: Callback): void; /** * Gets a specific deployment group. * See https://google.aip.dev/131. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The name of the deployment group to retrieve. * Format: * projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group} * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeploymentGroup|InterceptDeploymentGroup}. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.get_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_GetInterceptDeploymentGroup_async */ getInterceptDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentGroupRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptDeploymentGroup, (protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentGroupRequest | undefined), {} | undefined ]>; getInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentGroupRequest, options: CallOptions, callback: Callback): void; getInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentGroupRequest, callback: Callback): void; /** * Gets a specific deployment. * See https://google.aip.dev/131. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The name of the deployment to retrieve. * Format: * projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment} * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeployment|InterceptDeployment}. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.get_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_GetInterceptDeployment_async */ getInterceptDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptDeployment, (protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentRequest | undefined), {} | undefined ]>; getInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentRequest, options: CallOptions, callback: Callback): void; getInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IGetInterceptDeploymentRequest, callback: Callback): void; /** * Creates an endpoint group in a given project and location. * See https://google.aip.dev/133. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent resource where this endpoint group will be created. * Format: projects/{project}/locations/{location} * @param {string} request.interceptEndpointGroupId * Required. The ID to use for the endpoint group, which will become the final * component of the endpoint group's resource name. * @param {google.cloud.networksecurity.v1alpha1.InterceptEndpointGroup} request.interceptEndpointGroup * Required. The endpoint group to create. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptEndpointGroup_async */ createInterceptEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptEndpointGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptEndpointGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptEndpointGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createInterceptEndpointGroup()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptEndpointGroup_async */ checkCreateInterceptEndpointGroupProgress(name: string): Promise>; /** * Updates an endpoint group. * See https://google.aip.dev/134. * * @param {Object} request * The request object that will be sent. * @param {google.protobuf.FieldMask} [request.updateMask] * Optional. The list of fields to update. * Fields are specified relative to the endpoint group * (e.g. `description`; *not* `intercept_endpoint_group.description`). * See https://google.aip.dev/161 for more details. * @param {google.cloud.networksecurity.v1alpha1.InterceptEndpointGroup} request.interceptEndpointGroup * Required. The endpoint group to update. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptEndpointGroup_async */ updateInterceptEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptEndpointGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptEndpointGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptEndpointGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateInterceptEndpointGroup()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptEndpointGroup_async */ checkUpdateInterceptEndpointGroupProgress(name: string): Promise>; /** * Deletes an endpoint group. * See https://google.aip.dev/135. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The endpoint group to delete. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptEndpointGroup_async */ deleteInterceptEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptEndpointGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptEndpointGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteInterceptEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptEndpointGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteInterceptEndpointGroup()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_endpoint_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptEndpointGroup_async */ checkDeleteInterceptEndpointGroupProgress(name: string): Promise>; /** * Creates an association in a given project and location. * See https://google.aip.dev/133. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent resource where this association will be created. * Format: projects/{project}/locations/{location} * @param {string} [request.interceptEndpointGroupAssociationId] * Optional. The ID to use for the new association, which will become the * final component of the endpoint group's resource name. If not provided, the * server will generate a unique ID. * @param {google.cloud.networksecurity.v1alpha1.InterceptEndpointGroupAssociation} request.interceptEndpointGroupAssociation * Required. The association to create. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptEndpointGroupAssociation_async */ createInterceptEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptEndpointGroupAssociationRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptEndpointGroupAssociationRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptEndpointGroupAssociationRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createInterceptEndpointGroupAssociation()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptEndpointGroupAssociation_async */ checkCreateInterceptEndpointGroupAssociationProgress(name: string): Promise>; /** * Updates an association. * See https://google.aip.dev/134. * * @param {Object} request * The request object that will be sent. * @param {google.protobuf.FieldMask} [request.updateMask] * Optional. The list of fields to update. * Fields are specified relative to the association * (e.g. `description`; *not* * `intercept_endpoint_group_association.description`). See * https://google.aip.dev/161 for more details. * @param {google.cloud.networksecurity.v1alpha1.InterceptEndpointGroupAssociation} request.interceptEndpointGroupAssociation * Required. The association to update. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptEndpointGroupAssociation_async */ updateInterceptEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptEndpointGroupAssociationRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptEndpointGroupAssociationRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptEndpointGroupAssociationRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateInterceptEndpointGroupAssociation()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptEndpointGroupAssociation_async */ checkUpdateInterceptEndpointGroupAssociationProgress(name: string): Promise>; /** * Deletes an association. * See https://google.aip.dev/135. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The association to delete. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptEndpointGroupAssociation_async */ deleteInterceptEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptEndpointGroupAssociationRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptEndpointGroupAssociationRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteInterceptEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptEndpointGroupAssociationRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteInterceptEndpointGroupAssociation()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_endpoint_group_association.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptEndpointGroupAssociation_async */ checkDeleteInterceptEndpointGroupAssociationProgress(name: string): Promise>; /** * Creates a deployment group in a given project and location. * See https://google.aip.dev/133. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent resource where this deployment group will be created. * Format: projects/{project}/locations/{location} * @param {string} request.interceptDeploymentGroupId * Required. The ID to use for the new deployment group, which will become the * final component of the deployment group's resource name. * @param {google.cloud.networksecurity.v1alpha1.InterceptDeploymentGroup} request.interceptDeploymentGroup * Required. The deployment group to create. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptDeploymentGroup_async */ createInterceptDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptDeploymentGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptDeploymentGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptDeploymentGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createInterceptDeploymentGroup()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptDeploymentGroup_async */ checkCreateInterceptDeploymentGroupProgress(name: string): Promise>; /** * Updates a deployment group. * See https://google.aip.dev/134. * * @param {Object} request * The request object that will be sent. * @param {google.protobuf.FieldMask} [request.updateMask] * Optional. The list of fields to update. * Fields are specified relative to the deployment group * (e.g. `description`; *not* * `intercept_deployment_group.description`). See * https://google.aip.dev/161 for more details. * @param {google.cloud.networksecurity.v1alpha1.InterceptDeploymentGroup} request.interceptDeploymentGroup * Required. The deployment group to update. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptDeploymentGroup_async */ updateInterceptDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptDeploymentGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptDeploymentGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptDeploymentGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateInterceptDeploymentGroup()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptDeploymentGroup_async */ checkUpdateInterceptDeploymentGroupProgress(name: string): Promise>; /** * Deletes a deployment group. * See https://google.aip.dev/135. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The deployment group to delete. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptDeploymentGroup_async */ deleteInterceptDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptDeploymentGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptDeploymentGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteInterceptDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptDeploymentGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteInterceptDeploymentGroup()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_deployment_group.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptDeploymentGroup_async */ checkDeleteInterceptDeploymentGroupProgress(name: string): Promise>; /** * Creates a deployment in a given project and location. * See https://google.aip.dev/133. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent resource where this deployment will be created. * Format: projects/{project}/locations/{location} * @param {string} request.interceptDeploymentId * Required. The ID to use for the new deployment, which will become the final * component of the deployment's resource name. * @param {google.cloud.networksecurity.v1alpha1.InterceptDeployment} request.interceptDeployment * Required. The deployment to create. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptDeployment_async */ createInterceptDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptDeploymentRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptDeploymentRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.ICreateInterceptDeploymentRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createInterceptDeployment()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.create_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_CreateInterceptDeployment_async */ checkCreateInterceptDeploymentProgress(name: string): Promise>; /** * Updates a deployment. * See https://google.aip.dev/134. * * @param {Object} request * The request object that will be sent. * @param {google.protobuf.FieldMask} [request.updateMask] * Optional. The list of fields to update. * Fields are specified relative to the deployment * (e.g. `description`; *not* `intercept_deployment.description`). * See https://google.aip.dev/161 for more details. * @param {google.cloud.networksecurity.v1alpha1.InterceptDeployment} request.interceptDeployment * Required. The deployment to update. * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptDeployment_async */ updateInterceptDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptDeploymentRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptDeploymentRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateInterceptDeploymentRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateInterceptDeployment()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.update_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_UpdateInterceptDeployment_async */ checkUpdateInterceptDeploymentProgress(name: string): Promise>; /** * Deletes a deployment. * See https://google.aip.dev/135. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. Name of the resource * @param {string} [request.requestId] * Optional. A unique identifier for this request. Must be a UUID4. * This request is only idempotent if a `request_id` is provided. * See https://google.aip.dev/155 for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * a long running operation. Its `promise()` method returns a promise * you can `await` for. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptDeployment_async */ deleteInterceptDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptDeploymentRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptDeploymentRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteInterceptDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteInterceptDeploymentRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteInterceptDeployment()`. * @param {String} name * The operation name that will be passed. * @returns {Promise} - The promise which resolves to an object. * The decoded operation object has result and metadata field to get information from. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.delete_intercept_deployment.js * region_tag:networksecurity_v1alpha1_generated_Intercept_DeleteInterceptDeployment_async */ checkDeleteInterceptDeploymentProgress(name: string): Promise>; /** * Lists endpoint groups in a given project and location. * See https://google.aip.dev/132. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of endpoint groups. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListInterceptEndpointGroups` must match the call that provided the page * token. * See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is Array of {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroup|InterceptEndpointGroup}. * The client library will perform auto-pagination by default: it will call the API as many * times as needed and will merge results from all the pages into this array. * Note that it can affect your quota. * We recommend using `listInterceptEndpointGroupsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptEndpointGroups(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptEndpointGroup[], protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsRequest | null, protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsResponse ]>; listInterceptEndpointGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsRequest, options: CallOptions, callback: PaginationCallback): void; listInterceptEndpointGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsRequest, callback: PaginationCallback): void; /** * Equivalent to `listInterceptEndpointGroups`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of endpoint groups. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListInterceptEndpointGroups` must match the call that provided the page * token. * See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Stream} * An object stream which emits an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroup|InterceptEndpointGroup} on 'data' event. * The client library will perform auto-pagination by default: it will call the API as many * times as needed. Note that it can affect your quota. * We recommend using `listInterceptEndpointGroupsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptEndpointGroupsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsRequest, options?: CallOptions): Transform; /** * Equivalent to `listInterceptEndpointGroups`, but returns an iterable object. * * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of endpoint groups. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListInterceptEndpointGroups` must match the call that provided the page * token. * See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Object} * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. * When you iterate the returned iterable, each element will be an object representing * {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroup|InterceptEndpointGroup}. The API will be called under the hood as needed, once per the page, * so you can stop the iteration when you don't need more results. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.list_intercept_endpoint_groups.js * region_tag:networksecurity_v1alpha1_generated_Intercept_ListInterceptEndpointGroups_async */ listInterceptEndpointGroupsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupsRequest, options?: CallOptions): AsyncIterable; /** * Lists associations in a given project and location. * See https://google.aip.dev/132. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of associations. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListInterceptEndpointGroups` must match the call that provided the page * token. See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is Array of {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroupAssociation|InterceptEndpointGroupAssociation}. * The client library will perform auto-pagination by default: it will call the API as many * times as needed and will merge results from all the pages into this array. * Note that it can affect your quota. * We recommend using `listInterceptEndpointGroupAssociationsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptEndpointGroupAssociations(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptEndpointGroupAssociation[], protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsRequest | null, protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsResponse ]>; listInterceptEndpointGroupAssociations(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsRequest, options: CallOptions, callback: PaginationCallback): void; listInterceptEndpointGroupAssociations(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsRequest, callback: PaginationCallback): void; /** * Equivalent to `listInterceptEndpointGroupAssociations`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of associations. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListInterceptEndpointGroups` must match the call that provided the page * token. See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Stream} * An object stream which emits an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroupAssociation|InterceptEndpointGroupAssociation} on 'data' event. * The client library will perform auto-pagination by default: it will call the API as many * times as needed. Note that it can affect your quota. * We recommend using `listInterceptEndpointGroupAssociationsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptEndpointGroupAssociationsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsRequest, options?: CallOptions): Transform; /** * Equivalent to `listInterceptEndpointGroupAssociations`, but returns an iterable object. * * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of associations. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent * page. When paginating, all other parameters provided to * `ListInterceptEndpointGroups` must match the call that provided the page * token. See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Object} * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. * When you iterate the returned iterable, each element will be an object representing * {@link protos.google.cloud.networksecurity.v1alpha1.InterceptEndpointGroupAssociation|InterceptEndpointGroupAssociation}. The API will be called under the hood as needed, once per the page, * so you can stop the iteration when you don't need more results. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.list_intercept_endpoint_group_associations.js * region_tag:networksecurity_v1alpha1_generated_Intercept_ListInterceptEndpointGroupAssociations_async */ listInterceptEndpointGroupAssociationsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptEndpointGroupAssociationsRequest, options?: CallOptions): AsyncIterable; /** * Lists deployment groups in a given project and location. * See https://google.aip.dev/132. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of deployment groups. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptDeploymentGroups` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListInterceptDeploymentGroups` must match the call that provided the page * token. See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is Array of {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeploymentGroup|InterceptDeploymentGroup}. * The client library will perform auto-pagination by default: it will call the API as many * times as needed and will merge results from all the pages into this array. * Note that it can affect your quota. * We recommend using `listInterceptDeploymentGroupsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptDeploymentGroups(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptDeploymentGroup[], protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsRequest | null, protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsResponse ]>; listInterceptDeploymentGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsRequest, options: CallOptions, callback: PaginationCallback): void; listInterceptDeploymentGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsRequest, callback: PaginationCallback): void; /** * Equivalent to `listInterceptDeploymentGroups`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of deployment groups. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptDeploymentGroups` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListInterceptDeploymentGroups` must match the call that provided the page * token. See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Stream} * An object stream which emits an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeploymentGroup|InterceptDeploymentGroup} on 'data' event. * The client library will perform auto-pagination by default: it will call the API as many * times as needed. Note that it can affect your quota. * We recommend using `listInterceptDeploymentGroupsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptDeploymentGroupsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsRequest, options?: CallOptions): Transform; /** * Equivalent to `listInterceptDeploymentGroups`, but returns an iterable object. * * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of deployment groups. * Example: `projects/123456789/locations/global`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous * `ListInterceptDeploymentGroups` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListInterceptDeploymentGroups` must match the call that provided the page * token. See https://google.aip.dev/158 for more details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Object} * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. * When you iterate the returned iterable, each element will be an object representing * {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeploymentGroup|InterceptDeploymentGroup}. The API will be called under the hood as needed, once per the page, * so you can stop the iteration when you don't need more results. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.list_intercept_deployment_groups.js * region_tag:networksecurity_v1alpha1_generated_Intercept_ListInterceptDeploymentGroups_async */ listInterceptDeploymentGroupsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentGroupsRequest, options?: CallOptions): AsyncIterable; /** * Lists deployments in a given project and location. * See https://google.aip.dev/132. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of deployments. * Example: `projects/123456789/locations/us-central1-a`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous `ListInterceptDeployments` * call. Provide this to retrieve the subsequent page. When paginating, all * other parameters provided to `ListInterceptDeployments` must match the call * that provided the page token. See https://google.aip.dev/158 for more * details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is Array of {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeployment|InterceptDeployment}. * The client library will perform auto-pagination by default: it will call the API as many * times as needed and will merge results from all the pages into this array. * Note that it can affect your quota. * We recommend using `listInterceptDeploymentsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptDeployments(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1alpha1.IInterceptDeployment[], protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsRequest | null, protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsResponse ]>; listInterceptDeployments(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsRequest, options: CallOptions, callback: PaginationCallback): void; listInterceptDeployments(request: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsRequest, callback: PaginationCallback): void; /** * Equivalent to `listInterceptDeployments`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of deployments. * Example: `projects/123456789/locations/us-central1-a`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous `ListInterceptDeployments` * call. Provide this to retrieve the subsequent page. When paginating, all * other parameters provided to `ListInterceptDeployments` must match the call * that provided the page token. See https://google.aip.dev/158 for more * details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Stream} * An object stream which emits an object representing {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeployment|InterceptDeployment} on 'data' event. * The client library will perform auto-pagination by default: it will call the API as many * times as needed. Note that it can affect your quota. * We recommend using `listInterceptDeploymentsAsync()` * method described below for async iteration which you can stop as needed. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. */ listInterceptDeploymentsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsRequest, options?: CallOptions): Transform; /** * Equivalent to `listInterceptDeployments`, but returns an iterable object. * * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent, which owns this collection of deployments. * Example: `projects/123456789/locations/us-central1-a`. * See https://google.aip.dev/132 for more details. * @param {number} [request.pageSize] * Optional. Requested page size. Server may return fewer items than * requested. If unspecified, server will pick an appropriate default. See * https://google.aip.dev/158 for more details. * @param {string} [request.pageToken] * Optional. A page token, received from a previous `ListInterceptDeployments` * call. Provide this to retrieve the subsequent page. When paginating, all * other parameters provided to `ListInterceptDeployments` must match the call * that provided the page token. See https://google.aip.dev/158 for more * details. * @param {string} [request.filter] * Optional. Filter expression. * See https://google.aip.dev/160#filtering for more details. * @param {string} [request.orderBy] * Optional. Sort expression. * See https://google.aip.dev/132#ordering for more details. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Object} * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. * When you iterate the returned iterable, each element will be an object representing * {@link protos.google.cloud.networksecurity.v1alpha1.InterceptDeployment|InterceptDeployment}. The API will be called under the hood as needed, once per the page, * so you can stop the iteration when you don't need more results. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. * @example include:samples/generated/v1alpha1/intercept.list_intercept_deployments.js * region_tag:networksecurity_v1alpha1_generated_Intercept_ListInterceptDeployments_async */ listInterceptDeploymentsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListInterceptDeploymentsRequest, options?: CallOptions): AsyncIterable; /** * Gets the access control policy for a resource. Returns an empty policy * if the resource exists and does not have a policy set. * * @param {Object} request * The request object that will be sent. * @param {string} request.resource * REQUIRED: The resource for which the policy is being requested. * See the operation documentation for the appropriate value for this field. * @param {Object} [request.options] * OPTIONAL: A `GetPolicyOptions` object for specifying options to * `GetIamPolicy`. This field is only used by Cloud IAM. * * This object should have the same structure as {@link google.iam.v1.GetPolicyOptions | GetPolicyOptions}. * @param {Object} [options] * Optional parameters. You can override the default settings for this call, e.g, timeout, * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details. * @param {function(?Error, ?Object)} [callback] * The function which will be called with the result of the API call. * * The second parameter to the callback is an object representing {@link google.iam.v1.Policy | Policy}. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link google.iam.v1.Policy | Policy}. * The promise has a method named "cancel" which cancels the ongoing API call. */ getIamPolicy(request: IamProtos.google.iam.v1.GetIamPolicyRequest, options?: gax.CallOptions | Callback, callback?: Callback): Promise<[IamProtos.google.iam.v1.Policy]>; /** * Returns permissions that a caller has on the specified resource. If the * resource does not exist, this will return an empty set of * permissions, not a NOT_FOUND error. * * Note: This operation is designed to be used for building * permission-aware UIs and command-line tools, not for authorization * checking. This operation may "fail open" without warning. * * @param {Object} request * The request object that will be sent. * @param {string} request.resource * REQUIRED: The resource for which the policy detail is being requested. * See the operation documentation for the appropriate value for this field. * @param {string[]} request.permissions * The set of permissions to check for the `resource`. Permissions with * wildcards (such as '*' or 'storage.*') are not allowed. For more * information see {@link https://cloud.google.com/iam/docs/overview#permissions | IAM Overview }. * @param {Object} [options] * Optional parameters. You can override the default settings for this call, e.g, timeout, * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details. * @param {function(?Error, ?Object)} [callback] * The function which will be called with the result of the API call. * * The second parameter to the callback is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. * The promise has a method named "cancel" which cancels the ongoing API call. */ setIamPolicy(request: IamProtos.google.iam.v1.SetIamPolicyRequest, options?: gax.CallOptions | Callback, callback?: Callback): Promise<[IamProtos.google.iam.v1.Policy]>; /** * Returns permissions that a caller has on the specified resource. If the * resource does not exist, this will return an empty set of * permissions, not a NOT_FOUND error. * * Note: This operation is designed to be used for building * permission-aware UIs and command-line tools, not for authorization * checking. This operation may "fail open" without warning. * * @param {Object} request * The request object that will be sent. * @param {string} request.resource * REQUIRED: The resource for which the policy detail is being requested. * See the operation documentation for the appropriate value for this field. * @param {string[]} request.permissions * The set of permissions to check for the `resource`. Permissions with * wildcards (such as '*' or 'storage.*') are not allowed. For more * information see {@link https://cloud.google.com/iam/docs/overview#permissions | IAM Overview }. * @param {Object} [options] * Optional parameters. You can override the default settings for this call, e.g, timeout, * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details. * @param {function(?Error, ?Object)} [callback] * The function which will be called with the result of the API call. * * The second parameter to the callback is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. * The promise has a method named "cancel" which cancels the ongoing API call. * */ testIamPermissions(request: IamProtos.google.iam.v1.TestIamPermissionsRequest, options?: gax.CallOptions | Callback, callback?: Callback): Promise<[IamProtos.google.iam.v1.TestIamPermissionsResponse]>; /** * Gets information about a location. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Resource name for the location. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. * The first element of the array is an object representing {@link google.cloud.location.Location | Location}. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } * for more details and examples. * @example * ``` * const [response] = await client.getLocation(request); * ``` */ getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback, callback?: Callback): Promise; /** * Lists information about the supported locations for this service. Returns an iterable object. * * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. * @param {Object} request * The request object that will be sent. * @param {string} request.name * The resource that owns the locations collection, if applicable. * @param {string} request.filter * The standard list filter. * @param {number} request.pageSize * The standard list page size. * @param {string} request.pageToken * The standard list page token. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Object} * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. * When you iterate the returned iterable, each element will be an object representing * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page, * so you can stop the iteration when you don't need more results. * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } * for more details and examples. * @example * ``` * const iterable = client.listLocationsAsync(request); * for await (const response of iterable) { * // process response * } * ``` */ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable; /** * 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 {Object} request - The request object that will be sent. * @param {string} request.name - The name of the operation resource. * @param {Object=} options * Optional parameters. You can override the default settings for this call, * e.g, timeout, retries, paginations, etc. See {@link * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} * for the details. * @param {function(?Error, ?Object)=} callback * The function which will be called with the result of the API call. * * The second parameter to the callback is an object representing * {@link google.longrunning.Operation | google.longrunning.Operation}. * @return {Promise} - The promise which resolves to an array. * The first element of the array is an object representing * {@link google.longrunning.Operation | google.longrunning.Operation}. * The promise has a method named "cancel" which cancels the ongoing API call. * * @example * ``` * const client = longrunning.operationsClient(); * const name = ''; * const [response] = await client.getOperation({name}); * // doThingsWith(response) * ``` */ getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback, callback?: Callback): Promise<[protos.google.longrunning.Operation]>; /** * Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object. * * For-await-of syntax is used with the iterable to recursively get response element on-demand. * * @param {Object} request - The request object that will be sent. * @param {string} request.name - The name of the operation collection. * @param {string} request.filter - The standard list filter. * @param {number=} request.pageSize - * The maximum number of resources contained in the underlying API * response. If page streaming is performed per-resource, this * parameter does not affect the return value. If page streaming is * performed per-page, this determines the maximum number of * resources in a page. * @param {Object=} options * Optional parameters. You can override the default settings for this call, * e.g, timeout, retries, paginations, etc. See {@link * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the * details. * @returns {Object} * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}. * * @example * ``` * const client = longrunning.operationsClient(); * for await (const response of client.listOperationsAsync(request)); * // doThingsWith(response) * ``` */ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable; /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not * guaranteed. If the server doesn't support this method, it returns * `google.rpc.Code.UNIMPLEMENTED`. Clients can use * {@link Operations.GetOperation} or * other methods to check whether the cancellation succeeded or whether the * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an {@link Operation.error} value with a {@link google.rpc.Status.code} of * 1, corresponding to `Code.CANCELLED`. * * @param {Object} request - The request object that will be sent. * @param {string} request.name - The name of the operation resource to be cancelled. * @param {Object=} options * Optional parameters. You can override the default settings for this call, * e.g, timeout, retries, paginations, etc. See {@link * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the * details. * @param {function(?Error)=} callback * The function which will be called with the result of the API call. * @return {Promise} - The promise which resolves when API call finishes. * The promise has a method named "cancel" which cancels the ongoing API * call. * * @example * ``` * const client = longrunning.operationsClient(); * await client.cancelOperation({name: ''}); * ``` */ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback, callback?: Callback): Promise; /** * Deletes a long-running operation. This method indicates that the client is * no longer interested in the operation result. It does not cancel the * operation. If the server doesn't support this method, it returns * `google.rpc.Code.UNIMPLEMENTED`. * * @param {Object} request - The request object that will be sent. * @param {string} request.name - The name of the operation resource to be deleted. * @param {Object=} options * Optional parameters. You can override the default settings for this call, * e.g, timeout, retries, paginations, etc. See {@link * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} * for the details. * @param {function(?Error)=} callback * The function which will be called with the result of the API call. * @return {Promise} - The promise which resolves when API call finishes. * The promise has a method named "cancel" which cancels the ongoing API * call. * * @example * ``` * const client = longrunning.operationsClient(); * await client.deleteOperation({name: ''}); * ``` */ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: gax.CallOptions | Callback, callback?: Callback): Promise; /** * Return a fully-qualified authorizationPolicy resource name string. * * @param {string} project * @param {string} location * @param {string} authorization_policy * @returns {string} Resource name string. */ authorizationPolicyPath(project: string, location: string, authorizationPolicy: string): string; /** * Parse the project from AuthorizationPolicy resource. * * @param {string} authorizationPolicyName * A fully-qualified path representing AuthorizationPolicy resource. * @returns {string} A string representing the project. */ matchProjectFromAuthorizationPolicyName(authorizationPolicyName: string): string | number; /** * Parse the location from AuthorizationPolicy resource. * * @param {string} authorizationPolicyName * A fully-qualified path representing AuthorizationPolicy resource. * @returns {string} A string representing the location. */ matchLocationFromAuthorizationPolicyName(authorizationPolicyName: string): string | number; /** * Parse the authorization_policy from AuthorizationPolicy resource. * * @param {string} authorizationPolicyName * A fully-qualified path representing AuthorizationPolicy resource. * @returns {string} A string representing the authorization_policy. */ matchAuthorizationPolicyFromAuthorizationPolicyName(authorizationPolicyName: string): string | number; /** * Return a fully-qualified authzPolicy resource name string. * * @param {string} project * @param {string} location * @param {string} authz_policy * @returns {string} Resource name string. */ authzPolicyPath(project: string, location: string, authzPolicy: string): string; /** * Parse the project from AuthzPolicy resource. * * @param {string} authzPolicyName * A fully-qualified path representing AuthzPolicy resource. * @returns {string} A string representing the project. */ matchProjectFromAuthzPolicyName(authzPolicyName: string): string | number; /** * Parse the location from AuthzPolicy resource. * * @param {string} authzPolicyName * A fully-qualified path representing AuthzPolicy resource. * @returns {string} A string representing the location. */ matchLocationFromAuthzPolicyName(authzPolicyName: string): string | number; /** * Parse the authz_policy from AuthzPolicy resource. * * @param {string} authzPolicyName * A fully-qualified path representing AuthzPolicy resource. * @returns {string} A string representing the authz_policy. */ matchAuthzPolicyFromAuthzPolicyName(authzPolicyName: string): string | number; /** * Return a fully-qualified backendAuthenticationConfig resource name string. * * @param {string} project * @param {string} location * @param {string} backend_authentication_config * @returns {string} Resource name string. */ backendAuthenticationConfigPath(project: string, location: string, backendAuthenticationConfig: string): string; /** * Parse the project from BackendAuthenticationConfig resource. * * @param {string} backendAuthenticationConfigName * A fully-qualified path representing BackendAuthenticationConfig resource. * @returns {string} A string representing the project. */ matchProjectFromBackendAuthenticationConfigName(backendAuthenticationConfigName: string): string | number; /** * Parse the location from BackendAuthenticationConfig resource. * * @param {string} backendAuthenticationConfigName * A fully-qualified path representing BackendAuthenticationConfig resource. * @returns {string} A string representing the location. */ matchLocationFromBackendAuthenticationConfigName(backendAuthenticationConfigName: string): string | number; /** * Parse the backend_authentication_config from BackendAuthenticationConfig resource. * * @param {string} backendAuthenticationConfigName * A fully-qualified path representing BackendAuthenticationConfig resource. * @returns {string} A string representing the backend_authentication_config. */ matchBackendAuthenticationConfigFromBackendAuthenticationConfigName(backendAuthenticationConfigName: string): string | number; /** * Return a fully-qualified clientTlsPolicy resource name string. * * @param {string} project * @param {string} location * @param {string} client_tls_policy * @returns {string} Resource name string. */ clientTlsPolicyPath(project: string, location: string, clientTlsPolicy: string): string; /** * Parse the project from ClientTlsPolicy resource. * * @param {string} clientTlsPolicyName * A fully-qualified path representing ClientTlsPolicy resource. * @returns {string} A string representing the project. */ matchProjectFromClientTlsPolicyName(clientTlsPolicyName: string): string | number; /** * Parse the location from ClientTlsPolicy resource. * * @param {string} clientTlsPolicyName * A fully-qualified path representing ClientTlsPolicy resource. * @returns {string} A string representing the location. */ matchLocationFromClientTlsPolicyName(clientTlsPolicyName: string): string | number; /** * Parse the client_tls_policy from ClientTlsPolicy resource. * * @param {string} clientTlsPolicyName * A fully-qualified path representing ClientTlsPolicy resource. * @returns {string} A string representing the client_tls_policy. */ matchClientTlsPolicyFromClientTlsPolicyName(clientTlsPolicyName: string): string | number; /** * Return a fully-qualified dnsThreatDetector resource name string. * * @param {string} project * @param {string} location * @param {string} dns_threat_detector * @returns {string} Resource name string. */ dnsThreatDetectorPath(project: string, location: string, dnsThreatDetector: string): string; /** * Parse the project from DnsThreatDetector resource. * * @param {string} dnsThreatDetectorName * A fully-qualified path representing DnsThreatDetector resource. * @returns {string} A string representing the project. */ matchProjectFromDnsThreatDetectorName(dnsThreatDetectorName: string): string | number; /** * Parse the location from DnsThreatDetector resource. * * @param {string} dnsThreatDetectorName * A fully-qualified path representing DnsThreatDetector resource. * @returns {string} A string representing the location. */ matchLocationFromDnsThreatDetectorName(dnsThreatDetectorName: string): string | number; /** * Parse the dns_threat_detector from DnsThreatDetector resource. * * @param {string} dnsThreatDetectorName * A fully-qualified path representing DnsThreatDetector resource. * @returns {string} A string representing the dns_threat_detector. */ matchDnsThreatDetectorFromDnsThreatDetectorName(dnsThreatDetectorName: string): string | number; /** * Return a fully-qualified firewallEndpointAssociation resource name string. * * @param {string} project * @param {string} location * @param {string} firewall_endpoint_association * @returns {string} Resource name string. */ firewallEndpointAssociationPath(project: string, location: string, firewallEndpointAssociation: string): string; /** * Parse the project from FirewallEndpointAssociation resource. * * @param {string} firewallEndpointAssociationName * A fully-qualified path representing FirewallEndpointAssociation resource. * @returns {string} A string representing the project. */ matchProjectFromFirewallEndpointAssociationName(firewallEndpointAssociationName: string): string | number; /** * Parse the location from FirewallEndpointAssociation resource. * * @param {string} firewallEndpointAssociationName * A fully-qualified path representing FirewallEndpointAssociation resource. * @returns {string} A string representing the location. */ matchLocationFromFirewallEndpointAssociationName(firewallEndpointAssociationName: string): string | number; /** * Parse the firewall_endpoint_association from FirewallEndpointAssociation resource. * * @param {string} firewallEndpointAssociationName * A fully-qualified path representing FirewallEndpointAssociation resource. * @returns {string} A string representing the firewall_endpoint_association. */ matchFirewallEndpointAssociationFromFirewallEndpointAssociationName(firewallEndpointAssociationName: string): string | number; /** * Return a fully-qualified forwardingRule resource name string. * * @param {string} project * @param {string} forwarding_rule * @returns {string} Resource name string. */ forwardingRulePath(project: string, forwardingRule: string): string; /** * Parse the project from ForwardingRule resource. * * @param {string} forwardingRuleName * A fully-qualified path representing ForwardingRule resource. * @returns {string} A string representing the project. */ matchProjectFromForwardingRuleName(forwardingRuleName: string): string | number; /** * Parse the forwarding_rule from ForwardingRule resource. * * @param {string} forwardingRuleName * A fully-qualified path representing ForwardingRule resource. * @returns {string} A string representing the forwarding_rule. */ matchForwardingRuleFromForwardingRuleName(forwardingRuleName: string): string | number; /** * Return a fully-qualified gatewaySecurityPolicy resource name string. * * @param {string} project * @param {string} location * @param {string} gateway_security_policy * @returns {string} Resource name string. */ gatewaySecurityPolicyPath(project: string, location: string, gatewaySecurityPolicy: string): string; /** * Parse the project from GatewaySecurityPolicy resource. * * @param {string} gatewaySecurityPolicyName * A fully-qualified path representing GatewaySecurityPolicy resource. * @returns {string} A string representing the project. */ matchProjectFromGatewaySecurityPolicyName(gatewaySecurityPolicyName: string): string | number; /** * Parse the location from GatewaySecurityPolicy resource. * * @param {string} gatewaySecurityPolicyName * A fully-qualified path representing GatewaySecurityPolicy resource. * @returns {string} A string representing the location. */ matchLocationFromGatewaySecurityPolicyName(gatewaySecurityPolicyName: string): string | number; /** * Parse the gateway_security_policy from GatewaySecurityPolicy resource. * * @param {string} gatewaySecurityPolicyName * A fully-qualified path representing GatewaySecurityPolicy resource. * @returns {string} A string representing the gateway_security_policy. */ matchGatewaySecurityPolicyFromGatewaySecurityPolicyName(gatewaySecurityPolicyName: string): string | number; /** * Return a fully-qualified gatewaySecurityPolicyRule resource name string. * * @param {string} project * @param {string} location * @param {string} gateway_security_policy * @param {string} rule * @returns {string} Resource name string. */ gatewaySecurityPolicyRulePath(project: string, location: string, gatewaySecurityPolicy: string, rule: string): string; /** * Parse the project from GatewaySecurityPolicyRule resource. * * @param {string} gatewaySecurityPolicyRuleName * A fully-qualified path representing GatewaySecurityPolicyRule resource. * @returns {string} A string representing the project. */ matchProjectFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number; /** * Parse the location from GatewaySecurityPolicyRule resource. * * @param {string} gatewaySecurityPolicyRuleName * A fully-qualified path representing GatewaySecurityPolicyRule resource. * @returns {string} A string representing the location. */ matchLocationFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number; /** * Parse the gateway_security_policy from GatewaySecurityPolicyRule resource. * * @param {string} gatewaySecurityPolicyRuleName * A fully-qualified path representing GatewaySecurityPolicyRule resource. * @returns {string} A string representing the gateway_security_policy. */ matchGatewaySecurityPolicyFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number; /** * Parse the rule from GatewaySecurityPolicyRule resource. * * @param {string} gatewaySecurityPolicyRuleName * A fully-qualified path representing GatewaySecurityPolicyRule resource. * @returns {string} A string representing the rule. */ matchRuleFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number; /** * Return a fully-qualified interceptDeployment resource name string. * * @param {string} project * @param {string} location * @param {string} intercept_deployment * @returns {string} Resource name string. */ interceptDeploymentPath(project: string, location: string, interceptDeployment: string): string; /** * Parse the project from InterceptDeployment resource. * * @param {string} interceptDeploymentName * A fully-qualified path representing InterceptDeployment resource. * @returns {string} A string representing the project. */ matchProjectFromInterceptDeploymentName(interceptDeploymentName: string): string | number; /** * Parse the location from InterceptDeployment resource. * * @param {string} interceptDeploymentName * A fully-qualified path representing InterceptDeployment resource. * @returns {string} A string representing the location. */ matchLocationFromInterceptDeploymentName(interceptDeploymentName: string): string | number; /** * Parse the intercept_deployment from InterceptDeployment resource. * * @param {string} interceptDeploymentName * A fully-qualified path representing InterceptDeployment resource. * @returns {string} A string representing the intercept_deployment. */ matchInterceptDeploymentFromInterceptDeploymentName(interceptDeploymentName: string): string | number; /** * Return a fully-qualified interceptDeploymentGroup resource name string. * * @param {string} project * @param {string} location * @param {string} intercept_deployment_group * @returns {string} Resource name string. */ interceptDeploymentGroupPath(project: string, location: string, interceptDeploymentGroup: string): string; /** * Parse the project from InterceptDeploymentGroup resource. * * @param {string} interceptDeploymentGroupName * A fully-qualified path representing InterceptDeploymentGroup resource. * @returns {string} A string representing the project. */ matchProjectFromInterceptDeploymentGroupName(interceptDeploymentGroupName: string): string | number; /** * Parse the location from InterceptDeploymentGroup resource. * * @param {string} interceptDeploymentGroupName * A fully-qualified path representing InterceptDeploymentGroup resource. * @returns {string} A string representing the location. */ matchLocationFromInterceptDeploymentGroupName(interceptDeploymentGroupName: string): string | number; /** * Parse the intercept_deployment_group from InterceptDeploymentGroup resource. * * @param {string} interceptDeploymentGroupName * A fully-qualified path representing InterceptDeploymentGroup resource. * @returns {string} A string representing the intercept_deployment_group. */ matchInterceptDeploymentGroupFromInterceptDeploymentGroupName(interceptDeploymentGroupName: string): string | number; /** * Return a fully-qualified interceptEndpointGroup resource name string. * * @param {string} project * @param {string} location * @param {string} intercept_endpoint_group * @returns {string} Resource name string. */ interceptEndpointGroupPath(project: string, location: string, interceptEndpointGroup: string): string; /** * Parse the project from InterceptEndpointGroup resource. * * @param {string} interceptEndpointGroupName * A fully-qualified path representing InterceptEndpointGroup resource. * @returns {string} A string representing the project. */ matchProjectFromInterceptEndpointGroupName(interceptEndpointGroupName: string): string | number; /** * Parse the location from InterceptEndpointGroup resource. * * @param {string} interceptEndpointGroupName * A fully-qualified path representing InterceptEndpointGroup resource. * @returns {string} A string representing the location. */ matchLocationFromInterceptEndpointGroupName(interceptEndpointGroupName: string): string | number; /** * Parse the intercept_endpoint_group from InterceptEndpointGroup resource. * * @param {string} interceptEndpointGroupName * A fully-qualified path representing InterceptEndpointGroup resource. * @returns {string} A string representing the intercept_endpoint_group. */ matchInterceptEndpointGroupFromInterceptEndpointGroupName(interceptEndpointGroupName: string): string | number; /** * Return a fully-qualified interceptEndpointGroupAssociation resource name string. * * @param {string} project * @param {string} location * @param {string} intercept_endpoint_group_association * @returns {string} Resource name string. */ interceptEndpointGroupAssociationPath(project: string, location: string, interceptEndpointGroupAssociation: string): string; /** * Parse the project from InterceptEndpointGroupAssociation resource. * * @param {string} interceptEndpointGroupAssociationName * A fully-qualified path representing InterceptEndpointGroupAssociation resource. * @returns {string} A string representing the project. */ matchProjectFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName: string): string | number; /** * Parse the location from InterceptEndpointGroupAssociation resource. * * @param {string} interceptEndpointGroupAssociationName * A fully-qualified path representing InterceptEndpointGroupAssociation resource. * @returns {string} A string representing the location. */ matchLocationFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName: string): string | number; /** * Parse the intercept_endpoint_group_association from InterceptEndpointGroupAssociation resource. * * @param {string} interceptEndpointGroupAssociationName * A fully-qualified path representing InterceptEndpointGroupAssociation resource. * @returns {string} A string representing the intercept_endpoint_group_association. */ matchInterceptEndpointGroupAssociationFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName: string): string | number; /** * Return a fully-qualified location resource name string. * * @param {string} project * @param {string} location * @returns {string} Resource name string. */ locationPath(project: string, location: string): string; /** * Parse the project from Location resource. * * @param {string} locationName * A fully-qualified path representing Location resource. * @returns {string} A string representing the project. */ matchProjectFromLocationName(locationName: string): string | number; /** * Parse the location from Location resource. * * @param {string} locationName * A fully-qualified path representing Location resource. * @returns {string} A string representing the location. */ matchLocationFromLocationName(locationName: string): string | number; /** * Return a fully-qualified mirroringDeployment resource name string. * * @param {string} project * @param {string} location * @param {string} mirroring_deployment * @returns {string} Resource name string. */ mirroringDeploymentPath(project: string, location: string, mirroringDeployment: string): string; /** * Parse the project from MirroringDeployment resource. * * @param {string} mirroringDeploymentName * A fully-qualified path representing MirroringDeployment resource. * @returns {string} A string representing the project. */ matchProjectFromMirroringDeploymentName(mirroringDeploymentName: string): string | number; /** * Parse the location from MirroringDeployment resource. * * @param {string} mirroringDeploymentName * A fully-qualified path representing MirroringDeployment resource. * @returns {string} A string representing the location. */ matchLocationFromMirroringDeploymentName(mirroringDeploymentName: string): string | number; /** * Parse the mirroring_deployment from MirroringDeployment resource. * * @param {string} mirroringDeploymentName * A fully-qualified path representing MirroringDeployment resource. * @returns {string} A string representing the mirroring_deployment. */ matchMirroringDeploymentFromMirroringDeploymentName(mirroringDeploymentName: string): string | number; /** * Return a fully-qualified mirroringDeploymentGroup resource name string. * * @param {string} project * @param {string} location * @param {string} mirroring_deployment_group * @returns {string} Resource name string. */ mirroringDeploymentGroupPath(project: string, location: string, mirroringDeploymentGroup: string): string; /** * Parse the project from MirroringDeploymentGroup resource. * * @param {string} mirroringDeploymentGroupName * A fully-qualified path representing MirroringDeploymentGroup resource. * @returns {string} A string representing the project. */ matchProjectFromMirroringDeploymentGroupName(mirroringDeploymentGroupName: string): string | number; /** * Parse the location from MirroringDeploymentGroup resource. * * @param {string} mirroringDeploymentGroupName * A fully-qualified path representing MirroringDeploymentGroup resource. * @returns {string} A string representing the location. */ matchLocationFromMirroringDeploymentGroupName(mirroringDeploymentGroupName: string): string | number; /** * Parse the mirroring_deployment_group from MirroringDeploymentGroup resource. * * @param {string} mirroringDeploymentGroupName * A fully-qualified path representing MirroringDeploymentGroup resource. * @returns {string} A string representing the mirroring_deployment_group. */ matchMirroringDeploymentGroupFromMirroringDeploymentGroupName(mirroringDeploymentGroupName: string): string | number; /** * Return a fully-qualified mirroringEndpointGroup resource name string. * * @param {string} project * @param {string} location * @param {string} mirroring_endpoint_group * @returns {string} Resource name string. */ mirroringEndpointGroupPath(project: string, location: string, mirroringEndpointGroup: string): string; /** * Parse the project from MirroringEndpointGroup resource. * * @param {string} mirroringEndpointGroupName * A fully-qualified path representing MirroringEndpointGroup resource. * @returns {string} A string representing the project. */ matchProjectFromMirroringEndpointGroupName(mirroringEndpointGroupName: string): string | number; /** * Parse the location from MirroringEndpointGroup resource. * * @param {string} mirroringEndpointGroupName * A fully-qualified path representing MirroringEndpointGroup resource. * @returns {string} A string representing the location. */ matchLocationFromMirroringEndpointGroupName(mirroringEndpointGroupName: string): string | number; /** * Parse the mirroring_endpoint_group from MirroringEndpointGroup resource. * * @param {string} mirroringEndpointGroupName * A fully-qualified path representing MirroringEndpointGroup resource. * @returns {string} A string representing the mirroring_endpoint_group. */ matchMirroringEndpointGroupFromMirroringEndpointGroupName(mirroringEndpointGroupName: string): string | number; /** * Return a fully-qualified mirroringEndpointGroupAssociation resource name string. * * @param {string} project * @param {string} location * @param {string} mirroring_endpoint_group_association * @returns {string} Resource name string. */ mirroringEndpointGroupAssociationPath(project: string, location: string, mirroringEndpointGroupAssociation: string): string; /** * Parse the project from MirroringEndpointGroupAssociation resource. * * @param {string} mirroringEndpointGroupAssociationName * A fully-qualified path representing MirroringEndpointGroupAssociation resource. * @returns {string} A string representing the project. */ matchProjectFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName: string): string | number; /** * Parse the location from MirroringEndpointGroupAssociation resource. * * @param {string} mirroringEndpointGroupAssociationName * A fully-qualified path representing MirroringEndpointGroupAssociation resource. * @returns {string} A string representing the location. */ matchLocationFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName: string): string | number; /** * Parse the mirroring_endpoint_group_association from MirroringEndpointGroupAssociation resource. * * @param {string} mirroringEndpointGroupAssociationName * A fully-qualified path representing MirroringEndpointGroupAssociation resource. * @returns {string} A string representing the mirroring_endpoint_group_association. */ matchMirroringEndpointGroupAssociationFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName: string): string | number; /** * Return a fully-qualified network resource name string. * * @param {string} project * @param {string} network * @returns {string} Resource name string. */ networkPath(project: string, network: string): string; /** * Parse the project from Network resource. * * @param {string} networkName * A fully-qualified path representing Network resource. * @returns {string} A string representing the project. */ matchProjectFromNetworkName(networkName: string): string | number; /** * Parse the network from Network resource. * * @param {string} networkName * A fully-qualified path representing Network resource. * @returns {string} A string representing the network. */ matchNetworkFromNetworkName(networkName: string): string | number; /** * Return a fully-qualified organizationLocationFirewallEndpoints resource name string. * * @param {string} organization * @param {string} location * @param {string} firewall_endpoint * @returns {string} Resource name string. */ organizationLocationFirewallEndpointsPath(organization: string, location: string, firewallEndpoint: string): string; /** * Parse the organization from OrganizationLocationFirewallEndpoints resource. * * @param {string} organizationLocationFirewallEndpointsName * A fully-qualified path representing organization_location_firewallEndpoints resource. * @returns {string} A string representing the organization. */ matchOrganizationFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName: string): string | number; /** * Parse the location from OrganizationLocationFirewallEndpoints resource. * * @param {string} organizationLocationFirewallEndpointsName * A fully-qualified path representing organization_location_firewallEndpoints resource. * @returns {string} A string representing the location. */ matchLocationFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName: string): string | number; /** * Parse the firewall_endpoint from OrganizationLocationFirewallEndpoints resource. * * @param {string} organizationLocationFirewallEndpointsName * A fully-qualified path representing organization_location_firewallEndpoints resource. * @returns {string} A string representing the firewall_endpoint. */ matchFirewallEndpointFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName: string): string | number; /** * Return a fully-qualified organizationLocationSecurityProfile resource name string. * * @param {string} organization * @param {string} location * @param {string} security_profile * @returns {string} Resource name string. */ organizationLocationSecurityProfilePath(organization: string, location: string, securityProfile: string): string; /** * Parse the organization from OrganizationLocationSecurityProfile resource. * * @param {string} organizationLocationSecurityProfileName * A fully-qualified path representing organization_location_security_profile resource. * @returns {string} A string representing the organization. */ matchOrganizationFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName: string): string | number; /** * Parse the location from OrganizationLocationSecurityProfile resource. * * @param {string} organizationLocationSecurityProfileName * A fully-qualified path representing organization_location_security_profile resource. * @returns {string} A string representing the location. */ matchLocationFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName: string): string | number; /** * Parse the security_profile from OrganizationLocationSecurityProfile resource. * * @param {string} organizationLocationSecurityProfileName * A fully-qualified path representing organization_location_security_profile resource. * @returns {string} A string representing the security_profile. */ matchSecurityProfileFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName: string): string | number; /** * Return a fully-qualified organizationLocationSecurityProfileGroup resource name string. * * @param {string} organization * @param {string} location * @param {string} security_profile_group * @returns {string} Resource name string. */ organizationLocationSecurityProfileGroupPath(organization: string, location: string, securityProfileGroup: string): string; /** * Parse the organization from OrganizationLocationSecurityProfileGroup resource. * * @param {string} organizationLocationSecurityProfileGroupName * A fully-qualified path representing organization_location_security_profile_group resource. * @returns {string} A string representing the organization. */ matchOrganizationFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName: string): string | number; /** * Parse the location from OrganizationLocationSecurityProfileGroup resource. * * @param {string} organizationLocationSecurityProfileGroupName * A fully-qualified path representing organization_location_security_profile_group resource. * @returns {string} A string representing the location. */ matchLocationFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName: string): string | number; /** * Parse the security_profile_group from OrganizationLocationSecurityProfileGroup resource. * * @param {string} organizationLocationSecurityProfileGroupName * A fully-qualified path representing organization_location_security_profile_group resource. * @returns {string} A string representing the security_profile_group. */ matchSecurityProfileGroupFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName: string): string | number; /** * Return a fully-qualified partnerSSEGateway resource name string. * * @param {string} project * @param {string} location * @param {string} partner_sse_gateway * @returns {string} Resource name string. */ partnerSSEGatewayPath(project: string, location: string, partnerSseGateway: string): string; /** * Parse the project from PartnerSSEGateway resource. * * @param {string} partnerSSEGatewayName * A fully-qualified path representing PartnerSSEGateway resource. * @returns {string} A string representing the project. */ matchProjectFromPartnerSSEGatewayName(partnerSSEGatewayName: string): string | number; /** * Parse the location from PartnerSSEGateway resource. * * @param {string} partnerSSEGatewayName * A fully-qualified path representing PartnerSSEGateway resource. * @returns {string} A string representing the location. */ matchLocationFromPartnerSSEGatewayName(partnerSSEGatewayName: string): string | number; /** * Parse the partner_sse_gateway from PartnerSSEGateway resource. * * @param {string} partnerSSEGatewayName * A fully-qualified path representing PartnerSSEGateway resource. * @returns {string} A string representing the partner_sse_gateway. */ matchPartnerSseGatewayFromPartnerSSEGatewayName(partnerSSEGatewayName: string): string | number; /** * Return a fully-qualified partnerSSERealm resource name string. * * @param {string} project * @param {string} location * @param {string} partner_sse_realm * @returns {string} Resource name string. */ partnerSSERealmPath(project: string, location: string, partnerSseRealm: string): string; /** * Parse the project from PartnerSSERealm resource. * * @param {string} partnerSSERealmName * A fully-qualified path representing PartnerSSERealm resource. * @returns {string} A string representing the project. */ matchProjectFromPartnerSSERealmName(partnerSSERealmName: string): string | number; /** * Parse the location from PartnerSSERealm resource. * * @param {string} partnerSSERealmName * A fully-qualified path representing PartnerSSERealm resource. * @returns {string} A string representing the location. */ matchLocationFromPartnerSSERealmName(partnerSSERealmName: string): string | number; /** * Parse the partner_sse_realm from PartnerSSERealm resource. * * @param {string} partnerSSERealmName * A fully-qualified path representing PartnerSSERealm resource. * @returns {string} A string representing the partner_sse_realm. */ matchPartnerSseRealmFromPartnerSSERealmName(partnerSSERealmName: string): string | number; /** * Return a fully-qualified project resource name string. * * @param {string} project * @returns {string} Resource name string. */ projectPath(project: string): string; /** * Parse the project from Project resource. * * @param {string} projectName * A fully-qualified path representing Project resource. * @returns {string} A string representing the project. */ matchProjectFromProjectName(projectName: string): string | number; /** * Return a fully-qualified projectLocationFirewallEndpoints resource name string. * * @param {string} project * @param {string} location * @param {string} firewall_endpoint * @returns {string} Resource name string. */ projectLocationFirewallEndpointsPath(project: string, location: string, firewallEndpoint: string): string; /** * Parse the project from ProjectLocationFirewallEndpoints resource. * * @param {string} projectLocationFirewallEndpointsName * A fully-qualified path representing project_location_firewallEndpoints resource. * @returns {string} A string representing the project. */ matchProjectFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName: string): string | number; /** * Parse the location from ProjectLocationFirewallEndpoints resource. * * @param {string} projectLocationFirewallEndpointsName * A fully-qualified path representing project_location_firewallEndpoints resource. * @returns {string} A string representing the location. */ matchLocationFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName: string): string | number; /** * Parse the firewall_endpoint from ProjectLocationFirewallEndpoints resource. * * @param {string} projectLocationFirewallEndpointsName * A fully-qualified path representing project_location_firewallEndpoints resource. * @returns {string} A string representing the firewall_endpoint. */ matchFirewallEndpointFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName: string): string | number; /** * Return a fully-qualified projectLocationSecurityProfile resource name string. * * @param {string} project * @param {string} location * @param {string} security_profile * @returns {string} Resource name string. */ projectLocationSecurityProfilePath(project: string, location: string, securityProfile: string): string; /** * Parse the project from ProjectLocationSecurityProfile resource. * * @param {string} projectLocationSecurityProfileName * A fully-qualified path representing project_location_security_profile resource. * @returns {string} A string representing the project. */ matchProjectFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName: string): string | number; /** * Parse the location from ProjectLocationSecurityProfile resource. * * @param {string} projectLocationSecurityProfileName * A fully-qualified path representing project_location_security_profile resource. * @returns {string} A string representing the location. */ matchLocationFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName: string): string | number; /** * Parse the security_profile from ProjectLocationSecurityProfile resource. * * @param {string} projectLocationSecurityProfileName * A fully-qualified path representing project_location_security_profile resource. * @returns {string} A string representing the security_profile. */ matchSecurityProfileFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName: string): string | number; /** * Return a fully-qualified projectLocationSecurityProfileGroup resource name string. * * @param {string} project * @param {string} location * @param {string} security_profile_group * @returns {string} Resource name string. */ projectLocationSecurityProfileGroupPath(project: string, location: string, securityProfileGroup: string): string; /** * Parse the project from ProjectLocationSecurityProfileGroup resource. * * @param {string} projectLocationSecurityProfileGroupName * A fully-qualified path representing project_location_security_profile_group resource. * @returns {string} A string representing the project. */ matchProjectFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName: string): string | number; /** * Parse the location from ProjectLocationSecurityProfileGroup resource. * * @param {string} projectLocationSecurityProfileGroupName * A fully-qualified path representing project_location_security_profile_group resource. * @returns {string} A string representing the location. */ matchLocationFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName: string): string | number; /** * Parse the security_profile_group from ProjectLocationSecurityProfileGroup resource. * * @param {string} projectLocationSecurityProfileGroupName * A fully-qualified path representing project_location_security_profile_group resource. * @returns {string} A string representing the security_profile_group. */ matchSecurityProfileGroupFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName: string): string | number; /** * Return a fully-qualified sACAttachment resource name string. * * @param {string} project * @param {string} location * @param {string} sac_attachment * @returns {string} Resource name string. */ sACAttachmentPath(project: string, location: string, sacAttachment: string): string; /** * Parse the project from SACAttachment resource. * * @param {string} sACAttachmentName * A fully-qualified path representing SACAttachment resource. * @returns {string} A string representing the project. */ matchProjectFromSACAttachmentName(sACAttachmentName: string): string | number; /** * Parse the location from SACAttachment resource. * * @param {string} sACAttachmentName * A fully-qualified path representing SACAttachment resource. * @returns {string} A string representing the location. */ matchLocationFromSACAttachmentName(sACAttachmentName: string): string | number; /** * Parse the sac_attachment from SACAttachment resource. * * @param {string} sACAttachmentName * A fully-qualified path representing SACAttachment resource. * @returns {string} A string representing the sac_attachment. */ matchSacAttachmentFromSACAttachmentName(sACAttachmentName: string): string | number; /** * Return a fully-qualified sACRealm resource name string. * * @param {string} project * @param {string} location * @param {string} sac_realm * @returns {string} Resource name string. */ sACRealmPath(project: string, location: string, sacRealm: string): string; /** * Parse the project from SACRealm resource. * * @param {string} sACRealmName * A fully-qualified path representing SACRealm resource. * @returns {string} A string representing the project. */ matchProjectFromSACRealmName(sACRealmName: string): string | number; /** * Parse the location from SACRealm resource. * * @param {string} sACRealmName * A fully-qualified path representing SACRealm resource. * @returns {string} A string representing the location. */ matchLocationFromSACRealmName(sACRealmName: string): string | number; /** * Parse the sac_realm from SACRealm resource. * * @param {string} sACRealmName * A fully-qualified path representing SACRealm resource. * @returns {string} A string representing the sac_realm. */ matchSacRealmFromSACRealmName(sACRealmName: string): string | number; /** * Return a fully-qualified sSEGatewayReference resource name string. * * @param {string} project * @param {string} location * @param {string} sse_gateway_reference * @returns {string} Resource name string. */ sSEGatewayReferencePath(project: string, location: string, sseGatewayReference: string): string; /** * Parse the project from SSEGatewayReference resource. * * @param {string} sSEGatewayReferenceName * A fully-qualified path representing SSEGatewayReference resource. * @returns {string} A string representing the project. */ matchProjectFromSSEGatewayReferenceName(sSEGatewayReferenceName: string): string | number; /** * Parse the location from SSEGatewayReference resource. * * @param {string} sSEGatewayReferenceName * A fully-qualified path representing SSEGatewayReference resource. * @returns {string} A string representing the location. */ matchLocationFromSSEGatewayReferenceName(sSEGatewayReferenceName: string): string | number; /** * Parse the sse_gateway_reference from SSEGatewayReference resource. * * @param {string} sSEGatewayReferenceName * A fully-qualified path representing SSEGatewayReference resource. * @returns {string} A string representing the sse_gateway_reference. */ matchSseGatewayReferenceFromSSEGatewayReferenceName(sSEGatewayReferenceName: string): string | number; /** * Return a fully-qualified serverTlsPolicy resource name string. * * @param {string} project * @param {string} location * @param {string} server_tls_policy * @returns {string} Resource name string. */ serverTlsPolicyPath(project: string, location: string, serverTlsPolicy: string): string; /** * Parse the project from ServerTlsPolicy resource. * * @param {string} serverTlsPolicyName * A fully-qualified path representing ServerTlsPolicy resource. * @returns {string} A string representing the project. */ matchProjectFromServerTlsPolicyName(serverTlsPolicyName: string): string | number; /** * Parse the location from ServerTlsPolicy resource. * * @param {string} serverTlsPolicyName * A fully-qualified path representing ServerTlsPolicy resource. * @returns {string} A string representing the location. */ matchLocationFromServerTlsPolicyName(serverTlsPolicyName: string): string | number; /** * Parse the server_tls_policy from ServerTlsPolicy resource. * * @param {string} serverTlsPolicyName * A fully-qualified path representing ServerTlsPolicy resource. * @returns {string} A string representing the server_tls_policy. */ matchServerTlsPolicyFromServerTlsPolicyName(serverTlsPolicyName: string): string | number; /** * Return a fully-qualified tlsInspectionPolicy resource name string. * * @param {string} project * @param {string} location * @param {string} tls_inspection_policy * @returns {string} Resource name string. */ tlsInspectionPolicyPath(project: string, location: string, tlsInspectionPolicy: string): string; /** * Parse the project from TlsInspectionPolicy resource. * * @param {string} tlsInspectionPolicyName * A fully-qualified path representing TlsInspectionPolicy resource. * @returns {string} A string representing the project. */ matchProjectFromTlsInspectionPolicyName(tlsInspectionPolicyName: string): string | number; /** * Parse the location from TlsInspectionPolicy resource. * * @param {string} tlsInspectionPolicyName * A fully-qualified path representing TlsInspectionPolicy resource. * @returns {string} A string representing the location. */ matchLocationFromTlsInspectionPolicyName(tlsInspectionPolicyName: string): string | number; /** * Parse the tls_inspection_policy from TlsInspectionPolicy resource. * * @param {string} tlsInspectionPolicyName * A fully-qualified path representing TlsInspectionPolicy resource. * @returns {string} A string representing the tls_inspection_policy. */ matchTlsInspectionPolicyFromTlsInspectionPolicyName(tlsInspectionPolicyName: string): string | number; /** * Return a fully-qualified urlList resource name string. * * @param {string} project * @param {string} location * @param {string} url_list * @returns {string} Resource name string. */ urlListPath(project: string, location: string, urlList: string): string; /** * Parse the project from UrlList resource. * * @param {string} urlListName * A fully-qualified path representing UrlList resource. * @returns {string} A string representing the project. */ matchProjectFromUrlListName(urlListName: string): string | number; /** * Parse the location from UrlList resource. * * @param {string} urlListName * A fully-qualified path representing UrlList resource. * @returns {string} A string representing the location. */ matchLocationFromUrlListName(urlListName: string): string | number; /** * Parse the url_list from UrlList resource. * * @param {string} urlListName * A fully-qualified path representing UrlList resource. * @returns {string} A string representing the url_list. */ matchUrlListFromUrlListName(urlListName: string): string | number; /** * Terminate the gRPC channel and close the client. * * The client will no longer be usable and all future behavior is undefined. * @returns {Promise} A promise that resolves when the client is closed. */ close(): Promise; }