# Interface DeleteLogRequestOrBuilder (3.34.0)

3.34.0 (latest) 3.32.0 3.29.0 3.28.0 3.26.0 3.24.0 3.23.10 3.22.6 3.21.4 3.20.7 3.19.0 3.18.0 3.17.2 3.16.2 3.15.17 3.14.9 3.13.7 3.12.1 3.11.10 3.10.7 3.9.0 3.8.0 3.7.6 3.6.4 3.5.3

    public interface DeleteLogRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getLogName()

    public abstract String getLogName()

Required. The resource name of the log to delete:

- `projects/[PROJECT_ID]/logs/[LOG_ID]`
- `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
- `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
- `folders/[FOLDER_ID]/logs/[LOG_ID]`

  `[LOG_ID]` must be URL-encoded. For example,
  `"projects/my-project-id/logs/syslog"`,
  `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.

  For more information about log names, see
  LogEntry.

`
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The logName. |

### getLogNameBytes()

    public abstract ByteString getLogNameBytes()

Required. The resource name of the log to delete:

- `projects/[PROJECT_ID]/logs/[LOG_ID]`
- `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
- `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
- `folders/[FOLDER_ID]/logs/[LOG_ID]`

  `[LOG_ID]` must be URL-encoded. For example,
  `"projects/my-project-id/logs/syslog"`,
  `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.

  For more information about log names, see
  LogEntry.

`
string log_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for logName. |