Class LabelsResource.DeltaRequest
Updates a single Label by applying a set of update requests resulting in a new draft revision. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive Items.
Inheritance
LabelsResource.DeltaRequest
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class LabelsResource.DeltaRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>, IClientServiceRequest<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>, IClientServiceRequest
Constructors
DeltaRequest(IClientService, GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest, string)
Constructs a new Delta request.
Declaration
public DeltaRequest(IClientService service, GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.MethodName
Name
Required. The resource name of the Label to update.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>.GetBody()
InitParameters()
Initializes Delta parameter list.
Declaration
protected override void InitParameters()