Class: Google::Apis::NetworkconnectivityV1::InterconnectAttachment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb

Overview

InterconnectAttachment that this route applies to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectAttachment

Returns a new instance of InterconnectAttachment.



1027
1028
1029
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1027

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

Instance Attribute Details

#regionString

Optional. Cloud region to install this policy-based route on interconnect attachment. Use all to install it on all interconnect attachments. Corresponds to the JSON property region

Returns:

  • (String)


1025
1026
1027
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1025

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1032
1033
1034
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1032

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