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 \ V3Methods
__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 |