Output only. The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
getName
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
Returns
Type
Description
string
setName
Required. Fully qualified GCFv2 resource name
i.e. projects/{project}/locations/{location}/functions/{function}
Required.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCloudRunRevision
Output only. The cloud_run_revision Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
Output only. The cloud_run_revision Monitored Resource associated with
the GCFv2. The Synthetic Monitor execution results (metrics, logs, and
spans) are reported against this Monitored Resource. This field is output
only.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Monitoring V3 Client - Class CloudFunctionV2Target (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.SyntheticMonitorTarget.CloudFunctionV2Target)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.SyntheticMonitorTarget.CloudFunctionV2Target) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class CloudFunctionV2Target.\n\nA Synthetic Monitor deployed to a Cloud Functions V2 instance.\n\nGenerated from protobuf message `google.monitoring.v3.SyntheticMonitorTarget.CloudFunctionV2Target`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3 \\\\ SyntheticMonitorTarget\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Fully qualified GCFv2 resource name\ni.e. `projects/{project}/locations/{location}/functions/{function}`\nRequired.\n\n### setName\n\nRequired. Fully qualified GCFv2 resource name\ni.e. `projects/{project}/locations/{location}/functions/{function}`\nRequired.\n\n### getCloudRunRevision\n\nOutput only. The `cloud_run_revision` Monitored Resource associated with\nthe GCFv2. The Synthetic Monitor execution results (metrics, logs, and\nspans) are reported against this Monitored Resource. This field is output\nonly.\n\n### hasCloudRunRevision\n\n### clearCloudRunRevision\n\n### setCloudRunRevision\n\nOutput only. The `cloud_run_revision` Monitored Resource associated with\nthe GCFv2. The Synthetic Monitor execution results (metrics, logs, and\nspans) are reported against this Monitored Resource. This field is output\nonly."]]