@google/earthengine 0.1.389 → 0.1.391

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/earthengine",
3
- "version": "0.1.389",
3
+ "version": "0.1.391",
4
4
  "description": "JavaScript client for Google Earth Engine API.",
5
5
  "author": "Google LLC",
6
6
  "license": "Apache-2.0",
package/src/apiclient.js CHANGED
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues');
24
24
  /** @namespace */
25
25
  const apiclient = {};
26
26
 
27
- const API_CLIENT_VERSION = '0.1.389';
27
+ const API_CLIENT_VERSION = '0.1.391';
28
28
 
29
29
  exports.VERSION = apiVersion.VERSION;
30
30
  exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
package/src/batch.js CHANGED
@@ -132,7 +132,8 @@ class ExportTask {
132
132
  Export.image.toAsset = function(
133
133
  image, opt_description, opt_assetId, opt_pyramidingPolicy, opt_dimensions,
134
134
  opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels,
135
- opt_shardSize) {
135
+ opt_shardSize,
136
+ ) {
136
137
  const clientConfig =
137
138
  eeArguments.extractFromFunction(Export.image.toAsset, arguments);
138
139
  const serverConfig = Export.convertToServerParams(
@@ -164,7 +165,8 @@ Export.image.toCloudStorage = function(
164
165
  image, opt_description, opt_bucket, opt_fileNamePrefix, opt_dimensions,
165
166
  opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels,
166
167
  opt_shardSize, opt_fileDimensions, opt_skipEmptyTiles, opt_fileFormat,
167
- opt_formatOptions) {
168
+ opt_formatOptions,
169
+ ) {
168
170
  const clientConfig =
169
171
  eeArguments.extractFromFunction(Export.image.toCloudStorage, arguments);
170
172
  const serverConfig = Export.convertToServerParams(
@@ -196,7 +198,8 @@ Export.image.toDrive = function(
196
198
  image, opt_description, opt_folder, opt_fileNamePrefix, opt_dimensions,
197
199
  opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels,
198
200
  opt_shardSize, opt_fileDimensions, opt_skipEmptyTiles, opt_fileFormat,
199
- opt_formatOptions) {
201
+ opt_formatOptions,
202
+ ) {
200
203
  const clientConfig =
201
204
  eeArguments.extractFromFunction(Export.image.toDrive, arguments);
202
205
  const serverConfig = Export.convertToServerParams(
@@ -225,7 +228,8 @@ Export.image.toDrive = function(
225
228
  Export.map.toCloudStorage = function(
226
229
  image, opt_description, opt_bucket, opt_fileFormat, opt_path,
227
230
  opt_writePublicTiles, opt_scale, opt_maxZoom, opt_minZoom, opt_region,
228
- opt_skipEmptyTiles, opt_mapsApiKey, opt_bucketCorsUris) {
231
+ opt_skipEmptyTiles, opt_mapsApiKey, opt_bucketCorsUris,
232
+ ) {
229
233
  const clientConfig =
230
234
  eeArguments.extractFromFunction(Export.map.toCloudStorage, arguments);
231
235
  const serverConfig = Export.convertToServerParams(
@@ -247,7 +251,8 @@ Export.map.toCloudStorage = function(
247
251
  */
248
252
  Export.table.toCloudStorage = function(
249
253
  collection, opt_description, opt_bucket, opt_fileNamePrefix, opt_fileFormat,
250
- opt_selectors, opt_maxVertices) {
254
+ opt_selectors, opt_maxVertices,
255
+ ) {
251
256
  const clientConfig =
252
257
  eeArguments.extractFromFunction(Export.table.toCloudStorage, arguments);
253
258
  const serverConfig = Export.convertToServerParams(
@@ -269,7 +274,8 @@ Export.table.toCloudStorage = function(
269
274
  */
270
275
  Export.table.toDrive = function(
271
276
  collection, opt_description, opt_folder, opt_fileNamePrefix, opt_fileFormat,
272
- opt_selectors, opt_maxVertices) {
277
+ opt_selectors, opt_maxVertices,
278
+ ) {
273
279
  const clientConfig =
274
280
  eeArguments.extractFromFunction(Export.table.toDrive, arguments);
275
281
  clientConfig['type'] = ExportType.TABLE;
@@ -288,7 +294,8 @@ Export.table.toDrive = function(
288
294
  * @export
289
295
  */
290
296
  Export.table.toAsset = function(
291
- collection, opt_description, opt_assetId, opt_maxVertices) {
297
+ collection, opt_description, opt_assetId, opt_maxVertices,
298
+ ) {
292
299
  const clientConfig =
293
300
  eeArguments.extractFromFunction(Export.table.toAsset, arguments);
294
301
  const serverConfig = Export.convertToServerParams(
@@ -310,7 +317,8 @@ Export.table.toAsset = function(
310
317
  */
311
318
  Export.table.toFeatureView = function(
312
319
  collection, opt_description, opt_assetId, opt_maxFeaturesPerTile,
313
- opt_thinningStrategy, opt_thinningRanking, opt_zOrderRanking) {
320
+ opt_thinningStrategy, opt_thinningRanking, opt_zOrderRanking,
321
+ ) {
314
322
  const clientConfig =
315
323
  eeArguments.extractFromFunction(Export.table.toFeatureView, arguments);
316
324
  const serverConfig = Export.convertToServerParams(
@@ -332,7 +340,8 @@ Export.table.toFeatureView = function(
332
340
  */
333
341
  Export.table.toBigQuery = function(
334
342
  collection, opt_description, opt_table, opt_overwrite, opt_append,
335
- opt_selectors, opt_maxVertices) {
343
+ opt_selectors, opt_maxVertices,
344
+ ) {
336
345
  const clientConfig =
337
346
  eeArguments.extractFromFunction(Export.table.toBigQuery, arguments);
338
347
  const serverConfig = Export.convertToServerParams(
@@ -360,7 +369,8 @@ Export.table.toBigQuery = function(
360
369
  Export.video.toCloudStorage = function(
361
370
  collection, opt_description, opt_bucket, opt_fileNamePrefix,
362
371
  opt_framesPerSecond, opt_dimensions, opt_region, opt_scale, opt_crs,
363
- opt_crsTransform, opt_maxPixels, opt_maxFrames) {
372
+ opt_crsTransform, opt_maxPixels, opt_maxFrames,
373
+ ) {
364
374
  const clientConfig =
365
375
  eeArguments.extractFromFunction(Export.video.toCloudStorage, arguments);
366
376
  const serverConfig = Export.convertToServerParams(
@@ -388,7 +398,8 @@ Export.video.toCloudStorage = function(
388
398
  Export.video.toDrive = function(
389
399
  collection, opt_description, opt_folder, opt_fileNamePrefix,
390
400
  opt_framesPerSecond, opt_dimensions, opt_region, opt_scale, opt_crs,
391
- opt_crsTransform, opt_maxPixels, opt_maxFrames) {
401
+ opt_crsTransform, opt_maxPixels, opt_maxFrames,
402
+ ) {
392
403
  const clientConfig =
393
404
  eeArguments.extractFromFunction(Export.video.toDrive, arguments);
394
405
  const serverConfig = Export.convertToServerParams(
@@ -403,7 +414,8 @@ Export.video.toDrive = function(
403
414
  * @return {!ExportTask}
404
415
  * @export
405
416
  */
406
- Export.classifier.toAsset = function(classifier, opt_description, opt_assetId) {
417
+ Export.classifier.toAsset = function(classifier, opt_description, opt_assetId,
418
+ ) {
407
419
  const clientConfig =
408
420
  eeArguments.extractFromFunction(Export.classifier.toAsset, arguments);
409
421
  const serverConfig = Export.convertToServerParams(
@@ -754,7 +766,7 @@ Export.videoMap.prepareTaskConfig_ = function(taskConfig, destination) {
754
766
  * Adapts a ServerTaskConfig into a ClassifierTaskConfig normalizing any params
755
767
  * for a classifier task.
756
768
  *
757
- * @param {!ServerTaskConfig} taskConfig VideoMap export config to
769
+ * @param {!ServerTaskConfig} taskConfig Classifier export config to
758
770
  * prepare.
759
771
  * @param {!data.ExportDestination} destination Export destination.
760
772
  * @return {!data.ClassifierTaskConfig}
@@ -964,7 +976,7 @@ Export.reconcileMapFormat = function(taskConfig) {
964
976
  * @return {!ServerTaskConfig}
965
977
  */
966
978
  Export.reconcileTableFormat = function(taskConfig) {
967
- // Parse the image file format from the given task config.
979
+ // Parse the table file format from the given task config.
968
980
  let formatString = taskConfig['fileFormat'];
969
981
  // If not specified assume the format is CSV.
970
982
  if (formatString == null) {
package/src/data.js CHANGED
@@ -370,24 +370,50 @@ ee.data.getAlgorithms = function(opt_callback) {
370
370
  * @param {!ee.data.ImageVisualizationParameters} params
371
371
  * The visualization parameters as a (client-side) JavaScript object.
372
372
  * For Images and ImageCollections:
373
- * - image (JSON string) The image to render.
374
- * - version (number) Version number of image (or latest).
375
- * - bands (comma-separated strings) Comma-delimited list of
376
- * band names to be mapped to RGB.
377
- * - min (comma-separated numbers) Value (or one per band)
378
- * to map onto 00.
379
- * - max (comma-separated numbers) Value (or one per band)
380
- * to map onto FF.
381
- * - gain (comma-separated numbers) Gain (or one per band)
382
- * to map onto 00-FF.
383
- * - bias (comma-separated numbers) Offset (or one per band)
384
- * to map onto 00-FF.
385
- * - gamma (comma-separated numbers) Gamma correction
386
- * factor (or one per band)
387
- * - palette (comma-separated strings) List of CSS-style color
388
- * strings (single-band previews only).
389
- * - opacity (number) a number between 0 and 1 for opacity.
390
- * - format (string) Either "jpg" or "png".
373
+ * <table>
374
+ * <tr>
375
+ * <td><code> image </code> (JSON string) The image to render.</td>
376
+ * </tr>
377
+ * <tr>
378
+ * <td><code> version </code> (number) Version number of
379
+ * image (or latest).</td>
380
+ * </tr>
381
+ * <tr>
382
+ * <td><code> bands </code> (comma-separated strings) Comma-delimited
383
+ * list of band names to be mapped to RGB.</td>
384
+ * </tr>
385
+ * <tr>
386
+ * <td><code> min </code> (comma-separated numbers) Value (or one
387
+ * per band) to map onto 00.</td>
388
+ * </tr>
389
+ * <tr>
390
+ * <td><code> max </code> (comma-separated numbers) Value (or one
391
+ * per band) to map onto FF.</td>
392
+ * </tr>
393
+ * <tr>
394
+ * <td><code> gain </code> (comma-separated numbers) Gain (or one
395
+ * per band) to map onto 00-FF.</td>
396
+ * </tr>
397
+ * <tr>
398
+ * <td><code> bias </code> (comma-separated numbers) Offset (or one
399
+ * per band) to map onto 00-FF.</td>
400
+ * </tr>
401
+ * <tr>
402
+ * <td><code> gamma </code> (comma-separated numbers) Gamma correction
403
+ * factor (or one per band).</td>
404
+ * </tr>
405
+ * <tr>
406
+ * <td><code> palette </code> (comma-separated strings) List of
407
+ * CSS-style color strings (single-band previews only).</td>
408
+ * </tr>
409
+ * <tr>
410
+ * <td><code> opacity </code> (number) a number between 0 and 1 for
411
+ * opacity.</td>
412
+ * </tr>
413
+ * <tr>
414
+ * <td><code> format </code> (string) Either "jpg" or "png".</td>
415
+ * </tr>
416
+ * </table>
391
417
  * @param {function(?ee.data.RawMapId, string=)=} opt_callback
392
418
  * An optional callback. If not supplied, the call is made synchronously.
393
419
  * @return {?ee.data.RawMapId} The mapId call results, which may be passed to
@@ -487,8 +513,16 @@ ee.data.makeMapId_ = function(mapid, token, opt_urlFormat = '') {
487
513
  * @param {!ee.data.FeatureViewVisualizationParameters} params
488
514
  * The visualization parameters as a (client-side) JavaScript object.
489
515
  * For FeatureView assets:
490
- * - assetId (string) The asset ID for which to obtain a tiles key.
491
- * - visParams (Object) The visualization parameters for this layer.
516
+ * <table>
517
+ * <tr>
518
+ * <td><code> assetId </code> (string) The asset ID for which to
519
+ * obtain a tiles key.</td>
520
+ * </tr>
521
+ * <tr>
522
+ * <td><code> visParams </code> (Object) The visualization parameters
523
+ * for this layer.</td>
524
+ * </tr>
525
+ * </table>
492
526
  * @param {function(?ee.data.FeatureViewTilesKey, string=)=} opt_callback An
493
527
  * optional callback. If not supplied, the call is made synchronously.
494
528
  * @return {?ee.data.FeatureViewTilesKey} The call results. Null if a callback
@@ -527,14 +561,27 @@ ee.data.getFeatureViewTilesKey = function(params, opt_callback) {
527
561
  * @param {string} asset The table asset ID to query.
528
562
  * @param {!ee.api.ProjectsAssetsListFeaturesNamedParameters} params An object
529
563
  * containing request parameters with the following possible values:
530
- * - pageSize (number): An optional maximum number of results per page,
531
- * default is 1000.
532
- * - pageToken (string): An optional token identifying a page of results the
533
- * server should return, usually taken from the response object.
534
- * - region (string): If present, a geometry defining a query region,
535
- * specified as a GeoJSON geometry string (see RFC 7946).
536
- * - filter (comma-separated strings): If present, specifies additional
537
- * simple property filters (see https://google.aip.dev/160).
564
+ * <table>
565
+ * <tr>
566
+ * <td><code> pageSize </code> (number): An optional maximum number of
567
+ * results per page, default is 1000.</td>
568
+ * </tr>
569
+ * <tr>
570
+ * <td><code> pageToken </code> (string): An optional token identifying
571
+ * a page of results the server should return, usually taken from the
572
+ * response object.</td>
573
+ * </tr>
574
+ * <tr>
575
+ * <td><code> region </code> (string): If present, a geometry defining
576
+ * a query region, specified as a GeoJSON geometry
577
+ * string (see RFC 7946).</td>
578
+ * </tr>
579
+ * <tr>
580
+ * <td><code> filter </code> (comma-separated strings): If present,
581
+ * specifies additional simple property
582
+ * filters (see https://google.aip.dev/160).</td>
583
+ * </tr>
584
+ * </table>
538
585
  * @param {function(?ee.api.ListFeaturesResponse, string=)=} opt_callback An
539
586
  * optional callback, called with two parameters: the first is the resulting
540
587
  * list of features and the second is an error string on failure. If not
@@ -581,10 +628,23 @@ ee.data.computeValue = function(obj, opt_callback) {
581
628
  * Get a Thumbnail Id for a given asset.
582
629
  * @param {!ee.data.ThumbnailOptions} params An object containing thumbnail
583
630
  * options with the following possible values:
584
- * - image (ee.Image) The image to make a thumbnail.
585
- * - bands (array of strings) An array of band names.
586
- * - format (string) The file format ("png", "jpg", "geotiff").
587
- * - name (string): The base name.
631
+ * <table>
632
+ * <tr>
633
+ * <td><code> image </code> (ee.Image) The image to make a
634
+ * thumbnail.</td>
635
+ * </tr>
636
+ * <tr>
637
+ * <td><code> bands </code> (array of strings) An array of band
638
+ * names.</td>
639
+ * </tr>
640
+ * <tr>
641
+ * <td><code> format </code> (string) The file
642
+ * format ("png", "jpg", "geotiff").</td>
643
+ * </tr>
644
+ * <tr>
645
+ * <td><code> name </code> (string): The base name.</td>
646
+ * </tr>
647
+ * </table>
588
648
  * Use ee.Image.getThumbURL for region, dimensions, and visualization
589
649
  * options support.
590
650
  * @param {function(?ee.data.ThumbnailId, string=)=} opt_callback
@@ -734,44 +794,76 @@ ee.data.makeThumbUrl = function(id) {
734
794
  *
735
795
  * @param {!Object} params An object containing download options with the
736
796
  * following possible values:
737
- * - image: The image to download.
738
- * - name: a base name to use when constructing filenames. Only applicable
739
- * when format is "ZIPPED_GEO_TIFF" (default) or filePerBand is true.
740
- * Defaults to the image id (or "download" for computed images) when
741
- * format is "ZIPPED_GEO_TIFF" or filePerBand is true, otherwise a
742
- * random character string is generated. Band names are appended when
743
- * filePerBand is true.
744
- * - bands: a description of the bands to download. Must be an array of band
745
- * names or an array of dictionaries, each with the following keys
746
- * (optional parameters apply only when filePerBand is true):
747
- * + id: the name of the band, a string, required.
748
- * + crs: an optional CRS string defining the band projection.
749
- * + crs_transform: an optional array of 6 numbers specifying an affine
750
- * transform from the specified CRS, in row-major order:
751
- * [xScale, xShearing, xTranslation, yShearing, yScale, yTranslation]
752
- * + dimensions: an optional array of two integers defining the width and
753
- * height to which the band is cropped.
754
- * + scale: an optional number, specifying the scale in meters of the band;
755
- * ignored if crs and crs_transform are specified.
756
- * - crs: a default CRS string to use for any bands that do not explicitly
757
- * specify one.
758
- * - crs_transform: a default affine transform to use for any bands that do
759
- * not specify one, of the same format as the crs_transform of bands.
760
- * - dimensions: default image cropping dimensions to use for any bands that
761
- * do not specify them.
762
- * - scale: a default scale to use for any bands that do not specify one;
763
- * ignored if crs and crs_transform are specified.
764
- * - region: a polygon specifying a region to download; ignored if crs
765
- * and crs_transform is specified.
766
- * - filePerBand: whether to produce a separate GeoTIFF per band (boolean).
767
- * Defaults to true. If false, a single GeoTIFF is produced and all
768
- * band-level transformations will be ignored.
769
- * - format: the download format. One of: "ZIPPED_GEO_TIFF" (GeoTIFF file(s)
770
- * wrapped in a zip file, default), "GEO_TIFF" (GeoTIFF file),
771
- * "NPY" (NumPy binary format). If "GEO_TIFF" or "NPY", filePerBand
772
- * and all band-level transformations will be ignored. Loading a NumPy
773
- * output results in a structured array.
774
- * - id: deprecated, use image parameter.
797
+ * <table>
798
+ * <tr>
799
+ * <td><code> name: </code> a base name to use when constructing
800
+ * filenames. Only applicable when format is "ZIPPED_GEO_TIFF" (default)
801
+ * or filePerBand is true. Defaults to the image id (or "download" for
802
+ * computed images) when format is "ZIPPED_GEO_TIFF" or filePerBand is
803
+ * true, otherwise a random character string is generated. Band names
804
+ * are appended when filePerBand is true.</td>
805
+ * </tr>
806
+ * <tr>
807
+ * <td><code> bands: </code> a description of the bands to download. Must
808
+ * be an array of band names or an array of dictionaries, each with the
809
+ * following keys (optional parameters apply only when filePerBand is
810
+ * true):<ul style="list-style-type:none;">
811
+ * <li><code> id: </code> the name of the band, a string, required.
812
+ * <li><code> crs: </code> an optional CRS string defining the
813
+ * band projection.</li>
814
+ * <li><code> crs_transform: </code> an optional array of 6 numbers
815
+ * specifying an affine transform from the specified CRS, in
816
+ * row-major order: [xScale, xShearing, xTranslation, yShearing,
817
+ * yScale, yTranslation]</li>
818
+ * <li><code> dimensions: </code> an optional array of two integers
819
+ * defining the width and height to which the band is cropped.</li>
820
+ * <li><code> scale: </code> an optional number, specifying the scale
821
+ * in meters of the band; ignored if crs and crs_transform are
822
+ * specified.</li></ul></td>
823
+ * </tr>
824
+ * <tr>
825
+ * <td><code> crs: </code> a default CRS string to use for any bands that
826
+ * do not explicitly specify one.</td>
827
+ * </tr>
828
+ * <tr>
829
+ * <td><code> crs_transform: </code> a default affine transform to use for
830
+ * any bands that do not specify one, of the same format as the
831
+ * <code>crs_transform</code> of bands.</td>
832
+ * </tr>
833
+ * <tr>
834
+ * <td><code> dimensions: </code> default image cropping dimensions to use
835
+ * for any bands that do not specify them.</td>
836
+ * </tr>
837
+ * <tr>
838
+ * <td><code> scale: </code> a default scale to use for any bands that do
839
+ * not specify one; ignored if <code>crs</code> and
840
+ * <code>crs_transform</code> are specified.</td>
841
+ * </tr>
842
+ * <tr>
843
+ * <td><code> region: </code> a polygon specifying a region to download;
844
+ * ignored if <code>crs</code> and <code>crs_transform</code> is
845
+ * specified.</td>
846
+ * </tr>
847
+ * <tr>
848
+ * <td><code> filePerBand: </code> whether to produce a separate GeoTIFF
849
+ * per band (boolean). Defaults to true. If false, a single GeoTIFF is
850
+ * produced and all band-level transformations will be ignored.</td>
851
+ * </tr>
852
+ * <tr>
853
+ * <td><code> format: </code> the download format. One of:
854
+ * <ul>
855
+ * <li> "ZIPPED_GEO_TIFF" (GeoTIFF file(s) wrapped in a zip file,
856
+ * default)</li>
857
+ * <li> "GEO_TIFF" (GeoTIFF file)</li>
858
+ * <li> "NPY" (NumPy binary format)</li>
859
+ * </ul>
860
+ * If "GEO_TIFF" or "NPY", filePerBand and all band-level
861
+ * transformations will be ignored. Loading a NumPy output results in
862
+ * a structured array.</td>
863
+ * </tr>
864
+ * <tr>
865
+ * <td><code> id: </code> deprecated, use image parameter.</td>
866
+ * </table>
775
867
  * @param {function(?ee.data.DownloadId, string=)=} opt_callback An optional
776
868
  * callback. If not supplied, the call is made synchronously.
777
869
  * @return {?ee.data.DownloadId} A download id and token, or null if a callback
@@ -882,11 +974,23 @@ ee.data.makeDownloadUrl = function(id) {
882
974
  * Get a download ID.
883
975
  * @param {!Object} params An object containing table download options with the
884
976
  * following possible values:
885
- * - table: The feature collection to download.
886
- * - format: The download format, CSV, JSON, KML, KMZ or TF_RECORD.
887
- * - selectors: List of strings of selectors that can be used to
888
- * determine which attributes will be downloaded.
889
- * - filename: The name of the file that will be downloaded.
977
+ * <table>
978
+ * <tr>
979
+ * <td><code> table: </code> The feature collection to download.</td>
980
+ * </tr>
981
+ * <tr>
982
+ * <td><code> format: </code> The download format, CSV, JSON, KML,
983
+ * KMZ or TF_RECORD.</td>
984
+ * </tr>
985
+ * <tr>
986
+ * <td><code> selectors: </code> List of strings of selectors that can
987
+ * be used to determine which attributes will be downloaded.</td>
988
+ * </tr>
989
+ * <tr>
990
+ * <td><code> filename: </code> The name of the file that will
991
+ * be downloaded.</td>
992
+ * </tr>
993
+ * </table>
890
994
  * @param {function(?ee.data.DownloadId, string=)=} opt_callback An optional
891
995
  * callback. If not supplied, the call is made synchronously.
892
996
  * @return {?ee.data.DownloadId} A download id and token, or null if a
@@ -1601,17 +1705,31 @@ ee.data.getList = function(params, opt_callback) {
1601
1705
  * @param {string} parent The ID of the collection or folder to list.
1602
1706
  * @param {!ee.api.ProjectsAssetsListAssetsNamedParameters=} opt_params An
1603
1707
  * object containing optional request parameters with the following
1604
- * possible values:
1605
- * - pageSize (string) The number of results to return. Defaults to 1000.
1606
- * - pageToken (string) The token for the page of results to return.
1607
- * - filter (string) An additional filter query to apply. Example query:
1608
- * `properties.my_property>=1 AND properties.my_property<2 AND
1609
- * startTime >= "2019-01-01T00:00:00.000Z" AND
1610
- * endTime < "2020-01-01T00:00:00.000Z" AND
1611
- * intersects("{'type':'Point','coordinates':[0,0]}")`
1612
- * See https://google.aip.dev/160 for how to construct a query.
1613
- * - view (string) Specifies how much detail is returned in the list.
1614
- * Either "FULL" (default) for all image properties or "BASIC".
1708
+ * possible values:
1709
+ * <table>
1710
+ * <tr>
1711
+ * <td><code> pageSize </code> (string) The number of results to
1712
+ * return. Defaults to 1000.</td>
1713
+ * </tr>
1714
+ * <tr>
1715
+ * <td><code> pageToken </code> (string) The token for the page of
1716
+ * results to return.</td>
1717
+ * </tr>
1718
+ * <tr>
1719
+ * <td><code> filter </code> (string) An additional filter query to
1720
+ * apply. Example query: <code>properties.my_property&gt;=1 AND
1721
+ * properties.my_property&lt;2 AND
1722
+ * startTime &gt;= "2019-01-01T00:00:00.000Z" AND
1723
+ * endTime &lt; "2020-01-01T00:00:00.000Z" AND
1724
+ * intersects("{'type':'Point','coordinates':[0,0]}")</code>
1725
+ * See https://google.aip.dev/160 for how to construct a query.</td>
1726
+ * </tr>
1727
+ * <tr>
1728
+ * <td><code> view </code> (string) Specifies how much detail is
1729
+ * returned in the list. Either "FULL" (default) for all image
1730
+ * properties or "BASIC".</td>
1731
+ * </tr>
1732
+ * </table>
1615
1733
  * @param {function(?ee.api.ListAssetsResponse, string=)=}
1616
1734
  * opt_callback If not supplied, the call is made synchronously.
1617
1735
  * @return {?ee.api.ListAssetsResponse}
@@ -1632,21 +1750,47 @@ ee.data.listAssets = function(
1632
1750
  * @param {string} parent The ID of the image collection to list.
1633
1751
  * @param {!Object=} opt_params An object containing optional request
1634
1752
  * parameters with the following possible values:
1635
- * - pageSize (string) The number of results to return. Defaults to 1000.
1636
- * - pageToken (string) The token page of results to return.
1637
- * - startTime (ISO 8601 string) The minimum start time (inclusive).
1638
- * - endTime (ISO 8601 string) The maximum end time (exclusive).
1639
- * - region (GeoJSON or WKT string) A region to filter on.
1640
- * - properties (list of strings) A list of property filters to apply,
1641
- * for example: ["classification=urban", "size>=2"].
1642
- * - filter (string) An additional filter query to apply. Example query:
1643
- * `properties.my_property>=1 AND properties.my_property<2 AND
1644
- * startTime >= "2019-01-01T00:00:00.000Z" AND
1645
- * endTime < "2020-01-01T00:00:00.000Z" AND
1646
- * intersects("{'type':'Point','coordinates':[0,0]}")`
1647
- * See https://google.aip.dev/160 for how to construct a query.
1648
- * - view (string) Specifies how much detail is returned in the list.
1649
- * Either "FULL" (default) for all image properties or "BASIC".
1753
+ * <table>
1754
+ * <tr>
1755
+ * <td><code> pageSize </code> (string) The number of results to return.
1756
+ * Defaults to 1000.</td>
1757
+ * </tr>
1758
+ * <tr>
1759
+ * <td><code> pageToken </code> (string) The token page of results to
1760
+ * return.</td>
1761
+ * </tr>
1762
+ * <tr>
1763
+ * <td><code> startTime </code> (ISO 8601 string) The minimum start
1764
+ * time (inclusive).</td>
1765
+ * </tr>
1766
+ * <tr>
1767
+ * <td><code> endTime </code> (ISO 8601 string) The maximum end
1768
+ * time (exclusive).</td>
1769
+ * </tr>
1770
+ * <tr>
1771
+ * <td><code> region </code> (GeoJSON or WKT string) A region to filter
1772
+ * on.</td>
1773
+ * </tr>
1774
+ * <tr>
1775
+ * <td><code> properties </code> (list of strings) A list of property
1776
+ * filters to apply, for example:
1777
+ * ["classification=urban", "size&gt;=2"].</td>
1778
+ * </tr>
1779
+ * <tr>
1780
+ * <td><code> filter </code> (string) An additional filter query to
1781
+ * apply. Example query: <code>properties.my_property&gt;=1 AND
1782
+ * properties.my_property&lt;2 AND
1783
+ * startTime &gt;= "2019-01-01T00:00:00.000Z" AND
1784
+ * endTime &lt; "2020-01-01T00:00:00.000Z" AND
1785
+ * intersects("{'type':'Point','coordinates':[0,0]}")</code>
1786
+ * See https://google.aip.dev/160 for how to construct a query.</td>
1787
+ * </tr>
1788
+ * <tr>
1789
+ * <td><code> view </code> (string) Specifies how much detail is
1790
+ * returned in the list. Either "FULL" (default) for all image
1791
+ * properties or "BASIC".</td>
1792
+ * </tr>
1793
+ * </table>
1650
1794
  * @param {function(?ee.data.ListImagesResponse, string=)=}
1651
1795
  * opt_callback If not supplied, the call is made synchronously.
1652
1796
  * @return {?ee.data.ListImagesResponse}
@@ -3350,6 +3494,7 @@ ee.data.AbstractTaskConfig;
3350
3494
  * assetId: (undefined|string),
3351
3495
  * pyramidingPolicy: (undefined|string),
3352
3496
  * workloadTag: (undefined|string),
3497
+ * priority: (undefined|number),
3353
3498
  * }}
3354
3499
  */
3355
3500
  ee.data.ImageTaskConfigUnformatted;
@@ -3394,6 +3539,7 @@ ee.data.ImageTaskConfigUnformatted;
3394
3539
  * assetId: (undefined|string),
3395
3540
  * pyramidingPolicy: (undefined|string),
3396
3541
  * workloadTag: (undefined|string),
3542
+ * priority: (undefined|number),
3397
3543
  * }}
3398
3544
  */
3399
3545
  ee.data.ImageTaskConfig;
@@ -3445,6 +3591,7 @@ ee.data.ImageExportFormatConfig;
3445
3591
  * mapsApiKey: (undefined|string),
3446
3592
  * generateEarthHtml: (undefined|boolean),
3447
3593
  * workloadTag: (undefined|string),
3594
+ * priority: (undefined|number),
3448
3595
  * }}
3449
3596
  */
3450
3597
  ee.data.MapTaskConfig;
@@ -3462,6 +3609,7 @@ ee.data.MapTaskConfig;
3462
3609
  * assetId: (undefined|string),
3463
3610
  * maxWorkers: (undefined|number),
3464
3611
  * workloadTag: (undefined|string),
3612
+ * priority: (undefined|number),
3465
3613
  * }}
3466
3614
  */
3467
3615
  ee.data.ClassifierTaskConfig;
@@ -3483,6 +3631,7 @@ ee.data.ClassifierTaskConfig;
3483
3631
  * thinningRanking: (undefined|string|!Array<string>),
3484
3632
  * zOrderRanking: (undefined|string|!Array<string>),
3485
3633
  * workloadTag: (undefined|string),
3634
+ * priority: (undefined|number),
3486
3635
  * }}
3487
3636
  */
3488
3637
  ee.data.FeatureViewTaskConfig;
@@ -3503,6 +3652,7 @@ ee.data.FeatureViewTaskConfig;
3503
3652
  * maxWorkers: (undefined|number),
3504
3653
  * maxVertices: (undefined|number),
3505
3654
  * workloadTag: (undefined|string),
3655
+ * priority: (undefined|number),
3506
3656
  * }}
3507
3657
  */
3508
3658
  ee.data.BigQueryTaskConfig;
@@ -3527,6 +3677,7 @@ ee.data.BigQueryTaskConfig;
3527
3677
  * maxWorkers: (undefined|number),
3528
3678
  * maxVertices: (undefined|number),
3529
3679
  * workloadTag: (undefined|string),
3680
+ * priority: (undefined|number),
3530
3681
  * }}
3531
3682
  */
3532
3683
  ee.data.TableTaskConfig;
@@ -3555,6 +3706,7 @@ ee.data.TableTaskConfig;
3555
3706
  * outputBucket: (undefined|string),
3556
3707
  * outputPrefix: (undefined|string),
3557
3708
  * workloadTag: (undefined|string),
3709
+ * priority: (undefined|number),
3558
3710
  * }}
3559
3711
  */
3560
3712
  ee.data.VideoTaskConfig;
@@ -26,13 +26,13 @@ type Primitive = string | number | boolean | null | undefined;
26
26
  export type DeepPartialISerializable<T> = T extends Primitive
27
27
  ? Partial<T>
28
28
  : T extends ISerializable
29
- ? Omit<
30
- {[K in keyof T]?: DeepPartialISerializable<T[K]>},
31
- keyof ISerializable | 'getPartialClassMetadata'
32
- >
33
- : T extends object
34
- ? {[K in keyof T]?: DeepPartialISerializable<T[K]>}
35
- : unknown;
29
+ ? Omit<
30
+ {[K in keyof T]?: DeepPartialISerializable<T[K]>},
31
+ keyof ISerializable | 'getPartialClassMetadata'
32
+ >
33
+ : T extends object
34
+ ? {[K in keyof T]?: DeepPartialISerializable<T[K]>}
35
+ : unknown;
36
36
 
37
37
  /**
38
38
  * Description of the properties in a Serializable class.