public sealed class OrganizationVpcFlowLogsServiceClientImpl : OrganizationVpcFlowLogsServiceClientReference documentation and code samples for the Network Management v1 API class OrganizationVpcFlowLogsServiceClientImpl.
OrganizationVpcFlowLogsService client wrapper implementation, for convenient use.
Inheritance
object > OrganizationVpcFlowLogsServiceClient > OrganizationVpcFlowLogsServiceClientImplNamespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Remarks
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.
Constructors
OrganizationVpcFlowLogsServiceClientImpl(OrganizationVpcFlowLogsServiceClient, OrganizationVpcFlowLogsServiceSettings, ILogger)
public OrganizationVpcFlowLogsServiceClientImpl(OrganizationVpcFlowLogsService.OrganizationVpcFlowLogsServiceClient grpcClient, OrganizationVpcFlowLogsServiceSettings settings, ILogger logger)Constructs a client wrapper for the OrganizationVpcFlowLogsService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
OrganizationVpcFlowLogsServiceOrganizationVpcFlowLogsServiceClientThe underlying gRPC client. |
settings |
OrganizationVpcFlowLogsServiceSettingsThe base OrganizationVpcFlowLogsServiceSettings used within this client. |
logger |
ILoggerOptional 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 OrganizationVpcFlowLogsService.OrganizationVpcFlowLogsServiceClient GrpcClient { get; }The underlying gRPC OrganizationVpcFlowLogsService client
| Property Value | |
|---|---|
| Type | Description |
OrganizationVpcFlowLogsServiceOrganizationVpcFlowLogsServiceClient |
|
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=DISABLEDwill 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 |
CreateVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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=DISABLEDwill 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 |
CreateVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
DeleteVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
DeleteVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 organization.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVpcFlowLogsConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 organization.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVpcFlowLogsConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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=DISABLEDwill 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 |
UpdateVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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=DISABLEDwill 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 |
UpdateVpcFlowLogsConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationVpcFlowLogsConfigOperationMetadata |
A Task containing the RPC response. |