Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.InstancesResource

The "instances" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.InstancesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudMemorystoreforMemcached.v1
Assembly: Google.Apis.CloudMemorystoreforMemcached.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource

Constructors

InstancesResource(IClientService)

Constructs a new resource.

Declaration
public InstancesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

ApplyParameters(ApplyParametersRequest, string)

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

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.ApplyParametersRequest ApplyParameters(ApplyParametersRequest body, string name)
Parameters
Type Name Description
ApplyParametersRequest body

The body of the request.

string name

Required. Resource name of the Memcached instance for which parameter group updates should be applied.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.ApplyParametersRequest

Create(Instance, string)

Creates a new Instance in a given location.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.CreateRequest Create(Instance body, string parent)
Parameters
Type Name Description
Instance body

The body of the request.

string parent

Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.CreateRequest

Delete(string)

Deletes a single Instance.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Memcached instance resource name in the format: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.DeleteRequest

Get(string)

Gets details of a single Instance.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Memcached instance resource name in the format: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.GetRequest

List(string)

Lists Instances in a given location.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.ListRequest

Patch(Instance, string)

Updates an existing Instance in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.PatchRequest Patch(Instance body, string name)
Parameters
Type Name Description
Instance body

The body of the request.

string name

Required. Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} Note: Memcached instances are managed and addressed at the regional level so location_id here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.PatchRequest

RescheduleMaintenance(RescheduleMaintenanceRequest, string)

Reschedules upcoming maintenance event.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.RescheduleMaintenanceRequest RescheduleMaintenance(RescheduleMaintenanceRequest body, string instance)
Parameters
Type Name Description
RescheduleMaintenanceRequest body

The body of the request.

string instance

Required. Memcache instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.RescheduleMaintenanceRequest

UpdateParameters(UpdateParametersRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.UpdateParametersRequest UpdateParameters(UpdateParametersRequest body, string name)
Parameters
Type Name Description
UpdateParametersRequest body

The body of the request.

string name

Required. Resource name of the Memcached instance for which the parameters should be updated.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.UpdateParametersRequest

Upgrade(GoogleCloudMemcacheV1UpgradeInstanceRequest, string)

Upgrades the Memcache instance to a newer memcached engine version specified in the request.

Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.UpgradeRequest Upgrade(GoogleCloudMemcacheV1UpgradeInstanceRequest body, string name)
Parameters
Type Name Description
GoogleCloudMemcacheV1UpgradeInstanceRequest body

The body of the request.

string name

Required. Memcache instance resource name using the form: projects/{project}/locations/{location}/instances/{instance} where location_id refers to a GCP region.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.UpgradeRequest
In this article
Back to top Generated by DocFX