Repository navigation
Documentation Fix : logging.log.entry metadata has wrong object format #1996
Copy link
Copy link
Closed
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Activity
- addedapi: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.
on Feb 14, 2017 - addedpriority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
on Feb 27, 2017 @stephenplusplus based on #1666 I think that the documentation is correct but code is not working as expected. Can you confirm that we did not intentionally revert those changes at some point?
Yeah, it is meant to work as shown in the
Aftersection of #1666.@eighteyes I actually get the opposite behavior that you describe from a fresh install of @google-cloud/[email protected]. Can you try un- and re-installing to be sure you're using the latest version?
- Yes, I think this was it.…On Fri, Mar 3, 2017 at 7:10 AM, Stephen Sawchuk ***@***.***> wrote: Yeah, it is meant to work as shown in the After section of #1666 <#1666>. @eighteyes <https://github.com/eighteyes> I actually get the opposite behavior that you describe from a fresh install of @google-cloud/ ***@***.*** Can you try un- and re-installing to be sure you're using the latest version? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1996 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAYvGgNdso8xIiSeBBV1h0q0Bl_lteFzks5riC1ugaJpZM4MA6o8> .
Phew 👍
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Overview
Documentation Object Inconsistencies
Working
https://googlecloudplatform.github.io/google-cloud-node/#/docs/logging/0.7.0/logging
Describes the entry metadata.
Breaking
https://googlecloudplatform.github.io/google-cloud-node/#/docs/logging/0.7.0/logging/entry
Wraps it in a resource key.
Reproduction
Throws the following protobuf error
Resolution
Unwrapping the
resourcekey from the field seems to be key here. This form also exists in thelogging.entrydoc, but I'm not sure what is intended there.