Class ProjectsResource.LocationsResource.BackupPlansResource.BackupsResource.PatchRequest
Update a Backup.
Inheritance
ProjectsResource.LocationsResource.BackupPlansResource.BackupsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BackupPlansResource.BackupsResource.PatchRequest : BackupforGKEBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Backup, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Backup body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Backup | 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
Output only. The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
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
Optional. This is used to specify the fields to be overwritten in the Backup targeted for
update. The values for each of these updated fields will be taken from the backup_plan
provided with this request. Field names are relative to the root of the resource. If no
update_mask
is provided, all fields in backup
will be written to the target Backup
resource. Note that OUTPUT_ONLY and IMMUTABLE fields in backup
are ignored and are not
used to update the target Backup.
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()