Class LabelsResource.PermissionsResource.DeleteRequest
Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
Inheritance
LabelsResource.PermissionsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.DriveLabels.v2beta
Assembly: Google.Apis.DriveLabels.v2beta.dll
Syntax
public class LabelsResource.PermissionsResource.DeleteRequest : DriveLabelsBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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.v2beta.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.v2beta.Data.GoogleProtobufEmpty>.MethodName
Name
Required. Label Permission resource name.
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.v2beta.Data.GoogleProtobufEmpty>.RestPath
UseAdminAccess
Set to true
in order to use the user's admin credentials. The server will verify the user is an
admin for the Label before allowing access.
Declaration
[RequestParameter("useAdminAccess", RequestParameterType.Query)]
public virtual bool? UseAdminAccess { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()