NAME

Google::Cloud::Batch::V1alpha::Notification - Compiled Protocol Buffers messages for google/cloud/batch/v1alpha/notification.proto

SYNOPSIS

use Google::Cloud::Batch::V1alpha::Notification;

my $msg = Google::Cloud::Batch::V1alpha::Notification::Notification->new({
    pubsub_topic => $pubsub_topic,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Batch::V1alpha::Notification::Notification->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/batch/v1alpha/notification.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::Batch::V1alpha::Notification::Notification

Notification on resource state change.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Pub/Sub topic where notifications like the resource allowance state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: `projects/{project}/topics/{topic}`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Batch::V1alpha::Notification::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.