# FlociGcpContainerResource.WithFlociUI

- Module: [CommunityToolkit.Aspire.Hosting.Floci](/reference/api/go/communitytoolkit.aspire.hosting.floci.md)
- Defined on: [FlociGcpContainerResource](/reference/api/go/communitytoolkit.aspire.hosting.floci/flocigcpcontainerresource.md)
- Version: `13.6.1`
- Kind: `method`

Adds a Floci UI web console container for the Floci GCP resource

## Definition

```go
type FlociGcpContainerResource interface {
    // ... omitted for brevity
    WithFlociUI(options ...*WithFlociUIOptions) FlociGcpContainerResource
}
```

## Signature

```go
WithFlociUI(options ...*WithFlociUIOptions) FlociGcpContainerResource
```

## Parameters

- `options` (`...*WithFlociUIOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithFlociUIOptions` argument.

- `ConfigureContainer` (`func(obj FlociUIContainerResource)`) `callback` -- Configuration callback for the Floci UI container resource.
- `ContainerName` (`*string`) -- Optional. The name of the Floci UI container (default: `{floci-name}-ui`).

## Returns

[`FlociGcpContainerResource`](/reference/api/go/communitytoolkit.aspire.hosting.floci/flocigcpcontainerresource.md) -- A reference to the `IResourceBuilder` for further resource configuration.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [FlociGcpContainerResource](/reference/api/go/communitytoolkit.aspire.hosting.floci/flocigcpcontainerresource.md) -- `handle`
