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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkInfo

Returns a new instance of NetworkInfo.



1364
1365
1366
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1364

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)


1352
1353
1354
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1352

def display_name
  @display_name
end

#matched_ip_rangeString

The IP range that matches the test. Corresponds to the JSON property matchedIpRange

Returns:

  • (String)


1357
1358
1359
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1357

def matched_ip_range
  @matched_ip_range
end

#uriString

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

Returns:

  • (String)


1362
1363
1364
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1362

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1369
1370
1371
1372
1373
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1369

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