Class: Google::Apis::ComputeBeta::RouterStatusResponse

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) ⇒ RouterStatusResponse

Returns a new instance of RouterStatusResponse.



30439
30440
30441
# File 'lib/google/apis/compute_beta/classes.rb', line 30439

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

Instance Attribute Details

#kindString

Type of resource. Corresponds to the JSON property kind

Returns:

  • (String)


30432
30433
30434
# File 'lib/google/apis/compute_beta/classes.rb', line 30432

def kind
  @kind
end

#resultGoogle::Apis::ComputeBeta::RouterStatus

Corresponds to the JSON property result



30437
30438
30439
# File 'lib/google/apis/compute_beta/classes.rb', line 30437

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30444
30445
30446
30447
# File 'lib/google/apis/compute_beta/classes.rb', line 30444

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