Class: Google::Apis::ComputeBeta::RoutersPreviewResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RoutersPreviewResponse

Returns a new instance of RoutersPreviewResponse.



28579
28580
28581
# File 'generated/google/apis/compute_beta/classes.rb', line 28579

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

Instance Attribute Details

#resourceGoogle::Apis::ComputeBeta::Router

Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview. Corresponds to the JSON property resource



28577
28578
28579
# File 'generated/google/apis/compute_beta/classes.rb', line 28577

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28584
28585
28586
# File 'generated/google/apis/compute_beta/classes.rb', line 28584

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