Class ServicesResource.ServiceLevelObjectivesResource
The "serviceLevelObjectives" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ServiceLevelObjectivesResource
Constructors
ServiceLevelObjectivesResource(IClientService)
Constructs a new resource.
Declaration
public ServiceLevelObjectivesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(ServiceLevelObjective, String)
Create a ServiceLevelObjective for the given Service.
Declaration
public virtual ServicesResource.ServiceLevelObjectivesResource.CreateRequest Create(ServiceLevelObjective body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceLevelObjective | body | The body of the request. |
| System.String | parent | Required. Resource name of the parent Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] |
Returns
| Type | Description |
|---|---|
| ServicesResource.ServiceLevelObjectivesResource.CreateRequest |
Delete(String)
Delete the given ServiceLevelObjective.
Declaration
public virtual ServicesResource.ServiceLevelObjectivesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. Resource name of the ServiceLevelObjective to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] |
Returns
| Type | Description |
|---|---|
| ServicesResource.ServiceLevelObjectivesResource.DeleteRequest |
Get(String)
Get a ServiceLevelObjective by name.
Declaration
public virtual ServicesResource.ServiceLevelObjectivesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. Resource name of the ServiceLevelObjective to get. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] |
Returns
| Type | Description |
|---|---|
| ServicesResource.ServiceLevelObjectivesResource.GetRequest |
List(String)
List the ServiceLevelObjectives for the given Service.
Declaration
public virtual ServicesResource.ServiceLevelObjectivesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | parent | Required. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/- |
Returns
| Type | Description |
|---|---|
| ServicesResource.ServiceLevelObjectivesResource.ListRequest |
Patch(ServiceLevelObjective, String)
Update the given ServiceLevelObjective.
Declaration
public virtual ServicesResource.ServiceLevelObjectivesResource.PatchRequest Patch(ServiceLevelObjective body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceLevelObjective | body | The body of the request. |
| System.String | name | Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] |
Returns
| Type | Description |
|---|---|
| ServicesResource.ServiceLevelObjectivesResource.PatchRequest |