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 — Resources referenced by name but not used directly generate helper methods · Issue #637 · googleapis/gapic-generator-python

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

Resources referenced by name but not used directly generate helper methods #637

Copy link
Copy link
Closed
#1133
#642
Closed
Resources referenced by name but not used directly generate helper methods#637
#1133
#642
Copy link
Assignees
software-dov
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@software-dov
software-dov
opened on Oct 6, 2020
Issue body actions

Consider the following:

message Squid {
  option (google.api.resource) = {
    type: "animalia.cephalopoda.com/Squid"
    pattern: "zones/{zone}/squids/{squid}"
  };
  string name = 1;
}

message CreateSquidRequest {
  string name = 1 {
    (google.api.resource_reference) = {
      type: "animalia.cephalopoda.com/Squid"
    }
  };
}

message CreateSquidResponse {}

service SquidService {
  rpc CreateSquid(CreateSquidResponse) returns CreateSquidResponse {
    option (google.api.method_signature) = "name";
  }
}

The Squid resource is never directly referenced as an input or output message type or one of their fields, but we still want to generate resource helper methods for Squid.

Tracking issue for following resource_reference annotations in fields.

Activity

  1. software-dov
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Oct 6, 2020
  2. software-dov
    added a commit that references this issue on Oct 8, 2020

    feat: file_level and indirectly used resources generate helper methods

    This issue will close once commit 177b577 is merged into the 'master' branch.
    177b577
  3. software-dov
    closed this as completedin #642on Oct 9, 2020
  4. software-dov
    added a commit that references this issue on Oct 9, 2020

    feat: file_level and indirectly used resources generate helper methods (

    This issue will close once commit 42e224c is merged into the 'main' branch.
    42e224c
  5. JustinBeckwith
    assigned
    software-dov
    on Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @software-dov
    software-dov

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.