Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
- 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 egress control of sandbox instances.
Instance Attribute Summary collapse
-
#customer_vpc_network ⇒ String
Optional.
-
#dns_peering_configs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig>
Optional.
-
#internet_access ⇒ Boolean
(also: #internet_access?)
Optional.
-
#network_attachment ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
Returns a new instance of GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.
51731 51732 51733 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51731 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
51711 51712 51713 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51711 def customer_vpc_network @customer_vpc_network end |
#dns_peering_configs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig>
Optional. DNS peering configurations that allow sandbox egress to resolve
customer-internal domains via the customer VPC.
Corresponds to the JSON property dnsPeeringConfigs
51717 51718 51719 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51717 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
51722 51723 51724 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51722 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
51729 51730 51731 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51729 def @network_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51736 51737 51738 51739 51740 51741 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51736 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 |