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'; /** * Network Security API provides resources to configure authentication and * authorization policies. Refer to per API resource documentation for more * information. * @class * @memberof v1 */ export declare class NetworkSecurityClient { 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; networkSecurityStub?: Promise<{ [name: string]: Function; }>; /** * Construct an instance of NetworkSecurityClient. * * @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 NetworkSecurityClient({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 AuthorizationPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the AuthorizationPolicy to get. Must be in the format * `projects/{project}/locations/{location}/authorizationPolicies/*`. * @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.AuthorizationPolicy|AuthorizationPolicy}. * 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/network_security.get_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetAuthorizationPolicy_async */ getAuthorizationPolicy(request?: protos.google.cloud.networksecurity.v1.IGetAuthorizationPolicyRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IAuthorizationPolicy, (protos.google.cloud.networksecurity.v1.IGetAuthorizationPolicyRequest | undefined), {} | undefined ]>; getAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.IGetAuthorizationPolicyRequest, options: CallOptions, callback: Callback): void; getAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.IGetAuthorizationPolicyRequest, callback: Callback): void; /** * Gets details of a single BackendAuthenticationConfig to * BackendAuthenticationConfig. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the BackendAuthenticationConfig to get. Must be in the * format `projects/* /locations/{location}/backendAuthenticationConfigs/*`. * @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.BackendAuthenticationConfig|BackendAuthenticationConfig}. * 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/network_security.get_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetBackendAuthenticationConfig_async */ getBackendAuthenticationConfig(request?: protos.google.cloud.networksecurity.v1.IGetBackendAuthenticationConfigRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IBackendAuthenticationConfig, (protos.google.cloud.networksecurity.v1.IGetBackendAuthenticationConfigRequest | undefined), {} | undefined ]>; getBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.IGetBackendAuthenticationConfigRequest, options: CallOptions, callback: Callback): void; getBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.IGetBackendAuthenticationConfigRequest, callback: Callback): void; /** * Gets details of a single ServerTlsPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the ServerTlsPolicy to get. Must be in the format * `projects/* /locations/{location}/serverTlsPolicies/*`. * @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.ServerTlsPolicy|ServerTlsPolicy}. * 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/network_security.get_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetServerTlsPolicy_async */ getServerTlsPolicy(request?: protos.google.cloud.networksecurity.v1.IGetServerTlsPolicyRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IServerTlsPolicy, (protos.google.cloud.networksecurity.v1.IGetServerTlsPolicyRequest | undefined), {} | undefined ]>; getServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.IGetServerTlsPolicyRequest, options: CallOptions, callback: Callback): void; getServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.IGetServerTlsPolicyRequest, callback: Callback): void; /** * Gets details of a single ClientTlsPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the ClientTlsPolicy to get. Must be in the format * `projects/* /locations/{location}/clientTlsPolicies/*`. * @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.ClientTlsPolicy|ClientTlsPolicy}. * 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/network_security.get_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetClientTlsPolicy_async */ getClientTlsPolicy(request?: protos.google.cloud.networksecurity.v1.IGetClientTlsPolicyRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IClientTlsPolicy, (protos.google.cloud.networksecurity.v1.IGetClientTlsPolicyRequest | undefined), {} | undefined ]>; getClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.IGetClientTlsPolicyRequest, options: CallOptions, callback: Callback): void; getClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.IGetClientTlsPolicyRequest, callback: Callback): void; /** * Gets details of a single GatewaySecurityPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the GatewaySecurityPolicy to get. Must be in the format * `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. * @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.GatewaySecurityPolicy|GatewaySecurityPolicy}. * 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/network_security.get_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetGatewaySecurityPolicy_async */ getGatewaySecurityPolicy(request?: protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IGatewaySecurityPolicy, (protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRequest | undefined), {} | undefined ]>; getGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRequest, options: CallOptions, callback: Callback): void; getGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRequest, callback: Callback): void; /** * Gets details of a single GatewaySecurityPolicyRule. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The name of the GatewaySecurityPolicyRule to retrieve. * Format: * projects/{project}/location/{location}/gatewaySecurityPolicies/* /rules/* * @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.GatewaySecurityPolicyRule|GatewaySecurityPolicyRule}. * 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/network_security.get_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetGatewaySecurityPolicyRule_async */ getGatewaySecurityPolicyRule(request?: protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRuleRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IGatewaySecurityPolicyRule, (protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRuleRequest | undefined), {} | undefined ]>; getGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRuleRequest, options: CallOptions, callback: Callback): void; getGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.IGetGatewaySecurityPolicyRuleRequest, callback: Callback): void; /** * Gets details of a single UrlList. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the UrlList to get. Must be in the format * `projects/* /locations/{location}/urlLists/*`. * @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.UrlList|UrlList}. * 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/network_security.get_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetUrlList_async */ getUrlList(request?: protos.google.cloud.networksecurity.v1.IGetUrlListRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IUrlList, protos.google.cloud.networksecurity.v1.IGetUrlListRequest | undefined, {} | undefined ]>; getUrlList(request: protos.google.cloud.networksecurity.v1.IGetUrlListRequest, options: CallOptions, callback: Callback): void; getUrlList(request: protos.google.cloud.networksecurity.v1.IGetUrlListRequest, callback: Callback): void; /** * Gets details of a single TlsInspectionPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the TlsInspectionPolicy to get. Must be in the format * `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. * @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.TlsInspectionPolicy|TlsInspectionPolicy}. * 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/network_security.get_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetTlsInspectionPolicy_async */ getTlsInspectionPolicy(request?: protos.google.cloud.networksecurity.v1.IGetTlsInspectionPolicyRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.ITlsInspectionPolicy, (protos.google.cloud.networksecurity.v1.IGetTlsInspectionPolicyRequest | undefined), {} | undefined ]>; getTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.IGetTlsInspectionPolicyRequest, options: CallOptions, callback: Callback): void; getTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.IGetTlsInspectionPolicyRequest, callback: Callback): void; /** * Gets details of a single AuthzPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the `AuthzPolicy` resource to get. Must be in the * format * `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. * @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.AuthzPolicy|AuthzPolicy}. * 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/network_security.get_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_GetAuthzPolicy_async */ getAuthzPolicy(request?: protos.google.cloud.networksecurity.v1.IGetAuthzPolicyRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IAuthzPolicy, protos.google.cloud.networksecurity.v1.IGetAuthzPolicyRequest | undefined, {} | undefined ]>; getAuthzPolicy(request: protos.google.cloud.networksecurity.v1.IGetAuthzPolicyRequest, options: CallOptions, callback: Callback): void; getAuthzPolicy(request: protos.google.cloud.networksecurity.v1.IGetAuthzPolicyRequest, callback: Callback): void; /** * Creates a new AuthorizationPolicy 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 AuthorizationPolicy. Must be in the * format `projects/{project}/locations/{location}`. * @param {string} request.authorizationPolicyId * Required. Short name of the AuthorizationPolicy 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.AuthorizationPolicy} request.authorizationPolicy * Required. AuthorizationPolicy resource to be created. * @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/network_security.create_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateAuthorizationPolicy_async */ createAuthorizationPolicy(request?: protos.google.cloud.networksecurity.v1.ICreateAuthorizationPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.ICreateAuthorizationPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.ICreateAuthorizationPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createAuthorizationPolicy()`. * @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/network_security.create_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateAuthorizationPolicy_async */ checkCreateAuthorizationPolicyProgress(name: string): Promise>; /** * Updates the parameters of a single AuthorizationPolicy. * * @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 * AuthorizationPolicy 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.AuthorizationPolicy} request.authorizationPolicy * Required. Updated AuthorizationPolicy resource. * @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/network_security.update_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateAuthorizationPolicy_async */ updateAuthorizationPolicy(request?: protos.google.cloud.networksecurity.v1.IUpdateAuthorizationPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateAuthorizationPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateAuthorizationPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateAuthorizationPolicy()`. * @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/network_security.update_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateAuthorizationPolicy_async */ checkUpdateAuthorizationPolicyProgress(name: string): Promise>; /** * Deletes a single AuthorizationPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the AuthorizationPolicy to delete. Must be in the * format `projects/{project}/locations/{location}/authorizationPolicies/*`. * @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/network_security.delete_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteAuthorizationPolicy_async */ deleteAuthorizationPolicy(request?: protos.google.cloud.networksecurity.v1.IDeleteAuthorizationPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteAuthorizationPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteAuthorizationPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteAuthorizationPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteAuthorizationPolicy()`. * @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/network_security.delete_authorization_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteAuthorizationPolicy_async */ checkDeleteAuthorizationPolicyProgress(name: string): Promise>; /** * Creates a new BackendAuthenticationConfig 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 BackendAuthenticationConfig. Must be * in the format `projects/* /locations/{location}`. * @param {string} request.backendAuthenticationConfigId * Required. Short name of the BackendAuthenticationConfig 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. "backend-auth-config". * @param {google.cloud.networksecurity.v1.BackendAuthenticationConfig} request.backendAuthenticationConfig * Required. BackendAuthenticationConfig resource to be created. * @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/network_security.create_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateBackendAuthenticationConfig_async */ createBackendAuthenticationConfig(request?: protos.google.cloud.networksecurity.v1.ICreateBackendAuthenticationConfigRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.ICreateBackendAuthenticationConfigRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.ICreateBackendAuthenticationConfigRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createBackendAuthenticationConfig()`. * @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/network_security.create_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateBackendAuthenticationConfig_async */ checkCreateBackendAuthenticationConfigProgress(name: string): Promise>; /** * Updates the parameters of a single BackendAuthenticationConfig to * BackendAuthenticationConfig. * * @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 * BackendAuthenticationConfig 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.BackendAuthenticationConfig} request.backendAuthenticationConfig * Required. Updated BackendAuthenticationConfig resource. * @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/network_security.update_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateBackendAuthenticationConfig_async */ updateBackendAuthenticationConfig(request?: protos.google.cloud.networksecurity.v1.IUpdateBackendAuthenticationConfigRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.IUpdateBackendAuthenticationConfigRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.IUpdateBackendAuthenticationConfigRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateBackendAuthenticationConfig()`. * @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/network_security.update_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateBackendAuthenticationConfig_async */ checkUpdateBackendAuthenticationConfigProgress(name: string): Promise>; /** * Deletes a single BackendAuthenticationConfig to * BackendAuthenticationConfig. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the BackendAuthenticationConfig to delete. Must be in * the format * `projects/* /locations/{location}/backendAuthenticationConfigs/*`. * @param {string} [request.etag] * Optional. Etag of the resource. * If this is provided, it must match the server's etag. * @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/network_security.delete_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteBackendAuthenticationConfig_async */ deleteBackendAuthenticationConfig(request?: protos.google.cloud.networksecurity.v1.IDeleteBackendAuthenticationConfigRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.IDeleteBackendAuthenticationConfigRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteBackendAuthenticationConfig(request: protos.google.cloud.networksecurity.v1.IDeleteBackendAuthenticationConfigRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteBackendAuthenticationConfig()`. * @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/network_security.delete_backend_authentication_config.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteBackendAuthenticationConfig_async */ checkDeleteBackendAuthenticationConfigProgress(name: string): Promise>; /** * Creates a new ServerTlsPolicy 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 ServerTlsPolicy. Must be in * the format `projects/* /locations/{location}`. * @param {string} request.serverTlsPolicyId * Required. Short name of the ServerTlsPolicy 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. * "server_mtls_policy". * @param {google.cloud.networksecurity.v1.ServerTlsPolicy} request.serverTlsPolicy * Required. ServerTlsPolicy resource to be created. * @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/network_security.create_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateServerTlsPolicy_async */ createServerTlsPolicy(request?: protos.google.cloud.networksecurity.v1.ICreateServerTlsPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.ICreateServerTlsPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.ICreateServerTlsPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createServerTlsPolicy()`. * @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/network_security.create_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateServerTlsPolicy_async */ checkCreateServerTlsPolicyProgress(name: string): Promise>; /** * Updates the parameters of a single ServerTlsPolicy. * * @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 * ServerTlsPolicy 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.ServerTlsPolicy} request.serverTlsPolicy * Required. Updated ServerTlsPolicy resource. * @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/network_security.update_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateServerTlsPolicy_async */ updateServerTlsPolicy(request?: protos.google.cloud.networksecurity.v1.IUpdateServerTlsPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateServerTlsPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateServerTlsPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateServerTlsPolicy()`. * @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/network_security.update_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateServerTlsPolicy_async */ checkUpdateServerTlsPolicyProgress(name: string): Promise>; /** * Deletes a single ServerTlsPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the ServerTlsPolicy to delete. Must be in * the format `projects/* /locations/{location}/serverTlsPolicies/*`. * @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/network_security.delete_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteServerTlsPolicy_async */ deleteServerTlsPolicy(request?: protos.google.cloud.networksecurity.v1.IDeleteServerTlsPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteServerTlsPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteServerTlsPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteServerTlsPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteServerTlsPolicy()`. * @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/network_security.delete_server_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteServerTlsPolicy_async */ checkDeleteServerTlsPolicyProgress(name: string): Promise>; /** * Creates a new ClientTlsPolicy 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 ClientTlsPolicy. Must be in * the format `projects/* /locations/{location}`. * @param {string} request.clientTlsPolicyId * Required. Short name of the ClientTlsPolicy 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. * "client_mtls_policy". * @param {google.cloud.networksecurity.v1.ClientTlsPolicy} request.clientTlsPolicy * Required. ClientTlsPolicy resource to be created. * @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/network_security.create_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateClientTlsPolicy_async */ createClientTlsPolicy(request?: protos.google.cloud.networksecurity.v1.ICreateClientTlsPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.ICreateClientTlsPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.ICreateClientTlsPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createClientTlsPolicy()`. * @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/network_security.create_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateClientTlsPolicy_async */ checkCreateClientTlsPolicyProgress(name: string): Promise>; /** * Updates the parameters of a single ClientTlsPolicy. * * @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 * ClientTlsPolicy 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.ClientTlsPolicy} request.clientTlsPolicy * Required. Updated ClientTlsPolicy resource. * @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/network_security.update_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateClientTlsPolicy_async */ updateClientTlsPolicy(request?: protos.google.cloud.networksecurity.v1.IUpdateClientTlsPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateClientTlsPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateClientTlsPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateClientTlsPolicy()`. * @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/network_security.update_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateClientTlsPolicy_async */ checkUpdateClientTlsPolicyProgress(name: string): Promise>; /** * Deletes a single ClientTlsPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the ClientTlsPolicy to delete. Must be in * the format `projects/* /locations/{location}/clientTlsPolicies/*`. * @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/network_security.delete_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteClientTlsPolicy_async */ deleteClientTlsPolicy(request?: protos.google.cloud.networksecurity.v1.IDeleteClientTlsPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteClientTlsPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteClientTlsPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteClientTlsPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteClientTlsPolicy()`. * @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/network_security.delete_client_tls_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteClientTlsPolicy_async */ checkDeleteClientTlsPolicyProgress(name: string): Promise>; /** * Creates a new GatewaySecurityPolicy 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 GatewaySecurityPolicy. Must be in the * format `projects/{project}/locations/{location}`. * @param {string} request.gatewaySecurityPolicyId * Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1". * @param {google.cloud.networksecurity.v1.GatewaySecurityPolicy} request.gatewaySecurityPolicy * Required. GatewaySecurityPolicy resource to be created. * @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/network_security.create_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateGatewaySecurityPolicy_async */ createGatewaySecurityPolicy(request?: protos.google.cloud.networksecurity.v1.ICreateGatewaySecurityPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.ICreateGatewaySecurityPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.ICreateGatewaySecurityPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createGatewaySecurityPolicy()`. * @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/network_security.create_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateGatewaySecurityPolicy_async */ checkCreateGatewaySecurityPolicyProgress(name: string): Promise>; /** * Updates the parameters of a single GatewaySecurityPolicy. * * @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 * GatewaySecurityPolicy 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.GatewaySecurityPolicy} request.gatewaySecurityPolicy * Required. Updated GatewaySecurityPolicy resource. * @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/network_security.update_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateGatewaySecurityPolicy_async */ updateGatewaySecurityPolicy(request?: protos.google.cloud.networksecurity.v1.IUpdateGatewaySecurityPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateGatewaySecurityPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateGatewaySecurityPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateGatewaySecurityPolicy()`. * @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/network_security.update_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateGatewaySecurityPolicy_async */ checkUpdateGatewaySecurityPolicyProgress(name: string): Promise>; /** * Deletes a single GatewaySecurityPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the GatewaySecurityPolicy to delete. Must be in the * format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. * @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/network_security.delete_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteGatewaySecurityPolicy_async */ deleteGatewaySecurityPolicy(request?: protos.google.cloud.networksecurity.v1.IDeleteGatewaySecurityPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteGatewaySecurityPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteGatewaySecurityPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteGatewaySecurityPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteGatewaySecurityPolicy()`. * @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/network_security.delete_gateway_security_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteGatewaySecurityPolicy_async */ checkDeleteGatewaySecurityPolicyProgress(name: string): Promise>; /** * Creates a new GatewaySecurityPolicy in a given project and location. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The parent where this rule will be created. * Format : * projects/{project}/location/{location}/gatewaySecurityPolicies/* * @param {google.cloud.networksecurity.v1.GatewaySecurityPolicyRule} request.gatewaySecurityPolicyRule * Required. The rule to be created. * @param {string} request.gatewaySecurityPolicyRuleId * The ID to use for the rule, which will become the final component of * the rule's resource name. * This value should be 4-63 characters, and valid characters * are /{@link protos.0-9|a-z}-/. * @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/network_security.create_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateGatewaySecurityPolicyRule_async */ createGatewaySecurityPolicyRule(request?: protos.google.cloud.networksecurity.v1.ICreateGatewaySecurityPolicyRuleRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.ICreateGatewaySecurityPolicyRuleRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.ICreateGatewaySecurityPolicyRuleRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createGatewaySecurityPolicyRule()`. * @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/network_security.create_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateGatewaySecurityPolicyRule_async */ checkCreateGatewaySecurityPolicyRuleProgress(name: string): Promise>; /** * Updates the parameters of a single GatewaySecurityPolicyRule. * * @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 * GatewaySecurityPolicy 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.GatewaySecurityPolicyRule} request.gatewaySecurityPolicyRule * Required. Updated GatewaySecurityPolicyRule resource. * @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/network_security.update_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateGatewaySecurityPolicyRule_async */ updateGatewaySecurityPolicyRule(request?: protos.google.cloud.networksecurity.v1.IUpdateGatewaySecurityPolicyRuleRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.IUpdateGatewaySecurityPolicyRuleRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.IUpdateGatewaySecurityPolicyRuleRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateGatewaySecurityPolicyRule()`. * @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/network_security.update_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateGatewaySecurityPolicyRule_async */ checkUpdateGatewaySecurityPolicyRuleProgress(name: string): Promise>; /** * Deletes a single GatewaySecurityPolicyRule. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the * format * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/*`. * @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/network_security.delete_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteGatewaySecurityPolicyRule_async */ deleteGatewaySecurityPolicyRule(request?: protos.google.cloud.networksecurity.v1.IDeleteGatewaySecurityPolicyRuleRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.IDeleteGatewaySecurityPolicyRuleRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteGatewaySecurityPolicyRule(request: protos.google.cloud.networksecurity.v1.IDeleteGatewaySecurityPolicyRuleRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteGatewaySecurityPolicyRule()`. * @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/network_security.delete_gateway_security_policy_rule.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteGatewaySecurityPolicyRule_async */ checkDeleteGatewaySecurityPolicyRuleProgress(name: string): Promise>; /** * Creates a new UrlList 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 UrlList. Must be in * the format `projects/* /locations/{location}`. * @param {string} request.urlListId * Required. Short name of the UrlList 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. "url_list". * @param {google.cloud.networksecurity.v1.UrlList} request.urlList * Required. UrlList resource to be created. * @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/network_security.create_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateUrlList_async */ createUrlList(request?: protos.google.cloud.networksecurity.v1.ICreateUrlListRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createUrlList(request: protos.google.cloud.networksecurity.v1.ICreateUrlListRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createUrlList(request: protos.google.cloud.networksecurity.v1.ICreateUrlListRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createUrlList()`. * @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/network_security.create_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateUrlList_async */ checkCreateUrlListProgress(name: string): Promise>; /** * Updates the parameters of a single UrlList. * * @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 * UrlList 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.UrlList} request.urlList * Required. Updated UrlList resource. * @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/network_security.update_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateUrlList_async */ updateUrlList(request?: protos.google.cloud.networksecurity.v1.IUpdateUrlListRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateUrlList(request: protos.google.cloud.networksecurity.v1.IUpdateUrlListRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateUrlList(request: protos.google.cloud.networksecurity.v1.IUpdateUrlListRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateUrlList()`. * @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/network_security.update_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateUrlList_async */ checkUpdateUrlListProgress(name: string): Promise>; /** * Deletes a single UrlList. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the UrlList to delete. Must be in * the format `projects/* /locations/{location}/urlLists/*`. * @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/network_security.delete_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteUrlList_async */ deleteUrlList(request?: protos.google.cloud.networksecurity.v1.IDeleteUrlListRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteUrlList(request: protos.google.cloud.networksecurity.v1.IDeleteUrlListRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteUrlList(request: protos.google.cloud.networksecurity.v1.IDeleteUrlListRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteUrlList()`. * @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/network_security.delete_url_list.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteUrlList_async */ checkDeleteUrlListProgress(name: string): Promise>; /** * Creates a new TlsInspectionPolicy 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 TlsInspectionPolicy. Must be in the * format `projects/{project}/locations/{location}`. * @param {string} request.tlsInspectionPolicyId * Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1". * @param {google.cloud.networksecurity.v1.TlsInspectionPolicy} request.tlsInspectionPolicy * Required. TlsInspectionPolicy resource to be created. * @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/network_security.create_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateTlsInspectionPolicy_async */ createTlsInspectionPolicy(request?: protos.google.cloud.networksecurity.v1.ICreateTlsInspectionPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.ICreateTlsInspectionPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.ICreateTlsInspectionPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createTlsInspectionPolicy()`. * @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/network_security.create_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateTlsInspectionPolicy_async */ checkCreateTlsInspectionPolicyProgress(name: string): Promise>; /** * Updates the parameters of a single TlsInspectionPolicy. * * @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 * TlsInspectionPolicy 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.TlsInspectionPolicy} request.tlsInspectionPolicy * Required. Updated TlsInspectionPolicy resource. * @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/network_security.update_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateTlsInspectionPolicy_async */ updateTlsInspectionPolicy(request?: protos.google.cloud.networksecurity.v1.IUpdateTlsInspectionPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateTlsInspectionPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateTlsInspectionPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateTlsInspectionPolicy()`. * @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/network_security.update_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateTlsInspectionPolicy_async */ checkUpdateTlsInspectionPolicyProgress(name: string): Promise>; /** * Deletes a single TlsInspectionPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. A name of the TlsInspectionPolicy to delete. Must be in the * format * `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. * @param {boolean} request.force * If set to true, any rules for this TlsInspectionPolicy will also be * deleted. (Otherwise, the request will only work if the TlsInspectionPolicy * has no rules.) * @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/network_security.delete_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteTlsInspectionPolicy_async */ deleteTlsInspectionPolicy(request?: protos.google.cloud.networksecurity.v1.IDeleteTlsInspectionPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteTlsInspectionPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteTlsInspectionPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteTlsInspectionPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteTlsInspectionPolicy()`. * @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/network_security.delete_tls_inspection_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteTlsInspectionPolicy_async */ checkDeleteTlsInspectionPolicyProgress(name: string): Promise>; /** * Creates a new AuthzPolicy 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 `AuthzPolicy` resource. Must be in * the format `projects/{project}/locations/{location}`. * @param {string} request.authzPolicyId * Required. User-provided ID of the `AuthzPolicy` resource to be created. * @param {google.cloud.networksecurity.v1.AuthzPolicy} request.authzPolicy * Required. `AuthzPolicy` 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 can ignore * the request if it has already been completed. The server guarantees * 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, ignores 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/network_security.create_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateAuthzPolicy_async */ createAuthzPolicy(request?: protos.google.cloud.networksecurity.v1.ICreateAuthzPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; createAuthzPolicy(request: protos.google.cloud.networksecurity.v1.ICreateAuthzPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; createAuthzPolicy(request: protos.google.cloud.networksecurity.v1.ICreateAuthzPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `createAuthzPolicy()`. * @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/network_security.create_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_CreateAuthzPolicy_async */ checkCreateAuthzPolicyProgress(name: string): Promise>; /** * Updates the parameters of a single AuthzPolicy. * * @param {Object} request * The request object that will be sent. * @param {google.protobuf.FieldMask} request.updateMask * Required. Used to specify the fields to be overwritten in the * `AuthzPolicy` resource by the update. * The fields specified in the `update_mask` are relative to the resource, not * the full request. A field is overwritten if it is in the mask. If the * user does not specify a mask, then all fields are overwritten. * @param {google.cloud.networksecurity.v1.AuthzPolicy} request.authzPolicy * Required. `AuthzPolicy` resource being updated. * @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 can ignore * the request if it has already been completed. The server guarantees * 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, ignores 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/network_security.update_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateAuthzPolicy_async */ updateAuthzPolicy(request?: protos.google.cloud.networksecurity.v1.IUpdateAuthzPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; updateAuthzPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateAuthzPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; updateAuthzPolicy(request: protos.google.cloud.networksecurity.v1.IUpdateAuthzPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `updateAuthzPolicy()`. * @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/network_security.update_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_UpdateAuthzPolicy_async */ checkUpdateAuthzPolicyProgress(name: string): Promise>; /** * Deletes a single AuthzPolicy. * * @param {Object} request * The request object that will be sent. * @param {string} request.name * Required. The name of the `AuthzPolicy` resource to delete. Must be in * the format * `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. * @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 can ignore * the request if it has already been completed. The server guarantees * that for at least 60 minutes after 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, ignores 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/network_security.delete_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteAuthzPolicy_async */ deleteAuthzPolicy(request?: protos.google.cloud.networksecurity.v1.IDeleteAuthzPolicyRequest, options?: CallOptions): Promise<[ LROperation, protos.google.longrunning.IOperation | undefined, {} | undefined ]>; deleteAuthzPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteAuthzPolicyRequest, options: CallOptions, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; deleteAuthzPolicy(request: protos.google.cloud.networksecurity.v1.IDeleteAuthzPolicyRequest, callback: Callback, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void; /** * Check the status of the long running operation returned by `deleteAuthzPolicy()`. * @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/network_security.delete_authz_policy.js * region_tag:networksecurity_v1_generated_NetworkSecurity_DeleteAuthzPolicy_async */ checkDeleteAuthzPolicyProgress(name: string): Promise>; /** * Lists AuthorizationPolicies 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 AuthorizationPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of AuthorizationPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * `ListAuthorizationPoliciesResponse` Indicates that this is a * continuation of a prior `ListAuthorizationPolicies` call, and * that the system should return the next page of data. * @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.AuthorizationPolicy|AuthorizationPolicy}. * 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 `listAuthorizationPoliciesAsync()` * 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. */ listAuthorizationPolicies(request?: protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IAuthorizationPolicy[], protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesRequest | null, protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesResponse ]>; listAuthorizationPolicies(request: protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesRequest, options: CallOptions, callback: PaginationCallback): void; listAuthorizationPolicies(request: protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesRequest, callback: PaginationCallback): void; /** * Equivalent to `listAuthorizationPolicies`, 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 AuthorizationPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of AuthorizationPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * `ListAuthorizationPoliciesResponse` Indicates that this is a * continuation of a prior `ListAuthorizationPolicies` call, and * that the system should return the next page of data. * @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.AuthorizationPolicy|AuthorizationPolicy} 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 `listAuthorizationPoliciesAsync()` * 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. */ listAuthorizationPoliciesStream(request?: protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesRequest, options?: CallOptions): Transform; /** * Equivalent to `listAuthorizationPolicies`, 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 AuthorizationPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of AuthorizationPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * `ListAuthorizationPoliciesResponse` Indicates that this is a * continuation of a prior `ListAuthorizationPolicies` call, and * that the system should return the next page of data. * @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.AuthorizationPolicy|AuthorizationPolicy}. 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/network_security.list_authorization_policies.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListAuthorizationPolicies_async */ listAuthorizationPoliciesAsync(request?: protos.google.cloud.networksecurity.v1.IListAuthorizationPoliciesRequest, options?: CallOptions): AsyncIterable; /** * Lists BackendAuthenticationConfigs 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 * BackendAuthenticationConfigs should be listed, specified in the format * `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of BackendAuthenticationConfigs to return per call. * @param {string} request.pageToken * The value returned by the last `ListBackendAuthenticationConfigsResponse` * Indicates that this is a continuation of a prior * `ListBackendAuthenticationConfigs` call, and that the system * should return the next page of data. * @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.BackendAuthenticationConfig|BackendAuthenticationConfig}. * 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 `listBackendAuthenticationConfigsAsync()` * 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. */ listBackendAuthenticationConfigs(request?: protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IBackendAuthenticationConfig[], protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsRequest | null, protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsResponse ]>; listBackendAuthenticationConfigs(request: protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsRequest, options: CallOptions, callback: PaginationCallback): void; listBackendAuthenticationConfigs(request: protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsRequest, callback: PaginationCallback): void; /** * Equivalent to `listBackendAuthenticationConfigs`, 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 * BackendAuthenticationConfigs should be listed, specified in the format * `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of BackendAuthenticationConfigs to return per call. * @param {string} request.pageToken * The value returned by the last `ListBackendAuthenticationConfigsResponse` * Indicates that this is a continuation of a prior * `ListBackendAuthenticationConfigs` call, and that the system * should return the next page of data. * @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.BackendAuthenticationConfig|BackendAuthenticationConfig} 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 `listBackendAuthenticationConfigsAsync()` * 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. */ listBackendAuthenticationConfigsStream(request?: protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsRequest, options?: CallOptions): Transform; /** * Equivalent to `listBackendAuthenticationConfigs`, 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 * BackendAuthenticationConfigs should be listed, specified in the format * `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of BackendAuthenticationConfigs to return per call. * @param {string} request.pageToken * The value returned by the last `ListBackendAuthenticationConfigsResponse` * Indicates that this is a continuation of a prior * `ListBackendAuthenticationConfigs` call, and that the system * should return the next page of data. * @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.BackendAuthenticationConfig|BackendAuthenticationConfig}. 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/network_security.list_backend_authentication_configs.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListBackendAuthenticationConfigs_async */ listBackendAuthenticationConfigsAsync(request?: protos.google.cloud.networksecurity.v1.IListBackendAuthenticationConfigsRequest, options?: CallOptions): AsyncIterable; /** * Lists ServerTlsPolicies 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 ServerTlsPolicies should * be listed, specified in the format `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of ServerTlsPolicies to return per call. * @param {string} request.pageToken * The value returned by the last `ListServerTlsPoliciesResponse` * Indicates that this is a continuation of a prior * `ListServerTlsPolicies` call, and that the system * should return the next page of data. * @param {boolean} [request.returnPartialSuccess] * Optional. Setting this field to `true` will opt the request into returning * the resources that are reachable, and into including the names of those * that were unreachable in the [ListServerTlsPoliciesResponse.unreachable] * field. This can only be `true` when reading across collections e.g. when * `parent` is set to `"projects/example/locations/-"`. * @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.ServerTlsPolicy|ServerTlsPolicy}. * 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 `listServerTlsPoliciesAsync()` * 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. */ listServerTlsPolicies(request?: protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IServerTlsPolicy[], protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesRequest | null, protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesResponse ]>; listServerTlsPolicies(request: protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesRequest, options: CallOptions, callback: PaginationCallback): void; listServerTlsPolicies(request: protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesRequest, callback: PaginationCallback): void; /** * Equivalent to `listServerTlsPolicies`, 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 ServerTlsPolicies should * be listed, specified in the format `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of ServerTlsPolicies to return per call. * @param {string} request.pageToken * The value returned by the last `ListServerTlsPoliciesResponse` * Indicates that this is a continuation of a prior * `ListServerTlsPolicies` call, and that the system * should return the next page of data. * @param {boolean} [request.returnPartialSuccess] * Optional. Setting this field to `true` will opt the request into returning * the resources that are reachable, and into including the names of those * that were unreachable in the [ListServerTlsPoliciesResponse.unreachable] * field. This can only be `true` when reading across collections e.g. when * `parent` is set to `"projects/example/locations/-"`. * @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.ServerTlsPolicy|ServerTlsPolicy} 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 `listServerTlsPoliciesAsync()` * 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. */ listServerTlsPoliciesStream(request?: protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesRequest, options?: CallOptions): Transform; /** * Equivalent to `listServerTlsPolicies`, 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 ServerTlsPolicies should * be listed, specified in the format `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of ServerTlsPolicies to return per call. * @param {string} request.pageToken * The value returned by the last `ListServerTlsPoliciesResponse` * Indicates that this is a continuation of a prior * `ListServerTlsPolicies` call, and that the system * should return the next page of data. * @param {boolean} [request.returnPartialSuccess] * Optional. Setting this field to `true` will opt the request into returning * the resources that are reachable, and into including the names of those * that were unreachable in the [ListServerTlsPoliciesResponse.unreachable] * field. This can only be `true` when reading across collections e.g. when * `parent` is set to `"projects/example/locations/-"`. * @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.ServerTlsPolicy|ServerTlsPolicy}. 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/network_security.list_server_tls_policies.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListServerTlsPolicies_async */ listServerTlsPoliciesAsync(request?: protos.google.cloud.networksecurity.v1.IListServerTlsPoliciesRequest, options?: CallOptions): AsyncIterable; /** * Lists ClientTlsPolicies 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 ClientTlsPolicies should * be listed, specified in the format `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of ClientTlsPolicies to return per call. * @param {string} request.pageToken * The value returned by the last `ListClientTlsPoliciesResponse` * Indicates that this is a continuation of a prior * `ListClientTlsPolicies` call, and that the system * should return the next page of data. * @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.ClientTlsPolicy|ClientTlsPolicy}. * 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 `listClientTlsPoliciesAsync()` * 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. */ listClientTlsPolicies(request?: protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IClientTlsPolicy[], protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesRequest | null, protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesResponse ]>; listClientTlsPolicies(request: protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesRequest, options: CallOptions, callback: PaginationCallback): void; listClientTlsPolicies(request: protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesRequest, callback: PaginationCallback): void; /** * Equivalent to `listClientTlsPolicies`, 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 ClientTlsPolicies should * be listed, specified in the format `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of ClientTlsPolicies to return per call. * @param {string} request.pageToken * The value returned by the last `ListClientTlsPoliciesResponse` * Indicates that this is a continuation of a prior * `ListClientTlsPolicies` call, and that the system * should return the next page of data. * @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.ClientTlsPolicy|ClientTlsPolicy} 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 `listClientTlsPoliciesAsync()` * 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. */ listClientTlsPoliciesStream(request?: protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesRequest, options?: CallOptions): Transform; /** * Equivalent to `listClientTlsPolicies`, 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 ClientTlsPolicies should * be listed, specified in the format `projects/* /locations/{location}`. * @param {number} request.pageSize * Maximum number of ClientTlsPolicies to return per call. * @param {string} request.pageToken * The value returned by the last `ListClientTlsPoliciesResponse` * Indicates that this is a continuation of a prior * `ListClientTlsPolicies` call, and that the system * should return the next page of data. * @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.ClientTlsPolicy|ClientTlsPolicy}. 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/network_security.list_client_tls_policies.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListClientTlsPolicies_async */ listClientTlsPoliciesAsync(request?: protos.google.cloud.networksecurity.v1.IListClientTlsPoliciesRequest, options?: CallOptions): AsyncIterable; /** * Lists GatewaySecurityPolicies 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 GatewaySecurityPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of GatewaySecurityPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListGatewaySecurityPoliciesResponse' Indicates that this is a * continuation of a prior 'ListGatewaySecurityPolicies' call, and * that the system should return the next page of data. * @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.GatewaySecurityPolicy|GatewaySecurityPolicy}. * 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 `listGatewaySecurityPoliciesAsync()` * 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. */ listGatewaySecurityPolicies(request?: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IGatewaySecurityPolicy[], protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesRequest | null, protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesResponse ]>; listGatewaySecurityPolicies(request: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesRequest, options: CallOptions, callback: PaginationCallback): void; listGatewaySecurityPolicies(request: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesRequest, callback: PaginationCallback): void; /** * Equivalent to `listGatewaySecurityPolicies`, 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 GatewaySecurityPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of GatewaySecurityPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListGatewaySecurityPoliciesResponse' Indicates that this is a * continuation of a prior 'ListGatewaySecurityPolicies' call, and * that the system should return the next page of data. * @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.GatewaySecurityPolicy|GatewaySecurityPolicy} 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 `listGatewaySecurityPoliciesAsync()` * 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. */ listGatewaySecurityPoliciesStream(request?: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesRequest, options?: CallOptions): Transform; /** * Equivalent to `listGatewaySecurityPolicies`, 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 GatewaySecurityPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of GatewaySecurityPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListGatewaySecurityPoliciesResponse' Indicates that this is a * continuation of a prior 'ListGatewaySecurityPolicies' call, and * that the system should return the next page of data. * @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.GatewaySecurityPolicy|GatewaySecurityPolicy}. 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/network_security.list_gateway_security_policies.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListGatewaySecurityPolicies_async */ listGatewaySecurityPoliciesAsync(request?: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPoliciesRequest, options?: CallOptions): AsyncIterable; /** * Lists GatewaySecurityPolicyRules in a given project and location. * * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The project, location and GatewaySecurityPolicy from which the * GatewaySecurityPolicyRules should be listed, specified in the format * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`. * @param {number} request.pageSize * Maximum number of GatewaySecurityPolicyRules to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a * continuation of a prior 'ListGatewaySecurityPolicyRules' call, and * that the system should return the next page of data. * @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.GatewaySecurityPolicyRule|GatewaySecurityPolicyRule}. * 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 `listGatewaySecurityPolicyRulesAsync()` * 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. */ listGatewaySecurityPolicyRules(request?: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IGatewaySecurityPolicyRule[], protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesRequest | null, protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesResponse ]>; listGatewaySecurityPolicyRules(request: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesRequest, options: CallOptions, callback: PaginationCallback): void; listGatewaySecurityPolicyRules(request: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesRequest, callback: PaginationCallback): void; /** * Equivalent to `listGatewaySecurityPolicyRules`, but returns a NodeJS Stream object. * @param {Object} request * The request object that will be sent. * @param {string} request.parent * Required. The project, location and GatewaySecurityPolicy from which the * GatewaySecurityPolicyRules should be listed, specified in the format * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`. * @param {number} request.pageSize * Maximum number of GatewaySecurityPolicyRules to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a * continuation of a prior 'ListGatewaySecurityPolicyRules' call, and * that the system should return the next page of data. * @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.GatewaySecurityPolicyRule|GatewaySecurityPolicyRule} 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 `listGatewaySecurityPolicyRulesAsync()` * 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. */ listGatewaySecurityPolicyRulesStream(request?: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesRequest, options?: CallOptions): Transform; /** * Equivalent to `listGatewaySecurityPolicyRules`, 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, location and GatewaySecurityPolicy from which the * GatewaySecurityPolicyRules should be listed, specified in the format * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`. * @param {number} request.pageSize * Maximum number of GatewaySecurityPolicyRules to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a * continuation of a prior 'ListGatewaySecurityPolicyRules' call, and * that the system should return the next page of data. * @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.GatewaySecurityPolicyRule|GatewaySecurityPolicyRule}. 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/network_security.list_gateway_security_policy_rules.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListGatewaySecurityPolicyRules_async */ listGatewaySecurityPolicyRulesAsync(request?: protos.google.cloud.networksecurity.v1.IListGatewaySecurityPolicyRulesRequest, options?: CallOptions): AsyncIterable; /** * Lists UrlLists 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 UrlLists should * be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of UrlLists to return per call. * @param {string} request.pageToken * The value returned by the last `ListUrlListsResponse` * Indicates that this is a continuation of a prior * `ListUrlLists` call, and that the system * should return the next page of data. * @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.UrlList|UrlList}. * 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 `listUrlListsAsync()` * 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. */ listUrlLists(request?: protos.google.cloud.networksecurity.v1.IListUrlListsRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IUrlList[], protos.google.cloud.networksecurity.v1.IListUrlListsRequest | null, protos.google.cloud.networksecurity.v1.IListUrlListsResponse ]>; listUrlLists(request: protos.google.cloud.networksecurity.v1.IListUrlListsRequest, options: CallOptions, callback: PaginationCallback): void; listUrlLists(request: protos.google.cloud.networksecurity.v1.IListUrlListsRequest, callback: PaginationCallback): void; /** * Equivalent to `listUrlLists`, 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 UrlLists should * be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of UrlLists to return per call. * @param {string} request.pageToken * The value returned by the last `ListUrlListsResponse` * Indicates that this is a continuation of a prior * `ListUrlLists` call, and that the system * should return the next page of data. * @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.UrlList|UrlList} 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 `listUrlListsAsync()` * 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. */ listUrlListsStream(request?: protos.google.cloud.networksecurity.v1.IListUrlListsRequest, options?: CallOptions): Transform; /** * Equivalent to `listUrlLists`, 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 UrlLists should * be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of UrlLists to return per call. * @param {string} request.pageToken * The value returned by the last `ListUrlListsResponse` * Indicates that this is a continuation of a prior * `ListUrlLists` call, and that the system * should return the next page of data. * @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.UrlList|UrlList}. 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/network_security.list_url_lists.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListUrlLists_async */ listUrlListsAsync(request?: protos.google.cloud.networksecurity.v1.IListUrlListsRequest, options?: CallOptions): AsyncIterable; /** * Lists TlsInspectionPolicies 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 TlsInspectionPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of TlsInspectionPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListTlsInspectionPoliciesResponse' Indicates that this is a * continuation of a prior 'ListTlsInspectionPolicies' call, and * that the system should return the next page of data. * @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.TlsInspectionPolicy|TlsInspectionPolicy}. * 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 `listTlsInspectionPoliciesAsync()` * 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. */ listTlsInspectionPolicies(request?: protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.ITlsInspectionPolicy[], protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesRequest | null, protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesResponse ]>; listTlsInspectionPolicies(request: protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesRequest, options: CallOptions, callback: PaginationCallback): void; listTlsInspectionPolicies(request: protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesRequest, callback: PaginationCallback): void; /** * Equivalent to `listTlsInspectionPolicies`, 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 TlsInspectionPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of TlsInspectionPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListTlsInspectionPoliciesResponse' Indicates that this is a * continuation of a prior 'ListTlsInspectionPolicies' call, and * that the system should return the next page of data. * @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.TlsInspectionPolicy|TlsInspectionPolicy} 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 `listTlsInspectionPoliciesAsync()` * 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. */ listTlsInspectionPoliciesStream(request?: protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesRequest, options?: CallOptions): Transform; /** * Equivalent to `listTlsInspectionPolicies`, 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 TlsInspectionPolicies * should be listed, specified in the format * `projects/{project}/locations/{location}`. * @param {number} request.pageSize * Maximum number of TlsInspectionPolicies to return per call. * @param {string} request.pageToken * The value returned by the last * 'ListTlsInspectionPoliciesResponse' Indicates that this is a * continuation of a prior 'ListTlsInspectionPolicies' call, and * that the system should return the next page of data. * @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.TlsInspectionPolicy|TlsInspectionPolicy}. 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/network_security.list_tls_inspection_policies.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListTlsInspectionPolicies_async */ listTlsInspectionPoliciesAsync(request?: protos.google.cloud.networksecurity.v1.IListTlsInspectionPoliciesRequest, options?: CallOptions): AsyncIterable; /** * Lists AuthzPolicies 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 `AuthzPolicy` resources * are listed, specified in the following format: * `projects/{project}/locations/{location}`. * @param {number} [request.pageSize] * Optional. Requested page size. The server might return fewer items than * requested. If unspecified, the server picks an appropriate default. * @param {string} [request.pageToken] * Optional. A token identifying a page of results that the server returns. * @param {string} [request.filter] * Optional. Filtering results. * @param {string} [request.orderBy] * Optional. Hint for how to order the results. * @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.AuthzPolicy|AuthzPolicy}. * 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 `listAuthzPoliciesAsync()` * 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. */ listAuthzPolicies(request?: protos.google.cloud.networksecurity.v1.IListAuthzPoliciesRequest, options?: CallOptions): Promise<[ protos.google.cloud.networksecurity.v1.IAuthzPolicy[], protos.google.cloud.networksecurity.v1.IListAuthzPoliciesRequest | null, protos.google.cloud.networksecurity.v1.IListAuthzPoliciesResponse ]>; listAuthzPolicies(request: protos.google.cloud.networksecurity.v1.IListAuthzPoliciesRequest, options: CallOptions, callback: PaginationCallback): void; listAuthzPolicies(request: protos.google.cloud.networksecurity.v1.IListAuthzPoliciesRequest, callback: PaginationCallback): void; /** * Equivalent to `listAuthzPolicies`, 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 `AuthzPolicy` resources * are listed, specified in the following format: * `projects/{project}/locations/{location}`. * @param {number} [request.pageSize] * Optional. Requested page size. The server might return fewer items than * requested. If unspecified, the server picks an appropriate default. * @param {string} [request.pageToken] * Optional. A token identifying a page of results that the server returns. * @param {string} [request.filter] * Optional. Filtering results. * @param {string} [request.orderBy] * Optional. Hint for how to order the results. * @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.AuthzPolicy|AuthzPolicy} 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 `listAuthzPoliciesAsync()` * 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. */ listAuthzPoliciesStream(request?: protos.google.cloud.networksecurity.v1.IListAuthzPoliciesRequest, options?: CallOptions): Transform; /** * Equivalent to `listAuthzPolicies`, 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 `AuthzPolicy` resources * are listed, specified in the following format: * `projects/{project}/locations/{location}`. * @param {number} [request.pageSize] * Optional. Requested page size. The server might return fewer items than * requested. If unspecified, the server picks an appropriate default. * @param {string} [request.pageToken] * Optional. A token identifying a page of results that the server returns. * @param {string} [request.filter] * Optional. Filtering results. * @param {string} [request.orderBy] * Optional. Hint for how to order the results. * @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.AuthzPolicy|AuthzPolicy}. 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/network_security.list_authz_policies.js * region_tag:networksecurity_v1_generated_NetworkSecurity_ListAuthzPolicies_async */ listAuthzPoliciesAsync(request?: protos.google.cloud.networksecurity.v1.IListAuthzPoliciesRequest, 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 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 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; }