Service Client: Google::Cloud::Talent::V4::TenantService::TenantServiceClient
Client stub representing the remote TenantService 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::V4::TenantService - Compiled Protocol Buffers messages for google/cloud/talent/v4/tenant_service.proto
SYNOPSIS
use Google::Cloud::Talent::V4::TenantService;
my $msg = Google::Cloud::Talent::V4::TenantService::CreateTenantRequest->new({
parent => $parent,
tenant => $tenant,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Talent::V4::TenantService::CreateTenantRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/talent/v4/tenant_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::V4::TenantService::CreateTenantRequest
The Request of the CreateTenant method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of the project under which the tenant is created.
The format is "projects/{project_id}", for example, "projects/foo".
$msg->tenant()/$msg->tenant($value)Type:
Message(Google::Cloud::Talent::V4::Tenant::Tenant)Required. The tenant to be created.
Google::Cloud::Talent::V4::TenantService::GetTenantRequest
Request for getting a tenant by name.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the tenant to be retrieved.
The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".
Google::Cloud::Talent::V4::TenantService::UpdateTenantRequest
Request for updating a specified tenant.
Inherits from Protobuf::Message.
Accessors
$msg->tenant()/$msg->tenant($value)Type:
Message(Google::Cloud::Talent::V4::Tenant::Tenant)Required. The tenant 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.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated. Otherwise all the fields are updated.
A field mask to specify the tenant fields to be updated. Only top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
Google::Cloud::Talent::V4::TenantService::DeleteTenantRequest
Request to delete a tenant.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the tenant to be deleted.
The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".
Google::Cloud::Talent::V4::TenantService::ListTenantsRequest
List tenants for which the client has ACL visibility.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of the project under which the tenant is created.
The format is "projects/{project_id}", 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 tenants to be returned, at most 100. Default is 100 if a non-positive number is provided.
Google::Cloud::Talent::V4::TenantService::ListTenantsResponse
The List tenants response object.
Inherits from Protobuf::Message.
Accessors
$msg->tenants()/$msg->tenants($value)Type:
Message(Google::Cloud::Talent::V4::Tenant::Tenant)Tenants 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::V4::Common::ResponseMetadata)Additional information for the API invocation, such as the request tracking id.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Talent::V4::TenantService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.