Class: Google::Apis::MonitoringV3::VerifyNotificationChannelRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::VerifyNotificationChannelRequest
 
 
- 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 VerifyNotificationChannel request.
Instance Attribute Summary collapse
- 
  
    
      #code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VerifyNotificationChannelRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VerifyNotificationChannelRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ VerifyNotificationChannelRequest
Returns a new instance of VerifyNotificationChannelRequest.
      5234 5235 5236  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 5234 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#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).
Corresponds to the JSON property code
      5232 5233 5234  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 5232 def code @code end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5239 5240 5241  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 5239 def update!(**args) @code = args[:code] if args.key?(:code) end  |