[BindServiceMethod(typeof(NetworkAttachments), "BindService")]
public abstract class NetworkAttachments.NetworkAttachmentsBaseReference 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 |
AggregatedListNetworkAttachmentsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteNetworkAttachmentRequestThe 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(GetNetworkAttachmentRequest, ServerCallContext)
public virtual Task<NetworkAttachment> Get(GetNetworkAttachmentRequest request, ServerCallContext context)Returns the specified NetworkAttachment resource in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkAttachmentRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetIamPolicyNetworkAttachmentRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
InsertNetworkAttachmentRequestThe 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(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 |
ListNetworkAttachmentsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
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 |
SetIamPolicyNetworkAttachmentRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TestIamPermissionsNetworkAttachmentRequestThe request received from the client. |
context |
ServerCallContextThe 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). |