# component_testing::Service

## Summary

| ### Public attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/struct/component-testing/service#structcomponent__testing_1_1_service_1a31b0e5e08de6f10838d9eda961c11330 = std::nullopt` | `std::optional< std::string_view >` |
| `https://fuchsia.dev/reference/cpp/struct/component-testing/service#structcomponent__testing_1_1_service_1a57a812d7e1617676b63a4adbd41dd294 = std::nullopt` | `std::optional< fuchsia::component::decl::Availability >` |
| `https://fuchsia.dev/reference/cpp/struct/component-testing/service#structcomponent__testing_1_1_service_1abab22a3e360737d91c303ac2c3e883e1` | `std::string_view` |
| `https://fuchsia.dev/reference/cpp/struct/component-testing/service#structcomponent__testing_1_1_service_1a2f6673739257d8953ba7edd08f634383 = std::nullopt` | `std::optional< std::string_view >` |

## Public attributes

### as

```c++
std::optional< std::string_view > component_testing::Service::as = std::nullopt
```

### availability

```c++
std::optional< fuchsia::component::decl::Availability > component_testing::Service::availability = std::nullopt
```

### name

```c++
std::string_view component_testing::Service::name
```

### path

```c++
std::optional< std::string_view > component_testing::Service::path = std::nullopt
```