(ctx context.Context, account string)
| 166 | } |
| 167 | |
| 168 | func appScriptService(ctx context.Context, account string) (*scriptapi.Service, error) { |
| 169 | runtime, err := runtimeWithService(ctx, "app script") |
| 170 | if err != nil || runtime.Services.AppScript == nil { |
| 171 | return nil, serviceError(err, "app script") |
| 172 | } |
| 173 | return runtime.Services.AppScript(ctx, account) |
| 174 | } |
| 175 | |
| 176 | func analyticsAdminService(ctx context.Context, account string) (*analyticsadmin.Service, error) { |
| 177 | runtime, err := runtimeWithService(ctx, "analytics admin") |