-
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 Group support to the Monitoring API #2035
Merged
Merged
Commits on Aug 3, 2016
-
Add Group support to the Monitoring API
Users can now fetch and list Stackdriver groups, and list a group's members.
Configuration menu - View commit details
-
Copy full SHA for cc0f814 - Browse repository at this point
Copy the full SHA cc0f814View commit details -
Added support for creating and deleting Stackdriver groups.
Also allow a user to specify either the group ID or name to initilize it. The client class now has a factory constructor groups.
Configuration menu - View commit details
-
Copy full SHA for 0018b01 - Browse repository at this point
Copy the full SHA 0018b01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 335d909 - Browse repository at this point
Copy the full SHA 335d909View commit details -
Configuration menu - View commit details
-
Copy full SHA for cedca63 - Browse repository at this point
Copy the full SHA cedca63View commit details -
Change Groups API to take group and parent IDs as the inputs.
The fully qualified names are set by the class based on client.project. Also, the property Group.id can only be set during initialization now.
Configuration menu - View commit details
-
Copy full SHA for c795598 - Browse repository at this point
Copy the full SHA c795598View commit details -
Remove the helpers module from monitoring API.
This commit makes the code consistent with the update to the helper function _datetime_to_rfc3339.
Configuration menu - View commit details
-
Copy full SHA for 3b3a996 - Browse repository at this point
Copy the full SHA 3b3a996View commit details -
* Renamed some of the methods of gcloud.monitoring.Groups that get data from the API: * parent -> fetch_parent * members -> list_members * children -> list_children * ancestors -> list_ancestors * descendants -> list_descendants * Renamed / deleted some helper methods * group_id_from_name -> _group_id_from_name * _group_name_from_id -> _group_name_from_id * _init_from_dict -> _set_properties_from_dict * delete path_helper * Minimized the payload while checking if a group exists. * Updated the docstrings to be more consistent. Especially added examples where the group ID is not an integer.
Configuration menu - View commit details
-
Copy full SHA for d205cec - Browse repository at this point
Copy the full SHA d205cecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfa1be - Browse repository at this point
Copy the full SHA 5dfa1beView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.