Class: Google::Apis::NetworkmanagementV1beta1::NetworkInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::NetworkInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
For display only. Metadata associated with a Compute Engine network.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Compute Engine network.
-
#matched_ip_range ⇒ String
The IP range that matches the test.
-
#uri ⇒ String
URI of a Compute Engine network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkInfo
constructor
A new instance of NetworkInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkInfo
Returns a new instance of NetworkInfo.
1254 1255 1256 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Compute Engine network.
Corresponds to the JSON property displayName
1242 1243 1244 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1242 def display_name @display_name end |
#matched_ip_range ⇒ String
The IP range that matches the test.
Corresponds to the JSON property matchedIpRange
1247 1248 1249 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1247 def matched_ip_range @matched_ip_range end |
#uri ⇒ String
URI of a Compute Engine network.
Corresponds to the JSON property uri
1252 1253 1254 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1252 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1259 1260 1261 1262 1263 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1259 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @matched_ip_range = args[:matched_ip_range] if args.key?(:matched_ip_range) @uri = args[:uri] if args.key?(:uri) end |