Service Client: Google::Cloud::Talent::V4beta1::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::V4beta1::TenantService - Compiled Protocol Buffers messages for google/cloud/talent/v4beta1/tenant_service.proto

SYNOPSIS

use Google::Cloud::Talent::V4beta1::TenantService;

my $msg = Google::Cloud::Talent::V4beta1::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::V4beta1::TenantService::CreateTenantRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/talent/v4beta1/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::V4beta1::TenantService::CreateTenantRequest

The Request of the CreateTenant method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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::V4beta1::Tenant::Tenant)

    Required. The tenant to be created.

Google::Cloud::Talent::V4beta1::TenantService::GetTenantRequest

Request for getting a tenant by name.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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".

Google::Cloud::Talent::V4beta1::TenantService::UpdateTenantRequest

Request for updating a specified tenant.

Inherits from Protobuf::Message.

Accessors

  • $msg->tenant() / $msg->tenant($value)

    Type: Message (Google::Cloud::Talent::V4beta1::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.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in [tenant][google.cloud.talent.v4beta1.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.v4beta1.Tenant] are supported.

Google::Cloud::Talent::V4beta1::TenantService::DeleteTenantRequest

Request to delete a tenant.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V4beta1::TenantService::ListTenantsRequest

List tenants for which the client has ACL visibility.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: String

    The starting indicator from which to return results.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of tenants to be returned, at most 100. Default is 100 if a non-positive number is provided.

Google::Cloud::Talent::V4beta1::TenantService::ListTenantsResponse

The List tenants response object.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Talent::V4beta1::TenantService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.