Storage Transfer Service V1 API - Class Google::Cloud::StorageTransfer::V1::LoggingConfig (v1.2.0)

Reference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::LoggingConfig.

Specifies the logging behavior for transfer operations.

Logs can be sent to Cloud Logging for all transfer types. See Read transfer logs for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_onprem_gcs_transfer_logs

def enable_onprem_gcs_transfer_logs() -> ::Boolean
Returns
  • (::Boolean) — For PosixFilesystem transfers, enables file system transfer logs instead of, or in addition to, Cloud Logging.

    This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled for this transfer.

#enable_onprem_gcs_transfer_logs=

def enable_onprem_gcs_transfer_logs=(value) -> ::Boolean
Parameter
  • value (::Boolean) — For PosixFilesystem transfers, enables file system transfer logs instead of, or in addition to, Cloud Logging.

    This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled for this transfer.

Returns
  • (::Boolean) — For PosixFilesystem transfers, enables file system transfer logs instead of, or in addition to, Cloud Logging.

    This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled for this transfer.

#log_action_states

def log_action_states() -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>
Returns

#log_action_states=

def log_action_states=(value) -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>
Parameter
Returns

#log_actions

def log_actions() -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>
Returns

#log_actions=

def log_actions=(value) -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>
Parameter
Returns