Class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceFutureStub (1.52.0)

public static final class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceFutureStub extends AbstractFutureStub<VpcFlowLogsServiceGrpc.VpcFlowLogsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > VpcFlowLogsServiceGrpc.VpcFlowLogsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request)

public ListenableFuture<Operation> createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request)

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
Parameter
Name Description
request CreateVpcFlowLogsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request)

public ListenableFuture<Operation> deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request)

Deletes a specific VpcFlowLogsConfig.

Parameter
Name Description
request DeleteVpcFlowLogsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request)

public ListenableFuture<VpcFlowLogsConfig> getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request)

Gets the details of a specific VpcFlowLogsConfig.

Parameter
Name Description
request GetVpcFlowLogsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<VpcFlowLogsConfig>

listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request)

public ListenableFuture<ListVpcFlowLogsConfigsResponse> listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request)

Lists all VpcFlowLogsConfigs in a given project.

Parameter
Name Description
request ListVpcFlowLogsConfigsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListVpcFlowLogsConfigsResponse>

updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request)

public ListenableFuture<Operation> updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request)

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
Parameter
Name Description
request UpdateVpcFlowLogsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>