Class: Google::Apis::DeploymentmanagerV2beta::Diagnostic

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Diagnostic

Returns a new instance of Diagnostic.



766
767
768
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 766

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fieldString

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

Returns:

  • (String)


759
760
761
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 759

def field
  @field
end

#levelString

Level to record this diagnostic. Corresponds to the JSON property level

Returns:

  • (String)


764
765
766
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 764

def level
  @level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



771
772
773
774
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 771

def update!(**args)
  @field = args[:field] if args.key?(:field)
  @level = args[:level] if args.key?(:level)
end