Class: Google::Apis::MonitoringV3::GetNotificationChannelVerificationCodeResponse
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::GetNotificationChannelVerificationCodeResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
The GetNotificationChannelVerificationCode request.
Instance Attribute Summary collapse
-
#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 ⇒ String
The expiration time associated with the code that was returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetNotificationChannelVerificationCodeResponse
constructor
A new instance of GetNotificationChannelVerificationCodeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetNotificationChannelVerificationCodeResponse
Returns a new instance of GetNotificationChannelVerificationCodeResponse.
1585 1586 1587 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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).
Corresponds to the JSON property code
1576 1577 1578 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1576 def code @code end |
#expire_time ⇒ String
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.
Corresponds to the JSON property expireTime
1583 1584 1585 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1583 def expire_time @expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1590 1591 1592 1593 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1590 def update!(**args) @code = args[:code] if args.key?(:code) @expire_time = args[:expire_time] if args.key?(:expire_time) end |