Class: Google::Apis::MetastoreV1alpha::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::NetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Network configuration for the Dataproc Metastore service.
Instance Attribute Summary collapse
-
#consumers ⇒ Array<Google::Apis::MetastoreV1alpha::Consumer>
Immutable.
-
#custom_routes_enabled ⇒ Boolean
(also: #custom_routes_enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkConfig
constructor
A new instance of NetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkConfig
Returns a new instance of NetworkConfig.
1995 1996 1997 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1995 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumers ⇒ Array<Google::Apis::MetastoreV1alpha::Consumer>
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
Corresponds to the JSON property consumers
1986 1987 1988 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1986 def consumers @consumers end |
#custom_routes_enabled ⇒ Boolean Also known as: custom_routes_enabled?
Optional. Enables custom routes to be imported and exported for the Dataproc
Metastore service's peered VPC network.
Corresponds to the JSON property customRoutesEnabled
1992 1993 1994 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1992 def custom_routes_enabled @custom_routes_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2000 2001 2002 2003 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 2000 def update!(**args) @consumers = args[:consumers] if args.key?(:consumers) @custom_routes_enabled = args[:custom_routes_enabled] if args.key?(:custom_routes_enabled) end |