Show / Hide Table of Contents

Class PropertiesResource.InsertRequest

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

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Property>
DriveBaseServiceRequest<Property>
PropertiesResource.InsertRequest
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 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
System.String fileId

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

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

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 Insert 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