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

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

Request for getting a tenant by name.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the tenant to be retrieved. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

getName

Required. The resource name of the tenant to be retrieved.

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

Returns
Type Description
string

setName

Required. The resource name of the tenant to be retrieved.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the tenant to be retrieved.

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

Returns
Type Description
Google\Cloud\Talent\V4\GetTenantRequest