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