# Google Cloud Storage Batch Operations V1 Client - Class LoggingConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class LoggingConfig.

Specifies the Cloud Logging behavior.

Generated from protobuf message `google.cloud.storagebatchoperations.v1.LoggingConfig`

## Namespace

Google \\ Cloud \\ StorageBatchOperations \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ log_actions` | `int[]` Required. Specifies the actions to be logged. |
| `↳ log_action_states` | `int[]` Required. States in which Action are logged.If empty, no logs are generated. |

### getLogActions

Required. Specifies the actions to be logged.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setLogActions

Required. Specifies the actions to be logged.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLogActionStates

Required. States in which Action are logged.If empty, no logs are
generated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setLogActionStates

Required. States in which Action are logged.If empty, no logs are
generated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |