Show / Hide Table of Contents

Class PropertiesResource.PatchRequest

Updates a property.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Property>
DriveBaseServiceRequest<Property>
PropertiesResource.PatchRequest
Implements
IClientServiceRequest<Property>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<Property>.Alt
DriveBaseServiceRequest<Property>.Fields
DriveBaseServiceRequest<Property>.Key
DriveBaseServiceRequest<Property>.OauthToken
DriveBaseServiceRequest<Property>.PrettyPrint
DriveBaseServiceRequest<Property>.QuotaUser
DriveBaseServiceRequest<Property>.UserIp
ClientServiceRequest<Property>.Execute()
ClientServiceRequest<Property>.ExecuteAsStream()
ClientServiceRequest<Property>.ExecuteAsync()
ClientServiceRequest<Property>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Property>.ExecuteAsStreamAsync()
ClientServiceRequest<Property>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Property>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Property>.GenerateRequestUri()
ClientServiceRequest<Property>.GetDefaultETagAction(String)
ClientServiceRequest<Property>.ETagAction
ClientServiceRequest<Property>.ModifyRequest
ClientServiceRequest<Property>.ValidateParameters
ClientServiceRequest<Property>.RequestParameters
ClientServiceRequest<Property>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class PatchRequest : DriveBaseServiceRequest<Property>, IClientServiceRequest<Property>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Property, String, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Property body, string fileId, string propertyKey)
Parameters
Type Name Description
IClientService service
Property body
System.String fileId
System.String propertyKey

Properties

FileId

The ID of the file.

Declaration
[RequestParameter("fileId", RequestParameterType.Path)]
public virtual string FileId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.Property>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.Property>.MethodName

PropertyKey

The key of the property.

Declaration
[RequestParameter("propertyKey", RequestParameterType.Path)]
public virtual string PropertyKey { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.Property>.RestPath

Visibility

The visibility of the property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE)

Declaration
[RequestParameter("visibility", RequestParameterType.Query)]
public virtual string Visibility { get; set; }
Property Value
Type Description
System.String

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.Property>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Drive.v2.DriveBaseServiceRequest<Google.Apis.Drive.v2.Data.Property>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX