Google Cloud Talent Solution V4 Client - Class ListTenantsRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class ListTenantsRequest.

List tenants for which the client has ACL visibility.

Generated from protobuf message google.cloud.talent.v4.ListTenantsRequest

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo".

↳ page_token string

The starting indicator from which to return results.

↳ page_size int

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

getParent

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

The format is "projects/{project_id}", for example, "projects/foo".

Returns
TypeDescription
string

setParent

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

The format is "projects/{project_id}", 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 tenants to be returned, at most 100.

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

Returns
TypeDescription
int

setPageSize

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

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

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

The format is "projects/{project_id}", for example, "projects/foo". Please see Google\Cloud\Talent\V4\TenantServiceClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Talent\V4\ListTenantsRequest