Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::LoggingComponentConfig.
LoggingComponentConfig is cluster logging component configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable_components
def enable_components() -> ::Array<::Google::Cloud::Container::V1::LoggingComponentConfig::Component>
Returns
- (::Array<::Google::Cloud::Container::V1::LoggingComponentConfig::Component>) — Select components to collect logs. An empty set would disable all logging.
#enable_components=
def enable_components=(value) -> ::Array<::Google::Cloud::Container::V1::LoggingComponentConfig::Component>
Parameter
- value (::Array<::Google::Cloud::Container::V1::LoggingComponentConfig::Component>) — Select components to collect logs. An empty set would disable all logging.
Returns
- (::Array<::Google::Cloud::Container::V1::LoggingComponentConfig::Component>) — Select components to collect logs. An empty set would disable all logging.