Class ProjectsResource.InstancesResource.DatabasesResource.BackupSchedulesResource.CreateRequest
Creates a new backup schedule.
Inheritance
ProjectsResource.InstancesResource.DatabasesResource.BackupSchedulesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.BackupSchedulesResource.CreateRequest : SpannerBaseServiceRequest<BackupSchedule>, IClientServiceRequest<BackupSchedule>, IClientServiceRequest
Constructors
CreateRequest(IClientService, BackupSchedule, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, BackupSchedule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BackupSchedule | body | |
string | parent |
Properties
BackupScheduleId
Required. The Id to use for the backup schedule. The backup_schedule_id
appended to
parent
forms the full backup schedule name of the form
projects//instances//databases//backupSchedules/
.
Declaration
[RequestParameter("backupScheduleId", RequestParameterType.Query)]
public virtual string BackupScheduleId { 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. The name of the database that this backup schedule applies to.
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()