Create a session, or update an existing session with the same name when upsert.
func (
r *SessionService) NewV2(ctx context.Context,
params SessionNewV2Params,
opts ...option.RequestOption) (res *Session,
err error
)Create a session, or update an existing session with the same name when upsert is true. Returns the refreshed session representation without optional run statistics.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
params* | SessionNewV2Params | |
opts* | ...option.RequestOption |