Skip to content

EntryJson interface has incorrect type for insertId #7563

Closed

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

Activity

  1. added
    priority: p2
    type: bug
    on Nov 7, 2025
  2. added
    api: logging
    on Nov 7, 2025
  3. added a commit that references this issue on Nov 6, 2026
    7bb6fc6
  4. added a commit that references this issue on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: loggingpriority: p2type: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions