Service Client: Google::Cloud::Talent::V4beta1::CompanyService::CompanyServiceClient
Client stub representing the remote CompanyService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to talent.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Talent::V4beta1::CompanyService - Compiled Protocol Buffers messages for google/cloud/talent/v4beta1/company_service.proto
SYNOPSIS
use Google::Cloud::Talent::V4beta1::CompanyService;
my $msg = Google::Cloud::Talent::V4beta1::CompanyService::CreateCompanyRequest->new({
parent => $parent,
company => $company,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Talent::V4beta1::CompanyService::CreateCompanyRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/talent/v4beta1/company_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Talent::V4beta1::CompanyService::CreateCompanyRequest
The Request of the CreateCompany method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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, a default tenant is created, for example, "projects/foo".
$msg->company()/$msg->company($value)Type:
Message(Google::Cloud::Talent::V4beta1::Company::Company)Required. The company to be created.
Google::Cloud::Talent::V4beta1::CompanyService::GetCompanyRequest
Request for getting a company by name.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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".
If tenant id is unspecified, the default tenant is used, for example, "projects/api-test-project/companies/bar".
Google::Cloud::Talent::V4beta1::CompanyService::UpdateCompanyRequest
Request for updating a specified company.
Inherits from Protobuf::Message.
Accessors
$msg->company()/$msg->company($value)Type:
Message(Google::Cloud::Talent::V4beta1::Company::Company)Required. The company resource to replace the current resource in the system.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Strongly recommended for the best service experience.
If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in [company][google.cloud.talent.v4beta1.UpdateCompanyRequest.company] are updated. Otherwise all the fields are updated.
A field mask to specify the company fields to be updated. Only top level fields of [Company][google.cloud.talent.v4beta1.Company] are supported.
Google::Cloud::Talent::V4beta1::CompanyService::DeleteCompanyRequest
Request to delete a company.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the company to be deleted.
The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".
If tenant id is unspecified, the default tenant is used, for example, "projects/foo/companies/bar".
Google::Cloud::Talent::V4beta1::CompanyService::ListCompaniesRequest
List companies for which the client has ACL visibility.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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".
$msg->page_token()/$msg->page_token($value)Type:
StringThe starting indicator from which to return results.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.
$msg->require_open_jobs()/$msg->require_open_jobs($value)Type:
BoolSet to true if the companies requested must have open jobs.
Defaults to false.
If true, at most [page_size][google.cloud.talent.v4beta1.ListCompaniesRequest.page_size] of companies are fetched, among which only those with open jobs are returned.
Google::Cloud::Talent::V4beta1::CompanyService::ListCompaniesResponse
The List companies response object.
Inherits from Protobuf::Message.
Accessors
$msg->companies()/$msg->companies($value)Type:
Message(Google::Cloud::Talent::V4beta1::Company::Company)Companies for the current client.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve the next page of results.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Talent::V4beta1::Common::ResponseMetadata)Additional information for the API invocation, such as the request tracking id.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Talent::V4beta1::CompanyService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.