Class: Google::Cloud::StorageBatchOperations::V1::LoggingConfig
- Inherits:
-
Object
- Object
- Google::Cloud::StorageBatchOperations::V1::LoggingConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb
Overview
Specifies the Cloud Logging behavior.
Defined Under Namespace
Modules: LoggableAction, LoggableActionState
Instance Attribute Summary collapse
-
#log_action_states ⇒ ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>
Required.
-
#log_actions ⇒ ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>
Required.
Instance Attribute Details
#log_action_states ⇒ ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState>
Returns Required. States in which Action are logged.If empty, no logs are generated.
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 |
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb', line 379 class LoggingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Loggable actions types. module LoggableAction # Illegal value, to avoid allowing a default. LOGGABLE_ACTION_UNSPECIFIED = 0 # The corresponding transform action in this job. TRANSFORM = 6 end # Loggable action states filter. module LoggableActionState # Illegal value, to avoid allowing a default. LOGGABLE_ACTION_STATE_UNSPECIFIED = 0 # `LoggableAction` completed successfully. `SUCCEEDED` actions are # logged as [INFO][google.logging.type.LogSeverity.INFO]. SUCCEEDED = 1 # `LoggableAction` terminated in an error state. `FAILED` actions # are logged as [ERROR][google.logging.type.LogSeverity.ERROR]. FAILED = 2 end end |
#log_actions ⇒ ::Array<::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction>
Returns Required. Specifies the actions to be logged.
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 |
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb', line 379 class LoggingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Loggable actions types. module LoggableAction # Illegal value, to avoid allowing a default. LOGGABLE_ACTION_UNSPECIFIED = 0 # The corresponding transform action in this job. TRANSFORM = 6 end # Loggable action states filter. module LoggableActionState # Illegal value, to avoid allowing a default. LOGGABLE_ACTION_STATE_UNSPECIFIED = 0 # `LoggableAction` completed successfully. `SUCCEEDED` actions are # logged as [INFO][google.logging.type.LogSeverity.INFO]. SUCCEEDED = 1 # `LoggableAction` terminated in an error state. `FAILED` actions # are logged as [ERROR][google.logging.type.LogSeverity.ERROR]. FAILED = 2 end end |