Class: Google::Apis::ManagedkafkaV1::AccessConfig
- Inherits:
-
Object
- Object
- Google::Apis::ManagedkafkaV1::AccessConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedkafka_v1/classes.rb,
lib/google/apis/managedkafka_v1/representations.rb,
lib/google/apis/managedkafka_v1/representations.rb
Overview
The configuration of access to the Kafka cluster.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessConfig
constructor
A new instance of AccessConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessConfig
Returns a new instance of AccessConfig.
36 37 38 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 36 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_configs ⇒ Array<Google::Apis::ManagedkafkaV1::NetworkConfig>
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
Corresponds to the JSON property networkConfigs
34 35 36 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 34 def network_configs @network_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41 42 43 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 41 def update!(**args) @network_configs = args[:network_configs] if args.key?(:network_configs) end |