Service Client: Google::Devtools::Cloudtrace::V2::Tracing::TraceServiceClient
Client stub representing the remote TraceService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to devtools.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Devtools::Cloudtrace::V2::Tracing - Compiled Protocol Buffers messages for google/devtools/cloudtrace/v2/tracing.proto
SYNOPSIS
use Google::Devtools::Cloudtrace::V2::Tracing;
my $msg = Google::Devtools::Cloudtrace::V2::Tracing::BatchWriteSpansRequest->new({
name => $name,
spans => $spans,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Cloudtrace::V2::Tracing::BatchWriteSpansRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/cloudtrace/v2/tracing.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Devtools::Cloudtrace::V2::Tracing::BatchWriteSpansRequest
The request message for the `BatchWriteSpans` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.
$msg->spans()/$msg->spans($value)Type:
Message(Google::Devtools::Cloudtrace::V2::Trace::Span)Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Cloudtrace::V2::Tracing::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.