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'); |