Class LocationsResource.GlobalResource.MetricsScopesResource
The "metricsScopes" collection of methods.
Inherited Members
Namespace: Google.Apis.Monitoring.v1
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class LocationsResource.GlobalResource.MetricsScopesResource
Constructors
MetricsScopesResource(IClientService)
Constructs a new resource.
Declaration
public MetricsScopesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Projects
Gets the Projects resource.
Declaration
public virtual LocationsResource.GlobalResource.MetricsScopesResource.ProjectsResource Projects { get; }
Property Value
Type | Description |
---|---|
LocationsResource.GlobalResource.MetricsScopesResource.ProjectsResource |
Methods
Get(string)
Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope.
Declaration
public virtual LocationsResource.GlobalResource.MetricsScopesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} |
Returns
Type | Description |
---|---|
LocationsResource.GlobalResource.MetricsScopesResource.GetRequest |
ListMetricsScopesByMonitoredProject()
Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.
Declaration
public virtual LocationsResource.GlobalResource.MetricsScopesResource.ListMetricsScopesByMonitoredProjectRequest ListMetricsScopesByMonitoredProject()
Returns
Type | Description |
---|---|
LocationsResource.GlobalResource.MetricsScopesResource.ListMetricsScopesByMonitoredProjectRequest |