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