public class Monitoring.Projects.Groups extends 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(String name,
Group content)
Creates a new group.
|
Monitoring.Projects.Groups.Delete |
delete(String name)
Deletes an existing group.
|
Monitoring.Projects.Groups.Get |
get(String name)
Gets a single group.
|
Monitoring.Projects.Groups.List |
list(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(String name,
Group content)
Updates an existing group.
|
public Monitoring.Projects.Groups.Create create(String name, Group content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create
the group. The format is: projects/[PROJECT_ID_OR_NUMBER]content - the GroupIOExceptionpublic Monitoring.Projects.Groups.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The group to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]IOExceptionpublic Monitoring.Projects.Groups.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The group to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]IOExceptionpublic Monitoring.Projects.Groups.List list(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose groups are to
be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]IOExceptionpublic Monitoring.Projects.Groups.Update update(String name, Group content) throws 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 GroupIOExceptionpublic Monitoring.Projects.Groups.Members members()
The typical use is:
Monitoring monitoring = new Monitoring(...);Monitoring.Members.List request = monitoring.members().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.