Class: Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequestFaultReason

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesReportHostAsFaultyRequestFaultReason

Returns a new instance of InstancesReportHostAsFaultyRequestFaultReason.



29344
29345
29346
# File 'lib/google/apis/compute_beta/classes.rb', line 29344

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

Instance Attribute Details

#behaviorString

Corresponds to the JSON property behavior

Returns:

  • (String)


29337
29338
29339
# File 'lib/google/apis/compute_beta/classes.rb', line 29337

def behavior
  @behavior
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


29342
29343
29344
# File 'lib/google/apis/compute_beta/classes.rb', line 29342

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29349
29350
29351
29352
# File 'lib/google/apis/compute_beta/classes.rb', line 29349

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