Class: Google::Apis::NetworkmanagementV1::DirectVpcEgressConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::DirectVpcEgressConnectionInfo
- 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
-
#network_uri ⇒ String
URI of the VPC network for direct egress.
-
#region ⇒ String
Region in which the Direct VPC egress is deployed.
-
#selected_ip_address ⇒ String
Selected starting IP address, from the selected IP range.
-
#selected_ip_range ⇒ String
Selected IP range.
-
#subnetwork_uri ⇒ String
URI of the subnetwork for direct egress.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectVpcEgressConnectionInfo
constructor
A new instance of DirectVpcEgressConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_uri ⇒ String
URI of the VPC network for direct egress. Format: projects/project_id/
global/networks/network_id`
Corresponds to the JSON propertynetworkUri`
684 685 686 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 684 def network_uri @network_uri end |
#region ⇒ String
Region in which the Direct VPC egress is deployed.
Corresponds to the JSON property region
689 690 691 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 689 def region @region end |
#selected_ip_address ⇒ String
Selected starting IP address, from the selected IP range.
Corresponds to the JSON property selectedIpAddress
694 695 696 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 694 def selected_ip_address @selected_ip_address end |
#selected_ip_range ⇒ String
Selected IP range.
Corresponds to the JSON property selectedIpRange
699 700 701 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 699 def selected_ip_range @selected_ip_range end |
#subnetwork_uri ⇒ String
URI of the subnetwork for direct egress. Format: projects/project_id/
regions/region/subnetworks/subnetwork_id`
Corresponds to the JSON propertysubnetworkUri`
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 |