GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Method documentation uses child_type resource instead of parent resource in examples · Issue #852 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Method documentation uses child_type resource instead of parent resource in examples #852

Copy link
Copy link
Closed
#862
Closed
Method documentation uses child_type resource instead of parent resource in examples#852
#862
Copy link
Assignees
meltsufin
Labels
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.

Description

@noahdietz
noahdietz
opened on Oct 4, 2021
Issue body actions

The generated method examples for RPCs that have a parent field referencing a child_type are using the child_type directly instead of the derived parent types. See these examples in datastream that use the RouteName resource for ListRoutesRequest.parent which should be a PrivateConnectionName instead.

Activity

  1. noahdietz
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Oct 4, 2021
  2. meltsufin
    self-assigned this
    on Oct 18, 2021
  3. meltsufin
    added 4 commits that reference this issue on Oct 20, 2021

    fix: User parent type instead of child_type in method doc sample

    This issue will close once commit 556da01 is merged into the 'main' branch.
    556da01

    fix: User parent type instead of child_type in method doc sample

    This issue will close once commit 3389f74 is merged into the 'main' branch.
    3389f74

    fix: Use parent type instead of child_type in method doc sample

    This issue will close once commit ababe29 is merged into the 'main' branch.
    ababe29

    fix: Use parent type instead of child_type in method doc sample

    This issue will close once commit 49f0b39 is merged into the 'main' branch.
    49f0b39
  4. meltsufin
    closed this as completedin #862on Nov 3, 2021
  5. meltsufin
    added a commit that references this issue on Nov 3, 2021

    fix: Use parent type instead of child_type in method doc sample (#862)

    This issue will close once commit 6a39c7f is merged into the 'main' branch.
    6a39c7f
  6. suztomo
    added 3 commits that reference this issue on Mar 21, 2023

    deps: update dependency org.checkerframework:checker-qual to v3.26.0 (#…

    1e8cd60

    chore(main): release 3.0.5 (#880)

    cb88582

    chore: update dependencies for regapic (#1467) (#852)

    5e4674c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @meltsufin
    meltsufin

Labels

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.