Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig

Returns a new instance of GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.



52303
52304
52305
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 52303

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#customer_vpc_networkString

Optional. The customer VPC network that sandbox egress is routed into. Corresponds to the JSON property customerVpcNetwork

Returns:

  • (String)


52283
52284
52285
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 52283

def customer_vpc_network
  @customer_vpc_network
end

#dns_peering_configsArray<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



52289
52290
52291
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 52289

def dns_peering_configs
  @dns_peering_configs
end

#internet_accessBoolean Also known as: internet_access?

Optional. Whether to allow internet access. Corresponds to the JSON property internetAccess

Returns:

  • (Boolean)


52294
52295
52296
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 52294

def internet_access
  @internet_access
end

#network_attachmentString

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

Returns:

  • (String)


52301
52302
52303
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 52301

def network_attachment
  @network_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52308
52309
52310
52311
52312
52313
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 52308

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