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.



707
708
709
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 707

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

Instance Attribute Details

#network_uriString

URI of the VPC network for direct egress. Format: projects/project_id/ global/networks/network_id` Corresponds to the JSON propertynetworkUri`

Returns:

  • (String)


684
685
686
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 684

def network_uri
  @network_uri
end

#regionString

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

Returns:

  • (String)


689
690
691
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 689

def region
  @region
end

#selected_ip_addressString

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

Returns:

  • (String)


694
695
696
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 694

def selected_ip_address
  @selected_ip_address
end

#selected_ip_rangeString

Selected IP range. Corresponds to the JSON property selectedIpRange

Returns:

  • (String)


699
700
701
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 699

def selected_ip_range
  @selected_ip_range
end

#subnetwork_uriString

URI of the subnetwork for direct egress. Format: projects/project_id/ regions/region/subnetworks/subnetwork_id` Corresponds to the JSON propertysubnetworkUri`

Returns:

  • (String)


705
706
707
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 705

def subnetwork_uri
  @subnetwork_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



712
713
714
715
716
717
718
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 712

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