Class: Google::Apis::NetworkmanagementV1::DirectVpcEgressConnectionInfo

Inherits:
Object
  • Object
show all
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 serverless direct VPC egress connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectVpcEgressConnectionInfo

Returns a new instance of DirectVpcEgressConnectionInfo.



665
666
667
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 665

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

Instance Attribute Details

#network_uriString

URI of direct access network. Corresponds to the JSON property networkUri

Returns:

  • (String)


643
644
645
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 643

def network_uri
  @network_uri
end

#regionString

Region in which the Direct VPC egress is deployed. Corresponds to the JSON property region

Returns:

  • (String)


648
649
650
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 648

def region
  @region
end

#selected_ip_addressString

Selected starting IP address, from the selected IP range. Corresponds to the JSON property selectedIpAddress

Returns:

  • (String)


653
654
655
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 653

def selected_ip_address
  @selected_ip_address
end

#selected_ip_rangeString

Selected IP range. Corresponds to the JSON property selectedIpRange

Returns:

  • (String)


658
659
660
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 658

def selected_ip_range
  @selected_ip_range
end

#subnetwork_uriString

URI of direct access subnetwork. Corresponds to the JSON property subnetworkUri

Returns:

  • (String)


663
664
665
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 663

def subnetwork_uri
  @subnetwork_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



670
671
672
673
674
675
676
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 670

def update!(**args)
  @network_uri = args[:network_uri] if args.key?(:network_uri)
  @region = args[:region] if args.key?(:region)
  @selected_ip_address = args[:selected_ip_address] if args.key?(:selected_ip_address)
  @selected_ip_range = args[:selected_ip_range] if args.key?(:selected_ip_range)
  @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
end