Class: Google::Cloud::EdgeContainer::V1::VpnConnection
- Inherits:
-
Object
- Object
- Google::Cloud::EdgeContainer::V1::VpnConnection
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/edgecontainer/v1/resources.rb
Overview
A VPN connection .
Defined Under Namespace
Modules: BgpRoutingMode Classes: Details, LabelsEntry, VpcProject
Instance Attribute Summary collapse
-
#bgp_routing_mode ⇒ ::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#cluster ⇒ ::String
The canonical Cluster name to connect to.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#details ⇒ ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details
readonly
Output only.
-
#enable_high_availability ⇒ ::Boolean
Whether this VPN connection has HA enabled on cluster side.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels associated with this resource.
-
#name ⇒ ::String
Required.
-
#nat_gateway_ip ⇒ ::String
NAT gateway IP, or WAN IP address.
-
#router ⇒ ::String
Optional.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#vpc ⇒ ::String
The network ID of VPC to connect to.
-
#vpc_project ⇒ ::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject
Optional.
Instance Attribute Details
#bgp_routing_mode ⇒ ::Google::Cloud::EdgeContainer::V1::VpnConnection::BgpRoutingMode
This field is deprecated and may be removed in the next major version update.
Returns Dynamic routing mode of the VPC network, regional
or global
.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#cluster ⇒ ::String
Returns The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the VPN connection was created.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#details ⇒ ::Google::Cloud::EdgeContainer::V1::VpnConnection::Details (readonly)
Returns Output only. The created connection details.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#enable_high_availability ⇒ ::Boolean
Returns Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels associated with this resource.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#name ⇒ ::String
Returns Required. The resource name of VPN connection.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#nat_gateway_ip ⇒ ::String
Returns NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#router ⇒ ::String
Returns Optional. The VPN connection Cloud Router name.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the VPN connection was last updated.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#vpc ⇒ ::String
Returns The network ID of VPC to connect to.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |
#vpc_project ⇒ ::Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject
Returns Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project.
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 612 class VpnConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Project detail of the VPC network. # @!attribute [rw] project_id # @return [::String] # The project of the VPC to connect to. If not specified, it is the same as # the cluster project. # @!attribute [rw] service_account # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::String] # Optional. The service account in the VPC project configured by user. It # is used to create/delete Cloud Router and Cloud HA VPNs for VPN # connection. If this SA is changed during/after a VPN connection is # created, you need to remove the Cloud Router and Cloud VPN resources in # |project_id|. It is in the form of # service-\\{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. class VpcProject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The created connection details. # @!attribute [rw] state # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::State] # The state of this connection. # @!attribute [rw] error # @return [::String] # The error message. This is only populated when state=ERROR. # @!attribute [rw] cloud_router # @return [::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudRouter] # The Cloud Router info. # @!attribute [rw] cloud_vpns # @return [::Array<::Google::Cloud::EdgeContainer::V1::VpnConnection::Details::CloudVpn>] # Each connection has multiple Cloud VPN gateways. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The Cloud Router info. # @!attribute [rw] name # @return [::String] # The associated Cloud Router name. class CloudRouter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The Cloud VPN info. # @!attribute [rw] gateway # @return [::String] # The created Cloud VPN gateway name. class CloudVpn include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current connection state. module State # Unknown. STATE_UNSPECIFIED = 0 # Connected. STATE_CONNECTED = 1 # Still connecting. STATE_CONNECTING = 2 # Error occurred. STATE_ERROR = 3 end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Routing mode. module BgpRoutingMode # Unknown. BGP_ROUTING_MODE_UNSPECIFIED = 0 # Regional mode. REGIONAL = 1 # Global mode. GLOBAL = 2 end end |