Class LabelsResource.UpdateLabelCopyModeRequest
Updates a Label's CopyMode
. Changes to this policy are not revisioned, do not require publishing, and take
effect immediately.
Inheritance
LabelsResource.UpdateLabelCopyModeRequest
Inherited Members
Namespace: Google.Apis.DriveLabels.v2
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class LabelsResource.UpdateLabelCopyModeRequest : DriveLabelsBaseServiceRequest<GoogleAppsDriveLabelsV2Label>, IClientServiceRequest<GoogleAppsDriveLabelsV2Label>, IClientServiceRequest
Constructors
UpdateLabelCopyModeRequest(IClientService, GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest, string)
Constructs a new UpdateLabelCopyMode request.
Declaration
public UpdateLabelCopyModeRequest(IClientService service, GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest | body | |
string | name |
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.GoogleAppsDriveLabelsV2Label>.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.GoogleAppsDriveLabelsV2Label>.MethodName
Name
Required. 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DriveLabels.v2.Data.GoogleAppsDriveLabelsV2Label>.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.GoogleAppsDriveLabelsV2Label>.GetBody()
InitParameters()
Initializes UpdateLabelCopyMode parameter list.
Declaration
protected override void InitParameters()