Class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingStub (1.56.0)

public static final class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingStub extends AbstractBlockingStub<VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request)

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

deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request)

public Operation deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request)

Deletes a specific VpcFlowLogsConfig.

Parameter
Name Description
request DeleteVpcFlowLogsConfigRequest
Returns
Type Description
Operation

getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request)

public VpcFlowLogsConfig getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request)

Gets the details of a specific VpcFlowLogsConfig.

Parameter
Name Description
request GetVpcFlowLogsConfigRequest
Returns
Type Description
VpcFlowLogsConfig

listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request)

public ListVpcFlowLogsConfigsResponse listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request)

Lists all VpcFlowLogsConfigs in a given project.

Parameter
Name Description
request ListVpcFlowLogsConfigsRequest
Returns
Type Description
ListVpcFlowLogsConfigsResponse

updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request)

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