docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/poly_v1.users.assets.html b/docs/dyn/poly_v1.users.assets.html
index 9999add..0d77477 100644
--- a/docs/dyn/poly_v1.users.assets.html
+++ b/docs/dyn/poly_v1.users.assets.html
@@ -75,14 +75,14 @@
<h1><a href="poly_v1.html">Poly API</a> . <a href="poly_v1.users.html">users</a> . <a href="poly_v1.users.assets.html">assets</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#list">list(name, pageSize=None, visibility=None, orderBy=None, format=None, pageToken=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(name, format=None, pageToken=None, pageSize=None, visibility=None, orderBy=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists assets authored by the given user. Only the value 'me', representing</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="list">list(name, pageSize=None, visibility=None, orderBy=None, format=None, pageToken=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(name, format=None, pageToken=None, pageSize=None, visibility=None, orderBy=None, x__xgafv=None)</code>
<pre>Lists assets authored by the given user. Only the value 'me', representing
the currently-authenticated user, is supported. May include assets with an
access level of PRIVATE or
@@ -94,6 +94,12 @@
name: string, A valid user id. Currently, only the special value 'me', representing the
currently-authenticated user is supported. To use 'me', you must pass
an OAuth token with the request. (required)
+ format: string, Return only assets with the matching format. Acceptable values are:
+`BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
+ pageToken: string, Specifies a continuation token from a previous search whose results were
+split into multiple pages. To get the next page, submit the same request
+specifying the value from
+next_page_token.
pageSize: integer, The maximum number of assets to be returned. This value must be between `1`
and `100`. Defaults to `20`.
visibility: string, The visibility of the assets to be returned.
@@ -103,12 +109,6 @@
orderBy: string, Specifies an ordering for assets. Acceptable values are:
`BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
based on a combination of popularity and other features.
- format: string, Return only assets with the matching format. Acceptable values are:
-`BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
- pageToken: string, Specifies a continuation token from a previous search whose results were
-split into multiple pages. To get the next page, submit the same request
-specifying the value from
-next_page_token.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -125,10 +125,13 @@
# or scene created using [Tilt Brush](//www.tiltbrush.com),
# [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file
# that can be upload to Poly.
- "displayName": "A String", # The human-readable name, set by the asset's author.
- "updateTime": "A String", # The time when the asset was last modified. For published assets, whose
- # contents are immutable, the update time changes only when metadata
- # properties, such as visibility, are updated.
+ "remixInfo": { # Info about the sources of this asset (i.e. assets that were remixed to # The remix info for the asset.
+ # create this asset).
+ "sourceAsset": [ # Resource ids for the sources of this remix, of the form:
+ # `assets/{ASSET_ID}`
+ "A String",
+ ],
+ },
"thumbnail": { # Represents a file in Poly, which can be a root, # The thumbnail image for the asset.
# resource, or thumbnail file.
"relativePath": "A String", # The path of the resource file relative to the
@@ -140,24 +143,17 @@
# types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
"url": "A String", # The URL where the file data can be retrieved.
},
- "remixInfo": { # Info about the sources of this asset (i.e. assets that were remixed to # The remix info for the asset.
- # create this asset).
- "sourceAsset": [ # Resource ids for the sources of this remix, of the form:
- # `assets/{ASSET_ID}`
- "A String",
- ],
- },
"visibility": "A String", # The visibility of the asset and who can access it.
"name": "A String", # The unique identifier for the asset in the form:
# `assets/{ASSET_ID}`.
"isCurated": True or False, # Whether this asset has been curated by the Poly team.
"description": "A String", # The human-readable description, set by the asset's author.
+ "createTime": "A String", # For published assets, the time when the asset was published.
+ # For unpublished assets, the time when the asset was created.
"metadata": "A String", # Application-defined opaque metadata for this asset. This field is only
# returned when querying for the signed-in user's own assets, not for public
# assets. This string is limited to 1K chars. It is up to the creator of
# the asset to define the format for this string (for example, JSON).
- "createTime": "A String", # For published assets, the time when the asset was published.
- # For unpublished assets, the time when the asset was created.
"formats": [ # A list of Formats where each
# format describes one representation of the asset.
{ # The same asset can be represented in different formats, for example,
@@ -166,22 +162,6 @@
# with its corresponding .glb binary data. A format refers to a specific
# representation of an asset and contains all information needed to
# retrieve and describe this representation.
- "resources": [ # A list of dependencies of the root element. May include, but is not
- # limited to, materials, textures, and shader programs.
- { # Represents a file in Poly, which can be a root,
- # resource, or thumbnail file.
- "relativePath": "A String", # The path of the resource file relative to the
- # root file. For root or thumbnail files,
- # this is just the filename.
- "contentType": "A String", # The MIME content-type, such as `image/png`.
- # For more information, see
- # [MIME
- # types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
- "url": "A String", # The URL where the file data can be retrieved.
- },
- ],
- "formatType": "A String", # A short string that identifies the format type of this representation.
- # Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
"root": { # Represents a file in Poly, which can be a root, # The root of the file hierarchy. This will always be populated.
# For some format_types - such as `TILT`, which are
# self-contained - this is all of the data.
@@ -206,6 +186,22 @@
# This hint allows you to sort formats from the most-detailed (0) to
# least-detailed (integers greater than 0).
},
+ "resources": [ # A list of dependencies of the root element. May include, but is not
+ # limited to, materials, textures, and shader programs.
+ { # Represents a file in Poly, which can be a root,
+ # resource, or thumbnail file.
+ "relativePath": "A String", # The path of the resource file relative to the
+ # root file. For root or thumbnail files,
+ # this is just the filename.
+ "contentType": "A String", # The MIME content-type, such as `image/png`.
+ # For more information, see
+ # [MIME
+ # types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
+ "url": "A String", # The URL where the file data can be retrieved.
+ },
+ ],
+ "formatType": "A String", # A short string that identifies the format type of this representation.
+ # Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
},
],
"presentationParams": { # Hints for displaying the asset, based on information available when the asset # Hints for displaying the asset. Note that these parameters are not
@@ -231,10 +227,10 @@
# Please note: this is applicable only to the gLTF.
# response you see "w: 1" and nothing else this is the default value of
# [0, 0, 0, 1] where x,y, and z are 0.
- "z": 3.14, # The z component.
"x": 3.14, # The x component.
"w": 3.14, # The scalar component.
"y": 3.14, # The y component.
+ "z": 3.14, # The z component.
},
"backgroundColor": "A String", # A background color which could be used for displaying the 3D asset in a
# 'thumbnail' or 'palette' style view. Authors have the option to set this
@@ -247,6 +243,10 @@
# for use, if any.
"authorName": "A String", # The author's publicly visible name. Use this name when giving credit to the
# author. For more information, see [Licensing](/poly/discover/licensing).
+ "displayName": "A String", # The human-readable name, set by the asset's author.
+ "updateTime": "A String", # The time when the asset was last modified. For published assets, whose
+ # contents are immutable, the update time changes only when metadata
+ # properties, such as visibility, are updated.
},
},
],