public class CloudTrace.Projects.Traces extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudTrace.Projects.Traces.BatchWrite |
class |
CloudTrace.Projects.Traces.Spans
The "spans" collection of methods.
|
| Constructor and Description |
|---|
Traces() |
| Modifier and Type | Method and Description |
|---|---|
CloudTrace.Projects.Traces.BatchWrite |
batchWrite(String name,
BatchWriteSpansRequest content)
Sends new spans to new or existing traces.
|
CloudTrace.Projects.Traces.Spans |
spans()
An accessor for creating requests from the Spans collection.
|
public CloudTrace.Projects.Traces.BatchWrite batchWrite(String name, BatchWriteSpansRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.content - the BatchWriteSpansRequestIOExceptionpublic CloudTrace.Projects.Traces.Spans spans()
The typical use is:
CloudTrace cloudtrace = new CloudTrace(...);CloudTrace.Spans.List request = cloudtrace.spans().list(parameters ...)
Copyright © 2011–2021 Google. All rights reserved.