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.



28186
28187
28188
# File 'lib/google/apis/compute_beta/classes.rb', line 28186

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

Instance Attribute Details

#behaviorString

Corresponds to the JSON property behavior

Returns:

  • (String)


28179
28180
28181
# File 'lib/google/apis/compute_beta/classes.rb', line 28179

def behavior
  @behavior
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


28184
28185
28186
# File 'lib/google/apis/compute_beta/classes.rb', line 28184

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28191
28192
28193
28194
# File 'lib/google/apis/compute_beta/classes.rb', line 28191

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