public sealed class NetworksClientImpl : NetworksClientNetworks client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The Networks API.
Constructors
NetworksClientImpl(Networks.NetworksClient, NetworksSettings, ILogger)
public NetworksClientImpl(Networks.NetworksClient grpcClient, NetworksSettings settings, ILogger logger)Constructs a client wrapper for the Networks service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
| grpcClient | Networks.NetworksClientThe underlying gRPC client. | 
| settings | NetworksSettingsThe base NetworksSettings used within this client. | 
| logger | ILoggerOptional ILogger to use within this client. | 
Properties
AddPeeringOperationsClient
public override OperationsClient AddPeeringOperationsClient { get; }The long-running operations client for AddPeering.
| Property Value | |
|---|---|
| Type | Description | 
| OperationsClient | |
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description | 
| OperationsClient | |
GrpcClient
public override Networks.NetworksClient GrpcClient { get; }The underlying gRPC Networks client
| Property Value | |
|---|---|
| Type | Description | 
| Networks.NetworksClient | |
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 | |
RemovePeeringOperationsClient
public override OperationsClient RemovePeeringOperationsClient { get; }The long-running operations client for RemovePeering.
| Property Value | |
|---|---|
| Type | Description | 
| OperationsClient | |
SwitchToCustomModeOperationsClient
public override OperationsClient SwitchToCustomModeOperationsClient { get; }The long-running operations client for SwitchToCustomMode.
| Property Value | |
|---|---|
| Type | Description | 
| OperationsClient | |
UpdatePeeringOperationsClient
public override OperationsClient UpdatePeeringOperationsClient { get; }The long-running operations client for UpdatePeering.
| Property Value | |
|---|---|
| Type | Description | 
| OperationsClient | |
Methods
AddPeering(AddPeeringNetworkRequest, CallSettings)
public override Operation<Operation, Operation> AddPeering(AddPeeringNetworkRequest request, CallSettings callSettings = null)Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | AddPeeringNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
AddPeeringAsync(AddPeeringNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> AddPeeringAsync(AddPeeringNetworkRequest request, CallSettings callSettings = null)Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | AddPeeringNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. | 
Delete(DeleteNetworkRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteNetworkRequest request, CallSettings callSettings = null)Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
DeleteAsync(DeleteNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteNetworkRequest request, CallSettings callSettings = null)Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. | 
Get(GetNetworkRequest, CallSettings)
public override Network Get(GetNetworkRequest request, CallSettings callSettings = null)Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Network | The RPC response. | 
GetAsync(GetNetworkRequest, CallSettings)
public override Task<Network> GetAsync(GetNetworkRequest request, CallSettings callSettings = null)Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Network> | A Task containing the RPC response. | 
GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest, CallSettings)
public override NetworksGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest request, CallSettings callSettings = null)Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetEffectiveFirewallsNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| NetworksGetEffectiveFirewallsResponse | The RPC response. | 
GetEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest, CallSettings)
public override Task<NetworksGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest request, CallSettings callSettings = null)Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetEffectiveFirewallsNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<NetworksGetEffectiveFirewallsResponse> | A Task containing the RPC response. | 
Insert(InsertNetworkRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertNetworkRequest request, CallSettings callSettings = null)Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description | 
| request | InsertNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
InsertAsync(InsertNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertNetworkRequest request, CallSettings callSettings = null)Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description | 
| request | InsertNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. | 
List(ListNetworksRequest, CallSettings)
public override PagedEnumerable<NetworkList, Network> List(ListNetworksRequest request, CallSettings callSettings = null)Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListNetworksRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerable<NetworkList, Network> | A pageable sequence of Network resources. | 
ListAsync(ListNetworksRequest, CallSettings)
public override PagedAsyncEnumerable<NetworkList, Network> ListAsync(ListNetworksRequest request, CallSettings callSettings = null)Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListNetworksRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerable<NetworkList, Network> | A pageable asynchronous sequence of Network resources. | 
ListPeeringRoutes(ListPeeringRoutesNetworksRequest, CallSettings)
public override PagedEnumerable<ExchangedPeeringRoutesList, ExchangedPeeringRoute> ListPeeringRoutes(ListPeeringRoutesNetworksRequest request, CallSettings callSettings = null)Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListPeeringRoutesNetworksRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerable<ExchangedPeeringRoutesList, ExchangedPeeringRoute> | A pageable sequence of ExchangedPeeringRoute resources. | 
ListPeeringRoutesAsync(ListPeeringRoutesNetworksRequest, CallSettings)
public override PagedAsyncEnumerable<ExchangedPeeringRoutesList, ExchangedPeeringRoute> ListPeeringRoutesAsync(ListPeeringRoutesNetworksRequest request, CallSettings callSettings = null)Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListPeeringRoutesNetworksRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerable<ExchangedPeeringRoutesList, ExchangedPeeringRoute> | A pageable asynchronous sequence of ExchangedPeeringRoute resources. | 
Patch(PatchNetworkRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchNetworkRequest request, CallSettings callSettings = null)Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
| Parameters | |
|---|---|
| Name | Description | 
| request | PatchNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
PatchAsync(PatchNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchAsync(PatchNetworkRequest request, CallSettings callSettings = null)Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
| Parameters | |
|---|---|
| Name | Description | 
| request | PatchNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. | 
RemovePeering(RemovePeeringNetworkRequest, CallSettings)
public override Operation<Operation, Operation> RemovePeering(RemovePeeringNetworkRequest request, CallSettings callSettings = null)Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | RemovePeeringNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
RemovePeeringAsync(RemovePeeringNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> RemovePeeringAsync(RemovePeeringNetworkRequest request, CallSettings callSettings = null)Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | RemovePeeringNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. | 
SwitchToCustomMode(SwitchToCustomModeNetworkRequest, CallSettings)
public override Operation<Operation, Operation> SwitchToCustomMode(SwitchToCustomModeNetworkRequest request, CallSettings callSettings = null)Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description | 
| request | SwitchToCustomModeNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
SwitchToCustomModeAsync(SwitchToCustomModeNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> SwitchToCustomModeAsync(SwitchToCustomModeNetworkRequest request, CallSettings callSettings = null)Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description | 
| request | SwitchToCustomModeNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. | 
UpdatePeering(UpdatePeeringNetworkRequest, CallSettings)
public override Operation<Operation, Operation> UpdatePeering(UpdatePeeringNetworkRequest request, CallSettings callSettings = null)Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdatePeeringNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Operation, Operation> | The RPC response. | 
UpdatePeeringAsync(UpdatePeeringNetworkRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> UpdatePeeringAsync(UpdatePeeringNetworkRequest request, CallSettings callSettings = null)Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdatePeeringNetworkRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Operation, Operation>> | A Task containing the RPC response. |