Class ProjectsResource.AlertsResource
The "alerts" collection of methods.
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.AlertsResource
Constructors
AlertsResource(IClientService)
Constructs a new resource.
Declaration
public AlertsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Get(string)
Gets a single alert.
Declaration
public virtual ProjectsResource.AlertsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the alert.The format is: projects/[PROJECT_ID_OR_NUMBER]/alerts/[ALERT_ID] The [ALERT_ID] is a system-assigned unique identifier for the alert. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.AlertsResource.GetRequest |
List(string)
Lists the existing alerts for the metrics scope of the project.
Declaration
public virtual ProjectsResource.AlertsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The name of the project to list alerts for. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.AlertsResource.ListRequest |