Reference documentation and code samples for the Stackdriver Monitoring V3 Client class GetNotificationChannelVerificationCodeResponse.
The GetNotificationChannelVerificationCode request.
Generated from protobuf message google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
Namespace
Google \ Cloud \ Monitoring \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ code
string
The verification code, which may be used to verify other channels that have an equivalent identity (i.e. other channels of the same type with the same fingerprint such as other email channels with the same email address or other sms channels with the same number).
The expiration time associated with the code that was returned. If an expiration was provided in the request, this is the minimum of the requested expiration in the request and the max permitted expiration.
getCode
The verification code, which may be used to verify other channels
that have an equivalent identity (i.e. other channels of the same
type with the same fingerprint such as other email channels with
the same email address or other sms channels with the same number).
Returns
Type
Description
string
setCode
The verification code, which may be used to verify other channels
that have an equivalent identity (i.e. other channels of the same
type with the same fingerprint such as other email channels with
the same email address or other sms channels with the same number).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getExpireTime
The expiration time associated with the code that was returned. If
an expiration was provided in the request, this is the minimum of the
requested expiration in the request and the max permitted expiration.
The expiration time associated with the code that was returned. If
an expiration was provided in the request, this is the minimum of the
requested expiration in the request and the max permitted expiration.
[[["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 GetNotificationChannelVerificationCodeResponse (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.GetNotificationChannelVerificationCodeResponse)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.GetNotificationChannelVerificationCodeResponse)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.GetNotificationChannelVerificationCodeResponse)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.GetNotificationChannelVerificationCodeResponse) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class GetNotificationChannelVerificationCodeResponse.\n\nThe `GetNotificationChannelVerificationCode` request.\n\nGenerated from protobuf message `google.monitoring.v3.GetNotificationChannelVerificationCodeResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCode\n\nThe verification code, which may be used to verify other channels\nthat have an equivalent identity (i.e. other channels of the same\ntype with the same fingerprint such as other email channels with\nthe same email address or other sms channels with the same number).\n\n### setCode\n\nThe verification code, which may be used to verify other channels\nthat have an equivalent identity (i.e. other channels of the same\ntype with the same fingerprint such as other email channels with\nthe same email address or other sms channels with the same number).\n\n### getExpireTime\n\nThe expiration time associated with the code that was returned. If\nan expiration was provided in the request, this is the minimum of the\nrequested expiration in the request and the max permitted expiration.\n\n### hasExpireTime\n\n### clearExpireTime\n\n### setExpireTime\n\nThe expiration time associated with the code that was returned. If\nan expiration was provided in the request, this is the minimum of the\nrequested expiration in the request and the max permitted expiration."]]