Typo "administators" in androidmanagement v1 Policy.longSupportMessage description

Open Beginner friendly
#3,665 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
go
Domain
documentation

Research direction

Start with the androidmanagement-api.json discovery document at schemas.Policy.properties.longSupportMessage.description, then compare the generated comment in androidmanagement/v1/androidmanagement-gen.go. Correct the spelling at the discovery-document source and verify that regeneration produces “administrators” in the Go client description and related reference output.

Written by the indexing model from the issue text.

Description

Client

google.golang.org/api/androidmanagement/v1 (google-api-go-client), version v0.282.0

Description

The description for the Policy.longSupportMessage field misspells "administrators" as "administators". This text originates from the Android Management API discovery document (androidmanagement:v1, revision 20260521), so the typo appears in every generated client library (Go, Java, Python, Node.js, .NET, PHP, Ruby) and in the public REST reference documentation, not just the Go client.

Location
  • Discovery document androidmanagement-api.json, schemas.Policy.properties.longSupportMessage.description:

    "longSupportMessage": {
      "$ref": "UserFacingMessage",
      "description": "A message displayed to the user in the device administators settings screen."
    }
    
  • Generated Go client androidmanagement/v1/androidmanagement-gen.go:

    // LongSupportMessage: A message displayed to the user in the device
    // administators settings screen.
    LongSupportMessage *UserFacingMessage `json:"longSupportMessage,omitempty"`
    
  • Public REST reference: https://developers.google.com/android/management/reference/rest/v1/enterprises.policies (the longSupportMessage field on the Policy resource)

Expected

A message displayed to the user in the device administrators settings screen.

Actual

A message displayed to the user in the device administators settings screen.

Impact

Purely cosmetic — no behavioral effect. It is user-visible in tooling that surfaces AMAPI field descriptions (for example, policy editors that render the schema descriptions as help text), which is where we hit it.

Suggested fix

Correct "administators" → "administrators" in the Policy.longSupportMessage description in the androidmanagement v1 discovery document; the change will propagate to all generated clients and the REST reference on the next regeneration.

Dominant language
Go
Stars
4.5k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
26

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-api-go-client

All issues in googleapis/google-api-go-client

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.