public class VpcFlowLogsService.VpcFlowLogsServiceClient : ClientBase<VpcFlowLogsService.VpcFlowLogsServiceClient>
Reference documentation and code samples for the Network Management v1 API class VpcFlowLogsService.VpcFlowLogsServiceClient.
Client for VpcFlowLogsService
Inheritance
object > ClientBase > ClientBaseVpcFlowLogsServiceVpcFlowLogsServiceClient > VpcFlowLogsService.VpcFlowLogsServiceClientNamespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Constructors
VpcFlowLogsServiceClient()
protected VpcFlowLogsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
VpcFlowLogsServiceClient(CallInvoker)
public VpcFlowLogsServiceClient(CallInvoker callInvoker)
Creates a new client for VpcFlowLogsService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
VpcFlowLogsServiceClient(ChannelBase)
public VpcFlowLogsServiceClient(ChannelBase channel)
Creates a new client for VpcFlowLogsService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
VpcFlowLogsServiceClient(ClientBaseConfiguration)
protected VpcFlowLogsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()
Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest, CallOptions)
public virtual Operation CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateVpcFlowLogsConfigAsync(CreateVpcFlowLogsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateVpcFlowLogsConfigAsync(CreateVpcFlowLogsConfigRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateVpcFlowLogsConfigAsync(CreateVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateVpcFlowLogsConfigAsync(CreateVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest, CallOptions)
public virtual Operation DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request, CallOptions options)
Deletes a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
DeleteVpcFlowLogsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
DeleteVpcFlowLogsConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteVpcFlowLogsConfigAsync(DeleteVpcFlowLogsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteVpcFlowLogsConfigAsync(DeleteVpcFlowLogsConfigRequest request, CallOptions options)
Deletes a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
DeleteVpcFlowLogsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteVpcFlowLogsConfigAsync(DeleteVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteVpcFlowLogsConfigAsync(DeleteVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
DeleteVpcFlowLogsConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest, CallOptions)
public virtual VpcFlowLogsConfig GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request, CallOptions options)
Gets the details of a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
GetVpcFlowLogsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
VpcFlowLogsConfig |
The response received from the server. |
GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual VpcFlowLogsConfig GetVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the details of a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
GetVpcFlowLogsConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
VpcFlowLogsConfig |
The response received from the server. |
GetVpcFlowLogsConfigAsync(GetVpcFlowLogsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<VpcFlowLogsConfig> GetVpcFlowLogsConfigAsync(GetVpcFlowLogsConfigRequest request, CallOptions options)
Gets the details of a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
GetVpcFlowLogsConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallVpcFlowLogsConfig |
The call object. |
GetVpcFlowLogsConfigAsync(GetVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<VpcFlowLogsConfig> GetVpcFlowLogsConfigAsync(GetVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets the details of a specific VpcFlowLogsConfig
.
Parameters | |
---|---|
Name | Description |
request |
GetVpcFlowLogsConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallVpcFlowLogsConfig |
The call object. |
ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest, CallOptions)
public virtual ListVpcFlowLogsConfigsResponse ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request, CallOptions options)
Lists all VpcFlowLogsConfigs
in a given project.
Parameters | |
---|---|
Name | Description |
request |
ListVpcFlowLogsConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListVpcFlowLogsConfigsResponse |
The response received from the server. |
ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListVpcFlowLogsConfigsResponse ListVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all VpcFlowLogsConfigs
in a given project.
Parameters | |
---|---|
Name | Description |
request |
ListVpcFlowLogsConfigsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListVpcFlowLogsConfigsResponse |
The response received from the server. |
ListVpcFlowLogsConfigsAsync(ListVpcFlowLogsConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListVpcFlowLogsConfigsResponse> ListVpcFlowLogsConfigsAsync(ListVpcFlowLogsConfigsRequest request, CallOptions options)
Lists all VpcFlowLogsConfigs
in a given project.
Parameters | |
---|---|
Name | Description |
request |
ListVpcFlowLogsConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListVpcFlowLogsConfigsResponse |
The call object. |
ListVpcFlowLogsConfigsAsync(ListVpcFlowLogsConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListVpcFlowLogsConfigsResponse> ListVpcFlowLogsConfigsAsync(ListVpcFlowLogsConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all VpcFlowLogsConfigs
in a given project.
Parameters | |
---|---|
Name | Description |
request |
ListVpcFlowLogsConfigsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListVpcFlowLogsConfigsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override VpcFlowLogsService.VpcFlowLogsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
VpcFlowLogsServiceVpcFlowLogsServiceClient |
UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest, CallOptions)
public virtual Operation UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateVpcFlowLogsConfigAsync(UpdateVpcFlowLogsConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateVpcFlowLogsConfigAsync(UpdateVpcFlowLogsConfigRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateVpcFlowLogsConfigAsync(UpdateVpcFlowLogsConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateVpcFlowLogsConfigAsync(UpdateVpcFlowLogsConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |