Network Security v1 API - Class InterceptClient (1.0.0-beta01)

public abstract class InterceptClient

Reference documentation and code samples for the Network Security v1 API class InterceptClient.

Intercept client wrapper, for convenient use.

Inheritance

object > InterceptClient

Derived Types

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.dll

Remarks

Service for Third-Party Packet Intercept (TPPI). TPPI is the "in-band" flavor of the Network Security Integrations product.

Properties

CreateInterceptDeploymentGroupOperationsClient

public virtual OperationsClient CreateInterceptDeploymentGroupOperationsClient { get; }

The long-running operations client for CreateInterceptDeploymentGroup.

Property Value
Type Description
OperationsClient

CreateInterceptDeploymentOperationsClient

public virtual OperationsClient CreateInterceptDeploymentOperationsClient { get; }

The long-running operations client for CreateInterceptDeployment.

Property Value
Type Description
OperationsClient

CreateInterceptEndpointGroupAssociationOperationsClient

public virtual OperationsClient CreateInterceptEndpointGroupAssociationOperationsClient { get; }

The long-running operations client for CreateInterceptEndpointGroupAssociation.

Property Value
Type Description
OperationsClient

CreateInterceptEndpointGroupOperationsClient

public virtual OperationsClient CreateInterceptEndpointGroupOperationsClient { get; }

The long-running operations client for CreateInterceptEndpointGroup.

Property Value
Type Description
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the Intercept service, which is a host of "networksecurity.googleapis.com" and a port of 443.

Property Value
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default Intercept scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default Intercept scopes are:

DeleteInterceptDeploymentGroupOperationsClient

public virtual OperationsClient DeleteInterceptDeploymentGroupOperationsClient { get; }

The long-running operations client for DeleteInterceptDeploymentGroup.

Property Value
Type Description
OperationsClient

DeleteInterceptDeploymentOperationsClient

public virtual OperationsClient DeleteInterceptDeploymentOperationsClient { get; }

The long-running operations client for DeleteInterceptDeployment.

Property Value
Type Description
OperationsClient

DeleteInterceptEndpointGroupAssociationOperationsClient

public virtual OperationsClient DeleteInterceptEndpointGroupAssociationOperationsClient { get; }

The long-running operations client for DeleteInterceptEndpointGroupAssociation.

Property Value
Type Description
OperationsClient

DeleteInterceptEndpointGroupOperationsClient

public virtual OperationsClient DeleteInterceptEndpointGroupOperationsClient { get; }

The long-running operations client for DeleteInterceptEndpointGroup.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual Intercept.InterceptClient GrpcClient { get; }

The underlying gRPC Intercept client

Property Value
Type Description
InterceptInterceptClient

IAMPolicyClient

public virtual IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UpdateInterceptDeploymentGroupOperationsClient

public virtual OperationsClient UpdateInterceptDeploymentGroupOperationsClient { get; }

The long-running operations client for UpdateInterceptDeploymentGroup.

Property Value
Type Description
OperationsClient

UpdateInterceptDeploymentOperationsClient

public virtual OperationsClient UpdateInterceptDeploymentOperationsClient { get; }

The long-running operations client for UpdateInterceptDeployment.

Property Value
Type Description
OperationsClient

UpdateInterceptEndpointGroupAssociationOperationsClient

public virtual OperationsClient UpdateInterceptEndpointGroupAssociationOperationsClient { get; }

The long-running operations client for UpdateInterceptEndpointGroupAssociation.

Property Value
Type Description
OperationsClient

UpdateInterceptEndpointGroupOperationsClient

public virtual OperationsClient UpdateInterceptEndpointGroupOperationsClient { get; }

The long-running operations client for UpdateInterceptEndpointGroup.

Property Value
Type Description
OperationsClient

Methods

Create()

public static InterceptClient Create()

Synchronously creates a InterceptClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use InterceptClientBuilder.

Returns
Type Description
InterceptClient

The created InterceptClient.

CreateAsync(CancellationToken)

public static Task<InterceptClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a InterceptClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use InterceptClientBuilder.

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskInterceptClient

The task representing the created InterceptClient.

