Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::PrivateConnection (v0.8.0)

Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::PrivateConnection.

Private connection resource that provides connectivity for VMware Engine private clouds.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. User-provided description for this private connection.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. User-provided description for this private connection.
Returns
  • (::String) — Optional. User-provided description for this private connection.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

#peering_id

def peering_id() -> ::String
Returns
  • (::String) — Output only. VPC network peering id between given network VPC and VMwareEngineNetwork.

#peering_state

def peering_state() -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection::PeeringState
Returns

#routing_mode

def routing_mode() -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection::RoutingMode
Returns

#routing_mode=

def routing_mode=(value) -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection::RoutingMode
Parameter
Returns

#service_network

def service_network() -> ::String
Returns
  • (::String) — Required. Service network to create private connection. Specify the name in the following form: projects/{project}/global/networks/{network_id} For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc.

#service_network=

def service_network=(value) -> ::String
Parameter
  • value (::String) — Required. Service network to create private connection. Specify the name in the following form: projects/{project}/global/networks/{network_id} For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc.
Returns
  • (::String) — Required. Service network to create private connection. Specify the name in the following form: projects/{project}/global/networks/{network_id} For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc.

#state

def state() -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection::State
Returns

#type

def type() -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::VmwareEngine::V1::PrivateConnection::Type
Parameter
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. System-generated unique identifier for the resource.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#vmware_engine_network

def vmware_engine_network() -> ::String
Returns
  • (::String) — Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project}, {location} will be same as specified in private connection resource name and {vmware_engine_network_id} will be in the form of {location}-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.

#vmware_engine_network=

def vmware_engine_network=(value) -> ::String
Parameter
  • value (::String) — Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project}, {location} will be same as specified in private connection resource name and {vmware_engine_network_id} will be in the form of {location}-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
Returns
  • (::String) — Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project}, {location} will be same as specified in private connection resource name and {vmware_engine_network_id} will be in the form of {location}-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.

#vmware_engine_network_canonical

def vmware_engine_network_canonical() -> ::String
Returns
  • (::String) — Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}