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.
Namespace
Google.Cloud.NetworkManagement.V1Assembly
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 |
DeleteVpcFlowLogsConfigOperationsClient
public override OperationsClient DeleteVpcFlowLogsConfigOperationsClient { get; }
The long-running operations client for DeleteVpcFlowLogsConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override VpcFlowLogsService.VpcFlowLogsServiceClient GrpcClient { get; }
The underlying gRPC VpcFlowLogsService client
Property Value | |
---|---|
Type | Description |
VpcFlowLogsServiceVpcFlowLogsServiceClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
UpdateVpcFlowLogsConfigOperationsClient
public override OperationsClient UpdateVpcFlowLogsConfigOperationsClient { get; }
The long-running operations client for UpdateVpcFlowLogsConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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:
- Creating a configuration with state=DISABLED will fail
- 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
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. |
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:
- Creating a configuration with state=DISABLED will fail
- 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
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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:
- Updating a configuration with state=DISABLED will fail.
- 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
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. |
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:
- Updating a configuration with state=DISABLED will fail.
- 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
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. |