Class OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub (1.69.0)

public static final class OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub extends AbstractBlockingStub<OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub>

A stub to allow clients to do synchronous rpc calls to service OrganizationVpcFlowLogsService.

The VPC Flow Logs organization service in the Google Cloud Network Management API provides organization level 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 > OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub
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 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
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 organization.

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. 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
Parameter
Name Description
request UpdateVpcFlowLogsConfigRequest
Returns
Type Description
Operation