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'; /** * AddressGroup is a resource that manages a collection of IP or Domain Names, * it can be used in Firewall Policy to represent allow or deny traffic from * all the IP or Domain Names from the Address Group. * @class * @memberof v1 */ export declare class AddressGroupServiceClient { 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; addressGroupServiceStub?: Promise<{ [name: string]: Function; }>; /** * Construct an instance of AddressGroupServiceClient. * * @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 AddressGroupServiceClient({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 details of a single address group. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the AddressGroup to get. Must be in the format * `projects/* /locations/{location}/addressGroups/*`. * @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.v1.AddressGroup|AddressGroup}. * 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/v1/address_group_service.get_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_GetAddressGroup_async */ getAddressGroup(request?: protos.google.cloud.networksecurity.v1.IGetAddressGroupRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IAddressGroup, (protos.google.cloud.networksecurity.v1.IGetAddressGroupRequest | undefined), {} | undefined ]>; getAddressGroup(request: protos.google.cloud.networksecurity.v1.IGetAddressGroupRequest, options: CallOptions, callback: Callback): void; getAddressGroup(request: protos.google.cloud.networksecurity.v1.IGetAddressGroupRequest, callback: Callback): void; /** * Creates a new address group in a given project and location. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent resource of the AddressGroup. Must be in the * format `projects/* /locations/{location}`. * @param {string} request.addressGroupId * Required. Short name of the AddressGroup resource to be created. * This value should be 1-63 characters long, containing only * letters, numbers, hyphens, and underscores, and should not start * with a number. E.g. "authz_policy". * @param {google.cloud.networksecurity.v1.AddressGroup} request.addressGroup * Required. AddressGroup resource to be created. * @param {string} [request.requestId] * Optional. An optional request ID to identify requests. Specify a unique * request ID so that if you must retry your request, the server will know to * ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. * * For example, consider a situation where you make an initial request and * the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID * was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. * * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * @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/v1/address_group_service.create_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_CreateAddressGroup_async */ createAddressGroup(request?: protos.google.cloud.networksecurity.v1.ICreateAddressGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createAddressGroup(request: protos.google.cloud.networksecurity.v1.ICreateAddressGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createAddressGroup(request: protos.google.cloud.networksecurity.v1.ICreateAddressGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createAddressGroup()`. * @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/v1/address_group_service.create_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_CreateAddressGroup_async */ checkCreateAddressGroupProgress(name: string): Promise>; /** * Updates the parameters of a single address group. * * @param {Object} request * The request object that will be sent. * @param {google.protobuf.FieldMask} [request.updateMask] * Optional. Field mask is used to specify the fields to be overwritten in the * AddressGroup resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. If the * user does not provide a mask then all fields will be overwritten. * @param {google.cloud.networksecurity.v1.AddressGroup} request.addressGroup * Required. Updated AddressGroup resource. * @param {string} [request.requestId] * Optional. An optional request ID to identify requests. Specify a unique * request ID so that if you must retry your request, the server will know to * ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. * * For example, consider a situation where you make an initial request and * the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID * was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. * * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * @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/v1/address_group_service.update_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_UpdateAddressGroup_async */ updateAddressGroup(request?: protos.google.cloud.networksecurity.v1.IUpdateAddressGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateAddressGroup(request: protos.google.cloud.networksecurity.v1.IUpdateAddressGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateAddressGroup(request: protos.google.cloud.networksecurity.v1.IUpdateAddressGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateAddressGroup()`. * @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/v1/address_group_service.update_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_UpdateAddressGroup_async */ checkUpdateAddressGroupProgress(name: string): Promise>; /** * Adds items to an address group. * * @param {Object} request * The request object that will be sent. * @param {string} request.addressGroup * Required. A name of the AddressGroup to add items to. Must be in the format * `projects|organization/* /locations/{location}/addressGroups/*`. * @param {string[]} request.items * Required. List of items to add. * @param {string} [request.requestId] * Optional. An optional request ID to identify requests. Specify a unique * request ID so that if you must retry your request, the server will know to * ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. * * For example, consider a situation where you make an initial request and * the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID * was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. * * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * @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/v1/address_group_service.add_address_group_items.js * region_tag:networksecurity_v1_generated_AddressGroupService_AddAddressGroupItems_async */ addAddressGroupItems(request?: protos.google.cloud.networksecurity.v1.IAddAddressGroupItemsRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; addAddressGroupItems(request: protos.google.cloud.networksecurity.v1.IAddAddressGroupItemsRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; addAddressGroupItems(request: protos.google.cloud.networksecurity.v1.IAddAddressGroupItemsRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `addAddressGroupItems()`. * @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/v1/address_group_service.add_address_group_items.js * region_tag:networksecurity_v1_generated_AddressGroupService_AddAddressGroupItems_async */ checkAddAddressGroupItemsProgress(name: string): Promise>; /** * Removes items from an address group. * * @param {Object} request * The request object that will be sent. * @param {string} request.addressGroup * Required. A name of the AddressGroup to remove items from. Must be in the * format `projects|organization/* /locations/{location}/addressGroups/*`. * @param {string[]} request.items * Required. List of items to remove. * @param {string} [request.requestId] * Optional. An optional request ID to identify requests. Specify a unique * request ID so that if you must retry your request, the server will know to * ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. * * For example, consider a situation where you make an initial request and * the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID * was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. * * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * @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/v1/address_group_service.remove_address_group_items.js * region_tag:networksecurity_v1_generated_AddressGroupService_RemoveAddressGroupItems_async */ removeAddressGroupItems(request?: protos.google.cloud.networksecurity.v1.IRemoveAddressGroupItemsRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; removeAddressGroupItems(request: protos.google.cloud.networksecurity.v1.IRemoveAddressGroupItemsRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; removeAddressGroupItems(request: protos.google.cloud.networksecurity.v1.IRemoveAddressGroupItemsRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `removeAddressGroupItems()`. * @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/v1/address_group_service.remove_address_group_items.js * region_tag:networksecurity_v1_generated_AddressGroupService_RemoveAddressGroupItems_async */ checkRemoveAddressGroupItemsProgress(name: string): Promise>; /** * Clones items from one address group to another. * * @param {Object} request * The request object that will be sent. * @param {string} request.addressGroup * Required. A name of the AddressGroup to clone items to. Must be in the * format `projects|organization/* /locations/{location}/addressGroups/*`. * @param {string} request.sourceAddressGroup * Required. Source address group to clone items from. * @param {string} [request.requestId] * Optional. An optional request ID to identify requests. Specify a unique * request ID so that if you must retry your request, the server will know to * ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. * * For example, consider a situation where you make an initial request and * the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID * was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. * * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * @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/v1/address_group_service.clone_address_group_items.js * region_tag:networksecurity_v1_generated_AddressGroupService_CloneAddressGroupItems_async */ cloneAddressGroupItems(request?: protos.google.cloud.networksecurity.v1.ICloneAddressGroupItemsRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; cloneAddressGroupItems(request: protos.google.cloud.networksecurity.v1.ICloneAddressGroupItemsRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; cloneAddressGroupItems(request: protos.google.cloud.networksecurity.v1.ICloneAddressGroupItemsRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `cloneAddressGroupItems()`. * @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/v1/address_group_service.clone_address_group_items.js * region_tag:networksecurity_v1_generated_AddressGroupService_CloneAddressGroupItems_async */ checkCloneAddressGroupItemsProgress(name: string): Promise>; /** * Deletes a single address group. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the AddressGroup to delete. Must be in the format * `projects/* /locations/{location}/addressGroups/*`. * @param {string} [request.requestId] * Optional. An optional request ID to identify requests. Specify a unique * request ID so that if you must retry your request, the server will know to * ignore the request if it has already been completed. The server will * guarantee that for at least 60 minutes since the first request. * * For example, consider a situation where you make an initial request and * the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID * was received, and if so, will ignore the second request. This prevents * clients from accidentally creating duplicate commitments. * * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * @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/v1/address_group_service.delete_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_DeleteAddressGroup_async */ deleteAddressGroup(request?: protos.google.cloud.networksecurity.v1.IDeleteAddressGroupRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteAddressGroup(request: protos.google.cloud.networksecurity.v1.IDeleteAddressGroupRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteAddressGroup(request: protos.google.cloud.networksecurity.v1.IDeleteAddressGroupRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteAddressGroup()`. * @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/v1/address_group_service.delete_address_group.js * region_tag:networksecurity_v1_generated_AddressGroupService_DeleteAddressGroup_async */ checkDeleteAddressGroupProgress(name: string): Promise>; /** * Lists address groups in a given project and location. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The project and location from which the AddressGroups * should be listed, specified in the format * `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of AddressGroups to return per call. * @param {string} request.pageToken * The value returned by the last * `ListAddressGroupsResponse` Indicates that this is a * continuation of a prior `ListAddressGroups` call, and * that the system should return the next page of data. * @param {boolean} [request.returnPartialSuccess] * Optional. If true, allow partial responses for multi-regional Aggregated * List requests. * @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.v1.AddressGroup|AddressGroup}. * 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 `listAddressGroupsAsync()` * 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. */ listAddressGroups(request?: protos.google.cloud.networksecurity.v1.IListAddressGroupsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IAddressGroup[], protos.google.cloud.networksecurity.v1.IListAddressGroupsRequest | null, protos.google.cloud.networksecurity.v1.IListAddressGroupsResponse ]>; listAddressGroups(request: protos.google.cloud.networksecurity.v1.IListAddressGroupsRequest, options: CallOptions, callback: PaginationCallback): void; listAddressGroups(request: protos.google.cloud.networksecurity.v1.IListAddressGroupsRequest, callback: PaginationCallback): void; /** * Equivalent to `listAddressGroups`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The project and location from which the AddressGroups * should be listed, specified in the format * `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of AddressGroups to return per call. * @param {string} request.pageToken * The value returned by the last * `ListAddressGroupsResponse` Indicates that this is a * continuation of a prior `ListAddressGroups` call, and * that the system should return the next page of data. * @param {boolean} [request.returnPartialSuccess] * Optional. If true, allow partial responses for multi-regional Aggregated * List requests. * @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.v1.AddressGroup|AddressGroup} 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 `listAddressGroupsAsync()` * 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. */ listAddressGroupsStream(request?: protos.google.cloud.networksecurity.v1.IListAddressGroupsRequest, options?: CallOptions): Transform; /** * Equivalent to `listAddressGroups`, 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 project and location from which the AddressGroups * should be listed, specified in the format * `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of AddressGroups to return per call. * @param {string} request.pageToken * The value returned by the last * `ListAddressGroupsResponse` Indicates that this is a * continuation of a prior `ListAddressGroups` call, and * that the system should return the next page of data. * @param {boolean} [request.returnPartialSuccess] * Optional. If true, allow partial responses for multi-regional Aggregated * List requests. * @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.v1.AddressGroup|AddressGroup}. 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/v1/address_group_service.list_address_groups.js * region_tag:networksecurity_v1_generated_AddressGroupService_ListAddressGroups_async */ listAddressGroupsAsync(request?: protos.google.cloud.networksecurity.v1.IListAddressGroupsRequest, options?: CallOptions): AsyncIterable; /** * Lists references of an address group. * * @param {Object} request * The request object that will be sent. * @param {string} request.addressGroup * Required. A name of the AddressGroup to clone items to. Must be in the * format `projects|organization/* /locations/{location}/addressGroups/*`. * @param {number} request.pageSize * The maximum number of references to return. If unspecified, server * will pick an appropriate default. Server may return fewer items than * requested. A caller should only rely on response's * {@link protos.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.next_page_token|next_page_token} * to determine if there are more AddressGroupUsers left to be queried. * @param {string} request.pageToken * The next_page_token value returned from a previous List request, * if any. * @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.v1.ListAddressGroupReferencesResponse.AddressGroupReference|AddressGroupReference}. * 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 `listAddressGroupReferencesAsync()` * 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. */ listAddressGroupReferences(request?: protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.IAddressGroupReference[], protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesRequest | null, protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesResponse ]>; listAddressGroupReferences(request: protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesRequest, options: CallOptions, callback: PaginationCallback): void; listAddressGroupReferences(request: protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesRequest, callback: PaginationCallback): void; /** * Equivalent to `listAddressGroupReferences`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.addressGroup * Required. A name of the AddressGroup to clone items to. Must be in the * format `projects|organization/* /locations/{location}/addressGroups/*`. * @param {number} request.pageSize * The maximum number of references to return. If unspecified, server * will pick an appropriate default. Server may return fewer items than * requested. A caller should only rely on response's * {@link protos.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.next_page_token|next_page_token} * to determine if there are more AddressGroupUsers left to be queried. * @param {string} request.pageToken * The next_page_token value returned from a previous List request, * if any. * @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.v1.ListAddressGroupReferencesResponse.AddressGroupReference|AddressGroupReference} 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 `listAddressGroupReferencesAsync()` * 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. */ listAddressGroupReferencesStream(request?: protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesRequest, options?: CallOptions): Transform; /** * Equivalent to `listAddressGroupReferences`, 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.addressGroup * Required. A name of the AddressGroup to clone items to. Must be in the * format `projects|organization/* /locations/{location}/addressGroups/*`. * @param {number} request.pageSize * The maximum number of references to return. If unspecified, server * will pick an appropriate default. Server may return fewer items than * requested. A caller should only rely on response's * {@link protos.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.next_page_token|next_page_token} * to determine if there are more AddressGroupUsers left to be queried. * @param {string} request.pageToken * The next_page_token value returned from a previous List request, * if any. * @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.v1.ListAddressGroupReferencesResponse.AddressGroupReference|AddressGroupReference}. 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/v1/address_group_service.list_address_group_references.js * region_tag:networksecurity_v1_generated_AddressGroupService_ListAddressGroupReferences_async */ listAddressGroupReferencesAsync(request?: protos.google.cloud.networksecurity.v1.IListAddressGroupReferencesRequest, 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 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 organizationLocationAddressGroup resource name string. * * @param {string} organization * @param {string} location * @param {string} address_group * @returns {string} Resource name string. */ organizationLocationAddressGroupPath(organization: string, location: string, addressGroup: string): string; /** * Parse the organization from OrganizationLocationAddressGroup resource. * * @param {string} organizationLocationAddressGroupName * A fully-qualified path representing organization_location_address_group resource. * @returns {string} A string representing the organization. */ matchOrganizationFromOrganizationLocationAddressGroupName(organizationLocationAddressGroupName: string): string | number; /** * Parse the location from OrganizationLocationAddressGroup resource. * * @param {string} organizationLocationAddressGroupName * A fully-qualified path representing organization_location_address_group resource. * @returns {string} A string representing the location. */ matchLocationFromOrganizationLocationAddressGroupName(organizationLocationAddressGroupName: string): string | number; /** * Parse the address_group from OrganizationLocationAddressGroup resource. * * @param {string} organizationLocationAddressGroupName * A fully-qualified path representing organization_location_address_group resource. * @returns {string} A string representing the address_group. */ matchAddressGroupFromOrganizationLocationAddressGroupName(organizationLocationAddressGroupName: 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 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 projectLocationAddressGroup resource name string. * * @param {string} project * @param {string} location * @param {string} address_group * @returns {string} Resource name string. */ projectLocationAddressGroupPath(project: string, location: string, addressGroup: string): string; /** * Parse the project from ProjectLocationAddressGroup resource. * * @param {string} projectLocationAddressGroupName * A fully-qualified path representing project_location_address_group resource. * @returns {string} A string representing the project. */ matchProjectFromProjectLocationAddressGroupName(projectLocationAddressGroupName: string): string | number; /** * Parse the location from ProjectLocationAddressGroup resource. * * @param {string} projectLocationAddressGroupName * A fully-qualified path representing project_location_address_group resource. * @returns {string} A string representing the location. */ matchLocationFromProjectLocationAddressGroupName(projectLocationAddressGroupName: string): string | number; /** * Parse the address_group from ProjectLocationAddressGroup resource. * * @param {string} projectLocationAddressGroupName * A fully-qualified path representing project_location_address_group resource. * @returns {string} A string representing the address_group. */ matchAddressGroupFromProjectLocationAddressGroupName(projectLocationAddressGroupName: 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 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; }