- 3.22.0 (latest)
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
[BindServiceMethod(typeof(ServiceAttachments), "BindService")]
public abstract class ServiceAttachments.ServiceAttachmentsBaseReference documentation and code samples for the Compute Engine v1 API class ServiceAttachments.ServiceAttachmentsBase.
Base class for server-side implementations of ServiceAttachments
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description |
request |
AggregatedListServiceAttachmentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskServiceAttachmentAggregatedList |
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 | |
|---|---|
| Name | Description |
request |
DeleteServiceAttachmentRequestThe 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(GetServiceAttachmentRequest, ServerCallContext)
public virtual Task<ServiceAttachment> Get(GetServiceAttachmentRequest request, ServerCallContext context)Returns the specified ServiceAttachment resource in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceAttachmentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskServiceAttachment |
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 | |
|---|---|
| Name | Description |
request |
GetIamPolicyServiceAttachmentRequestThe 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(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 | |
|---|---|
| Name | Description |
request |
InsertServiceAttachmentRequestThe 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(ListServiceAttachmentsRequest, ServerCallContext)
public virtual Task<ServiceAttachmentList> List(ListServiceAttachmentsRequest request, ServerCallContext context)Lists the ServiceAttachments for a project in the given scope.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServiceAttachmentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskServiceAttachmentList |
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 | |
|---|---|
| Name | Description |
request |
PatchServiceAttachmentRequestThe 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). |
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 | |
|---|---|
| Name | Description |
request |
SetIamPolicyServiceAttachmentRequestThe 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(TestIamPermissionsServiceAttachmentRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsServiceAttachmentRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsServiceAttachmentRequestThe 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). |