Esempio n. 1
0
 /// <summary>Updates file metadata and/or content</summary>/// <param name="body">The body of the request.</param>
 /// <param name="id">The id for the file in question.</param>
 /// <param name="stream">The stream to upload.</param>
 /// <param name="contentType">The content type of the stream to upload.</param>
 public virtual UpdateMediaUpload Update(Google.Apis.Drive.v1.Data.File body, string id, System.IO.Stream stream, string contentType)
 {
     return(new UpdateMediaUpload(service, body, id, stream, contentType));
 }
Esempio n. 2
0
 /// <summary>Updates file metadata and/or content</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="id">The id for the file in question.</param>
 public virtual UpdateRequest Update(Google.Apis.Drive.v1.Data.File body, string id)
 {
     return(new UpdateRequest(service, body, id));
 }
Esempio n. 3
0
 /// <summary>Inserts a file, and any settable metadata or blob content sent with the request.</summary>/// <param name="body">The body of the request.</param>
 /// <param name="stream">The stream to upload.</param>
 /// <param name="contentType">The content type of the stream to upload.</param>
 public virtual InsertMediaUpload Insert(Google.Apis.Drive.v1.Data.File body, System.IO.Stream stream, string contentType)
 {
     return(new InsertMediaUpload(service, body, stream, contentType));
 }
Esempio n. 4
0
 /// <summary>Updates file metadata and/or content. This method supports patch semantics.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="id">The id for the file in question.</param>
 public virtual PatchRequest Patch(Google.Apis.Drive.v1.Data.File body, string id)
 {
     return(new PatchRequest(service, body, id));
 }
Esempio n. 5
0
 /// <summary>Inserts a file, and any settable metadata or blob content sent with the request.</summary>
 /// <param name="body">The body of the request.</param>
 public virtual InsertRequest Insert(Google.Apis.Drive.v1.Data.File body)
 {
     return(new InsertRequest(service, body));
 }