CreateInterceptDeployment(LocationName, InterceptDeployment, string, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> CreateInterceptDeployment(LocationName parent, InterceptDeployment interceptDeployment, string interceptDeploymentId, CallSettings callSettings = null)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

interceptDeployment InterceptDeployment

Required. The deployment to create.

interceptDeploymentId string

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptDeployment interceptDeployment = new InterceptDeployment();
string interceptDeploymentId = "";
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = interceptClient.CreateInterceptDeployment(parent, interceptDeployment, interceptDeploymentId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeployment(CreateInterceptDeploymentRequest, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> CreateInterceptDeployment(CreateInterceptDeploymentRequest request, CallSettings callSettings = null)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
CreateInterceptDeploymentRequest request = new CreateInterceptDeploymentRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptDeploymentId = "",
    InterceptDeployment = new InterceptDeployment(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = interceptClient.CreateInterceptDeployment(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeployment(string, InterceptDeployment, string, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> CreateInterceptDeployment(string parent, InterceptDeployment interceptDeployment, string interceptDeploymentId, CallSettings callSettings = null)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

interceptDeployment InterceptDeployment

Required. The deployment to create.

interceptDeploymentId string

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptDeployment interceptDeployment = new InterceptDeployment();
string interceptDeploymentId = "";
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = interceptClient.CreateInterceptDeployment(parent, interceptDeployment, interceptDeploymentId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentAsync(LocationName, InterceptDeployment, string, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> CreateInterceptDeploymentAsync(LocationName parent, InterceptDeployment interceptDeployment, string interceptDeploymentId, CallSettings callSettings = null)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

interceptDeployment InterceptDeployment

Required. The deployment to create.

interceptDeploymentId string

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptDeployment interceptDeployment = new InterceptDeployment();
string interceptDeploymentId = "";
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentAsync(parent, interceptDeployment, interceptDeploymentId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentAsync(LocationName, InterceptDeployment, string, CancellationToken)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> CreateInterceptDeploymentAsync(LocationName parent, InterceptDeployment interceptDeployment, string interceptDeploymentId, CancellationToken cancellationToken)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

interceptDeployment InterceptDeployment

Required. The deployment to create.

interceptDeploymentId string

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptDeployment interceptDeployment = new InterceptDeployment();
string interceptDeploymentId = "";
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentAsync(parent, interceptDeployment, interceptDeploymentId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentAsync(CreateInterceptDeploymentRequest, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> CreateInterceptDeploymentAsync(CreateInterceptDeploymentRequest request, CallSettings callSettings = null)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptDeploymentRequest request = new CreateInterceptDeploymentRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptDeploymentId = "",
    InterceptDeployment = new InterceptDeployment(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentAsync(CreateInterceptDeploymentRequest, CancellationToken)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> CreateInterceptDeploymentAsync(CreateInterceptDeploymentRequest request, CancellationToken cancellationToken)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptDeploymentRequest request = new CreateInterceptDeploymentRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptDeploymentId = "",
    InterceptDeployment = new InterceptDeployment(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentAsync(string, InterceptDeployment, string, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> CreateInterceptDeploymentAsync(string parent, InterceptDeployment interceptDeployment, string interceptDeploymentId, CallSettings callSettings = null)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

interceptDeployment InterceptDeployment

Required. The deployment to create.

interceptDeploymentId string

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptDeployment interceptDeployment = new InterceptDeployment();
string interceptDeploymentId = "";
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentAsync(parent, interceptDeployment, interceptDeploymentId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentAsync(string, InterceptDeployment, string, CancellationToken)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> CreateInterceptDeploymentAsync(string parent, InterceptDeployment interceptDeployment, string interceptDeploymentId, CancellationToken cancellationToken)

Creates a deployment in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}

interceptDeployment InterceptDeployment

Required. The deployment to create.

interceptDeploymentId string

Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptDeployment interceptDeployment = new InterceptDeployment();
string interceptDeploymentId = "";
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentAsync(parent, interceptDeployment, interceptDeploymentId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroup(LocationName, InterceptDeploymentGroup, string, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> CreateInterceptDeploymentGroup(LocationName parent, InterceptDeploymentGroup interceptDeploymentGroup, string interceptDeploymentGroupId, CallSettings callSettings = null)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to create.

interceptDeploymentGroupId string

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
string interceptDeploymentGroupId = "";
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = interceptClient.CreateInterceptDeploymentGroup(parent, interceptDeploymentGroup, interceptDeploymentGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroup(CreateInterceptDeploymentGroupRequest, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> CreateInterceptDeploymentGroup(CreateInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
CreateInterceptDeploymentGroupRequest request = new CreateInterceptDeploymentGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptDeploymentGroupId = "",
    InterceptDeploymentGroup = new InterceptDeploymentGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = interceptClient.CreateInterceptDeploymentGroup(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroup(string, InterceptDeploymentGroup, string, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> CreateInterceptDeploymentGroup(string parent, InterceptDeploymentGroup interceptDeploymentGroup, string interceptDeploymentGroupId, CallSettings callSettings = null)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to create.

interceptDeploymentGroupId string

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
string interceptDeploymentGroupId = "";
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = interceptClient.CreateInterceptDeploymentGroup(parent, interceptDeploymentGroup, interceptDeploymentGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroupAsync(LocationName, InterceptDeploymentGroup, string, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> CreateInterceptDeploymentGroupAsync(LocationName parent, InterceptDeploymentGroup interceptDeploymentGroup, string interceptDeploymentGroupId, CallSettings callSettings = null)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to create.

interceptDeploymentGroupId string

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
string interceptDeploymentGroupId = "";
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentGroupAsync(parent, interceptDeploymentGroup, interceptDeploymentGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroupAsync(LocationName, InterceptDeploymentGroup, string, CancellationToken)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> CreateInterceptDeploymentGroupAsync(LocationName parent, InterceptDeploymentGroup interceptDeploymentGroup, string interceptDeploymentGroupId, CancellationToken cancellationToken)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to create.

interceptDeploymentGroupId string

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
string interceptDeploymentGroupId = "";
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentGroupAsync(parent, interceptDeploymentGroup, interceptDeploymentGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroupAsync(CreateInterceptDeploymentGroupRequest, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> CreateInterceptDeploymentGroupAsync(CreateInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptDeploymentGroupRequest request = new CreateInterceptDeploymentGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptDeploymentGroupId = "",
    InterceptDeploymentGroup = new InterceptDeploymentGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroupAsync(CreateInterceptDeploymentGroupRequest, CancellationToken)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> CreateInterceptDeploymentGroupAsync(CreateInterceptDeploymentGroupRequest request, CancellationToken cancellationToken)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptDeploymentGroupRequest request = new CreateInterceptDeploymentGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptDeploymentGroupId = "",
    InterceptDeploymentGroup = new InterceptDeploymentGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroupAsync(string, InterceptDeploymentGroup, string, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> CreateInterceptDeploymentGroupAsync(string parent, InterceptDeploymentGroup interceptDeploymentGroup, string interceptDeploymentGroupId, CallSettings callSettings = null)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to create.

interceptDeploymentGroupId string

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
string interceptDeploymentGroupId = "";
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentGroupAsync(parent, interceptDeploymentGroup, interceptDeploymentGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptDeploymentGroupAsync(string, InterceptDeploymentGroup, string, CancellationToken)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> CreateInterceptDeploymentGroupAsync(string parent, InterceptDeploymentGroup interceptDeploymentGroup, string interceptDeploymentGroupId, CancellationToken cancellationToken)

Creates a deployment group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}

interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to create.

interceptDeploymentGroupId string

Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
string interceptDeploymentGroupId = "";
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.CreateInterceptDeploymentGroupAsync(parent, interceptDeploymentGroup, interceptDeploymentGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroup(LocationName, InterceptEndpointGroup, string, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> CreateInterceptEndpointGroup(LocationName parent, InterceptEndpointGroup interceptEndpointGroup, string interceptEndpointGroupId, CallSettings callSettings = null)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to create.

interceptEndpointGroupId string

Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
string interceptEndpointGroupId = "";
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = interceptClient.CreateInterceptEndpointGroup(parent, interceptEndpointGroup, interceptEndpointGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroup(CreateInterceptEndpointGroupRequest, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> CreateInterceptEndpointGroup(CreateInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
CreateInterceptEndpointGroupRequest request = new CreateInterceptEndpointGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptEndpointGroupId = "",
    InterceptEndpointGroup = new InterceptEndpointGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = interceptClient.CreateInterceptEndpointGroup(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroup(string, InterceptEndpointGroup, string, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> CreateInterceptEndpointGroup(string parent, InterceptEndpointGroup interceptEndpointGroup, string interceptEndpointGroupId, CallSettings callSettings = null)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to create.

interceptEndpointGroupId string

Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
string interceptEndpointGroupId = "";
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = interceptClient.CreateInterceptEndpointGroup(parent, interceptEndpointGroup, interceptEndpointGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociation(LocationName, InterceptEndpointGroupAssociation, string, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> CreateInterceptEndpointGroupAssociation(LocationName parent, InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, string interceptEndpointGroupAssociationId, CallSettings callSettings = null)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to create.

interceptEndpointGroupAssociationId string

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
string interceptEndpointGroupAssociationId = "";
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = interceptClient.CreateInterceptEndpointGroupAssociation(parent, interceptEndpointGroupAssociation, interceptEndpointGroupAssociationId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociation(CreateInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> CreateInterceptEndpointGroupAssociation(CreateInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
CreateInterceptEndpointGroupAssociationRequest request = new CreateInterceptEndpointGroupAssociationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptEndpointGroupAssociationId = "",
    InterceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = interceptClient.CreateInterceptEndpointGroupAssociation(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociation(string, InterceptEndpointGroupAssociation, string, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> CreateInterceptEndpointGroupAssociation(string parent, InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, string interceptEndpointGroupAssociationId, CallSettings callSettings = null)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to create.

interceptEndpointGroupAssociationId string

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
string interceptEndpointGroupAssociationId = "";
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = interceptClient.CreateInterceptEndpointGroupAssociation(parent, interceptEndpointGroupAssociation, interceptEndpointGroupAssociationId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = interceptClient.PollOnceCreateInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociationAsync(LocationName, InterceptEndpointGroupAssociation, string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> CreateInterceptEndpointGroupAssociationAsync(LocationName parent, InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, string interceptEndpointGroupAssociationId, CallSettings callSettings = null)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to create.

interceptEndpointGroupAssociationId string

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
string interceptEndpointGroupAssociationId = "";
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAssociationAsync(parent, interceptEndpointGroupAssociation, interceptEndpointGroupAssociationId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociationAsync(LocationName, InterceptEndpointGroupAssociation, string, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> CreateInterceptEndpointGroupAssociationAsync(LocationName parent, InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, string interceptEndpointGroupAssociationId, CancellationToken cancellationToken)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to create.

interceptEndpointGroupAssociationId string

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.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
string interceptEndpointGroupAssociationId = "";
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAssociationAsync(parent, interceptEndpointGroupAssociation, interceptEndpointGroupAssociationId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociationAsync(CreateInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> CreateInterceptEndpointGroupAssociationAsync(CreateInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptEndpointGroupAssociationRequest request = new CreateInterceptEndpointGroupAssociationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptEndpointGroupAssociationId = "",
    InterceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAssociationAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociationAsync(CreateInterceptEndpointGroupAssociationRequest, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> CreateInterceptEndpointGroupAssociationAsync(CreateInterceptEndpointGroupAssociationRequest request, CancellationToken cancellationToken)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptEndpointGroupAssociationRequest request = new CreateInterceptEndpointGroupAssociationRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptEndpointGroupAssociationId = "",
    InterceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAssociationAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociationAsync(string, InterceptEndpointGroupAssociation, string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> CreateInterceptEndpointGroupAssociationAsync(string parent, InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, string interceptEndpointGroupAssociationId, CallSettings callSettings = null)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to create.

interceptEndpointGroupAssociationId string

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
string interceptEndpointGroupAssociationId = "";
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAssociationAsync(parent, interceptEndpointGroupAssociation, interceptEndpointGroupAssociationId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAssociationAsync(string, InterceptEndpointGroupAssociation, string, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> CreateInterceptEndpointGroupAssociationAsync(string parent, InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, string interceptEndpointGroupAssociationId, CancellationToken cancellationToken)

Creates an association in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to create.

interceptEndpointGroupAssociationId string

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.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
string interceptEndpointGroupAssociationId = "";
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAssociationAsync(parent, interceptEndpointGroupAssociation, interceptEndpointGroupAssociationId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAsync(LocationName, InterceptEndpointGroup, string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> CreateInterceptEndpointGroupAsync(LocationName parent, InterceptEndpointGroup interceptEndpointGroup, string interceptEndpointGroupId, CallSettings callSettings = null)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to create.

interceptEndpointGroupId string

Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
string interceptEndpointGroupId = "";
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAsync(parent, interceptEndpointGroup, interceptEndpointGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAsync(LocationName, InterceptEndpointGroup, string, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> CreateInterceptEndpointGroupAsync(LocationName parent, InterceptEndpointGroup interceptEndpointGroup, string interceptEndpointGroupId, CancellationToken cancellationToken)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent LocationName

Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to create.

interceptEndpointGroupId string

Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
string interceptEndpointGroupId = "";
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAsync(parent, interceptEndpointGroup, interceptEndpointGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAsync(CreateInterceptEndpointGroupRequest, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> CreateInterceptEndpointGroupAsync(CreateInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptEndpointGroupRequest request = new CreateInterceptEndpointGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptEndpointGroupId = "",
    InterceptEndpointGroup = new InterceptEndpointGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAsync(CreateInterceptEndpointGroupRequest, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> CreateInterceptEndpointGroupAsync(CreateInterceptEndpointGroupRequest request, CancellationToken cancellationToken)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
request CreateInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
CreateInterceptEndpointGroupRequest request = new CreateInterceptEndpointGroupRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    InterceptEndpointGroupId = "",
    InterceptEndpointGroup = new InterceptEndpointGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAsync(string, InterceptEndpointGroup, string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> CreateInterceptEndpointGroupAsync(string parent, InterceptEndpointGroup interceptEndpointGroup, string interceptEndpointGroupId, CallSettings callSettings = null)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to create.

interceptEndpointGroupId string

Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
string interceptEndpointGroupId = "";
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAsync(parent, interceptEndpointGroup, interceptEndpointGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

CreateInterceptEndpointGroupAsync(string, InterceptEndpointGroup, string, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> CreateInterceptEndpointGroupAsync(string parent, InterceptEndpointGroup interceptEndpointGroup, string interceptEndpointGroupId, CancellationToken cancellationToken)

Creates an endpoint group in a given project and location. See https://google.aip.dev/133.

Parameters
Name Description
parent string

Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}

interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to create.

interceptEndpointGroupId string

Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
string interceptEndpointGroupId = "";
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.CreateInterceptEndpointGroupAsync(parent, interceptEndpointGroup, interceptEndpointGroupId);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceCreateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeployment(DeleteInterceptDeploymentRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptDeployment(DeleteInterceptDeploymentRequest request, CallSettings callSettings = null)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
DeleteInterceptDeploymentRequest request = new DeleteInterceptDeploymentRequest
{
    InterceptDeploymentName = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptDeployment(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeployment(InterceptDeploymentName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptDeployment(InterceptDeploymentName name, CallSettings callSettings = null)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptDeploymentName

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptDeploymentName name = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]");
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptDeployment(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeployment(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptDeployment(string name, CallSettings callSettings = null)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeployments/[INTERCEPT_DEPLOYMENT]";
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptDeployment(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentAsync(DeleteInterceptDeploymentRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentAsync(DeleteInterceptDeploymentRequest request, CallSettings callSettings = null)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptDeploymentRequest request = new DeleteInterceptDeploymentRequest
{
    InterceptDeploymentName = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentAsync(DeleteInterceptDeploymentRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentAsync(DeleteInterceptDeploymentRequest request, CancellationToken cancellationToken)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptDeploymentRequest request = new DeleteInterceptDeploymentRequest
{
    InterceptDeploymentName = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentAsync(InterceptDeploymentName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentAsync(InterceptDeploymentName name, CallSettings callSettings = null)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptDeploymentName

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentName name = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentAsync(InterceptDeploymentName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentAsync(InterceptDeploymentName name, CancellationToken cancellationToken)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptDeploymentName

Required. Name of the resource

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentName name = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentAsync(string name, CallSettings callSettings = null)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. Name of the resource

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeployments/[INTERCEPT_DEPLOYMENT]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentAsync(string name, CancellationToken cancellationToken)

Deletes a deployment. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. Name of the resource

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeployments/[INTERCEPT_DEPLOYMENT]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroup(DeleteInterceptDeploymentGroupRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptDeploymentGroup(DeleteInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
DeleteInterceptDeploymentGroupRequest request = new DeleteInterceptDeploymentGroupRequest
{
    InterceptDeploymentGroupName = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptDeploymentGroup(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroup(InterceptDeploymentGroupName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptDeploymentGroup(InterceptDeploymentGroupName name, CallSettings callSettings = null)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptDeploymentGroupName

Required. The deployment group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptDeploymentGroupName name = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptDeploymentGroup(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroup(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptDeploymentGroup(string name, CallSettings callSettings = null)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The deployment group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeploymentGroups/[INTERCEPT_DEPLOYMENT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptDeploymentGroup(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroupAsync(DeleteInterceptDeploymentGroupRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentGroupAsync(DeleteInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptDeploymentGroupRequest request = new DeleteInterceptDeploymentGroupRequest
{
    InterceptDeploymentGroupName = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroupAsync(DeleteInterceptDeploymentGroupRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentGroupAsync(DeleteInterceptDeploymentGroupRequest request, CancellationToken cancellationToken)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptDeploymentGroupRequest request = new DeleteInterceptDeploymentGroupRequest
{
    InterceptDeploymentGroupName = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroupAsync(InterceptDeploymentGroupName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentGroupAsync(InterceptDeploymentGroupName name, CallSettings callSettings = null)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptDeploymentGroupName

Required. The deployment group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentGroupName name = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroupAsync(InterceptDeploymentGroupName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentGroupAsync(InterceptDeploymentGroupName name, CancellationToken cancellationToken)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptDeploymentGroupName

Required. The deployment group to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentGroupName name = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroupAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentGroupAsync(string name, CallSettings callSettings = null)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The deployment group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeploymentGroups/[INTERCEPT_DEPLOYMENT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptDeploymentGroupAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptDeploymentGroupAsync(string name, CancellationToken cancellationToken)

Deletes a deployment group. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The deployment group to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeploymentGroups/[INTERCEPT_DEPLOYMENT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptDeploymentGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroup(DeleteInterceptEndpointGroupRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptEndpointGroup(DeleteInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
DeleteInterceptEndpointGroupRequest request = new DeleteInterceptEndpointGroupRequest
{
    InterceptEndpointGroupName = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptEndpointGroup(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroup(InterceptEndpointGroupName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptEndpointGroup(InterceptEndpointGroupName name, CallSettings callSettings = null)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptEndpointGroupName

Required. The endpoint group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptEndpointGroupName name = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptEndpointGroup(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroup(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptEndpointGroup(string name, CallSettings callSettings = null)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The endpoint group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroups/[INTERCEPT_ENDPOINT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptEndpointGroup(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociation(DeleteInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptEndpointGroupAssociation(DeleteInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
DeleteInterceptEndpointGroupAssociationRequest request = new DeleteInterceptEndpointGroupAssociationRequest
{
    InterceptEndpointGroupAssociationName = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptEndpointGroupAssociation(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociationName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociationName name, CallSettings callSettings = null)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptEndpointGroupAssociationName

Required. The association to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptEndpointGroupAssociationName name = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptEndpointGroupAssociation(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociation(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteInterceptEndpointGroupAssociation(string name, CallSettings callSettings = null)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The association to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroupAssociations/[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
Operation<Empty, OperationMetadata> response = interceptClient.DeleteInterceptEndpointGroupAssociation(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = interceptClient.PollOnceDeleteInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociationAsync(DeleteInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAssociationAsync(DeleteInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptEndpointGroupAssociationRequest request = new DeleteInterceptEndpointGroupAssociationRequest
{
    InterceptEndpointGroupAssociationName = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAssociationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociationAsync(DeleteInterceptEndpointGroupAssociationRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAssociationAsync(DeleteInterceptEndpointGroupAssociationRequest request, CancellationToken cancellationToken)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptEndpointGroupAssociationRequest request = new DeleteInterceptEndpointGroupAssociationRequest
{
    InterceptEndpointGroupAssociationName = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAssociationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName name, CallSettings callSettings = null)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptEndpointGroupAssociationName

Required. The association to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupAssociationName name = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAssociationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName name, CancellationToken cancellationToken)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptEndpointGroupAssociationName

Required. The association to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupAssociationName name = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAssociationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociationAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAssociationAsync(string name, CallSettings callSettings = null)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The association to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroupAssociations/[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAssociationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAssociationAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAssociationAsync(string name, CancellationToken cancellationToken)

Deletes an association. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The association to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroupAssociations/[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAssociationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAsync(DeleteInterceptEndpointGroupRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAsync(DeleteInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptEndpointGroupRequest request = new DeleteInterceptEndpointGroupRequest
{
    InterceptEndpointGroupName = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAsync(DeleteInterceptEndpointGroupRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAsync(DeleteInterceptEndpointGroupRequest request, CancellationToken cancellationToken)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
request DeleteInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
DeleteInterceptEndpointGroupRequest request = new DeleteInterceptEndpointGroupRequest
{
    InterceptEndpointGroupName = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]"),
    RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAsync(InterceptEndpointGroupName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAsync(InterceptEndpointGroupName name, CallSettings callSettings = null)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptEndpointGroupName

Required. The endpoint group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupName name = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAsync(InterceptEndpointGroupName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAsync(InterceptEndpointGroupName name, CancellationToken cancellationToken)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
name InterceptEndpointGroupName

Required. The endpoint group to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupName name = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAsync(string name, CallSettings callSettings = null)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The endpoint group to delete.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroups/[INTERCEPT_ENDPOINT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteInterceptEndpointGroupAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInterceptEndpointGroupAsync(string name, CancellationToken cancellationToken)

Deletes an endpoint group. See https://google.aip.dev/135.

Parameters
Name Description
name string

Required. The endpoint group to delete.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroups/[INTERCEPT_ENDPOINT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await interceptClient.DeleteInterceptEndpointGroupAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await interceptClient.PollOnceDeleteInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

GetInterceptDeployment(GetInterceptDeploymentRequest, CallSettings)

public virtual InterceptDeployment GetInterceptDeployment(GetInterceptDeploymentRequest request, CallSettings callSettings = null)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptDeployment

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
GetInterceptDeploymentRequest request = new GetInterceptDeploymentRequest
{
    InterceptDeploymentName = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]"),
};
// Make the request
InterceptDeployment response = interceptClient.GetInterceptDeployment(request);

GetInterceptDeployment(InterceptDeploymentName, CallSettings)

public virtual InterceptDeployment GetInterceptDeployment(InterceptDeploymentName name, CallSettings callSettings = null)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptDeploymentName

Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptDeployment

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptDeploymentName name = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]");
// Make the request
InterceptDeployment response = interceptClient.GetInterceptDeployment(name);

GetInterceptDeployment(string, CallSettings)

public virtual InterceptDeployment GetInterceptDeployment(string name, CallSettings callSettings = null)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptDeployment

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeployments/[INTERCEPT_DEPLOYMENT]";
// Make the request
InterceptDeployment response = interceptClient.GetInterceptDeployment(name);

GetInterceptDeploymentAsync(GetInterceptDeploymentRequest, CallSettings)

public virtual Task<InterceptDeployment> GetInterceptDeploymentAsync(GetInterceptDeploymentRequest request, CallSettings callSettings = null)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptDeployment

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptDeploymentRequest request = new GetInterceptDeploymentRequest
{
    InterceptDeploymentName = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]"),
};
// Make the request
InterceptDeployment response = await interceptClient.GetInterceptDeploymentAsync(request);

GetInterceptDeploymentAsync(GetInterceptDeploymentRequest, CancellationToken)

public virtual Task<InterceptDeployment> GetInterceptDeploymentAsync(GetInterceptDeploymentRequest request, CancellationToken cancellationToken)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptDeployment

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptDeploymentRequest request = new GetInterceptDeploymentRequest
{
    InterceptDeploymentName = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]"),
};
// Make the request
InterceptDeployment response = await interceptClient.GetInterceptDeploymentAsync(request);

GetInterceptDeploymentAsync(InterceptDeploymentName, CallSettings)

public virtual Task<InterceptDeployment> GetInterceptDeploymentAsync(InterceptDeploymentName name, CallSettings callSettings = null)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptDeploymentName

Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptDeployment

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentName name = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]");
// Make the request
InterceptDeployment response = await interceptClient.GetInterceptDeploymentAsync(name);

GetInterceptDeploymentAsync(InterceptDeploymentName, CancellationToken)

public virtual Task<InterceptDeployment> GetInterceptDeploymentAsync(InterceptDeploymentName name, CancellationToken cancellationToken)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptDeploymentName

Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptDeployment

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentName name = InterceptDeploymentName.FromProjectLocationInterceptDeployment("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT]");
// Make the request
InterceptDeployment response = await interceptClient.GetInterceptDeploymentAsync(name);

GetInterceptDeploymentAsync(string, CallSettings)

public virtual Task<InterceptDeployment> GetInterceptDeploymentAsync(string name, CallSettings callSettings = null)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptDeployment

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeployments/[INTERCEPT_DEPLOYMENT]";
// Make the request
InterceptDeployment response = await interceptClient.GetInterceptDeploymentAsync(name);

GetInterceptDeploymentAsync(string, CancellationToken)

public virtual Task<InterceptDeployment> GetInterceptDeploymentAsync(string name, CancellationToken cancellationToken)

Gets a specific deployment. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptDeployment

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeployments/[INTERCEPT_DEPLOYMENT]";
// Make the request
InterceptDeployment response = await interceptClient.GetInterceptDeploymentAsync(name);

GetInterceptDeploymentGroup(GetInterceptDeploymentGroupRequest, CallSettings)

public virtual InterceptDeploymentGroup GetInterceptDeploymentGroup(GetInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptDeploymentGroup

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
GetInterceptDeploymentGroupRequest request = new GetInterceptDeploymentGroupRequest
{
    InterceptDeploymentGroupName = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]"),
};
// Make the request
InterceptDeploymentGroup response = interceptClient.GetInterceptDeploymentGroup(request);

GetInterceptDeploymentGroup(InterceptDeploymentGroupName, CallSettings)

public virtual InterceptDeploymentGroup GetInterceptDeploymentGroup(InterceptDeploymentGroupName name, CallSettings callSettings = null)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptDeploymentGroupName

Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptDeploymentGroup

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptDeploymentGroupName name = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]");
// Make the request
InterceptDeploymentGroup response = interceptClient.GetInterceptDeploymentGroup(name);

GetInterceptDeploymentGroup(string, CallSettings)

public virtual InterceptDeploymentGroup GetInterceptDeploymentGroup(string name, CallSettings callSettings = null)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptDeploymentGroup

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeploymentGroups/[INTERCEPT_DEPLOYMENT_GROUP]";
// Make the request
InterceptDeploymentGroup response = interceptClient.GetInterceptDeploymentGroup(name);

GetInterceptDeploymentGroupAsync(GetInterceptDeploymentGroupRequest, CallSettings)

public virtual Task<InterceptDeploymentGroup> GetInterceptDeploymentGroupAsync(GetInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptDeploymentGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptDeploymentGroupRequest request = new GetInterceptDeploymentGroupRequest
{
    InterceptDeploymentGroupName = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]"),
};
// Make the request
InterceptDeploymentGroup response = await interceptClient.GetInterceptDeploymentGroupAsync(request);

GetInterceptDeploymentGroupAsync(GetInterceptDeploymentGroupRequest, CancellationToken)

public virtual Task<InterceptDeploymentGroup> GetInterceptDeploymentGroupAsync(GetInterceptDeploymentGroupRequest request, CancellationToken cancellationToken)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptDeploymentGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptDeploymentGroupRequest request = new GetInterceptDeploymentGroupRequest
{
    InterceptDeploymentGroupName = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]"),
};
// Make the request
InterceptDeploymentGroup response = await interceptClient.GetInterceptDeploymentGroupAsync(request);

GetInterceptDeploymentGroupAsync(InterceptDeploymentGroupName, CallSettings)

public virtual Task<InterceptDeploymentGroup> GetInterceptDeploymentGroupAsync(InterceptDeploymentGroupName name, CallSettings callSettings = null)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptDeploymentGroupName

Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptDeploymentGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentGroupName name = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]");
// Make the request
InterceptDeploymentGroup response = await interceptClient.GetInterceptDeploymentGroupAsync(name);

GetInterceptDeploymentGroupAsync(InterceptDeploymentGroupName, CancellationToken)

public virtual Task<InterceptDeploymentGroup> GetInterceptDeploymentGroupAsync(InterceptDeploymentGroupName name, CancellationToken cancellationToken)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptDeploymentGroupName

Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptDeploymentGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentGroupName name = InterceptDeploymentGroupName.FromProjectLocationInterceptDeploymentGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_DEPLOYMENT_GROUP]");
// Make the request
InterceptDeploymentGroup response = await interceptClient.GetInterceptDeploymentGroupAsync(name);

GetInterceptDeploymentGroupAsync(string, CallSettings)

public virtual Task<InterceptDeploymentGroup> GetInterceptDeploymentGroupAsync(string name, CallSettings callSettings = null)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptDeploymentGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeploymentGroups/[INTERCEPT_DEPLOYMENT_GROUP]";
// Make the request
InterceptDeploymentGroup response = await interceptClient.GetInterceptDeploymentGroupAsync(name);

GetInterceptDeploymentGroupAsync(string, CancellationToken)

public virtual Task<InterceptDeploymentGroup> GetInterceptDeploymentGroupAsync(string name, CancellationToken cancellationToken)

Gets a specific deployment group. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptDeploymentGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptDeploymentGroups/[INTERCEPT_DEPLOYMENT_GROUP]";
// Make the request
InterceptDeploymentGroup response = await interceptClient.GetInterceptDeploymentGroupAsync(name);

GetInterceptEndpointGroup(GetInterceptEndpointGroupRequest, CallSettings)

public virtual InterceptEndpointGroup GetInterceptEndpointGroup(GetInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptEndpointGroup

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
GetInterceptEndpointGroupRequest request = new GetInterceptEndpointGroupRequest
{
    InterceptEndpointGroupName = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]"),
};
// Make the request
InterceptEndpointGroup response = interceptClient.GetInterceptEndpointGroup(request);

GetInterceptEndpointGroup(InterceptEndpointGroupName, CallSettings)

public virtual InterceptEndpointGroup GetInterceptEndpointGroup(InterceptEndpointGroupName name, CallSettings callSettings = null)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptEndpointGroupName

Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptEndpointGroup

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptEndpointGroupName name = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]");
// Make the request
InterceptEndpointGroup response = interceptClient.GetInterceptEndpointGroup(name);

GetInterceptEndpointGroup(string, CallSettings)

public virtual InterceptEndpointGroup GetInterceptEndpointGroup(string name, CallSettings callSettings = null)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptEndpointGroup

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroups/[INTERCEPT_ENDPOINT_GROUP]";
// Make the request
InterceptEndpointGroup response = interceptClient.GetInterceptEndpointGroup(name);

GetInterceptEndpointGroupAssociation(GetInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual InterceptEndpointGroupAssociation GetInterceptEndpointGroupAssociation(GetInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptEndpointGroupAssociation

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
GetInterceptEndpointGroupAssociationRequest request = new GetInterceptEndpointGroupAssociationRequest
{
    InterceptEndpointGroupAssociationName = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]"),
};
// Make the request
InterceptEndpointGroupAssociation response = interceptClient.GetInterceptEndpointGroupAssociation(request);

GetInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociationName, CallSettings)

public virtual InterceptEndpointGroupAssociation GetInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociationName name, CallSettings callSettings = null)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptEndpointGroupAssociationName

Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptEndpointGroupAssociation

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptEndpointGroupAssociationName name = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
InterceptEndpointGroupAssociation response = interceptClient.GetInterceptEndpointGroupAssociation(name);

GetInterceptEndpointGroupAssociation(string, CallSettings)

public virtual InterceptEndpointGroupAssociation GetInterceptEndpointGroupAssociation(string name, CallSettings callSettings = null)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterceptEndpointGroupAssociation

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroupAssociations/[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
InterceptEndpointGroupAssociation response = interceptClient.GetInterceptEndpointGroupAssociation(name);

GetInterceptEndpointGroupAssociationAsync(GetInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Task<InterceptEndpointGroupAssociation> GetInterceptEndpointGroupAssociationAsync(GetInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptEndpointGroupAssociation

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptEndpointGroupAssociationRequest request = new GetInterceptEndpointGroupAssociationRequest
{
    InterceptEndpointGroupAssociationName = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]"),
};
// Make the request
InterceptEndpointGroupAssociation response = await interceptClient.GetInterceptEndpointGroupAssociationAsync(request);

GetInterceptEndpointGroupAssociationAsync(GetInterceptEndpointGroupAssociationRequest, CancellationToken)

public virtual Task<InterceptEndpointGroupAssociation> GetInterceptEndpointGroupAssociationAsync(GetInterceptEndpointGroupAssociationRequest request, CancellationToken cancellationToken)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptEndpointGroupAssociation

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptEndpointGroupAssociationRequest request = new GetInterceptEndpointGroupAssociationRequest
{
    InterceptEndpointGroupAssociationName = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]"),
};
// Make the request
InterceptEndpointGroupAssociation response = await interceptClient.GetInterceptEndpointGroupAssociationAsync(request);

GetInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName, CallSettings)

public virtual Task<InterceptEndpointGroupAssociation> GetInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName name, CallSettings callSettings = null)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptEndpointGroupAssociationName

Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptEndpointGroupAssociation

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupAssociationName name = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
InterceptEndpointGroupAssociation response = await interceptClient.GetInterceptEndpointGroupAssociationAsync(name);

GetInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName, CancellationToken)

public virtual Task<InterceptEndpointGroupAssociation> GetInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociationName name, CancellationToken cancellationToken)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptEndpointGroupAssociationName

Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptEndpointGroupAssociation

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupAssociationName name = InterceptEndpointGroupAssociationName.FromProjectLocationInterceptEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
InterceptEndpointGroupAssociation response = await interceptClient.GetInterceptEndpointGroupAssociationAsync(name);

GetInterceptEndpointGroupAssociationAsync(string, CallSettings)

public virtual Task<InterceptEndpointGroupAssociation> GetInterceptEndpointGroupAssociationAsync(string name, CallSettings callSettings = null)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptEndpointGroupAssociation

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroupAssociations/[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
InterceptEndpointGroupAssociation response = await interceptClient.GetInterceptEndpointGroupAssociationAsync(name);

GetInterceptEndpointGroupAssociationAsync(string, CancellationToken)

public virtual Task<InterceptEndpointGroupAssociation> GetInterceptEndpointGroupAssociationAsync(string name, CancellationToken cancellationToken)

Gets a specific association. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptEndpointGroupAssociation

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroupAssociations/[INTERCEPT_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
InterceptEndpointGroupAssociation response = await interceptClient.GetInterceptEndpointGroupAssociationAsync(name);

GetInterceptEndpointGroupAsync(GetInterceptEndpointGroupRequest, CallSettings)

public virtual Task<InterceptEndpointGroup> GetInterceptEndpointGroupAsync(GetInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptEndpointGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptEndpointGroupRequest request = new GetInterceptEndpointGroupRequest
{
    InterceptEndpointGroupName = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]"),
};
// Make the request
InterceptEndpointGroup response = await interceptClient.GetInterceptEndpointGroupAsync(request);

GetInterceptEndpointGroupAsync(GetInterceptEndpointGroupRequest, CancellationToken)

public virtual Task<InterceptEndpointGroup> GetInterceptEndpointGroupAsync(GetInterceptEndpointGroupRequest request, CancellationToken cancellationToken)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
request GetInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptEndpointGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
GetInterceptEndpointGroupRequest request = new GetInterceptEndpointGroupRequest
{
    InterceptEndpointGroupName = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]"),
};
// Make the request
InterceptEndpointGroup response = await interceptClient.GetInterceptEndpointGroupAsync(request);

GetInterceptEndpointGroupAsync(InterceptEndpointGroupName, CallSettings)

public virtual Task<InterceptEndpointGroup> GetInterceptEndpointGroupAsync(InterceptEndpointGroupName name, CallSettings callSettings = null)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptEndpointGroupName

Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptEndpointGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupName name = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]");
// Make the request
InterceptEndpointGroup response = await interceptClient.GetInterceptEndpointGroupAsync(name);

GetInterceptEndpointGroupAsync(InterceptEndpointGroupName, CancellationToken)

public virtual Task<InterceptEndpointGroup> GetInterceptEndpointGroupAsync(InterceptEndpointGroupName name, CancellationToken cancellationToken)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
name InterceptEndpointGroupName

Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptEndpointGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupName name = InterceptEndpointGroupName.FromProjectLocationInterceptEndpointGroup("[PROJECT]", "[LOCATION]", "[INTERCEPT_ENDPOINT_GROUP]");
// Make the request
InterceptEndpointGroup response = await interceptClient.GetInterceptEndpointGroupAsync(name);

GetInterceptEndpointGroupAsync(string, CallSettings)

public virtual Task<InterceptEndpointGroup> GetInterceptEndpointGroupAsync(string name, CallSettings callSettings = null)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterceptEndpointGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroups/[INTERCEPT_ENDPOINT_GROUP]";
// Make the request
InterceptEndpointGroup response = await interceptClient.GetInterceptEndpointGroupAsync(name);

GetInterceptEndpointGroupAsync(string, CancellationToken)

public virtual Task<InterceptEndpointGroup> GetInterceptEndpointGroupAsync(string name, CancellationToken cancellationToken)

Gets a specific endpoint group. See https://google.aip.dev/131.

Parameters
Name Description
name string

Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInterceptEndpointGroup

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/interceptEndpointGroups/[INTERCEPT_ENDPOINT_GROUP]";
// Make the request
InterceptEndpointGroup response = await interceptClient.GetInterceptEndpointGroupAsync(name);

ListInterceptDeploymentGroups(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> ListInterceptDeploymentGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployment groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

Required. The parent, which owns this collection of deployment groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptDeploymentGroupsResponseInterceptDeploymentGroup

A pageable sequence of InterceptDeploymentGroup resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> response = interceptClient.ListInterceptDeploymentGroups(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptDeploymentGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptDeploymentGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeploymentGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeploymentGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeploymentGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentGroups(ListInterceptDeploymentGroupsRequest, CallSettings)

public virtual PagedEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> ListInterceptDeploymentGroups(ListInterceptDeploymentGroupsRequest request, CallSettings callSettings = null)

Lists deployment groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptDeploymentGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptDeploymentGroupsResponseInterceptDeploymentGroup

A pageable sequence of InterceptDeploymentGroup resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
ListInterceptDeploymentGroupsRequest request = new ListInterceptDeploymentGroupsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> response = interceptClient.ListInterceptDeploymentGroups(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptDeploymentGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptDeploymentGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeploymentGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeploymentGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeploymentGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentGroups(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> ListInterceptDeploymentGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployment groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

Required. The parent, which owns this collection of deployment groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptDeploymentGroupsResponseInterceptDeploymentGroup

A pageable sequence of InterceptDeploymentGroup resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> response = interceptClient.ListInterceptDeploymentGroups(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptDeploymentGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptDeploymentGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeploymentGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeploymentGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeploymentGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentGroupsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> ListInterceptDeploymentGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployment groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

Required. The parent, which owns this collection of deployment groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptDeploymentGroupsResponseInterceptDeploymentGroup

A pageable asynchronous sequence of InterceptDeploymentGroup resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> response = interceptClient.ListInterceptDeploymentGroupsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptDeploymentGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptDeploymentGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeploymentGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeploymentGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeploymentGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentGroupsAsync(ListInterceptDeploymentGroupsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> ListInterceptDeploymentGroupsAsync(ListInterceptDeploymentGroupsRequest request, CallSettings callSettings = null)

Lists deployment groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptDeploymentGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptDeploymentGroupsResponseInterceptDeploymentGroup

A pageable asynchronous sequence of InterceptDeploymentGroup resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
ListInterceptDeploymentGroupsRequest request = new ListInterceptDeploymentGroupsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> response = interceptClient.ListInterceptDeploymentGroupsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptDeploymentGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptDeploymentGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeploymentGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeploymentGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeploymentGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentGroupsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> ListInterceptDeploymentGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployment groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

Required. The parent, which owns this collection of deployment groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptDeploymentGroupsResponseInterceptDeploymentGroup

A pageable asynchronous sequence of InterceptDeploymentGroup resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListInterceptDeploymentGroupsResponse, InterceptDeploymentGroup> response = interceptClient.ListInterceptDeploymentGroupsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptDeploymentGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptDeploymentGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeploymentGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeploymentGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeploymentGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeployments(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> ListInterceptDeployments(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployments in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

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.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptDeploymentsResponseInterceptDeployment

A pageable sequence of InterceptDeployment resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> response = interceptClient.ListInterceptDeployments(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptDeployment item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptDeploymentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeployment item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeployment item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeployments(ListInterceptDeploymentsRequest, CallSettings)

public virtual PagedEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> ListInterceptDeployments(ListInterceptDeploymentsRequest request, CallSettings callSettings = null)

Lists deployments in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptDeploymentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptDeploymentsResponseInterceptDeployment

A pageable sequence of InterceptDeployment resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
ListInterceptDeploymentsRequest request = new ListInterceptDeploymentsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> response = interceptClient.ListInterceptDeployments(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptDeployment item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptDeploymentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeployment item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeployment item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeployments(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> ListInterceptDeployments(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployments in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

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.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptDeploymentsResponseInterceptDeployment

A pageable sequence of InterceptDeployment resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> response = interceptClient.ListInterceptDeployments(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptDeployment item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptDeploymentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeployment item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeployment> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeployment item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> ListInterceptDeploymentsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployments in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

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.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptDeploymentsResponseInterceptDeployment

A pageable asynchronous sequence of InterceptDeployment resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> response = interceptClient.ListInterceptDeploymentsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptDeployment item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptDeploymentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeployment item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeployment item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentsAsync(ListInterceptDeploymentsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> ListInterceptDeploymentsAsync(ListInterceptDeploymentsRequest request, CallSettings callSettings = null)

Lists deployments in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptDeploymentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptDeploymentsResponseInterceptDeployment

A pageable asynchronous sequence of InterceptDeployment resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
ListInterceptDeploymentsRequest request = new ListInterceptDeploymentsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> response = interceptClient.ListInterceptDeploymentsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptDeployment item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptDeploymentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeployment item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeployment item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptDeploymentsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> ListInterceptDeploymentsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists deployments in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

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.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptDeploymentsResponseInterceptDeployment

A pageable asynchronous sequence of InterceptDeployment resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListInterceptDeploymentsResponse, InterceptDeployment> response = interceptClient.ListInterceptDeploymentsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptDeployment item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptDeploymentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptDeployment item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptDeployment> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptDeployment item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupAssociations(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> ListInterceptEndpointGroupAssociations(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists associations in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

Required. The parent, which owns this collection of associations. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptEndpointGroupAssociationsResponseInterceptEndpointGroupAssociation

A pageable sequence of InterceptEndpointGroupAssociation resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> response = interceptClient.ListInterceptEndpointGroupAssociations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptEndpointGroupAssociation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroupAssociation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroupAssociation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroupAssociation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupAssociations(ListInterceptEndpointGroupAssociationsRequest, CallSettings)

public virtual PagedEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> ListInterceptEndpointGroupAssociations(ListInterceptEndpointGroupAssociationsRequest request, CallSettings callSettings = null)

Lists associations in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptEndpointGroupAssociationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptEndpointGroupAssociationsResponseInterceptEndpointGroupAssociation

A pageable sequence of InterceptEndpointGroupAssociation resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
ListInterceptEndpointGroupAssociationsRequest request = new ListInterceptEndpointGroupAssociationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> response = interceptClient.ListInterceptEndpointGroupAssociations(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptEndpointGroupAssociation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroupAssociation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroupAssociation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroupAssociation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupAssociations(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> ListInterceptEndpointGroupAssociations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists associations in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

Required. The parent, which owns this collection of associations. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptEndpointGroupAssociationsResponseInterceptEndpointGroupAssociation

A pageable sequence of InterceptEndpointGroupAssociation resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> response = interceptClient.ListInterceptEndpointGroupAssociations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptEndpointGroupAssociation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroupAssociation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroupAssociation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroupAssociation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupAssociationsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> ListInterceptEndpointGroupAssociationsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists associations in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

Required. The parent, which owns this collection of associations. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptEndpointGroupAssociationsResponseInterceptEndpointGroupAssociation

A pageable asynchronous sequence of InterceptEndpointGroupAssociation resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> response = interceptClient.ListInterceptEndpointGroupAssociationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptEndpointGroupAssociation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroupAssociation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroupAssociation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroupAssociation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupAssociationsAsync(ListInterceptEndpointGroupAssociationsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> ListInterceptEndpointGroupAssociationsAsync(ListInterceptEndpointGroupAssociationsRequest request, CallSettings callSettings = null)

Lists associations in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptEndpointGroupAssociationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptEndpointGroupAssociationsResponseInterceptEndpointGroupAssociation

A pageable asynchronous sequence of InterceptEndpointGroupAssociation resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
ListInterceptEndpointGroupAssociationsRequest request = new ListInterceptEndpointGroupAssociationsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> response = interceptClient.ListInterceptEndpointGroupAssociationsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptEndpointGroupAssociation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroupAssociation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroupAssociation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroupAssociation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupAssociationsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> ListInterceptEndpointGroupAssociationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists associations in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

Required. The parent, which owns this collection of associations. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptEndpointGroupAssociationsResponseInterceptEndpointGroupAssociation

A pageable asynchronous sequence of InterceptEndpointGroupAssociation resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListInterceptEndpointGroupAssociationsResponse, InterceptEndpointGroupAssociation> response = interceptClient.ListInterceptEndpointGroupAssociationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptEndpointGroupAssociation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroupAssociation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroupAssociation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroupAssociation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroups(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> ListInterceptEndpointGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists endpoint groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

Required. The parent, which owns this collection of endpoint groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptEndpointGroupsResponseInterceptEndpointGroup

A pageable sequence of InterceptEndpointGroup resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> response = interceptClient.ListInterceptEndpointGroups(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptEndpointGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptEndpointGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroups(ListInterceptEndpointGroupsRequest, CallSettings)

public virtual PagedEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> ListInterceptEndpointGroups(ListInterceptEndpointGroupsRequest request, CallSettings callSettings = null)

Lists endpoint groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptEndpointGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptEndpointGroupsResponseInterceptEndpointGroup

A pageable sequence of InterceptEndpointGroup resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
ListInterceptEndpointGroupsRequest request = new ListInterceptEndpointGroupsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> response = interceptClient.ListInterceptEndpointGroups(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptEndpointGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptEndpointGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroups(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> ListInterceptEndpointGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists endpoint groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

Required. The parent, which owns this collection of endpoint groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInterceptEndpointGroupsResponseInterceptEndpointGroup

A pageable sequence of InterceptEndpointGroup resources.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> response = interceptClient.ListInterceptEndpointGroups(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (InterceptEndpointGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListInterceptEndpointGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> ListInterceptEndpointGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists endpoint groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent LocationName

Required. The parent, which owns this collection of endpoint groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptEndpointGroupsResponseInterceptEndpointGroup

A pageable asynchronous sequence of InterceptEndpointGroup resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> response = interceptClient.ListInterceptEndpointGroupsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptEndpointGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptEndpointGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupsAsync(ListInterceptEndpointGroupsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> ListInterceptEndpointGroupsAsync(ListInterceptEndpointGroupsRequest request, CallSettings callSettings = null)

Lists endpoint groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
request ListInterceptEndpointGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptEndpointGroupsResponseInterceptEndpointGroup

A pageable asynchronous sequence of InterceptEndpointGroup resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
ListInterceptEndpointGroupsRequest request = new ListInterceptEndpointGroupsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> response = interceptClient.ListInterceptEndpointGroupsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptEndpointGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptEndpointGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListInterceptEndpointGroupsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> ListInterceptEndpointGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists endpoint groups in a given project and location. See https://google.aip.dev/132.

Parameters
Name Description
parent string

Required. The parent, which owns this collection of endpoint groups. Example: projects/123456789/locations/global. See https://google.aip.dev/132 for more details.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInterceptEndpointGroupsResponseInterceptEndpointGroup

A pageable asynchronous sequence of InterceptEndpointGroup resources.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListInterceptEndpointGroupsResponse, InterceptEndpointGroup> response = interceptClient.ListInterceptEndpointGroupsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (InterceptEndpointGroup item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListInterceptEndpointGroupsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (InterceptEndpointGroup item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<InterceptEndpointGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (InterceptEndpointGroup item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

PollOnceCreateInterceptDeployment(string, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> PollOnceCreateInterceptDeployment(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateInterceptDeployment.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The result of polling the operation.

PollOnceCreateInterceptDeploymentAsync(string, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> PollOnceCreateInterceptDeploymentAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateInterceptDeployment.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateInterceptDeploymentGroup(string, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> PollOnceCreateInterceptDeploymentGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateInterceptDeploymentGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The result of polling the operation.

PollOnceCreateInterceptDeploymentGroupAsync(string, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> PollOnceCreateInterceptDeploymentGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateInterceptDeploymentGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateInterceptEndpointGroup(string, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> PollOnceCreateInterceptEndpointGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateInterceptEndpointGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The result of polling the operation.

PollOnceCreateInterceptEndpointGroupAssociation(string, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> PollOnceCreateInterceptEndpointGroupAssociation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateInterceptEndpointGroupAssociation.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The result of polling the operation.

PollOnceCreateInterceptEndpointGroupAssociationAsync(string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> PollOnceCreateInterceptEndpointGroupAssociationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateInterceptEndpointGroupAssociation.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateInterceptEndpointGroupAsync(string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> PollOnceCreateInterceptEndpointGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateInterceptEndpointGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteInterceptDeployment(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteInterceptDeployment(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteInterceptDeployment.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteInterceptDeploymentAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteInterceptDeploymentAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteInterceptDeployment.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteInterceptDeploymentGroup(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteInterceptDeploymentGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteInterceptDeploymentGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteInterceptDeploymentGroupAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteInterceptDeploymentGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteInterceptDeploymentGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteInterceptEndpointGroup(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteInterceptEndpointGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteInterceptEndpointGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteInterceptEndpointGroupAssociation(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteInterceptEndpointGroupAssociation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteInterceptEndpointGroupAssociation.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteInterceptEndpointGroupAssociationAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteInterceptEndpointGroupAssociationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteInterceptEndpointGroupAssociation.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteInterceptEndpointGroupAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteInterceptEndpointGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteInterceptEndpointGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateInterceptDeployment(string, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> PollOnceUpdateInterceptDeployment(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateInterceptDeployment.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The result of polling the operation.

PollOnceUpdateInterceptDeploymentAsync(string, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> PollOnceUpdateInterceptDeploymentAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateInterceptDeployment.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateInterceptDeploymentGroup(string, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> PollOnceUpdateInterceptDeploymentGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateInterceptDeploymentGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The result of polling the operation.

PollOnceUpdateInterceptDeploymentGroupAsync(string, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> PollOnceUpdateInterceptDeploymentGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateInterceptDeploymentGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateInterceptEndpointGroup(string, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> PollOnceUpdateInterceptEndpointGroup(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateInterceptEndpointGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The result of polling the operation.

PollOnceUpdateInterceptEndpointGroupAssociation(string, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> PollOnceUpdateInterceptEndpointGroupAssociation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateInterceptEndpointGroupAssociation.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The result of polling the operation.

PollOnceUpdateInterceptEndpointGroupAssociationAsync(string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> PollOnceUpdateInterceptEndpointGroupAssociationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateInterceptEndpointGroupAssociation.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateInterceptEndpointGroupAsync(string, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> PollOnceUpdateInterceptEndpointGroupAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateInterceptEndpointGroup.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A task representing the result of polling the operation.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
Type Description
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateInterceptDeployment(InterceptDeployment, FieldMask, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> UpdateInterceptDeployment(InterceptDeployment interceptDeployment, FieldMask updateMask, CallSettings callSettings = null)

Updates a deployment. See https://google.aip.dev/134.

Parameters
Name Description
interceptDeployment InterceptDeployment

Required. The deployment to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. description; not intercept_deployment.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptDeployment interceptDeployment = new InterceptDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = interceptClient.UpdateInterceptDeployment(interceptDeployment, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeployment(UpdateInterceptDeploymentRequest, CallSettings)

public virtual Operation<InterceptDeployment, OperationMetadata> UpdateInterceptDeployment(UpdateInterceptDeploymentRequest request, CallSettings callSettings = null)

Updates a deployment. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
UpdateInterceptDeploymentRequest request = new UpdateInterceptDeploymentRequest
{
    UpdateMask = new FieldMask(),
    InterceptDeployment = new InterceptDeployment(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = interceptClient.UpdateInterceptDeployment(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentAsync(InterceptDeployment, FieldMask, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> UpdateInterceptDeploymentAsync(InterceptDeployment interceptDeployment, FieldMask updateMask, CallSettings callSettings = null)

Updates a deployment. See https://google.aip.dev/134.

Parameters
Name Description
interceptDeployment InterceptDeployment

Required. The deployment to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. description; not intercept_deployment.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeployment interceptDeployment = new InterceptDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentAsync(interceptDeployment, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentAsync(InterceptDeployment, FieldMask, CancellationToken)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> UpdateInterceptDeploymentAsync(InterceptDeployment interceptDeployment, FieldMask updateMask, CancellationToken cancellationToken)

Updates a deployment. See https://google.aip.dev/134.

Parameters
Name Description
interceptDeployment InterceptDeployment

Required. The deployment to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. description; not intercept_deployment.description). See https://google.aip.dev/161 for more details.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeployment interceptDeployment = new InterceptDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentAsync(interceptDeployment, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentAsync(UpdateInterceptDeploymentRequest, CallSettings)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> UpdateInterceptDeploymentAsync(UpdateInterceptDeploymentRequest request, CallSettings callSettings = null)

Updates a deployment. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptDeploymentRequest request = new UpdateInterceptDeploymentRequest
{
    UpdateMask = new FieldMask(),
    InterceptDeployment = new InterceptDeployment(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentAsync(UpdateInterceptDeploymentRequest, CancellationToken)

public virtual Task<Operation<InterceptDeployment, OperationMetadata>> UpdateInterceptDeploymentAsync(UpdateInterceptDeploymentRequest request, CancellationToken cancellationToken)

Updates a deployment. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptDeploymentRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptDeploymentRequest request = new UpdateInterceptDeploymentRequest
{
    UpdateMask = new FieldMask(),
    InterceptDeployment = new InterceptDeployment(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeployment, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeployment result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeployment, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeployment retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentGroup(InterceptDeploymentGroup, FieldMask, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> UpdateInterceptDeploymentGroup(InterceptDeploymentGroup interceptDeploymentGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates a deployment group. See https://google.aip.dev/134.

Parameters
Name Description
interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. description; not intercept_deployment_group.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = interceptClient.UpdateInterceptDeploymentGroup(interceptDeploymentGroup, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentGroup(UpdateInterceptDeploymentGroupRequest, CallSettings)

public virtual Operation<InterceptDeploymentGroup, OperationMetadata> UpdateInterceptDeploymentGroup(UpdateInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Updates a deployment group. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptDeploymentGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
UpdateInterceptDeploymentGroupRequest request = new UpdateInterceptDeploymentGroupRequest
{
    UpdateMask = new FieldMask(),
    InterceptDeploymentGroup = new InterceptDeploymentGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = interceptClient.UpdateInterceptDeploymentGroup(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentGroupAsync(InterceptDeploymentGroup, FieldMask, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> UpdateInterceptDeploymentGroupAsync(InterceptDeploymentGroup interceptDeploymentGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates a deployment group. See https://google.aip.dev/134.

Parameters
Name Description
interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. description; not intercept_deployment_group.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentGroupAsync(interceptDeploymentGroup, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentGroupAsync(InterceptDeploymentGroup, FieldMask, CancellationToken)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> UpdateInterceptDeploymentGroupAsync(InterceptDeploymentGroup interceptDeploymentGroup, FieldMask updateMask, CancellationToken cancellationToken)

Updates a deployment group. See https://google.aip.dev/134.

Parameters
Name Description
interceptDeploymentGroup InterceptDeploymentGroup

Required. The deployment group to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. description; not intercept_deployment_group.description). See https://google.aip.dev/161 for more details.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptDeploymentGroup interceptDeploymentGroup = new InterceptDeploymentGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentGroupAsync(interceptDeploymentGroup, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentGroupAsync(UpdateInterceptDeploymentGroupRequest, CallSettings)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> UpdateInterceptDeploymentGroupAsync(UpdateInterceptDeploymentGroupRequest request, CallSettings callSettings = null)

Updates a deployment group. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptDeploymentGroupRequest request = new UpdateInterceptDeploymentGroupRequest
{
    UpdateMask = new FieldMask(),
    InterceptDeploymentGroup = new InterceptDeploymentGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptDeploymentGroupAsync(UpdateInterceptDeploymentGroupRequest, CancellationToken)

public virtual Task<Operation<InterceptDeploymentGroup, OperationMetadata>> UpdateInterceptDeploymentGroupAsync(UpdateInterceptDeploymentGroupRequest request, CancellationToken cancellationToken)

Updates a deployment group. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptDeploymentGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptDeploymentGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptDeploymentGroupRequest request = new UpdateInterceptDeploymentGroupRequest
{
    UpdateMask = new FieldMask(),
    InterceptDeploymentGroup = new InterceptDeploymentGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptDeploymentGroup, OperationMetadata> response = await interceptClient.UpdateInterceptDeploymentGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptDeploymentGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptDeploymentGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptDeploymentGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroup(InterceptEndpointGroup, FieldMask, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> UpdateInterceptEndpointGroup(InterceptEndpointGroup interceptEndpointGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates an endpoint group. See https://google.aip.dev/134.

Parameters
Name Description
interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. description; not intercept_endpoint_group.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = interceptClient.UpdateInterceptEndpointGroup(interceptEndpointGroup, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroup(UpdateInterceptEndpointGroupRequest, CallSettings)

public virtual Operation<InterceptEndpointGroup, OperationMetadata> UpdateInterceptEndpointGroup(UpdateInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Updates an endpoint group. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
UpdateInterceptEndpointGroupRequest request = new UpdateInterceptEndpointGroupRequest
{
    UpdateMask = new FieldMask(),
    InterceptEndpointGroup = new InterceptEndpointGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = interceptClient.UpdateInterceptEndpointGroup(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation, FieldMask, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> UpdateInterceptEndpointGroupAssociation(InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, FieldMask updateMask, CallSettings callSettings = null)

Updates an association. See https://google.aip.dev/134.

Parameters
Name Description
interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the association (e.g. description; not intercept_endpoint_group_association.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = interceptClient.UpdateInterceptEndpointGroupAssociation(interceptEndpointGroupAssociation, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAssociation(UpdateInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Operation<InterceptEndpointGroupAssociation, OperationMetadata> UpdateInterceptEndpointGroupAssociation(UpdateInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Updates an association. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInterceptEndpointGroupAssociationOperationMetadata

The RPC response.

Example
// Create client
InterceptClient interceptClient = InterceptClient.Create();
// Initialize request argument(s)
UpdateInterceptEndpointGroupAssociationRequest request = new UpdateInterceptEndpointGroupAssociationRequest
{
    UpdateMask = new FieldMask(),
    InterceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = interceptClient.UpdateInterceptEndpointGroupAssociation(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = interceptClient.PollOnceUpdateInterceptEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociation, FieldMask, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> UpdateInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, FieldMask updateMask, CallSettings callSettings = null)

Updates an association. See https://google.aip.dev/134.

Parameters
Name Description
interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the association (e.g. description; not intercept_endpoint_group_association.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAssociationAsync(interceptEndpointGroupAssociation, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociation, FieldMask, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> UpdateInterceptEndpointGroupAssociationAsync(InterceptEndpointGroupAssociation interceptEndpointGroupAssociation, FieldMask updateMask, CancellationToken cancellationToken)

Updates an association. See https://google.aip.dev/134.

Parameters
Name Description
interceptEndpointGroupAssociation InterceptEndpointGroupAssociation

Required. The association to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the association (e.g. description; not intercept_endpoint_group_association.description). See https://google.aip.dev/161 for more details.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroupAssociation interceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAssociationAsync(interceptEndpointGroupAssociation, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAssociationAsync(UpdateInterceptEndpointGroupAssociationRequest, CallSettings)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> UpdateInterceptEndpointGroupAssociationAsync(UpdateInterceptEndpointGroupAssociationRequest request, CallSettings callSettings = null)

Updates an association. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptEndpointGroupAssociationRequest request = new UpdateInterceptEndpointGroupAssociationRequest
{
    UpdateMask = new FieldMask(),
    InterceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAssociationAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAssociationAsync(UpdateInterceptEndpointGroupAssociationRequest, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroupAssociation, OperationMetadata>> UpdateInterceptEndpointGroupAssociationAsync(UpdateInterceptEndpointGroupAssociationRequest request, CancellationToken cancellationToken)

Updates an association. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptEndpointGroupAssociationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupAssociationOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptEndpointGroupAssociationRequest request = new UpdateInterceptEndpointGroupAssociationRequest
{
    UpdateMask = new FieldMask(),
    InterceptEndpointGroupAssociation = new InterceptEndpointGroupAssociation(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroupAssociation, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAssociationAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroupAssociation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroupAssociation, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAsync(InterceptEndpointGroup, FieldMask, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> UpdateInterceptEndpointGroupAsync(InterceptEndpointGroup interceptEndpointGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates an endpoint group. See https://google.aip.dev/134.

Parameters
Name Description
interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. description; not intercept_endpoint_group.description). See https://google.aip.dev/161 for more details.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAsync(interceptEndpointGroup, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAsync(InterceptEndpointGroup, FieldMask, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> UpdateInterceptEndpointGroupAsync(InterceptEndpointGroup interceptEndpointGroup, FieldMask updateMask, CancellationToken cancellationToken)

Updates an endpoint group. See https://google.aip.dev/134.

Parameters
Name Description
interceptEndpointGroup InterceptEndpointGroup

Required. The endpoint group to update.

updateMask FieldMask

Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. description; not intercept_endpoint_group.description). See https://google.aip.dev/161 for more details.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
InterceptEndpointGroup interceptEndpointGroup = new InterceptEndpointGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAsync(interceptEndpointGroup, updateMask);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAsync(UpdateInterceptEndpointGroupRequest, CallSettings)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> UpdateInterceptEndpointGroupAsync(UpdateInterceptEndpointGroupRequest request, CallSettings callSettings = null)

Updates an endpoint group. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptEndpointGroupRequest request = new UpdateInterceptEndpointGroupRequest
{
    UpdateMask = new FieldMask(),
    InterceptEndpointGroup = new InterceptEndpointGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}

UpdateInterceptEndpointGroupAsync(UpdateInterceptEndpointGroupRequest, CancellationToken)

public virtual Task<Operation<InterceptEndpointGroup, OperationMetadata>> UpdateInterceptEndpointGroupAsync(UpdateInterceptEndpointGroupRequest request, CancellationToken cancellationToken)

Updates an endpoint group. See https://google.aip.dev/134.

Parameters
Name Description
request UpdateInterceptEndpointGroupRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationInterceptEndpointGroupOperationMetadata

A Task containing the RPC response.

Example
// Create client
InterceptClient interceptClient = await InterceptClient.CreateAsync();
// Initialize request argument(s)
UpdateInterceptEndpointGroupRequest request = new UpdateInterceptEndpointGroupRequest
{
    UpdateMask = new FieldMask(),
    InterceptEndpointGroup = new InterceptEndpointGroup(),
    RequestId = "",
};
// Make the request
Operation<InterceptEndpointGroup, OperationMetadata> response = await interceptClient.UpdateInterceptEndpointGroupAsync(request);

// Poll until the returned long-running operation is complete
Operation<InterceptEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
InterceptEndpointGroup result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<InterceptEndpointGroup, OperationMetadata> retrievedResponse = await interceptClient.PollOnceUpdateInterceptEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    InterceptEndpointGroup retrievedResult = retrievedResponse.Result;
}