Class: Google::Cloud::Trace::V2::BatchWriteSpansRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudtrace/v2/tracing.rb

Overview

The request message for the BatchWriteSpans method.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The name of the project where the spans belong. The format is projects/[PROJECT_ID].

Returns:

  • (::String)

    Required. The name of the project where the spans belong. The format is projects/[PROJECT_ID].



33
34
35
36
# File 'proto_docs/google/devtools/cloudtrace/v2/tracing.rb', line 33

class BatchWriteSpansRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#spans::Array<::Google::Cloud::Trace::V2::Span>

Returns Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.

Returns:

  • (::Array<::Google::Cloud::Trace::V2::Span>)

    Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.



33
34
35
36
# File 'proto_docs/google/devtools/cloudtrace/v2/tracing.rb', line 33

class BatchWriteSpansRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end