Storage Transfer Service V1 API - Class Google::Cloud::StorageTransfer::V1::LoggingConfig (v0.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.

For cloud-to-cloud transfers, logs are sent to Cloud Logging. See Read transfer logs for details.

For transfers to or from a POSIX file system, logs are stored in the Cloud Storage bucket that is the source or sink of the transfer. See Managing Transfer for on-premises jobs 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 transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.

#enable_onprem_gcs_transfer_logs=

def enable_onprem_gcs_transfer_logs=(value) -> ::Boolean
Parameter
  • value (::Boolean) — For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
Returns
  • (::Boolean) — For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs 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