-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don’t send name in create custom metric
- Loading branch information
Bill Prin
committed
May 5, 2016
1 parent
c69d2b2
commit 0ea1b66
Showing
1 changed file
with
0 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0ea1b66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I may ask, why is this the case? Is the field optional?
This page says that
name
is what you usetype
here for, and that the domain for custom metrics iscustom.cloudmonitoring.googleapis.com
instead ofcustom.googleapis.com
. Clarification, please? Thanks! (:0ea1b66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Garciat name is output only.
name
is the REST description of the resource and the server assigns it automatically, type is the correct field to provide on the input.custom.cloudmonitoring.googleapis.com
is v2,custom.googleapis.com
is v3. docs are currently incorrect and will be fixed soon.