class Google::Apis::ManagerV1beta2::NetworkModule
Attributes
description[RW]
The description of the network. Corresponds to the JSON property `description` @return [String]
gateway_i_pv4[RW]
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` @return [String]
i_pv4_range[RW]
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` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 841 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# 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