Stackdriver Monitoring V3 Client - Class SyntheticMonitorTarget (1.11.1)

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

Describes a Synthetic Monitor to be invoked by Uptime.

Generated from protobuf message google.monitoring.v3.SyntheticMonitorTarget

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cloud_function_v2 SyntheticMonitorTarget\CloudFunctionV2Target

Target a Synthetic Monitor GCFv2 instance.

getCloudFunctionV2

Target a Synthetic Monitor GCFv2 instance.

Returns
Type Description
SyntheticMonitorTarget\CloudFunctionV2Target|null

hasCloudFunctionV2

setCloudFunctionV2

Target a Synthetic Monitor GCFv2 instance.

Parameter
Name Description
var SyntheticMonitorTarget\CloudFunctionV2Target
Returns
Type Description
$this

getTarget

Returns
Type Description
string