Class LabelsResource.PermissionsResource.BatchDeleteRequest
Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
Inheritance
LabelsResource.PermissionsResource.BatchDeleteRequest
Inherited Members
Namespace: Google.Apis.DriveLabels.v2
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class LabelsResource.PermissionsResource.BatchDeleteRequest : DriveLabelsBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
BatchDeleteRequest(IClientService, GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest, string)
Constructs a new BatchDelete request.
Declaration
public BatchDeleteRequest(IClientService service, GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest | body | |
string | parent |
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.GoogleProtobufEmpty>.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.GoogleProtobufEmpty>.MethodName
Parent
Required. The parent Label resource name shared by all permissions being deleted. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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.GoogleProtobufEmpty>.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.GoogleProtobufEmpty>.GetBody()
InitParameters()
Initializes BatchDelete parameter list.
Declaration
protected override void InitParameters()