Network Management v1 API - Class VpcFlowLogsService.VpcFlowLogsServiceBase (2.13.0)

[BindServiceMethod(typeof(VpcFlowLogsService), "BindService")]
public abstract class VpcFlowLogsService.VpcFlowLogsServiceBase

Reference documentation and code samples for the Network Management v1 API class VpcFlowLogsService.VpcFlowLogsServiceBase.

Base class for server-side implementations of VpcFlowLogsService

Inheritance

object > VpcFlowLogsService.VpcFlowLogsServiceBase

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Methods

CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest, ServerCallContext)

public virtual Task<Operation> CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, ServerCallContext context)

Creates a new VpcFlowLogsConfig. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes:

  1. Creating a configuration with state=DISABLED will fail
  2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well:
    • name
    • create_time
    • update_time
    • labels
    • description
Parameters
Name Description
request CreateVpcFlowLogsConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest, ServerCallContext)

public virtual Task<Operation> DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request, ServerCallContext context)

Deletes a specific VpcFlowLogsConfig.

Parameters
Name Description
request DeleteVpcFlowLogsConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest, ServerCallContext)

public virtual Task<VpcFlowLogsConfig> GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request, ServerCallContext context)

Gets the details of a specific VpcFlowLogsConfig.

Parameters
Name Description
request GetVpcFlowLogsConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskVpcFlowLogsConfig

The response to send back to the client (wrapped by a task).

ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest, ServerCallContext)

public virtual Task<ListVpcFlowLogsConfigsResponse> ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request, ServerCallContext context)

Lists all VpcFlowLogsConfigs in a given project.

Parameters
Name Description
request ListVpcFlowLogsConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListVpcFlowLogsConfigsResponse

The response to send back to the client (wrapped by a task).

UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest, ServerCallContext)

public virtual Task<Operation> UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request, ServerCallContext context)

Updates an existing VpcFlowLogsConfig. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes:

  1. Updating a configuration with state=DISABLED will fail.
  2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - updating another configuration with the same fields but different values for the following fields will fail as well:
    • name
    • create_time
    • update_time
    • labels
    • description
Parameters
Name Description
request UpdateVpcFlowLogsConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).