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