Class: Google::Apis::ComputeAlpha::RouterBgp
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::RouterBgp
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #advertise_mode  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User-specified flag to indicate which mode to use for advertisement. 
- 
  
    
      #advertised_groups  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User-specified list of prefix groups to advertise in custom mode. 
- 
  
    
      #advertised_ip_ranges  ⇒ Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User-specified list of individual IP ranges to advertise in custom mode. 
- 
  
    
      #advertised_prefixs  ⇒ Array<Google::Apis::ComputeAlpha::RouterAdvertisedPrefix> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User-specified list of individual prefixes to advertise in custom mode. 
- 
  
    
      #asn  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Local BGP Autonomous System Number (ASN). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RouterBgp 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RouterBgp. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ RouterBgp
Returns a new instance of RouterBgp
| 20993 20994 20995 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20993 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#advertise_mode ⇒ String
User-specified flag to indicate which mode to use for advertisement.
Corresponds to the JSON property advertiseMode
| 20960 20961 20962 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20960 def advertise_mode @advertise_mode end | 
#advertised_groups ⇒ Array<String>
User-specified list of prefix groups to advertise in custom mode. This field
can only be populated if advertise_mode is CUSTOM and is advertised to all
peers of the router. These groups will be advertised in addition to any
specified prefixes. Leave this field blank to advertise no custom groups.
Corresponds to the JSON property advertisedGroups
| 20968 20969 20970 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20968 def advertised_groups @advertised_groups end | 
#advertised_ip_ranges ⇒ Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange>
User-specified list of individual IP ranges to advertise in custom mode. This
field can only be populated if advertise_mode is CUSTOM and is advertised to
all peers of the router. These IP ranges will be advertised in addition to any
specified groups. Leave this field blank to advertise no custom IP ranges.
Corresponds to the JSON property advertisedIpRanges
| 20976 20977 20978 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20976 def advertised_ip_ranges @advertised_ip_ranges end | 
#advertised_prefixs ⇒ Array<Google::Apis::ComputeAlpha::RouterAdvertisedPrefix>
User-specified list of individual prefixes to advertise in custom mode. This
field can only be populated if advertise_mode is CUSTOM and is advertised to
all peers of the router. These prefixes will be advertised in addition to any
specified groups. Leave this field blank to advertise no custom prefixes.
Corresponds to the JSON property advertisedPrefixs
| 20984 20985 20986 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20984 def advertised_prefixs @advertised_prefixs end | 
#asn ⇒ Fixnum
Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN,
either 16-bit or 32-bit. The value will be fixed for this router resource. All
VPN tunnels that link to this router will have the same local ASN.
Corresponds to the JSON property asn
| 20991 20992 20993 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20991 def asn @asn end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 20998 20999 21000 21001 21002 21003 21004 | # File 'generated/google/apis/compute_alpha/classes.rb', line 20998 def update!(**args) @advertise_mode = args[:advertise_mode] if args.key?(:advertise_mode) @advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups) @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges) @advertised_prefixs = args[:advertised_prefixs] if args.key?(:advertised_prefixs) @asn = args[:asn] if args.key?(:asn) end |