Class: Google::Apis::StoragetransferV1::LoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::LoggingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/google/apis/storagetransfer_v1/representations.rb
Overview
Logging configuration.
Instance Attribute Summary collapse
-
#enable_onprem_gcs_transfer_logs ⇒ Boolean
(also: #enable_onprem_gcs_transfer_logs?)
Enables the Cloud Storage transfer logs for this transfer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoggingConfig
constructor
A new instance of LoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LoggingConfig
Returns a new instance of LoggingConfig.
464 465 466 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 464 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_onprem_gcs_transfer_logs ⇒ Boolean Also known as: enable_onprem_gcs_transfer_logs?
Enables the Cloud Storage transfer logs for this transfer. This is only
supported for transfer jobs with PosixFilesystem sources. The default is that
logs are not generated for this transfer.
Corresponds to the JSON property enableOnpremGcsTransferLogs
461 462 463 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 461 def enable_onprem_gcs_transfer_logs @enable_onprem_gcs_transfer_logs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
469 470 471 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 469 def update!(**args) @enable_onprem_gcs_transfer_logs = args[:enable_onprem_gcs_transfer_logs] if args.key?(:enable_onprem_gcs_transfer_logs) end |