Reference documentation and code samples for the Storage Batch Operations V1 API class Google::Cloud::StorageBatchOperations::V1::LoggingConfig.
Specifies the Cloud Logging behavior.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#log_action_states
def log_action_states() -> ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>
Returns
- (::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>) — Required. States in which Action are logged.If empty, no logs are generated.
#log_action_states=
def log_action_states=(value) -> ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>
Parameter
- value (::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>) — Required. States in which Action are logged.If empty, no logs are generated.
Returns
- (::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>) — Required. States in which Action are logged.If empty, no logs are generated.
#log_actions
def log_actions() -> ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>
Returns
- (::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>) — Required. Specifies the actions to be logged.
#log_actions=
def log_actions=(value) -> ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>
Parameter
- value (::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>) — Required. Specifies the actions to be logged.
Returns
- (::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>) — Required. Specifies the actions to be logged.