[BindServiceMethod(typeof(CloudMemcache), "BindService")]
public abstract class CloudMemcache.CloudMemcacheBaseReference documentation and code samples for the Google Cloud Memorystore for Memcache v1beta2 API class CloudMemcache.CloudMemcacheBase.
Base class for server-side implementations of CloudMemcache
Namespace
Google.Cloud.Memcache.V1Beta2Assembly
Google.Cloud.Memcache.V1Beta2.dll
Methods
ApplyParameters(ApplyParametersRequest, ServerCallContext)
public virtual Task<Operation> ApplyParameters(ApplyParametersRequest request, ServerCallContext context)ApplyParameters restarts the set of specified nodes in order to update
them to the current set of parameters for the Memcached Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ApplyParametersRequestThe 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). |
ApplySoftwareUpdate(ApplySoftwareUpdateRequest, ServerCallContext)
public virtual Task<Operation> ApplySoftwareUpdate(ApplySoftwareUpdateRequest request, ServerCallContext context)Updates software on the selected nodes of the Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ApplySoftwareUpdateRequestThe 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). |
CreateInstance(CreateInstanceRequest, ServerCallContext)
public virtual Task<Operation> CreateInstance(CreateInstanceRequest request, ServerCallContext context)Creates a new Instance in a given location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateInstanceRequestThe 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). |
DeleteInstance(DeleteInstanceRequest, ServerCallContext)
public virtual Task<Operation> DeleteInstance(DeleteInstanceRequest request, ServerCallContext context)Deletes a single Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstanceRequestThe 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). |
GetInstance(GetInstanceRequest, ServerCallContext)
public virtual Task<Instance> GetInstance(GetInstanceRequest request, ServerCallContext context)Gets details of a single Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstance |
The response to send back to the client (wrapped by a task). |
ListInstances(ListInstancesRequest, ServerCallContext)
public virtual Task<ListInstancesResponse> ListInstances(ListInstancesRequest request, ServerCallContext context)Lists Instances in a given location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstancesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListInstancesResponse |
The response to send back to the client (wrapped by a task). |
RescheduleMaintenance(RescheduleMaintenanceRequest, ServerCallContext)
public virtual Task<Operation> RescheduleMaintenance(RescheduleMaintenanceRequest request, ServerCallContext context)Performs the apply phase of the RescheduleMaintenance verb.
| Parameters | |
|---|---|
| Name | Description |
request |
RescheduleMaintenanceRequestThe 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). |
UpdateInstance(UpdateInstanceRequest, ServerCallContext)
public virtual Task<Operation> UpdateInstance(UpdateInstanceRequest request, ServerCallContext context)Updates an existing Instance in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateInstanceRequestThe 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). |
UpdateParameters(UpdateParametersRequest, ServerCallContext)
public virtual Task<Operation> UpdateParameters(UpdateParametersRequest request, ServerCallContext context)Updates the defined Memcached parameters for an existing instance.
This method only stages the parameters, it must be followed by
ApplyParameters to apply the parameters to nodes of the Memcached
instance.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateParametersRequestThe 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). |