[BindServiceMethod(typeof(MachineImages), "BindService")]
public abstract class MachineImagesBaseBase class for server-side implementations of MachineImages
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteMachineImageRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteMachineImageRequest request, ServerCallContext context)Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMachineImageRequestThe request received from the client. |
context |
ServerCallContextThe 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(GetMachineImageRequest, ServerCallContext)
public virtual Task<MachineImage> Get(GetMachineImageRequest request, ServerCallContext context)Returns the specified machine image. Gets a list of available machine images by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMachineImageRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<MachineImage> |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyMachineImageRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyMachineImageRequest 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 |
GetIamPolicyMachineImageRequestThe request received from the client. |
context |
ServerCallContextThe 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(InsertMachineImageRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertMachineImageRequest request, ServerCallContext context)Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertMachineImageRequestThe request received from the client. |
context |
ServerCallContextThe 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(ListMachineImagesRequest, ServerCallContext)
public virtual Task<MachineImageList> List(ListMachineImagesRequest request, ServerCallContext context)Retrieves a list of machine images that are contained within the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMachineImagesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<MachineImageList> |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyMachineImageRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyMachineImageRequest request, ServerCallContext context)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyMachineImageRequestThe request received from the client. |
context |
ServerCallContextThe 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(TestIamPermissionsMachineImageRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsMachineImageRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsMachineImageRequestThe request received from the client. |
context |
ServerCallContextThe 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). |