Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
- 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
Configuration for egress control of sandbox instances.
Instance Attribute Summary collapse
-
#customer_vpc_network ⇒ String
Optional.
-
#dns_peering_configs ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig>
Optional.
-
#internet_access ⇒ Boolean
(also: #internet_access?)
Optional.
-
#network_attachment ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
constructor
A new instance of GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
Returns a new instance of GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig.
37228 37229 37230 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_vpc_network ⇒ String
Optional. The customer VPC network that sandbox egress is routed into.
Corresponds to the JSON property customerVpcNetwork
37208 37209 37210 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37208 def customer_vpc_network @customer_vpc_network end |
#dns_peering_configs ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig>
Optional. DNS peering configurations that allow sandbox egress to resolve
customer-internal domains via the customer VPC.
Corresponds to the JSON property dnsPeeringConfigs
37214 37215 37216 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37214 def dns_peering_configs @dns_peering_configs end |
#internet_access ⇒ Boolean Also known as: internet_access?
Optional. Whether to allow internet access.
Corresponds to the JSON property internetAccess
37219 37220 37221 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37219 def internet_access @internet_access end |
#network_attachment ⇒ String
Optional. The name of the customer VPC NetworkAttachment used to draw a PSC
interface IP into the customer VPC for sandbox egress.
Corresponds to the JSON property networkAttachment
37226 37227 37228 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37226 def @network_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37233 37234 37235 37236 37237 37238 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37233 def update!(**args) @customer_vpc_network = args[:customer_vpc_network] if args.key?(:customer_vpc_network) @dns_peering_configs = args[:dns_peering_configs] if args.key?(:dns_peering_configs) @internet_access = args[:internet_access] if args.key?(:internet_access) @network_attachment = args[:network_attachment] if args.key?(:network_attachment) end |