Show / Hide Table of Contents

Class UsersResource.AssetsResource.ListRequest

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 UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListUserAssetsResponse>
PolyServiceBaseServiceRequest<ListUserAssetsResponse>
UsersResource.AssetsResource.ListRequest
Implements
IClientServiceRequest<ListUserAssetsResponse>
IClientServiceRequest
Inherited Members
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.Xgafv
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.AccessToken
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.Alt
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.Callback
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.Fields
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.Key
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.OauthToken
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.PrettyPrint
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.QuotaUser
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.UploadType
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.UploadProtocol
ClientServiceRequest<ListUserAssetsResponse>.Execute()
ClientServiceRequest<ListUserAssetsResponse>.ExecuteAsStream()
ClientServiceRequest<ListUserAssetsResponse>.ExecuteAsync()
ClientServiceRequest<ListUserAssetsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListUserAssetsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListUserAssetsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListUserAssetsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListUserAssetsResponse>.GenerateRequestUri()
ClientServiceRequest<ListUserAssetsResponse>.GetBody()
ClientServiceRequest<ListUserAssetsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListUserAssetsResponse>.ETagAction
ClientServiceRequest<ListUserAssetsResponse>.ModifyRequest
ClientServiceRequest<ListUserAssetsResponse>.ValidateParameters
ClientServiceRequest<ListUserAssetsResponse>.RequestParameters
ClientServiceRequest<ListUserAssetsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PolyService.v1
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class UsersResource.AssetsResource.ListRequest : PolyServiceBaseServiceRequest<ListUserAssetsResponse>, IClientServiceRequest<ListUserAssetsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

Format

Return only assets with the matching format. Acceptable values are: BLOCKS, FBX, GLTF, GLTF2, OBJ, and TILT.

Declaration
[RequestParameter("format", RequestParameterType.Query)]
public virtual string Format { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolyService.v1.Data.ListUserAssetsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolyService.v1.Data.ListUserAssetsResponse>.MethodName

Name

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.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

OrderBy

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.

Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type Description
string

PageSize

The maximum number of assets to be returned. This value must be between 1 and 100. Defaults to 20.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

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.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolyService.v1.Data.ListUserAssetsResponse>.RestPath

Visibility

The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all assets.

Declaration
[RequestParameter("visibility", RequestParameterType.Query)]
public virtual UsersResource.AssetsResource.ListRequest.VisibilityEnum? Visibility { get; set; }
Property Value
Type Description
UsersResource.AssetsResource.ListRequest.VisibilityEnum?

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
PolyServiceBaseServiceRequest<ListUserAssetsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX