Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BackupVaultsResource

The "backupVaults" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.BackupVaultsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Backupdr.v1
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BackupVaultsResource

Constructors

BackupVaultsResource(IClientService)

Constructs a new resource.

Declaration
public BackupVaultsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

DataSources

Gets the DataSources resource.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource DataSources { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource

Methods

Create(BackupVault, string)

Creates a new BackupVault in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.CreateRequest Create(BackupVault body, string parent)
Parameters
Type Name Description
BackupVault body

The body of the request.

string parent

Required. Value for parent.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.CreateRequest

Delete(string)

Deletes a BackupVault.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.DeleteRequest

FetchUsable(string)

FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.FetchUsableRequest FetchUsable(string parent)
Parameters
Type Name Description
string parent

Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve backupvault stores for all locations, use "-" for the '{location}' value.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.FetchUsableRequest

Get(string)

Gets details of a BackupVault.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.GetRequest

List(string)

Lists BackupVaults in a given project and location.

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

Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve backupvault stores for all locations, use "-" for the '{location}' value.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.ListRequest

Patch(BackupVault, string)

Updates the settings of a BackupVault.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.PatchRequest Patch(BackupVault body, string name)
Parameters
Type Name Description
BackupVault body

The body of the request.

string name

Output only. Identifier. Name of the backup vault to create. It must have the format"projects/{project}/locations/{location}/backupVaults/{backupvault}". {backupvault} cannot be changed after creation. It must be between 3-63 characters long and must be unique within the project and location.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.PatchRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns the caller's permissions on a BackupVault resource. A caller is not required to have Google IAM permission to make this request.

Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.BackupVaultsResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX