[BindServiceMethod(typeof(Networks), "BindService")]
public abstract class NetworksBaseBase class for server-side implementations of Networks
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AddPeering(AddPeeringNetworkRequest, ServerCallContext)
public virtual Task<Operation> AddPeering(AddPeeringNetworkRequest request, ServerCallContext context)Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | AddPeeringNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
Delete(DeleteNetworkRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteNetworkRequest request, ServerCallContext context)Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
Get(GetNetworkRequest, ServerCallContext)
public virtual Task<Network> Get(GetNetworkRequest request, ServerCallContext context)Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Network> | The response to send back to the client (wrapped by a task). | 
GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest, ServerCallContext)
public virtual Task<NetworksGetEffectiveFirewallsResponse> GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest request, ServerCallContext context)Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetEffectiveFirewallsNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<NetworksGetEffectiveFirewallsResponse> | The response to send back to the client (wrapped by a task). | 
Insert(InsertNetworkRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertNetworkRequest request, ServerCallContext context)Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description | 
| request | InsertNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
List(ListNetworksRequest, ServerCallContext)
public virtual Task<NetworkList> List(ListNetworksRequest request, ServerCallContext context)Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListNetworksRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<NetworkList> | The response to send back to the client (wrapped by a task). | 
ListPeeringRoutes(ListPeeringRoutesNetworksRequest, ServerCallContext)
public virtual Task<ExchangedPeeringRoutesList> ListPeeringRoutes(ListPeeringRoutesNetworksRequest request, ServerCallContext context)Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListPeeringRoutesNetworksRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<ExchangedPeeringRoutesList> | The response to send back to the client (wrapped by a task). | 
Patch(PatchNetworkRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchNetworkRequest request, ServerCallContext context)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 received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
RemovePeering(RemovePeeringNetworkRequest, ServerCallContext)
public virtual Task<Operation> RemovePeering(RemovePeeringNetworkRequest request, ServerCallContext context)Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description | 
| request | RemovePeeringNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
SwitchToCustomMode(SwitchToCustomModeNetworkRequest, ServerCallContext)
public virtual Task<Operation> SwitchToCustomMode(SwitchToCustomModeNetworkRequest request, ServerCallContext context)Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description | 
| request | SwitchToCustomModeNetworkRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
UpdatePeering(UpdatePeeringNetworkRequest, ServerCallContext)
public virtual Task<Operation> UpdatePeering(UpdatePeeringNetworkRequest request, ServerCallContext context)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 received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). |