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.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb', line 549 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.
549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb', line 549 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 |