Show / Hide Table of Contents

Class LabelsResource.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<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>
LabelsResource.PermissionsResource.BatchUpdateRequest
Implements
IClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>
IClientServiceRequest
Inherited Members
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.Xgafv
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.AccessToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.Alt
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.Callback
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.Fields
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.Key
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.OauthToken
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.PrettyPrint
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.QuotaUser
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.UploadType
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.UploadProtocol
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.Execute()
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ExecuteAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ETagAction
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ModifyRequest
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ValidateParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.ApiVersion
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.RequestParameters
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.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.v2beta
Assembly: Google.Apis.DriveLabels.v2beta.dll
Syntax
public class LabelsResource.PermissionsResource.BatchUpdateRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>, IClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>, IClientServiceRequest

Constructors

BatchUpdateRequest(IClientService, GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest, string)

Constructs a new BatchUpdate request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.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<GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes BatchUpdate parameter list.

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

Implements

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