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.Parallelstore.v1beta
Assembly: Google.Apis.Parallelstore.v1beta.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

Create(Instance, string)

Creates a Parallelstore instance in a given project and 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 instance's project and location, in the format projects/{project}/locations/{location}. Locations map to Google Cloud zones; for example, us-west1-b.

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. Name of the resource

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.DeleteRequest

ExportData(ExportDataRequest, string)

Copies data from Parallelstore to Cloud Storage.

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

The body of the request.

string name

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.ExportDataRequest

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. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.GetRequest

ImportData(ImportDataRequest, string)

Copies data from Cloud Storage to Parallelstore.

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

The body of the request.

string name

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.ImportDataRequest

List(string)

Lists all instances in a given project and location.

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

Required. The project and location for which to retrieve instance information, in the format projects/{project_id}/locations/{location}. To retrieve instance information for all locations, use "-" as the value of {location}.

Returns
Type Description
ProjectsResource.LocationsResource.InstancesResource.ListRequest

Patch(Instance, string)

Updates the parameters of a single instance.

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

Identifier. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance_id}.

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