Class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceStub (1.56.0)

public static final class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceStub extends AbstractAsyncStub<VpcFlowLogsServiceGrpc.VpcFlowLogsServiceStub>

A stub to allow clients to do asynchronous rpc calls to service VpcFlowLogsService.

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VpcFlowLogsServiceGrpc.VpcFlowLogsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected VpcFlowLogsServiceGrpc.VpcFlowLogsServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
VpcFlowLogsServiceGrpc.VpcFlowLogsServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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>