Class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchBranchesRequest
Fetches branches in a Workspace.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchBranchesRequest : DataformBaseServiceRequest<FetchWorkspaceBranchesResponse>, IClientServiceRequest<FetchWorkspaceBranchesResponse>, IClientServiceRequest
Constructors
FetchBranchesRequest(IClientService, string)
Constructs a new FetchBranches request.
Declaration
public FetchBranchesRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
Filter
Optional. Filter for the returned list.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchBranchesRequest.FilterEnum? Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchBranchesRequest.FilterEnum? |
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 workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. Maximum number of branches to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. Page token received from a previous FetchWorkspaceBranches call. Provide this to
retrieve the subsequent page. When paginating, all other parameters provided to
FetchWorkspaceBranches, 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 FetchBranches parameter list.
Declaration
protected override void InitParameters()