Class LabelsResource.UpdateLabelEnabledAppSettingsRequest
Updates a label's EnabledAppSettings. Enabling a label in a Google Workspace app allows it to be used in
that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.
Inheritance
LabelsResource.UpdateLabelEnabledAppSettingsRequest
Inherited Members
Namespace: Google.Apis.DriveLabels.v2beta
Assembly: Google.Apis.DriveLabels.v2beta.dll
Syntax
public class LabelsResource.UpdateLabelEnabledAppSettingsRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2betaLabel>, IClientServiceRequest<GoogleAppsDriveLabelsV2betaLabel>, IClientServiceRequest
Constructors
UpdateLabelEnabledAppSettingsRequest(IClientService, GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest, string)
Constructs a new UpdateLabelEnabledAppSettings request.
Declaration
public UpdateLabelEnabledAppSettingsRequest(IClientService service, GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the label to update. The resource name of the label to update.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes UpdateLabelEnabledAppSettings parameter list.
Declaration
protected override void InitParameters()