public class Monitoring.Projects.Dashboards extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Monitoring.Projects.Dashboards.Create |
class |
Monitoring.Projects.Dashboards.Delete |
class |
Monitoring.Projects.Dashboards.Get |
class |
Monitoring.Projects.Dashboards.List |
class |
Monitoring.Projects.Dashboards.Patch |
| Constructor and Description |
|---|
Dashboards() |
| Modifier and Type | Method and Description |
|---|---|
Monitoring.Projects.Dashboards.Create |
create(String parent,
Dashboard content)
Creates a new custom dashboard.
|
Monitoring.Projects.Dashboards.Delete |
delete(String name)
Deletes an existing custom dashboard.This method requires the monitoring.dashboards.delete
permission on the specified dashboard.
|
Monitoring.Projects.Dashboards.Get |
get(String name)
Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the
specified dashboard.
|
Monitoring.Projects.Dashboards.List |
list(String parent)
Lists the existing dashboards.This method requires the monitoring.dashboards.list permission on
the specified project.
|
Monitoring.Projects.Dashboards.Patch |
patch(String name,
Dashboard content)
Replaces an existing custom dashboard with a new definition.This method requires the
monitoring.dashboards.update permission on the specified dashboard.
|
public Monitoring.Projects.Dashboards.Create create(String parent, Dashboard content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard
resource name.content - the DashboardIOExceptionpublic Monitoring.Projects.Dashboards.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the Dashboard. The format is:
projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]IOExceptionpublic Monitoring.Projects.Dashboards.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the Dashboard. The format is one of: dashboards/[DASHBOARD_ID] (for
system dashboards) projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom
dashboards).IOExceptionpublic Monitoring.Projects.Dashboards.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER]IOExceptionpublic Monitoring.Projects.Dashboards.Patch patch(String name, Dashboard content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. The resource name of the dashboard.content - the DashboardIOExceptionCopyright © 2011–2021 Google. All rights reserved.