Class ProjectsResource.InstancesResource.ClustersResource.BackupsResource.CreateRequest
Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup.
Inheritance
Inherited Members
Namespace: Google.Apis.BigtableAdmin.v2
Assembly: Google.Apis.BigtableAdmin.v2.dll
Syntax
public class ProjectsResource.InstancesResource.ClustersResource.BackupsResource.CreateRequest : BigtableAdminBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Backup, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Backup body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Backup | body | |
string | parent |
Properties
BackupId
Required. The id of the backup to be created. The backup_id
along with the parent parent
are combined as {parent}/backups/{backup_id} to create the full backup name, of the form:
projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}
. This
string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.
Declaration
[RequestParameter("backupId", RequestParameterType.Query)]
public virtual string BackupId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. This must be one of the clusters in the instance in which this table is located.
The backup will be stored in this cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()