Google.Cloud.Memcache.V1 by Google LLC

<PackageReference Include="Google.Cloud.Memcache.V1" Version="2.0.0" />

 CloudMemcacheClient

public abstract class CloudMemcacheClient
CloudMemcache client wrapper, for convenient use.
public static string DefaultEndpoint { get; }

The default endpoint for the CloudMemcache service, which is a host of "memcache.googleapis.com" and a port of 443.

public static IReadOnlyList<string> DefaultScopes { get; }

The default CloudMemcache scopes.

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

The long-running operations client for ApplyParameters.

The long-running operations client for CreateInstance.

The long-running operations client for DeleteInstance.

public virtual CloudMemcacheClient GrpcClient { get; }

The underlying gRPC CloudMemcache client

The long-running operations client for UpdateInstance.

The long-running operations client for UpdateParameters.

protected CloudMemcacheClient()

public static CloudMemcacheClient Create()

Synchronously creates a CloudMemcacheClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CloudMemcacheClientBuilder.

public static Task<CloudMemcacheClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a CloudMemcacheClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CloudMemcacheClientBuilder.

Shuts down any channels automatically created by Create and CreateAsync. Channels which weren't automatically created are not affected.

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

public virtual Operation<Instance, OperationMetadata> ApplyParameters(string name, IEnumerable<string> nodeIds, bool applyAll, CallSettings callSettings = null)

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

public virtual Operation<Instance, OperationMetadata> ApplyParameters(InstanceName name, IEnumerable<string> nodeIds, bool applyAll, CallSettings callSettings = null)

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

public virtual Task<Operation<Instance, OperationMetadata>> ApplyParametersAsync(string name, IEnumerable<string> nodeIds, bool applyAll, CallSettings callSettings = null)

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

public virtual Task<Operation<Instance, OperationMetadata>> ApplyParametersAsync(string name, IEnumerable<string> nodeIds, bool applyAll, CancellationToken cancellationToken)

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

public virtual Task<Operation<Instance, OperationMetadata>> ApplyParametersAsync(InstanceName name, IEnumerable<string> nodeIds, bool applyAll, CallSettings callSettings = null)

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

public virtual Task<Operation<Instance, OperationMetadata>> ApplyParametersAsync(InstanceName name, IEnumerable<string> nodeIds, bool applyAll, CancellationToken cancellationToken)

ApplyParameters will restart the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.

Creates a new Instance in a given location.

public virtual Operation<Instance, OperationMetadata> CreateInstance(string parent, Instance instance, string instanceId, CallSettings callSettings = null)

Creates a new Instance in a given location.

public virtual Operation<Instance, OperationMetadata> CreateInstance(LocationName parent, Instance instance, string instanceId, CallSettings callSettings = null)

Creates a new Instance in a given location.

Creates a new Instance in a given location.

Creates a new Instance in a given location.

public virtual Task<Operation<Instance, OperationMetadata>> CreateInstanceAsync(string parent, Instance instance, string instanceId, CallSettings callSettings = null)

Creates a new Instance in a given location.

public virtual Task<Operation<Instance, OperationMetadata>> CreateInstanceAsync(string parent, Instance instance, string instanceId, CancellationToken cancellationToken)

Creates a new Instance in a given location.

public virtual Task<Operation<Instance, OperationMetadata>> CreateInstanceAsync(LocationName parent, Instance instance, string instanceId, CallSettings callSettings = null)

Creates a new Instance in a given location.

public virtual Task<Operation<Instance, OperationMetadata>> CreateInstanceAsync(LocationName parent, Instance instance, string instanceId, CancellationToken cancellationToken)

Creates a new Instance in a given location.

public virtual Operation<Empty, OperationMetadata> DeleteInstance(DeleteInstanceRequest request, CallSettings callSettings = null)

Deletes a single Instance.

public virtual Operation<Empty, OperationMetadata> DeleteInstance(string name, CallSettings callSettings = null)

Deletes a single Instance.

public virtual Operation<Empty, OperationMetadata> DeleteInstance(InstanceName name, CallSettings callSettings = null)

Deletes a single Instance.

Deletes a single Instance.

Deletes a single Instance.

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInstanceAsync(string name, CallSettings callSettings = null)

Deletes a single Instance.

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInstanceAsync(string name, CancellationToken cancellationToken)

Deletes a single Instance.

public virtual Task<Operation<Empty, OperationMetadata>> DeleteInstanceAsync(InstanceName name, CallSettings callSettings = null)

Deletes a single Instance.

Deletes a single Instance.

public virtual Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)

Gets details of a single Instance.

public virtual Instance GetInstance(string name, CallSettings callSettings = null)

Gets details of a single Instance.

public virtual Instance GetInstance(InstanceName name, CallSettings callSettings = null)

Gets details of a single Instance.

public virtual Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)

Gets details of a single Instance.

public virtual Task<Instance> GetInstanceAsync(GetInstanceRequest request, CancellationToken cancellationToken)

Gets details of a single Instance.

public virtual Task<Instance> GetInstanceAsync(string name, CallSettings callSettings = null)

Gets details of a single Instance.

public virtual Task<Instance> GetInstanceAsync(string name, CancellationToken cancellationToken)

Gets details of a single Instance.

public virtual Task<Instance> GetInstanceAsync(InstanceName name, CallSettings callSettings = null)

Gets details of a single Instance.

public virtual Task<Instance> GetInstanceAsync(InstanceName name, CancellationToken cancellationToken)

Gets details of a single Instance.

Lists Instances in a given location.

public virtual PagedEnumerable<ListInstancesResponse, Instance> ListInstances(string parent, string pageToken = null, int? pageSize = default, CallSettings callSettings = null)

Lists Instances in a given location.

public virtual PagedEnumerable<ListInstancesResponse, Instance> ListInstances(LocationName parent, string pageToken = null, int? pageSize = default, CallSettings callSettings = null)

Lists Instances in a given location.

Lists Instances in a given location.

public virtual PagedAsyncEnumerable<ListInstancesResponse, Instance> ListInstancesAsync(string parent, string pageToken = null, int? pageSize = default, CallSettings callSettings = null)

Lists Instances in a given location.

public virtual PagedAsyncEnumerable<ListInstancesResponse, Instance> ListInstancesAsync(LocationName parent, string pageToken = null, int? pageSize = default, CallSettings callSettings = null)

Lists Instances in a given location.

public virtual Operation<Instance, OperationMetadata> PollOnceApplyParameters(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of ApplyParameters.

public virtual Task<Operation<Instance, OperationMetadata>> PollOnceApplyParametersAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of ApplyParameters.

public virtual Operation<Instance, OperationMetadata> PollOnceCreateInstance(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateInstance.

public virtual Task<Operation<Instance, OperationMetadata>> PollOnceCreateInstanceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateInstance.

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteInstance(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteInstance.

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteInstanceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteInstance.

public virtual Operation<Instance, OperationMetadata> PollOnceUpdateInstance(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateInstance.

public virtual Task<Operation<Instance, OperationMetadata>> PollOnceUpdateInstanceAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateInstance.

public virtual Operation<Instance, OperationMetadata> PollOnceUpdateParameters(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateParameters.

public virtual Task<Operation<Instance, OperationMetadata>> PollOnceUpdateParametersAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateParameters.

Updates an existing Instance in a given project and location.

public virtual Operation<Instance, OperationMetadata> UpdateInstance(Instance instance, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing Instance in a given project and location.

Updates an existing Instance in a given project and location.

Updates an existing Instance in a given project and location.

public virtual Task<Operation<Instance, OperationMetadata>> UpdateInstanceAsync(Instance instance, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing Instance in a given project and location.

public virtual Task<Operation<Instance, OperationMetadata>> UpdateInstanceAsync(Instance instance, FieldMask updateMask, CancellationToken cancellationToken)

Updates an existing Instance in a given project and location.

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.

public virtual Operation<Instance, OperationMetadata> UpdateParameters(string name, FieldMask updateMask, MemcacheParameters parameters, CallSettings callSettings = null)

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.

public virtual Operation<Instance, OperationMetadata> UpdateParameters(InstanceName name, FieldMask updateMask, MemcacheParameters parameters, CallSettings callSettings = null)

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.

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.

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.

public virtual Task<Operation<Instance, OperationMetadata>> UpdateParametersAsync(string name, FieldMask updateMask, MemcacheParameters parameters, CallSettings callSettings = null)

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.

public virtual Task<Operation<Instance, OperationMetadata>> UpdateParametersAsync(string name, FieldMask updateMask, MemcacheParameters parameters, CancellationToken cancellationToken)

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.

public virtual Task<Operation<Instance, OperationMetadata>> UpdateParametersAsync(InstanceName name, FieldMask updateMask, MemcacheParameters parameters, CallSettings callSettings = null)

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.

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.