Class ProjectsResource.LocationsResource.BackupPoliciesResource
The "backupPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BackupPoliciesResource
Constructors
BackupPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public BackupPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(BackupPolicy, string)
Creates new backup policy
Declaration
public virtual ProjectsResource.LocationsResource.BackupPoliciesResource.CreateRequest Create(BackupPolicy body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BackupPolicy | body | The body of the request. |
string | parent | Required. The location to create the backup policies of, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupPoliciesResource.CreateRequest |
Delete(string)
Warning! This operation will permanently delete the backup policy.
Declaration
public virtual ProjectsResource.LocationsResource.BackupPoliciesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The backup policy resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupPoliciesResource.DeleteRequest |
Get(string)
Returns the description of the specified backup policy by backup_policy_id.
Declaration
public virtual ProjectsResource.LocationsResource.BackupPoliciesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The backupPolicy resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupPoliciesResource.GetRequest |
List(string)
Returns list of all available backup policies.
Declaration
public virtual ProjectsResource.LocationsResource.BackupPoliciesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListBackupPoliciesRequest |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupPoliciesResource.ListRequest |
Patch(BackupPolicy, string)
Updates settings of a specific backup policy.
Declaration
public virtual ProjectsResource.LocationsResource.BackupPoliciesResource.PatchRequest Patch(BackupPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
BackupPolicy | body | The body of the request. |
string | name | Identifier. The resource name of the backup policy. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupPoliciesResource.PatchRequest |