Show / Hide Table of Contents

Class PropertiesResource.InsertRequest

Adds a property to a file, or updates it if it already exists.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Property>
DriveBaseServiceRequest<Property>
PropertiesResource.InsertRequest
Implements
IClientServiceRequest<Property>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<Property>.Xgafv
DriveBaseServiceRequest<Property>.AccessToken
DriveBaseServiceRequest<Property>.Alt
DriveBaseServiceRequest<Property>.Callback
DriveBaseServiceRequest<Property>.Fields
DriveBaseServiceRequest<Property>.Key
DriveBaseServiceRequest<Property>.OauthToken
DriveBaseServiceRequest<Property>.PrettyPrint
DriveBaseServiceRequest<Property>.QuotaUser
DriveBaseServiceRequest<Property>.UploadType
DriveBaseServiceRequest<Property>.UploadProtocol
ClientServiceRequest<Property>.Execute()
ClientServiceRequest<Property>.ExecuteAsStream()
ClientServiceRequest<Property>.ExecuteAsync()
ClientServiceRequest<Property>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Property>.ExecuteAsStreamAsync()
ClientServiceRequest<Property>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Property>.CreateRequest(bool?)
ClientServiceRequest<Property>.GenerateRequestUri()
ClientServiceRequest<Property>.GetDefaultETagAction(string)
ClientServiceRequest<Property>.ETagAction
ClientServiceRequest<Property>.ModifyRequest
ClientServiceRequest<Property>.ValidateParameters
ClientServiceRequest<Property>.ApiVersion
ClientServiceRequest<Property>.RequestParameters
ClientServiceRequest<Property>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class PropertiesResource.InsertRequest : DriveBaseServiceRequest<Property>, IClientServiceRequest<Property>, IClientServiceRequest

Constructors

InsertRequest(IClientService, Property, string)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, Property body, string fileId)
Parameters
Type Name Description
IClientService service
Property body
string fileId

Properties

FileId

The ID of the file.

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

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Property>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Property>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Property>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Property>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
DriveBaseServiceRequest<Property>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX