Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::NetworkSpec (v0.41.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::NetworkSpec.

Network spec.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_internet_access

def enable_internet_access() -> ::Boolean
Returns
  • (::Boolean) — Whether to enable public internet access. Default false.

#enable_internet_access=

def enable_internet_access=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether to enable public internet access. Default false.
Returns
  • (::Boolean) — Whether to enable public internet access. Default false.

#network

def network() -> ::String
Returns
  • (::String) — The full name of the Google Compute Engine network

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — The full name of the Google Compute Engine network
Returns
  • (::String) — The full name of the Google Compute Engine network

#subnetwork

def subnetwork() -> ::String
Returns
  • (::String) — The name of the subnet that this instance is in. Format: projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — The name of the subnet that this instance is in. Format: projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}
Returns
  • (::String) — The name of the subnet that this instance is in. Format: projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}