Class: Google::Apis::DeploymentmanagerAlpha::Diagnostic
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::Diagnostic
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_alpha/classes.rb,
generated/google/apis/deploymentmanager_alpha/representations.rb,
generated/google/apis/deploymentmanager_alpha/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.
Constructor Details
#initialize(**args) ⇒ Diagnostic
Returns a new instance of Diagnostic.
818 819 820 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 818 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
811 812 813 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 811 def field @field end |
#level ⇒ String
Level to record this diagnostic.
Corresponds to the JSON property level
816 817 818 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 816 def level @level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
823 824 825 826 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 823 def update!(**args) @field = args[:field] if args.key?(:field) @level = args[:level] if args.key?(:level) end |