public class NetworksClient : ClientBase<Networks.NetworksClient>Client for Networks
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NetworksClient()
protected NetworksClient()Protected parameterless constructor to allow creation of test doubles.
NetworksClient(CallInvoker)
public NetworksClient(CallInvoker callInvoker)Creates a new client for Networks that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
NetworksClient(ChannelBase)
public NetworksClient(ChannelBase channel)Creates a new client for Networks
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
NetworksClient(ClientBase.ClientBaseConfiguration)
protected NetworksClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
AddPeering(AddPeeringNetworkRequest, CallOptions)
public virtual Operation AddPeering(AddPeeringNetworkRequest request, CallOptions options)Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
AddPeeringNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
AddPeering(AddPeeringNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation AddPeering(AddPeeringNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
AddPeeringNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
AddPeeringAsync(AddPeeringNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddPeeringAsync(AddPeeringNetworkRequest request, CallOptions options)Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
AddPeeringNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
AddPeeringAsync(AddPeeringNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddPeeringAsync(AddPeeringNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Adds a peering to the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
AddPeeringNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
CreateOperationsClientForGlobalOperations()
public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteNetworkRequest, CallOptions)
public virtual Operation Delete(DeleteNetworkRequest request, CallOptions options)Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkRequest request, CallOptions options)Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteAsync(DeleteNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Deletes the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
Get(GetNetworkRequest, CallOptions)
public virtual Network Get(GetNetworkRequest request, CallOptions options)Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Network |
The response received from the server. |
Get(GetNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Network Get(GetNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Network |
The response received from the server. |
GetAsync(GetNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Network> GetAsync(GetNetworkRequest request, CallOptions options)Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Network> |
The call object. |
GetAsync(GetNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Network> GetAsync(GetNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the specified network. Gets a list of available networks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Network> |
The call object. |
GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest, CallOptions)
public virtual NetworksGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest request, CallOptions options)Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEffectiveFirewallsNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponse |
The response received from the server. |
GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NetworksGetEffectiveFirewallsResponse GetEffectiveFirewalls(GetEffectiveFirewallsNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEffectiveFirewallsNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponse |
The response received from the server. |
GetEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<NetworksGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest request, CallOptions options)Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEffectiveFirewallsNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<NetworksGetEffectiveFirewallsResponse> |
The call object. |
GetEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NetworksGetEffectiveFirewallsResponse> GetEffectiveFirewallsAsync(GetEffectiveFirewallsNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the effective firewalls on a given network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEffectiveFirewallsNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<NetworksGetEffectiveFirewallsResponse> |
The call object. |
Insert(InsertNetworkRequest, CallOptions)
public virtual Operation Insert(InsertNetworkRequest request, CallOptions options)Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkRequest request, CallOptions options)Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
InsertAsync(InsertNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a network in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
List(ListNetworksRequest, CallOptions)
public virtual NetworkList List(ListNetworksRequest request, CallOptions options)Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
NetworkList |
The response received from the server. |
List(ListNetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NetworkList List(ListNetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
NetworkList |
The response received from the server. |
ListAsync(ListNetworksRequest, CallOptions)
public virtual AsyncUnaryCall<NetworkList> ListAsync(ListNetworksRequest request, CallOptions options)Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<NetworkList> |
The call object. |
ListAsync(ListNetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NetworkList> ListAsync(ListNetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of networks available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<NetworkList> |
The call object. |
ListPeeringRoutes(ListPeeringRoutesNetworksRequest, CallOptions)
public virtual ExchangedPeeringRoutesList ListPeeringRoutes(ListPeeringRoutesNetworksRequest request, CallOptions options)Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPeeringRoutesNetworksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ExchangedPeeringRoutesList |
The response received from the server. |
ListPeeringRoutes(ListPeeringRoutesNetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ExchangedPeeringRoutesList ListPeeringRoutes(ListPeeringRoutesNetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPeeringRoutesNetworksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ExchangedPeeringRoutesList |
The response received from the server. |
ListPeeringRoutesAsync(ListPeeringRoutesNetworksRequest, CallOptions)
public virtual AsyncUnaryCall<ExchangedPeeringRoutesList> ListPeeringRoutesAsync(ListPeeringRoutesNetworksRequest request, CallOptions options)Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPeeringRoutesNetworksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ExchangedPeeringRoutesList> |
The call object. |
ListPeeringRoutesAsync(ListPeeringRoutesNetworksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ExchangedPeeringRoutesList> ListPeeringRoutesAsync(ListPeeringRoutesNetworksRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Lists the peering routes exchanged over peering connection.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPeeringRoutesNetworksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ExchangedPeeringRoutesList> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Networks.NetworksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
Networks.NetworksClient |
|
Patch(PatchNetworkRequest, CallOptions)
public virtual Operation Patch(PatchNetworkRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNetworkRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
PatchAsync(PatchNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
RemovePeering(RemovePeeringNetworkRequest, CallOptions)
public virtual Operation RemovePeering(RemovePeeringNetworkRequest request, CallOptions options)Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
RemovePeeringNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
RemovePeering(RemovePeeringNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RemovePeering(RemovePeeringNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
RemovePeeringNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
RemovePeeringAsync(RemovePeeringNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemovePeeringAsync(RemovePeeringNetworkRequest request, CallOptions options)Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
RemovePeeringNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
RemovePeeringAsync(RemovePeeringNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemovePeeringAsync(RemovePeeringNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Removes a peering from the specified network.
| Parameters | |
|---|---|
| Name | Description |
request |
RemovePeeringNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
SwitchToCustomMode(SwitchToCustomModeNetworkRequest, CallOptions)
public virtual Operation SwitchToCustomMode(SwitchToCustomModeNetworkRequest request, CallOptions options)Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchToCustomModeNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
SwitchToCustomMode(SwitchToCustomModeNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation SwitchToCustomMode(SwitchToCustomModeNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchToCustomModeNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
SwitchToCustomModeAsync(SwitchToCustomModeNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SwitchToCustomModeAsync(SwitchToCustomModeNetworkRequest request, CallOptions options)Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchToCustomModeNetworkRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
SwitchToCustomModeAsync(SwitchToCustomModeNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> SwitchToCustomModeAsync(SwitchToCustomModeNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Switches the network mode from auto subnet mode to custom subnet mode.
| Parameters | |
|---|---|
| Name | Description |
request |
SwitchToCustomModeNetworkRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdatePeering(UpdatePeeringNetworkRequest, CallOptions)
public virtual Operation UpdatePeering(UpdatePeeringNetworkRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdatePeering(UpdatePeeringNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdatePeering(UpdatePeeringNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdatePeeringAsync(UpdatePeeringNetworkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdatePeeringAsync(UpdatePeeringNetworkRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdatePeeringAsync(UpdatePeeringNetworkRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdatePeeringAsync(UpdatePeeringNetworkRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |