Service Client: Google::Cloud::Discoveryengine::V1::ProjectService::ProjectServiceClient

Client stub representing the remote ProjectService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to discoveryengine.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Discoveryengine::V1::ProjectService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/project_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1::ProjectService;

my $msg = Google::Cloud::Discoveryengine::V1::ProjectService::ProvisionProjectRequest->new({
    name => $name,
    accept_data_use_terms => $accept_data_use_terms,
    data_use_terms_version => $data_use_terms_version,
    saas_params => $saas_params,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::ProjectService::ProvisionProjectRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/project_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::Discoveryengine::V1::ProjectService::ProvisionProjectRequest

Request for [ProjectService.ProvisionProject][google.cloud.discoveryengine.v1.ProjectService.ProvisionProject] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full resource name of a [Project][google.cloud.discoveryengine.v1.Project], such as `projects/{project_id_or_number}`.

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

    Type: Bool

    Required. Set to `true` to specify that caller has read and would like to give consent to the [Terms for data use](https://cloud.google.com/retail/data-use-terms).

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

    Type: String

    Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to.

    Acceptable version is `2022-11-23`, and this may change over time.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ProjectService::ProvisionProjectRequest::SaasParams)

    Optional. Parameters for Agentspace.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::ProvisionProjectRequest::ProvisionIntent)

    Optional. The caller states whether the provisioning is for the new or the classic Gemini Enterprise experience.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::Common::IdpConfig)

    Optional. The identity provider for this location. When provided, the location's [AclConfig][google.cloud.discoveryengine.v1.AclConfig] is set from it as part of provisioning.

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

    Type: Bool

    Optional. Runs only the common project-level pre-provisioning steps (service agents, agent identity pools, project-scoped extension bindings, App Hub registry, Sobi agent default identity, and Sobi default Model Armor template) without reading or writing the Customer, Collection, or UserStore tables, CapabilityConfig, tenant project, default engine, or trial licenses when `true`.

    Assumes no customer exists yet. Customer-level or non-SOBI fields (`accept_data_use_terms`, `data_use_terms_version`, `saas_params`, `idp_config`, and `PROVISION_INTENT_LEGACY`) are rejected with `INVALID_ARGUMENT`, and the returned completed `Operation` has an empty response.

Enum: ProvisionProjectRequest::ProvisionIntent

  • PROVISION_INTENT_UNSPECIFIED => 0

  • PROVISION_INTENT_SOBI => 1

  • PROVISION_INTENT_LEGACY => 2

Google::Cloud::Discoveryengine::V1::ProjectService::ProvisionProjectMetadata

Metadata associated with a project provision operation.

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::ProjectService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.