Stackdriver Monitoring V3 Client - Class VerifyNotificationChannelRequest (1.4.0)

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

The VerifyNotificationChannel request.

Generated from protobuf message google.monitoring.v3.VerifyNotificationChannelRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The notification channel to verify.

↳ code string

Required. The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).

getName

Required. The notification channel to verify.

Returns
TypeDescription
string

setName

Required. The notification channel to verify.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCode

Required. The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).

Returns
TypeDescription
string

setCode

Required. The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).

Parameter
NameDescription
var string
Returns
TypeDescription
$this