Stackdriver Monitoring V3 Client - Class CreateUptimeCheckConfigRequest (1.6.0)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class CreateUptimeCheckConfigRequest.

The protocol for the CreateUptimeCheckConfig request.

Generated from protobuf message google.monitoring.v3.CreateUptimeCheckConfigRequest

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER]

↳ uptime_check_config Google\Cloud\Monitoring\V3\UptimeCheckConfig

Required. The new Uptime check configuration.

getParent

Required. The project in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER]

Returns
TypeDescription
string

setParent

Required. The project in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER]

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUptimeCheckConfig

Required. The new Uptime check configuration.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\UptimeCheckConfig|null

hasUptimeCheckConfig

clearUptimeCheckConfig

setUptimeCheckConfig

Required. The new Uptime check configuration.

Parameter
NameDescription
var Google\Cloud\Monitoring\V3\UptimeCheckConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The project in which to create the Uptime check. The format is:

projects/[PROJECT_ID_OR_NUMBER]

uptimeCheckConfig Google\Cloud\Monitoring\V3\UptimeCheckConfig

Required. The new Uptime check configuration.

Returns
TypeDescription
Google\Cloud\Monitoring\V3\CreateUptimeCheckConfigRequest