-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'Client.list_metrics' API wrapper. #1590
Add 'Client.list_metrics' API wrapper. #1590
Conversation
@@ -79,7 +80,8 @@ def _entry_from_resource(self, resource, loggers): | |||
raise ValueError('Cannot parse job resource') | |||
|
|||
def list_entries(self, projects=None, filter_=None, order_by=None, | |||
page_size=None, page_token=None): | |||
page_size=None, | |||
page_token=None): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -112,6 +114,7 @@ def list_entries(self, projects=None, filter_=None, order_by=None, | |||
more topics can be retrieved with another call (pass that | |||
value as ``page_token``). | |||
""" | |||
# pylint: disable=too-many-branches |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@dhermes PTAL. |
LGTM |
Add 'Client.list_metrics' API wrapper.
Also, add 'Client.metric' factory.
Uses #1588 as a base.