Class: Google::Apis::NetworkmanagementV1::NetworkInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::NetworkInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb
Overview
For display only. Metadata associated with a Compute Engine network. Next ID: 7
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Compute Engine network.
-
#matched_ip_range ⇒ String
The IP range of the subnet matching the source IP address of the test.
-
#matched_subnet_uri ⇒ String
URI of the subnet matching the source IP address of the test.
-
#region ⇒ String
The region of the subnet matching the source IP address of 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.
1738 1739 1740 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Compute Engine network.
Corresponds to the JSON property displayName
1716 1717 1718 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1716 def display_name @display_name end |
#matched_ip_range ⇒ String
The IP range of the subnet matching the source IP address of the test.
Corresponds to the JSON property matchedIpRange
1721 1722 1723 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1721 def matched_ip_range @matched_ip_range end |
#matched_subnet_uri ⇒ String
URI of the subnet matching the source IP address of the test.
Corresponds to the JSON property matchedSubnetUri
1726 1727 1728 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1726 def matched_subnet_uri @matched_subnet_uri end |
#region ⇒ String
The region of the subnet matching the source IP address of the test.
Corresponds to the JSON property region
1731 1732 1733 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1731 def region @region end |
#uri ⇒ String
URI of a Compute Engine network.
Corresponds to the JSON property uri
1736 1737 1738 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1736 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1743 1744 1745 1746 1747 1748 1749 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1743 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) @matched_subnet_uri = args[:matched_subnet_uri] if args.key?(:matched_subnet_uri) @region = args[:region] if args.key?(:region) @uri = args[:uri] if args.key?(:uri) end |