Class ProjectsResource.CompaniesResource.ListRequest
Lists all companies associated with the service account.
Inheritance
ProjectsResource.CompaniesResource.ListRequest
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v3p1beta1
Assembly: Google.Apis.CloudTalentSolution.v3p1beta1.dll
Syntax
public class ProjectsResource.CompaniesResource.ListRequest : CloudTalentSolutionBaseServiceRequest<ListCompaniesResponse>, IClientServiceRequest<ListCompaniesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
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. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. The starting indicator from which to return results.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Resource name of the project under which the company is created. The format is "projects/{project_id}", for example, "projects/api-test-project".
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RequireOpenJobs
Optional. Set to true if the companies requested must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.
Declaration
[RequestParameter("requireOpenJobs", RequestParameterType.Query)]
public virtual bool? RequireOpenJobs { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()