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.



1249
1250
1251
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1249

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



1247
1248
1249
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1247

def consumers
  @consumers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1254
1255
1256
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 1254

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