public class Monitoring.Projects.Groups
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Monitoring.Projects.Groups.Create |
class |
Monitoring.Projects.Groups.Delete |
class |
Monitoring.Projects.Groups.Get |
class |
Monitoring.Projects.Groups.List |
class |
Monitoring.Projects.Groups.Members
The "members" collection of methods.
|
class |
Monitoring.Projects.Groups.Update |
| Constructor and Description |
|---|
Groups() |
| Modifier and Type | Method and Description |
|---|---|
Monitoring.Projects.Groups.Create |
create(java.lang.String name,
Group content)
Creates a new group.
|
Monitoring.Projects.Groups.Delete |
delete(java.lang.String name)
Deletes an existing group.
|
Monitoring.Projects.Groups.Get |
get(java.lang.String name)
Gets a single group.
|
Monitoring.Projects.Groups.List |
list(java.lang.String name)
Lists the existing groups.
|
Monitoring.Projects.Groups.Members |
members()
An accessor for creating requests from the Members collection.
|
Monitoring.Projects.Groups.Update |
update(java.lang.String name,
Group content)
Updates an existing group.
|
public Monitoring.Projects.Groups.Create create(java.lang.String name, Group content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The project in which to create the group. The format is "projects/{project_id_or_number}".content - the Groupjava.io.IOExceptionpublic Monitoring.Projects.Groups.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The group to delete. The format is "projects/{project_id_or_number}/groups/{group_id}".java.io.IOExceptionpublic Monitoring.Projects.Groups.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The group to retrieve. The format is "projects/{project_id_or_number}/groups/{group_id}".java.io.IOExceptionpublic Monitoring.Projects.Groups.List list(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The project whose groups are to be listed. The format is "projects/{project_id_or_number}".java.io.IOExceptionpublic Monitoring.Projects.Groups.Update update(java.lang.String name, Group content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. The name of this group. The format is
"projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is
ignored and a new name is created consisting of the project specified in the call to
CreateGroup and a unique {group_id} that is generated automatically.content - the Groupjava.io.IOExceptionpublic Monitoring.Projects.Groups.Members members()
The typical use is:
Monitoring monitoring = new Monitoring(...);Monitoring.Members.List request = monitoring.members().list(parameters ...)