Exemple #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));
 }
Exemple #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));
 }
Exemple #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));
 }
Exemple #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));
 }
Exemple #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));
 }