Class: Google::Apis::MetastoreV1beta::NetworkConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/metastore_v1beta/classes.rb,
lib/google/apis/metastore_v1beta/representations.rb,
lib/google/apis/metastore_v1beta/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.



2003
2004
2005
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2003

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

Instance Attribute Details

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

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



1994
1995
1996
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 1994

def consumers
  @consumers
end

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

Returns:

  • (Boolean)


2000
2001
2002
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2000

def custom_routes_enabled
  @custom_routes_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2008
2009
2010
2011
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 2008

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