Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Network spec.
Instance Attribute Summary collapse
-
#enable_internet_access ⇒ Boolean
(also: #enable_internet_access?)
Whether to enable public internet access.
-
#network ⇒ String
The full name of the Google Compute Engine network Corresponds to the JSON property
network
. -
#subnetwork ⇒ String
The name of the subnet that this instance is in.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1NetworkSpec
constructor
A new instance of GoogleCloudAiplatformV1NetworkSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1NetworkSpec
Returns a new instance of GoogleCloudAiplatformV1NetworkSpec.
16847 16848 16849 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16847 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_internet_access ⇒ Boolean Also known as: enable_internet_access?
Whether to enable public internet access. Default false.
Corresponds to the JSON property enableInternetAccess
16832 16833 16834 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16832 def enable_internet_access @enable_internet_access end |
#network ⇒ String
The full name of the Google Compute Engine network
Corresponds to the JSON property network
16839 16840 16841 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16839 def network @network end |
#subnetwork ⇒ String
The name of the subnet that this instance is in. Format: projects/
project_id_or_number/regions/
region/subnetworks/
subnetwork_id`
Corresponds to the JSON property
subnetwork`
16845 16846 16847 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16845 def subnetwork @subnetwork end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16852 16853 16854 16855 16856 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16852 def update!(**args) @enable_internet_access = args[:enable_internet_access] if args.key?(:enable_internet_access) @network = args[:network] if args.key?(:network) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end |