[BindServiceMethod(typeof(PreviewFeatures), "BindService")]
public abstract class PreviewFeatures.PreviewFeaturesBase
Reference documentation and code samples for the Compute Engine v1 API class PreviewFeatures.PreviewFeaturesBase.
Base class for server-side implementations of PreviewFeatures
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetPreviewFeatureRequest, ServerCallContext)
public virtual Task<PreviewFeature> Get(GetPreviewFeatureRequest request, ServerCallContext context)
Returns the details of the given PreviewFeature.
Parameters | |
---|---|
Name | Description |
request |
GetPreviewFeatureRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskPreviewFeature |
The response to send back to the client (wrapped by a task). |
List(ListPreviewFeaturesRequest, ServerCallContext)
public virtual Task<PreviewFeatureList> List(ListPreviewFeaturesRequest request, ServerCallContext context)
Returns the details of the given PreviewFeature.
Parameters | |
---|---|
Name | Description |
request |
ListPreviewFeaturesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskPreviewFeatureList |
The response to send back to the client (wrapped by a task). |
Update(UpdatePreviewFeatureRequest, ServerCallContext)
public virtual Task<Operation> Update(UpdatePreviewFeatureRequest request, ServerCallContext context)
Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.
Parameters | |
---|---|
Name | Description |
request |
UpdatePreviewFeatureRequest The request received from the client. |
context |
ServerCallContext The 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). |