public sealed class FirewallsClientImpl : FirewallsClientReference documentation and code samples for the Compute Engine v1 API class FirewallsClientImpl.
Firewalls client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The Firewalls API.
Constructors
FirewallsClientImpl(FirewallsClient, FirewallsSettings, ILogger)
public FirewallsClientImpl(Firewalls.FirewallsClient grpcClient, FirewallsSettings settings, ILogger logger)Constructs a client wrapper for the Firewalls service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
FirewallsFirewallsClientThe underlying gRPC client. |
settings |
FirewallsSettingsThe base FirewallsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override Firewalls.FirewallsClient GrpcClient { get; }The underlying gRPC Firewalls client
| Property Value | |
|---|---|
| Type | Description |
FirewallsFirewallsClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }The long-running operations client for Patch.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateOperationsClient
public override OperationsClient UpdateOperationsClient { get; }The long-running operations client for Update.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Delete(DeleteFirewallRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteFirewallRequest request, CallSettings callSettings = null)Deletes the specified firewall.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteFirewallRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteFirewallRequest request, CallSettings callSettings = null)Deletes the specified firewall.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetFirewallRequest, CallSettings)
public override Firewall Get(GetFirewallRequest request, CallSettings callSettings = null)Returns the specified firewall.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Firewall |
The RPC response. |
GetAsync(GetFirewallRequest, CallSettings)
public override Task<Firewall> GetAsync(GetFirewallRequest request, CallSettings callSettings = null)Returns the specified firewall.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFirewall |
A Task containing the RPC response. |
Insert(InsertFirewallRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertFirewallRequest request, CallSettings callSettings = null)Creates a firewall rule in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
InsertAsync(InsertFirewallRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertFirewallRequest request, CallSettings callSettings = null)Creates a firewall rule in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
List(ListFirewallsRequest, CallSettings)
public override PagedEnumerable<FirewallList, Firewall> List(ListFirewallsRequest request, CallSettings callSettings = null)Retrieves the list of firewall rules available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFirewallsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableFirewallListFirewall |
A pageable sequence of Firewall resources. |
ListAsync(ListFirewallsRequest, CallSettings)
public override PagedAsyncEnumerable<FirewallList, Firewall> ListAsync(ListFirewallsRequest request, CallSettings callSettings = null)Retrieves the list of firewall rules available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFirewallsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableFirewallListFirewall |
A pageable asynchronous sequence of Firewall resources. |
Patch(PatchFirewallRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchFirewallRequest request, CallSettings callSettings = null)Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
PatchAsync(PatchFirewallRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchFirewallRequest request, CallSettings callSettings = null)Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Update(UpdateFirewallRequest, CallSettings)
public override Operation<Operation, Operation> Update(UpdateFirewallRequest request, CallSettings callSettings = null)Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
UpdateAsync(UpdateFirewallRequest, CallSettings)
public override Task<Operation<Operation, Operation>> UpdateAsync(UpdateFirewallRequest request, CallSettings callSettings = null)Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFirewallRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |