Stackdriver Monitoring V3 Client - Class CreateUptimeCheckConfigRequest (1.2.2)

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

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]

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUptimeCheckConfig

Required. The new Uptime check configuration.

Generated from protobuf field .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED];

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

hasUptimeCheckConfig

clearUptimeCheckConfig

setUptimeCheckConfig

Required. The new Uptime check configuration.

Generated from protobuf field .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED];

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