Skip to content

gog analytics admin properties create is still a stub (analyticsadmin.properties.create) #264

Closed

Description

@itsjeremyjohnson

Observed

Zeus installed /home/zeus/.local/bin/gog is v0.10.0 (e81e585).

gog analytics admin properties --help
# "Property operations" with no subcommands
gog analytics admin properties create --help
# unexpected argument create

origin/main still exposes this as a stub (no properties.create CLI).

API method

analyticsadmin.properties.create
POST https://analyticsadmin.googleapis.com/v1beta/properties
parent e.g. accounts/125258449

Workaround used

Direct REST with the existing jeremy@robbenmedia.com gog grant (analytics.edit). Created properties/553945658 (Just Store It) under Robben Media Customers. Do not treat REST as a substitute for the CLI.

Ask

Implement gog analytics admin properties create with displayName, parent, timeZone (and later industry/currency as needed), JSON output, no-input.

Activity

  1. itsjeremyjohnson commented on Sep 14, 2026

    @itsjeremyjohnson
    CollaboratorAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Implement gog analytics admin properties create as a real CLI write path (not a stub).

    Current behavior:

    • gog analytics admin properties is a help-only group with no subcommands.
    • gog analytics admin properties create is rejected as an unexpected argument.
    • origin/main still exposes properties create as a stub; operators fall back to direct REST against analyticsadmin.properties.create.

    Desired behavior:

    • Provide a working gog analytics admin properties create command that calls analyticsadmin.properties.create.
    • Accept the fields needed for first-class create: displayName, parent (e.g. accounts/...), and timeZone, with room to extend industry/currency later.
    • Support JSON output and a no-input / non-interactive mode suitable for automation.
    • Do not treat ad-hoc REST as the product substitute for this CLI path.

    Key interfaces:

    • CLI: gog analytics admin properties create
    • API: analyticsadmin.properties.create (POST https://analyticsadmin.googleapis.com/v1beta/properties)
    • Existing gog auth/grant path with analytics.edit (or equivalent) scopes already used by operators

    Acceptance criteria:

    • gog analytics admin properties create --help documents required/optional flags (displayName, parent, timeZone at minimum) plus JSON and no-input behavior.
    • Successful create returns the created property identity/fields in structured/JSON form when requested.
    • Invalid parent/missing required fields produce clear, non-zero CLI errors without partial silent success.
    • Command is wired through the real Admin API client path (not a stub / not “unexpected argument”).
    • Existing properties help/group behavior remains coherent (create is discoverable from the properties command group).

    Out of scope:

    • Industry category / currency flags beyond what is needed to land create (may follow later).
    • Replacing or documenting REST workarounds as the supported product path.
    • Unrelated analytics admin read/list/get commands unless required to keep the create path consistent.
  2. itsjeremyjohnson commented on Oct 12, 2026

    @itsjeremyjohnson
    CollaboratorAuthor

    Closing as superseded (GitHub sweep 2026-10-12). This asks for a new gog CLI subcommand, but the CLI was removed from main in 91336b7 (#269) and only gog-mcp is built. gog-mcp covers this through #271 (Analytics Admin key events and property operations via the pinned analyticsadmin catalog methods, including properties.create).

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

    enhancementNew feature or requestready-for-agentFully specified and ready for an agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions