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
LabelsResource.RevisionsResource.PermissionsResource.BatchUpdateRequest
Implements
Inherited Members
DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.OauthToken
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.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.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.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.GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse>.GetBody()
InitParameters()
Initializes BatchUpdate parameter list.
Declaration
protected override void InitParameters()