Show / Hide Table of Contents

Class ProjectsResource.UptimeCheckConfigsResource

The "uptimeCheckConfigs" collection of methods.

Inheritance
object
ProjectsResource.UptimeCheckConfigsResource
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 ProjectsResource.UptimeCheckConfigsResource

Constructors

UptimeCheckConfigsResource(IClientService)

Constructs a new resource.

Declaration
public UptimeCheckConfigsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(UptimeCheckConfig, string)

Creates a new Uptime check configuration.

Declaration
public virtual ProjectsResource.UptimeCheckConfigsResource.CreateRequest Create(UptimeCheckConfig body, string parent)
Parameters
Type Name Description
UptimeCheckConfig body

The body of the request.

string parent

Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER]

Returns
Type Description
ProjectsResource.UptimeCheckConfigsResource.CreateRequest

Delete(string)

Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion.

Declaration
public virtual ProjectsResource.UptimeCheckConfigsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The Uptime check configuration to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

Returns
Type Description
ProjectsResource.UptimeCheckConfigsResource.DeleteRequest

Get(string)

Gets a single Uptime check configuration.

Declaration
public virtual ProjectsResource.UptimeCheckConfigsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

Returns
Type Description
ProjectsResource.UptimeCheckConfigsResource.GetRequest

List(string)

Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).

Declaration
public virtual ProjectsResource.UptimeCheckConfigsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose Uptime check configurations are listed. The format is: projects/[PROJECT_ID_OR_NUMBER]

Returns
Type Description
ProjectsResource.UptimeCheckConfigsResource.ListRequest

Patch(UptimeCheckConfig, string)

Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration.

Declaration
public virtual ProjectsResource.UptimeCheckConfigsResource.PatchRequest Patch(UptimeCheckConfig body, string name)
Parameters
Type Name Description
UptimeCheckConfig body

The body of the request.

string name

Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.

Returns
Type Description
ProjectsResource.UptimeCheckConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX