Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + const TraceAppendScope + const TraceReadonlyScope + type Annotation struct + Attributes *Attributes + Description *TruncatableString + ForceSendFields []string + NullFields []string + func (s *Annotation) MarshalJSON() ([]byte, error) + type AttributeValue struct + BoolValue bool + ForceSendFields []string + IntValue int64 + NullFields []string + StringValue *TruncatableString + func (s *AttributeValue) MarshalJSON() ([]byte, error) + type Attributes struct + AttributeMap map[string]AttributeValue + DroppedAttributesCount int64 + ForceSendFields []string + NullFields []string + func (s *Attributes) MarshalJSON() ([]byte, error) + type BatchWriteSpansRequest struct + ForceSendFields []string + NullFields []string + Spans []*Span + func (s *BatchWriteSpansRequest) MarshalJSON() ([]byte, error) + type Empty struct + type Link struct + ForceSendFields []string + NullFields []string + SpanId string + TraceId string + Type string + func (s *Link) MarshalJSON() ([]byte, error) + type Links struct + DroppedLinksCount int64 + ForceSendFields []string + Link []*Link + NullFields []string + func (s *Links) MarshalJSON() ([]byte, error) + type ListSpansResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Spans []*Span + func (s *ListSpansResponse) MarshalJSON() ([]byte, error) + type ListTracesResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Traces []*Trace + func (s *ListTracesResponse) MarshalJSON() ([]byte, error) + type Module struct + BuildId *TruncatableString + ForceSendFields []string + Module *TruncatableString + NullFields []string + func (s *Module) MarshalJSON() ([]byte, error) + type NetworkEvent struct + ForceSendFields []string + MessageId uint64 + MessageSize uint64 + NullFields []string + Time string + Type string + func (s *NetworkEvent) MarshalJSON() ([]byte, error) + type ProjectsService struct + Traces *ProjectsTracesService + func NewProjectsService(s *Service) *ProjectsService + type ProjectsTracesBatchWriteCall struct + func (c *ProjectsTracesBatchWriteCall) Context(ctx context.Context) *ProjectsTracesBatchWriteCall + func (c *ProjectsTracesBatchWriteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsTracesBatchWriteCall) Fields(s ...googleapi.Field) *ProjectsTracesBatchWriteCall + func (c *ProjectsTracesBatchWriteCall) Header() http.Header + type ProjectsTracesListCall struct + func (c *ProjectsTracesListCall) Context(ctx context.Context) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) Do(opts ...googleapi.CallOption) (*ListTracesResponse, error) + func (c *ProjectsTracesListCall) EndTime(endTime string) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) Fields(s ...googleapi.Field) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) Filter(filter string) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) Header() http.Header + func (c *ProjectsTracesListCall) IfNoneMatch(entityTag string) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) OrderBy(orderBy string) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) PageSize(pageSize int64) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) PageToken(pageToken string) *ProjectsTracesListCall + func (c *ProjectsTracesListCall) Pages(ctx context.Context, f func(*ListTracesResponse) error) error + func (c *ProjectsTracesListCall) StartTime(startTime string) *ProjectsTracesListCall + type ProjectsTracesListSpansCall struct + func (c *ProjectsTracesListSpansCall) Context(ctx context.Context) *ProjectsTracesListSpansCall + func (c *ProjectsTracesListSpansCall) Do(opts ...googleapi.CallOption) (*ListSpansResponse, error) + func (c *ProjectsTracesListSpansCall) Fields(s ...googleapi.Field) *ProjectsTracesListSpansCall + func (c *ProjectsTracesListSpansCall) Header() http.Header + func (c *ProjectsTracesListSpansCall) IfNoneMatch(entityTag string) *ProjectsTracesListSpansCall + func (c *ProjectsTracesListSpansCall) PageToken(pageToken string) *ProjectsTracesListSpansCall + func (c *ProjectsTracesListSpansCall) Pages(ctx context.Context, f func(*ListSpansResponse) error) error + type ProjectsTracesService struct + Spans *ProjectsTracesSpansService + func NewProjectsTracesService(s *Service) *ProjectsTracesService + func (r *ProjectsTracesService) BatchWrite(name string, batchwritespansrequest *BatchWriteSpansRequest) *ProjectsTracesBatchWriteCall + func (r *ProjectsTracesService) List(parent string) *ProjectsTracesListCall + func (r *ProjectsTracesService) ListSpans(parent string) *ProjectsTracesListSpansCall + type ProjectsTracesSpansCreateCall struct + func (c *ProjectsTracesSpansCreateCall) Context(ctx context.Context) *ProjectsTracesSpansCreateCall + func (c *ProjectsTracesSpansCreateCall) Do(opts ...googleapi.CallOption) (*Span, error) + func (c *ProjectsTracesSpansCreateCall) Fields(s ...googleapi.Field) *ProjectsTracesSpansCreateCall + func (c *ProjectsTracesSpansCreateCall) Header() http.Header + type ProjectsTracesSpansService struct + func NewProjectsTracesSpansService(s *Service) *ProjectsTracesSpansService + func (r *ProjectsTracesSpansService) Create(nameid string, span *Span) *ProjectsTracesSpansCreateCall + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Span struct + Attributes *Attributes + DisplayName *TruncatableString + EndTime string + ForceSendFields []string + Links *Links + Name string + NullFields []string + ParentSpanId string + SpanId string + StackTrace *StackTrace + StartTime string + Status *Status + TimeEvents *TimeEvents + func (s *Span) MarshalJSON() ([]byte, error) + type StackFrame struct + ColumnNumber int64 + FileName *TruncatableString + ForceSendFields []string + FunctionName *TruncatableString + LineNumber int64 + LoadModule *Module + NullFields []string + OriginalFunctionName *TruncatableString + SourceVersion *TruncatableString + func (s *StackFrame) MarshalJSON() ([]byte, error) + type StackFrames struct + DroppedFramesCount int64 + ForceSendFields []string + Frame []*StackFrame + NullFields []string + func (s *StackFrames) MarshalJSON() ([]byte, error) + type StackTrace struct + ForceSendFields []string + NullFields []string + StackFrames *StackFrames + StackTraceHashId uint64 + func (s *StackTrace) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TimeEvent struct + Annotation *Annotation + ForceSendFields []string + NetworkEvent *NetworkEvent + NullFields []string + Time string + func (s *TimeEvent) MarshalJSON() ([]byte, error) + type TimeEvents struct + DroppedAnnotationsCount int64 + DroppedNetworkEventsCount int64 + ForceSendFields []string + NullFields []string + TimeEvent []*TimeEvent + func (s *TimeEvents) MarshalJSON() ([]byte, error) + type Trace struct + ForceSendFields []string + Name string + NullFields []string + func (s *Trace) MarshalJSON() ([]byte, error) + type TruncatableString struct + ForceSendFields []string + NullFields []string + TruncatedCharacterCount int64 + Value string + func (s *TruncatableString) MarshalJSON() ([]byte, error)