Class ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource
The "snapshots" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudFilestore.v1beta1
Assembly: Google.Apis.CloudFilestore.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource
Constructors
SnapshotsResource(IClientService)
Constructs a new resource.
Declaration
public SnapshotsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Snapshot, string)
Creates a snapshot.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.CreateRequest Create(Snapshot body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Snapshot | body | The body of the request. |
string | parent | Required. The Filestore Instance to create the snapshots of, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.CreateRequest |
Delete(string)
Deletes a snapshot.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The snapshot resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.DeleteRequest |
Get(string)
Gets the details of a specific snapshot.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The snapshot resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.GetRequest |
List(string)
Lists all snapshots in a project for either a specified location or for all locations.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The instance for which to retrieve snapshot information, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.ListRequest |
Patch(Snapshot, string)
Updates the settings of a specific snapshot.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.PatchRequest Patch(Snapshot body, string name)
Parameters
Type | Name | Description |
---|---|---|
Snapshot | body | The body of the request. |
string | name | Output only. The resource name of the snapshot, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SnapshotsResource.PatchRequest |