Service Client: Google::Cloud::Retail::V2beta::ProjectService::ProjectServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Retail::V2beta::ProjectService - Compiled Protocol Buffers messages for google/cloud/retail/v2beta/project_service.proto

SYNOPSIS

use Google::Cloud::Retail::V2beta::ProjectService;

my $msg = Google::Cloud::Retail::V2beta::ProjectService::GetAlertConfigRequest->new({
    name => $name,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Retail::V2beta::ProjectService::GetAlertConfigRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/retail/v2beta/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::Retail::V2beta::ProjectService::GetAlertConfigRequest

Request for [ProjectService.GetAlertConfig][google.cloud.retail.v2beta.ProjectService.GetAlertConfig] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full AlertConfig resource name. Format: projects/{project_number}/alertConfig

Google::Cloud::Retail::V2beta::ProjectService::UpdateAlertConfigRequest

Request for [ProjectService.UpdateAlertConfig][google.cloud.retail.v2beta.ProjectService.UpdateAlertConfig] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Retail::V2beta::Project::AlertConfig)

    Required. The [AlertConfig][google.cloud.retail.v2beta.AlertConfig] to update.

    If the caller does not have permission to update the [AlertConfig][google.cloud.retail.v2beta.AlertConfig], then a PERMISSION_DENIED error is returned.

    If the [AlertConfig][google.cloud.retail.v2beta.AlertConfig] to update does not exist, a NOT_FOUND error is returned.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Indicates which fields in the provided [AlertConfig][google.cloud.retail.v2beta.AlertConfig] to update. If not set, all supported fields are updated.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Retail::V2beta::ProjectService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.