Class: Google::Apis::ComputeBeta::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange

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

Returns a new instance of InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange.



21488
21489
21490
# File 'lib/google/apis/compute_beta/classes.rb', line 21488

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

Instance Attribute Details

#maxFixnum

Corresponds to the JSON property max

Returns:

  • (Fixnum)


21481
21482
21483
# File 'lib/google/apis/compute_beta/classes.rb', line 21481

def max
  @max
end

#minFixnum

Corresponds to the JSON property min

Returns:

  • (Fixnum)


21486
21487
21488
# File 'lib/google/apis/compute_beta/classes.rb', line 21486

def min
  @min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21493
21494
21495
21496
# File 'lib/google/apis/compute_beta/classes.rb', line 21493

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