[BindServiceMethod(typeof(NetworkAttachments), "BindService")]
public abstract class NetworkAttachments.NetworkAttachmentsBase
Reference documentation and code samples for the Compute Engine v1 API class NetworkAttachments.NetworkAttachmentsBase.
Base class for server-side implementations of NetworkAttachments
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListNetworkAttachmentsRequest, ServerCallContext)
public virtual Task<NetworkAttachmentAggregatedList> AggregatedList(AggregatedListNetworkAttachmentsRequest request, ServerCallContext context)
Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNetworkAttachmentsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNetworkAttachmentAggregatedList | The response to send back to the client (wrapped by a task). |
Delete(DeleteNetworkAttachmentRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteNetworkAttachmentRequest request, ServerCallContext context)
Deletes the specified NetworkAttachment in the given scope
Parameters | |
---|---|
Name | Description |
request | DeleteNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The 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(GetNetworkAttachmentRequest, ServerCallContext)
public virtual Task<NetworkAttachment> Get(GetNetworkAttachmentRequest request, ServerCallContext context)
Returns the specified NetworkAttachment resource in the given scope.
Parameters | |
---|---|
Name | Description |
request | GetNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNetworkAttachment | The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyNetworkAttachmentRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyNetworkAttachmentRequest request, ServerCallContext context)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskPolicy | The response to send back to the client (wrapped by a task). |
Insert(InsertNetworkAttachmentRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertNetworkAttachmentRequest request, ServerCallContext context)
Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The 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(ListNetworkAttachmentsRequest, ServerCallContext)
public virtual Task<NetworkAttachmentList> List(ListNetworkAttachmentsRequest request, ServerCallContext context)
Lists the NetworkAttachments for a project in the given scope.
Parameters | |
---|---|
Name | Description |
request | ListNetworkAttachmentsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNetworkAttachmentList | The response to send back to the client (wrapped by a task). |
Patch(PatchNetworkAttachmentRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchNetworkAttachmentRequest request, ServerCallContext context)
Patches the specified NetworkAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The 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). |
SetIamPolicy(SetIamPolicyNetworkAttachmentRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyNetworkAttachmentRequest request, ServerCallContext context)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskPolicy | The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsNetworkAttachmentRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsNetworkAttachmentRequest request, ServerCallContext context)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkAttachmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskTestPermissionsResponse | The response to send back to the client (wrapped by a task). |