# Class CollectApiDataRequest (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

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

The CollectApiData method's request.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `location` | `str` Required. The regional location of the API hub instance and its resources. Format: `projects/{project}/locations/{location}` |
| `collection_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.CollectionType` Required. The type of collection. Applies to all entries in api_data. |
| `plugin_instance` | `str` Required. The plugin instance collecting the API data. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`. |
| `action_id` | `str` Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin. |
| `api_data` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.ApiData` Required. The API data to be collected. |