Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: generated/googleapis/lib/safebrowsing/v4.dart

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/pubsub/v1.dart ('k') | generated/googleapis/lib/servicecontrol/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/safebrowsing/v4.dart
diff --git a/generated/googleapis/lib/safebrowsing/v4.dart b/generated/googleapis/lib/safebrowsing/v4.dart
index 0f635f0eb4fa32c7a69480f5a0e7b27a4b508479..300226c5cec25808ec75c035d9f793b66844b57a 100644
--- a/generated/googleapis/lib/safebrowsing/v4.dart
+++ b/generated/googleapis/lib/safebrowsing/v4.dart
@@ -47,12 +47,12 @@ class EncodedFullHashesResourceApi {
*
* [encodedRequest] - A serialized FindFullHashesRequest proto.
*
+ * [clientVersion] - The version of the client implementation.
+ *
* [clientId] - A client ID that (hopefully) uniquely identifies the client
* implementation
* of the Safe Browsing API.
*
- * [clientVersion] - The version of the client implementation.
- *
* Completes with a [FindFullHashesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -61,7 +61,7 @@ class EncodedFullHashesResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<FindFullHashesResponse> get(core.String encodedRequest, {core.String clientId, core.String clientVersion}) {
+ async.Future<FindFullHashesResponse> get(core.String encodedRequest, {core.String clientVersion, core.String clientId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -72,12 +72,12 @@ class EncodedFullHashesResourceApi {
if (encodedRequest == null) {
throw new core.ArgumentError("Parameter encodedRequest is required.");
}
- if (clientId != null) {
- _queryParams["clientId"] = [clientId];
- }
if (clientVersion != null) {
_queryParams["clientVersion"] = [clientVersion];
}
+ if (clientId != null) {
+ _queryParams["clientId"] = [clientId];
+ }
_url = 'v4/encodedFullHashes/' + commons.Escaper.ecapeVariable('$encodedRequest');
@@ -105,12 +105,12 @@ class EncodedUpdatesResourceApi {
*
* [encodedRequest] - A serialized FetchThreatListUpdatesRequest proto.
*
+ * [clientVersion] - The version of the client implementation.
+ *
* [clientId] - A client ID that uniquely identifies the client implementation
* of the Safe
* Browsing API.
*
- * [clientVersion] - The version of the client implementation.
- *
* Completes with a [FetchThreatListUpdatesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -119,7 +119,7 @@ class EncodedUpdatesResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<FetchThreatListUpdatesResponse> get(core.String encodedRequest, {core.String clientId, core.String clientVersion}) {
+ async.Future<FetchThreatListUpdatesResponse> get(core.String encodedRequest, {core.String clientVersion, core.String clientId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -130,12 +130,12 @@ class EncodedUpdatesResourceApi {
if (encodedRequest == null) {
throw new core.ArgumentError("Parameter encodedRequest is required.");
}
- if (clientId != null) {
- _queryParams["clientId"] = [clientId];
- }
if (clientVersion != null) {
_queryParams["clientVersion"] = [clientVersion];
}
+ if (clientId != null) {
+ _queryParams["clientId"] = [clientId];
+ }
_url = 'v4/encodedUpdates/' + commons.Escaper.ecapeVariable('$encodedRequest');
« no previous file with comments | « generated/googleapis/lib/pubsub/v1.dart ('k') | generated/googleapis/lib/servicecontrol/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698