# Storage Batch Operations V1 API - Class Google::Cloud::StorageBatchOperations::V1::LoggingConfig (v0.10.0)

0.10.0 (latest) 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Storage Batch Operations V1 API class Google::Cloud::StorageBatchOperations::V1::LoggingConfig.

Specifies the Cloud Logging behavior.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #log_action_states

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

**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-LoggingConfig-LoggableActionState)\>) --- Required. States in which Action are logged.If empty, no logs are generated.

### #log_action_states=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-LoggingConfig-LoggableActionState)\>) --- Required. States in which Action are logged.If empty, no logs are generated.
**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableActionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-LoggingConfig-LoggableActionState)\>) --- Required. States in which Action are logged.If empty, no logs are generated.

### #log_actions

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

**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-LoggingConfig-LoggableAction)\>) --- Required. Specifies the actions to be logged.

### #log_actions=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-LoggingConfig-LoggableAction)\>) --- Required. Specifies the actions to be logged.
**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::LoggingConfig::LoggableAction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-LoggingConfig-LoggableAction)\>) --- Required. Specifies the actions to be logged.