gapic-generator-python
gapic-generator-python copied to clipboard
References in square brackets are not referencing to correct UIDs
For a lot of client library documentations generated, references in the format [name][uid]
doesn't seem to point to the correct UID. For example, in Cloud KMS: [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
should be google.cloud.kms_v1.types.CryptoKeyVersion
.
@dandhlee Could you provide an update on this? Thanks!
@vchudnov-g thanks for checking in! This still seems to be an issue. Sorry for leaving out some actual examples:
https://github.com/googleapis/python-kms/blob/main/google/cloud/kms_v1/types/service.py#L479-L494
As mentioned in the first comment, CryptoKeyVersion
is cross referenced to google.cloud.kms.v1.CryptoKeyVersion
, but it should be google.cloud.kms_v1.types.CryptoKeyVersion
, which is found in https://github.com/googleapis/python-kms/blob/main/google/cloud/kms_v1/types/resources.py#L376.
-
kms.v1
should bekms_v1
as per directory structure - it's missing
types
in between as the directory suggests:google/cloud/kms_v1/types/resources
.