Class: Google::Apis::ComputeV1::RouterStatusResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RouterStatusResponse

Returns a new instance of RouterStatusResponse.



26516
26517
26518
# File 'generated/google/apis/compute_v1/classes.rb', line 26516

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

Instance Attribute Details

#kindString

Type of resource. Corresponds to the JSON property kind

Returns:

  • (String)


26509
26510
26511
# File 'generated/google/apis/compute_v1/classes.rb', line 26509

def kind
  @kind
end

#resultGoogle::Apis::ComputeV1::RouterStatus

Corresponds to the JSON property result



26514
26515
26516
# File 'generated/google/apis/compute_v1/classes.rb', line 26514

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26521
26522
26523
26524
# File 'generated/google/apis/compute_v1/classes.rb', line 26521

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