Service Client: Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::ConnectionApiClient
Client stub representing the remote ConnectionApi gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to firebase.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi - Compiled Protocol Buffers messages for google/firebase/fcm/connection/v1alpha1/connection_api.proto
SYNOPSIS
use Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi;
my $msg = Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::UpstreamRequest->new({
ack => $ack,
});
# Read or update a field
my $val = $msg->ack();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::UpstreamRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/firebase/fcm/connection/v1alpha1/connection_api.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::UpstreamRequest
Request sent to FCM from the connected client.
Inherits from Protobuf::Message.
Accessors
$msg->ack()/$msg->ack($value)Type:
Message(Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::Ack)Message acknowledgement.
Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::DownstreamResponse
Response sent to the connected client from FCM.
Inherits from Protobuf::Message.
Accessors
$msg->message()/$msg->message($value)Type:
Message(Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::Message)Message sent to FCM via the [Send API](https://firebase.google.com/docs/cloud-messaging/send-message) targeting this client.
Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::Ack
Acknowledgement to indicate a client successfully received an FCM message.
If a message is not acked, FCM will continously resend the message until it expires. Duplicate delivery in this case is working as intended.
Inherits from Protobuf::Message.
Accessors
$msg->message_id()/$msg->message_id($value)Type:
StringId of message being acknowledged
Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::Message
Message created through the [Send API](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#resource-message).
Inherits from Protobuf::Message.
Accessors
$msg->message_id()/$msg->message_id($value)Type:
StringThe identifier of the message. Used to ack the message.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time the message was received in FCM.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Expiry time of the message. Currently it is always 4 weeks.
$msg->data()/$msg->data($value)Type:
Message(Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::Message::DataEntry)The arbitrary payload set in the [Send API](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#resource-message).
SEE ALSO
Protobuf, Protobuf::Message, Google::Firebase::Fcm::Connection::V1alpha1::ConnectionApi::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.