# Class HttpOperation (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

    HttpOperation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The HTTP Operation.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `path` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.Path` Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided. |
| `method` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.HttpOperation.Method` Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided. |

## Classes

### Method

    Method(value)

Enumeration of Method types.