Class: Google::Apis::MetastoreV1alpha::NetworkConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkConfig

Returns a new instance of NetworkConfig.



1413
1414
1415
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1413

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

Instance Attribute Details

#consumersArray<Google::Apis::MetastoreV1alpha::Consumer>

Immutable. The consumer-side network configuration for the Dataproc Metastore instance. Corresponds to the JSON property consumers



1404
1405
1406
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1404

def consumers
  @consumers
end

#custom_routes_enabledBoolean Also known as: custom_routes_enabled?

Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network. Corresponds to the JSON property customRoutesEnabled

Returns:

  • (Boolean)


1410
1411
1412
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1410

def custom_routes_enabled
  @custom_routes_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1418
1419
1420
1421
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1418

def update!(**args)
  @consumers = args[:consumers] if args.key?(:consumers)
  @custom_routes_enabled = args[:custom_routes_enabled] if args.key?(:custom_routes_enabled)
end