Skip to content

EntryJson interface has incorrect type for insertId #1607

@egalanos

Description

@egalanos

interface EntryJson

export interface EntryJson {
  timestamp: Timestamp;
  insertId: number;
  jsonPayload?: google.protobuf.IStruct;
  textPayload?: string;
  httpRequest?: google.logging.type.IHttpRequest;
  trace?: string;
  spanId?: string;
  traceSampled?: boolean;
}

The property insertId has the incorrect type - it should be string as per https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry (and the other interfaces in the same file)

Environment details

  • @google-cloud/logging version: 11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: loggingIssues related to the googleapis/nodejs-logging API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions