Class: Google::Apis::DeploymentmanagerV2beta::Diagnostic
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DeploymentmanagerV2beta::Diagnostic
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2beta/classes.rb,
 generated/google/apis/deploymentmanager_v2beta/representations.rb,
 generated/google/apis/deploymentmanager_v2beta/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #field  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic. 
- 
  
    
      #level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Level to record this diagnostic. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Diagnostic 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Diagnostic. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Diagnostic
Returns a new instance of Diagnostic
| 801 802 803 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 801 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#field ⇒ String
JsonPath expression on the resource that if non empty, indicates that this
field needs to be extracted as a diagnostic.
Corresponds to the JSON property field
| 794 795 796 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 794 def field @field end | 
#level ⇒ String
Level to record this diagnostic.
Corresponds to the JSON property level
| 799 800 801 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 799 def level @level end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 806 807 808 809 | # File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 806 def update!(**args) @field = args[:field] if args.key?(:field) @level = args[:level] if args.key?(:level) end |