[BindServiceMethod(typeof(NetworkAttachments), "BindService")]
public abstract class 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 |
Task<NetworkAttachmentAggregatedList> | 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 |
Task<Operation> | 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 |
Task<NetworkAttachment> | 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 |
Task<Policy> | 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 |
Task<Operation> | 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 |
Task<NetworkAttachmentList> | 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 |
Task<Policy> | 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 |
Task<TestPermissionsResponse> | The response to send back to the client (wrapped by a task). |