getServiceAccount

On this page
Back to index

Summary

Retrieves a service account by its name.
serviceAccountName
Stringrequired
The service account name.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getServiceAccount( serviceAccountName: "test-serviceAccountName" )