[BindServiceMethod(typeof(Networks), "BindService")]
public abstract class Networks.NetworksBaseReference documentation and code samples for the Compute Engine v1 API class Networks.NetworksBase.
Base 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 | 
TaskOperation | 
        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 | 
TaskOperation | 
        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.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetNetworkRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskNetwork | 
        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 | 
TaskNetworksGetEffectiveFirewallsResponse | 
        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 | 
TaskOperation | 
        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 | 
TaskNetworkList | 
        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 | 
TaskExchangedPeeringRoutesList | 
        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 routingConfig can be modified.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        PatchNetworkRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskOperation | 
        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 | 
TaskOperation | 
        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 | 
TaskOperation | 
        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 | 
TaskOperation | 
        The response to send back to the client (wrapped by a task).  |