Class ProjectsResource.InstancesResource.DatabasesResource.BackupSchedulesResource.PatchRequest
Updates a backup schedule.
Inheritance
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.BackupSchedulesResource.PatchRequest : SpannerBaseServiceRequest<BackupSchedule>, IClientServiceRequest<BackupSchedule>, IClientServiceRequest
Constructors
PatchRequest(IClientService, BackupSchedule, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, BackupSchedule body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BackupSchedule | body | |
string | name |
Properties
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
Name
Identifier. Output only for the CreateBackupSchedule operation. Required for the
UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which
cannot be changed. Values are of the form
projects//instances//databases//backupSchedules/a-z*[a-z0-9]
The final segment of the name
must be between 2 and 60 characters in length.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()