Network Management v1 API - Class VpcFlowLogsServiceClientImpl (2.13.0)

public sealed class VpcFlowLogsServiceClientImpl : VpcFlowLogsServiceClient

Reference documentation and code samples for the Network Management v1 API class VpcFlowLogsServiceClientImpl.

VpcFlowLogsService client wrapper implementation, for convenient use.

Inheritance

object > VpcFlowLogsServiceClient > VpcFlowLogsServiceClientImpl

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Remarks

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.

Constructors

VpcFlowLogsServiceClientImpl(VpcFlowLogsServiceClient, VpcFlowLogsServiceSettings, ILogger)

public VpcFlowLogsServiceClientImpl(VpcFlowLogsService.VpcFlowLogsServiceClient grpcClient, VpcFlowLogsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the VpcFlowLogsService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient VpcFlowLogsServiceVpcFlowLogsServiceClient

The underlying gRPC client.

settings VpcFlowLogsServiceSettings

The base VpcFlowLogsServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateVpcFlowLogsConfigOperationsClient

public override OperationsClient CreateVpcFlowLogsConfigOperationsClient { get; }

The long-running operations client for CreateVpcFlowLogsConfig.

Property Value
Type Description
OperationsClient
Overrides

DeleteVpcFlowLogsConfigOperationsClient

public override OperationsClient DeleteVpcFlowLogsConfigOperationsClient { get; }

The long-running operations client for DeleteVpcFlowLogsConfig.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override VpcFlowLogsService.VpcFlowLogsServiceClient GrpcClient { get; }

The underlying gRPC VpcFlowLogsService client

Property Value
Type Description
VpcFlowLogsServiceVpcFlowLogsServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateVpcFlowLogsConfigOperationsClient

public override OperationsClient UpdateVpcFlowLogsConfigOperationsClient { get; }

The long-running operations client for UpdateVpcFlowLogsConfig.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest, CallSettings)

public override Operation<VpcFlowLogsConfig, OperationMetadata> CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

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:
  3. name
  4. create_time
  5. update_time
  6. labels
  7. description
Parameters
Name Description
request CreateVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVpcFlowLogsConfigOperationMetadata

The RPC response.

Overrides

CreateVpcFlowLogsConfigAsync(CreateVpcFlowLogsConfigRequest, CallSettings)

public override Task<Operation<VpcFlowLogsConfig, OperationMetadata>> CreateVpcFlowLogsConfigAsync(CreateVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

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:
  3. name
  4. create_time
  5. update_time
  6. labels
  7. description
Parameters
Name Description
request CreateVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVpcFlowLogsConfigOperationMetadata

A Task containing the RPC response.

Overrides

DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

Deletes a specific VpcFlowLogsConfig.

Parameters
Name Description
request DeleteVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteVpcFlowLogsConfigAsync(DeleteVpcFlowLogsConfigRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteVpcFlowLogsConfigAsync(DeleteVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

Deletes a specific VpcFlowLogsConfig.

Parameters
Name Description
request DeleteVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest, CallSettings)

public override VpcFlowLogsConfig GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

Gets the details of a specific VpcFlowLogsConfig.

Parameters
Name Description
request GetVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VpcFlowLogsConfig

The RPC response.

Overrides

GetVpcFlowLogsConfigAsync(GetVpcFlowLogsConfigRequest, CallSettings)

public override Task<VpcFlowLogsConfig> GetVpcFlowLogsConfigAsync(GetVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

Gets the details of a specific VpcFlowLogsConfig.

Parameters
Name Description
request GetVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVpcFlowLogsConfig

A Task containing the RPC response.

Overrides

ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest, CallSettings)

public override PagedEnumerable<ListVpcFlowLogsConfigsResponse, VpcFlowLogsConfig> ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request, CallSettings callSettings = null)

Lists all VpcFlowLogsConfigs in a given project.

Parameters
Name Description
request ListVpcFlowLogsConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVpcFlowLogsConfigsResponseVpcFlowLogsConfig

A pageable sequence of VpcFlowLogsConfig resources.

Overrides

ListVpcFlowLogsConfigsAsync(ListVpcFlowLogsConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListVpcFlowLogsConfigsResponse, VpcFlowLogsConfig> ListVpcFlowLogsConfigsAsync(ListVpcFlowLogsConfigsRequest request, CallSettings callSettings = null)

Lists all VpcFlowLogsConfigs in a given project.

Parameters
Name Description
request ListVpcFlowLogsConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVpcFlowLogsConfigsResponseVpcFlowLogsConfig

A pageable asynchronous sequence of VpcFlowLogsConfig resources.

Overrides

UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest, CallSettings)

public override Operation<VpcFlowLogsConfig, OperationMetadata> UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

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:
  3. name
  4. create_time
  5. update_time
  6. labels
  7. description
Parameters
Name Description
request UpdateVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationVpcFlowLogsConfigOperationMetadata

The RPC response.

Overrides

UpdateVpcFlowLogsConfigAsync(UpdateVpcFlowLogsConfigRequest, CallSettings)

public override Task<Operation<VpcFlowLogsConfig, OperationMetadata>> UpdateVpcFlowLogsConfigAsync(UpdateVpcFlowLogsConfigRequest request, CallSettings callSettings = null)

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:
  3. name
  4. create_time
  5. update_time
  6. labels
  7. description
Parameters
Name Description
request UpdateVpcFlowLogsConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationVpcFlowLogsConfigOperationMetadata

A Task containing the RPC response.

Overrides