Stackdriver Monitoring V3 Client - Class SyntheticMonitorTarget (1.10.3)

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 Google\Cloud\Monitoring\V3\SyntheticMonitorTarget\CloudFunctionV2Target

Target a Synthetic Monitor GCFv2 instance.

getCloudFunctionV2

Target a Synthetic Monitor GCFv2 instance.

Returns
Type Description
Google\Cloud\Monitoring\V3\SyntheticMonitorTarget\CloudFunctionV2Target|null

hasCloudFunctionV2

setCloudFunctionV2

Target a Synthetic Monitor GCFv2 instance.

Parameter
Name Description
var Google\Cloud\Monitoring\V3\SyntheticMonitorTarget\CloudFunctionV2Target
Returns
Type Description
$this

getTarget

Returns
Type Description
string