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