Show / Hide Table of Contents

Class LabelsResource.RevisionsResource.PermissionsResource.BatchUpdateRequest

Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>
LabelsResource.RevisionsResource.PermissionsResource.BatchUpdateRequest
Implements
IClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>
IClientServiceRequest
Inherited Members
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Xgafv
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.AccessToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Alt
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Callback
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Fields
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Key
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.OauthToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.PrettyPrint
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.QuotaUser
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.UploadType
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.UploadProtocol
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Execute()
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ExecuteAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ETagAction
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ModifyRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ValidateParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.ApiVersion
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.RequestParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DriveLabels.v2
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class LabelsResource.RevisionsResource.PermissionsResource.BatchUpdateRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>, IClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>, IClientServiceRequest

Constructors

BatchUpdateRequest(IClientService, GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest, string)

Constructs a new BatchUpdate request.

Declaration
public BatchUpdateRequest(IClientService service, GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest body, string parent)
Parameters
Type Name Description
IClientService service
GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.MethodName

Parent

Required. The parent Label resource name shared by all permissions being updated. 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
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.GetBody()

InitParameters()

Initializes BatchUpdate parameter list.

Declaration
protected override void InitParameters()
Overrides
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX