Class: Google::Apis::ManagerV1beta2::NetworkModule
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::NetworkModule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the network.
-
#gateway_i_pv4 ⇒ String
An optional address that is used for default routing to other networks.
-
#i_pv4_range ⇒ String
Required; The range of internal addresses that are legal on this network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkModule
constructor
A new instance of NetworkModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkModule
Returns a new instance of NetworkModule.
841 842 843 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the network.
Corresponds to the JSON property description
831 832 833 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 831 def description @description end |
#gateway_i_pv4 ⇒ String
An optional address that is used for default routing to other networks. This
must be within the range specified by IPv4Range, and is typicall the first
usable address in that range. If not specified, the default value is the first
usable address in IPv4Range.
Corresponds to the JSON property gatewayIPv4
839 840 841 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 839 def gateway_i_pv4 @gateway_i_pv4 end |
#i_pv4_range ⇒ String
Required; The range of internal addresses that are legal on this network. This
range is a CIDR specification, for example: 192.168.0.0/16.
Corresponds to the JSON property IPv4Range
826 827 828 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 826 def i_pv4_range @i_pv4_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
846 847 848 849 850 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 846 def update!(**args) @i_pv4_range = args[:i_pv4_range] if args.key?(:i_pv4_range) @description = args[:description] if args.key?(:description) @gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4) end |