Class: Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequestFaultReason

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesReportHostAsFaultyRequestFaultReason

Returns a new instance of InstancesReportHostAsFaultyRequestFaultReason.



26928
26929
26930
# File 'lib/google/apis/compute_v1/classes.rb', line 26928

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

Instance Attribute Details

#behaviorString

Corresponds to the JSON property behavior

Returns:

  • (String)


26921
26922
26923
# File 'lib/google/apis/compute_v1/classes.rb', line 26921

def behavior
  @behavior
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


26926
26927
26928
# File 'lib/google/apis/compute_v1/classes.rb', line 26926

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26933
26934
26935
26936
# File 'lib/google/apis/compute_v1/classes.rb', line 26933

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