The Elastic Agent Profile is used to define the configuration of a docker container. It is used to configure the docker image, set memory limits, provide docker command and environment variables.
The following configuration associates a GoCD job with an Elastic Agent Profile. It effectively means that the plugin will run your job on a newly created docker container using configuration defined in that elastic agent profile.