Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Configuration for a custom environment.
Instance Attribute Summary collapse
-
#network_allowlist ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist
Network egress configuration for the environment.
-
#network_mode ⇒ String
Network egress mode.
-
#sources ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfigSource>
Corresponds to the JSON property
sources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1EnvironmentConfig
constructor
A new instance of GenaiVertexV1beta1EnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1EnvironmentConfig
Returns a new instance of GenaiVertexV1beta1EnvironmentConfig.
1834 1835 1836 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1834 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_allowlist ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist
Network egress configuration for the environment.
Corresponds to the JSON property networkAllowlist
1822 1823 1824 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1822 def network_allowlist @network_allowlist end |
#network_mode ⇒ String
Network egress mode.
Corresponds to the JSON property networkMode
1827 1828 1829 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1827 def network_mode @network_mode end |
#sources ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfigSource>
Corresponds to the JSON property sources
1832 1833 1834 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1832 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1839 1840 1841 1842 1843 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1839 def update!(**args) @network_allowlist = args[:network_allowlist] if args.key?(:network_allowlist) @network_mode = args[:network_mode] if args.key?(:network_mode) @sources = args[:sources] if args.key?(:sources) end |