Class ProjectsResource.LocationsResource.RepositoriesResource.QueryDirectoryContentsRequest
Returns the contents of a given Repository directory. The Repository must not have a value for
git_remote_settings.url
.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.QueryDirectoryContentsRequest : DataformBaseServiceRequest<QueryRepositoryDirectoryContentsResponse>, IClientServiceRequest<QueryRepositoryDirectoryContentsResponse>, IClientServiceRequest
Constructors
QueryDirectoryContentsRequest(IClientService, string)
Constructs a new QueryDirectoryContents request.
Declaration
public QueryDirectoryContentsRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
CommitSha
Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
Declaration
[RequestParameter("commitSha", RequestParameterType.Query)]
public virtual string CommitSha { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Name
Required. The repository's name.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
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 QueryRepositoryDirectoryContents
call. Provide
this to retrieve the subsequent page. When paginating, all other parameters provided to
QueryRepositoryDirectoryContents
, 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 root. If left unset, the 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
Methods
InitParameters()
Initializes QueryDirectoryContents parameter list.
Declaration
protected override void InitParameters()