Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
cloudsharp committed Oct 12, 2016
1 parent 2863085 commit 2f3351d
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 10 deletions.
20 changes: 18 additions & 2 deletions DiscoveryJson/drive_v2.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/BAzdaXKXQAa5GRabN2ncUTeoPPI\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/kQdB5NrlH_9qtbSu7AbOrUjyCuw\"",
"discoveryVersion": "v1",
"id": "drive:v2",
"name": "drive",
"version": "v2",
"revision": "20160929",
"revision": "20161006",
"title": "Drive API",
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"ownerDomain": "google.com",
Expand Down Expand Up @@ -1732,6 +1732,10 @@
"description": "This is always drive#revisionList.",
"default": "drive#revisionList"
},
"nextPageToken": {
"type": "string",
"description": "The page token for the next page of revisions. This field will be absent if the end of the revisions list has been reached. If the token is rejected for any reason, it should be discarded and pagination should be restarted from the first page of results."
},
"selfLink": {
"type": "string",
"description": "A link back to this list."
Expand Down Expand Up @@ -4238,6 +4242,18 @@
"description": "The ID of the file.",
"required": true,
"location": "path"
},
"maxResults": {
"type": "integer",
"description": "Maximum number of revisions to return.",
"format": "int32",
"minimum": "1",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Page token for revisions. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.",
"location": "query"
}
},
"parameterOrder": [
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/toolresults_v1beta3.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/nf7z3rli-vCMfqyBQTBMR7433a8\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/NPKzowHw8P_9sEwZGc9tFfcRBoA\"",
"discoveryVersion": "v1",
"id": "toolresults:v1beta3",
"name": "toolresults",
"canonicalName": "Tool Results",
"version": "v1beta3",
"revision": "20161011",
"revision": "20161012",
"title": "Cloud Tool Results API",
"description": "Reads and publishes results from Cloud Test Lab.",
"ownerDomain": "google.com",
Expand Down
36 changes: 35 additions & 1 deletion Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* <tr><th>API
* <td><a href='https://developers.google.com/drive/'>Drive API</a>
* <tr><th>API Version<td>v2
* <tr><th>API Rev<td>20160929 (637)
* <tr><th>API Rev<td>20161006 (644)
* <tr><th>API Docs
* <td><a href='https://developers.google.com/drive/'>
* https://developers.google.com/drive/</a>
Expand Down Expand Up @@ -6580,6 +6580,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string fileId)
[Google.Apis.Util.RequestParameterAttribute("fileId", Google.Apis.Util.RequestParameterType.Path)]
public virtual string FileId { get; private set; }

/// <summary>Maximum number of revisions to return.</summary>
/// [minimum: 1]
[Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)]
public virtual System.Nullable<int> MaxResults { get; set; }

/// <summary>Page token for revisions. To get the next page of results, set this parameter to the value of
/// "nextPageToken" from the previous response.</summary>
[Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)]
public virtual string PageToken { get; set; }


///<summary>Gets the method name.</summary>
public override string MethodName
Expand Down Expand Up @@ -6613,6 +6623,24 @@ protected override void InitParameters()
DefaultValue = null,
Pattern = null,
});
RequestParameters.Add(
"maxResults", new Google.Apis.Discovery.Parameter
{
Name = "maxResults",
IsRequired = false,
ParameterType = "query",
DefaultValue = null,
Pattern = null,
});
RequestParameters.Add(
"pageToken", new Google.Apis.Discovery.Parameter
{
Name = "pageToken",
IsRequired = false,
ParameterType = "query",
DefaultValue = null,
Pattern = null,
});
}

}
Expand Down Expand Up @@ -8474,6 +8502,12 @@ public class RevisionList : Google.Apis.Requests.IDirectResponseSchema
[Newtonsoft.Json.JsonPropertyAttribute("kind")]
public virtual string Kind { get; set; }

/// <summary>The page token for the next page of revisions. This field will be absent if the end of the
/// revisions list has been reached. If the token is rejected for any reason, it should be discarded and
/// pagination should be restarted from the first page of results.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")]
public virtual string NextPageToken { get; set; }

/// <summary>A link back to this list.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("selfLink")]
public virtual string SelfLink { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis.Drive.v2</id>
<version>1.17.0.637</version>
<version>1.17.0.644</version>
<title>Google.Apis.Drive.v2 Client Library</title>
<authors>Google Inc.</authors>
<owners>google-apis-packages</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ limitations under the License.
[assembly: AssemblyCopyright("Copyright © Google Inc. 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.17.0.637")]
[assembly: AssemblyVersion("1.17.0.644")]
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* <tr><th>API
* <td><a href='https://developers.google.com/cloud-test-lab/'>Cloud Tool Results API</a>
* <tr><th>API Version<td>v1beta3
* <tr><th>API Rev<td>20161011 (649)
* <tr><th>API Rev<td>20161012 (650)
* <tr><th>API Docs
* <td><a href='https://developers.google.com/cloud-test-lab/'>
* https://developers.google.com/cloud-test-lab/</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis.ToolResults.v1beta3</id>
<version>1.17.0.649</version>
<version>1.17.0.650</version>
<title>Google.Apis.ToolResults.v1beta3 Client Library</title>
<authors>Google Inc.</authors>
<owners>google-apis-packages</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ limitations under the License.
[assembly: AssemblyCopyright("Copyright © Google Inc. 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.17.0.649")]
[assembly: AssemblyVersion("1.17.0.650")]

0 comments on commit 2f3351d

Please sign in to comment.