Class: Google::Cloud::StorageBatchOperations::V1::LoggingConfig

Inherits:
Object
  • Object
show all
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

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.

Returns:



342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb', line 342

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.

Returns:



342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
# File 'proto_docs/google/cloud/storagebatchoperations/v1/storage_batch_operations_types.rb', line 342

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