Class ProjectsResource.LocationsResource.InstancesResource
The "instances" collection of methods.
Inherited Members
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.UpgradeRequest |