Class: Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesReportHostAsFaultyRequestFaultReason

Returns a new instance of InstancesReportHostAsFaultyRequestFaultReason.



26796
26797
26798
# File 'lib/google/apis/compute_alpha/classes.rb', line 26796

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

Instance Attribute Details

#behaviorString

Corresponds to the JSON property behavior

Returns:

  • (String)


26789
26790
26791
# File 'lib/google/apis/compute_alpha/classes.rb', line 26789

def behavior
  @behavior
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


26794
26795
26796
# File 'lib/google/apis/compute_alpha/classes.rb', line 26794

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26801
26802
26803
26804
# File 'lib/google/apis/compute_alpha/classes.rb', line 26801

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