Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeResponse.
The GetNotificationChannelVerificationCode request.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#code
defcode()->::String
Returns
(::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).
#code=
defcode=(value)->::String
Parameter
value (::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).
Returns
(::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
defexpire_time()->::Google::Protobuf::Timestamp
Returns
(::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.
value (::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.
Returns
(::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.
[[["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,["# Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeResponse (v1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.6.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.6.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.5.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.5.1/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.4.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.4.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.3.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.3.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.2.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.2.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.1.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.0.1/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.18.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.18.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.17.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.17.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.16.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.15.2](/ruby/docs/reference/google-cloud-monitoring-v3/0.15.2/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.14.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.14.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.13.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.12.1/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.11.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.10.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.9.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.9.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.8.0/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse)\n- [0.7.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.7.1/Google-Cloud-Monitoring-V3-GetNotificationChannelVerificationCodeResponse) \nReference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::GetNotificationChannelVerificationCodeResponse.\n\nThe `GetNotificationChannelVerificationCode` request. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #code\n\n def code() -\u003e ::String\n\n**Returns**\n\n- (::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).\n\n### #code=\n\n def code=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::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). \n**Returns**\n\n- (::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).\n\n### #expire_time\n\n def expire_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./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.\n\n### #expire_time=\n\n def expire_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./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. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./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."]]