Compute Engine v1 API - Class NetworkAttachments.NetworkAttachmentsBase (2.10.0)

[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

Inheritance

object > NetworkAttachments.NetworkAttachmentsBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
requestAggregatedListNetworkAttachmentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteNetworkAttachmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetNetworkAttachmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyNetworkAttachmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestInsertNetworkAttachmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListNetworkAttachmentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyNetworkAttachmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsNetworkAttachmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTestPermissionsResponse

The response to send back to the client (wrapped by a task).