Class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.QueryDirectoryContentsRequest
Returns the contents of a given Workspace directory.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.QueryDirectoryContentsRequest : DataformBaseServiceRequest<QueryDirectoryContentsResponse>, IClientServiceRequest<QueryDirectoryContentsResponse>, IClientServiceRequest
Constructors
QueryDirectoryContentsRequest(IClientService, string)
Constructs a new QueryDirectoryContents request.
Declaration
public QueryDirectoryContentsRequest(IClientService service, string workspace)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | workspace |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 QueryDirectoryContents
call. Provide this to
retrieve the subsequent page. When paginating, all other parameters provided to
QueryDirectoryContents
, 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 |
Path
Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.
Declaration
[RequestParameter("path", RequestParameterType.Query)]
public virtual string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Workspace
Required. The workspace's name.
Declaration
[RequestParameter("workspace", RequestParameterType.Path)]
public virtual string Workspace { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes QueryDirectoryContents parameter list.
Declaration
protected override void InitParameters()