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

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getPageToken

The starting indicator from which to return results.

Returns
Type Description
string

setPageToken

The starting indicator from which to return results.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

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

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

Returns
Type Description
int

setPageSize

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

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

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\Talent\V4\ListTenantsRequest