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.



33848
33849
33850
# File 'lib/google/apis/compute_beta/classes.rb', line 33848

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

Instance Attribute Details

#kindString

Type of resource. Corresponds to the JSON property kind

Returns:

  • (String)


33841
33842
33843
# File 'lib/google/apis/compute_beta/classes.rb', line 33841

def kind
  @kind
end

#resultGoogle::Apis::ComputeBeta::RouterStatus

Corresponds to the JSON property result



33846
33847
33848
# File 'lib/google/apis/compute_beta/classes.rb', line 33846

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33853
33854
33855
33856
# File 'lib/google/apis/compute_beta/classes.rb', line 33853

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