Class ServiceAttachments.ServiceAttachmentsBase (2.1.0)

[BindServiceMethod(typeof(ServiceAttachments), "BindService")]
public abstract class ServiceAttachmentsBase

Base class for server-side implementations of ServiceAttachments

Inheritance

Object > ServiceAttachments.ServiceAttachmentsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListServiceAttachmentsRequest, ServerCallContext)

public virtual Task<ServiceAttachmentAggregatedList> AggregatedList(AggregatedListServiceAttachmentsRequest request, ServerCallContext context)

Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListServiceAttachmentsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ServiceAttachmentAggregatedList>

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

Delete(DeleteServiceAttachmentRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteServiceAttachmentRequest request, ServerCallContext context)

Deletes the specified ServiceAttachment in the given scope

Parameters
NameDescription
requestDeleteServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Get(GetServiceAttachmentRequest, ServerCallContext)

public virtual Task<ServiceAttachment> Get(GetServiceAttachmentRequest request, ServerCallContext context)

Returns the specified ServiceAttachment resource in the given scope.

Parameters
NameDescription
requestGetServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ServiceAttachment>

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

GetIamPolicy(GetIamPolicyServiceAttachmentRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyServiceAttachmentRequest request, ServerCallContext context)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Policy>

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

Insert(InsertServiceAttachmentRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertServiceAttachmentRequest request, ServerCallContext context)

Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.

Parameters
NameDescription
requestInsertServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

List(ListServiceAttachmentsRequest, ServerCallContext)

public virtual Task<ServiceAttachmentList> List(ListServiceAttachmentsRequest request, ServerCallContext context)

Lists the ServiceAttachments for a project in the given scope.

Parameters
NameDescription
requestListServiceAttachmentsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ServiceAttachmentList>

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

Patch(PatchServiceAttachmentRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchServiceAttachmentRequest request, ServerCallContext context)

Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

SetIamPolicy(SetIamPolicyServiceAttachmentRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyServiceAttachmentRequest request, ServerCallContext context)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Policy>

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

TestIamPermissions(TestIamPermissionsServiceAttachmentRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsServiceAttachmentRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsServiceAttachmentRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TestPermissionsResponse>

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