Class: Google::Apis::DatafusionV1beta1::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1beta1::NetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datafusion_v1beta1/classes.rb,
generated/google/apis/datafusion_v1beta1/representations.rb,
generated/google/apis/datafusion_v1beta1/representations.rb
Overview
Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.
Instance Attribute Summary collapse
-
#ip_allocation ⇒ String
The IP range in CIDR notation to use for the managed Data Fusion instance nodes.
-
#network ⇒ String
Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkConfig
constructor
A new instance of NetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkConfig
Returns a new instance of NetworkConfig
763 764 765 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_allocation ⇒ String
The IP range in CIDR notation to use for the managed Data Fusion instance
nodes. This range must not overlap with any other ranges used in the Data
Fusion instance network.
Corresponds to the JSON property ipAllocation
755 756 757 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 755 def ip_allocation @ip_allocation end |
#network ⇒ String
Name of the network in the customer project with which the Tenant Project
will be peered for executing pipelines.
Corresponds to the JSON property network
761 762 763 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 761 def network @network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
768 769 770 771 |
# File 'generated/google/apis/datafusion_v1beta1/classes.rb', line 768 def update!(**args) @ip_allocation = args[:ip_allocation] if args.key?(:ip_allocation) @network = args[:network] if args.key?(:network) end |