Reference documentation and code samples for the Stackdriver Monitoring V3 Client class VerifyNotificationChannelRequest.
The VerifyNotificationChannel
request.
Generated from protobuf message google.monitoring.v3.VerifyNotificationChannelRequest
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
getName
Required. The notification channel to verify.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The notification channel to verify.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
name |
string
Required. The notification channel to verify. Please see NotificationChannelServiceClient::notificationChannelName() for help formatting this field. |
code |
string
Required. The verification code that was delivered to the channel as
a result of invoking the |
Returns | |
---|---|
Type | Description |
VerifyNotificationChannelRequest |