Google Cloud Talent Solution V4beta1 Client - Class ListCompaniesRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Talent Solution V4beta1 Client class ListCompaniesRequest.

List companies for which the client has ACL visibility.

Generated from protobuf message google.cloud.talent.v4beta1.ListCompaniesRequest

Namespace

Google \ Cloud \ Talent \ V4beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the tenant under which the company is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

↳ page_token string

The starting indicator from which to return results.

↳ page_size int

The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.

↳ require_open_jobs bool

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.

getParent

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

Returns
TypeDescription
string

setParent

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageToken

The starting indicator from which to return results.

Returns
TypeDescription
string

setPageToken

The starting indicator from which to return results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of companies to be returned, at most 100.

Default is 100 if a non-positive number is provided.

Returns
TypeDescription
int

setPageSize

The maximum number of companies to be returned, at most 100.

Default is 100 if a non-positive number is provided.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRequireOpenJobs

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.

Returns
TypeDescription
bool

setRequireOpenJobs

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.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this