Class: Google::Apis::ComputeBeta::InterconnectRemoteLocationConstraintsSubnetLengthRange

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

Returns a new instance of InterconnectRemoteLocationConstraintsSubnetLengthRange.



20430
20431
20432
# File 'lib/google/apis/compute_beta/classes.rb', line 20430

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

Instance Attribute Details

#maxFixnum

Corresponds to the JSON property max

Returns:

  • (Fixnum)


20423
20424
20425
# File 'lib/google/apis/compute_beta/classes.rb', line 20423

def max
  @max
end

#minFixnum

Corresponds to the JSON property min

Returns:

  • (Fixnum)


20428
20429
20430
# File 'lib/google/apis/compute_beta/classes.rb', line 20428

def min
  @min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20435
20436
20437
20438
# File 'lib/google/apis/compute_beta/classes.rb', line 20435

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