Distributed Cloud Edge Container V1 API - Class Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject (v0.1.1)

Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::VpnConnection::VpcProject.

Project detail of the VPC network.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#project_id

def project_id() -> ::String
Returns
  • (::String) — The project of the VPC to connect to. If not specified, it is the same as the cluster project.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — The project of the VPC to connect to. If not specified, it is the same as the cluster project.
Returns
  • (::String) — The project of the VPC to connect to. If not specified, it is the same as the cluster project.

#service_account

def service_account() -> ::String
Returns
  • (::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.

#service_account=

def service_account=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.