Index: generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart |
diff --git a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart |
index a4b0dc40e8054e54b7f02d19f2709b72c31e9306..62315e8fef4c96a08b298ee0efab552935907dfe 100644 |
--- a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart |
+++ b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart |
@@ -706,12 +706,6 @@ class BeaconsAttachmentsResourceApi { |
* Required. |
* Value must have pattern "^beacons/[^/]+$". |
* |
- * [namespacedType] - Specifies the namespace and type of attachments to |
- * delete in |
- * `namespace/type` format. Accepts `* / * ` to specify |
- * "all types in all namespaces". |
- * Optional. |
- * |
* [projectId] - The project id to delete beacon attachments under. This field |
* can be |
* used when "*" is specified to mean all attachment namespaces. Projects |
@@ -720,6 +714,12 @@ class BeaconsAttachmentsResourceApi { |
* making the request is used. |
* Optional. |
* |
+ * [namespacedType] - Specifies the namespace and type of attachments to |
+ * delete in |
+ * `namespace/type` format. Accepts `* / * ` to specify |
+ * "all types in all namespaces". |
+ * Optional. |
+ * |
* Completes with a [DeleteAttachmentsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -728,7 +728,7 @@ class BeaconsAttachmentsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<DeleteAttachmentsResponse> batchDelete(core.String beaconName, {core.String namespacedType, core.String projectId}) { |
+ async.Future<DeleteAttachmentsResponse> batchDelete(core.String beaconName, {core.String projectId, core.String namespacedType}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -739,12 +739,12 @@ class BeaconsAttachmentsResourceApi { |
if (beaconName == null) { |
throw new core.ArgumentError("Parameter beaconName is required."); |
} |
- if (namespacedType != null) { |
- _queryParams["namespacedType"] = [namespacedType]; |
- } |
if (projectId != null) { |
_queryParams["projectId"] = [projectId]; |
} |
+ if (namespacedType != null) { |
+ _queryParams["namespacedType"] = [namespacedType]; |
+ } |
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName') + '/attachments:batchDelete'; |
@@ -923,6 +923,11 @@ class BeaconsAttachmentsResourceApi { |
* Required. |
* Value must have pattern "^beacons/[^/]+$". |
* |
+ * [namespacedType] - Specifies the namespace and type of attachment to |
+ * include in response in |
+ * <var>namespace/type</var> format. Accepts `* / * ` to specify |
+ * "all types in all namespaces". |
+ * |
* [projectId] - The project id to list beacon attachments under. This field |
* can be |
* used when "*" is specified to mean all attachment namespaces. Projects |
@@ -931,11 +936,6 @@ class BeaconsAttachmentsResourceApi { |
* making the request is used. |
* Optional. |
* |
- * [namespacedType] - Specifies the namespace and type of attachment to |
- * include in response in |
- * <var>namespace/type</var> format. Accepts `* / * ` to specify |
- * "all types in all namespaces". |
- * |
* Completes with a [ListBeaconAttachmentsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -944,7 +944,7 @@ class BeaconsAttachmentsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListBeaconAttachmentsResponse> list(core.String beaconName, {core.String projectId, core.String namespacedType}) { |
+ async.Future<ListBeaconAttachmentsResponse> list(core.String beaconName, {core.String namespacedType, core.String projectId}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -955,12 +955,12 @@ class BeaconsAttachmentsResourceApi { |
if (beaconName == null) { |
throw new core.ArgumentError("Parameter beaconName is required."); |
} |
- if (projectId != null) { |
- _queryParams["projectId"] = [projectId]; |
- } |
if (namespacedType != null) { |
_queryParams["namespacedType"] = [namespacedType]; |
} |
+ if (projectId != null) { |
+ _queryParams["projectId"] = [projectId]; |
+ } |
_url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$beaconName') + '/attachments'; |