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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ log_actions |
array
Required. Specifies the actions to be logged. |
↳ log_action_states |
array
Required. States in which Action are logged.If empty, no logs are generated. |
getLogActions
Required. Specifies the actions to be logged.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
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 |
Google\Protobuf\Internal\RepeatedField |
|
setLogActionStates
Required. States in which Action are logged.If empty, no logs are generated.
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|