PM2 is the "out-of-band" flavor of the Network Security Integrations product. v1alpha1
Package
@google-cloud/network-securityConstructors
(constructor)(opts, gaxInstance)
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);Construct an instance of MirroringClient.
| Parameters | |
|---|---|
| Name | Description |
opts |
ClientOptions
|
gaxInstance |
typeof gax | typeof fallback
: loaded instance of |
Properties
apiEndpoint
get apiEndpoint(): string;The DNS address for this API service.
apiEndpoint
static get apiEndpoint(): string;The DNS address for this API service - same as servicePath.
auth
auth: gax.GoogleAuth;descriptors
descriptors: Descriptors;iamClient
iamClient: IamClient;innerApiCalls
innerApiCalls: {
[name: string]: Function;
};locationsClient
locationsClient: LocationsClient;mirroringStub
mirroringStub?: Promise<{
[name: string]: Function;
}>;operationsClient
operationsClient: gax.OperationsClient;pathTemplates
pathTemplates: {
[name: string]: gax.PathTemplate;
};port
static get port(): number;The port for this API service.
scopes
static get scopes(): string[];The scopes needed to make gRPC calls for every method defined in this service.
servicePath
static get servicePath(): string;The DNS address for this API service.
universeDomain
get universeDomain(): string;warn
warn: (code: string, message: string, warnType?: string) => void;Methods
authorizationPolicyPath(project, location, authorizationPolicy)
authorizationPolicyPath(project: string, location: string, authorizationPolicy: string): string;Return a fully-qualified authorizationPolicy resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
authorizationPolicy |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
authzPolicyPath(project, location, authzPolicy)
authzPolicyPath(project: string, location: string, authzPolicy: string): string;Return a fully-qualified authzPolicy resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
authzPolicy |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
backendAuthenticationConfigPath(project, location, backendAuthenticationConfig)
backendAuthenticationConfigPath(project: string, location: string, backendAuthenticationConfig: string): string;Return a fully-qualified backendAuthenticationConfig resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
backendAuthenticationConfig |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
cancelOperation(request, optionsOrCallback, callback)
cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;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 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 value with a of 1, corresponding to Code.CANCELLED.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelOperationRequest
The request object that will be sent. |
optionsOrCallback |
CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>
|
callback |
Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>
The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call. |
| Returns | |
|---|---|
| Type | Description |
Promise<protos.google.protobuf.Empty> |
|
const client = longrunning.operationsClient();
await client.cancelOperation({name: ''});
checkCreateMirroringDeploymentGroupProgress(name)
checkCreateMirroringDeploymentGroupProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by createMirroringDeploymentGroup().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this deployment group will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Required. The ID to use for the new deployment group, which will become the
* final component of the deployment group's resource name.
*/
// const mirroringDeploymentGroupId = 'abc123'
/**
* Required. The deployment group to create.
*/
// const mirroringDeploymentGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringDeploymentGroup() {
// Construct request
const request = {
parent,
mirroringDeploymentGroupId,
mirroringDeploymentGroup,
};
// Run request
const [operation] = await networksecurityClient.createMirroringDeploymentGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringDeploymentGroup();
checkCreateMirroringDeploymentProgress(name)
checkCreateMirroringDeploymentProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by createMirroringDeployment().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this deployment will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Required. The ID to use for the new deployment, which will become the final
* component of the deployment's resource name.
*/
// const mirroringDeploymentId = 'abc123'
/**
* Required. The deployment to create.
*/
// const mirroringDeployment = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringDeployment() {
// Construct request
const request = {
parent,
mirroringDeploymentId,
mirroringDeployment,
};
// Run request
const [operation] = await networksecurityClient.createMirroringDeployment(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringDeployment();
checkCreateMirroringEndpointGroupAssociationProgress(name)
checkCreateMirroringEndpointGroupAssociationProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by createMirroringEndpointGroupAssociation().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this association will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Optional. The ID to use for the new association, which will become the
* final component of the endpoint group's resource name. If not provided, the
* server will generate a unique ID.
*/
// const mirroringEndpointGroupAssociationId = 'abc123'
/**
* Required. The association to create.
*/
// const mirroringEndpointGroupAssociation = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringEndpointGroupAssociation() {
// Construct request
const request = {
parent,
mirroringEndpointGroupAssociation,
};
// Run request
const [operation] = await networksecurityClient.createMirroringEndpointGroupAssociation(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringEndpointGroupAssociation();
checkCreateMirroringEndpointGroupProgress(name)
checkCreateMirroringEndpointGroupProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by createMirroringEndpointGroup().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this endpoint group will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Required. The ID to use for the endpoint group, which will become the final
* component of the endpoint group's resource name.
*/
// const mirroringEndpointGroupId = 'abc123'
/**
* Required. The endpoint group to create.
*/
// const mirroringEndpointGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringEndpointGroup() {
// Construct request
const request = {
parent,
mirroringEndpointGroupId,
mirroringEndpointGroup,
};
// Run request
const [operation] = await networksecurityClient.createMirroringEndpointGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringEndpointGroup();
checkDeleteMirroringDeploymentGroupProgress(name)
checkDeleteMirroringDeploymentGroupProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by deleteMirroringDeploymentGroup().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The deployment group to delete.
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringDeploymentGroup() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringDeploymentGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringDeploymentGroup();
checkDeleteMirroringDeploymentProgress(name)
checkDeleteMirroringDeploymentProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by deleteMirroringDeployment().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. Name of the resource
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringDeployment() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringDeployment(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringDeployment();
checkDeleteMirroringEndpointGroupAssociationProgress(name)
checkDeleteMirroringEndpointGroupAssociationProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by deleteMirroringEndpointGroupAssociation().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The association to delete.
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringEndpointGroupAssociation() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringEndpointGroupAssociation(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringEndpointGroupAssociation();
checkDeleteMirroringEndpointGroupProgress(name)
checkDeleteMirroringEndpointGroupProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by deleteMirroringEndpointGroup().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The endpoint group to delete.
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringEndpointGroup() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringEndpointGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringEndpointGroup();
checkUpdateMirroringDeploymentGroupProgress(name)
checkUpdateMirroringDeploymentGroupProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by updateMirroringDeploymentGroup().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the deployment group
* (e.g. `description`; *not*
* `mirroring_deployment_group.description`). See
* https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The deployment group to update.
*/
// const mirroringDeploymentGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringDeploymentGroup() {
// Construct request
const request = {
mirroringDeploymentGroup,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringDeploymentGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringDeploymentGroup();
checkUpdateMirroringDeploymentProgress(name)
checkUpdateMirroringDeploymentProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by updateMirroringDeployment().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the deployment
* (e.g. `description`; *not* `mirroring_deployment.description`).
* See https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The deployment to update.
*/
// const mirroringDeployment = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringDeployment() {
// Construct request
const request = {
mirroringDeployment,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringDeployment(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringDeployment();
checkUpdateMirroringEndpointGroupAssociationProgress(name)
checkUpdateMirroringEndpointGroupAssociationProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by updateMirroringEndpointGroupAssociation().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the association
* (e.g. `description`; *not*
* `mirroring_endpoint_group_association.description`). See
* https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The association to update.
*/
// const mirroringEndpointGroupAssociation = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringEndpointGroupAssociation() {
// Construct request
const request = {
mirroringEndpointGroupAssociation,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringEndpointGroupAssociation(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringEndpointGroupAssociation();
checkUpdateMirroringEndpointGroupProgress(name)
checkUpdateMirroringEndpointGroupProgress(name: string): Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>>;Check the status of the long running operation returned by updateMirroringEndpointGroup().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.networksecurity.v1alpha1.MirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.OperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the endpoint group
* (e.g. `description`; *not* `mirroring_endpoint_group.description`).
* See https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The endpoint group to update.
*/
// const mirroringEndpointGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringEndpointGroup() {
// Construct request
const request = {
mirroringEndpointGroup,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringEndpointGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringEndpointGroup();
clientTlsPolicyPath(project, location, clientTlsPolicy)
clientTlsPolicyPath(project: string, location: string, clientTlsPolicy: string): string;Return a fully-qualified clientTlsPolicy resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
clientTlsPolicy |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
close()
close(): Promise<void>;Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
| Returns | |
|---|---|
| Type | Description |
Promise<void> |
{Promise} A promise that resolves when the client is closed. |
createMirroringDeployment(request, options)
createMirroringDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringDeploymentRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringDeploymentRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this deployment will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Required. The ID to use for the new deployment, which will become the final
* component of the deployment's resource name.
*/
// const mirroringDeploymentId = 'abc123'
/**
* Required. The deployment to create.
*/
// const mirroringDeployment = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringDeployment() {
// Construct request
const request = {
parent,
mirroringDeploymentId,
mirroringDeployment,
};
// Run request
const [operation] = await networksecurityClient.createMirroringDeployment(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringDeployment();
createMirroringDeployment(request, options, callback)
createMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringDeploymentRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringDeploymentRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringDeployment(request, callback)
createMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringDeploymentRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringDeploymentRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringDeploymentGroup(request, options)
createMirroringDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringDeploymentGroupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringDeploymentGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this deployment group will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Required. The ID to use for the new deployment group, which will become the
* final component of the deployment group's resource name.
*/
// const mirroringDeploymentGroupId = 'abc123'
/**
* Required. The deployment group to create.
*/
// const mirroringDeploymentGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringDeploymentGroup() {
// Construct request
const request = {
parent,
mirroringDeploymentGroupId,
mirroringDeploymentGroup,
};
// Run request
const [operation] = await networksecurityClient.createMirroringDeploymentGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringDeploymentGroup();
createMirroringDeploymentGroup(request, options, callback)
createMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringDeploymentGroupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringDeploymentGroupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringDeploymentGroup(request, callback)
createMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringDeploymentGroupRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringDeploymentGroupRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringEndpointGroup(request, options)
createMirroringEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringEndpointGroupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringEndpointGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this endpoint group will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Required. The ID to use for the endpoint group, which will become the final
* component of the endpoint group's resource name.
*/
// const mirroringEndpointGroupId = 'abc123'
/**
* Required. The endpoint group to create.
*/
// const mirroringEndpointGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringEndpointGroup() {
// Construct request
const request = {
parent,
mirroringEndpointGroupId,
mirroringEndpointGroup,
};
// Run request
const [operation] = await networksecurityClient.createMirroringEndpointGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringEndpointGroup();
createMirroringEndpointGroup(request, options, callback)
createMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringEndpointGroupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringEndpointGroupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringEndpointGroup(request, callback)
createMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringEndpointGroupRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringEndpointGroupRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringEndpointGroupAssociation(request, options)
createMirroringEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringEndpointGroupAssociationRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringEndpointGroupAssociationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource where this association will be created.
* Format: projects/{project}/locations/{location}
*/
// const parent = 'abc123'
/**
* Optional. The ID to use for the new association, which will become the
* final component of the endpoint group's resource name. If not provided, the
* server will generate a unique ID.
*/
// const mirroringEndpointGroupAssociationId = 'abc123'
/**
* Required. The association to create.
*/
// const mirroringEndpointGroupAssociation = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callCreateMirroringEndpointGroupAssociation() {
// Construct request
const request = {
parent,
mirroringEndpointGroupAssociation,
};
// Run request
const [operation] = await networksecurityClient.createMirroringEndpointGroupAssociation(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateMirroringEndpointGroupAssociation();
createMirroringEndpointGroupAssociation(request, options, callback)
createMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringEndpointGroupAssociationRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringEndpointGroupAssociationRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
createMirroringEndpointGroupAssociation(request, callback)
createMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.ICreateMirroringEndpointGroupAssociationRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ICreateMirroringEndpointGroupAssociationRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringDeployment(request, options)
deleteMirroringDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringDeploymentRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringDeploymentRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. Name of the resource
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringDeployment() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringDeployment(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringDeployment();
deleteMirroringDeployment(request, options, callback)
deleteMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringDeploymentRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringDeploymentRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringDeployment(request, callback)
deleteMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringDeploymentRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringDeploymentRequest
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringDeploymentGroup(request, options)
deleteMirroringDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringDeploymentGroupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringDeploymentGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The deployment group to delete.
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringDeploymentGroup() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringDeploymentGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringDeploymentGroup();
deleteMirroringDeploymentGroup(request, options, callback)
deleteMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringDeploymentGroupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringDeploymentGroupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringDeploymentGroup(request, callback)
deleteMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringDeploymentGroupRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringDeploymentGroupRequest
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringEndpointGroup(request, options)
deleteMirroringEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringEndpointGroupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringEndpointGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The endpoint group to delete.
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringEndpointGroup() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringEndpointGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringEndpointGroup();
deleteMirroringEndpointGroup(request, options, callback)
deleteMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringEndpointGroupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringEndpointGroupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringEndpointGroup(request, callback)
deleteMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringEndpointGroupRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringEndpointGroupRequest
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringEndpointGroupAssociation(request, options)
deleteMirroringEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringEndpointGroupAssociationRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringEndpointGroupAssociationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The association to delete.
*/
// const name = 'abc123'
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callDeleteMirroringEndpointGroupAssociation() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await networksecurityClient.deleteMirroringEndpointGroupAssociation(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteMirroringEndpointGroupAssociation();
deleteMirroringEndpointGroupAssociation(request, options, callback)
deleteMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringEndpointGroupAssociationRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringEndpointGroupAssociationRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteMirroringEndpointGroupAssociation(request, callback)
deleteMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IDeleteMirroringEndpointGroupAssociationRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteMirroringEndpointGroupAssociationRequest
|
callback |
Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteOperation(request, optionsOrCallback, callback)
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;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.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOperationRequest
The request object that will be sent. |
optionsOrCallback |
CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>
|
callback |
Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>
The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call. |
| Returns | |
|---|---|
| Type | Description |
Promise<protos.google.protobuf.Empty> |
|
const client = longrunning.operationsClient();
await client.deleteOperation({name: ''});
dnsThreatDetectorPath(project, location, dnsThreatDetector)
dnsThreatDetectorPath(project: string, location: string, dnsThreatDetector: string): string;Return a fully-qualified dnsThreatDetector resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
dnsThreatDetector |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
firewallEndpointAssociationPath(project, location, firewallEndpointAssociation)
firewallEndpointAssociationPath(project: string, location: string, firewallEndpointAssociation: string): string;Return a fully-qualified firewallEndpointAssociation resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
firewallEndpointAssociation |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
forwardingRulePath(project, forwardingRule)
forwardingRulePath(project: string, forwardingRule: string): string;Return a fully-qualified forwardingRule resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
forwardingRule |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
gatewaySecurityPolicyPath(project, location, gatewaySecurityPolicy)
gatewaySecurityPolicyPath(project: string, location: string, gatewaySecurityPolicy: string): string;Return a fully-qualified gatewaySecurityPolicy resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
gatewaySecurityPolicy |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
gatewaySecurityPolicyRulePath(project, location, gatewaySecurityPolicy, rule)
gatewaySecurityPolicyRulePath(project: string, location: string, gatewaySecurityPolicy: string, rule: string): string;Return a fully-qualified gatewaySecurityPolicyRule resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
gatewaySecurityPolicy |
string
|
rule |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
getIamPolicy(request, options, callback)
getIamPolicy(request: IamProtos.google.iam.v1.GetIamPolicyRequest, options?: gax.CallOptions | Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.GetIamPolicyRequest | null | undefined, {} | null | undefined>, callback?: Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.GetIamPolicyRequest | null | undefined, {} | null | undefined>): Promise<[IamProtos.google.iam.v1.Policy]>;Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
request |
IamProtos.google.iam.v1.GetIamPolicyRequest
The request object that will be sent. |
options |
CallOptions | Callback<google.iam.v1.Policy, google.iam.v1.GetIamPolicyRequest | null | undefined, {} | null | undefined>
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
callback |
Callback<google.iam.v1.Policy, google.iam.v1.GetIamPolicyRequest | null | undefined, {} | null | undefined>
The function which will be called with the result of the API call. The second parameter to the callback is an object representing . |
| Returns | |
|---|---|
| Type | Description |
Promise<[google.iam.v1.Policy]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call. |
getLocation(request, options, callback)
getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;Gets information about a location.
| Parameters | |
|---|---|
| Name | Description |
request |
LocationProtos.google.cloud.location.IGetLocationRequest
The request object that will be sent. |
options |
CallOptions | Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>
Call options. See CallOptions for more details. |
callback |
Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.location.ILocation> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
const [response] = await client.getLocation(request);
getMirroringDeployment(request, options)
getMirroringDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest | undefined),
{} | undefined
]>;Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringDeploymentRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the deployment to retrieve.
* Format:
* projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}
*/
// const name = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callGetMirroringDeployment() {
// Construct request
const request = {
name,
};
// Run request
const response = await networksecurityClient.getMirroringDeployment(request);
console.log(response);
}
callGetMirroringDeployment();
getMirroringDeployment(request, options, callback)
getMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest, options: CallOptions, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringDeploymentRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringDeployment(request, callback)
getMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringDeploymentRequest
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringDeploymentGroup(request, options)
getMirroringDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest | undefined),
{} | undefined
]>;Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringDeploymentGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the deployment group to retrieve.
* Format:
* projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group}
*/
// const name = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callGetMirroringDeploymentGroup() {
// Construct request
const request = {
name,
};
// Run request
const response = await networksecurityClient.getMirroringDeploymentGroup(request);
console.log(response);
}
callGetMirroringDeploymentGroup();
getMirroringDeploymentGroup(request, options, callback)
getMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest, options: CallOptions, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringDeploymentGroupRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringDeploymentGroup(request, callback)
getMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringDeploymentGroupRequest
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringDeploymentGroupRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringEndpointGroup(request, options)
getMirroringEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest | undefined),
{} | undefined
]>;Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringEndpointGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the endpoint group to retrieve.
* Format:
* projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group}
*/
// const name = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callGetMirroringEndpointGroup() {
// Construct request
const request = {
name,
};
// Run request
const response = await networksecurityClient.getMirroringEndpointGroup(request);
console.log(response);
}
callGetMirroringEndpointGroup();
getMirroringEndpointGroup(request, options, callback)
getMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest, options: CallOptions, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringEndpointGroupRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringEndpointGroup(request, callback)
getMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringEndpointGroupRequest
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringEndpointGroupAssociation(request, options)
getMirroringEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest | undefined),
{} | undefined
]>;Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringEndpointGroupAssociationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation,
(protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the association to retrieve.
* Format:
* projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association}
*/
// const name = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callGetMirroringEndpointGroupAssociation() {
// Construct request
const request = {
name,
};
// Run request
const response = await networksecurityClient.getMirroringEndpointGroupAssociation(request);
console.log(response);
}
callGetMirroringEndpointGroupAssociation();
getMirroringEndpointGroupAssociation(request, options, callback)
getMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest, options: CallOptions, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringEndpointGroupAssociationRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getMirroringEndpointGroupAssociation(request, callback)
getMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest, callback: Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IGetMirroringEndpointGroupAssociationRequest
|
callback |
Callback<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IGetMirroringEndpointGroupAssociationRequest | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
getOperation(request, optionsOrCallback, callback)
getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;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.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOperationRequest
The request object that will be sent. |
optionsOrCallback |
CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>
|
callback |
Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>
The function which will be called with the result of the API call. The second parameter to the callback is an object representing . {Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call. |
| Returns | |
|---|---|
| Type | Description |
Promise<[protos.google.longrunning.Operation]> |
|
const client = longrunning.operationsClient();
const name = '';
const [response] = await client.getOperation({name});
// doThingsWith(response)
getProjectId()
getProjectId(): Promise<string>;| Returns | |
|---|---|
| Type | Description |
Promise<string> |
|
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;| Parameter | |
|---|---|
| Name | Description |
callback |
Callback<string, undefined, undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
initialize()
initialize(): Promise<{
[name: string]: Function;
}>;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 | |
|---|---|
| Type | Description |
Promise<{
[name: string]: Function;
}> |
{Promise} A promise that resolves to an authenticated service stub. |
interceptDeploymentGroupPath(project, location, interceptDeploymentGroup)
interceptDeploymentGroupPath(project: string, location: string, interceptDeploymentGroup: string): string;Return a fully-qualified interceptDeploymentGroup resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
interceptDeploymentGroup |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
interceptDeploymentPath(project, location, interceptDeployment)
interceptDeploymentPath(project: string, location: string, interceptDeployment: string): string;Return a fully-qualified interceptDeployment resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
interceptDeployment |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
interceptEndpointGroupAssociationPath(project, location, interceptEndpointGroupAssociation)
interceptEndpointGroupAssociationPath(project: string, location: string, interceptEndpointGroupAssociation: string): string;Return a fully-qualified interceptEndpointGroupAssociation resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
interceptEndpointGroupAssociation |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
interceptEndpointGroupPath(project, location, interceptEndpointGroup)
interceptEndpointGroupPath(project: string, location: string, interceptEndpointGroup: string): string;Return a fully-qualified interceptEndpointGroup resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
interceptEndpointGroup |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
listLocationsAsync(request, options)
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;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.
| Parameters | |
|---|---|
| Name | Description |
request |
LocationProtos.google.cloud.location.IListLocationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<google.cloud.location.ILocation> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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 documentation for more details and examples. |
const iterable = client.listLocationsAsync(request);
for await (const response of iterable) {
// process response
}
listMirroringDeploymentGroups(request, options)
listMirroringDeploymentGroups(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsResponse
]>;Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentGroupsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of . 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 |
listMirroringDeploymentGroups(request, options, callback)
listMirroringDeploymentGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentGroupsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringDeploymentGroups(request, callback)
listMirroringDeploymentGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentGroupsRequest
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringDeploymentGroupsAsync(request, options)
listMirroringDeploymentGroupsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup>;Equivalent to listMirroringDeploymentGroups, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentGroupsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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 documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent, which owns this collection of deployment groups.
* Example: `projects/123456789/locations/global`.
* See https://google.aip.dev/132 for more details.
*/
// const parent = 'abc123'
/**
* Optional. Requested page size. Server may return fewer items than
* requested. If unspecified, server will pick an appropriate default. See
* https://google.aip.dev/158 for more details.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous
* `ListMirroringDeploymentGroups` call. Provide this to retrieve the
* subsequent page. When paginating, all other parameters provided to
* `ListMirroringDeploymentGroups` must match the call that provided the page
* token. See https://google.aip.dev/158 for more details.
*/
// const pageToken = 'abc123'
/**
* Optional. Filter expression.
* See https://google.aip.dev/160#filtering for more details.
*/
// const filter = 'abc123'
/**
* Optional. Sort expression.
* See https://google.aip.dev/132#ordering for more details.
*/
// const orderBy = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callListMirroringDeploymentGroups() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = networksecurityClient.listMirroringDeploymentGroupsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListMirroringDeploymentGroups();
listMirroringDeploymentGroupsStream(request, options)
listMirroringDeploymentGroupsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentGroupsRequest, options?: CallOptions): Transform;Equivalent to listMirroringDeploymentGroups, but returns a NodeJS Stream object.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentGroupsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Transform |
{Stream} An object stream which emits an object representing 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 |
listMirroringDeployments(request, options)
listMirroringDeployments(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsResponse
]>;Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of . 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 |
listMirroringDeployments(request, options, callback)
listMirroringDeployments(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringDeployments(request, callback)
listMirroringDeployments(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentsRequest
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringDeploymentsAsync(request, options)
listMirroringDeploymentsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment>;Equivalent to listMirroringDeployments, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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 documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent, which owns this collection of deployments.
* Example: `projects/123456789/locations/us-central1-a`.
* See https://google.aip.dev/132 for more details.
*/
// const parent = 'abc123'
/**
* Optional. Requested page size. Server may return fewer items than
* requested. If unspecified, server will pick an appropriate default. See
* https://google.aip.dev/158 for more details.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous `ListMirroringDeployments`
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to `ListMirroringDeployments` must match the call
* that provided the page token. See https://google.aip.dev/158 for more
* details.
*/
// const pageToken = 'abc123'
/**
* Optional. Filter expression.
* See https://google.aip.dev/160#filtering for more details.
*/
// const filter = 'abc123'
/**
* Optional. Sort expression.
* See https://google.aip.dev/132#ordering for more details.
*/
// const orderBy = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callListMirroringDeployments() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = networksecurityClient.listMirroringDeploymentsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListMirroringDeployments();
listMirroringDeploymentsStream(request, options)
listMirroringDeploymentsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringDeploymentsRequest, options?: CallOptions): Transform;Equivalent to listMirroringDeployments, but returns a NodeJS Stream object.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringDeploymentsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Transform |
{Stream} An object stream which emits an object representing 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 |
listMirroringEndpointGroupAssociations(request, options)
listMirroringEndpointGroupAssociations(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsResponse
]>;Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupAssociationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of . 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 |
listMirroringEndpointGroupAssociations(request, options, callback)
listMirroringEndpointGroupAssociations(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupAssociationsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringEndpointGroupAssociations(request, callback)
listMirroringEndpointGroupAssociations(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupAssociationsRequest
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringEndpointGroupAssociationsAsync(request, options)
listMirroringEndpointGroupAssociationsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation>;Equivalent to listMirroringEndpointGroupAssociations, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupAssociationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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 documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent, which owns this collection of associations.
* Example: `projects/123456789/locations/global`.
* See https://google.aip.dev/132 for more details.
*/
// const parent = 'abc123'
/**
* Optional. Requested page size. Server may return fewer items than
* requested. If unspecified, server will pick an appropriate default. See
* https://google.aip.dev/158 for more details.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous
* `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListMirroringEndpointGroups` must match the call that provided the page
* token. See https://google.aip.dev/158 for more details.
*/
// const pageToken = 'abc123'
/**
* Optional. Filter expression.
* See https://google.aip.dev/160#filtering for more details.
*/
// const filter = 'abc123'
/**
* Optional. Sort expression.
* See https://google.aip.dev/132#ordering for more details.
*/
// const orderBy = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callListMirroringEndpointGroupAssociations() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = networksecurityClient.listMirroringEndpointGroupAssociationsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListMirroringEndpointGroupAssociations();
listMirroringEndpointGroupAssociationsStream(request, options)
listMirroringEndpointGroupAssociationsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupAssociationsRequest, options?: CallOptions): Transform;Equivalent to listMirroringEndpointGroupAssociations, but returns a NodeJS Stream object.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupAssociationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Transform |
{Stream} An object stream which emits an object representing 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 |
listMirroringEndpointGroups(request, options)
listMirroringEndpointGroups(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, options?: CallOptions): Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsResponse
]>;Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup[],
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest | null,
protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of . 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 |
listMirroringEndpointGroups(request, options, callback)
listMirroringEndpointGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringEndpointGroups(request, callback)
listMirroringEndpointGroups(request: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, callback: PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupsRequest
|
callback |
PaginationCallback<protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsResponse | null | undefined, protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listMirroringEndpointGroupsAsync(request, options)
listMirroringEndpointGroupsAsync(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup>;Equivalent to listMirroringEndpointGroups, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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 documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent, which owns this collection of endpoint groups.
* Example: `projects/123456789/locations/global`.
* See https://google.aip.dev/132 for more details.
*/
// const parent = 'abc123'
/**
* Optional. Requested page size. Server may return fewer items than
* requested. If unspecified, server will pick an appropriate default. See
* https://google.aip.dev/158 for more details.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous
* `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListMirroringEndpointGroups` must match the call that provided the page
* token.
* See https://google.aip.dev/158 for more details.
*/
// const pageToken = 'abc123'
/**
* Optional. Filter expression.
* See https://google.aip.dev/160#filtering for more details.
*/
// const filter = 'abc123'
/**
* Optional. Sort expression.
* See https://google.aip.dev/132#ordering for more details.
*/
// const orderBy = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callListMirroringEndpointGroups() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = networksecurityClient.listMirroringEndpointGroupsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListMirroringEndpointGroups();
listMirroringEndpointGroupsStream(request, options)
listMirroringEndpointGroupsStream(request?: protos.google.cloud.networksecurity.v1alpha1.IListMirroringEndpointGroupsRequest, options?: CallOptions): Transform;Equivalent to listMirroringEndpointGroups, but returns a NodeJS Stream object.
| Parameters | |
|---|---|
| Name | Description |
request |
IListMirroringEndpointGroupsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Transform |
{Stream} An object stream which emits an object representing 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 |
listOperationsAsync(request, options)
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;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.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOperationsRequest
The request object that will be sent. |
options |
CallOptions
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.longrunning.IOperation> |
{Object} An iterable Object that conforms to iteration protocols. |
const client = longrunning.operationsClient();
for await (const response of client.listOperationsAsync(request));
// doThingsWith(response)
locationPath(project, location)
locationPath(project: string, location: string): string;Return a fully-qualified location resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
matchAuthorizationPolicyFromAuthorizationPolicyName(authorizationPolicyName)
matchAuthorizationPolicyFromAuthorizationPolicyName(authorizationPolicyName: string): string | number;Parse the authorization_policy from AuthorizationPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
authorizationPolicyName |
string
A fully-qualified path representing AuthorizationPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the authorization_policy. |
matchAuthzPolicyFromAuthzPolicyName(authzPolicyName)
matchAuthzPolicyFromAuthzPolicyName(authzPolicyName: string): string | number;Parse the authz_policy from AuthzPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
authzPolicyName |
string
A fully-qualified path representing AuthzPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the authz_policy. |
matchBackendAuthenticationConfigFromBackendAuthenticationConfigName(backendAuthenticationConfigName)
matchBackendAuthenticationConfigFromBackendAuthenticationConfigName(backendAuthenticationConfigName: string): string | number;Parse the backend_authentication_config from BackendAuthenticationConfig resource.
| Parameter | |
|---|---|
| Name | Description |
backendAuthenticationConfigName |
string
A fully-qualified path representing BackendAuthenticationConfig resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the backend_authentication_config. |
matchClientTlsPolicyFromClientTlsPolicyName(clientTlsPolicyName)
matchClientTlsPolicyFromClientTlsPolicyName(clientTlsPolicyName: string): string | number;Parse the client_tls_policy from ClientTlsPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
clientTlsPolicyName |
string
A fully-qualified path representing ClientTlsPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the client_tls_policy. |
matchDnsThreatDetectorFromDnsThreatDetectorName(dnsThreatDetectorName)
matchDnsThreatDetectorFromDnsThreatDetectorName(dnsThreatDetectorName: string): string | number;Parse the dns_threat_detector from DnsThreatDetector resource.
| Parameter | |
|---|---|
| Name | Description |
dnsThreatDetectorName |
string
A fully-qualified path representing DnsThreatDetector resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the dns_threat_detector. |
matchFirewallEndpointAssociationFromFirewallEndpointAssociationName(firewallEndpointAssociationName)
matchFirewallEndpointAssociationFromFirewallEndpointAssociationName(firewallEndpointAssociationName: string): string | number;Parse the firewall_endpoint_association from FirewallEndpointAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
firewallEndpointAssociationName |
string
A fully-qualified path representing FirewallEndpointAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the firewall_endpoint_association. |
matchFirewallEndpointFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName)
matchFirewallEndpointFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName: string): string | number;Parse the firewall_endpoint from OrganizationLocationFirewallEndpoints resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationFirewallEndpointsName |
string
A fully-qualified path representing organization_location_firewallEndpoints resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the firewall_endpoint. |
matchFirewallEndpointFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName)
matchFirewallEndpointFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName: string): string | number;Parse the firewall_endpoint from ProjectLocationFirewallEndpoints resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationFirewallEndpointsName |
string
A fully-qualified path representing project_location_firewallEndpoints resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the firewall_endpoint. |
matchForwardingRuleFromForwardingRuleName(forwardingRuleName)
matchForwardingRuleFromForwardingRuleName(forwardingRuleName: string): string | number;Parse the forwarding_rule from ForwardingRule resource.
| Parameter | |
|---|---|
| Name | Description |
forwardingRuleName |
string
A fully-qualified path representing ForwardingRule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the forwarding_rule. |
matchGatewaySecurityPolicyFromGatewaySecurityPolicyName(gatewaySecurityPolicyName)
matchGatewaySecurityPolicyFromGatewaySecurityPolicyName(gatewaySecurityPolicyName: string): string | number;Parse the gateway_security_policy from GatewaySecurityPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyName |
string
A fully-qualified path representing GatewaySecurityPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the gateway_security_policy. |
matchGatewaySecurityPolicyFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName)
matchGatewaySecurityPolicyFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number;Parse the gateway_security_policy from GatewaySecurityPolicyRule resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyRuleName |
string
A fully-qualified path representing GatewaySecurityPolicyRule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the gateway_security_policy. |
matchInterceptDeploymentFromInterceptDeploymentName(interceptDeploymentName)
matchInterceptDeploymentFromInterceptDeploymentName(interceptDeploymentName: string): string | number;Parse the intercept_deployment from InterceptDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
interceptDeploymentName |
string
A fully-qualified path representing InterceptDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the intercept_deployment. |
matchInterceptDeploymentGroupFromInterceptDeploymentGroupName(interceptDeploymentGroupName)
matchInterceptDeploymentGroupFromInterceptDeploymentGroupName(interceptDeploymentGroupName: string): string | number;Parse the intercept_deployment_group from InterceptDeploymentGroup resource.
| Parameter | |
|---|---|
| Name | Description |
interceptDeploymentGroupName |
string
A fully-qualified path representing InterceptDeploymentGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the intercept_deployment_group. |
matchInterceptEndpointGroupAssociationFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName)
matchInterceptEndpointGroupAssociationFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName: string): string | number;Parse the intercept_endpoint_group_association from InterceptEndpointGroupAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
interceptEndpointGroupAssociationName |
string
A fully-qualified path representing InterceptEndpointGroupAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the intercept_endpoint_group_association. |
matchInterceptEndpointGroupFromInterceptEndpointGroupName(interceptEndpointGroupName)
matchInterceptEndpointGroupFromInterceptEndpointGroupName(interceptEndpointGroupName: string): string | number;Parse the intercept_endpoint_group from InterceptEndpointGroup resource.
| Parameter | |
|---|---|
| Name | Description |
interceptEndpointGroupName |
string
A fully-qualified path representing InterceptEndpointGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the intercept_endpoint_group. |
matchLocationFromAuthorizationPolicyName(authorizationPolicyName)
matchLocationFromAuthorizationPolicyName(authorizationPolicyName: string): string | number;Parse the location from AuthorizationPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
authorizationPolicyName |
string
A fully-qualified path representing AuthorizationPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromAuthzPolicyName(authzPolicyName)
matchLocationFromAuthzPolicyName(authzPolicyName: string): string | number;Parse the location from AuthzPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
authzPolicyName |
string
A fully-qualified path representing AuthzPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromBackendAuthenticationConfigName(backendAuthenticationConfigName)
matchLocationFromBackendAuthenticationConfigName(backendAuthenticationConfigName: string): string | number;Parse the location from BackendAuthenticationConfig resource.
| Parameter | |
|---|---|
| Name | Description |
backendAuthenticationConfigName |
string
A fully-qualified path representing BackendAuthenticationConfig resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromClientTlsPolicyName(clientTlsPolicyName)
matchLocationFromClientTlsPolicyName(clientTlsPolicyName: string): string | number;Parse the location from ClientTlsPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
clientTlsPolicyName |
string
A fully-qualified path representing ClientTlsPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDnsThreatDetectorName(dnsThreatDetectorName)
matchLocationFromDnsThreatDetectorName(dnsThreatDetectorName: string): string | number;Parse the location from DnsThreatDetector resource.
| Parameter | |
|---|---|
| Name | Description |
dnsThreatDetectorName |
string
A fully-qualified path representing DnsThreatDetector resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFirewallEndpointAssociationName(firewallEndpointAssociationName)
matchLocationFromFirewallEndpointAssociationName(firewallEndpointAssociationName: string): string | number;Parse the location from FirewallEndpointAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
firewallEndpointAssociationName |
string
A fully-qualified path representing FirewallEndpointAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromGatewaySecurityPolicyName(gatewaySecurityPolicyName)
matchLocationFromGatewaySecurityPolicyName(gatewaySecurityPolicyName: string): string | number;Parse the location from GatewaySecurityPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyName |
string
A fully-qualified path representing GatewaySecurityPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName)
matchLocationFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number;Parse the location from GatewaySecurityPolicyRule resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyRuleName |
string
A fully-qualified path representing GatewaySecurityPolicyRule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromInterceptDeploymentGroupName(interceptDeploymentGroupName)
matchLocationFromInterceptDeploymentGroupName(interceptDeploymentGroupName: string): string | number;Parse the location from InterceptDeploymentGroup resource.
| Parameter | |
|---|---|
| Name | Description |
interceptDeploymentGroupName |
string
A fully-qualified path representing InterceptDeploymentGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromInterceptDeploymentName(interceptDeploymentName)
matchLocationFromInterceptDeploymentName(interceptDeploymentName: string): string | number;Parse the location from InterceptDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
interceptDeploymentName |
string
A fully-qualified path representing InterceptDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName)
matchLocationFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName: string): string | number;Parse the location from InterceptEndpointGroupAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
interceptEndpointGroupAssociationName |
string
A fully-qualified path representing InterceptEndpointGroupAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromInterceptEndpointGroupName(interceptEndpointGroupName)
matchLocationFromInterceptEndpointGroupName(interceptEndpointGroupName: string): string | number;Parse the location from InterceptEndpointGroup resource.
| Parameter | |
|---|---|
| Name | Description |
interceptEndpointGroupName |
string
A fully-qualified path representing InterceptEndpointGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromLocationName(locationName)
matchLocationFromLocationName(locationName: string): string | number;Parse the location from Location resource.
| Parameter | |
|---|---|
| Name | Description |
locationName |
string
A fully-qualified path representing Location resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromMirroringDeploymentGroupName(mirroringDeploymentGroupName)
matchLocationFromMirroringDeploymentGroupName(mirroringDeploymentGroupName: string): string | number;Parse the location from MirroringDeploymentGroup resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringDeploymentGroupName |
string
A fully-qualified path representing MirroringDeploymentGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromMirroringDeploymentName(mirroringDeploymentName)
matchLocationFromMirroringDeploymentName(mirroringDeploymentName: string): string | number;Parse the location from MirroringDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringDeploymentName |
string
A fully-qualified path representing MirroringDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName)
matchLocationFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName: string): string | number;Parse the location from MirroringEndpointGroupAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringEndpointGroupAssociationName |
string
A fully-qualified path representing MirroringEndpointGroupAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromMirroringEndpointGroupName(mirroringEndpointGroupName)
matchLocationFromMirroringEndpointGroupName(mirroringEndpointGroupName: string): string | number;Parse the location from MirroringEndpointGroup resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringEndpointGroupName |
string
A fully-qualified path representing MirroringEndpointGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName)
matchLocationFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName: string): string | number;Parse the location from OrganizationLocationFirewallEndpoints resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationFirewallEndpointsName |
string
A fully-qualified path representing organization_location_firewallEndpoints resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName)
matchLocationFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName: string): string | number;Parse the location from OrganizationLocationSecurityProfileGroup resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationSecurityProfileGroupName |
string
A fully-qualified path representing organization_location_security_profile_group resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName)
matchLocationFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName: string): string | number;Parse the location from OrganizationLocationSecurityProfile resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationSecurityProfileName |
string
A fully-qualified path representing organization_location_security_profile resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromPartnerSSEGatewayName(partnerSSEGatewayName)
matchLocationFromPartnerSSEGatewayName(partnerSSEGatewayName: string): string | number;Parse the location from PartnerSSEGateway resource.
| Parameter | |
|---|---|
| Name | Description |
partnerSSEGatewayName |
string
A fully-qualified path representing PartnerSSEGateway resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromPartnerSSERealmName(partnerSSERealmName)
matchLocationFromPartnerSSERealmName(partnerSSERealmName: string): string | number;Parse the location from PartnerSSERealm resource.
| Parameter | |
|---|---|
| Name | Description |
partnerSSERealmName |
string
A fully-qualified path representing PartnerSSERealm resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName)
matchLocationFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName: string): string | number;Parse the location from ProjectLocationFirewallEndpoints resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationFirewallEndpointsName |
string
A fully-qualified path representing project_location_firewallEndpoints resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName)
matchLocationFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName: string): string | number;Parse the location from ProjectLocationSecurityProfileGroup resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationSecurityProfileGroupName |
string
A fully-qualified path representing project_location_security_profile_group resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName)
matchLocationFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName: string): string | number;Parse the location from ProjectLocationSecurityProfile resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationSecurityProfileName |
string
A fully-qualified path representing project_location_security_profile resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromSACAttachmentName(sACAttachmentName)
matchLocationFromSACAttachmentName(sACAttachmentName: string): string | number;Parse the location from SACAttachment resource.
| Parameter | |
|---|---|
| Name | Description |
sACAttachmentName |
string
A fully-qualified path representing SACAttachment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromSACRealmName(sACRealmName)
matchLocationFromSACRealmName(sACRealmName: string): string | number;Parse the location from SACRealm resource.
| Parameter | |
|---|---|
| Name | Description |
sACRealmName |
string
A fully-qualified path representing SACRealm resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromServerTlsPolicyName(serverTlsPolicyName)
matchLocationFromServerTlsPolicyName(serverTlsPolicyName: string): string | number;Parse the location from ServerTlsPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
serverTlsPolicyName |
string
A fully-qualified path representing ServerTlsPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromSSEGatewayReferenceName(sSEGatewayReferenceName)
matchLocationFromSSEGatewayReferenceName(sSEGatewayReferenceName: string): string | number;Parse the location from SSEGatewayReference resource.
| Parameter | |
|---|---|
| Name | Description |
sSEGatewayReferenceName |
string
A fully-qualified path representing SSEGatewayReference resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromTlsInspectionPolicyName(tlsInspectionPolicyName)
matchLocationFromTlsInspectionPolicyName(tlsInspectionPolicyName: string): string | number;Parse the location from TlsInspectionPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
tlsInspectionPolicyName |
string
A fully-qualified path representing TlsInspectionPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromUrlListName(urlListName)
matchLocationFromUrlListName(urlListName: string): string | number;Parse the location from UrlList resource.
| Parameter | |
|---|---|
| Name | Description |
urlListName |
string
A fully-qualified path representing UrlList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchMirroringDeploymentFromMirroringDeploymentName(mirroringDeploymentName)
matchMirroringDeploymentFromMirroringDeploymentName(mirroringDeploymentName: string): string | number;Parse the mirroring_deployment from MirroringDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringDeploymentName |
string
A fully-qualified path representing MirroringDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the mirroring_deployment. |
matchMirroringDeploymentGroupFromMirroringDeploymentGroupName(mirroringDeploymentGroupName)
matchMirroringDeploymentGroupFromMirroringDeploymentGroupName(mirroringDeploymentGroupName: string): string | number;Parse the mirroring_deployment_group from MirroringDeploymentGroup resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringDeploymentGroupName |
string
A fully-qualified path representing MirroringDeploymentGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the mirroring_deployment_group. |
matchMirroringEndpointGroupAssociationFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName)
matchMirroringEndpointGroupAssociationFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName: string): string | number;Parse the mirroring_endpoint_group_association from MirroringEndpointGroupAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringEndpointGroupAssociationName |
string
A fully-qualified path representing MirroringEndpointGroupAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the mirroring_endpoint_group_association. |
matchMirroringEndpointGroupFromMirroringEndpointGroupName(mirroringEndpointGroupName)
matchMirroringEndpointGroupFromMirroringEndpointGroupName(mirroringEndpointGroupName: string): string | number;Parse the mirroring_endpoint_group from MirroringEndpointGroup resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringEndpointGroupName |
string
A fully-qualified path representing MirroringEndpointGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the mirroring_endpoint_group. |
matchNetworkFromNetworkName(networkName)
matchNetworkFromNetworkName(networkName: string): string | number;Parse the network from Network resource.
| Parameter | |
|---|---|
| Name | Description |
networkName |
string
A fully-qualified path representing Network resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the network. |
matchOrganizationFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName)
matchOrganizationFromOrganizationLocationFirewallEndpointsName(organizationLocationFirewallEndpointsName: string): string | number;Parse the organization from OrganizationLocationFirewallEndpoints resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationFirewallEndpointsName |
string
A fully-qualified path representing organization_location_firewallEndpoints resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the organization. |
matchOrganizationFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName)
matchOrganizationFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName: string): string | number;Parse the organization from OrganizationLocationSecurityProfileGroup resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationSecurityProfileGroupName |
string
A fully-qualified path representing organization_location_security_profile_group resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the organization. |
matchOrganizationFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName)
matchOrganizationFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName: string): string | number;Parse the organization from OrganizationLocationSecurityProfile resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationSecurityProfileName |
string
A fully-qualified path representing organization_location_security_profile resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the organization. |
matchPartnerSseGatewayFromPartnerSSEGatewayName(partnerSSEGatewayName)
matchPartnerSseGatewayFromPartnerSSEGatewayName(partnerSSEGatewayName: string): string | number;Parse the partner_sse_gateway from PartnerSSEGateway resource.
| Parameter | |
|---|---|
| Name | Description |
partnerSSEGatewayName |
string
A fully-qualified path representing PartnerSSEGateway resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the partner_sse_gateway. |
matchPartnerSseRealmFromPartnerSSERealmName(partnerSSERealmName)
matchPartnerSseRealmFromPartnerSSERealmName(partnerSSERealmName: string): string | number;Parse the partner_sse_realm from PartnerSSERealm resource.
| Parameter | |
|---|---|
| Name | Description |
partnerSSERealmName |
string
A fully-qualified path representing PartnerSSERealm resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the partner_sse_realm. |
matchProjectFromAuthorizationPolicyName(authorizationPolicyName)
matchProjectFromAuthorizationPolicyName(authorizationPolicyName: string): string | number;Parse the project from AuthorizationPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
authorizationPolicyName |
string
A fully-qualified path representing AuthorizationPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromAuthzPolicyName(authzPolicyName)
matchProjectFromAuthzPolicyName(authzPolicyName: string): string | number;Parse the project from AuthzPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
authzPolicyName |
string
A fully-qualified path representing AuthzPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromBackendAuthenticationConfigName(backendAuthenticationConfigName)
matchProjectFromBackendAuthenticationConfigName(backendAuthenticationConfigName: string): string | number;Parse the project from BackendAuthenticationConfig resource.
| Parameter | |
|---|---|
| Name | Description |
backendAuthenticationConfigName |
string
A fully-qualified path representing BackendAuthenticationConfig resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromClientTlsPolicyName(clientTlsPolicyName)
matchProjectFromClientTlsPolicyName(clientTlsPolicyName: string): string | number;Parse the project from ClientTlsPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
clientTlsPolicyName |
string
A fully-qualified path representing ClientTlsPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDnsThreatDetectorName(dnsThreatDetectorName)
matchProjectFromDnsThreatDetectorName(dnsThreatDetectorName: string): string | number;Parse the project from DnsThreatDetector resource.
| Parameter | |
|---|---|
| Name | Description |
dnsThreatDetectorName |
string
A fully-qualified path representing DnsThreatDetector resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFirewallEndpointAssociationName(firewallEndpointAssociationName)
matchProjectFromFirewallEndpointAssociationName(firewallEndpointAssociationName: string): string | number;Parse the project from FirewallEndpointAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
firewallEndpointAssociationName |
string
A fully-qualified path representing FirewallEndpointAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromForwardingRuleName(forwardingRuleName)
matchProjectFromForwardingRuleName(forwardingRuleName: string): string | number;Parse the project from ForwardingRule resource.
| Parameter | |
|---|---|
| Name | Description |
forwardingRuleName |
string
A fully-qualified path representing ForwardingRule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromGatewaySecurityPolicyName(gatewaySecurityPolicyName)
matchProjectFromGatewaySecurityPolicyName(gatewaySecurityPolicyName: string): string | number;Parse the project from GatewaySecurityPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyName |
string
A fully-qualified path representing GatewaySecurityPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName)
matchProjectFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number;Parse the project from GatewaySecurityPolicyRule resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyRuleName |
string
A fully-qualified path representing GatewaySecurityPolicyRule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromInterceptDeploymentGroupName(interceptDeploymentGroupName)
matchProjectFromInterceptDeploymentGroupName(interceptDeploymentGroupName: string): string | number;Parse the project from InterceptDeploymentGroup resource.
| Parameter | |
|---|---|
| Name | Description |
interceptDeploymentGroupName |
string
A fully-qualified path representing InterceptDeploymentGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromInterceptDeploymentName(interceptDeploymentName)
matchProjectFromInterceptDeploymentName(interceptDeploymentName: string): string | number;Parse the project from InterceptDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
interceptDeploymentName |
string
A fully-qualified path representing InterceptDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName)
matchProjectFromInterceptEndpointGroupAssociationName(interceptEndpointGroupAssociationName: string): string | number;Parse the project from InterceptEndpointGroupAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
interceptEndpointGroupAssociationName |
string
A fully-qualified path representing InterceptEndpointGroupAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromInterceptEndpointGroupName(interceptEndpointGroupName)
matchProjectFromInterceptEndpointGroupName(interceptEndpointGroupName: string): string | number;Parse the project from InterceptEndpointGroup resource.
| Parameter | |
|---|---|
| Name | Description |
interceptEndpointGroupName |
string
A fully-qualified path representing InterceptEndpointGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromLocationName(locationName)
matchProjectFromLocationName(locationName: string): string | number;Parse the project from Location resource.
| Parameter | |
|---|---|
| Name | Description |
locationName |
string
A fully-qualified path representing Location resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromMirroringDeploymentGroupName(mirroringDeploymentGroupName)
matchProjectFromMirroringDeploymentGroupName(mirroringDeploymentGroupName: string): string | number;Parse the project from MirroringDeploymentGroup resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringDeploymentGroupName |
string
A fully-qualified path representing MirroringDeploymentGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromMirroringDeploymentName(mirroringDeploymentName)
matchProjectFromMirroringDeploymentName(mirroringDeploymentName: string): string | number;Parse the project from MirroringDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringDeploymentName |
string
A fully-qualified path representing MirroringDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName)
matchProjectFromMirroringEndpointGroupAssociationName(mirroringEndpointGroupAssociationName: string): string | number;Parse the project from MirroringEndpointGroupAssociation resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringEndpointGroupAssociationName |
string
A fully-qualified path representing MirroringEndpointGroupAssociation resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromMirroringEndpointGroupName(mirroringEndpointGroupName)
matchProjectFromMirroringEndpointGroupName(mirroringEndpointGroupName: string): string | number;Parse the project from MirroringEndpointGroup resource.
| Parameter | |
|---|---|
| Name | Description |
mirroringEndpointGroupName |
string
A fully-qualified path representing MirroringEndpointGroup resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromNetworkName(networkName)
matchProjectFromNetworkName(networkName: string): string | number;Parse the project from Network resource.
| Parameter | |
|---|---|
| Name | Description |
networkName |
string
A fully-qualified path representing Network resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromPartnerSSEGatewayName(partnerSSEGatewayName)
matchProjectFromPartnerSSEGatewayName(partnerSSEGatewayName: string): string | number;Parse the project from PartnerSSEGateway resource.
| Parameter | |
|---|---|
| Name | Description |
partnerSSEGatewayName |
string
A fully-qualified path representing PartnerSSEGateway resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromPartnerSSERealmName(partnerSSERealmName)
matchProjectFromPartnerSSERealmName(partnerSSERealmName: string): string | number;Parse the project from PartnerSSERealm resource.
| Parameter | |
|---|---|
| Name | Description |
partnerSSERealmName |
string
A fully-qualified path representing PartnerSSERealm resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName)
matchProjectFromProjectLocationFirewallEndpointsName(projectLocationFirewallEndpointsName: string): string | number;Parse the project from ProjectLocationFirewallEndpoints resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationFirewallEndpointsName |
string
A fully-qualified path representing project_location_firewallEndpoints resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName)
matchProjectFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName: string): string | number;Parse the project from ProjectLocationSecurityProfileGroup resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationSecurityProfileGroupName |
string
A fully-qualified path representing project_location_security_profile_group resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName)
matchProjectFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName: string): string | number;Parse the project from ProjectLocationSecurityProfile resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationSecurityProfileName |
string
A fully-qualified path representing project_location_security_profile resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectName(projectName)
matchProjectFromProjectName(projectName: string): string | number;Parse the project from Project resource.
| Parameter | |
|---|---|
| Name | Description |
projectName |
string
A fully-qualified path representing Project resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromSACAttachmentName(sACAttachmentName)
matchProjectFromSACAttachmentName(sACAttachmentName: string): string | number;Parse the project from SACAttachment resource.
| Parameter | |
|---|---|
| Name | Description |
sACAttachmentName |
string
A fully-qualified path representing SACAttachment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromSACRealmName(sACRealmName)
matchProjectFromSACRealmName(sACRealmName: string): string | number;Parse the project from SACRealm resource.
| Parameter | |
|---|---|
| Name | Description |
sACRealmName |
string
A fully-qualified path representing SACRealm resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromServerTlsPolicyName(serverTlsPolicyName)
matchProjectFromServerTlsPolicyName(serverTlsPolicyName: string): string | number;Parse the project from ServerTlsPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
serverTlsPolicyName |
string
A fully-qualified path representing ServerTlsPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromSSEGatewayReferenceName(sSEGatewayReferenceName)
matchProjectFromSSEGatewayReferenceName(sSEGatewayReferenceName: string): string | number;Parse the project from SSEGatewayReference resource.
| Parameter | |
|---|---|
| Name | Description |
sSEGatewayReferenceName |
string
A fully-qualified path representing SSEGatewayReference resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromTlsInspectionPolicyName(tlsInspectionPolicyName)
matchProjectFromTlsInspectionPolicyName(tlsInspectionPolicyName: string): string | number;Parse the project from TlsInspectionPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
tlsInspectionPolicyName |
string
A fully-qualified path representing TlsInspectionPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromUrlListName(urlListName)
matchProjectFromUrlListName(urlListName: string): string | number;Parse the project from UrlList resource.
| Parameter | |
|---|---|
| Name | Description |
urlListName |
string
A fully-qualified path representing UrlList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchRuleFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName)
matchRuleFromGatewaySecurityPolicyRuleName(gatewaySecurityPolicyRuleName: string): string | number;Parse the rule from GatewaySecurityPolicyRule resource.
| Parameter | |
|---|---|
| Name | Description |
gatewaySecurityPolicyRuleName |
string
A fully-qualified path representing GatewaySecurityPolicyRule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the rule. |
matchSacAttachmentFromSACAttachmentName(sACAttachmentName)
matchSacAttachmentFromSACAttachmentName(sACAttachmentName: string): string | number;Parse the sac_attachment from SACAttachment resource.
| Parameter | |
|---|---|
| Name | Description |
sACAttachmentName |
string
A fully-qualified path representing SACAttachment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the sac_attachment. |
matchSacRealmFromSACRealmName(sACRealmName)
matchSacRealmFromSACRealmName(sACRealmName: string): string | number;Parse the sac_realm from SACRealm resource.
| Parameter | |
|---|---|
| Name | Description |
sACRealmName |
string
A fully-qualified path representing SACRealm resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the sac_realm. |
matchSecurityProfileFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName)
matchSecurityProfileFromOrganizationLocationSecurityProfileName(organizationLocationSecurityProfileName: string): string | number;Parse the security_profile from OrganizationLocationSecurityProfile resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationSecurityProfileName |
string
A fully-qualified path representing organization_location_security_profile resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the security_profile. |
matchSecurityProfileFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName)
matchSecurityProfileFromProjectLocationSecurityProfileName(projectLocationSecurityProfileName: string): string | number;Parse the security_profile from ProjectLocationSecurityProfile resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationSecurityProfileName |
string
A fully-qualified path representing project_location_security_profile resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the security_profile. |
matchSecurityProfileGroupFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName)
matchSecurityProfileGroupFromOrganizationLocationSecurityProfileGroupName(organizationLocationSecurityProfileGroupName: string): string | number;Parse the security_profile_group from OrganizationLocationSecurityProfileGroup resource.
| Parameter | |
|---|---|
| Name | Description |
organizationLocationSecurityProfileGroupName |
string
A fully-qualified path representing organization_location_security_profile_group resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the security_profile_group. |
matchSecurityProfileGroupFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName)
matchSecurityProfileGroupFromProjectLocationSecurityProfileGroupName(projectLocationSecurityProfileGroupName: string): string | number;Parse the security_profile_group from ProjectLocationSecurityProfileGroup resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationSecurityProfileGroupName |
string
A fully-qualified path representing project_location_security_profile_group resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the security_profile_group. |
matchServerTlsPolicyFromServerTlsPolicyName(serverTlsPolicyName)
matchServerTlsPolicyFromServerTlsPolicyName(serverTlsPolicyName: string): string | number;Parse the server_tls_policy from ServerTlsPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
serverTlsPolicyName |
string
A fully-qualified path representing ServerTlsPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the server_tls_policy. |
matchSseGatewayReferenceFromSSEGatewayReferenceName(sSEGatewayReferenceName)
matchSseGatewayReferenceFromSSEGatewayReferenceName(sSEGatewayReferenceName: string): string | number;Parse the sse_gateway_reference from SSEGatewayReference resource.
| Parameter | |
|---|---|
| Name | Description |
sSEGatewayReferenceName |
string
A fully-qualified path representing SSEGatewayReference resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the sse_gateway_reference. |
matchTlsInspectionPolicyFromTlsInspectionPolicyName(tlsInspectionPolicyName)
matchTlsInspectionPolicyFromTlsInspectionPolicyName(tlsInspectionPolicyName: string): string | number;Parse the tls_inspection_policy from TlsInspectionPolicy resource.
| Parameter | |
|---|---|
| Name | Description |
tlsInspectionPolicyName |
string
A fully-qualified path representing TlsInspectionPolicy resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the tls_inspection_policy. |
matchUrlListFromUrlListName(urlListName)
matchUrlListFromUrlListName(urlListName: string): string | number;Parse the url_list from UrlList resource.
| Parameter | |
|---|---|
| Name | Description |
urlListName |
string
A fully-qualified path representing UrlList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the url_list. |
mirroringDeploymentGroupPath(project, location, mirroringDeploymentGroup)
mirroringDeploymentGroupPath(project: string, location: string, mirroringDeploymentGroup: string): string;Return a fully-qualified mirroringDeploymentGroup resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
mirroringDeploymentGroup |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
mirroringDeploymentPath(project, location, mirroringDeployment)
mirroringDeploymentPath(project: string, location: string, mirroringDeployment: string): string;Return a fully-qualified mirroringDeployment resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
mirroringDeployment |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
mirroringEndpointGroupAssociationPath(project, location, mirroringEndpointGroupAssociation)
mirroringEndpointGroupAssociationPath(project: string, location: string, mirroringEndpointGroupAssociation: string): string;Return a fully-qualified mirroringEndpointGroupAssociation resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
mirroringEndpointGroupAssociation |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
mirroringEndpointGroupPath(project, location, mirroringEndpointGroup)
mirroringEndpointGroupPath(project: string, location: string, mirroringEndpointGroup: string): string;Return a fully-qualified mirroringEndpointGroup resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
mirroringEndpointGroup |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
networkPath(project, network)
networkPath(project: string, network: string): string;Return a fully-qualified network resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
network |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
organizationLocationFirewallEndpointsPath(organization, location, firewallEndpoint)
organizationLocationFirewallEndpointsPath(organization: string, location: string, firewallEndpoint: string): string;Return a fully-qualified organizationLocationFirewallEndpoints resource name string.
| Parameters | |
|---|---|
| Name | Description |
organization |
string
|
location |
string
|
firewallEndpoint |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
organizationLocationSecurityProfileGroupPath(organization, location, securityProfileGroup)
organizationLocationSecurityProfileGroupPath(organization: string, location: string, securityProfileGroup: string): string;Return a fully-qualified organizationLocationSecurityProfileGroup resource name string.
| Parameters | |
|---|---|
| Name | Description |
organization |
string
|
location |
string
|
securityProfileGroup |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
organizationLocationSecurityProfilePath(organization, location, securityProfile)
organizationLocationSecurityProfilePath(organization: string, location: string, securityProfile: string): string;Return a fully-qualified organizationLocationSecurityProfile resource name string.
| Parameters | |
|---|---|
| Name | Description |
organization |
string
|
location |
string
|
securityProfile |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
partnerSSEGatewayPath(project, location, partnerSseGateway)
partnerSSEGatewayPath(project: string, location: string, partnerSseGateway: string): string;Return a fully-qualified partnerSSEGateway resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
partnerSseGateway |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
partnerSSERealmPath(project, location, partnerSseRealm)
partnerSSERealmPath(project: string, location: string, partnerSseRealm: string): string;Return a fully-qualified partnerSSERealm resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
partnerSseRealm |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectLocationFirewallEndpointsPath(project, location, firewallEndpoint)
projectLocationFirewallEndpointsPath(project: string, location: string, firewallEndpoint: string): string;Return a fully-qualified projectLocationFirewallEndpoints resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
firewallEndpoint |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectLocationSecurityProfileGroupPath(project, location, securityProfileGroup)
projectLocationSecurityProfileGroupPath(project: string, location: string, securityProfileGroup: string): string;Return a fully-qualified projectLocationSecurityProfileGroup resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
securityProfileGroup |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectLocationSecurityProfilePath(project, location, securityProfile)
projectLocationSecurityProfilePath(project: string, location: string, securityProfile: string): string;Return a fully-qualified projectLocationSecurityProfile resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
securityProfile |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectPath(project)
projectPath(project: string): string;Return a fully-qualified project resource name string.
| Parameter | |
|---|---|
| Name | Description |
project |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
sACAttachmentPath(project, location, sacAttachment)
sACAttachmentPath(project: string, location: string, sacAttachment: string): string;Return a fully-qualified sACAttachment resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
sacAttachment |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
sACRealmPath(project, location, sacRealm)
sACRealmPath(project: string, location: string, sacRealm: string): string;Return a fully-qualified sACRealm resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
sacRealm |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
serverTlsPolicyPath(project, location, serverTlsPolicy)
serverTlsPolicyPath(project: string, location: string, serverTlsPolicy: string): string;Return a fully-qualified serverTlsPolicy resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
serverTlsPolicy |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
setIamPolicy(request, options, callback)
setIamPolicy(request: IamProtos.google.iam.v1.SetIamPolicyRequest, options?: gax.CallOptions | Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.SetIamPolicyRequest | null | undefined, {} | null | undefined>, callback?: Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.SetIamPolicyRequest | null | undefined, {} | null | undefined>): 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.
| Parameters | |
|---|---|
| Name | Description |
request |
IamProtos.google.iam.v1.SetIamPolicyRequest
The request object that will be sent. |
options |
CallOptions | Callback<google.iam.v1.Policy, google.iam.v1.SetIamPolicyRequest | null | undefined, {} | null | undefined>
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
callback |
Callback<google.iam.v1.Policy, google.iam.v1.SetIamPolicyRequest | null | undefined, {} | null | undefined>
The function which will be called with the result of the API call. The second parameter to the callback is an object representing . |
| Returns | |
|---|---|
| Type | Description |
Promise<[google.iam.v1.Policy]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call. |
sSEGatewayReferencePath(project, location, sseGatewayReference)
sSEGatewayReferencePath(project: string, location: string, sseGatewayReference: string): string;Return a fully-qualified sSEGatewayReference resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
sseGatewayReference |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
testIamPermissions(request, options, callback)
testIamPermissions(request: IamProtos.google.iam.v1.TestIamPermissionsRequest, options?: gax.CallOptions | Callback<IamProtos.google.iam.v1.TestIamPermissionsResponse, IamProtos.google.iam.v1.TestIamPermissionsRequest | null | undefined, {} | null | undefined>, callback?: Callback<IamProtos.google.iam.v1.TestIamPermissionsResponse, IamProtos.google.iam.v1.TestIamPermissionsRequest | null | undefined, {} | null | undefined>): Promise<[IamProtos.google.iam.v1.TestIamPermissionsResponse]>;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.
| Parameters | |
|---|---|
| Name | Description |
request |
IamProtos.google.iam.v1.TestIamPermissionsRequest
The request object that will be sent. |
options |
CallOptions | Callback<google.iam.v1.TestIamPermissionsResponse, google.iam.v1.TestIamPermissionsRequest | null | undefined, {} | null | undefined>
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
callback |
Callback<google.iam.v1.TestIamPermissionsResponse, google.iam.v1.TestIamPermissionsRequest | null | undefined, {} | null | undefined>
The function which will be called with the result of the API call. The second parameter to the callback is an object representing . |
| Returns | |
|---|---|
| Type | Description |
Promise<[google.iam.v1.TestIamPermissionsResponse]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call. |
tlsInspectionPolicyPath(project, location, tlsInspectionPolicy)
tlsInspectionPolicyPath(project: string, location: string, tlsInspectionPolicy: string): string;Return a fully-qualified tlsInspectionPolicy resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
tlsInspectionPolicy |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
updateMirroringDeployment(request, options)
updateMirroringDeployment(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringDeploymentRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringDeploymentRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the deployment
* (e.g. `description`; *not* `mirroring_deployment.description`).
* See https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The deployment to update.
*/
// const mirroringDeployment = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringDeployment() {
// Construct request
const request = {
mirroringDeployment,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringDeployment(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringDeployment();
updateMirroringDeployment(request, options, callback)
updateMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringDeploymentRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringDeploymentRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringDeployment(request, callback)
updateMirroringDeployment(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringDeploymentRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringDeploymentRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeployment, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringDeploymentGroup(request, options)
updateMirroringDeploymentGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringDeploymentGroupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringDeploymentGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the deployment group
* (e.g. `description`; *not*
* `mirroring_deployment_group.description`). See
* https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The deployment group to update.
*/
// const mirroringDeploymentGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringDeploymentGroup() {
// Construct request
const request = {
mirroringDeploymentGroup,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringDeploymentGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringDeploymentGroup();
updateMirroringDeploymentGroup(request, options, callback)
updateMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringDeploymentGroupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringDeploymentGroupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringDeploymentGroup(request, callback)
updateMirroringDeploymentGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringDeploymentGroupRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringDeploymentGroupRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringDeploymentGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringEndpointGroup(request, options)
updateMirroringEndpointGroup(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringEndpointGroupRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringEndpointGroupRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the endpoint group
* (e.g. `description`; *not* `mirroring_endpoint_group.description`).
* See https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The endpoint group to update.
*/
// const mirroringEndpointGroup = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringEndpointGroup() {
// Construct request
const request = {
mirroringEndpointGroup,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringEndpointGroup(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringEndpointGroup();
updateMirroringEndpointGroup(request, options, callback)
updateMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringEndpointGroupRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringEndpointGroupRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringEndpointGroup(request, callback)
updateMirroringEndpointGroup(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringEndpointGroupRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringEndpointGroupRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroup, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringEndpointGroupAssociation(request, options)
updateMirroringEndpointGroupAssociation(request?: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringEndpointGroupAssociationRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringEndpointGroupAssociationRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Optional. The list of fields to update.
* Fields are specified relative to the association
* (e.g. `description`; *not*
* `mirroring_endpoint_group_association.description`). See
* https://google.aip.dev/161 for more details.
*/
// const updateMask = {}
/**
* Required. The association to update.
*/
// const mirroringEndpointGroupAssociation = {}
/**
* Optional. A unique identifier for this request. Must be a UUID4.
* This request is only idempotent if a `request_id` is provided.
* See https://google.aip.dev/155 for more details.
*/
// const requestId = 'abc123'
// Imports the Networksecurity library
const {MirroringClient} = require('@google-cloud/network-security').v1alpha1;
// Instantiates a client
const networksecurityClient = new MirroringClient();
async function callUpdateMirroringEndpointGroupAssociation() {
// Construct request
const request = {
mirroringEndpointGroupAssociation,
};
// Run request
const [operation] = await networksecurityClient.updateMirroringEndpointGroupAssociation(request);
const [response] = await operation.promise();
console.log(response);
}
callUpdateMirroringEndpointGroupAssociation();
updateMirroringEndpointGroupAssociation(request, options, callback)
updateMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringEndpointGroupAssociationRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringEndpointGroupAssociationRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
updateMirroringEndpointGroupAssociation(request, callback)
updateMirroringEndpointGroupAssociation(request: protos.google.cloud.networksecurity.v1alpha1.IUpdateMirroringEndpointGroupAssociationRequest, callback: Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateMirroringEndpointGroupAssociationRequest
|
callback |
Callback<LROperation<protos.google.cloud.networksecurity.v1alpha1.IMirroringEndpointGroupAssociation, protos.google.cloud.networksecurity.v1alpha1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
urlListPath(project, location, urlList)
urlListPath(project: string, location: string, urlList: string): string;Return a fully-qualified urlList resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
urlList |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |