[BindServiceMethod(typeof(NetworkProfiles), "BindService")]
public abstract class NetworkProfiles.NetworkProfilesBase
Reference documentation and code samples for the Compute Engine v1 API class NetworkProfiles.NetworkProfilesBase.
Base class for server-side implementations of NetworkProfiles
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetNetworkProfileRequest, ServerCallContext)
public virtual Task<NetworkProfile> Get(GetNetworkProfileRequest request, ServerCallContext context)
Returns the specified network profile.
Parameters | |
---|---|
Name | Description |
request |
GetNetworkProfileRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNetworkProfile |
The response to send back to the client (wrapped by a task). |
List(ListNetworkProfilesRequest, ServerCallContext)
public virtual Task<NetworkProfilesListResponse> List(ListNetworkProfilesRequest request, ServerCallContext context)
Retrieves a list of network profiles available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListNetworkProfilesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNetworkProfilesListResponse |
The response to send back to the client (wrapped by a task). |