| 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 825f1c1af7e417530efa380f7cce516e8adc0558..49ed064d6c5ca707ef01f4062b723067bf4fcdac 100644
|
| --- a/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
|
| +++ b/generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart
|
| @@ -42,7 +42,7 @@ class BeaconinfoResourceApi {
|
| * Given one or more beacon observations, returns any beacon information
|
| * and attachments accessible to your application. Authorize by using the
|
| * [API
|
| - * key](https://developers.google.com/beacons/proximity/how-tos/authorizing#APIKey)
|
| + * key](https://developers.google.com/beacons/proximity/get-started#request_a_browser_api_key)
|
| * for the application.
|
| *
|
| * [request] - The metadata request object.
|
| @@ -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';
|
|
|
|
|