class Google::Apis::ComputeV1::RoutersPreviewResponse

Attributes

resource[RW]

Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview. Corresponds to the JSON property `resource` @return [Google::Apis::ComputeV1::Router]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 31296
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 31301
def update!(**args)
  @resource = args[:resource] if args.key?(:resource)
end