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