NAME

Google::Cloud::Retail::V2alpha::Project - Compiled Protocol Buffers messages for google/cloud/retail/v2alpha/project.proto

SYNOPSIS

use Google::Cloud::Retail::V2alpha::Project;

my $msg = Google::Cloud::Retail::V2alpha::Project::LoggingConfig->new({
    name => $name,
    default_log_generation_rule => $default_log_generation_rule,
    service_log_generation_rules => $service_log_generation_rules,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Retail::V2alpha::Project::LoggingConfig->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/retail/v2alpha/project.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::Retail::V2alpha::Project::LoggingConfig

Project level logging config to control what level of log will be generated and written to Cloud Logging.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Immutable. The name of the LoggingConfig singleton resource. Format: projects/*/loggingConfig

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

    Type: Message (Google::Cloud::Retail::V2alpha::Project::LoggingConfig::LogGenerationRule)

    The log generation rule that applies by default to all services supporting log generation. It can be overridden by [ServiceLogGenerationRule][google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule] for service level control.

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

    Type: Message (Google::Cloud::Retail::V2alpha::Project::LoggingConfig::ServiceLogGenerationRule)

    Controls logging configurations more granularly for each supported service.

    This overrides the [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule] for the services specified. For those not mentioned, they will fallback to the default log generation rule.

Enum: LoggingConfig::LoggingLevel

  • LOGGING_LEVEL_UNSPECIFIED => 0

  • LOGGING_DISABLED => 1

  • LOG_ERRORS_AND_ABOVE => 2

  • LOG_WARNINGS_AND_ABOVE => 3

  • LOG_ALL => 4

Google::Cloud::Retail::V2alpha::Project::Project

Metadata that describes a Cloud Retail Project.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Full resource name of the retail project, such as `projects/{project_id_or_number}/retailProject`.

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

    Type: Enum (Google::Cloud::Retail::V2alpha::SolutionType)

    Output only. Retail API solutions that the project has enrolled.

Google::Cloud::Retail::V2alpha::Project::AlertConfig

Project level alert config.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig

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

    Type: Message (Google::Cloud::Retail::V2alpha::Project::AlertConfig::AlertPolicy)

    Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Retail::V2alpha::Project::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.