Class ProjectsResource.LocationsResource.QueryUserRootContentsRequest
Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.QueryUserRootContentsRequest : DataformBaseServiceRequest<QueryUserRootContentsResponse>, IClientServiceRequest<QueryUserRootContentsResponse>, IClientServiceRequest
Constructors
QueryUserRootContentsRequest(IClientService, string)
Constructs a new QueryUserRootContents request.
Declaration
public QueryUserRootContentsRequest(IClientService service, string location)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | location |
Properties
Filter
Optional. Optional filtering for the returned list. Filtering is currently only supported on the
display_name field. Example: - filter="display_name="MyFolder""
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Location
Required. Location of the user root folder whose contents to list. Format: projects//locations/
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
OrderBy
Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by
order_by in ascending order. Supported keywords: display_name (default), created_at,
last_modified_at. Examples: - orderBy="display_name" - orderBy="display_name desc"
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. Page token received from a previous QueryUserRootContents call. Provide this to retrieve
the subsequent page. When paginating, all other parameters provided to
QueryUserRootFolderContents, with the exception of page_size, must match the call that provided
the 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
Methods
InitParameters()
Initializes QueryUserRootContents parameter list.
Declaration
protected override void InitParameters()