Interface VpcFlowLogsServiceGrpc.AsyncService (1.52.0)

public static interface VpcFlowLogsServiceGrpc.AsyncService

The VPC Flow Logs service in the Google Cloud Network Management API provides configurations that generate Flow Logs. The service and the configuration resources created using this service are global.

Methods

createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

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 considrered 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
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

Deletes a specific VpcFlowLogsConfig.

Parameters
Name Description
request DeleteVpcFlowLogsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request, StreamObserver<VpcFlowLogsConfig> responseObserver)

public default void getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request, StreamObserver<VpcFlowLogsConfig> responseObserver)

Gets the details of a specific VpcFlowLogsConfig.

Parameters
Name Description
request GetVpcFlowLogsConfigRequest
responseObserver io.grpc.stub.StreamObserver<VpcFlowLogsConfig>

listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request, StreamObserver<ListVpcFlowLogsConfigsResponse> responseObserver)

public default void listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request, StreamObserver<ListVpcFlowLogsConfigsResponse> responseObserver)

Lists all VpcFlowLogsConfigs in a given project.

Parameters
Name Description
request ListVpcFlowLogsConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListVpcFlowLogsConfigsResponse>

updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

public default void updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

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. The following fields are not considrered 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
responseObserver io.grpc.stub.StreamObserver<Operation>