Show / Hide Table of Contents

Class ServicesResource.ServiceLevelObjectivesResource

The "serviceLevelObjectives" collection of methods.

Inheritance
object
ServicesResource.ServiceLevelObjectivesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ServicesResource.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.

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
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
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
string parent

Required. Resource name of the parent containing the listed SLOs, either a project or a Monitoring Metrics Scope. 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.

string name

Identifier. 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
In this article
Back to top Generated by DocFX