Stackdriver Monitoring V3 Client - Class GetNotificationChannelVerificationCodeResponse (1.2.2)

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

The GetNotificationChannelVerificationCode request.

Generated from protobuf message google.monitoring.v3.GetNotificationChannelVerificationCodeResponse

Methods

__construct

Constructor.

Parameters
NameDescription
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).

↳ expire_time Google\Protobuf\Timestamp

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).

Generated from protobuf field string code = 1;

Returns
TypeDescription
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).

Generated from protobuf field string code = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Generated from protobuf field .google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

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.

Generated from protobuf field .google.protobuf.Timestamp expire_time = 2;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this