Class: Google::Apis::NetworkmanagementV1beta1::NetworkInfo

Inherits:
Object
  • Object
show all
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. Next ID: 7

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkInfo

Returns a new instance of NetworkInfo.



1776
1777
1778
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1776

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

Instance Attribute Details

#display_nameString

Name of a Compute Engine network. Corresponds to the JSON property displayName

Returns:

  • (String)


1754
1755
1756
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1754

def display_name
  @display_name
end

#matched_ip_rangeString

The IP range of the subnet matching the source IP address of the test. Corresponds to the JSON property matchedIpRange

Returns:

  • (String)


1759
1760
1761
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1759

def matched_ip_range
  @matched_ip_range
end

#matched_subnet_uriString

URI of the subnet matching the source IP address of the test. Corresponds to the JSON property matchedSubnetUri

Returns:

  • (String)


1764
1765
1766
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1764

def matched_subnet_uri
  @matched_subnet_uri
end

#regionString

The region of the subnet matching the source IP address of the test. Corresponds to the JSON property region

Returns:

  • (String)


1769
1770
1771
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1769

def region
  @region
end

#uriString

URI of a Compute Engine network. Corresponds to the JSON property uri

Returns:

  • (String)


1774
1775
1776
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1774

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1781
1782
1783
1784
1785
1786
1787
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1781

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