Google Cloud Talent Solution V4 Client - Class GetCompanyRequest (1.2.2)

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

Request for getting a company by name.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the company to be retrieved. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

getName

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

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

Returns
TypeDescription
string

setName

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

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

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

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/api-test-project/tenants/foo/companies/bar". Please see Google\Cloud\Talent\V4\CompanyServiceClient::companyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Talent\V4\GetCompanyRequest