Documentation
¶
Overview ¶
Package oapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewAgentBuilderServiceCreateAgentRequest(server string, projectId string, ...) (*http.Request, error)
- func NewAgentBuilderServiceCreateAgentRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentBuilderServiceDeleteAgentRequest(server string, projectId string, agentId string) (*http.Request, error)
- func NewAgentBuilderServiceDeployAgentRequest(server string, projectId string, agentId string, ...) (*http.Request, error)
- func NewAgentBuilderServiceDeployAgentRequestWithBody(server string, projectId string, agentId string, contentType string, ...) (*http.Request, error)
- func NewAgentBuilderServiceGetAgentCodeURLRequest(server string, projectId string, agentId string, ...) (*http.Request, error)
- func NewAgentBuilderServiceGetAgentRequest(server string, projectId string, agentId string) (*http.Request, error)
- func NewAgentBuilderServiceListAgentVersionsRequest(server string, projectId string, agentId string, ...) (*http.Request, error)
- func NewAgentBuilderServiceListAgentsRequest(server string, projectId string, params *AgentBuilderServiceListAgentsParams) (*http.Request, error)
- func NewAgentBuilderServiceUpdateAgentRequest(server string, projectId string, agentId string, ...) (*http.Request, error)
- func NewAgentBuilderServiceUpdateAgentRequestWithBody(server string, projectId string, agentId string, contentType string, ...) (*http.Request, error)
- func NewAnalyticsServiceGetAgentInsightsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewAnalyticsServiceGetEvalResultsRequest(server string, projectId string, params *AnalyticsServiceGetEvalResultsParams) (*http.Request, error)
- func NewAnalyticsServiceGetSessionLabelResultsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewAnalyticsServiceGetSessionRequest(server string, projectId string, sessionId string) (*http.Request, error)
- func NewAnalyticsServiceListProjectSessionsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewAnalyticsServiceListSessionEventsRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewAnalyticsServiceListSessionParticipantsRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewEvalServiceCreateEvalRequest(server string, projectId string, body EvalServiceCreateEvalJSONRequestBody) (*http.Request, error)
- func NewEvalServiceCreateEvalRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvalServiceCreateSessionLabelRequest(server string, projectId string, ...) (*http.Request, error)
- func NewEvalServiceCreateSessionLabelRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvalServiceDeleteEvalRequest(server string, projectId string, evalId string) (*http.Request, error)
- func NewEvalServiceDeleteSessionLabelRequest(server string, projectId string, labelId string) (*http.Request, error)
- func NewEvalServiceDiffEvalRevisionsRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceDiscardEvalDraftRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceGetEvalDefaultsRequest(server string, projectId string) (*http.Request, error)
- func NewEvalServiceGetEvalRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceGetSessionLabelSettingsRequest(server string, projectId string) (*http.Request, error)
- func NewEvalServiceListEvalHistoryRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceListEvalsRequest(server string, projectId string, params *EvalServiceListEvalsParams) (*http.Request, error)
- func NewEvalServiceListSessionLabelsRequest(server string, projectId string, params *EvalServiceListSessionLabelsParams) (*http.Request, error)
- func NewEvalServicePublishEvalDraftRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServicePublishEvalDraftRequestWithBody(server string, projectId string, evalId string, contentType string, ...) (*http.Request, error)
- func NewEvalServiceRollbackEvalRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceRollbackEvalRequestWithBody(server string, projectId string, evalId string, contentType string, ...) (*http.Request, error)
- func NewEvalServiceSaveEvalDraftRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceSaveEvalDraftRequestWithBody(server string, projectId string, evalId string, contentType string, ...) (*http.Request, error)
- func NewEvalServiceUndeleteEvalRequest(server string, projectId string, evalId string) (*http.Request, error)
- func NewEvalServiceUndeleteSessionLabelRequest(server string, projectId string, labelId string) (*http.Request, error)
- func NewEvalServiceUpdateEvalDefaultsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewEvalServiceUpdateEvalDefaultsRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvalServiceUpdateEvalRequest(server string, projectId string, evalId string, ...) (*http.Request, error)
- func NewEvalServiceUpdateEvalRequestWithBody(server string, projectId string, evalId string, contentType string, ...) (*http.Request, error)
- func NewEvalServiceUpdateSessionLabelRequest(server string, projectId string, labelId string, ...) (*http.Request, error)
- func NewEvalServiceUpdateSessionLabelRequestWithBody(server string, projectId string, labelId string, contentType string, ...) (*http.Request, error)
- func NewEvalServiceUpdateSessionLabelSettingsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewEvalServiceUpdateSessionLabelSettingsRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvalServiceValidateEvalRequest(server string, projectId string, body EvalServiceValidateEvalJSONRequestBody) (*http.Request, error)
- func NewEvalServiceValidateEvalRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewObservabilityServiceGetSessionEvalsRequest(server string, projectId string, sessionId string) (*http.Request, error)
- func NewObservabilityServiceGetSessionLogsRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewObservabilityServiceGetSessionMetricsRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewObservabilityServiceGetSessionRecordingURLRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewObservabilityServiceGetSessionTracesRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewObservabilityServiceGetSessionTranscriptRequest(server string, projectId string, sessionId string, ...) (*http.Request, error)
- func NewObservabilityServiceListEvalSessionsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewObservabilityServiceListLogPatternsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewObservabilityServiceListProjectLogsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceAddWorkspaceMembersToProjectRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceAnswerInvitationRequest(server string, inviteToken string, ...) (*http.Request, error)
- func NewProjectServiceAnswerInvitationRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceCreateProjectRequest(server string, body ProjectServiceCreateProjectJSONRequestBody) (*http.Request, error)
- func NewProjectServiceCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceCreateTokenRequest(server string, projectId string, body ProjectServiceCreateTokenJSONRequestBody) (*http.Request, error)
- func NewProjectServiceCreateTokenRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceCreateWebhookRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceCreateWebhookRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceDeleteInviteRequest(server string, projectId string, email string) (*http.Request, error)
- func NewProjectServiceDeleteKeyRequest(server string, projectId string, apiKey string) (*http.Request, error)
- func NewProjectServiceDeleteProjectRequest(server string, projectId string) (*http.Request, error)
- func NewProjectServiceDeleteWebhookRequest(server string, projectId string, webhookId string) (*http.Request, error)
- func NewProjectServiceGenerateKeyRequest(server string, projectId string, body ProjectServiceGenerateKeyJSONRequestBody) (*http.Request, error)
- func NewProjectServiceGenerateKeyRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceGetInviteRequest(server string, inviteToken string) (*http.Request, error)
- func NewProjectServiceGetMemberRequest(server string, projectId string, userId string) (*http.Request, error)
- func NewProjectServiceGetProjectRequest(server string, projectId string) (*http.Request, error)
- func NewProjectServiceInviteMemberRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceInviteMemberRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceListInvitesRequest(server string, projectId string, params *ProjectServiceListInvitesParams) (*http.Request, error)
- func NewProjectServiceListKeysRequest(server string, projectId string, params *ProjectServiceListKeysParams) (*http.Request, error)
- func NewProjectServiceListMembersRequest(server string, projectId string, params *ProjectServiceListMembersParams) (*http.Request, error)
- func NewProjectServiceListProjectsRequest(server string, params *ProjectServiceListProjectsParams) (*http.Request, error)
- func NewProjectServiceListWebhookEventsRequest(server string, projectId string, params *ProjectServiceListWebhookEventsParams) (*http.Request, error)
- func NewProjectServiceListWebhooksRequest(server string, projectId string, params *ProjectServiceListWebhooksParams) (*http.Request, error)
- func NewProjectServiceRemoveMemberRequest(server string, projectId string, userId string, ...) (*http.Request, error)
- func NewProjectServiceSendTestWebhookRequest(server string, projectId string, webhookId string, ...) (*http.Request, error)
- func NewProjectServiceSendTestWebhookRequestWithBody(server string, projectId string, webhookId string, contentType string, ...) (*http.Request, error)
- func NewProjectServiceUpdateInviteRequest(server string, projectId string, email string, ...) (*http.Request, error)
- func NewProjectServiceUpdateInviteRequestWithBody(server string, projectId string, email string, contentType string, ...) (*http.Request, error)
- func NewProjectServiceUpdateMemberRequest(server string, projectId string, userId string, ...) (*http.Request, error)
- func NewProjectServiceUpdateMemberRequestWithBody(server string, projectId string, userId string, contentType string, ...) (*http.Request, error)
- func NewProjectServiceUpdateProjectRequest(server string, projectId string, ...) (*http.Request, error)
- func NewProjectServiceUpdateProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectServiceUpdateWebhookRequest(server string, projectId string, webhookId string, ...) (*http.Request, error)
- func NewProjectServiceUpdateWebhookRequestWithBody(server string, projectId string, webhookId string, contentType string, ...) (*http.Request, error)
- func NewSimulationServiceCancelSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
- func NewSimulationServiceConfirmSimulationSourceUploadRequest(server string, projectId string, simulationRunId string, ...) (*http.Request, error)
- func NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody(server string, projectId string, simulationRunId string, contentType string, ...) (*http.Request, error)
- func NewSimulationServiceCountSimulationRunsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewSimulationServiceCreateSimulationRunRequest(server string, projectId string, ...) (*http.Request, error)
- func NewSimulationServiceCreateSimulationRunRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSimulationServiceGenerateScenarioFromSessionRequest(server string, projectId string, ...) (*http.Request, error)
- func NewSimulationServiceGenerateScenarioFromSessionRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSimulationServiceGetSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
- func NewSimulationServiceGetSimulationRunSummaryRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
- func NewSimulationServiceListSimulationRunsRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceCreateDispatchRuleRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceCreateDispatchRuleRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTelephonyServiceCreateInboundTrunkRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceCreateInboundTrunkRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTelephonyServiceCreateOutboundTrunkRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceCreateOutboundTrunkRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTelephonyServiceCreateSIPParticipantRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceCreateSIPParticipantRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTelephonyServiceDeleteDispatchRuleRequest(server string, projectId string, dispatchRuleId string) (*http.Request, error)
- func NewTelephonyServiceDeleteInboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
- func NewTelephonyServiceDeleteOutboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
- func NewTelephonyServiceGetDispatchRuleRequest(server string, projectId string, dispatchRuleId string) (*http.Request, error)
- func NewTelephonyServiceGetInboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
- func NewTelephonyServiceGetOutboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
- func NewTelephonyServiceGetPhoneNumberRequest(server string, projectId string, phoneNumberId string) (*http.Request, error)
- func NewTelephonyServiceListDispatchRulesRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceListInboundTrunksRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceListOutboundTrunksRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceListPhoneNumbersRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServicePurchasePhoneNumberRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServicePurchasePhoneNumberRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTelephonyServiceReleasePhoneNumberRequest(server string, projectId string, phoneNumberId string) (*http.Request, error)
- func NewTelephonyServiceSearchPhoneNumbersRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceTransferSIPParticipantRequest(server string, projectId string, ...) (*http.Request, error)
- func NewTelephonyServiceTransferSIPParticipantRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTelephonyServiceUpdateDispatchRuleRequest(server string, projectId string, dispatchRuleId string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdateDispatchRuleRequestWithBody(server string, projectId string, dispatchRuleId string, contentType string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdateInboundTrunkRequest(server string, projectId string, trunkId string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdateInboundTrunkRequestWithBody(server string, projectId string, trunkId string, contentType string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdateOutboundTrunkRequest(server string, projectId string, trunkId string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdateOutboundTrunkRequestWithBody(server string, projectId string, trunkId string, contentType string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdatePhoneNumberRequest(server string, projectId string, phoneNumberId string, ...) (*http.Request, error)
- func NewTelephonyServiceUpdatePhoneNumberRequestWithBody(server string, projectId string, phoneNumberId string, contentType string, ...) (*http.Request, error)
- func NewUserServiceGetCurrentUserRequest(server string) (*http.Request, error)
- func NewUserServiceGetUserRequest(server string, userId string) (*http.Request, error)
- func NewUserServiceListUsersRequest(server string, params *UserServiceListUsersParams) (*http.Request, error)
- func NewUserServiceRevokeSessionTokenRequest(server string) (*http.Request, error)
- func NewWorkspaceServiceAnswerInviteRequest(server string, inviteToken string, ...) (*http.Request, error)
- func NewWorkspaceServiceAnswerInviteRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceCreateInviteRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewWorkspaceServiceCreateInviteRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceCreateProjectRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewWorkspaceServiceCreateProjectRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceCreateWorkspaceRequest(server string, body WorkspaceServiceCreateWorkspaceJSONRequestBody) (*http.Request, error)
- func NewWorkspaceServiceCreateWorkspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceServiceDeleteInviteRequest(server string, workspaceId string, email string) (*http.Request, error)
- func NewWorkspaceServiceDeleteMemberRequest(server string, workspaceId string, userId string, ...) (*http.Request, error)
- func NewWorkspaceServiceDeleteProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
- func NewWorkspaceServiceDeleteWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
- func NewWorkspaceServiceGetInviteRequest(server string, inviteToken string) (*http.Request, error)
- func NewWorkspaceServiceGetMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)
- func NewWorkspaceServiceGetProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
- func NewWorkspaceServiceGetWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
- func NewWorkspaceServiceListInvitesRequest(server string, workspaceId string, params *WorkspaceServiceListInvitesParams) (*http.Request, error)
- func NewWorkspaceServiceListMembersRequest(server string, workspaceId string, params *WorkspaceServiceListMembersParams) (*http.Request, error)
- func NewWorkspaceServiceListProjectsRequest(server string, workspaceId string, params *WorkspaceServiceListProjectsParams) (*http.Request, error)
- func NewWorkspaceServiceListWorkspacesRequest(server string, params *WorkspaceServiceListWorkspacesParams) (*http.Request, error)
- func NewWorkspaceServiceUpdateMemberRequest(server string, workspaceId string, userId string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateMemberRequestWithBody(server string, workspaceId string, userId string, contentType string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateWorkspaceRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewWorkspaceServiceUpdateWorkspaceRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- type AgentBuilderServiceCreateAgentJSONBody
- type AgentBuilderServiceCreateAgentJSONRequestBody
- type AgentBuilderServiceCreateAgentResponse
- func (r AgentBuilderServiceCreateAgentResponse) ContentType() string
- func (r AgentBuilderServiceCreateAgentResponse) GetBody() []byte
- func (r AgentBuilderServiceCreateAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsCreateResponse
- func (r AgentBuilderServiceCreateAgentResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceCreateAgentResponse) Status() string
- func (r AgentBuilderServiceCreateAgentResponse) StatusCode() int
- type AgentBuilderServiceDeleteAgentResponse
- func (r AgentBuilderServiceDeleteAgentResponse) ContentType() string
- func (r AgentBuilderServiceDeleteAgentResponse) GetBody() []byte
- func (r AgentBuilderServiceDeleteAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsDeleteResponse
- func (r AgentBuilderServiceDeleteAgentResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceDeleteAgentResponse) Status() string
- func (r AgentBuilderServiceDeleteAgentResponse) StatusCode() int
- type AgentBuilderServiceDeployAgentJSONBody
- type AgentBuilderServiceDeployAgentJSONRequestBody
- type AgentBuilderServiceDeployAgentResponse
- func (r AgentBuilderServiceDeployAgentResponse) ContentType() string
- func (r AgentBuilderServiceDeployAgentResponse) GetBody() []byte
- func (r AgentBuilderServiceDeployAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsDeployResponse
- func (r AgentBuilderServiceDeployAgentResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceDeployAgentResponse) Status() string
- func (r AgentBuilderServiceDeployAgentResponse) StatusCode() int
- type AgentBuilderServiceGetAgentCodeURLParams
- type AgentBuilderServiceGetAgentCodeURLResponse
- func (r AgentBuilderServiceGetAgentCodeURLResponse) ContentType() string
- func (r AgentBuilderServiceGetAgentCodeURLResponse) GetBody() []byte
- func (r AgentBuilderServiceGetAgentCodeURLResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse
- func (r AgentBuilderServiceGetAgentCodeURLResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceGetAgentCodeURLResponse) Status() string
- func (r AgentBuilderServiceGetAgentCodeURLResponse) StatusCode() int
- type AgentBuilderServiceGetAgentResponse
- func (r AgentBuilderServiceGetAgentResponse) ContentType() string
- func (r AgentBuilderServiceGetAgentResponse) GetBody() []byte
- func (r AgentBuilderServiceGetAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsGetResponse
- func (r AgentBuilderServiceGetAgentResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceGetAgentResponse) Status() string
- func (r AgentBuilderServiceGetAgentResponse) StatusCode() int
- type AgentBuilderServiceListAgentVersionsParams
- type AgentBuilderServiceListAgentVersionsResponse
- func (r AgentBuilderServiceListAgentVersionsResponse) ContentType() string
- func (r AgentBuilderServiceListAgentVersionsResponse) GetBody() []byte
- func (r AgentBuilderServiceListAgentVersionsResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentVersionsListResponse
- func (r AgentBuilderServiceListAgentVersionsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceListAgentVersionsResponse) Status() string
- func (r AgentBuilderServiceListAgentVersionsResponse) StatusCode() int
- type AgentBuilderServiceListAgentsParams
- type AgentBuilderServiceListAgentsResponse
- func (r AgentBuilderServiceListAgentsResponse) ContentType() string
- func (r AgentBuilderServiceListAgentsResponse) GetBody() []byte
- func (r AgentBuilderServiceListAgentsResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsListResponse
- func (r AgentBuilderServiceListAgentsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceListAgentsResponse) Status() string
- func (r AgentBuilderServiceListAgentsResponse) StatusCode() int
- type AgentBuilderServiceUpdateAgentJSONBody
- type AgentBuilderServiceUpdateAgentJSONRequestBody
- type AgentBuilderServiceUpdateAgentResponse
- func (r AgentBuilderServiceUpdateAgentResponse) ContentType() string
- func (r AgentBuilderServiceUpdateAgentResponse) GetBody() []byte
- func (r AgentBuilderServiceUpdateAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsUpdateResponse
- func (r AgentBuilderServiceUpdateAgentResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AgentBuilderServiceUpdateAgentResponse) Status() string
- func (r AgentBuilderServiceUpdateAgentResponse) StatusCode() int
- type AnalyticsServiceGetAgentInsightsParams
- type AnalyticsServiceGetAgentInsightsResponse
- func (r AnalyticsServiceGetAgentInsightsResponse) ContentType() string
- func (r AnalyticsServiceGetAgentInsightsResponse) GetBody() []byte
- func (r AnalyticsServiceGetAgentInsightsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1AgentInsightsGetResponse
- func (r AnalyticsServiceGetAgentInsightsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceGetAgentInsightsResponse) Status() string
- func (r AnalyticsServiceGetAgentInsightsResponse) StatusCode() int
- type AnalyticsServiceGetEvalResultsParams
- type AnalyticsServiceGetEvalResultsResponse
- func (r AnalyticsServiceGetEvalResultsResponse) ContentType() string
- func (r AnalyticsServiceGetEvalResultsResponse) GetBody() []byte
- func (r AnalyticsServiceGetEvalResultsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1EvalResultsGetResponse
- func (r AnalyticsServiceGetEvalResultsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceGetEvalResultsResponse) Status() string
- func (r AnalyticsServiceGetEvalResultsResponse) StatusCode() int
- type AnalyticsServiceGetSessionLabelResultsParams
- type AnalyticsServiceGetSessionLabelResultsResponse
- func (r AnalyticsServiceGetSessionLabelResultsResponse) ContentType() string
- func (r AnalyticsServiceGetSessionLabelResultsResponse) GetBody() []byte
- func (r AnalyticsServiceGetSessionLabelResultsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse
- func (r AnalyticsServiceGetSessionLabelResultsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceGetSessionLabelResultsResponse) Status() string
- func (r AnalyticsServiceGetSessionLabelResultsResponse) StatusCode() int
- type AnalyticsServiceGetSessionResponse
- func (r AnalyticsServiceGetSessionResponse) ContentType() string
- func (r AnalyticsServiceGetSessionResponse) GetBody() []byte
- func (r AnalyticsServiceGetSessionResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionsGetResponse
- func (r AnalyticsServiceGetSessionResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceGetSessionResponse) Status() string
- func (r AnalyticsServiceGetSessionResponse) StatusCode() int
- type AnalyticsServiceListProjectSessionsParams
- type AnalyticsServiceListProjectSessionsResponse
- func (r AnalyticsServiceListProjectSessionsResponse) ContentType() string
- func (r AnalyticsServiceListProjectSessionsResponse) GetBody() []byte
- func (r AnalyticsServiceListProjectSessionsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionsListResponse
- func (r AnalyticsServiceListProjectSessionsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceListProjectSessionsResponse) Status() string
- func (r AnalyticsServiceListProjectSessionsResponse) StatusCode() int
- type AnalyticsServiceListSessionEventsParams
- type AnalyticsServiceListSessionEventsResponse
- func (r AnalyticsServiceListSessionEventsResponse) ContentType() string
- func (r AnalyticsServiceListSessionEventsResponse) GetBody() []byte
- func (r AnalyticsServiceListSessionEventsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionEventsListResponse
- func (r AnalyticsServiceListSessionEventsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceListSessionEventsResponse) Status() string
- func (r AnalyticsServiceListSessionEventsResponse) StatusCode() int
- type AnalyticsServiceListSessionParticipantsParams
- type AnalyticsServiceListSessionParticipantsResponse
- func (r AnalyticsServiceListSessionParticipantsResponse) ContentType() string
- func (r AnalyticsServiceListSessionParticipantsResponse) GetBody() []byte
- func (r AnalyticsServiceListSessionParticipantsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionParticipantsListResponse
- func (r AnalyticsServiceListSessionParticipantsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r AnalyticsServiceListSessionParticipantsResponse) Status() string
- func (r AnalyticsServiceListSessionParticipantsResponse) StatusCode() int
- type Client
- func (c *Client) AgentBuilderServiceCreateAgent(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceCreateAgentWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceDeleteAgent(ctx context.Context, projectId string, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceDeployAgent(ctx context.Context, projectId string, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceDeployAgentWithBody(ctx context.Context, projectId string, agentId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceGetAgent(ctx context.Context, projectId string, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceGetAgentCodeURL(ctx context.Context, projectId string, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceListAgentVersions(ctx context.Context, projectId string, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceListAgents(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceUpdateAgent(ctx context.Context, projectId string, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentBuilderServiceUpdateAgentWithBody(ctx context.Context, projectId string, agentId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceGetAgentInsights(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceGetEvalResults(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceGetSessionLabelResults(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceListSessionEvents(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) AnalyticsServiceListSessionParticipants(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceCreateEval(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceCreateEvalWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EvalServiceCreateSessionLabel(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceCreateSessionLabelWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EvalServiceDeleteEval(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceDeleteSessionLabel(ctx context.Context, projectId string, labelId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceDiffEvalRevisions(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceDiscardEvalDraft(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceGetEval(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceGetEvalDefaults(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EvalServiceGetSessionLabelSettings(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EvalServiceListEvalHistory(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceListEvals(ctx context.Context, projectId string, params *EvalServiceListEvalsParams, ...) (*http.Response, error)
- func (c *Client) EvalServiceListSessionLabels(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) EvalServicePublishEvalDraft(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServicePublishEvalDraftWithBody(ctx context.Context, projectId string, evalId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EvalServiceRollbackEval(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceRollbackEvalWithBody(ctx context.Context, projectId string, evalId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EvalServiceSaveEvalDraft(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceSaveEvalDraftWithBody(ctx context.Context, projectId string, evalId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUndeleteEval(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUndeleteSessionLabel(ctx context.Context, projectId string, labelId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateEval(ctx context.Context, projectId string, evalId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateEvalDefaults(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateEvalDefaultsWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateEvalWithBody(ctx context.Context, projectId string, evalId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateSessionLabel(ctx context.Context, projectId string, labelId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateSessionLabelSettings(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateSessionLabelSettingsWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EvalServiceUpdateSessionLabelWithBody(ctx context.Context, projectId string, labelId string, contentType string, ...) (*http.Response, error)
- func (c *Client) EvalServiceValidateEval(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) EvalServiceValidateEvalWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceGetSessionEvals(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceGetSessionLogs(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceGetSessionMetrics(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceGetSessionRecordingURL(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceGetSessionTraces(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceGetSessionTranscript(ctx context.Context, projectId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceListEvalSessions(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceListLogPatterns(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ObservabilityServiceListProjectLogs(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateToken(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateTokenWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateWebhook(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceCreateWebhookWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceDeleteKey(ctx context.Context, projectId string, apiKey string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceDeleteWebhook(ctx context.Context, projectId string, webhookId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceGenerateKey(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceGenerateKeyWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceGetMember(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectServiceInviteMember(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListInvites(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListKeys(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListMembers(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListWebhookEvents(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceListWebhooks(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceSendTestWebhook(ctx context.Context, projectId string, webhookId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceSendTestWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateProject(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateWebhook(ctx context.Context, projectId string, webhookId string, ...) (*http.Response, error)
- func (c *Client) ProjectServiceUpdateWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceConfirmSimulationSourceUpload(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceConfirmSimulationSourceUploadWithBody(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCountSimulationRuns(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SimulationServiceGenerateScenarioFromSession(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceGenerateScenarioFromSessionWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceGetSimulationRunSummary(ctx context.Context, projectId string, simulationRunId string, ...) (*http.Response, error)
- func (c *Client) SimulationServiceListSimulationRuns(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateDispatchRule(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateDispatchRuleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateInboundTrunk(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateInboundTrunkWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateOutboundTrunk(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateOutboundTrunkWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateSIPParticipant(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceCreateSIPParticipantWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceDeleteDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceDeleteInboundTrunk(ctx context.Context, projectId string, trunkId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceDeleteOutboundTrunk(ctx context.Context, projectId string, trunkId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceGetDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceGetInboundTrunk(ctx context.Context, projectId string, trunkId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceGetOutboundTrunk(ctx context.Context, projectId string, trunkId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceGetPhoneNumber(ctx context.Context, projectId string, phoneNumberId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceListDispatchRules(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceListInboundTrunks(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceListOutboundTrunks(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceListPhoneNumbers(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServicePurchasePhoneNumber(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServicePurchasePhoneNumberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceReleasePhoneNumber(ctx context.Context, projectId string, phoneNumberId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceSearchPhoneNumbers(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceTransferSIPParticipant(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceTransferSIPParticipantWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdateDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdateDispatchRuleWithBody(ctx context.Context, projectId string, dispatchRuleId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdateInboundTrunk(ctx context.Context, projectId string, trunkId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdateInboundTrunkWithBody(ctx context.Context, projectId string, trunkId string, contentType string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdateOutboundTrunk(ctx context.Context, projectId string, trunkId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdateOutboundTrunkWithBody(ctx context.Context, projectId string, trunkId string, contentType string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdatePhoneNumber(ctx context.Context, projectId string, phoneNumberId string, ...) (*http.Response, error)
- func (c *Client) TelephonyServiceUpdatePhoneNumberWithBody(ctx context.Context, projectId string, phoneNumberId string, ...) (*http.Response, error)
- func (c *Client) UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, ...) (*http.Response, error)
- func (c *Client) UserServiceRevokeSessionToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WorkspaceServiceListInvites(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceListMembers(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceListProjects(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AgentBuilderServiceCreateAgentWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*AgentBuilderServiceCreateAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceCreateAgentWithResponse(ctx context.Context, projectId string, ...) (*AgentBuilderServiceCreateAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceDeleteAgentWithResponse(ctx context.Context, projectId string, agentId string, ...) (*AgentBuilderServiceDeleteAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceDeployAgentWithBodyWithResponse(ctx context.Context, projectId string, agentId string, contentType string, ...) (*AgentBuilderServiceDeployAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceDeployAgentWithResponse(ctx context.Context, projectId string, agentId string, ...) (*AgentBuilderServiceDeployAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceGetAgentCodeURLWithResponse(ctx context.Context, projectId string, agentId string, ...) (*AgentBuilderServiceGetAgentCodeURLResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceGetAgentWithResponse(ctx context.Context, projectId string, agentId string, ...) (*AgentBuilderServiceGetAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceListAgentVersionsWithResponse(ctx context.Context, projectId string, agentId string, ...) (*AgentBuilderServiceListAgentVersionsResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceListAgentsWithResponse(ctx context.Context, projectId string, ...) (*AgentBuilderServiceListAgentsResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceUpdateAgentWithBodyWithResponse(ctx context.Context, projectId string, agentId string, contentType string, ...) (*AgentBuilderServiceUpdateAgentResponse, error)
- func (c *ClientWithResponses) AgentBuilderServiceUpdateAgentWithResponse(ctx context.Context, projectId string, agentId string, ...) (*AgentBuilderServiceUpdateAgentResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceGetAgentInsightsWithResponse(ctx context.Context, projectId string, ...) (*AnalyticsServiceGetAgentInsightsResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceGetEvalResultsWithResponse(ctx context.Context, projectId string, ...) (*AnalyticsServiceGetEvalResultsResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceGetSessionLabelResultsWithResponse(ctx context.Context, projectId string, ...) (*AnalyticsServiceGetSessionLabelResultsResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*AnalyticsServiceGetSessionResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, ...) (*AnalyticsServiceListProjectSessionsResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceListSessionEventsWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*AnalyticsServiceListSessionEventsResponse, error)
- func (c *ClientWithResponses) AnalyticsServiceListSessionParticipantsWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*AnalyticsServiceListSessionParticipantsResponse, error)
- func (c *ClientWithResponses) EvalServiceCreateEvalWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*EvalServiceCreateEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceCreateEvalWithResponse(ctx context.Context, projectId string, ...) (*EvalServiceCreateEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceCreateSessionLabelWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*EvalServiceCreateSessionLabelResponse, error)
- func (c *ClientWithResponses) EvalServiceCreateSessionLabelWithResponse(ctx context.Context, projectId string, ...) (*EvalServiceCreateSessionLabelResponse, error)
- func (c *ClientWithResponses) EvalServiceDeleteEvalWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceDeleteEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceDeleteSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, ...) (*EvalServiceDeleteSessionLabelResponse, error)
- func (c *ClientWithResponses) EvalServiceDiffEvalRevisionsWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceDiffEvalRevisionsResponse, error)
- func (c *ClientWithResponses) EvalServiceDiscardEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceDiscardEvalDraftResponse, error)
- func (c *ClientWithResponses) EvalServiceGetEvalDefaultsWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*EvalServiceGetEvalDefaultsResponse, error)
- func (c *ClientWithResponses) EvalServiceGetEvalWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceGetEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceGetSessionLabelSettingsWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*EvalServiceGetSessionLabelSettingsResponse, error)
- func (c *ClientWithResponses) EvalServiceListEvalHistoryWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceListEvalHistoryResponse, error)
- func (c *ClientWithResponses) EvalServiceListEvalsWithResponse(ctx context.Context, projectId string, params *EvalServiceListEvalsParams, ...) (*EvalServiceListEvalsResponse, error)
- func (c *ClientWithResponses) EvalServiceListSessionLabelsWithResponse(ctx context.Context, projectId string, ...) (*EvalServiceListSessionLabelsResponse, error)
- func (c *ClientWithResponses) EvalServicePublishEvalDraftWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, ...) (*EvalServicePublishEvalDraftResponse, error)
- func (c *ClientWithResponses) EvalServicePublishEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServicePublishEvalDraftResponse, error)
- func (c *ClientWithResponses) EvalServiceRollbackEvalWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, ...) (*EvalServiceRollbackEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceRollbackEvalWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceRollbackEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceSaveEvalDraftWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, ...) (*EvalServiceSaveEvalDraftResponse, error)
- func (c *ClientWithResponses) EvalServiceSaveEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceSaveEvalDraftResponse, error)
- func (c *ClientWithResponses) EvalServiceUndeleteEvalWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceUndeleteEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceUndeleteSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, ...) (*EvalServiceUndeleteSessionLabelResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateEvalDefaultsWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*EvalServiceUpdateEvalDefaultsResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateEvalDefaultsWithResponse(ctx context.Context, projectId string, ...) (*EvalServiceUpdateEvalDefaultsResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateEvalWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, ...) (*EvalServiceUpdateEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateEvalWithResponse(ctx context.Context, projectId string, evalId string, ...) (*EvalServiceUpdateEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateSessionLabelSettingsWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateSessionLabelSettingsWithResponse(ctx context.Context, projectId string, ...) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateSessionLabelWithBodyWithResponse(ctx context.Context, projectId string, labelId string, contentType string, ...) (*EvalServiceUpdateSessionLabelResponse, error)
- func (c *ClientWithResponses) EvalServiceUpdateSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, ...) (*EvalServiceUpdateSessionLabelResponse, error)
- func (c *ClientWithResponses) EvalServiceValidateEvalWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*EvalServiceValidateEvalResponse, error)
- func (c *ClientWithResponses) EvalServiceValidateEvalWithResponse(ctx context.Context, projectId string, ...) (*EvalServiceValidateEvalResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceGetSessionEvalsWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*ObservabilityServiceGetSessionEvalsResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceGetSessionLogsWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*ObservabilityServiceGetSessionLogsResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceGetSessionMetricsWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*ObservabilityServiceGetSessionMetricsResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceGetSessionRecordingURLWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*ObservabilityServiceGetSessionRecordingURLResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceGetSessionTracesWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*ObservabilityServiceGetSessionTracesResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceGetSessionTranscriptWithResponse(ctx context.Context, projectId string, sessionId string, ...) (*ObservabilityServiceGetSessionTranscriptResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceListEvalSessionsWithResponse(ctx context.Context, projectId string, ...) (*ObservabilityServiceListEvalSessionsResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceListLogPatternsWithResponse(ctx context.Context, projectId string, ...) (*ObservabilityServiceListLogPatternsResponse, error)
- func (c *ClientWithResponses) ObservabilityServiceListProjectLogsWithResponse(ctx context.Context, projectId string, ...) (*ObservabilityServiceListProjectLogsResponse, error)
- func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*ProjectServiceAnswerInvitationResponse, error)
- func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, ...) (*ProjectServiceAnswerInvitationResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProjectServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, ...) (*ProjectServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateTokenWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceCreateTokenResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateTokenWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceCreateTokenResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateWebhookWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceCreateWebhookResponse, error)
- func (c *ClientWithResponses) ProjectServiceCreateWebhookWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceCreateWebhookResponse, error)
- func (c *ClientWithResponses) ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, ...) (*ProjectServiceDeleteInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceDeleteKeyWithResponse(ctx context.Context, projectId string, apiKey string, ...) (*ProjectServiceDeleteKeyResponse, error)
- func (c *ClientWithResponses) ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceDeleteWebhookWithResponse(ctx context.Context, projectId string, webhookId string, ...) (*ProjectServiceDeleteWebhookResponse, error)
- func (c *ClientWithResponses) ProjectServiceGenerateKeyWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceGenerateKeyResponse, error)
- func (c *ClientWithResponses) ProjectServiceGenerateKeyWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceGenerateKeyResponse, error)
- func (c *ClientWithResponses) ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, ...) (*ProjectServiceGetMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceInviteMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceInviteMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, ...) (*ProjectServiceListInvitesResponse, error)
- func (c *ClientWithResponses) ProjectServiceListKeysWithResponse(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, ...) (*ProjectServiceListKeysResponse, error)
- func (c *ClientWithResponses) ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, ...) (*ProjectServiceListMembersResponse, error)
- func (c *ClientWithResponses) ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, ...) (*ProjectServiceListProjectsResponse, error)
- func (c *ClientWithResponses) ProjectServiceListWebhookEventsWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceListWebhookEventsResponse, error)
- func (c *ClientWithResponses) ProjectServiceListWebhooksWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceListWebhooksResponse, error)
- func (c *ClientWithResponses) ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, ...) (*ProjectServiceRemoveMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceSendTestWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, ...) (*ProjectServiceSendTestWebhookResponse, error)
- func (c *ClientWithResponses) ProjectServiceSendTestWebhookWithResponse(ctx context.Context, projectId string, webhookId string, ...) (*ProjectServiceSendTestWebhookResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, ...) (*ProjectServiceUpdateInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, ...) (*ProjectServiceUpdateInviteResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, ...) (*ProjectServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, ...) (*ProjectServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*ProjectServiceUpdateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, ...) (*ProjectServiceUpdateProjectResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, ...) (*ProjectServiceUpdateWebhookResponse, error)
- func (c *ClientWithResponses) ProjectServiceUpdateWebhookWithResponse(ctx context.Context, projectId string, webhookId string, ...) (*ProjectServiceUpdateWebhookResponse, error)
- func (c *ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceCancelSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
- func (c *ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
- func (c *ClientWithResponses) SimulationServiceCountSimulationRunsWithResponse(ctx context.Context, projectId string, ...) (*SimulationServiceCountSimulationRunsResponse, error)
- func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*SimulationServiceCreateSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, ...) (*SimulationServiceCreateSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
- func (c *ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithResponse(ctx context.Context, projectId string, ...) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
- func (c *ClientWithResponses) SimulationServiceGetSimulationRunSummaryWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceGetSimulationRunSummaryResponse, error)
- func (c *ClientWithResponses) SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, ...) (*SimulationServiceGetSimulationRunResponse, error)
- func (c *ClientWithResponses) SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, ...) (*SimulationServiceListSimulationRunsResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateDispatchRuleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*TelephonyServiceCreateDispatchRuleResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateDispatchRuleWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceCreateDispatchRuleResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateInboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*TelephonyServiceCreateInboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateInboundTrunkWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceCreateInboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateOutboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*TelephonyServiceCreateOutboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateOutboundTrunkWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceCreateOutboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateSIPParticipantWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*TelephonyServiceCreateSIPParticipantResponse, error)
- func (c *ClientWithResponses) TelephonyServiceCreateSIPParticipantWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceCreateSIPParticipantResponse, error)
- func (c *ClientWithResponses) TelephonyServiceDeleteDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, ...) (*TelephonyServiceDeleteDispatchRuleResponse, error)
- func (c *ClientWithResponses) TelephonyServiceDeleteInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, ...) (*TelephonyServiceDeleteInboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceDeleteOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, ...) (*TelephonyServiceDeleteOutboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceGetDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, ...) (*TelephonyServiceGetDispatchRuleResponse, error)
- func (c *ClientWithResponses) TelephonyServiceGetInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, ...) (*TelephonyServiceGetInboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceGetOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, ...) (*TelephonyServiceGetOutboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceGetPhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, ...) (*TelephonyServiceGetPhoneNumberResponse, error)
- func (c *ClientWithResponses) TelephonyServiceListDispatchRulesWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceListDispatchRulesResponse, error)
- func (c *ClientWithResponses) TelephonyServiceListInboundTrunksWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceListInboundTrunksResponse, error)
- func (c *ClientWithResponses) TelephonyServiceListOutboundTrunksWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceListOutboundTrunksResponse, error)
- func (c *ClientWithResponses) TelephonyServiceListPhoneNumbersWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceListPhoneNumbersResponse, error)
- func (c *ClientWithResponses) TelephonyServicePurchasePhoneNumberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*TelephonyServicePurchasePhoneNumberResponse, error)
- func (c *ClientWithResponses) TelephonyServicePurchasePhoneNumberWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServicePurchasePhoneNumberResponse, error)
- func (c *ClientWithResponses) TelephonyServiceReleasePhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, ...) (*TelephonyServiceReleasePhoneNumberResponse, error)
- func (c *ClientWithResponses) TelephonyServiceSearchPhoneNumbersWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceSearchPhoneNumbersResponse, error)
- func (c *ClientWithResponses) TelephonyServiceTransferSIPParticipantWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*TelephonyServiceTransferSIPParticipantResponse, error)
- func (c *ClientWithResponses) TelephonyServiceTransferSIPParticipantWithResponse(ctx context.Context, projectId string, ...) (*TelephonyServiceTransferSIPParticipantResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdateDispatchRuleWithBodyWithResponse(ctx context.Context, projectId string, dispatchRuleId string, ...) (*TelephonyServiceUpdateDispatchRuleResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdateDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, ...) (*TelephonyServiceUpdateDispatchRuleResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdateInboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, trunkId string, contentType string, ...) (*TelephonyServiceUpdateInboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdateInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, ...) (*TelephonyServiceUpdateInboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdateOutboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, trunkId string, contentType string, ...) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdateOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, ...) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdatePhoneNumberWithBodyWithResponse(ctx context.Context, projectId string, phoneNumberId string, ...) (*TelephonyServiceUpdatePhoneNumberResponse, error)
- func (c *ClientWithResponses) TelephonyServiceUpdatePhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, ...) (*TelephonyServiceUpdatePhoneNumberResponse, error)
- func (c *ClientWithResponses) UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)
- func (c *ClientWithResponses) UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)
- func (c *ClientWithResponses) UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, ...) (*UserServiceListUsersResponse, error)
- func (c *ClientWithResponses) UserServiceRevokeSessionTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceRevokeSessionTokenResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, ...) (*WorkspaceServiceAnswerInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, ...) (*WorkspaceServiceAnswerInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*WorkspaceServiceCreateInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceCreateInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*WorkspaceServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceCreateProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WorkspaceServiceCreateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, ...) (*WorkspaceServiceCreateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, ...) (*WorkspaceServiceDeleteInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, ...) (*WorkspaceServiceDeleteMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, ...) (*WorkspaceServiceDeleteProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, ...) (*WorkspaceServiceGetMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, ...) (*WorkspaceServiceGetProjectResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceListInvitesResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceListMembersResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceListProjectsResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, ...) (*WorkspaceServiceListWorkspacesResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, ...) (*WorkspaceServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, ...) (*WorkspaceServiceUpdateMemberResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*WorkspaceServiceUpdateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, ...) (*WorkspaceServiceUpdateWorkspaceResponse, error)
- type ClientWithResponsesInterface
- type CloudProtocolPIIRedactionCategory
- type EvalServiceCreateEvalJSONBody
- type EvalServiceCreateEvalJSONRequestBody
- type EvalServiceCreateEvalResponse
- func (r EvalServiceCreateEvalResponse) ContentType() string
- func (r EvalServiceCreateEvalResponse) GetBody() []byte
- func (r EvalServiceCreateEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsCreateResponse
- func (r EvalServiceCreateEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceCreateEvalResponse) Status() string
- func (r EvalServiceCreateEvalResponse) StatusCode() int
- type EvalServiceCreateSessionLabelJSONBody
- type EvalServiceCreateSessionLabelJSONRequestBody
- type EvalServiceCreateSessionLabelResponse
- func (r EvalServiceCreateSessionLabelResponse) ContentType() string
- func (r EvalServiceCreateSessionLabelResponse) GetBody() []byte
- func (r EvalServiceCreateSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsCreateResponse
- func (r EvalServiceCreateSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceCreateSessionLabelResponse) Status() string
- func (r EvalServiceCreateSessionLabelResponse) StatusCode() int
- type EvalServiceDeleteEvalResponse
- func (r EvalServiceDeleteEvalResponse) ContentType() string
- func (r EvalServiceDeleteEvalResponse) GetBody() []byte
- func (r EvalServiceDeleteEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsDeleteResponse
- func (r EvalServiceDeleteEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceDeleteEvalResponse) Status() string
- func (r EvalServiceDeleteEvalResponse) StatusCode() int
- type EvalServiceDeleteSessionLabelResponse
- func (r EvalServiceDeleteSessionLabelResponse) ContentType() string
- func (r EvalServiceDeleteSessionLabelResponse) GetBody() []byte
- func (r EvalServiceDeleteSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsDeleteResponse
- func (r EvalServiceDeleteSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceDeleteSessionLabelResponse) Status() string
- func (r EvalServiceDeleteSessionLabelResponse) StatusCode() int
- type EvalServiceDiffEvalRevisionsParams
- type EvalServiceDiffEvalRevisionsResponse
- func (r EvalServiceDiffEvalRevisionsResponse) ContentType() string
- func (r EvalServiceDiffEvalRevisionsResponse) GetBody() []byte
- func (r EvalServiceDiffEvalRevisionsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalRevisionsDiffResponse
- func (r EvalServiceDiffEvalRevisionsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceDiffEvalRevisionsResponse) Status() string
- func (r EvalServiceDiffEvalRevisionsResponse) StatusCode() int
- type EvalServiceDiscardEvalDraftParams
- type EvalServiceDiscardEvalDraftResponse
- func (r EvalServiceDiscardEvalDraftResponse) ContentType() string
- func (r EvalServiceDiscardEvalDraftResponse) GetBody() []byte
- func (r EvalServiceDiscardEvalDraftResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDraftsDiscardResponse
- func (r EvalServiceDiscardEvalDraftResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceDiscardEvalDraftResponse) Status() string
- func (r EvalServiceDiscardEvalDraftResponse) StatusCode() int
- type EvalServiceGetEvalDefaultsResponse
- func (r EvalServiceGetEvalDefaultsResponse) ContentType() string
- func (r EvalServiceGetEvalDefaultsResponse) GetBody() []byte
- func (r EvalServiceGetEvalDefaultsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDefaultsGetResponse
- func (r EvalServiceGetEvalDefaultsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceGetEvalDefaultsResponse) Status() string
- func (r EvalServiceGetEvalDefaultsResponse) StatusCode() int
- type EvalServiceGetEvalParams
- type EvalServiceGetEvalResponse
- func (r EvalServiceGetEvalResponse) ContentType() string
- func (r EvalServiceGetEvalResponse) GetBody() []byte
- func (r EvalServiceGetEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsGetResponse
- func (r EvalServiceGetEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceGetEvalResponse) Status() string
- func (r EvalServiceGetEvalResponse) StatusCode() int
- type EvalServiceGetSessionLabelSettingsResponse
- func (r EvalServiceGetSessionLabelSettingsResponse) ContentType() string
- func (r EvalServiceGetSessionLabelSettingsResponse) GetBody() []byte
- func (r EvalServiceGetSessionLabelSettingsResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse
- func (r EvalServiceGetSessionLabelSettingsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceGetSessionLabelSettingsResponse) Status() string
- func (r EvalServiceGetSessionLabelSettingsResponse) StatusCode() int
- type EvalServiceListEvalHistoryParams
- type EvalServiceListEvalHistoryResponse
- func (r EvalServiceListEvalHistoryResponse) ContentType() string
- func (r EvalServiceListEvalHistoryResponse) GetBody() []byte
- func (r EvalServiceListEvalHistoryResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalHistoryListResponse
- func (r EvalServiceListEvalHistoryResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceListEvalHistoryResponse) Status() string
- func (r EvalServiceListEvalHistoryResponse) StatusCode() int
- type EvalServiceListEvalsParams
- type EvalServiceListEvalsResponse
- func (r EvalServiceListEvalsResponse) ContentType() string
- func (r EvalServiceListEvalsResponse) GetBody() []byte
- func (r EvalServiceListEvalsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsListResponse
- func (r EvalServiceListEvalsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceListEvalsResponse) Status() string
- func (r EvalServiceListEvalsResponse) StatusCode() int
- type EvalServiceListSessionLabelsParams
- type EvalServiceListSessionLabelsResponse
- func (r EvalServiceListSessionLabelsResponse) ContentType() string
- func (r EvalServiceListSessionLabelsResponse) GetBody() []byte
- func (r EvalServiceListSessionLabelsResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsListResponse
- func (r EvalServiceListSessionLabelsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceListSessionLabelsResponse) Status() string
- func (r EvalServiceListSessionLabelsResponse) StatusCode() int
- type EvalServicePublishEvalDraftJSONBody
- type EvalServicePublishEvalDraftJSONRequestBody
- type EvalServicePublishEvalDraftResponse
- func (r EvalServicePublishEvalDraftResponse) ContentType() string
- func (r EvalServicePublishEvalDraftResponse) GetBody() []byte
- func (r EvalServicePublishEvalDraftResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDraftsPublishResponse
- func (r EvalServicePublishEvalDraftResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServicePublishEvalDraftResponse) Status() string
- func (r EvalServicePublishEvalDraftResponse) StatusCode() int
- type EvalServiceRollbackEvalJSONBody
- type EvalServiceRollbackEvalJSONRequestBody
- type EvalServiceRollbackEvalResponse
- func (r EvalServiceRollbackEvalResponse) ContentType() string
- func (r EvalServiceRollbackEvalResponse) GetBody() []byte
- func (r EvalServiceRollbackEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsRollbackResponse
- func (r EvalServiceRollbackEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceRollbackEvalResponse) Status() string
- func (r EvalServiceRollbackEvalResponse) StatusCode() int
- type EvalServiceSaveEvalDraftJSONBody
- type EvalServiceSaveEvalDraftJSONRequestBody
- type EvalServiceSaveEvalDraftResponse
- func (r EvalServiceSaveEvalDraftResponse) ContentType() string
- func (r EvalServiceSaveEvalDraftResponse) GetBody() []byte
- func (r EvalServiceSaveEvalDraftResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDraftsSaveResponse
- func (r EvalServiceSaveEvalDraftResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceSaveEvalDraftResponse) Status() string
- func (r EvalServiceSaveEvalDraftResponse) StatusCode() int
- type EvalServiceUndeleteEvalResponse
- func (r EvalServiceUndeleteEvalResponse) ContentType() string
- func (r EvalServiceUndeleteEvalResponse) GetBody() []byte
- func (r EvalServiceUndeleteEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsUndeleteResponse
- func (r EvalServiceUndeleteEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceUndeleteEvalResponse) Status() string
- func (r EvalServiceUndeleteEvalResponse) StatusCode() int
- type EvalServiceUndeleteSessionLabelResponse
- func (r EvalServiceUndeleteSessionLabelResponse) ContentType() string
- func (r EvalServiceUndeleteSessionLabelResponse) GetBody() []byte
- func (r EvalServiceUndeleteSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse
- func (r EvalServiceUndeleteSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceUndeleteSessionLabelResponse) Status() string
- func (r EvalServiceUndeleteSessionLabelResponse) StatusCode() int
- type EvalServiceUpdateEvalDefaultsJSONBody
- type EvalServiceUpdateEvalDefaultsJSONRequestBody
- type EvalServiceUpdateEvalDefaultsResponse
- func (r EvalServiceUpdateEvalDefaultsResponse) ContentType() string
- func (r EvalServiceUpdateEvalDefaultsResponse) GetBody() []byte
- func (r EvalServiceUpdateEvalDefaultsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse
- func (r EvalServiceUpdateEvalDefaultsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceUpdateEvalDefaultsResponse) Status() string
- func (r EvalServiceUpdateEvalDefaultsResponse) StatusCode() int
- type EvalServiceUpdateEvalJSONBody
- type EvalServiceUpdateEvalJSONRequestBody
- type EvalServiceUpdateEvalResponse
- func (r EvalServiceUpdateEvalResponse) ContentType() string
- func (r EvalServiceUpdateEvalResponse) GetBody() []byte
- func (r EvalServiceUpdateEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsUpdateResponse
- func (r EvalServiceUpdateEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceUpdateEvalResponse) Status() string
- func (r EvalServiceUpdateEvalResponse) StatusCode() int
- type EvalServiceUpdateSessionLabelJSONBody
- type EvalServiceUpdateSessionLabelJSONRequestBody
- type EvalServiceUpdateSessionLabelResponse
- func (r EvalServiceUpdateSessionLabelResponse) ContentType() string
- func (r EvalServiceUpdateSessionLabelResponse) GetBody() []byte
- func (r EvalServiceUpdateSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsUpdateResponse
- func (r EvalServiceUpdateSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceUpdateSessionLabelResponse) Status() string
- func (r EvalServiceUpdateSessionLabelResponse) StatusCode() int
- type EvalServiceUpdateSessionLabelSettingsJSONBody
- type EvalServiceUpdateSessionLabelSettingsJSONRequestBody
- type EvalServiceUpdateSessionLabelSettingsResponse
- func (r EvalServiceUpdateSessionLabelSettingsResponse) ContentType() string
- func (r EvalServiceUpdateSessionLabelSettingsResponse) GetBody() []byte
- func (r EvalServiceUpdateSessionLabelSettingsResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse
- func (r EvalServiceUpdateSessionLabelSettingsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceUpdateSessionLabelSettingsResponse) Status() string
- func (r EvalServiceUpdateSessionLabelSettingsResponse) StatusCode() int
- type EvalServiceValidateEvalJSONBody
- type EvalServiceValidateEvalJSONRequestBody
- type EvalServiceValidateEvalResponse
- func (r EvalServiceValidateEvalResponse) ContentType() string
- func (r EvalServiceValidateEvalResponse) GetBody() []byte
- func (r EvalServiceValidateEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsValidateResponse
- func (r EvalServiceValidateEvalResponse) GetJSONDefault() *GoogleRpcStatus
- func (r EvalServiceValidateEvalResponse) Status() string
- func (r EvalServiceValidateEvalResponse) StatusCode() int
- type GoogleProtobufAny
- type GoogleProtobufDuration
- type GoogleProtobufStruct
- type GoogleProtobufTimestamp
- type GoogleProtobufValue
- func (t GoogleProtobufValue) AsGoogleProtobufValue1() (GoogleProtobufValue1, error)
- func (t GoogleProtobufValue) AsGoogleProtobufValue2() (GoogleProtobufValue2, error)
- func (t GoogleProtobufValue) AsGoogleProtobufValue3() (GoogleProtobufValue3, error)
- func (t GoogleProtobufValue) AsGoogleProtobufValue4() (GoogleProtobufValue4, error)
- func (t GoogleProtobufValue) AsGoogleProtobufValue5() (GoogleProtobufValue5, error)
- func (t *GoogleProtobufValue) FromGoogleProtobufValue1(v GoogleProtobufValue1) error
- func (t *GoogleProtobufValue) FromGoogleProtobufValue2(v GoogleProtobufValue2) error
- func (t *GoogleProtobufValue) FromGoogleProtobufValue3(v GoogleProtobufValue3) error
- func (t *GoogleProtobufValue) FromGoogleProtobufValue4(v GoogleProtobufValue4) error
- func (t *GoogleProtobufValue) FromGoogleProtobufValue5(v GoogleProtobufValue5) error
- func (t GoogleProtobufValue) MarshalJSON() ([]byte, error)
- func (t *GoogleProtobufValue) MergeGoogleProtobufValue1(v GoogleProtobufValue1) error
- func (t *GoogleProtobufValue) MergeGoogleProtobufValue2(v GoogleProtobufValue2) error
- func (t *GoogleProtobufValue) MergeGoogleProtobufValue3(v GoogleProtobufValue3) error
- func (t *GoogleProtobufValue) MergeGoogleProtobufValue4(v GoogleProtobufValue4) error
- func (t *GoogleProtobufValue) MergeGoogleProtobufValue5(v GoogleProtobufValue5) error
- func (t *GoogleProtobufValue) UnmarshalJSON(b []byte) error
- type GoogleProtobufValue1
- type GoogleProtobufValue2
- type GoogleProtobufValue3
- type GoogleProtobufValue4
- type GoogleProtobufValue5
- type GoogleRpcStatus
- type HttpRequestDoer
- type LivekitAgentAgentConfigUpdate
- type LivekitAgentAgentHandoff
- type LivekitAgentChatContext
- type LivekitAgentChatContextChatItem
- func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem0() (LivekitAgentChatContextChatItem0, error)
- func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem1() (LivekitAgentChatContextChatItem1, error)
- func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem2() (LivekitAgentChatContextChatItem2, error)
- func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem3() (LivekitAgentChatContextChatItem3, error)
- func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem4() (LivekitAgentChatContextChatItem4, error)
- func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem0(v LivekitAgentChatContextChatItem0) error
- func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem1(v LivekitAgentChatContextChatItem1) error
- func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem2(v LivekitAgentChatContextChatItem2) error
- func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem3(v LivekitAgentChatContextChatItem3) error
- func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem4(v LivekitAgentChatContextChatItem4) error
- func (t LivekitAgentChatContextChatItem) MarshalJSON() ([]byte, error)
- func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem0(v LivekitAgentChatContextChatItem0) error
- func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem1(v LivekitAgentChatContextChatItem1) error
- func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem2(v LivekitAgentChatContextChatItem2) error
- func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem3(v LivekitAgentChatContextChatItem3) error
- func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem4(v LivekitAgentChatContextChatItem4) error
- func (t *LivekitAgentChatContextChatItem) UnmarshalJSON(b []byte) error
- type LivekitAgentChatContextChatItem0
- type LivekitAgentChatContextChatItem1
- type LivekitAgentChatContextChatItem2
- type LivekitAgentChatContextChatItem3
- type LivekitAgentChatContextChatItem4
- type LivekitAgentChatMessage
- type LivekitAgentChatMessageChatContent
- func (t LivekitAgentChatMessageChatContent) AsLivekitAgentChatMessageChatContent0() (LivekitAgentChatMessageChatContent0, error)
- func (t *LivekitAgentChatMessageChatContent) FromLivekitAgentChatMessageChatContent0(v LivekitAgentChatMessageChatContent0) error
- func (t LivekitAgentChatMessageChatContent) MarshalJSON() ([]byte, error)
- func (t *LivekitAgentChatMessageChatContent) MergeLivekitAgentChatMessageChatContent0(v LivekitAgentChatMessageChatContent0) error
- func (t *LivekitAgentChatMessageChatContent) UnmarshalJSON(b []byte) error
- type LivekitAgentChatMessageChatContent0
- type LivekitAgentChatRole
- type LivekitAgentFunctionCall
- type LivekitAgentFunctionCallOutput
- type LivekitAgentMetricsReport
- type LivekitAliOSSUpload
- type LivekitAudioChannel
- type LivekitAudioCodec
- type LivekitAudioConfig
- type LivekitAudioMixing
- type LivekitAudioRoute
- func (t LivekitAudioRoute) AsLivekitAudioRoute0() (LivekitAudioRoute0, error)
- func (t LivekitAudioRoute) AsLivekitAudioRoute1() (LivekitAudioRoute1, error)
- func (t LivekitAudioRoute) AsLivekitAudioRoute2() (LivekitAudioRoute2, error)
- func (t *LivekitAudioRoute) FromLivekitAudioRoute0(v LivekitAudioRoute0) error
- func (t *LivekitAudioRoute) FromLivekitAudioRoute1(v LivekitAudioRoute1) error
- func (t *LivekitAudioRoute) FromLivekitAudioRoute2(v LivekitAudioRoute2) error
- func (t LivekitAudioRoute) MarshalJSON() ([]byte, error)
- func (t *LivekitAudioRoute) MergeLivekitAudioRoute0(v LivekitAudioRoute0) error
- func (t *LivekitAudioRoute) MergeLivekitAudioRoute1(v LivekitAudioRoute1) error
- func (t *LivekitAudioRoute) MergeLivekitAudioRoute2(v LivekitAudioRoute2) error
- func (t *LivekitAudioRoute) UnmarshalJSON(b []byte) error
- type LivekitAudioRoute0
- type LivekitAudioRoute1
- type LivekitAudioRoute2
- type LivekitAutoParticipantEgress
- func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0() (LivekitAutoParticipantEgress0, error)
- func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1() (LivekitAutoParticipantEgress1, error)
- func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
- func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
- func (t LivekitAutoParticipantEgress) MarshalJSON() ([]byte, error)
- func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
- func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
- func (t *LivekitAutoParticipantEgress) UnmarshalJSON(b []byte) error
- type LivekitAutoParticipantEgress0
- type LivekitAutoParticipantEgress1
- type LivekitAutoTrackEgress
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0() (LivekitAutoTrackEgress0, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1() (LivekitAutoTrackEgress1, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2() (LivekitAutoTrackEgress2, error)
- func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3() (LivekitAutoTrackEgress3, error)
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
- func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
- func (t LivekitAutoTrackEgress) MarshalJSON() ([]byte, error)
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
- func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
- func (t *LivekitAutoTrackEgress) UnmarshalJSON(b []byte) error
- type LivekitAutoTrackEgress0
- type LivekitAutoTrackEgress1
- type LivekitAutoTrackEgress2
- type LivekitAutoTrackEgress3
- type LivekitAzureBlobUpload
- type LivekitCreateSIPParticipantRequest
- type LivekitDataConfig
- type LivekitDataSelector
- func (t LivekitDataSelector) AsLivekitDataSelector0() (LivekitDataSelector0, error)
- func (t LivekitDataSelector) AsLivekitDataSelector1() (LivekitDataSelector1, error)
- func (t *LivekitDataSelector) FromLivekitDataSelector0(v LivekitDataSelector0) error
- func (t *LivekitDataSelector) FromLivekitDataSelector1(v LivekitDataSelector1) error
- func (t LivekitDataSelector) MarshalJSON() ([]byte, error)
- func (t *LivekitDataSelector) MergeLivekitDataSelector0(v LivekitDataSelector0) error
- func (t *LivekitDataSelector) MergeLivekitDataSelector1(v LivekitDataSelector1) error
- func (t *LivekitDataSelector) UnmarshalJSON(b []byte) error
- type LivekitDataSelector0
- type LivekitDataSelector1
- type LivekitDestination
- type LivekitEncodedFileOutput
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0() (LivekitEncodedFileOutput0, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1() (LivekitEncodedFileOutput1, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2() (LivekitEncodedFileOutput2, error)
- func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3() (LivekitEncodedFileOutput3, error)
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
- func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
- func (t LivekitEncodedFileOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
- func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
- func (t *LivekitEncodedFileOutput) UnmarshalJSON(b []byte) error
- type LivekitEncodedFileOutput0
- type LivekitEncodedFileOutput1
- type LivekitEncodedFileOutput2
- type LivekitEncodedFileOutput3
- type LivekitEncodedFileType
- type LivekitEncodingOptions
- type LivekitEncodingOptionsPreset
- type LivekitFileOutput
- type LivekitFilterParams
- type LivekitGCPUpload
- type LivekitImageCodec
- type LivekitImageFileSuffix
- type LivekitImageOutput
- func (t LivekitImageOutput) AsLivekitImageOutput0() (LivekitImageOutput0, error)
- func (t LivekitImageOutput) AsLivekitImageOutput1() (LivekitImageOutput1, error)
- func (t LivekitImageOutput) AsLivekitImageOutput2() (LivekitImageOutput2, error)
- func (t LivekitImageOutput) AsLivekitImageOutput3() (LivekitImageOutput3, error)
- func (t *LivekitImageOutput) FromLivekitImageOutput0(v LivekitImageOutput0) error
- func (t *LivekitImageOutput) FromLivekitImageOutput1(v LivekitImageOutput1) error
- func (t *LivekitImageOutput) FromLivekitImageOutput2(v LivekitImageOutput2) error
- func (t *LivekitImageOutput) FromLivekitImageOutput3(v LivekitImageOutput3) error
- func (t LivekitImageOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitImageOutput) MergeLivekitImageOutput0(v LivekitImageOutput0) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput1(v LivekitImageOutput1) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput2(v LivekitImageOutput2) error
- func (t *LivekitImageOutput) MergeLivekitImageOutput3(v LivekitImageOutput3) error
- func (t *LivekitImageOutput) UnmarshalJSON(b []byte) error
- type LivekitImageOutput0
- type LivekitImageOutput1
- type LivekitImageOutput2
- type LivekitImageOutput3
- type LivekitJobRestartPolicy
- type LivekitListUpdate
- type LivekitMediaSource
- func (t LivekitMediaSource) AsLivekitMediaSource0() (LivekitMediaSource0, error)
- func (t LivekitMediaSource) AsLivekitMediaSource1() (LivekitMediaSource1, error)
- func (t LivekitMediaSource) AsLivekitMediaSource2() (LivekitMediaSource2, error)
- func (t *LivekitMediaSource) FromLivekitMediaSource0(v LivekitMediaSource0) error
- func (t *LivekitMediaSource) FromLivekitMediaSource1(v LivekitMediaSource1) error
- func (t *LivekitMediaSource) FromLivekitMediaSource2(v LivekitMediaSource2) error
- func (t LivekitMediaSource) MarshalJSON() ([]byte, error)
- func (t *LivekitMediaSource) MergeLivekitMediaSource0(v LivekitMediaSource0) error
- func (t *LivekitMediaSource) MergeLivekitMediaSource1(v LivekitMediaSource1) error
- func (t *LivekitMediaSource) MergeLivekitMediaSource2(v LivekitMediaSource2) error
- func (t *LivekitMediaSource) UnmarshalJSON(b []byte) error
- type LivekitMediaSource0
- type LivekitMediaSource1
- type LivekitMediaSource2
- type LivekitOutput
- func (t LivekitOutput) AsLivekitOutput0() (LivekitOutput0, error)
- func (t LivekitOutput) AsLivekitOutput1() (LivekitOutput1, error)
- func (t LivekitOutput) AsLivekitOutput2() (LivekitOutput2, error)
- func (t LivekitOutput) AsLivekitOutput3() (LivekitOutput3, error)
- func (t *LivekitOutput) FromLivekitOutput0(v LivekitOutput0) error
- func (t *LivekitOutput) FromLivekitOutput1(v LivekitOutput1) error
- func (t *LivekitOutput) FromLivekitOutput2(v LivekitOutput2) error
- func (t *LivekitOutput) FromLivekitOutput3(v LivekitOutput3) error
- func (t LivekitOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitOutput) MergeLivekitOutput0(v LivekitOutput0) error
- func (t *LivekitOutput) MergeLivekitOutput1(v LivekitOutput1) error
- func (t *LivekitOutput) MergeLivekitOutput2(v LivekitOutput2) error
- func (t *LivekitOutput) MergeLivekitOutput3(v LivekitOutput3) error
- func (t *LivekitOutput) UnmarshalJSON(b []byte) error
- type LivekitOutput0
- type LivekitOutput1
- type LivekitOutput2
- type LivekitOutput3
- type LivekitParticipantEgressConfig
- func (t LivekitParticipantEgressConfig) AsLivekitParticipantEgressConfig0() (LivekitParticipantEgressConfig0, error)
- func (t LivekitParticipantEgressConfig) AsLivekitParticipantEgressConfig1() (LivekitParticipantEgressConfig1, error)
- func (t *LivekitParticipantEgressConfig) FromLivekitParticipantEgressConfig0(v LivekitParticipantEgressConfig0) error
- func (t *LivekitParticipantEgressConfig) FromLivekitParticipantEgressConfig1(v LivekitParticipantEgressConfig1) error
- func (t LivekitParticipantEgressConfig) MarshalJSON() ([]byte, error)
- func (t *LivekitParticipantEgressConfig) MergeLivekitParticipantEgressConfig0(v LivekitParticipantEgressConfig0) error
- func (t *LivekitParticipantEgressConfig) MergeLivekitParticipantEgressConfig1(v LivekitParticipantEgressConfig1) error
- func (t *LivekitParticipantEgressConfig) UnmarshalJSON(b []byte) error
- type LivekitParticipantEgressConfig0
- type LivekitParticipantEgressConfig1
- type LivekitParticipantInfoKind
- type LivekitParticipantVideo
- type LivekitPhoneNumber
- type LivekitPhoneNumberInboundStatus
- type LivekitPhoneNumberOutboundStatus
- type LivekitPhoneNumberStatus
- type LivekitPhoneNumberType
- type LivekitPresignedPostRequest
- type LivekitProxyConfig
- type LivekitPublicapiAgentbuilderV1Agent
- type LivekitPublicapiAgentbuilderV1AgentConfig
- type LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio
- type LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode
- type LivekitPublicapiAgentbuilderV1AgentConfigClientTool
- type LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionField
- type LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType
- type LivekitPublicapiAgentbuilderV1AgentConfigEndCallTool
- type LivekitPublicapiAgentbuilderV1AgentConfigEndOfCall
- type LivekitPublicapiAgentbuilderV1AgentConfigFieldName
- type LivekitPublicapiAgentbuilderV1AgentConfigHeader
- type LivekitPublicapiAgentbuilderV1AgentConfigHeaders
- type LivekitPublicapiAgentbuilderV1AgentConfigHttpTool
- type LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod
- type LivekitPublicapiAgentbuilderV1AgentConfigLanguageCode
- type LivekitPublicapiAgentbuilderV1AgentConfigMcpServer
- type LivekitPublicapiAgentbuilderV1AgentConfigModelId
- type LivekitPublicapiAgentbuilderV1AgentConfigModelMode
- type LivekitPublicapiAgentbuilderV1AgentConfigName
- type LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation
- type LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort
- type LivekitPublicapiAgentbuilderV1AgentConfigToolParameter
- type LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType
- type LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType
- type LivekitPublicapiAgentbuilderV1AgentConfigUrl
- type LivekitPublicapiAgentbuilderV1AgentConfigVariable
- func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable0() (LivekitPublicapiAgentbuilderV1AgentConfigVariable0, error)
- func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable1() (LivekitPublicapiAgentbuilderV1AgentConfigVariable1, error)
- func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable2() (LivekitPublicapiAgentbuilderV1AgentConfigVariable2, error)
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable0(v LivekitPublicapiAgentbuilderV1AgentConfigVariable0) error
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable1(v LivekitPublicapiAgentbuilderV1AgentConfigVariable1) error
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable2(v LivekitPublicapiAgentbuilderV1AgentConfigVariable2) error
- func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable0(v LivekitPublicapiAgentbuilderV1AgentConfigVariable0) error
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable1(v LivekitPublicapiAgentbuilderV1AgentConfigVariable1) error
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable2(v LivekitPublicapiAgentbuilderV1AgentConfigVariable2) error
- func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) UnmarshalJSON(b []byte) error
- type LivekitPublicapiAgentbuilderV1AgentConfigVariable0
- type LivekitPublicapiAgentbuilderV1AgentConfigVariable1
- type LivekitPublicapiAgentbuilderV1AgentConfigVariable2
- type LivekitPublicapiAgentbuilderV1AgentVersion
- type LivekitPublicapiAgentbuilderV1AgentVersionsListResponse
- type LivekitPublicapiAgentbuilderV1AgentsCreateResponse
- type LivekitPublicapiAgentbuilderV1AgentsDeleteResponse
- type LivekitPublicapiAgentbuilderV1AgentsDeployResponse
- type LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse
- type LivekitPublicapiAgentbuilderV1AgentsGetResponse
- type LivekitPublicapiAgentbuilderV1AgentsListResponse
- type LivekitPublicapiAgentbuilderV1AgentsUpdateResponse
- type LivekitPublicapiAgentbuilderV1Deployment
- type LivekitPublicapiAgentbuilderV1DeploymentStatus
- type LivekitPublicapiAnalyticsV1AgentInsightsAgent
- type LivekitPublicapiAnalyticsV1AgentInsightsGetResponse
- type LivekitPublicapiAnalyticsV1AgentInsightsModel
- type LivekitPublicapiAnalyticsV1AgentInsightsSummary
- type LivekitPublicapiAnalyticsV1DataPoint
- type LivekitPublicapiAnalyticsV1EvalAgentResult
- type LivekitPublicapiAnalyticsV1EvalCriterionResult
- type LivekitPublicapiAnalyticsV1EvalErrorCount
- type LivekitPublicapiAnalyticsV1EvalResult
- type LivekitPublicapiAnalyticsV1EvalResultsGetResponse
- type LivekitPublicapiAnalyticsV1EvalTotals
- type LivekitPublicapiAnalyticsV1EvalVersionResult
- type LivekitPublicapiAnalyticsV1LatencyStats
- type LivekitPublicapiAnalyticsV1ModelComponent
- type LivekitPublicapiAnalyticsV1ParticipantInfo
- type LivekitPublicapiAnalyticsV1ParticipantSession
- type LivekitPublicapiAnalyticsV1ParticipantSortField
- type LivekitPublicapiAnalyticsV1PublishedSources
- type LivekitPublicapiAnalyticsV1Session
- type LivekitPublicapiAnalyticsV1SessionDetail
- type LivekitPublicapiAnalyticsV1SessionEvent
- type LivekitPublicapiAnalyticsV1SessionEventsListResponse
- type LivekitPublicapiAnalyticsV1SessionLabelCount
- type LivekitPublicapiAnalyticsV1SessionLabelEvalResult
- type LivekitPublicapiAnalyticsV1SessionLabelFlow
- type LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse
- type LivekitPublicapiAnalyticsV1SessionLabelTotal
- type LivekitPublicapiAnalyticsV1SessionParticipantsListResponse
- type LivekitPublicapiAnalyticsV1SessionStatus
- type LivekitPublicapiAnalyticsV1SessionsGetResponse
- type LivekitPublicapiAnalyticsV1SessionsListResponse
- type LivekitPublicapiCommonV1PageInfo
- type LivekitPublicapiCommonV1SortOrder
- type LivekitPublicapiEvalsV1Eval
- type LivekitPublicapiEvalsV1EvalDefaultsGetResponse
- type LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse
- type LivekitPublicapiEvalsV1EvalDefinition
- type LivekitPublicapiEvalsV1EvalDefinitionChoice
- type LivekitPublicapiEvalsV1EvalDefinitionCriterion
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1
- type LivekitPublicapiEvalsV1EvalDefinitionCriterionType
- type LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices
- func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0() (LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0, error)
- func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1() (LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1, error)
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1) error
- func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) UnmarshalJSON(b []byte) error
- type LivekitPublicapiEvalsV1EvalDefinitionCriterion_On
- func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0() (LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0, error)
- func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1() (LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1, error)
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1) error
- func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) UnmarshalJSON(b []byte) error
- type LivekitPublicapiEvalsV1EvalDefinitionInputs
- type LivekitPublicapiEvalsV1EvalDefinitionJudge
- type LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict
- type LivekitPublicapiEvalsV1EvalDefinitionRule
- type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare
- type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0
- type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item
- func (t LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) AsLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0() (LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0, error)
- func (t LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) AsLivekitPublicapiEvalsV1EvalDefinitionRuleVar() (LivekitPublicapiEvalsV1EvalDefinitionRuleVar, error)
- func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) FromLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0(v LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) FromLivekitPublicapiEvalsV1EvalDefinitionRuleVar(v LivekitPublicapiEvalsV1EvalDefinitionRuleVar) error
- func (t LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MergeLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0(v LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MergeLivekitPublicapiEvalsV1EvalDefinitionRuleVar(v LivekitPublicapiEvalsV1EvalDefinitionRuleVar) error
- func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) UnmarshalJSON(b []byte) error
- type LivekitPublicapiEvalsV1EvalDefinitionRuleVar
- type LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar
- type LivekitPublicapiEvalsV1EvalDefinitionRun
- type LivekitPublicapiEvalsV1EvalDefinitionRunWhen
- type LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled
- type LivekitPublicapiEvalsV1EvalDefinitionScope
- type LivekitPublicapiEvalsV1EvalDraft
- type LivekitPublicapiEvalsV1EvalDraftsDiscardResponse
- type LivekitPublicapiEvalsV1EvalDraftsPublishResponse
- type LivekitPublicapiEvalsV1EvalDraftsSaveResponse
- type LivekitPublicapiEvalsV1EvalFieldChange
- type LivekitPublicapiEvalsV1EvalFieldChangeKind
- type LivekitPublicapiEvalsV1EvalHistoryEntry
- type LivekitPublicapiEvalsV1EvalHistoryKind
- type LivekitPublicapiEvalsV1EvalHistoryListResponse
- type LivekitPublicapiEvalsV1EvalRevision
- type LivekitPublicapiEvalsV1EvalRevisionsDiffResponse
- type LivekitPublicapiEvalsV1EvalSource
- type LivekitPublicapiEvalsV1EvalViolation
- type LivekitPublicapiEvalsV1EvalsCreateResponse
- type LivekitPublicapiEvalsV1EvalsDeleteResponse
- type LivekitPublicapiEvalsV1EvalsGetResponse
- func (t LivekitPublicapiEvalsV1EvalsGetResponse) AsLivekitPublicapiEvalsV1EvalsGetResponse0() (LivekitPublicapiEvalsV1EvalsGetResponse0, error)
- func (t LivekitPublicapiEvalsV1EvalsGetResponse) AsLivekitPublicapiEvalsV1EvalsGetResponse1() (LivekitPublicapiEvalsV1EvalsGetResponse1, error)
- func (t *LivekitPublicapiEvalsV1EvalsGetResponse) FromLivekitPublicapiEvalsV1EvalsGetResponse0(v LivekitPublicapiEvalsV1EvalsGetResponse0) error
- func (t *LivekitPublicapiEvalsV1EvalsGetResponse) FromLivekitPublicapiEvalsV1EvalsGetResponse1(v LivekitPublicapiEvalsV1EvalsGetResponse1) error
- func (t LivekitPublicapiEvalsV1EvalsGetResponse) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiEvalsV1EvalsGetResponse) MergeLivekitPublicapiEvalsV1EvalsGetResponse0(v LivekitPublicapiEvalsV1EvalsGetResponse0) error
- func (t *LivekitPublicapiEvalsV1EvalsGetResponse) MergeLivekitPublicapiEvalsV1EvalsGetResponse1(v LivekitPublicapiEvalsV1EvalsGetResponse1) error
- func (t *LivekitPublicapiEvalsV1EvalsGetResponse) UnmarshalJSON(b []byte) error
- type LivekitPublicapiEvalsV1EvalsGetResponse0
- type LivekitPublicapiEvalsV1EvalsGetResponse1
- type LivekitPublicapiEvalsV1EvalsListResponse
- type LivekitPublicapiEvalsV1EvalsRollbackResponse
- type LivekitPublicapiEvalsV1EvalsUndeleteResponse
- type LivekitPublicapiEvalsV1EvalsUpdateResponse
- type LivekitPublicapiEvalsV1EvalsValidateResponse
- type LivekitPublicapiEvalsV1JudgeDefaults
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinition
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit
- type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel
- type LivekitPublicapiEvalsV1SessionLabel
- type LivekitPublicapiEvalsV1SessionLabelAgents
- type LivekitPublicapiEvalsV1SessionLabelKind
- type LivekitPublicapiEvalsV1SessionLabelRating
- type LivekitPublicapiEvalsV1SessionLabelSettings
- type LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse
- type LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse
- type LivekitPublicapiEvalsV1SessionLabelsCreateResponse
- type LivekitPublicapiEvalsV1SessionLabelsDeleteResponse
- type LivekitPublicapiEvalsV1SessionLabelsListResponse
- type LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse
- type LivekitPublicapiEvalsV1SessionLabelsUpdateResponse
- type LivekitPublicapiObservabilityV1DataState
- type LivekitPublicapiObservabilityV1DataStatus
- type LivekitPublicapiObservabilityV1EvalJudgeAnswer
- type LivekitPublicapiObservabilityV1EvalSession
- type LivekitPublicapiObservabilityV1EvalSessionResult
- type LivekitPublicapiObservabilityV1EvalSessionsListResponse
- type LivekitPublicapiObservabilityV1EvalVerdict
- type LivekitPublicapiObservabilityV1LogLevel
- type LivekitPublicapiObservabilityV1LogPattern
- type LivekitPublicapiObservabilityV1LogPatternBucket
- type LivekitPublicapiObservabilityV1LogPatternRank
- type LivekitPublicapiObservabilityV1LogPatternVariant
- type LivekitPublicapiObservabilityV1LogPatternsListResponse
- type LivekitPublicapiObservabilityV1LogRecord
- type LivekitPublicapiObservabilityV1LogSource
- type LivekitPublicapiObservabilityV1LogsGetResponse
- type LivekitPublicapiObservabilityV1MetricHistogram
- type LivekitPublicapiObservabilityV1MetricKind
- type LivekitPublicapiObservabilityV1MetricPoint
- func (t LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint0() (LivekitPublicapiObservabilityV1MetricPoint0, error)
- func (t LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint1() (LivekitPublicapiObservabilityV1MetricPoint1, error)
- func (t *LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint0(v LivekitPublicapiObservabilityV1MetricPoint0) error
- func (t *LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint1(v LivekitPublicapiObservabilityV1MetricPoint1) error
- func (t LivekitPublicapiObservabilityV1MetricPoint) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint0(v LivekitPublicapiObservabilityV1MetricPoint0) error
- func (t *LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint1(v LivekitPublicapiObservabilityV1MetricPoint1) error
- func (t *LivekitPublicapiObservabilityV1MetricPoint) UnmarshalJSON(b []byte) error
- type LivekitPublicapiObservabilityV1MetricPoint0
- type LivekitPublicapiObservabilityV1MetricPoint1
- type LivekitPublicapiObservabilityV1MetricsGetResponse
- type LivekitPublicapiObservabilityV1ProjectLogsListResponse
- type LivekitPublicapiObservabilityV1RecordingFileType
- type LivekitPublicapiObservabilityV1RecordingGetURLResponse
- type LivekitPublicapiObservabilityV1Role
- type LivekitPublicapiObservabilityV1SessionEval
- type LivekitPublicapiObservabilityV1SessionEvalCriterion
- type LivekitPublicapiObservabilityV1SessionEvalsGetResponse
- type LivekitPublicapiObservabilityV1SessionJobLabels
- type LivekitPublicapiObservabilityV1Span
- type LivekitPublicapiObservabilityV1SpanEvent
- type LivekitPublicapiObservabilityV1SpanKind
- type LivekitPublicapiObservabilityV1SpanStatus
- type LivekitPublicapiObservabilityV1TracesGetResponse
- type LivekitPublicapiObservabilityV1TranscriptGetResponse
- type LivekitPublicapiObservabilityV1TranscriptItem
- func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem0() (LivekitPublicapiObservabilityV1TranscriptItem0, error)
- func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem1() (LivekitPublicapiObservabilityV1TranscriptItem1, error)
- func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem2() (LivekitPublicapiObservabilityV1TranscriptItem2, error)
- func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem3() (LivekitPublicapiObservabilityV1TranscriptItem3, error)
- func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem4() (LivekitPublicapiObservabilityV1TranscriptItem4, error)
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem0(v LivekitPublicapiObservabilityV1TranscriptItem0) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem1(v LivekitPublicapiObservabilityV1TranscriptItem1) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem2(v LivekitPublicapiObservabilityV1TranscriptItem2) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem3(v LivekitPublicapiObservabilityV1TranscriptItem3) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem4(v LivekitPublicapiObservabilityV1TranscriptItem4) error
- func (t LivekitPublicapiObservabilityV1TranscriptItem) MarshalJSON() ([]byte, error)
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem0(v LivekitPublicapiObservabilityV1TranscriptItem0) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem1(v LivekitPublicapiObservabilityV1TranscriptItem1) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem2(v LivekitPublicapiObservabilityV1TranscriptItem2) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem3(v LivekitPublicapiObservabilityV1TranscriptItem3) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem4(v LivekitPublicapiObservabilityV1TranscriptItem4) error
- func (t *LivekitPublicapiObservabilityV1TranscriptItem) UnmarshalJSON(b []byte) error
- type LivekitPublicapiObservabilityV1TranscriptItem0
- type LivekitPublicapiObservabilityV1TranscriptItem1
- type LivekitPublicapiObservabilityV1TranscriptItem2
- type LivekitPublicapiObservabilityV1TranscriptItem3
- type LivekitPublicapiObservabilityV1TranscriptItem4
- type LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff
- type LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate
- type LivekitPublicapiObservabilityV1TranscriptItemMessage
- type LivekitPublicapiObservabilityV1TranscriptItemToolCall
- type LivekitPublicapiObservabilityV1TranscriptItemToolResult
- type LivekitPublicapiProjectsV1AccessKey
- type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
- type LivekitPublicapiProjectsV1AnswerInvitationResponse
- type LivekitPublicapiProjectsV1CreateProjectMember
- type LivekitPublicapiProjectsV1CreateProjectRequest
- type LivekitPublicapiProjectsV1CreateProjectResponse
- type LivekitPublicapiProjectsV1CreateTokenResponse
- type LivekitPublicapiProjectsV1CreateWebhookResponse
- type LivekitPublicapiProjectsV1DeleteInviteResponse
- type LivekitPublicapiProjectsV1DeleteKeyResponse
- type LivekitPublicapiProjectsV1DeleteProjectResponse
- type LivekitPublicapiProjectsV1DeleteWebhookResponse
- type LivekitPublicapiProjectsV1GenerateKeyResponse
- type LivekitPublicapiProjectsV1GetInviteResponse
- type LivekitPublicapiProjectsV1GetMemberResponse
- type LivekitPublicapiProjectsV1GetProjectResponse
- type LivekitPublicapiProjectsV1InviteMemberResponse
- type LivekitPublicapiProjectsV1ListInvitesResponse
- type LivekitPublicapiProjectsV1ListKeysResponse
- type LivekitPublicapiProjectsV1ListMembersResponse
- type LivekitPublicapiProjectsV1ListProjectsResponse
- type LivekitPublicapiProjectsV1ListWebhookEventsResponse
- type LivekitPublicapiProjectsV1ListWebhooksResponse
- type LivekitPublicapiProjectsV1PinnedRegions
- type LivekitPublicapiProjectsV1Project
- type LivekitPublicapiProjectsV1ProjectInvite
- type LivekitPublicapiProjectsV1ProjectMember
- type LivekitPublicapiProjectsV1ProjectPreferences
- type LivekitPublicapiProjectsV1RemoveMemberResponse
- type LivekitPublicapiProjectsV1SendTestWebhookResponse
- type LivekitPublicapiProjectsV1TokenGrants
- type LivekitPublicapiProjectsV1TokenGrantsAgent
- type LivekitPublicapiProjectsV1TokenGrantsAgentDatabase
- type LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint
- type LivekitPublicapiProjectsV1TokenGrantsAgentThread
- type LivekitPublicapiProjectsV1TokenGrantsInference
- type LivekitPublicapiProjectsV1TokenGrantsObservability
- type LivekitPublicapiProjectsV1TokenGrantsSip
- type LivekitPublicapiProjectsV1TokenGrantsVideo
- type LivekitPublicapiProjectsV1UpdateInviteResponse
- type LivekitPublicapiProjectsV1UpdateMemberResponse
- type LivekitPublicapiProjectsV1UpdateProjectResponse
- type LivekitPublicapiProjectsV1UpdateWebhookResponse
- type LivekitPublicapiProjectsV1Webhook
- type LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse
- type LivekitPublicapiSimulationsV1SimulationRunsCancelResponse
- type LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse
- type LivekitPublicapiSimulationsV1SimulationRunsCountsResponse
- type LivekitPublicapiSimulationsV1SimulationRunsCreateResponse
- type LivekitPublicapiSimulationsV1SimulationRunsGetResponse
- type LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse
- type LivekitPublicapiSimulationsV1SimulationRunsListResponse
- type LivekitPublicapiTelephonyV1DispatchRulesCreateResponse
- type LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse
- type LivekitPublicapiTelephonyV1DispatchRulesGetResponse
- type LivekitPublicapiTelephonyV1DispatchRulesListResponse
- type LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse
- type LivekitPublicapiTelephonyV1InboundTrunksCreateResponse
- type LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse
- type LivekitPublicapiTelephonyV1InboundTrunksGetResponse
- type LivekitPublicapiTelephonyV1InboundTrunksListResponse
- type LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse
- type LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse
- type LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse
- type LivekitPublicapiTelephonyV1OutboundTrunksGetResponse
- type LivekitPublicapiTelephonyV1OutboundTrunksListResponse
- type LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse
- type LivekitPublicapiTelephonyV1PhoneNumbersGetResponse
- type LivekitPublicapiTelephonyV1PhoneNumbersListResponse
- type LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse
- type LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse
- type LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse
- type LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse
- type LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse
- type LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse
- type LivekitPublicapiUsersV1GetCurrentUserResponse
- type LivekitPublicapiUsersV1GetUserResponse
- type LivekitPublicapiUsersV1ListUsersResponse
- type LivekitPublicapiUsersV1SessionTokenRevokeResponse
- type LivekitPublicapiUsersV1User
- type LivekitPublicapiWorkspacesV1AnswerInviteResponse
- type LivekitPublicapiWorkspacesV1CreateInviteResponse
- type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest
- type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
- type LivekitPublicapiWorkspacesV1DeleteInviteResponse
- type LivekitPublicapiWorkspacesV1DeleteMemberResponse
- type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
- type LivekitPublicapiWorkspacesV1GetInviteResponse
- type LivekitPublicapiWorkspacesV1GetMemberResponse
- type LivekitPublicapiWorkspacesV1GetWorkspaceResponse
- type LivekitPublicapiWorkspacesV1ListInvitesResponse
- type LivekitPublicapiWorkspacesV1ListMembersResponse
- type LivekitPublicapiWorkspacesV1ListWorkspacesResponse
- type LivekitPublicapiWorkspacesV1UpdateMemberResponse
- type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
- type LivekitPublicapiWorkspacesV1Workspace
- type LivekitPublicapiWorkspacesV1WorkspaceInvite
- type LivekitPublicapiWorkspacesV1WorkspaceMcpPolicy
- type LivekitPublicapiWorkspacesV1WorkspaceMember
- type LivekitPublicapiWorkspacesV1WorkspacePreferences
- type LivekitRoomAgentDispatch
- type LivekitRoomCompositeEgressRequest
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0() (LivekitRoomCompositeEgressRequest0, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1() (LivekitRoomCompositeEgressRequest1, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2() (LivekitRoomCompositeEgressRequest2, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3() (LivekitRoomCompositeEgressRequest3, error)
- func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4() (LivekitRoomCompositeEgressRequest4, error)
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
- func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
- func (t LivekitRoomCompositeEgressRequest) MarshalJSON() ([]byte, error)
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
- func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
- func (t *LivekitRoomCompositeEgressRequest) UnmarshalJSON(b []byte) error
- type LivekitRoomCompositeEgressRequest0
- type LivekitRoomCompositeEgressRequest1
- type LivekitRoomCompositeEgressRequest2
- type LivekitRoomCompositeEgressRequest3
- type LivekitRoomCompositeEgressRequest4
- type LivekitRoomConfiguration
- type LivekitRoomEgress
- type LivekitS3Upload
- type LivekitSIPCodec
- type LivekitSIPDialtone
- type LivekitSIPDispatchRule
- func (t LivekitSIPDispatchRule) AsLivekitSIPDispatchRule0() (LivekitSIPDispatchRule0, error)
- func (t LivekitSIPDispatchRule) AsLivekitSIPDispatchRule1() (LivekitSIPDispatchRule1, error)
- func (t LivekitSIPDispatchRule) AsLivekitSIPDispatchRule2() (LivekitSIPDispatchRule2, error)
- func (t *LivekitSIPDispatchRule) FromLivekitSIPDispatchRule0(v LivekitSIPDispatchRule0) error
- func (t *LivekitSIPDispatchRule) FromLivekitSIPDispatchRule1(v LivekitSIPDispatchRule1) error
- func (t *LivekitSIPDispatchRule) FromLivekitSIPDispatchRule2(v LivekitSIPDispatchRule2) error
- func (t LivekitSIPDispatchRule) MarshalJSON() ([]byte, error)
- func (t *LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule0(v LivekitSIPDispatchRule0) error
- func (t *LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule1(v LivekitSIPDispatchRule1) error
- func (t *LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule2(v LivekitSIPDispatchRule2) error
- func (t *LivekitSIPDispatchRule) UnmarshalJSON(b []byte) error
- type LivekitSIPDispatchRule0
- type LivekitSIPDispatchRule1
- type LivekitSIPDispatchRule2
- type LivekitSIPDispatchRuleCallee
- type LivekitSIPDispatchRuleDirect
- type LivekitSIPDispatchRuleIndividual
- type LivekitSIPDispatchRuleInfo
- type LivekitSIPDispatchRuleUpdate
- type LivekitSIPHeaderOptions
- type LivekitSIPInboundTrunkInfo
- type LivekitSIPInboundTrunkUpdate
- type LivekitSIPMediaConfig
- type LivekitSIPMediaEncryption
- type LivekitSIPNamedDest
- func (t LivekitSIPNamedDest) AsLivekitSIPNamedDest0() (LivekitSIPNamedDest0, error)
- func (t LivekitSIPNamedDest) AsLivekitSIPNamedDest1() (LivekitSIPNamedDest1, error)
- func (t *LivekitSIPNamedDest) FromLivekitSIPNamedDest0(v LivekitSIPNamedDest0) error
- func (t *LivekitSIPNamedDest) FromLivekitSIPNamedDest1(v LivekitSIPNamedDest1) error
- func (t LivekitSIPNamedDest) MarshalJSON() ([]byte, error)
- func (t *LivekitSIPNamedDest) MergeLivekitSIPNamedDest0(v LivekitSIPNamedDest0) error
- func (t *LivekitSIPNamedDest) MergeLivekitSIPNamedDest1(v LivekitSIPNamedDest1) error
- func (t *LivekitSIPNamedDest) UnmarshalJSON(b []byte) error
- type LivekitSIPNamedDest0
- type LivekitSIPNamedDest1
- type LivekitSIPOutboundConfig
- type LivekitSIPOutboundTrunkInfo
- type LivekitSIPOutboundTrunkUpdate
- type LivekitSIPParticipantInfo
- type LivekitSIPRequestDest
- func (t LivekitSIPRequestDest) AsLivekitSIPRequestDest0() (LivekitSIPRequestDest0, error)
- func (t LivekitSIPRequestDest) AsLivekitSIPRequestDest1() (LivekitSIPRequestDest1, error)
- func (t *LivekitSIPRequestDest) FromLivekitSIPRequestDest0(v LivekitSIPRequestDest0) error
- func (t *LivekitSIPRequestDest) FromLivekitSIPRequestDest1(v LivekitSIPRequestDest1) error
- func (t LivekitSIPRequestDest) MarshalJSON() ([]byte, error)
- func (t *LivekitSIPRequestDest) MergeLivekitSIPRequestDest0(v LivekitSIPRequestDest0) error
- func (t *LivekitSIPRequestDest) MergeLivekitSIPRequestDest1(v LivekitSIPRequestDest1) error
- func (t *LivekitSIPRequestDest) UnmarshalJSON(b []byte) error
- type LivekitSIPRequestDest0
- type LivekitSIPRequestDest1
- type LivekitSIPStatus
- type LivekitSIPStatusCode
- type LivekitSIPTransferReason
- type LivekitSIPTransferStatus
- type LivekitSIPTransport
- type LivekitSIPUri
- type LivekitScenario
- type LivekitScenarioGroup
- type LivekitSegmentedFileOutput
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0() (LivekitSegmentedFileOutput0, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1() (LivekitSegmentedFileOutput1, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2() (LivekitSegmentedFileOutput2, error)
- func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3() (LivekitSegmentedFileOutput3, error)
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
- func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
- func (t LivekitSegmentedFileOutput) MarshalJSON() ([]byte, error)
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
- func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
- func (t *LivekitSegmentedFileOutput) UnmarshalJSON(b []byte) error
- type LivekitSegmentedFileOutput0
- type LivekitSegmentedFileOutput1
- type LivekitSegmentedFileOutput2
- type LivekitSegmentedFileOutput3
- type LivekitSegmentedFileProtocol
- type LivekitSegmentedFileSuffix
- type LivekitSimulationImpairments
- type LivekitSimulationMode
- type LivekitSimulationRun
- type LivekitSimulationRunCI
- type LivekitSimulationRunCountsBucket
- type LivekitSimulationRunJob
- type LivekitSimulationRunJobFailureReason
- type LivekitSimulationRunJobMetrics
- type LivekitSimulationRunJobMetricsConversation
- type LivekitSimulationRunJobMetricsEndReason
- type LivekitSimulationRunJobMetricsLLM
- type LivekitSimulationRunJobMetricsSTT
- type LivekitSimulationRunJobMetricsTTS
- type LivekitSimulationRunJobMetricsTurn
- type LivekitSimulationRunJobMetricsTurnEntity
- type LivekitSimulationRunJobStatus
- type LivekitSimulationRunJobUsage
- type LivekitSimulationRunRunMetrics
- type LivekitSimulationRunSamplingOptions
- type LivekitSimulationRunStatus
- type LivekitSimulationRunSummary
- type LivekitSimulationRunSummaryIssue
- type LivekitSimulationRunUsage
- type LivekitStartEgressRequest
- func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest0() (LivekitStartEgressRequest0, error)
- func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest1() (LivekitStartEgressRequest1, error)
- func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest2() (LivekitStartEgressRequest2, error)
- func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest3() (LivekitStartEgressRequest3, error)
- func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest4() (LivekitStartEgressRequest4, error)
- func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest0(v LivekitStartEgressRequest0) error
- func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest1(v LivekitStartEgressRequest1) error
- func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest2(v LivekitStartEgressRequest2) error
- func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest3(v LivekitStartEgressRequest3) error
- func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest4(v LivekitStartEgressRequest4) error
- func (t LivekitStartEgressRequest) MarshalJSON() ([]byte, error)
- func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest0(v LivekitStartEgressRequest0) error
- func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest1(v LivekitStartEgressRequest1) error
- func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest2(v LivekitStartEgressRequest2) error
- func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest3(v LivekitStartEgressRequest3) error
- func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest4(v LivekitStartEgressRequest4) error
- func (t *LivekitStartEgressRequest) UnmarshalJSON(b []byte) error
- type LivekitStartEgressRequest0
- type LivekitStartEgressRequest1
- type LivekitStartEgressRequest2
- type LivekitStartEgressRequest3
- type LivekitStartEgressRequest4
- type LivekitStorageConfig
- func (t LivekitStorageConfig) AsLivekitStorageConfig0() (LivekitStorageConfig0, error)
- func (t LivekitStorageConfig) AsLivekitStorageConfig1() (LivekitStorageConfig1, error)
- func (t LivekitStorageConfig) AsLivekitStorageConfig2() (LivekitStorageConfig2, error)
- func (t LivekitStorageConfig) AsLivekitStorageConfig3() (LivekitStorageConfig3, error)
- func (t *LivekitStorageConfig) FromLivekitStorageConfig0(v LivekitStorageConfig0) error
- func (t *LivekitStorageConfig) FromLivekitStorageConfig1(v LivekitStorageConfig1) error
- func (t *LivekitStorageConfig) FromLivekitStorageConfig2(v LivekitStorageConfig2) error
- func (t *LivekitStorageConfig) FromLivekitStorageConfig3(v LivekitStorageConfig3) error
- func (t LivekitStorageConfig) MarshalJSON() ([]byte, error)
- func (t *LivekitStorageConfig) MergeLivekitStorageConfig0(v LivekitStorageConfig0) error
- func (t *LivekitStorageConfig) MergeLivekitStorageConfig1(v LivekitStorageConfig1) error
- func (t *LivekitStorageConfig) MergeLivekitStorageConfig2(v LivekitStorageConfig2) error
- func (t *LivekitStorageConfig) MergeLivekitStorageConfig3(v LivekitStorageConfig3) error
- func (t *LivekitStorageConfig) UnmarshalJSON(b []byte) error
- type LivekitStorageConfig0
- type LivekitStorageConfig1
- type LivekitStorageConfig2
- type LivekitStorageConfig3
- type LivekitStreamDestination
- type LivekitStreamOutput
- type LivekitStreamProtocol
- type LivekitTemplateSource
- type LivekitTrackEgressConfig
- func (t LivekitTrackEgressConfig) AsLivekitTrackEgressConfig0() (LivekitTrackEgressConfig0, error)
- func (t LivekitTrackEgressConfig) AsLivekitTrackEgressConfig1() (LivekitTrackEgressConfig1, error)
- func (t *LivekitTrackEgressConfig) FromLivekitTrackEgressConfig0(v LivekitTrackEgressConfig0) error
- func (t *LivekitTrackEgressConfig) FromLivekitTrackEgressConfig1(v LivekitTrackEgressConfig1) error
- func (t LivekitTrackEgressConfig) MarshalJSON() ([]byte, error)
- func (t *LivekitTrackEgressConfig) MergeLivekitTrackEgressConfig0(v LivekitTrackEgressConfig0) error
- func (t *LivekitTrackEgressConfig) MergeLivekitTrackEgressConfig1(v LivekitTrackEgressConfig1) error
- func (t *LivekitTrackEgressConfig) UnmarshalJSON(b []byte) error
- type LivekitTrackEgressConfig0
- type LivekitTrackEgressConfig1
- type LivekitTransferSIPParticipantRequest
- type LivekitTransferSIPParticipantResponse
- type LivekitVideoCodec
- type LivekitVideoConfig
- type LivekitVideoSelector
- func (t LivekitVideoSelector) AsLivekitVideoSelector0() (LivekitVideoSelector0, error)
- func (t LivekitVideoSelector) AsLivekitVideoSelector1() (LivekitVideoSelector1, error)
- func (t *LivekitVideoSelector) FromLivekitVideoSelector0(v LivekitVideoSelector0) error
- func (t *LivekitVideoSelector) FromLivekitVideoSelector1(v LivekitVideoSelector1) error
- func (t LivekitVideoSelector) MarshalJSON() ([]byte, error)
- func (t *LivekitVideoSelector) MergeLivekitVideoSelector0(v LivekitVideoSelector0) error
- func (t *LivekitVideoSelector) MergeLivekitVideoSelector1(v LivekitVideoSelector1) error
- func (t *LivekitVideoSelector) UnmarshalJSON(b []byte) error
- type LivekitVideoSelector0
- type LivekitVideoSelector1
- type LivekitWebSource
- type LivekitWebhookConfig
- type ObservabilityServiceGetSessionEvalsResponse
- func (r ObservabilityServiceGetSessionEvalsResponse) ContentType() string
- func (r ObservabilityServiceGetSessionEvalsResponse) GetBody() []byte
- func (r ObservabilityServiceGetSessionEvalsResponse) GetJSON200() *LivekitPublicapiObservabilityV1SessionEvalsGetResponse
- func (r ObservabilityServiceGetSessionEvalsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceGetSessionEvalsResponse) Status() string
- func (r ObservabilityServiceGetSessionEvalsResponse) StatusCode() int
- type ObservabilityServiceGetSessionLogsParams
- type ObservabilityServiceGetSessionLogsResponse
- func (r ObservabilityServiceGetSessionLogsResponse) ContentType() string
- func (r ObservabilityServiceGetSessionLogsResponse) GetBody() []byte
- func (r ObservabilityServiceGetSessionLogsResponse) GetJSON200() *LivekitPublicapiObservabilityV1LogsGetResponse
- func (r ObservabilityServiceGetSessionLogsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceGetSessionLogsResponse) Status() string
- func (r ObservabilityServiceGetSessionLogsResponse) StatusCode() int
- type ObservabilityServiceGetSessionMetricsParams
- type ObservabilityServiceGetSessionMetricsResponse
- func (r ObservabilityServiceGetSessionMetricsResponse) ContentType() string
- func (r ObservabilityServiceGetSessionMetricsResponse) GetBody() []byte
- func (r ObservabilityServiceGetSessionMetricsResponse) GetJSON200() *LivekitPublicapiObservabilityV1MetricsGetResponse
- func (r ObservabilityServiceGetSessionMetricsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceGetSessionMetricsResponse) Status() string
- func (r ObservabilityServiceGetSessionMetricsResponse) StatusCode() int
- type ObservabilityServiceGetSessionRecordingURLParams
- type ObservabilityServiceGetSessionRecordingURLResponse
- func (r ObservabilityServiceGetSessionRecordingURLResponse) ContentType() string
- func (r ObservabilityServiceGetSessionRecordingURLResponse) GetBody() []byte
- func (r ObservabilityServiceGetSessionRecordingURLResponse) GetJSON200() *LivekitPublicapiObservabilityV1RecordingGetURLResponse
- func (r ObservabilityServiceGetSessionRecordingURLResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceGetSessionRecordingURLResponse) Status() string
- func (r ObservabilityServiceGetSessionRecordingURLResponse) StatusCode() int
- type ObservabilityServiceGetSessionTracesParams
- type ObservabilityServiceGetSessionTracesResponse
- func (r ObservabilityServiceGetSessionTracesResponse) ContentType() string
- func (r ObservabilityServiceGetSessionTracesResponse) GetBody() []byte
- func (r ObservabilityServiceGetSessionTracesResponse) GetJSON200() *LivekitPublicapiObservabilityV1TracesGetResponse
- func (r ObservabilityServiceGetSessionTracesResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceGetSessionTracesResponse) Status() string
- func (r ObservabilityServiceGetSessionTracesResponse) StatusCode() int
- type ObservabilityServiceGetSessionTranscriptParams
- type ObservabilityServiceGetSessionTranscriptResponse
- func (r ObservabilityServiceGetSessionTranscriptResponse) ContentType() string
- func (r ObservabilityServiceGetSessionTranscriptResponse) GetBody() []byte
- func (r ObservabilityServiceGetSessionTranscriptResponse) GetJSON200() *LivekitPublicapiObservabilityV1TranscriptGetResponse
- func (r ObservabilityServiceGetSessionTranscriptResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceGetSessionTranscriptResponse) Status() string
- func (r ObservabilityServiceGetSessionTranscriptResponse) StatusCode() int
- type ObservabilityServiceListEvalSessionsParams
- type ObservabilityServiceListEvalSessionsResponse
- func (r ObservabilityServiceListEvalSessionsResponse) ContentType() string
- func (r ObservabilityServiceListEvalSessionsResponse) GetBody() []byte
- func (r ObservabilityServiceListEvalSessionsResponse) GetJSON200() *LivekitPublicapiObservabilityV1EvalSessionsListResponse
- func (r ObservabilityServiceListEvalSessionsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceListEvalSessionsResponse) Status() string
- func (r ObservabilityServiceListEvalSessionsResponse) StatusCode() int
- type ObservabilityServiceListLogPatternsParams
- type ObservabilityServiceListLogPatternsResponse
- func (r ObservabilityServiceListLogPatternsResponse) ContentType() string
- func (r ObservabilityServiceListLogPatternsResponse) GetBody() []byte
- func (r ObservabilityServiceListLogPatternsResponse) GetJSON200() *LivekitPublicapiObservabilityV1LogPatternsListResponse
- func (r ObservabilityServiceListLogPatternsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceListLogPatternsResponse) Status() string
- func (r ObservabilityServiceListLogPatternsResponse) StatusCode() int
- type ObservabilityServiceListProjectLogsParams
- type ObservabilityServiceListProjectLogsResponse
- func (r ObservabilityServiceListProjectLogsResponse) ContentType() string
- func (r ObservabilityServiceListProjectLogsResponse) GetBody() []byte
- func (r ObservabilityServiceListProjectLogsResponse) GetJSON200() *LivekitPublicapiObservabilityV1ProjectLogsListResponse
- func (r ObservabilityServiceListProjectLogsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ObservabilityServiceListProjectLogsResponse) Status() string
- func (r ObservabilityServiceListProjectLogsResponse) StatusCode() int
- type ProjectServiceAddWorkspaceMembersToProjectJSONBody
- type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody
- type ProjectServiceAddWorkspaceMembersToProjectResponse
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType() string
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody() []byte
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) Status() string
- func (r ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode() int
- type ProjectServiceAnswerInvitationJSONBody
- type ProjectServiceAnswerInvitationJSONRequestBody
- type ProjectServiceAnswerInvitationResponse
- func (r ProjectServiceAnswerInvitationResponse) ContentType() string
- func (r ProjectServiceAnswerInvitationResponse) GetBody() []byte
- func (r ProjectServiceAnswerInvitationResponse) GetJSON200() *LivekitPublicapiProjectsV1AnswerInvitationResponse
- func (r ProjectServiceAnswerInvitationResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceAnswerInvitationResponse) Status() string
- func (r ProjectServiceAnswerInvitationResponse) StatusCode() int
- type ProjectServiceCreateProjectJSONRequestBody
- type ProjectServiceCreateProjectResponse
- func (r ProjectServiceCreateProjectResponse) ContentType() string
- func (r ProjectServiceCreateProjectResponse) GetBody() []byte
- func (r ProjectServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
- func (r ProjectServiceCreateProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceCreateProjectResponse) Status() string
- func (r ProjectServiceCreateProjectResponse) StatusCode() int
- type ProjectServiceCreateTokenJSONBody
- type ProjectServiceCreateTokenJSONRequestBody
- type ProjectServiceCreateTokenResponse
- func (r ProjectServiceCreateTokenResponse) ContentType() string
- func (r ProjectServiceCreateTokenResponse) GetBody() []byte
- func (r ProjectServiceCreateTokenResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateTokenResponse
- func (r ProjectServiceCreateTokenResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceCreateTokenResponse) Status() string
- func (r ProjectServiceCreateTokenResponse) StatusCode() int
- type ProjectServiceCreateWebhookJSONBody
- type ProjectServiceCreateWebhookJSONRequestBody
- type ProjectServiceCreateWebhookResponse
- func (r ProjectServiceCreateWebhookResponse) ContentType() string
- func (r ProjectServiceCreateWebhookResponse) GetBody() []byte
- func (r ProjectServiceCreateWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateWebhookResponse
- func (r ProjectServiceCreateWebhookResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceCreateWebhookResponse) Status() string
- func (r ProjectServiceCreateWebhookResponse) StatusCode() int
- type ProjectServiceDeleteInviteResponse
- func (r ProjectServiceDeleteInviteResponse) ContentType() string
- func (r ProjectServiceDeleteInviteResponse) GetBody() []byte
- func (r ProjectServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteInviteResponse
- func (r ProjectServiceDeleteInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceDeleteInviteResponse) Status() string
- func (r ProjectServiceDeleteInviteResponse) StatusCode() int
- type ProjectServiceDeleteKeyResponse
- func (r ProjectServiceDeleteKeyResponse) ContentType() string
- func (r ProjectServiceDeleteKeyResponse) GetBody() []byte
- func (r ProjectServiceDeleteKeyResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteKeyResponse
- func (r ProjectServiceDeleteKeyResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceDeleteKeyResponse) Status() string
- func (r ProjectServiceDeleteKeyResponse) StatusCode() int
- type ProjectServiceDeleteProjectResponse
- func (r ProjectServiceDeleteProjectResponse) ContentType() string
- func (r ProjectServiceDeleteProjectResponse) GetBody() []byte
- func (r ProjectServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
- func (r ProjectServiceDeleteProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceDeleteProjectResponse) Status() string
- func (r ProjectServiceDeleteProjectResponse) StatusCode() int
- type ProjectServiceDeleteWebhookResponse
- func (r ProjectServiceDeleteWebhookResponse) ContentType() string
- func (r ProjectServiceDeleteWebhookResponse) GetBody() []byte
- func (r ProjectServiceDeleteWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteWebhookResponse
- func (r ProjectServiceDeleteWebhookResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceDeleteWebhookResponse) Status() string
- func (r ProjectServiceDeleteWebhookResponse) StatusCode() int
- type ProjectServiceGenerateKeyJSONBody
- type ProjectServiceGenerateKeyJSONRequestBody
- type ProjectServiceGenerateKeyResponse
- func (r ProjectServiceGenerateKeyResponse) ContentType() string
- func (r ProjectServiceGenerateKeyResponse) GetBody() []byte
- func (r ProjectServiceGenerateKeyResponse) GetJSON200() *LivekitPublicapiProjectsV1GenerateKeyResponse
- func (r ProjectServiceGenerateKeyResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceGenerateKeyResponse) Status() string
- func (r ProjectServiceGenerateKeyResponse) StatusCode() int
- type ProjectServiceGetInviteResponse
- func (r ProjectServiceGetInviteResponse) ContentType() string
- func (r ProjectServiceGetInviteResponse) GetBody() []byte
- func (r ProjectServiceGetInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1GetInviteResponse
- func (r ProjectServiceGetInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceGetInviteResponse) Status() string
- func (r ProjectServiceGetInviteResponse) StatusCode() int
- type ProjectServiceGetMemberResponse
- func (r ProjectServiceGetMemberResponse) ContentType() string
- func (r ProjectServiceGetMemberResponse) GetBody() []byte
- func (r ProjectServiceGetMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1GetMemberResponse
- func (r ProjectServiceGetMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceGetMemberResponse) Status() string
- func (r ProjectServiceGetMemberResponse) StatusCode() int
- type ProjectServiceGetProjectResponse
- func (r ProjectServiceGetProjectResponse) ContentType() string
- func (r ProjectServiceGetProjectResponse) GetBody() []byte
- func (r ProjectServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
- func (r ProjectServiceGetProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceGetProjectResponse) Status() string
- func (r ProjectServiceGetProjectResponse) StatusCode() int
- type ProjectServiceInviteMemberJSONBody
- type ProjectServiceInviteMemberJSONRequestBody
- type ProjectServiceInviteMemberResponse
- func (r ProjectServiceInviteMemberResponse) ContentType() string
- func (r ProjectServiceInviteMemberResponse) GetBody() []byte
- func (r ProjectServiceInviteMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1InviteMemberResponse
- func (r ProjectServiceInviteMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceInviteMemberResponse) Status() string
- func (r ProjectServiceInviteMemberResponse) StatusCode() int
- type ProjectServiceListInvitesParams
- type ProjectServiceListInvitesResponse
- func (r ProjectServiceListInvitesResponse) ContentType() string
- func (r ProjectServiceListInvitesResponse) GetBody() []byte
- func (r ProjectServiceListInvitesResponse) GetJSON200() *LivekitPublicapiProjectsV1ListInvitesResponse
- func (r ProjectServiceListInvitesResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceListInvitesResponse) Status() string
- func (r ProjectServiceListInvitesResponse) StatusCode() int
- type ProjectServiceListKeysParams
- type ProjectServiceListKeysResponse
- func (r ProjectServiceListKeysResponse) ContentType() string
- func (r ProjectServiceListKeysResponse) GetBody() []byte
- func (r ProjectServiceListKeysResponse) GetJSON200() *LivekitPublicapiProjectsV1ListKeysResponse
- func (r ProjectServiceListKeysResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceListKeysResponse) Status() string
- func (r ProjectServiceListKeysResponse) StatusCode() int
- type ProjectServiceListMembersParams
- type ProjectServiceListMembersResponse
- func (r ProjectServiceListMembersResponse) ContentType() string
- func (r ProjectServiceListMembersResponse) GetBody() []byte
- func (r ProjectServiceListMembersResponse) GetJSON200() *LivekitPublicapiProjectsV1ListMembersResponse
- func (r ProjectServiceListMembersResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceListMembersResponse) Status() string
- func (r ProjectServiceListMembersResponse) StatusCode() int
- type ProjectServiceListProjectsParams
- type ProjectServiceListProjectsResponse
- func (r ProjectServiceListProjectsResponse) ContentType() string
- func (r ProjectServiceListProjectsResponse) GetBody() []byte
- func (r ProjectServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
- func (r ProjectServiceListProjectsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceListProjectsResponse) Status() string
- func (r ProjectServiceListProjectsResponse) StatusCode() int
- type ProjectServiceListWebhookEventsParams
- type ProjectServiceListWebhookEventsResponse
- func (r ProjectServiceListWebhookEventsResponse) ContentType() string
- func (r ProjectServiceListWebhookEventsResponse) GetBody() []byte
- func (r ProjectServiceListWebhookEventsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListWebhookEventsResponse
- func (r ProjectServiceListWebhookEventsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceListWebhookEventsResponse) Status() string
- func (r ProjectServiceListWebhookEventsResponse) StatusCode() int
- type ProjectServiceListWebhooksParams
- type ProjectServiceListWebhooksResponse
- func (r ProjectServiceListWebhooksResponse) ContentType() string
- func (r ProjectServiceListWebhooksResponse) GetBody() []byte
- func (r ProjectServiceListWebhooksResponse) GetJSON200() *LivekitPublicapiProjectsV1ListWebhooksResponse
- func (r ProjectServiceListWebhooksResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceListWebhooksResponse) Status() string
- func (r ProjectServiceListWebhooksResponse) StatusCode() int
- type ProjectServiceRemoveMemberParams
- type ProjectServiceRemoveMemberResponse
- func (r ProjectServiceRemoveMemberResponse) ContentType() string
- func (r ProjectServiceRemoveMemberResponse) GetBody() []byte
- func (r ProjectServiceRemoveMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1RemoveMemberResponse
- func (r ProjectServiceRemoveMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceRemoveMemberResponse) Status() string
- func (r ProjectServiceRemoveMemberResponse) StatusCode() int
- type ProjectServiceSendTestWebhookJSONBody
- type ProjectServiceSendTestWebhookJSONRequestBody
- type ProjectServiceSendTestWebhookResponse
- func (r ProjectServiceSendTestWebhookResponse) ContentType() string
- func (r ProjectServiceSendTestWebhookResponse) GetBody() []byte
- func (r ProjectServiceSendTestWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1SendTestWebhookResponse
- func (r ProjectServiceSendTestWebhookResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceSendTestWebhookResponse) Status() string
- func (r ProjectServiceSendTestWebhookResponse) StatusCode() int
- type ProjectServiceUpdateInviteJSONBody
- type ProjectServiceUpdateInviteJSONRequestBody
- type ProjectServiceUpdateInviteResponse
- func (r ProjectServiceUpdateInviteResponse) ContentType() string
- func (r ProjectServiceUpdateInviteResponse) GetBody() []byte
- func (r ProjectServiceUpdateInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateInviteResponse
- func (r ProjectServiceUpdateInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceUpdateInviteResponse) Status() string
- func (r ProjectServiceUpdateInviteResponse) StatusCode() int
- type ProjectServiceUpdateMemberJSONBody
- type ProjectServiceUpdateMemberJSONRequestBody
- type ProjectServiceUpdateMemberResponse
- func (r ProjectServiceUpdateMemberResponse) ContentType() string
- func (r ProjectServiceUpdateMemberResponse) GetBody() []byte
- func (r ProjectServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateMemberResponse
- func (r ProjectServiceUpdateMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceUpdateMemberResponse) Status() string
- func (r ProjectServiceUpdateMemberResponse) StatusCode() int
- type ProjectServiceUpdateProjectJSONBody
- type ProjectServiceUpdateProjectJSONRequestBody
- type ProjectServiceUpdateProjectResponse
- func (r ProjectServiceUpdateProjectResponse) ContentType() string
- func (r ProjectServiceUpdateProjectResponse) GetBody() []byte
- func (r ProjectServiceUpdateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateProjectResponse
- func (r ProjectServiceUpdateProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceUpdateProjectResponse) Status() string
- func (r ProjectServiceUpdateProjectResponse) StatusCode() int
- type ProjectServiceUpdateWebhookJSONBody
- type ProjectServiceUpdateWebhookJSONRequestBody
- type ProjectServiceUpdateWebhookResponse
- func (r ProjectServiceUpdateWebhookResponse) ContentType() string
- func (r ProjectServiceUpdateWebhookResponse) GetBody() []byte
- func (r ProjectServiceUpdateWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateWebhookResponse
- func (r ProjectServiceUpdateWebhookResponse) GetJSONDefault() *GoogleRpcStatus
- func (r ProjectServiceUpdateWebhookResponse) Status() string
- func (r ProjectServiceUpdateWebhookResponse) StatusCode() int
- type RequestEditorFn
- type SimulationServiceCancelSimulationRunResponse
- func (r SimulationServiceCancelSimulationRunResponse) ContentType() string
- func (r SimulationServiceCancelSimulationRunResponse) GetBody() []byte
- func (r SimulationServiceCancelSimulationRunResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsCancelResponse
- func (r SimulationServiceCancelSimulationRunResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceCancelSimulationRunResponse) Status() string
- func (r SimulationServiceCancelSimulationRunResponse) StatusCode() int
- type SimulationServiceConfirmSimulationSourceUploadJSONBody
- type SimulationServiceConfirmSimulationSourceUploadJSONRequestBody
- type SimulationServiceConfirmSimulationSourceUploadResponse
- func (r SimulationServiceConfirmSimulationSourceUploadResponse) ContentType() string
- func (r SimulationServiceConfirmSimulationSourceUploadResponse) GetBody() []byte
- func (r SimulationServiceConfirmSimulationSourceUploadResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse
- func (r SimulationServiceConfirmSimulationSourceUploadResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceConfirmSimulationSourceUploadResponse) Status() string
- func (r SimulationServiceConfirmSimulationSourceUploadResponse) StatusCode() int
- type SimulationServiceCountSimulationRunsParams
- type SimulationServiceCountSimulationRunsResponse
- func (r SimulationServiceCountSimulationRunsResponse) ContentType() string
- func (r SimulationServiceCountSimulationRunsResponse) GetBody() []byte
- func (r SimulationServiceCountSimulationRunsResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsCountsResponse
- func (r SimulationServiceCountSimulationRunsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceCountSimulationRunsResponse) Status() string
- func (r SimulationServiceCountSimulationRunsResponse) StatusCode() int
- type SimulationServiceCreateSimulationRunJSONBody
- type SimulationServiceCreateSimulationRunJSONRequestBody
- type SimulationServiceCreateSimulationRunResponse
- func (r SimulationServiceCreateSimulationRunResponse) ContentType() string
- func (r SimulationServiceCreateSimulationRunResponse) GetBody() []byte
- func (r SimulationServiceCreateSimulationRunResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsCreateResponse
- func (r SimulationServiceCreateSimulationRunResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceCreateSimulationRunResponse) Status() string
- func (r SimulationServiceCreateSimulationRunResponse) StatusCode() int
- type SimulationServiceGenerateScenarioFromSessionJSONBody
- type SimulationServiceGenerateScenarioFromSessionJSONRequestBody
- type SimulationServiceGenerateScenarioFromSessionResponse
- func (r SimulationServiceGenerateScenarioFromSessionResponse) ContentType() string
- func (r SimulationServiceGenerateScenarioFromSessionResponse) GetBody() []byte
- func (r SimulationServiceGenerateScenarioFromSessionResponse) GetJSON200() *LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse
- func (r SimulationServiceGenerateScenarioFromSessionResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceGenerateScenarioFromSessionResponse) Status() string
- func (r SimulationServiceGenerateScenarioFromSessionResponse) StatusCode() int
- type SimulationServiceGetSimulationRunResponse
- func (r SimulationServiceGetSimulationRunResponse) ContentType() string
- func (r SimulationServiceGetSimulationRunResponse) GetBody() []byte
- func (r SimulationServiceGetSimulationRunResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsGetResponse
- func (r SimulationServiceGetSimulationRunResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceGetSimulationRunResponse) Status() string
- func (r SimulationServiceGetSimulationRunResponse) StatusCode() int
- type SimulationServiceGetSimulationRunSummaryResponse
- func (r SimulationServiceGetSimulationRunSummaryResponse) ContentType() string
- func (r SimulationServiceGetSimulationRunSummaryResponse) GetBody() []byte
- func (r SimulationServiceGetSimulationRunSummaryResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse
- func (r SimulationServiceGetSimulationRunSummaryResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceGetSimulationRunSummaryResponse) Status() string
- func (r SimulationServiceGetSimulationRunSummaryResponse) StatusCode() int
- type SimulationServiceListSimulationRunsParams
- type SimulationServiceListSimulationRunsResponse
- func (r SimulationServiceListSimulationRunsResponse) ContentType() string
- func (r SimulationServiceListSimulationRunsResponse) GetBody() []byte
- func (r SimulationServiceListSimulationRunsResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsListResponse
- func (r SimulationServiceListSimulationRunsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r SimulationServiceListSimulationRunsResponse) Status() string
- func (r SimulationServiceListSimulationRunsResponse) StatusCode() int
- type TelephonyServiceCreateDispatchRuleJSONBody
- type TelephonyServiceCreateDispatchRuleJSONRequestBody
- type TelephonyServiceCreateDispatchRuleResponse
- func (r TelephonyServiceCreateDispatchRuleResponse) ContentType() string
- func (r TelephonyServiceCreateDispatchRuleResponse) GetBody() []byte
- func (r TelephonyServiceCreateDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesCreateResponse
- func (r TelephonyServiceCreateDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceCreateDispatchRuleResponse) Status() string
- func (r TelephonyServiceCreateDispatchRuleResponse) StatusCode() int
- type TelephonyServiceCreateInboundTrunkJSONBody
- type TelephonyServiceCreateInboundTrunkJSONRequestBody
- type TelephonyServiceCreateInboundTrunkResponse
- func (r TelephonyServiceCreateInboundTrunkResponse) ContentType() string
- func (r TelephonyServiceCreateInboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceCreateInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksCreateResponse
- func (r TelephonyServiceCreateInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceCreateInboundTrunkResponse) Status() string
- func (r TelephonyServiceCreateInboundTrunkResponse) StatusCode() int
- type TelephonyServiceCreateOutboundTrunkJSONBody
- type TelephonyServiceCreateOutboundTrunkJSONRequestBody
- type TelephonyServiceCreateOutboundTrunkResponse
- func (r TelephonyServiceCreateOutboundTrunkResponse) ContentType() string
- func (r TelephonyServiceCreateOutboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceCreateOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse
- func (r TelephonyServiceCreateOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceCreateOutboundTrunkResponse) Status() string
- func (r TelephonyServiceCreateOutboundTrunkResponse) StatusCode() int
- type TelephonyServiceCreateSIPParticipantJSONBody
- type TelephonyServiceCreateSIPParticipantJSONRequestBody
- type TelephonyServiceCreateSIPParticipantResponse
- func (r TelephonyServiceCreateSIPParticipantResponse) ContentType() string
- func (r TelephonyServiceCreateSIPParticipantResponse) GetBody() []byte
- func (r TelephonyServiceCreateSIPParticipantResponse) GetJSON200() *LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse
- func (r TelephonyServiceCreateSIPParticipantResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceCreateSIPParticipantResponse) Status() string
- func (r TelephonyServiceCreateSIPParticipantResponse) StatusCode() int
- type TelephonyServiceDeleteDispatchRuleResponse
- func (r TelephonyServiceDeleteDispatchRuleResponse) ContentType() string
- func (r TelephonyServiceDeleteDispatchRuleResponse) GetBody() []byte
- func (r TelephonyServiceDeleteDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse
- func (r TelephonyServiceDeleteDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceDeleteDispatchRuleResponse) Status() string
- func (r TelephonyServiceDeleteDispatchRuleResponse) StatusCode() int
- type TelephonyServiceDeleteInboundTrunkResponse
- func (r TelephonyServiceDeleteInboundTrunkResponse) ContentType() string
- func (r TelephonyServiceDeleteInboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceDeleteInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse
- func (r TelephonyServiceDeleteInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceDeleteInboundTrunkResponse) Status() string
- func (r TelephonyServiceDeleteInboundTrunkResponse) StatusCode() int
- type TelephonyServiceDeleteOutboundTrunkResponse
- func (r TelephonyServiceDeleteOutboundTrunkResponse) ContentType() string
- func (r TelephonyServiceDeleteOutboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceDeleteOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse
- func (r TelephonyServiceDeleteOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceDeleteOutboundTrunkResponse) Status() string
- func (r TelephonyServiceDeleteOutboundTrunkResponse) StatusCode() int
- type TelephonyServiceGetDispatchRuleResponse
- func (r TelephonyServiceGetDispatchRuleResponse) ContentType() string
- func (r TelephonyServiceGetDispatchRuleResponse) GetBody() []byte
- func (r TelephonyServiceGetDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesGetResponse
- func (r TelephonyServiceGetDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceGetDispatchRuleResponse) Status() string
- func (r TelephonyServiceGetDispatchRuleResponse) StatusCode() int
- type TelephonyServiceGetInboundTrunkResponse
- func (r TelephonyServiceGetInboundTrunkResponse) ContentType() string
- func (r TelephonyServiceGetInboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceGetInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksGetResponse
- func (r TelephonyServiceGetInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceGetInboundTrunkResponse) Status() string
- func (r TelephonyServiceGetInboundTrunkResponse) StatusCode() int
- type TelephonyServiceGetOutboundTrunkResponse
- func (r TelephonyServiceGetOutboundTrunkResponse) ContentType() string
- func (r TelephonyServiceGetOutboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceGetOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksGetResponse
- func (r TelephonyServiceGetOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceGetOutboundTrunkResponse) Status() string
- func (r TelephonyServiceGetOutboundTrunkResponse) StatusCode() int
- type TelephonyServiceGetPhoneNumberResponse
- func (r TelephonyServiceGetPhoneNumberResponse) ContentType() string
- func (r TelephonyServiceGetPhoneNumberResponse) GetBody() []byte
- func (r TelephonyServiceGetPhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersGetResponse
- func (r TelephonyServiceGetPhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceGetPhoneNumberResponse) Status() string
- func (r TelephonyServiceGetPhoneNumberResponse) StatusCode() int
- type TelephonyServiceListDispatchRulesParams
- type TelephonyServiceListDispatchRulesResponse
- func (r TelephonyServiceListDispatchRulesResponse) ContentType() string
- func (r TelephonyServiceListDispatchRulesResponse) GetBody() []byte
- func (r TelephonyServiceListDispatchRulesResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesListResponse
- func (r TelephonyServiceListDispatchRulesResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceListDispatchRulesResponse) Status() string
- func (r TelephonyServiceListDispatchRulesResponse) StatusCode() int
- type TelephonyServiceListInboundTrunksParams
- type TelephonyServiceListInboundTrunksResponse
- func (r TelephonyServiceListInboundTrunksResponse) ContentType() string
- func (r TelephonyServiceListInboundTrunksResponse) GetBody() []byte
- func (r TelephonyServiceListInboundTrunksResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksListResponse
- func (r TelephonyServiceListInboundTrunksResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceListInboundTrunksResponse) Status() string
- func (r TelephonyServiceListInboundTrunksResponse) StatusCode() int
- type TelephonyServiceListOutboundTrunksParams
- type TelephonyServiceListOutboundTrunksResponse
- func (r TelephonyServiceListOutboundTrunksResponse) ContentType() string
- func (r TelephonyServiceListOutboundTrunksResponse) GetBody() []byte
- func (r TelephonyServiceListOutboundTrunksResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksListResponse
- func (r TelephonyServiceListOutboundTrunksResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceListOutboundTrunksResponse) Status() string
- func (r TelephonyServiceListOutboundTrunksResponse) StatusCode() int
- type TelephonyServiceListPhoneNumbersParams
- type TelephonyServiceListPhoneNumbersResponse
- func (r TelephonyServiceListPhoneNumbersResponse) ContentType() string
- func (r TelephonyServiceListPhoneNumbersResponse) GetBody() []byte
- func (r TelephonyServiceListPhoneNumbersResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersListResponse
- func (r TelephonyServiceListPhoneNumbersResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceListPhoneNumbersResponse) Status() string
- func (r TelephonyServiceListPhoneNumbersResponse) StatusCode() int
- type TelephonyServicePurchasePhoneNumberJSONBody
- type TelephonyServicePurchasePhoneNumberJSONRequestBody
- type TelephonyServicePurchasePhoneNumberResponse
- func (r TelephonyServicePurchasePhoneNumberResponse) ContentType() string
- func (r TelephonyServicePurchasePhoneNumberResponse) GetBody() []byte
- func (r TelephonyServicePurchasePhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse
- func (r TelephonyServicePurchasePhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServicePurchasePhoneNumberResponse) Status() string
- func (r TelephonyServicePurchasePhoneNumberResponse) StatusCode() int
- type TelephonyServiceReleasePhoneNumberResponse
- func (r TelephonyServiceReleasePhoneNumberResponse) ContentType() string
- func (r TelephonyServiceReleasePhoneNumberResponse) GetBody() []byte
- func (r TelephonyServiceReleasePhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse
- func (r TelephonyServiceReleasePhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceReleasePhoneNumberResponse) Status() string
- func (r TelephonyServiceReleasePhoneNumberResponse) StatusCode() int
- type TelephonyServiceSearchPhoneNumbersParams
- type TelephonyServiceSearchPhoneNumbersResponse
- func (r TelephonyServiceSearchPhoneNumbersResponse) ContentType() string
- func (r TelephonyServiceSearchPhoneNumbersResponse) GetBody() []byte
- func (r TelephonyServiceSearchPhoneNumbersResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse
- func (r TelephonyServiceSearchPhoneNumbersResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceSearchPhoneNumbersResponse) Status() string
- func (r TelephonyServiceSearchPhoneNumbersResponse) StatusCode() int
- type TelephonyServiceTransferSIPParticipantJSONBody
- type TelephonyServiceTransferSIPParticipantJSONRequestBody
- type TelephonyServiceTransferSIPParticipantResponse
- func (r TelephonyServiceTransferSIPParticipantResponse) ContentType() string
- func (r TelephonyServiceTransferSIPParticipantResponse) GetBody() []byte
- func (r TelephonyServiceTransferSIPParticipantResponse) GetJSON200() *LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse
- func (r TelephonyServiceTransferSIPParticipantResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceTransferSIPParticipantResponse) Status() string
- func (r TelephonyServiceTransferSIPParticipantResponse) StatusCode() int
- type TelephonyServiceUpdateDispatchRuleJSONBody
- func (t TelephonyServiceUpdateDispatchRuleJSONBody) AsTelephonyServiceUpdateDispatchRuleJSONBody0() (TelephonyServiceUpdateDispatchRuleJSONBody0, error)
- func (t TelephonyServiceUpdateDispatchRuleJSONBody) AsTelephonyServiceUpdateDispatchRuleJSONBody1() (TelephonyServiceUpdateDispatchRuleJSONBody1, error)
- func (t *TelephonyServiceUpdateDispatchRuleJSONBody) FromTelephonyServiceUpdateDispatchRuleJSONBody0(v TelephonyServiceUpdateDispatchRuleJSONBody0) error
- func (t *TelephonyServiceUpdateDispatchRuleJSONBody) FromTelephonyServiceUpdateDispatchRuleJSONBody1(v TelephonyServiceUpdateDispatchRuleJSONBody1) error
- func (t TelephonyServiceUpdateDispatchRuleJSONBody) MarshalJSON() ([]byte, error)
- func (t *TelephonyServiceUpdateDispatchRuleJSONBody) MergeTelephonyServiceUpdateDispatchRuleJSONBody0(v TelephonyServiceUpdateDispatchRuleJSONBody0) error
- func (t *TelephonyServiceUpdateDispatchRuleJSONBody) MergeTelephonyServiceUpdateDispatchRuleJSONBody1(v TelephonyServiceUpdateDispatchRuleJSONBody1) error
- func (t *TelephonyServiceUpdateDispatchRuleJSONBody) UnmarshalJSON(b []byte) error
- type TelephonyServiceUpdateDispatchRuleJSONBody0
- type TelephonyServiceUpdateDispatchRuleJSONBody1
- type TelephonyServiceUpdateDispatchRuleJSONRequestBody
- type TelephonyServiceUpdateDispatchRuleResponse
- func (r TelephonyServiceUpdateDispatchRuleResponse) ContentType() string
- func (r TelephonyServiceUpdateDispatchRuleResponse) GetBody() []byte
- func (r TelephonyServiceUpdateDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse
- func (r TelephonyServiceUpdateDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceUpdateDispatchRuleResponse) Status() string
- func (r TelephonyServiceUpdateDispatchRuleResponse) StatusCode() int
- type TelephonyServiceUpdateInboundTrunkJSONBody
- func (t TelephonyServiceUpdateInboundTrunkJSONBody) AsTelephonyServiceUpdateInboundTrunkJSONBody0() (TelephonyServiceUpdateInboundTrunkJSONBody0, error)
- func (t TelephonyServiceUpdateInboundTrunkJSONBody) AsTelephonyServiceUpdateInboundTrunkJSONBody1() (TelephonyServiceUpdateInboundTrunkJSONBody1, error)
- func (t *TelephonyServiceUpdateInboundTrunkJSONBody) FromTelephonyServiceUpdateInboundTrunkJSONBody0(v TelephonyServiceUpdateInboundTrunkJSONBody0) error
- func (t *TelephonyServiceUpdateInboundTrunkJSONBody) FromTelephonyServiceUpdateInboundTrunkJSONBody1(v TelephonyServiceUpdateInboundTrunkJSONBody1) error
- func (t TelephonyServiceUpdateInboundTrunkJSONBody) MarshalJSON() ([]byte, error)
- func (t *TelephonyServiceUpdateInboundTrunkJSONBody) MergeTelephonyServiceUpdateInboundTrunkJSONBody0(v TelephonyServiceUpdateInboundTrunkJSONBody0) error
- func (t *TelephonyServiceUpdateInboundTrunkJSONBody) MergeTelephonyServiceUpdateInboundTrunkJSONBody1(v TelephonyServiceUpdateInboundTrunkJSONBody1) error
- func (t *TelephonyServiceUpdateInboundTrunkJSONBody) UnmarshalJSON(b []byte) error
- type TelephonyServiceUpdateInboundTrunkJSONBody0
- type TelephonyServiceUpdateInboundTrunkJSONBody1
- type TelephonyServiceUpdateInboundTrunkJSONRequestBody
- type TelephonyServiceUpdateInboundTrunkResponse
- func (r TelephonyServiceUpdateInboundTrunkResponse) ContentType() string
- func (r TelephonyServiceUpdateInboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceUpdateInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse
- func (r TelephonyServiceUpdateInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceUpdateInboundTrunkResponse) Status() string
- func (r TelephonyServiceUpdateInboundTrunkResponse) StatusCode() int
- type TelephonyServiceUpdateOutboundTrunkJSONBody
- func (t TelephonyServiceUpdateOutboundTrunkJSONBody) AsTelephonyServiceUpdateOutboundTrunkJSONBody0() (TelephonyServiceUpdateOutboundTrunkJSONBody0, error)
- func (t TelephonyServiceUpdateOutboundTrunkJSONBody) AsTelephonyServiceUpdateOutboundTrunkJSONBody1() (TelephonyServiceUpdateOutboundTrunkJSONBody1, error)
- func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) FromTelephonyServiceUpdateOutboundTrunkJSONBody0(v TelephonyServiceUpdateOutboundTrunkJSONBody0) error
- func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) FromTelephonyServiceUpdateOutboundTrunkJSONBody1(v TelephonyServiceUpdateOutboundTrunkJSONBody1) error
- func (t TelephonyServiceUpdateOutboundTrunkJSONBody) MarshalJSON() ([]byte, error)
- func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) MergeTelephonyServiceUpdateOutboundTrunkJSONBody0(v TelephonyServiceUpdateOutboundTrunkJSONBody0) error
- func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) MergeTelephonyServiceUpdateOutboundTrunkJSONBody1(v TelephonyServiceUpdateOutboundTrunkJSONBody1) error
- func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) UnmarshalJSON(b []byte) error
- type TelephonyServiceUpdateOutboundTrunkJSONBody0
- type TelephonyServiceUpdateOutboundTrunkJSONBody1
- type TelephonyServiceUpdateOutboundTrunkJSONRequestBody
- type TelephonyServiceUpdateOutboundTrunkResponse
- func (r TelephonyServiceUpdateOutboundTrunkResponse) ContentType() string
- func (r TelephonyServiceUpdateOutboundTrunkResponse) GetBody() []byte
- func (r TelephonyServiceUpdateOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse
- func (r TelephonyServiceUpdateOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceUpdateOutboundTrunkResponse) Status() string
- func (r TelephonyServiceUpdateOutboundTrunkResponse) StatusCode() int
- type TelephonyServiceUpdatePhoneNumberJSONBody
- type TelephonyServiceUpdatePhoneNumberJSONRequestBody
- type TelephonyServiceUpdatePhoneNumberResponse
- func (r TelephonyServiceUpdatePhoneNumberResponse) ContentType() string
- func (r TelephonyServiceUpdatePhoneNumberResponse) GetBody() []byte
- func (r TelephonyServiceUpdatePhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse
- func (r TelephonyServiceUpdatePhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r TelephonyServiceUpdatePhoneNumberResponse) Status() string
- func (r TelephonyServiceUpdatePhoneNumberResponse) StatusCode() int
- type UserServiceGetCurrentUserResponse
- func (r UserServiceGetCurrentUserResponse) ContentType() string
- func (r UserServiceGetCurrentUserResponse) GetBody() []byte
- func (r UserServiceGetCurrentUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetCurrentUserResponse
- func (r UserServiceGetCurrentUserResponse) GetJSONDefault() *GoogleRpcStatus
- func (r UserServiceGetCurrentUserResponse) Status() string
- func (r UserServiceGetCurrentUserResponse) StatusCode() int
- type UserServiceGetUserResponse
- func (r UserServiceGetUserResponse) ContentType() string
- func (r UserServiceGetUserResponse) GetBody() []byte
- func (r UserServiceGetUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetUserResponse
- func (r UserServiceGetUserResponse) GetJSONDefault() *GoogleRpcStatus
- func (r UserServiceGetUserResponse) Status() string
- func (r UserServiceGetUserResponse) StatusCode() int
- type UserServiceListUsersParams
- type UserServiceListUsersResponse
- func (r UserServiceListUsersResponse) ContentType() string
- func (r UserServiceListUsersResponse) GetBody() []byte
- func (r UserServiceListUsersResponse) GetJSON200() *LivekitPublicapiUsersV1ListUsersResponse
- func (r UserServiceListUsersResponse) GetJSONDefault() *GoogleRpcStatus
- func (r UserServiceListUsersResponse) Status() string
- func (r UserServiceListUsersResponse) StatusCode() int
- type UserServiceRevokeSessionTokenResponse
- func (r UserServiceRevokeSessionTokenResponse) ContentType() string
- func (r UserServiceRevokeSessionTokenResponse) GetBody() []byte
- func (r UserServiceRevokeSessionTokenResponse) GetJSON200() *LivekitPublicapiUsersV1SessionTokenRevokeResponse
- func (r UserServiceRevokeSessionTokenResponse) GetJSONDefault() *GoogleRpcStatus
- func (r UserServiceRevokeSessionTokenResponse) Status() string
- func (r UserServiceRevokeSessionTokenResponse) StatusCode() int
- type WorkspaceServiceAnswerInviteJSONBody
- type WorkspaceServiceAnswerInviteJSONRequestBody
- type WorkspaceServiceAnswerInviteResponse
- func (r WorkspaceServiceAnswerInviteResponse) ContentType() string
- func (r WorkspaceServiceAnswerInviteResponse) GetBody() []byte
- func (r WorkspaceServiceAnswerInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1AnswerInviteResponse
- func (r WorkspaceServiceAnswerInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceAnswerInviteResponse) Status() string
- func (r WorkspaceServiceAnswerInviteResponse) StatusCode() int
- type WorkspaceServiceCreateInviteJSONBody
- type WorkspaceServiceCreateInviteJSONRequestBody
- type WorkspaceServiceCreateInviteResponse
- func (r WorkspaceServiceCreateInviteResponse) ContentType() string
- func (r WorkspaceServiceCreateInviteResponse) GetBody() []byte
- func (r WorkspaceServiceCreateInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateInviteResponse
- func (r WorkspaceServiceCreateInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceCreateInviteResponse) Status() string
- func (r WorkspaceServiceCreateInviteResponse) StatusCode() int
- type WorkspaceServiceCreateProjectJSONBody
- type WorkspaceServiceCreateProjectJSONRequestBody
- type WorkspaceServiceCreateProjectResponse
- func (r WorkspaceServiceCreateProjectResponse) ContentType() string
- func (r WorkspaceServiceCreateProjectResponse) GetBody() []byte
- func (r WorkspaceServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
- func (r WorkspaceServiceCreateProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceCreateProjectResponse) Status() string
- func (r WorkspaceServiceCreateProjectResponse) StatusCode() int
- type WorkspaceServiceCreateWorkspaceJSONRequestBody
- type WorkspaceServiceCreateWorkspaceResponse
- func (r WorkspaceServiceCreateWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceCreateWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceCreateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
- func (r WorkspaceServiceCreateWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceCreateWorkspaceResponse) Status() string
- func (r WorkspaceServiceCreateWorkspaceResponse) StatusCode() int
- type WorkspaceServiceDeleteInviteResponse
- func (r WorkspaceServiceDeleteInviteResponse) ContentType() string
- func (r WorkspaceServiceDeleteInviteResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteInviteResponse
- func (r WorkspaceServiceDeleteInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceDeleteInviteResponse) Status() string
- func (r WorkspaceServiceDeleteInviteResponse) StatusCode() int
- type WorkspaceServiceDeleteMemberParams
- type WorkspaceServiceDeleteMemberResponse
- func (r WorkspaceServiceDeleteMemberResponse) ContentType() string
- func (r WorkspaceServiceDeleteMemberResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteMemberResponse
- func (r WorkspaceServiceDeleteMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceDeleteMemberResponse) Status() string
- func (r WorkspaceServiceDeleteMemberResponse) StatusCode() int
- type WorkspaceServiceDeleteProjectResponse
- func (r WorkspaceServiceDeleteProjectResponse) ContentType() string
- func (r WorkspaceServiceDeleteProjectResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
- func (r WorkspaceServiceDeleteProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceDeleteProjectResponse) Status() string
- func (r WorkspaceServiceDeleteProjectResponse) StatusCode() int
- type WorkspaceServiceDeleteWorkspaceResponse
- func (r WorkspaceServiceDeleteWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceDeleteWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceDeleteWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
- func (r WorkspaceServiceDeleteWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceDeleteWorkspaceResponse) Status() string
- func (r WorkspaceServiceDeleteWorkspaceResponse) StatusCode() int
- type WorkspaceServiceGetInviteResponse
- func (r WorkspaceServiceGetInviteResponse) ContentType() string
- func (r WorkspaceServiceGetInviteResponse) GetBody() []byte
- func (r WorkspaceServiceGetInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetInviteResponse
- func (r WorkspaceServiceGetInviteResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceGetInviteResponse) Status() string
- func (r WorkspaceServiceGetInviteResponse) StatusCode() int
- type WorkspaceServiceGetMemberResponse
- func (r WorkspaceServiceGetMemberResponse) ContentType() string
- func (r WorkspaceServiceGetMemberResponse) GetBody() []byte
- func (r WorkspaceServiceGetMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetMemberResponse
- func (r WorkspaceServiceGetMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceGetMemberResponse) Status() string
- func (r WorkspaceServiceGetMemberResponse) StatusCode() int
- type WorkspaceServiceGetProjectResponse
- func (r WorkspaceServiceGetProjectResponse) ContentType() string
- func (r WorkspaceServiceGetProjectResponse) GetBody() []byte
- func (r WorkspaceServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
- func (r WorkspaceServiceGetProjectResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceGetProjectResponse) Status() string
- func (r WorkspaceServiceGetProjectResponse) StatusCode() int
- type WorkspaceServiceGetWorkspaceResponse
- func (r WorkspaceServiceGetWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceGetWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceGetWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
- func (r WorkspaceServiceGetWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceGetWorkspaceResponse) Status() string
- func (r WorkspaceServiceGetWorkspaceResponse) StatusCode() int
- type WorkspaceServiceListInvitesParams
- type WorkspaceServiceListInvitesResponse
- func (r WorkspaceServiceListInvitesResponse) ContentType() string
- func (r WorkspaceServiceListInvitesResponse) GetBody() []byte
- func (r WorkspaceServiceListInvitesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListInvitesResponse
- func (r WorkspaceServiceListInvitesResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceListInvitesResponse) Status() string
- func (r WorkspaceServiceListInvitesResponse) StatusCode() int
- type WorkspaceServiceListMembersParams
- type WorkspaceServiceListMembersResponse
- func (r WorkspaceServiceListMembersResponse) ContentType() string
- func (r WorkspaceServiceListMembersResponse) GetBody() []byte
- func (r WorkspaceServiceListMembersResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListMembersResponse
- func (r WorkspaceServiceListMembersResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceListMembersResponse) Status() string
- func (r WorkspaceServiceListMembersResponse) StatusCode() int
- type WorkspaceServiceListProjectsParams
- type WorkspaceServiceListProjectsResponse
- func (r WorkspaceServiceListProjectsResponse) ContentType() string
- func (r WorkspaceServiceListProjectsResponse) GetBody() []byte
- func (r WorkspaceServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
- func (r WorkspaceServiceListProjectsResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceListProjectsResponse) Status() string
- func (r WorkspaceServiceListProjectsResponse) StatusCode() int
- type WorkspaceServiceListWorkspacesParams
- type WorkspaceServiceListWorkspacesResponse
- func (r WorkspaceServiceListWorkspacesResponse) ContentType() string
- func (r WorkspaceServiceListWorkspacesResponse) GetBody() []byte
- func (r WorkspaceServiceListWorkspacesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
- func (r WorkspaceServiceListWorkspacesResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceListWorkspacesResponse) Status() string
- func (r WorkspaceServiceListWorkspacesResponse) StatusCode() int
- type WorkspaceServiceUpdateMemberJSONBody
- type WorkspaceServiceUpdateMemberJSONRequestBody
- type WorkspaceServiceUpdateMemberResponse
- func (r WorkspaceServiceUpdateMemberResponse) ContentType() string
- func (r WorkspaceServiceUpdateMemberResponse) GetBody() []byte
- func (r WorkspaceServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateMemberResponse
- func (r WorkspaceServiceUpdateMemberResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceUpdateMemberResponse) Status() string
- func (r WorkspaceServiceUpdateMemberResponse) StatusCode() int
- type WorkspaceServiceUpdateWorkspaceJSONBody
- type WorkspaceServiceUpdateWorkspaceJSONRequestBody
- type WorkspaceServiceUpdateWorkspaceResponse
- func (r WorkspaceServiceUpdateWorkspaceResponse) ContentType() string
- func (r WorkspaceServiceUpdateWorkspaceResponse) GetBody() []byte
- func (r WorkspaceServiceUpdateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
- func (r WorkspaceServiceUpdateWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
- func (r WorkspaceServiceUpdateWorkspaceResponse) Status() string
- func (r WorkspaceServiceUpdateWorkspaceResponse) StatusCode() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentBuilderServiceCreateAgentRequest ¶ added in v2.20.2
func NewAgentBuilderServiceCreateAgentRequest(server string, projectId string, body AgentBuilderServiceCreateAgentJSONRequestBody) (*http.Request, error)
NewAgentBuilderServiceCreateAgentRequest calls the generic AgentBuilderServiceCreateAgent builder with application/json body
func NewAgentBuilderServiceCreateAgentRequestWithBody ¶ added in v2.20.2
func NewAgentBuilderServiceCreateAgentRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentBuilderServiceCreateAgentRequestWithBody constructs an http.Request for the AgentBuilderServiceCreateAgent method, with any body, and a specified content type
func NewAgentBuilderServiceDeleteAgentRequest ¶ added in v2.20.2
func NewAgentBuilderServiceDeleteAgentRequest(server string, projectId string, agentId string) (*http.Request, error)
NewAgentBuilderServiceDeleteAgentRequest constructs an http.Request for the AgentBuilderServiceDeleteAgent method
func NewAgentBuilderServiceDeployAgentRequest ¶ added in v2.20.2
func NewAgentBuilderServiceDeployAgentRequest(server string, projectId string, agentId string, body AgentBuilderServiceDeployAgentJSONRequestBody) (*http.Request, error)
NewAgentBuilderServiceDeployAgentRequest calls the generic AgentBuilderServiceDeployAgent builder with application/json body
func NewAgentBuilderServiceDeployAgentRequestWithBody ¶ added in v2.20.2
func NewAgentBuilderServiceDeployAgentRequestWithBody(server string, projectId string, agentId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentBuilderServiceDeployAgentRequestWithBody constructs an http.Request for the AgentBuilderServiceDeployAgent method, with any body, and a specified content type
func NewAgentBuilderServiceGetAgentCodeURLRequest ¶ added in v2.20.2
func NewAgentBuilderServiceGetAgentCodeURLRequest(server string, projectId string, agentId string, params *AgentBuilderServiceGetAgentCodeURLParams) (*http.Request, error)
NewAgentBuilderServiceGetAgentCodeURLRequest constructs an http.Request for the AgentBuilderServiceGetAgentCodeURL method
func NewAgentBuilderServiceGetAgentRequest ¶ added in v2.20.2
func NewAgentBuilderServiceGetAgentRequest(server string, projectId string, agentId string) (*http.Request, error)
NewAgentBuilderServiceGetAgentRequest constructs an http.Request for the AgentBuilderServiceGetAgent method
func NewAgentBuilderServiceListAgentVersionsRequest ¶ added in v2.20.2
func NewAgentBuilderServiceListAgentVersionsRequest(server string, projectId string, agentId string, params *AgentBuilderServiceListAgentVersionsParams) (*http.Request, error)
NewAgentBuilderServiceListAgentVersionsRequest constructs an http.Request for the AgentBuilderServiceListAgentVersions method
func NewAgentBuilderServiceListAgentsRequest ¶ added in v2.20.2
func NewAgentBuilderServiceListAgentsRequest(server string, projectId string, params *AgentBuilderServiceListAgentsParams) (*http.Request, error)
NewAgentBuilderServiceListAgentsRequest constructs an http.Request for the AgentBuilderServiceListAgents method
func NewAgentBuilderServiceUpdateAgentRequest ¶ added in v2.20.2
func NewAgentBuilderServiceUpdateAgentRequest(server string, projectId string, agentId string, body AgentBuilderServiceUpdateAgentJSONRequestBody) (*http.Request, error)
NewAgentBuilderServiceUpdateAgentRequest calls the generic AgentBuilderServiceUpdateAgent builder with application/json body
func NewAgentBuilderServiceUpdateAgentRequestWithBody ¶ added in v2.20.2
func NewAgentBuilderServiceUpdateAgentRequestWithBody(server string, projectId string, agentId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentBuilderServiceUpdateAgentRequestWithBody constructs an http.Request for the AgentBuilderServiceUpdateAgent method, with any body, and a specified content type
func NewAnalyticsServiceGetAgentInsightsRequest ¶ added in v2.20.2
func NewAnalyticsServiceGetAgentInsightsRequest(server string, projectId string, params *AnalyticsServiceGetAgentInsightsParams) (*http.Request, error)
NewAnalyticsServiceGetAgentInsightsRequest constructs an http.Request for the AnalyticsServiceGetAgentInsights method
func NewAnalyticsServiceGetEvalResultsRequest ¶ added in v2.20.2
func NewAnalyticsServiceGetEvalResultsRequest(server string, projectId string, params *AnalyticsServiceGetEvalResultsParams) (*http.Request, error)
NewAnalyticsServiceGetEvalResultsRequest constructs an http.Request for the AnalyticsServiceGetEvalResults method
func NewAnalyticsServiceGetSessionLabelResultsRequest ¶ added in v2.20.2
func NewAnalyticsServiceGetSessionLabelResultsRequest(server string, projectId string, params *AnalyticsServiceGetSessionLabelResultsParams) (*http.Request, error)
NewAnalyticsServiceGetSessionLabelResultsRequest constructs an http.Request for the AnalyticsServiceGetSessionLabelResults method
func NewAnalyticsServiceGetSessionRequest ¶
func NewAnalyticsServiceGetSessionRequest(server string, projectId string, sessionId string) (*http.Request, error)
NewAnalyticsServiceGetSessionRequest constructs an http.Request for the AnalyticsServiceGetSession method
func NewAnalyticsServiceListProjectSessionsRequest ¶
func NewAnalyticsServiceListProjectSessionsRequest(server string, projectId string, params *AnalyticsServiceListProjectSessionsParams) (*http.Request, error)
NewAnalyticsServiceListProjectSessionsRequest constructs an http.Request for the AnalyticsServiceListProjectSessions method
func NewAnalyticsServiceListSessionEventsRequest ¶ added in v2.19.0
func NewAnalyticsServiceListSessionEventsRequest(server string, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams) (*http.Request, error)
NewAnalyticsServiceListSessionEventsRequest constructs an http.Request for the AnalyticsServiceListSessionEvents method
func NewAnalyticsServiceListSessionParticipantsRequest ¶ added in v2.19.0
func NewAnalyticsServiceListSessionParticipantsRequest(server string, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams) (*http.Request, error)
NewAnalyticsServiceListSessionParticipantsRequest constructs an http.Request for the AnalyticsServiceListSessionParticipants method
func NewEvalServiceCreateEvalRequest ¶ added in v2.20.2
func NewEvalServiceCreateEvalRequest(server string, projectId string, body EvalServiceCreateEvalJSONRequestBody) (*http.Request, error)
NewEvalServiceCreateEvalRequest calls the generic EvalServiceCreateEval builder with application/json body
func NewEvalServiceCreateEvalRequestWithBody ¶ added in v2.20.2
func NewEvalServiceCreateEvalRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceCreateEvalRequestWithBody constructs an http.Request for the EvalServiceCreateEval method, with any body, and a specified content type
func NewEvalServiceCreateSessionLabelRequest ¶ added in v2.20.2
func NewEvalServiceCreateSessionLabelRequest(server string, projectId string, body EvalServiceCreateSessionLabelJSONRequestBody) (*http.Request, error)
NewEvalServiceCreateSessionLabelRequest calls the generic EvalServiceCreateSessionLabel builder with application/json body
func NewEvalServiceCreateSessionLabelRequestWithBody ¶ added in v2.20.2
func NewEvalServiceCreateSessionLabelRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceCreateSessionLabelRequestWithBody constructs an http.Request for the EvalServiceCreateSessionLabel method, with any body, and a specified content type
func NewEvalServiceDeleteEvalRequest ¶ added in v2.20.2
func NewEvalServiceDeleteEvalRequest(server string, projectId string, evalId string) (*http.Request, error)
NewEvalServiceDeleteEvalRequest constructs an http.Request for the EvalServiceDeleteEval method
func NewEvalServiceDeleteSessionLabelRequest ¶ added in v2.20.2
func NewEvalServiceDeleteSessionLabelRequest(server string, projectId string, labelId string) (*http.Request, error)
NewEvalServiceDeleteSessionLabelRequest constructs an http.Request for the EvalServiceDeleteSessionLabel method
func NewEvalServiceDiffEvalRevisionsRequest ¶ added in v2.20.2
func NewEvalServiceDiffEvalRevisionsRequest(server string, projectId string, evalId string, params *EvalServiceDiffEvalRevisionsParams) (*http.Request, error)
NewEvalServiceDiffEvalRevisionsRequest constructs an http.Request for the EvalServiceDiffEvalRevisions method
func NewEvalServiceDiscardEvalDraftRequest ¶ added in v2.20.2
func NewEvalServiceDiscardEvalDraftRequest(server string, projectId string, evalId string, params *EvalServiceDiscardEvalDraftParams) (*http.Request, error)
NewEvalServiceDiscardEvalDraftRequest constructs an http.Request for the EvalServiceDiscardEvalDraft method
func NewEvalServiceGetEvalDefaultsRequest ¶ added in v2.20.2
NewEvalServiceGetEvalDefaultsRequest constructs an http.Request for the EvalServiceGetEvalDefaults method
func NewEvalServiceGetEvalRequest ¶ added in v2.20.2
func NewEvalServiceGetEvalRequest(server string, projectId string, evalId string, params *EvalServiceGetEvalParams) (*http.Request, error)
NewEvalServiceGetEvalRequest constructs an http.Request for the EvalServiceGetEval method
func NewEvalServiceGetSessionLabelSettingsRequest ¶ added in v2.20.2
func NewEvalServiceGetSessionLabelSettingsRequest(server string, projectId string) (*http.Request, error)
NewEvalServiceGetSessionLabelSettingsRequest constructs an http.Request for the EvalServiceGetSessionLabelSettings method
func NewEvalServiceListEvalHistoryRequest ¶ added in v2.20.2
func NewEvalServiceListEvalHistoryRequest(server string, projectId string, evalId string, params *EvalServiceListEvalHistoryParams) (*http.Request, error)
NewEvalServiceListEvalHistoryRequest constructs an http.Request for the EvalServiceListEvalHistory method
func NewEvalServiceListEvalsRequest ¶ added in v2.20.2
func NewEvalServiceListEvalsRequest(server string, projectId string, params *EvalServiceListEvalsParams) (*http.Request, error)
NewEvalServiceListEvalsRequest constructs an http.Request for the EvalServiceListEvals method
func NewEvalServiceListSessionLabelsRequest ¶ added in v2.20.2
func NewEvalServiceListSessionLabelsRequest(server string, projectId string, params *EvalServiceListSessionLabelsParams) (*http.Request, error)
NewEvalServiceListSessionLabelsRequest constructs an http.Request for the EvalServiceListSessionLabels method
func NewEvalServicePublishEvalDraftRequest ¶ added in v2.20.2
func NewEvalServicePublishEvalDraftRequest(server string, projectId string, evalId string, body EvalServicePublishEvalDraftJSONRequestBody) (*http.Request, error)
NewEvalServicePublishEvalDraftRequest calls the generic EvalServicePublishEvalDraft builder with application/json body
func NewEvalServicePublishEvalDraftRequestWithBody ¶ added in v2.20.2
func NewEvalServicePublishEvalDraftRequestWithBody(server string, projectId string, evalId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServicePublishEvalDraftRequestWithBody constructs an http.Request for the EvalServicePublishEvalDraft method, with any body, and a specified content type
func NewEvalServiceRollbackEvalRequest ¶ added in v2.20.2
func NewEvalServiceRollbackEvalRequest(server string, projectId string, evalId string, body EvalServiceRollbackEvalJSONRequestBody) (*http.Request, error)
NewEvalServiceRollbackEvalRequest calls the generic EvalServiceRollbackEval builder with application/json body
func NewEvalServiceRollbackEvalRequestWithBody ¶ added in v2.20.2
func NewEvalServiceRollbackEvalRequestWithBody(server string, projectId string, evalId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceRollbackEvalRequestWithBody constructs an http.Request for the EvalServiceRollbackEval method, with any body, and a specified content type
func NewEvalServiceSaveEvalDraftRequest ¶ added in v2.20.2
func NewEvalServiceSaveEvalDraftRequest(server string, projectId string, evalId string, body EvalServiceSaveEvalDraftJSONRequestBody) (*http.Request, error)
NewEvalServiceSaveEvalDraftRequest calls the generic EvalServiceSaveEvalDraft builder with application/json body
func NewEvalServiceSaveEvalDraftRequestWithBody ¶ added in v2.20.2
func NewEvalServiceSaveEvalDraftRequestWithBody(server string, projectId string, evalId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceSaveEvalDraftRequestWithBody constructs an http.Request for the EvalServiceSaveEvalDraft method, with any body, and a specified content type
func NewEvalServiceUndeleteEvalRequest ¶ added in v2.20.2
func NewEvalServiceUndeleteEvalRequest(server string, projectId string, evalId string) (*http.Request, error)
NewEvalServiceUndeleteEvalRequest constructs an http.Request for the EvalServiceUndeleteEval method
func NewEvalServiceUndeleteSessionLabelRequest ¶ added in v2.20.2
func NewEvalServiceUndeleteSessionLabelRequest(server string, projectId string, labelId string) (*http.Request, error)
NewEvalServiceUndeleteSessionLabelRequest constructs an http.Request for the EvalServiceUndeleteSessionLabel method
func NewEvalServiceUpdateEvalDefaultsRequest ¶ added in v2.20.2
func NewEvalServiceUpdateEvalDefaultsRequest(server string, projectId string, body EvalServiceUpdateEvalDefaultsJSONRequestBody) (*http.Request, error)
NewEvalServiceUpdateEvalDefaultsRequest calls the generic EvalServiceUpdateEvalDefaults builder with application/json body
func NewEvalServiceUpdateEvalDefaultsRequestWithBody ¶ added in v2.20.2
func NewEvalServiceUpdateEvalDefaultsRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceUpdateEvalDefaultsRequestWithBody constructs an http.Request for the EvalServiceUpdateEvalDefaults method, with any body, and a specified content type
func NewEvalServiceUpdateEvalRequest ¶ added in v2.20.2
func NewEvalServiceUpdateEvalRequest(server string, projectId string, evalId string, body EvalServiceUpdateEvalJSONRequestBody) (*http.Request, error)
NewEvalServiceUpdateEvalRequest calls the generic EvalServiceUpdateEval builder with application/json body
func NewEvalServiceUpdateEvalRequestWithBody ¶ added in v2.20.2
func NewEvalServiceUpdateEvalRequestWithBody(server string, projectId string, evalId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceUpdateEvalRequestWithBody constructs an http.Request for the EvalServiceUpdateEval method, with any body, and a specified content type
func NewEvalServiceUpdateSessionLabelRequest ¶ added in v2.20.2
func NewEvalServiceUpdateSessionLabelRequest(server string, projectId string, labelId string, body EvalServiceUpdateSessionLabelJSONRequestBody) (*http.Request, error)
NewEvalServiceUpdateSessionLabelRequest calls the generic EvalServiceUpdateSessionLabel builder with application/json body
func NewEvalServiceUpdateSessionLabelRequestWithBody ¶ added in v2.20.2
func NewEvalServiceUpdateSessionLabelRequestWithBody(server string, projectId string, labelId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceUpdateSessionLabelRequestWithBody constructs an http.Request for the EvalServiceUpdateSessionLabel method, with any body, and a specified content type
func NewEvalServiceUpdateSessionLabelSettingsRequest ¶ added in v2.20.2
func NewEvalServiceUpdateSessionLabelSettingsRequest(server string, projectId string, body EvalServiceUpdateSessionLabelSettingsJSONRequestBody) (*http.Request, error)
NewEvalServiceUpdateSessionLabelSettingsRequest calls the generic EvalServiceUpdateSessionLabelSettings builder with application/json body
func NewEvalServiceUpdateSessionLabelSettingsRequestWithBody ¶ added in v2.20.2
func NewEvalServiceUpdateSessionLabelSettingsRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceUpdateSessionLabelSettingsRequestWithBody constructs an http.Request for the EvalServiceUpdateSessionLabelSettings method, with any body, and a specified content type
func NewEvalServiceValidateEvalRequest ¶ added in v2.20.2
func NewEvalServiceValidateEvalRequest(server string, projectId string, body EvalServiceValidateEvalJSONRequestBody) (*http.Request, error)
NewEvalServiceValidateEvalRequest calls the generic EvalServiceValidateEval builder with application/json body
func NewEvalServiceValidateEvalRequestWithBody ¶ added in v2.20.2
func NewEvalServiceValidateEvalRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewEvalServiceValidateEvalRequestWithBody constructs an http.Request for the EvalServiceValidateEval method, with any body, and a specified content type
func NewObservabilityServiceGetSessionEvalsRequest ¶ added in v2.20.2
func NewObservabilityServiceGetSessionEvalsRequest(server string, projectId string, sessionId string) (*http.Request, error)
NewObservabilityServiceGetSessionEvalsRequest constructs an http.Request for the ObservabilityServiceGetSessionEvals method
func NewObservabilityServiceGetSessionLogsRequest ¶ added in v2.19.0
func NewObservabilityServiceGetSessionLogsRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams) (*http.Request, error)
NewObservabilityServiceGetSessionLogsRequest constructs an http.Request for the ObservabilityServiceGetSessionLogs method
func NewObservabilityServiceGetSessionMetricsRequest ¶ added in v2.19.0
func NewObservabilityServiceGetSessionMetricsRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams) (*http.Request, error)
NewObservabilityServiceGetSessionMetricsRequest constructs an http.Request for the ObservabilityServiceGetSessionMetrics method
func NewObservabilityServiceGetSessionRecordingURLRequest ¶ added in v2.19.0
func NewObservabilityServiceGetSessionRecordingURLRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams) (*http.Request, error)
NewObservabilityServiceGetSessionRecordingURLRequest constructs an http.Request for the ObservabilityServiceGetSessionRecordingURL method
func NewObservabilityServiceGetSessionTracesRequest ¶ added in v2.19.0
func NewObservabilityServiceGetSessionTracesRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams) (*http.Request, error)
NewObservabilityServiceGetSessionTracesRequest constructs an http.Request for the ObservabilityServiceGetSessionTraces method
func NewObservabilityServiceGetSessionTranscriptRequest ¶ added in v2.19.0
func NewObservabilityServiceGetSessionTranscriptRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams) (*http.Request, error)
NewObservabilityServiceGetSessionTranscriptRequest constructs an http.Request for the ObservabilityServiceGetSessionTranscript method
func NewObservabilityServiceListEvalSessionsRequest ¶ added in v2.20.2
func NewObservabilityServiceListEvalSessionsRequest(server string, projectId string, params *ObservabilityServiceListEvalSessionsParams) (*http.Request, error)
NewObservabilityServiceListEvalSessionsRequest constructs an http.Request for the ObservabilityServiceListEvalSessions method
func NewObservabilityServiceListLogPatternsRequest ¶ added in v2.20.2
func NewObservabilityServiceListLogPatternsRequest(server string, projectId string, params *ObservabilityServiceListLogPatternsParams) (*http.Request, error)
NewObservabilityServiceListLogPatternsRequest constructs an http.Request for the ObservabilityServiceListLogPatterns method
func NewObservabilityServiceListProjectLogsRequest ¶ added in v2.20.2
func NewObservabilityServiceListProjectLogsRequest(server string, projectId string, params *ObservabilityServiceListProjectLogsParams) (*http.Request, error)
NewObservabilityServiceListProjectLogsRequest constructs an http.Request for the ObservabilityServiceListProjectLogs method
func NewProjectServiceAddWorkspaceMembersToProjectRequest ¶
func NewProjectServiceAddWorkspaceMembersToProjectRequest(server string, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody) (*http.Request, error)
NewProjectServiceAddWorkspaceMembersToProjectRequest calls the generic ProjectServiceAddWorkspaceMembersToProject builder with application/json body
func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody ¶
func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody constructs an http.Request for the ProjectServiceAddWorkspaceMembersToProject method, with any body, and a specified content type
func NewProjectServiceAnswerInvitationRequest ¶
func NewProjectServiceAnswerInvitationRequest(server string, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody) (*http.Request, error)
NewProjectServiceAnswerInvitationRequest calls the generic ProjectServiceAnswerInvitation builder with application/json body
func NewProjectServiceAnswerInvitationRequestWithBody ¶
func NewProjectServiceAnswerInvitationRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceAnswerInvitationRequestWithBody constructs an http.Request for the ProjectServiceAnswerInvitation method, with any body, and a specified content type
func NewProjectServiceCreateProjectRequest ¶
func NewProjectServiceCreateProjectRequest(server string, body ProjectServiceCreateProjectJSONRequestBody) (*http.Request, error)
NewProjectServiceCreateProjectRequest calls the generic ProjectServiceCreateProject builder with application/json body
func NewProjectServiceCreateProjectRequestWithBody ¶
func NewProjectServiceCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceCreateProjectRequestWithBody constructs an http.Request for the ProjectServiceCreateProject method, with any body, and a specified content type
func NewProjectServiceCreateTokenRequest ¶ added in v2.19.1
func NewProjectServiceCreateTokenRequest(server string, projectId string, body ProjectServiceCreateTokenJSONRequestBody) (*http.Request, error)
NewProjectServiceCreateTokenRequest calls the generic ProjectServiceCreateToken builder with application/json body
func NewProjectServiceCreateTokenRequestWithBody ¶ added in v2.19.1
func NewProjectServiceCreateTokenRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceCreateTokenRequestWithBody constructs an http.Request for the ProjectServiceCreateToken method, with any body, and a specified content type
func NewProjectServiceCreateWebhookRequest ¶ added in v2.19.1
func NewProjectServiceCreateWebhookRequest(server string, projectId string, body ProjectServiceCreateWebhookJSONRequestBody) (*http.Request, error)
NewProjectServiceCreateWebhookRequest calls the generic ProjectServiceCreateWebhook builder with application/json body
func NewProjectServiceCreateWebhookRequestWithBody ¶ added in v2.19.1
func NewProjectServiceCreateWebhookRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceCreateWebhookRequestWithBody constructs an http.Request for the ProjectServiceCreateWebhook method, with any body, and a specified content type
func NewProjectServiceDeleteInviteRequest ¶
func NewProjectServiceDeleteInviteRequest(server string, projectId string, email string) (*http.Request, error)
NewProjectServiceDeleteInviteRequest constructs an http.Request for the ProjectServiceDeleteInvite method
func NewProjectServiceDeleteKeyRequest ¶ added in v2.19.0
func NewProjectServiceDeleteKeyRequest(server string, projectId string, apiKey string) (*http.Request, error)
NewProjectServiceDeleteKeyRequest constructs an http.Request for the ProjectServiceDeleteKey method
func NewProjectServiceDeleteProjectRequest ¶
NewProjectServiceDeleteProjectRequest constructs an http.Request for the ProjectServiceDeleteProject method
func NewProjectServiceDeleteWebhookRequest ¶ added in v2.19.1
func NewProjectServiceDeleteWebhookRequest(server string, projectId string, webhookId string) (*http.Request, error)
NewProjectServiceDeleteWebhookRequest constructs an http.Request for the ProjectServiceDeleteWebhook method
func NewProjectServiceGenerateKeyRequest ¶ added in v2.19.0
func NewProjectServiceGenerateKeyRequest(server string, projectId string, body ProjectServiceGenerateKeyJSONRequestBody) (*http.Request, error)
NewProjectServiceGenerateKeyRequest calls the generic ProjectServiceGenerateKey builder with application/json body
func NewProjectServiceGenerateKeyRequestWithBody ¶ added in v2.19.0
func NewProjectServiceGenerateKeyRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceGenerateKeyRequestWithBody constructs an http.Request for the ProjectServiceGenerateKey method, with any body, and a specified content type
func NewProjectServiceGetInviteRequest ¶
NewProjectServiceGetInviteRequest constructs an http.Request for the ProjectServiceGetInvite method
func NewProjectServiceGetMemberRequest ¶
func NewProjectServiceGetMemberRequest(server string, projectId string, userId string) (*http.Request, error)
NewProjectServiceGetMemberRequest constructs an http.Request for the ProjectServiceGetMember method
func NewProjectServiceGetProjectRequest ¶
NewProjectServiceGetProjectRequest constructs an http.Request for the ProjectServiceGetProject method
func NewProjectServiceInviteMemberRequest ¶
func NewProjectServiceInviteMemberRequest(server string, projectId string, body ProjectServiceInviteMemberJSONRequestBody) (*http.Request, error)
NewProjectServiceInviteMemberRequest calls the generic ProjectServiceInviteMember builder with application/json body
func NewProjectServiceInviteMemberRequestWithBody ¶
func NewProjectServiceInviteMemberRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceInviteMemberRequestWithBody constructs an http.Request for the ProjectServiceInviteMember method, with any body, and a specified content type
func NewProjectServiceListInvitesRequest ¶
func NewProjectServiceListInvitesRequest(server string, projectId string, params *ProjectServiceListInvitesParams) (*http.Request, error)
NewProjectServiceListInvitesRequest constructs an http.Request for the ProjectServiceListInvites method
func NewProjectServiceListKeysRequest ¶ added in v2.19.0
func NewProjectServiceListKeysRequest(server string, projectId string, params *ProjectServiceListKeysParams) (*http.Request, error)
NewProjectServiceListKeysRequest constructs an http.Request for the ProjectServiceListKeys method
func NewProjectServiceListMembersRequest ¶
func NewProjectServiceListMembersRequest(server string, projectId string, params *ProjectServiceListMembersParams) (*http.Request, error)
NewProjectServiceListMembersRequest constructs an http.Request for the ProjectServiceListMembers method
func NewProjectServiceListProjectsRequest ¶
func NewProjectServiceListProjectsRequest(server string, params *ProjectServiceListProjectsParams) (*http.Request, error)
NewProjectServiceListProjectsRequest constructs an http.Request for the ProjectServiceListProjects method
func NewProjectServiceListWebhookEventsRequest ¶ added in v2.19.1
func NewProjectServiceListWebhookEventsRequest(server string, projectId string, params *ProjectServiceListWebhookEventsParams) (*http.Request, error)
NewProjectServiceListWebhookEventsRequest constructs an http.Request for the ProjectServiceListWebhookEvents method
func NewProjectServiceListWebhooksRequest ¶ added in v2.19.1
func NewProjectServiceListWebhooksRequest(server string, projectId string, params *ProjectServiceListWebhooksParams) (*http.Request, error)
NewProjectServiceListWebhooksRequest constructs an http.Request for the ProjectServiceListWebhooks method
func NewProjectServiceRemoveMemberRequest ¶
func NewProjectServiceRemoveMemberRequest(server string, projectId string, userId string, params *ProjectServiceRemoveMemberParams) (*http.Request, error)
NewProjectServiceRemoveMemberRequest constructs an http.Request for the ProjectServiceRemoveMember method
func NewProjectServiceSendTestWebhookRequest ¶ added in v2.19.1
func NewProjectServiceSendTestWebhookRequest(server string, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody) (*http.Request, error)
NewProjectServiceSendTestWebhookRequest calls the generic ProjectServiceSendTestWebhook builder with application/json body
func NewProjectServiceSendTestWebhookRequestWithBody ¶ added in v2.19.1
func NewProjectServiceSendTestWebhookRequestWithBody(server string, projectId string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceSendTestWebhookRequestWithBody constructs an http.Request for the ProjectServiceSendTestWebhook method, with any body, and a specified content type
func NewProjectServiceUpdateInviteRequest ¶
func NewProjectServiceUpdateInviteRequest(server string, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateInviteRequest calls the generic ProjectServiceUpdateInvite builder with application/json body
func NewProjectServiceUpdateInviteRequestWithBody ¶
func NewProjectServiceUpdateInviteRequestWithBody(server string, projectId string, email string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateInviteRequestWithBody constructs an http.Request for the ProjectServiceUpdateInvite method, with any body, and a specified content type
func NewProjectServiceUpdateMemberRequest ¶
func NewProjectServiceUpdateMemberRequest(server string, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateMemberRequest calls the generic ProjectServiceUpdateMember builder with application/json body
func NewProjectServiceUpdateMemberRequestWithBody ¶
func NewProjectServiceUpdateMemberRequestWithBody(server string, projectId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateMemberRequestWithBody constructs an http.Request for the ProjectServiceUpdateMember method, with any body, and a specified content type
func NewProjectServiceUpdateProjectRequest ¶
func NewProjectServiceUpdateProjectRequest(server string, projectId string, body ProjectServiceUpdateProjectJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateProjectRequest calls the generic ProjectServiceUpdateProject builder with application/json body
func NewProjectServiceUpdateProjectRequestWithBody ¶
func NewProjectServiceUpdateProjectRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateProjectRequestWithBody constructs an http.Request for the ProjectServiceUpdateProject method, with any body, and a specified content type
func NewProjectServiceUpdateWebhookRequest ¶ added in v2.19.1
func NewProjectServiceUpdateWebhookRequest(server string, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody) (*http.Request, error)
NewProjectServiceUpdateWebhookRequest calls the generic ProjectServiceUpdateWebhook builder with application/json body
func NewProjectServiceUpdateWebhookRequestWithBody ¶ added in v2.19.1
func NewProjectServiceUpdateWebhookRequestWithBody(server string, projectId string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewProjectServiceUpdateWebhookRequestWithBody constructs an http.Request for the ProjectServiceUpdateWebhook method, with any body, and a specified content type
func NewSimulationServiceCancelSimulationRunRequest ¶
func NewSimulationServiceCancelSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
NewSimulationServiceCancelSimulationRunRequest constructs an http.Request for the SimulationServiceCancelSimulationRun method
func NewSimulationServiceConfirmSimulationSourceUploadRequest ¶ added in v2.19.0
func NewSimulationServiceConfirmSimulationSourceUploadRequest(server string, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody) (*http.Request, error)
NewSimulationServiceConfirmSimulationSourceUploadRequest calls the generic SimulationServiceConfirmSimulationSourceUpload builder with application/json body
func NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody ¶ added in v2.19.0
func NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody(server string, projectId string, simulationRunId string, contentType string, body io.Reader) (*http.Request, error)
NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody constructs an http.Request for the SimulationServiceConfirmSimulationSourceUpload method, with any body, and a specified content type
func NewSimulationServiceCountSimulationRunsRequest ¶ added in v2.19.0
func NewSimulationServiceCountSimulationRunsRequest(server string, projectId string, params *SimulationServiceCountSimulationRunsParams) (*http.Request, error)
NewSimulationServiceCountSimulationRunsRequest constructs an http.Request for the SimulationServiceCountSimulationRuns method
func NewSimulationServiceCreateSimulationRunRequest ¶
func NewSimulationServiceCreateSimulationRunRequest(server string, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody) (*http.Request, error)
NewSimulationServiceCreateSimulationRunRequest calls the generic SimulationServiceCreateSimulationRun builder with application/json body
func NewSimulationServiceCreateSimulationRunRequestWithBody ¶
func NewSimulationServiceCreateSimulationRunRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewSimulationServiceCreateSimulationRunRequestWithBody constructs an http.Request for the SimulationServiceCreateSimulationRun method, with any body, and a specified content type
func NewSimulationServiceGenerateScenarioFromSessionRequest ¶ added in v2.19.0
func NewSimulationServiceGenerateScenarioFromSessionRequest(server string, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody) (*http.Request, error)
NewSimulationServiceGenerateScenarioFromSessionRequest calls the generic SimulationServiceGenerateScenarioFromSession builder with application/json body
func NewSimulationServiceGenerateScenarioFromSessionRequestWithBody ¶ added in v2.19.0
func NewSimulationServiceGenerateScenarioFromSessionRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewSimulationServiceGenerateScenarioFromSessionRequestWithBody constructs an http.Request for the SimulationServiceGenerateScenarioFromSession method, with any body, and a specified content type
func NewSimulationServiceGetSimulationRunRequest ¶
func NewSimulationServiceGetSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
NewSimulationServiceGetSimulationRunRequest constructs an http.Request for the SimulationServiceGetSimulationRun method
func NewSimulationServiceGetSimulationRunSummaryRequest ¶ added in v2.19.0
func NewSimulationServiceGetSimulationRunSummaryRequest(server string, projectId string, simulationRunId string) (*http.Request, error)
NewSimulationServiceGetSimulationRunSummaryRequest constructs an http.Request for the SimulationServiceGetSimulationRunSummary method
func NewSimulationServiceListSimulationRunsRequest ¶
func NewSimulationServiceListSimulationRunsRequest(server string, projectId string, params *SimulationServiceListSimulationRunsParams) (*http.Request, error)
NewSimulationServiceListSimulationRunsRequest constructs an http.Request for the SimulationServiceListSimulationRuns method
func NewTelephonyServiceCreateDispatchRuleRequest ¶ added in v2.20.1
func NewTelephonyServiceCreateDispatchRuleRequest(server string, projectId string, body TelephonyServiceCreateDispatchRuleJSONRequestBody) (*http.Request, error)
NewTelephonyServiceCreateDispatchRuleRequest calls the generic TelephonyServiceCreateDispatchRule builder with application/json body
func NewTelephonyServiceCreateDispatchRuleRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceCreateDispatchRuleRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceCreateDispatchRuleRequestWithBody constructs an http.Request for the TelephonyServiceCreateDispatchRule method, with any body, and a specified content type
func NewTelephonyServiceCreateInboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceCreateInboundTrunkRequest(server string, projectId string, body TelephonyServiceCreateInboundTrunkJSONRequestBody) (*http.Request, error)
NewTelephonyServiceCreateInboundTrunkRequest calls the generic TelephonyServiceCreateInboundTrunk builder with application/json body
func NewTelephonyServiceCreateInboundTrunkRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceCreateInboundTrunkRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceCreateInboundTrunkRequestWithBody constructs an http.Request for the TelephonyServiceCreateInboundTrunk method, with any body, and a specified content type
func NewTelephonyServiceCreateOutboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceCreateOutboundTrunkRequest(server string, projectId string, body TelephonyServiceCreateOutboundTrunkJSONRequestBody) (*http.Request, error)
NewTelephonyServiceCreateOutboundTrunkRequest calls the generic TelephonyServiceCreateOutboundTrunk builder with application/json body
func NewTelephonyServiceCreateOutboundTrunkRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceCreateOutboundTrunkRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceCreateOutboundTrunkRequestWithBody constructs an http.Request for the TelephonyServiceCreateOutboundTrunk method, with any body, and a specified content type
func NewTelephonyServiceCreateSIPParticipantRequest ¶ added in v2.20.1
func NewTelephonyServiceCreateSIPParticipantRequest(server string, projectId string, body TelephonyServiceCreateSIPParticipantJSONRequestBody) (*http.Request, error)
NewTelephonyServiceCreateSIPParticipantRequest calls the generic TelephonyServiceCreateSIPParticipant builder with application/json body
func NewTelephonyServiceCreateSIPParticipantRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceCreateSIPParticipantRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceCreateSIPParticipantRequestWithBody constructs an http.Request for the TelephonyServiceCreateSIPParticipant method, with any body, and a specified content type
func NewTelephonyServiceDeleteDispatchRuleRequest ¶ added in v2.20.1
func NewTelephonyServiceDeleteDispatchRuleRequest(server string, projectId string, dispatchRuleId string) (*http.Request, error)
NewTelephonyServiceDeleteDispatchRuleRequest constructs an http.Request for the TelephonyServiceDeleteDispatchRule method
func NewTelephonyServiceDeleteInboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceDeleteInboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
NewTelephonyServiceDeleteInboundTrunkRequest constructs an http.Request for the TelephonyServiceDeleteInboundTrunk method
func NewTelephonyServiceDeleteOutboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceDeleteOutboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
NewTelephonyServiceDeleteOutboundTrunkRequest constructs an http.Request for the TelephonyServiceDeleteOutboundTrunk method
func NewTelephonyServiceGetDispatchRuleRequest ¶ added in v2.20.1
func NewTelephonyServiceGetDispatchRuleRequest(server string, projectId string, dispatchRuleId string) (*http.Request, error)
NewTelephonyServiceGetDispatchRuleRequest constructs an http.Request for the TelephonyServiceGetDispatchRule method
func NewTelephonyServiceGetInboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceGetInboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
NewTelephonyServiceGetInboundTrunkRequest constructs an http.Request for the TelephonyServiceGetInboundTrunk method
func NewTelephonyServiceGetOutboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceGetOutboundTrunkRequest(server string, projectId string, trunkId string) (*http.Request, error)
NewTelephonyServiceGetOutboundTrunkRequest constructs an http.Request for the TelephonyServiceGetOutboundTrunk method
func NewTelephonyServiceGetPhoneNumberRequest ¶ added in v2.20.1
func NewTelephonyServiceGetPhoneNumberRequest(server string, projectId string, phoneNumberId string) (*http.Request, error)
NewTelephonyServiceGetPhoneNumberRequest constructs an http.Request for the TelephonyServiceGetPhoneNumber method
func NewTelephonyServiceListDispatchRulesRequest ¶ added in v2.20.1
func NewTelephonyServiceListDispatchRulesRequest(server string, projectId string, params *TelephonyServiceListDispatchRulesParams) (*http.Request, error)
NewTelephonyServiceListDispatchRulesRequest constructs an http.Request for the TelephonyServiceListDispatchRules method
func NewTelephonyServiceListInboundTrunksRequest ¶ added in v2.20.1
func NewTelephonyServiceListInboundTrunksRequest(server string, projectId string, params *TelephonyServiceListInboundTrunksParams) (*http.Request, error)
NewTelephonyServiceListInboundTrunksRequest constructs an http.Request for the TelephonyServiceListInboundTrunks method
func NewTelephonyServiceListOutboundTrunksRequest ¶ added in v2.20.1
func NewTelephonyServiceListOutboundTrunksRequest(server string, projectId string, params *TelephonyServiceListOutboundTrunksParams) (*http.Request, error)
NewTelephonyServiceListOutboundTrunksRequest constructs an http.Request for the TelephonyServiceListOutboundTrunks method
func NewTelephonyServiceListPhoneNumbersRequest ¶ added in v2.20.1
func NewTelephonyServiceListPhoneNumbersRequest(server string, projectId string, params *TelephonyServiceListPhoneNumbersParams) (*http.Request, error)
NewTelephonyServiceListPhoneNumbersRequest constructs an http.Request for the TelephonyServiceListPhoneNumbers method
func NewTelephonyServicePurchasePhoneNumberRequest ¶ added in v2.20.1
func NewTelephonyServicePurchasePhoneNumberRequest(server string, projectId string, body TelephonyServicePurchasePhoneNumberJSONRequestBody) (*http.Request, error)
NewTelephonyServicePurchasePhoneNumberRequest calls the generic TelephonyServicePurchasePhoneNumber builder with application/json body
func NewTelephonyServicePurchasePhoneNumberRequestWithBody ¶ added in v2.20.1
func NewTelephonyServicePurchasePhoneNumberRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServicePurchasePhoneNumberRequestWithBody constructs an http.Request for the TelephonyServicePurchasePhoneNumber method, with any body, and a specified content type
func NewTelephonyServiceReleasePhoneNumberRequest ¶ added in v2.20.1
func NewTelephonyServiceReleasePhoneNumberRequest(server string, projectId string, phoneNumberId string) (*http.Request, error)
NewTelephonyServiceReleasePhoneNumberRequest constructs an http.Request for the TelephonyServiceReleasePhoneNumber method
func NewTelephonyServiceSearchPhoneNumbersRequest ¶ added in v2.20.1
func NewTelephonyServiceSearchPhoneNumbersRequest(server string, projectId string, params *TelephonyServiceSearchPhoneNumbersParams) (*http.Request, error)
NewTelephonyServiceSearchPhoneNumbersRequest constructs an http.Request for the TelephonyServiceSearchPhoneNumbers method
func NewTelephonyServiceTransferSIPParticipantRequest ¶ added in v2.20.1
func NewTelephonyServiceTransferSIPParticipantRequest(server string, projectId string, body TelephonyServiceTransferSIPParticipantJSONRequestBody) (*http.Request, error)
NewTelephonyServiceTransferSIPParticipantRequest calls the generic TelephonyServiceTransferSIPParticipant builder with application/json body
func NewTelephonyServiceTransferSIPParticipantRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceTransferSIPParticipantRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceTransferSIPParticipantRequestWithBody constructs an http.Request for the TelephonyServiceTransferSIPParticipant method, with any body, and a specified content type
func NewTelephonyServiceUpdateDispatchRuleRequest ¶ added in v2.20.1
func NewTelephonyServiceUpdateDispatchRuleRequest(server string, projectId string, dispatchRuleId string, body TelephonyServiceUpdateDispatchRuleJSONRequestBody) (*http.Request, error)
NewTelephonyServiceUpdateDispatchRuleRequest calls the generic TelephonyServiceUpdateDispatchRule builder with application/json body
func NewTelephonyServiceUpdateDispatchRuleRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceUpdateDispatchRuleRequestWithBody(server string, projectId string, dispatchRuleId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceUpdateDispatchRuleRequestWithBody constructs an http.Request for the TelephonyServiceUpdateDispatchRule method, with any body, and a specified content type
func NewTelephonyServiceUpdateInboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceUpdateInboundTrunkRequest(server string, projectId string, trunkId string, body TelephonyServiceUpdateInboundTrunkJSONRequestBody) (*http.Request, error)
NewTelephonyServiceUpdateInboundTrunkRequest calls the generic TelephonyServiceUpdateInboundTrunk builder with application/json body
func NewTelephonyServiceUpdateInboundTrunkRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceUpdateInboundTrunkRequestWithBody(server string, projectId string, trunkId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceUpdateInboundTrunkRequestWithBody constructs an http.Request for the TelephonyServiceUpdateInboundTrunk method, with any body, and a specified content type
func NewTelephonyServiceUpdateOutboundTrunkRequest ¶ added in v2.20.1
func NewTelephonyServiceUpdateOutboundTrunkRequest(server string, projectId string, trunkId string, body TelephonyServiceUpdateOutboundTrunkJSONRequestBody) (*http.Request, error)
NewTelephonyServiceUpdateOutboundTrunkRequest calls the generic TelephonyServiceUpdateOutboundTrunk builder with application/json body
func NewTelephonyServiceUpdateOutboundTrunkRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceUpdateOutboundTrunkRequestWithBody(server string, projectId string, trunkId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceUpdateOutboundTrunkRequestWithBody constructs an http.Request for the TelephonyServiceUpdateOutboundTrunk method, with any body, and a specified content type
func NewTelephonyServiceUpdatePhoneNumberRequest ¶ added in v2.20.1
func NewTelephonyServiceUpdatePhoneNumberRequest(server string, projectId string, phoneNumberId string, body TelephonyServiceUpdatePhoneNumberJSONRequestBody) (*http.Request, error)
NewTelephonyServiceUpdatePhoneNumberRequest calls the generic TelephonyServiceUpdatePhoneNumber builder with application/json body
func NewTelephonyServiceUpdatePhoneNumberRequestWithBody ¶ added in v2.20.1
func NewTelephonyServiceUpdatePhoneNumberRequestWithBody(server string, projectId string, phoneNumberId string, contentType string, body io.Reader) (*http.Request, error)
NewTelephonyServiceUpdatePhoneNumberRequestWithBody constructs an http.Request for the TelephonyServiceUpdatePhoneNumber method, with any body, and a specified content type
func NewUserServiceGetCurrentUserRequest ¶
NewUserServiceGetCurrentUserRequest constructs an http.Request for the UserServiceGetCurrentUser method
func NewUserServiceGetUserRequest ¶
NewUserServiceGetUserRequest constructs an http.Request for the UserServiceGetUser method
func NewUserServiceListUsersRequest ¶
func NewUserServiceListUsersRequest(server string, params *UserServiceListUsersParams) (*http.Request, error)
NewUserServiceListUsersRequest constructs an http.Request for the UserServiceListUsers method
func NewUserServiceRevokeSessionTokenRequest ¶ added in v2.19.4
NewUserServiceRevokeSessionTokenRequest constructs an http.Request for the UserServiceRevokeSessionToken method
func NewWorkspaceServiceAnswerInviteRequest ¶
func NewWorkspaceServiceAnswerInviteRequest(server string, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceAnswerInviteRequest calls the generic WorkspaceServiceAnswerInvite builder with application/json body
func NewWorkspaceServiceAnswerInviteRequestWithBody ¶
func NewWorkspaceServiceAnswerInviteRequestWithBody(server string, inviteToken string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceAnswerInviteRequestWithBody constructs an http.Request for the WorkspaceServiceAnswerInvite method, with any body, and a specified content type
func NewWorkspaceServiceCreateInviteRequest ¶
func NewWorkspaceServiceCreateInviteRequest(server string, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceCreateInviteRequest calls the generic WorkspaceServiceCreateInvite builder with application/json body
func NewWorkspaceServiceCreateInviteRequestWithBody ¶
func NewWorkspaceServiceCreateInviteRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceCreateInviteRequestWithBody constructs an http.Request for the WorkspaceServiceCreateInvite method, with any body, and a specified content type
func NewWorkspaceServiceCreateProjectRequest ¶
func NewWorkspaceServiceCreateProjectRequest(server string, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceCreateProjectRequest calls the generic WorkspaceServiceCreateProject builder with application/json body
func NewWorkspaceServiceCreateProjectRequestWithBody ¶
func NewWorkspaceServiceCreateProjectRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceCreateProjectRequestWithBody constructs an http.Request for the WorkspaceServiceCreateProject method, with any body, and a specified content type
func NewWorkspaceServiceCreateWorkspaceRequest ¶
func NewWorkspaceServiceCreateWorkspaceRequest(server string, body WorkspaceServiceCreateWorkspaceJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceCreateWorkspaceRequest calls the generic WorkspaceServiceCreateWorkspace builder with application/json body
func NewWorkspaceServiceCreateWorkspaceRequestWithBody ¶
func NewWorkspaceServiceCreateWorkspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceCreateWorkspaceRequestWithBody constructs an http.Request for the WorkspaceServiceCreateWorkspace method, with any body, and a specified content type
func NewWorkspaceServiceDeleteInviteRequest ¶
func NewWorkspaceServiceDeleteInviteRequest(server string, workspaceId string, email string) (*http.Request, error)
NewWorkspaceServiceDeleteInviteRequest constructs an http.Request for the WorkspaceServiceDeleteInvite method
func NewWorkspaceServiceDeleteMemberRequest ¶
func NewWorkspaceServiceDeleteMemberRequest(server string, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams) (*http.Request, error)
NewWorkspaceServiceDeleteMemberRequest constructs an http.Request for the WorkspaceServiceDeleteMember method
func NewWorkspaceServiceDeleteProjectRequest ¶
func NewWorkspaceServiceDeleteProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
NewWorkspaceServiceDeleteProjectRequest constructs an http.Request for the WorkspaceServiceDeleteProject method
func NewWorkspaceServiceDeleteWorkspaceRequest ¶
func NewWorkspaceServiceDeleteWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
NewWorkspaceServiceDeleteWorkspaceRequest constructs an http.Request for the WorkspaceServiceDeleteWorkspace method
func NewWorkspaceServiceGetInviteRequest ¶
NewWorkspaceServiceGetInviteRequest constructs an http.Request for the WorkspaceServiceGetInvite method
func NewWorkspaceServiceGetMemberRequest ¶
func NewWorkspaceServiceGetMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)
NewWorkspaceServiceGetMemberRequest constructs an http.Request for the WorkspaceServiceGetMember method
func NewWorkspaceServiceGetProjectRequest ¶
func NewWorkspaceServiceGetProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)
NewWorkspaceServiceGetProjectRequest constructs an http.Request for the WorkspaceServiceGetProject method
func NewWorkspaceServiceGetWorkspaceRequest ¶
func NewWorkspaceServiceGetWorkspaceRequest(server string, workspaceId string) (*http.Request, error)
NewWorkspaceServiceGetWorkspaceRequest constructs an http.Request for the WorkspaceServiceGetWorkspace method
func NewWorkspaceServiceListInvitesRequest ¶
func NewWorkspaceServiceListInvitesRequest(server string, workspaceId string, params *WorkspaceServiceListInvitesParams) (*http.Request, error)
NewWorkspaceServiceListInvitesRequest constructs an http.Request for the WorkspaceServiceListInvites method
func NewWorkspaceServiceListMembersRequest ¶
func NewWorkspaceServiceListMembersRequest(server string, workspaceId string, params *WorkspaceServiceListMembersParams) (*http.Request, error)
NewWorkspaceServiceListMembersRequest constructs an http.Request for the WorkspaceServiceListMembers method
func NewWorkspaceServiceListProjectsRequest ¶
func NewWorkspaceServiceListProjectsRequest(server string, workspaceId string, params *WorkspaceServiceListProjectsParams) (*http.Request, error)
NewWorkspaceServiceListProjectsRequest constructs an http.Request for the WorkspaceServiceListProjects method
func NewWorkspaceServiceListWorkspacesRequest ¶
func NewWorkspaceServiceListWorkspacesRequest(server string, params *WorkspaceServiceListWorkspacesParams) (*http.Request, error)
NewWorkspaceServiceListWorkspacesRequest constructs an http.Request for the WorkspaceServiceListWorkspaces method
func NewWorkspaceServiceUpdateMemberRequest ¶
func NewWorkspaceServiceUpdateMemberRequest(server string, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceUpdateMemberRequest calls the generic WorkspaceServiceUpdateMember builder with application/json body
func NewWorkspaceServiceUpdateMemberRequestWithBody ¶
func NewWorkspaceServiceUpdateMemberRequestWithBody(server string, workspaceId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceUpdateMemberRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateMember method, with any body, and a specified content type
func NewWorkspaceServiceUpdateWorkspaceRequest ¶
func NewWorkspaceServiceUpdateWorkspaceRequest(server string, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody) (*http.Request, error)
NewWorkspaceServiceUpdateWorkspaceRequest calls the generic WorkspaceServiceUpdateWorkspace builder with application/json body
func NewWorkspaceServiceUpdateWorkspaceRequestWithBody ¶
func NewWorkspaceServiceUpdateWorkspaceRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewWorkspaceServiceUpdateWorkspaceRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateWorkspace method, with any body, and a specified content type
Types ¶
type AgentBuilderServiceCreateAgentJSONBody ¶ added in v2.20.2
type AgentBuilderServiceCreateAgentJSONBody struct {
// Config The configuration. Unset uses the default configuration.
Config *LivekitPublicapiAgentbuilderV1AgentConfig `json:"config,omitempty"`
// Name The agent name. The agent registers under this name, and you use it
// to dispatch the agent to a room. It starts with a letter, and has only
// letters, digits, `_`, and `-`. At most 128 characters. Must be unique
// in the project.
Name *string `json:"name,omitempty"`
}
AgentBuilderServiceCreateAgentJSONBody defines parameters for AgentBuilderServiceCreateAgent.
type AgentBuilderServiceCreateAgentJSONRequestBody ¶ added in v2.20.2
type AgentBuilderServiceCreateAgentJSONRequestBody AgentBuilderServiceCreateAgentJSONBody
AgentBuilderServiceCreateAgentJSONRequestBody defines body for AgentBuilderServiceCreateAgent for application/json ContentType.
type AgentBuilderServiceCreateAgentResponse ¶ added in v2.20.2
type AgentBuilderServiceCreateAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceCreateAgentResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceCreateAgentResponse(rsp *http.Response) (*AgentBuilderServiceCreateAgentResponse, error)
ParseAgentBuilderServiceCreateAgentResponse parses an HTTP response from a AgentBuilderServiceCreateAgentWithResponse call
func (AgentBuilderServiceCreateAgentResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceCreateAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceCreateAgentResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceCreateAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceCreateAgentResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceCreateAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceCreateAgentResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceCreateAgentResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceCreateAgentResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceCreateAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceCreateAgentResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceCreateAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceDeleteAgentResponse ¶ added in v2.20.2
type AgentBuilderServiceDeleteAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsDeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceDeleteAgentResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceDeleteAgentResponse(rsp *http.Response) (*AgentBuilderServiceDeleteAgentResponse, error)
ParseAgentBuilderServiceDeleteAgentResponse parses an HTTP response from a AgentBuilderServiceDeleteAgentWithResponse call
func (AgentBuilderServiceDeleteAgentResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceDeleteAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceDeleteAgentResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceDeleteAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceDeleteAgentResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceDeleteAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsDeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceDeleteAgentResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceDeleteAgentResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceDeleteAgentResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceDeleteAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceDeleteAgentResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceDeleteAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceDeployAgentJSONBody ¶ added in v2.20.2
type AgentBuilderServiceDeployAgentJSONBody struct {
// VersionId The version to deploy. Empty deploys the current configuration.
VersionId *string `json:"versionId,omitempty"`
}
AgentBuilderServiceDeployAgentJSONBody defines parameters for AgentBuilderServiceDeployAgent.
type AgentBuilderServiceDeployAgentJSONRequestBody ¶ added in v2.20.2
type AgentBuilderServiceDeployAgentJSONRequestBody AgentBuilderServiceDeployAgentJSONBody
AgentBuilderServiceDeployAgentJSONRequestBody defines body for AgentBuilderServiceDeployAgent for application/json ContentType.
type AgentBuilderServiceDeployAgentResponse ¶ added in v2.20.2
type AgentBuilderServiceDeployAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsDeployResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceDeployAgentResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceDeployAgentResponse(rsp *http.Response) (*AgentBuilderServiceDeployAgentResponse, error)
ParseAgentBuilderServiceDeployAgentResponse parses an HTTP response from a AgentBuilderServiceDeployAgentWithResponse call
func (AgentBuilderServiceDeployAgentResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceDeployAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceDeployAgentResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceDeployAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceDeployAgentResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceDeployAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsDeployResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceDeployAgentResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceDeployAgentResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceDeployAgentResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceDeployAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceDeployAgentResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceDeployAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceGetAgentCodeURLParams ¶ added in v2.20.2
type AgentBuilderServiceGetAgentCodeURLParams struct {
// VersionId The version whose agent code to download. When empty, the current
// version.
VersionId *string `form:"versionId,omitempty" json:"versionId,omitempty"`
// ExpirySeconds The time that the URL stays valid, in seconds. Defaults to 900 (15
// minutes) when unset or 0. The API clamps a larger value to 900, with
// no error. `expiresAt` gives the expiry that the API granted.
ExpirySeconds *int `form:"expirySeconds,omitempty" json:"expirySeconds,omitempty"`
}
AgentBuilderServiceGetAgentCodeURLParams defines parameters for AgentBuilderServiceGetAgentCodeURL.
type AgentBuilderServiceGetAgentCodeURLResponse ¶ added in v2.20.2
type AgentBuilderServiceGetAgentCodeURLResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceGetAgentCodeURLResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceGetAgentCodeURLResponse(rsp *http.Response) (*AgentBuilderServiceGetAgentCodeURLResponse, error)
ParseAgentBuilderServiceGetAgentCodeURLResponse parses an HTTP response from a AgentBuilderServiceGetAgentCodeURLWithResponse call
func (AgentBuilderServiceGetAgentCodeURLResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentCodeURLResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceGetAgentCodeURLResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentCodeURLResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceGetAgentCodeURLResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentCodeURLResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceGetAgentCodeURLResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentCodeURLResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceGetAgentCodeURLResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentCodeURLResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceGetAgentCodeURLResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentCodeURLResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceGetAgentResponse ¶ added in v2.20.2
type AgentBuilderServiceGetAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceGetAgentResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceGetAgentResponse(rsp *http.Response) (*AgentBuilderServiceGetAgentResponse, error)
ParseAgentBuilderServiceGetAgentResponse parses an HTTP response from a AgentBuilderServiceGetAgentWithResponse call
func (AgentBuilderServiceGetAgentResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceGetAgentResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceGetAgentResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceGetAgentResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceGetAgentResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceGetAgentResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceGetAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceListAgentVersionsParams ¶ added in v2.20.2
type AgentBuilderServiceListAgentVersionsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
AgentBuilderServiceListAgentVersionsParams defines parameters for AgentBuilderServiceListAgentVersions.
type AgentBuilderServiceListAgentVersionsResponse ¶ added in v2.20.2
type AgentBuilderServiceListAgentVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentVersionsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceListAgentVersionsResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceListAgentVersionsResponse(rsp *http.Response) (*AgentBuilderServiceListAgentVersionsResponse, error)
ParseAgentBuilderServiceListAgentVersionsResponse parses an HTTP response from a AgentBuilderServiceListAgentVersionsWithResponse call
func (AgentBuilderServiceListAgentVersionsResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentVersionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceListAgentVersionsResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentVersionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceListAgentVersionsResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentVersionsResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentVersionsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceListAgentVersionsResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentVersionsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceListAgentVersionsResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceListAgentVersionsResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceListAgentsParams ¶ added in v2.20.2
type AgentBuilderServiceListAgentsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
AgentBuilderServiceListAgentsParams defines parameters for AgentBuilderServiceListAgents.
type AgentBuilderServiceListAgentsResponse ¶ added in v2.20.2
type AgentBuilderServiceListAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceListAgentsResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceListAgentsResponse(rsp *http.Response) (*AgentBuilderServiceListAgentsResponse, error)
ParseAgentBuilderServiceListAgentsResponse parses an HTTP response from a AgentBuilderServiceListAgentsWithResponse call
func (AgentBuilderServiceListAgentsResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceListAgentsResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceListAgentsResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentsResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceListAgentsResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceListAgentsResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceListAgentsResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceListAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentBuilderServiceUpdateAgentJSONBody ¶ added in v2.20.2
type AgentBuilderServiceUpdateAgentJSONBody struct {
// Config The new configuration. It replaces the current one: unset properties
// take their default, not their current value. When unset, the
// configuration does not change.
Config *LivekitPublicapiAgentbuilderV1AgentConfig `json:"config,omitempty"`
// Name The new agent name. It has the same rules as the name in
// `CreateAgent`. When unset, the name does not change.
Name *string `json:"name,omitempty"`
}
AgentBuilderServiceUpdateAgentJSONBody defines parameters for AgentBuilderServiceUpdateAgent.
type AgentBuilderServiceUpdateAgentJSONRequestBody ¶ added in v2.20.2
type AgentBuilderServiceUpdateAgentJSONRequestBody AgentBuilderServiceUpdateAgentJSONBody
AgentBuilderServiceUpdateAgentJSONRequestBody defines body for AgentBuilderServiceUpdateAgent for application/json ContentType.
type AgentBuilderServiceUpdateAgentResponse ¶ added in v2.20.2
type AgentBuilderServiceUpdateAgentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAgentbuilderV1AgentsUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAgentBuilderServiceUpdateAgentResponse ¶ added in v2.20.2
func ParseAgentBuilderServiceUpdateAgentResponse(rsp *http.Response) (*AgentBuilderServiceUpdateAgentResponse, error)
ParseAgentBuilderServiceUpdateAgentResponse parses an HTTP response from a AgentBuilderServiceUpdateAgentWithResponse call
func (AgentBuilderServiceUpdateAgentResponse) ContentType ¶ added in v2.20.2
func (r AgentBuilderServiceUpdateAgentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentBuilderServiceUpdateAgentResponse) GetBody ¶ added in v2.20.2
func (r AgentBuilderServiceUpdateAgentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentBuilderServiceUpdateAgentResponse) GetJSON200 ¶ added in v2.20.2
func (r AgentBuilderServiceUpdateAgentResponse) GetJSON200() *LivekitPublicapiAgentbuilderV1AgentsUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentBuilderServiceUpdateAgentResponse) GetJSONDefault ¶ added in v2.20.2
func (r AgentBuilderServiceUpdateAgentResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AgentBuilderServiceUpdateAgentResponse) Status ¶ added in v2.20.2
func (r AgentBuilderServiceUpdateAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AgentBuilderServiceUpdateAgentResponse) StatusCode ¶ added in v2.20.2
func (r AgentBuilderServiceUpdateAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceGetAgentInsightsParams ¶ added in v2.20.2
type AnalyticsServiceGetAgentInsightsParams struct {
// RangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`
// RangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
// AgentIds The IDs of cloud agents (`CA_...`). Returns only the data of these
// agents and of the agents in `agentNames`. When `agentIds` and
// `agentNames` are both empty, returns the data of every agent of the
// project. The two lists can have at most 25 entries together.
AgentIds *[]string `form:"agentIds,omitempty" json:"agentIds,omitempty"`
// AgentNames The names of agents. Returns only the data of the agents with these
// names and of the agents in `agentIds`. A self-hosted agent has no
// agent ID, so select it by its name.
AgentNames *[]string `form:"agentNames,omitempty" json:"agentNames,omitempty"`
}
AnalyticsServiceGetAgentInsightsParams defines parameters for AnalyticsServiceGetAgentInsights.
type AnalyticsServiceGetAgentInsightsResponse ¶ added in v2.20.2
type AnalyticsServiceGetAgentInsightsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1AgentInsightsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceGetAgentInsightsResponse ¶ added in v2.20.2
func ParseAnalyticsServiceGetAgentInsightsResponse(rsp *http.Response) (*AnalyticsServiceGetAgentInsightsResponse, error)
ParseAnalyticsServiceGetAgentInsightsResponse parses an HTTP response from a AnalyticsServiceGetAgentInsightsWithResponse call
func (AnalyticsServiceGetAgentInsightsResponse) ContentType ¶ added in v2.20.2
func (r AnalyticsServiceGetAgentInsightsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceGetAgentInsightsResponse) GetBody ¶ added in v2.20.2
func (r AnalyticsServiceGetAgentInsightsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceGetAgentInsightsResponse) GetJSON200 ¶ added in v2.20.2
func (r AnalyticsServiceGetAgentInsightsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1AgentInsightsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceGetAgentInsightsResponse) GetJSONDefault ¶ added in v2.20.2
func (r AnalyticsServiceGetAgentInsightsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceGetAgentInsightsResponse) Status ¶ added in v2.20.2
func (r AnalyticsServiceGetAgentInsightsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceGetAgentInsightsResponse) StatusCode ¶ added in v2.20.2
func (r AnalyticsServiceGetAgentInsightsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceGetEvalResultsParams ¶ added in v2.20.2
type AnalyticsServiceGetEvalResultsParams struct {
// RangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`
// RangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
// AgentNames The names of agents. Returns only the sessions of these agents. When
// empty, returns the sessions of every agent. The maximum is 25.
AgentNames *[]string `form:"agentNames,omitempty" json:"agentNames,omitempty"`
// EvalIds The IDs of evals (`EVAL_...`). Returns only the results of these
// evals. When it has exactly one ID, the response has `criteria`. The
// maximum is 25.
EvalIds *[]string `form:"evalIds,omitempty" json:"evalIds,omitempty"`
// IntentIds The IDs of intents (`LBL_...`). Returns only the sessions with one of
// these intents. `other` matches the sessions that no intent matched,
// and an empty string matches the sessions that have no intent. The
// maximum is 25.
IntentIds *[]string `form:"intentIds,omitempty" json:"intentIds,omitempty"`
// OutcomeIds The IDs of outcomes (`LBL_...`). Returns only the sessions with one of
// these outcomes. `other` and an empty string match as in `intentIds`.
// The maximum is 25.
OutcomeIds *[]string `form:"outcomeIds,omitempty" json:"outcomeIds,omitempty"`
}
AnalyticsServiceGetEvalResultsParams defines parameters for AnalyticsServiceGetEvalResults.
type AnalyticsServiceGetEvalResultsResponse ¶ added in v2.20.2
type AnalyticsServiceGetEvalResultsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1EvalResultsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceGetEvalResultsResponse ¶ added in v2.20.2
func ParseAnalyticsServiceGetEvalResultsResponse(rsp *http.Response) (*AnalyticsServiceGetEvalResultsResponse, error)
ParseAnalyticsServiceGetEvalResultsResponse parses an HTTP response from a AnalyticsServiceGetEvalResultsWithResponse call
func (AnalyticsServiceGetEvalResultsResponse) ContentType ¶ added in v2.20.2
func (r AnalyticsServiceGetEvalResultsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceGetEvalResultsResponse) GetBody ¶ added in v2.20.2
func (r AnalyticsServiceGetEvalResultsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceGetEvalResultsResponse) GetJSON200 ¶ added in v2.20.2
func (r AnalyticsServiceGetEvalResultsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1EvalResultsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceGetEvalResultsResponse) GetJSONDefault ¶ added in v2.20.2
func (r AnalyticsServiceGetEvalResultsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceGetEvalResultsResponse) Status ¶ added in v2.20.2
func (r AnalyticsServiceGetEvalResultsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceGetEvalResultsResponse) StatusCode ¶ added in v2.20.2
func (r AnalyticsServiceGetEvalResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceGetSessionLabelResultsParams ¶ added in v2.20.2
type AnalyticsServiceGetSessionLabelResultsParams struct {
// RangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`
// RangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
// AgentNames The names of agents. Returns only the sessions of these agents. When
// empty, returns the sessions of every agent. The maximum is 25.
AgentNames *[]string `form:"agentNames,omitempty" json:"agentNames,omitempty"`
// EvalIds The IDs of evals (`EVAL_...`). Returns only the results of these
// evals. It narrows `evals` and `totals`, and does not change the other
// fields. The maximum is 25.
EvalIds *[]string `form:"evalIds,omitempty" json:"evalIds,omitempty"`
// IntentIds The IDs of intents (`LBL_...`). Returns only the sessions with one of
// these intents. `other` matches the sessions that no intent matched,
// and an empty string matches the sessions that have no intent. The
// maximum is 25.
IntentIds *[]string `form:"intentIds,omitempty" json:"intentIds,omitempty"`
// OutcomeIds The IDs of outcomes (`LBL_...`). Returns only the sessions with one of
// these outcomes. `other` and an empty string match as in `intentIds`.
// The maximum is 25.
OutcomeIds *[]string `form:"outcomeIds,omitempty" json:"outcomeIds,omitempty"`
}
AnalyticsServiceGetSessionLabelResultsParams defines parameters for AnalyticsServiceGetSessionLabelResults.
type AnalyticsServiceGetSessionLabelResultsResponse ¶ added in v2.20.2
type AnalyticsServiceGetSessionLabelResultsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceGetSessionLabelResultsResponse ¶ added in v2.20.2
func ParseAnalyticsServiceGetSessionLabelResultsResponse(rsp *http.Response) (*AnalyticsServiceGetSessionLabelResultsResponse, error)
ParseAnalyticsServiceGetSessionLabelResultsResponse parses an HTTP response from a AnalyticsServiceGetSessionLabelResultsWithResponse call
func (AnalyticsServiceGetSessionLabelResultsResponse) ContentType ¶ added in v2.20.2
func (r AnalyticsServiceGetSessionLabelResultsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceGetSessionLabelResultsResponse) GetBody ¶ added in v2.20.2
func (r AnalyticsServiceGetSessionLabelResultsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceGetSessionLabelResultsResponse) GetJSON200 ¶ added in v2.20.2
func (r AnalyticsServiceGetSessionLabelResultsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceGetSessionLabelResultsResponse) GetJSONDefault ¶ added in v2.20.2
func (r AnalyticsServiceGetSessionLabelResultsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceGetSessionLabelResultsResponse) Status ¶ added in v2.20.2
func (r AnalyticsServiceGetSessionLabelResultsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceGetSessionLabelResultsResponse) StatusCode ¶ added in v2.20.2
func (r AnalyticsServiceGetSessionLabelResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceGetSessionResponse ¶
type AnalyticsServiceGetSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1SessionsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceGetSessionResponse ¶
func ParseAnalyticsServiceGetSessionResponse(rsp *http.Response) (*AnalyticsServiceGetSessionResponse, error)
ParseAnalyticsServiceGetSessionResponse parses an HTTP response from a AnalyticsServiceGetSessionWithResponse call
func (AnalyticsServiceGetSessionResponse) ContentType ¶
func (r AnalyticsServiceGetSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceGetSessionResponse) GetBody ¶
func (r AnalyticsServiceGetSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceGetSessionResponse) GetJSON200 ¶
func (r AnalyticsServiceGetSessionResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceGetSessionResponse) GetJSONDefault ¶ added in v2.19.3
func (r AnalyticsServiceGetSessionResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceGetSessionResponse) Status ¶
func (r AnalyticsServiceGetSessionResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceGetSessionResponse) StatusCode ¶
func (r AnalyticsServiceGetSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceListProjectSessionsParams ¶
type AnalyticsServiceListProjectSessionsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// FilterRangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
FilterRangeStartTime *time.Time `form:"filter.range.startTime,omitempty" json:"filter.range.startTime,omitempty"`
// FilterRangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
FilterRangeEndTime *time.Time `form:"filter.range.endTime,omitempty" json:"filter.range.endTime,omitempty"`
// FilterStatuses The statuses to match. A session matches when it has one of the statuses.
// When empty, a session with any status matches.
FilterStatuses *[]LivekitPublicapiAnalyticsV1SessionStatus `form:"filter.statuses,omitempty" json:"filter.statuses,omitempty"`
// FilterRoomName A prefix of the room name. Returns only the sessions whose room name
// starts with this value. The match is case-sensitive. For example, `demo-`
// matches `demo-1` and `demo-lobby`.
FilterRoomName *string `form:"filter.roomName,omitempty" json:"filter.roomName,omitempty"`
// FilterSessionId The ID of a room session (`RM_...`). Returns only the session with this
// exact ID.
FilterSessionId *string `form:"filter.sessionId,omitempty" json:"filter.sessionId,omitempty"`
// FilterTags The tags to match. A session matches when it has one of the tags.
FilterTags *[]string `form:"filter.tags,omitempty" json:"filter.tags,omitempty"`
// FilterAgentId The ID of a cloud agent (`CA_...`). Returns only the sessions that this
// agent served.
FilterAgentId *string `form:"filter.agentId,omitempty" json:"filter.agentId,omitempty"`
// SortOrder The sort direction of `startedAt`. Sessions sort only on `startedAt`.
// Defaults to descending (newest first).
SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
AnalyticsServiceListProjectSessionsParams defines parameters for AnalyticsServiceListProjectSessions.
type AnalyticsServiceListProjectSessionsResponse ¶
type AnalyticsServiceListProjectSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1SessionsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceListProjectSessionsResponse ¶
func ParseAnalyticsServiceListProjectSessionsResponse(rsp *http.Response) (*AnalyticsServiceListProjectSessionsResponse, error)
ParseAnalyticsServiceListProjectSessionsResponse parses an HTTP response from a AnalyticsServiceListProjectSessionsWithResponse call
func (AnalyticsServiceListProjectSessionsResponse) ContentType ¶
func (r AnalyticsServiceListProjectSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceListProjectSessionsResponse) GetBody ¶
func (r AnalyticsServiceListProjectSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceListProjectSessionsResponse) GetJSON200 ¶
func (r AnalyticsServiceListProjectSessionsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceListProjectSessionsResponse) GetJSONDefault ¶ added in v2.19.3
func (r AnalyticsServiceListProjectSessionsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceListProjectSessionsResponse) Status ¶
func (r AnalyticsServiceListProjectSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceListProjectSessionsResponse) StatusCode ¶
func (r AnalyticsServiceListProjectSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceListSessionEventsParams ¶ added in v2.19.0
type AnalyticsServiceListSessionEventsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Types The event types to return, by name, such as `TRACK_PUBLISHED`. The
// names are the values of the LiveKit `AnalyticsEventType`. Each name
// matches exactly. When empty, the list has the default types. See
// `ListSessionEvents`. An unknown name returns `InvalidArgument`.
Types *[]string `form:"types,omitempty" json:"types,omitempty"`
// ParticipantSessionId The ID of a participant session (`PA_...`), as in
// `participantSessionId` of a participant session from
// `ListSessionParticipants`. Returns only the events of this participant
// session. Room events and API calls have no participant session, so the
// list does not include them. A value that is not a `PA_` ID returns
// `InvalidArgument`.
ParticipantSessionId *string `form:"participantSessionId,omitempty" json:"participantSessionId,omitempty"`
// SortOrder The sort direction of `timestamp`. Defaults to ascending (oldest
// first).
SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
AnalyticsServiceListSessionEventsParams defines parameters for AnalyticsServiceListSessionEvents.
type AnalyticsServiceListSessionEventsResponse ¶ added in v2.19.0
type AnalyticsServiceListSessionEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1SessionEventsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceListSessionEventsResponse ¶ added in v2.19.0
func ParseAnalyticsServiceListSessionEventsResponse(rsp *http.Response) (*AnalyticsServiceListSessionEventsResponse, error)
ParseAnalyticsServiceListSessionEventsResponse parses an HTTP response from a AnalyticsServiceListSessionEventsWithResponse call
func (AnalyticsServiceListSessionEventsResponse) ContentType ¶ added in v2.19.0
func (r AnalyticsServiceListSessionEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceListSessionEventsResponse) GetBody ¶ added in v2.19.0
func (r AnalyticsServiceListSessionEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceListSessionEventsResponse) GetJSON200 ¶ added in v2.19.0
func (r AnalyticsServiceListSessionEventsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionEventsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceListSessionEventsResponse) GetJSONDefault ¶ added in v2.19.3
func (r AnalyticsServiceListSessionEventsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceListSessionEventsResponse) Status ¶ added in v2.19.0
func (r AnalyticsServiceListSessionEventsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceListSessionEventsResponse) StatusCode ¶ added in v2.19.0
func (r AnalyticsServiceListSessionEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsServiceListSessionParticipantsParams ¶ added in v2.19.0
type AnalyticsServiceListSessionParticipantsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// SortBy The field to sort by. Defaults to `joinedAt`.
SortBy *LivekitPublicapiAnalyticsV1ParticipantSortField `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// SortOrder The sort direction of `sortBy`. Defaults to descending (newest
// first).
SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
AnalyticsServiceListSessionParticipantsParams defines parameters for AnalyticsServiceListSessionParticipants.
type AnalyticsServiceListSessionParticipantsResponse ¶ added in v2.19.0
type AnalyticsServiceListSessionParticipantsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiAnalyticsV1SessionParticipantsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseAnalyticsServiceListSessionParticipantsResponse ¶ added in v2.19.0
func ParseAnalyticsServiceListSessionParticipantsResponse(rsp *http.Response) (*AnalyticsServiceListSessionParticipantsResponse, error)
ParseAnalyticsServiceListSessionParticipantsResponse parses an HTTP response from a AnalyticsServiceListSessionParticipantsWithResponse call
func (AnalyticsServiceListSessionParticipantsResponse) ContentType ¶ added in v2.19.0
func (r AnalyticsServiceListSessionParticipantsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnalyticsServiceListSessionParticipantsResponse) GetBody ¶ added in v2.19.0
func (r AnalyticsServiceListSessionParticipantsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnalyticsServiceListSessionParticipantsResponse) GetJSON200 ¶ added in v2.19.0
func (r AnalyticsServiceListSessionParticipantsResponse) GetJSON200() *LivekitPublicapiAnalyticsV1SessionParticipantsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnalyticsServiceListSessionParticipantsResponse) GetJSONDefault ¶ added in v2.19.3
func (r AnalyticsServiceListSessionParticipantsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (AnalyticsServiceListSessionParticipantsResponse) Status ¶ added in v2.19.0
func (r AnalyticsServiceListSessionParticipantsResponse) Status() string
Status returns HTTPResponse.Status
func (AnalyticsServiceListSessionParticipantsResponse) StatusCode ¶ added in v2.19.0
func (r AnalyticsServiceListSessionParticipantsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AgentBuilderServiceCreateAgent ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceCreateAgent(ctx context.Context, projectId string, body AgentBuilderServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceCreateAgent CreateAgent
Creates an Agent Builder agent from a name and a configuration. The agent
is not deployed: call `DeployAgent` to run it. Unset configuration properties take their default, and unknown properties are ignored. A configuration that is not valid fails with `InvalidArgument` and a `google.rpc.BadRequest` detail. It has a field violation for each problem, up to 100, which names a field, such as `config.httpTools[0].url`, and what is wrong with it. A config with more problems gets one last violation for `config` that says how many more. `********` is not a valid header value: send the value itself.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
func (*Client) AgentBuilderServiceCreateAgentWithBody ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceCreateAgentWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceCreateAgentWithBody CreateAgent
Creates an Agent Builder agent from a name and a configuration. The agent
is not deployed: call `DeployAgent` to run it. Unset configuration properties take their default, and unknown properties are ignored. A configuration that is not valid fails with `InvalidArgument` and a `google.rpc.BadRequest` detail. It has a field violation for each problem, up to 100, which names a field, such as `config.httpTools[0].url`, and what is wrong with it. A config with more problems gets one last violation for `config` that says how many more. `********` is not a valid header value: send the value itself.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
func (*Client) AgentBuilderServiceDeleteAgent ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceDeleteAgent(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceDeleteAgent DeleteAgent
Deletes an Agent Builder agent, its versions, and its deployment.
Corresponds with DELETE /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceDeleteAgent` operationId).
func (*Client) AgentBuilderServiceDeployAgent ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceDeployAgent(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceDeployAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceDeployAgent DeployAgent
Starts a deployment of the current configuration of an Agent Builder
agent, or of an earlier version. The call returns when the build starts, with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after the call returns. Call `GetAgent` to follow the deployment until its status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
func (*Client) AgentBuilderServiceDeployAgentWithBody ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceDeployAgentWithBody(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceDeployAgentWithBody DeployAgent
Starts a deployment of the current configuration of an Agent Builder
agent, or of an earlier version. The call returns when the build starts, with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after the call returns. Call `GetAgent` to follow the deployment until its status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
func (*Client) AgentBuilderServiceGetAgent ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceGetAgent(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceGetAgent GetAgent
Returns an Agent Builder agent with its current configuration and its
deployment status. A `READ` member reads `********` in place of each header value.
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceGetAgent` operationId).
func (*Client) AgentBuilderServiceGetAgentCodeURL ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceGetAgentCodeURL(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceGetAgentCodeURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceGetAgentCodeURL GetAgentCodeURL
Returns a short-lived URL that downloads the agent code of an Agent
Builder agent version as a zip file. The zip holds `src/agent.py`, `pyproject.toml`, `.env.example`, a `Dockerfile`, and the project docs, so that you can run and change the agent yourself. The URL needs no credentials and is valid until `expiresAt`. The agent code holds every header value, so the call requires the `WRITE` role. A version whose configuration can't make agent code returns `FailedPrecondition`.
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/code-url (the `AgentBuilderServiceGetAgentCodeURL` operationId).
func (*Client) AgentBuilderServiceListAgentVersions ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceListAgentVersions(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceListAgentVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceListAgentVersions ListAgentVersions
Lists the versions of an Agent Builder agent, newest first, each with its
configuration. To deploy an earlier version, pass its ID to `DeployAgent`. To make its configuration current again, pass the configuration to `UpdateAgent`. A `READ` member reads `********` in place of each header value.
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/versions (the `AgentBuilderServiceListAgentVersions` operationId).
func (*Client) AgentBuilderServiceListAgents ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceListAgents(ctx context.Context, projectId string, params *AgentBuilderServiceListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceListAgents ListAgents
Lists the Agent Builder agents of a project by name, with the deployment
status of each. The list does not include configurations. To get the configuration of an agent, call `GetAgent`.
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceListAgents` operationId).
func (*Client) AgentBuilderServiceUpdateAgent ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceUpdateAgent(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceUpdateAgent UpdateAgent
Changes the configuration of an Agent Builder agent, its name, or both. A
new configuration makes a new version. A new name does not. The running agent does not change until you deploy again. Until then, it keeps the old configuration and registers under the old name. After that deploy, a dispatch or a SIP dispatch rule that uses the old name no longer reaches it. A request with neither `config` nor `name` fails with `InvalidArgument`. A name that another Agent Builder agent of the project has fails with `AlreadyExists`. A configuration that is not valid fails as it does in `CreateAgent`, which includes `********` as a header value.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
func (*Client) AgentBuilderServiceUpdateAgentWithBody ¶ added in v2.20.2
func (c *Client) AgentBuilderServiceUpdateAgentWithBody(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentBuilderServiceUpdateAgentWithBody UpdateAgent
Changes the configuration of an Agent Builder agent, its name, or both. A
new configuration makes a new version. A new name does not. The running agent does not change until you deploy again. Until then, it keeps the old configuration and registers under the old name. After that deploy, a dispatch or a SIP dispatch rule that uses the old name no longer reaches it. A request with neither `config` nor `name` fails with `InvalidArgument`. A name that another Agent Builder agent of the project has fails with `AlreadyExists`. A configuration that is not valid fails as it does in `CreateAgent`, which includes `********` as a header value.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
func (*Client) AnalyticsServiceGetAgentInsights ¶ added in v2.20.2
func (c *Client) AnalyticsServiceGetAgentInsights(ctx context.Context, projectId string, params *AnalyticsServiceGetAgentInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceGetAgentInsights Returns the agent insights of a project over a time range: the totals and
latencies of its agents, one item for each agent, and one item for each model that the agents used. This is the data that the agent dashboards of LiveKit Cloud show.
The data comes from the turns, model requests, and tool calls that the
agents recorded. Simulated sessions are not included. When `range.startTime` is unset, the range starts 7 days before its end. The range does not include `range.endTime`. The range can be at most 30 days. Errors: a range longer than 30 days, a range whose `startTime` is not before its `endTime`, a range that starts after now, more than 25 agents in `agentIds` and `agentNames` together, or an empty agent ID or name returns `InvalidArgument`.
Corresponds with GET /v0/projects/{projectId}/agent-insights (the `AnalyticsServiceGetAgentInsights` operationId).
func (*Client) AnalyticsServiceGetEvalResults ¶ added in v2.20.2
func (c *Client) AnalyticsServiceGetEvalResults(ctx context.Context, projectId string, params *AnalyticsServiceGetEvalResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceGetEvalResults Returns the eval results of a project over a time range: the totals, one
item for each eval, eval version and agent, and the error codes. An eval is a set of criteria that LiveKit checks on each finished live session of the agents of a project. This is the data that the evals page of LiveKit Cloud shows.
Each count is a number of sessions. The range selects sessions by their
end time, and expands to whole 5-minute periods. Simulated sessions are not included. When `range.startTime` is unset, the range starts 7 days before its end. A session that ends at `range.endTime` is included, unless `range.endTime` is on a 5-minute boundary. The range can be at most 60 days. Errors: a range longer than 60 days, a range whose `startTime` is not before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`, `intentIds`, or `outcomeIds` returns `InvalidArgument`.
Corresponds with GET /v0/projects/{projectId}/eval-results (the `AnalyticsServiceGetEvalResults` operationId).
func (*Client) AnalyticsServiceGetSession ¶
func (c *Client) AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceGetSession GetSession
Returns one room session. The response has the `session` that the list
returns, and a `detail` with the participants and the metric timelines.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
func (*Client) AnalyticsServiceGetSessionLabelResults ¶ added in v2.20.2
func (c *Client) AnalyticsServiceGetSessionLabelResults(ctx context.Context, projectId string, params *AnalyticsServiceGetSessionLabelResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceGetSessionLabelResults Returns the session labels of a project over a time range: the number of
sessions with each intent and each outcome, the number of sessions with each pair of intent and outcome, and the eval results of the sessions with each label. A session label is an intent (what the user wanted) or an outcome (how the session ended) that LiveKit assigns to each finished live session.
The eval results name each eval by its ID only. To get the names, call
`GetEvalResults` and read `evals`, or call `ListEvals`. The range selects sessions by their end time, and expands to whole 5-minute periods. Simulated sessions are not included. When `range.startTime` is unset, the range starts 7 days before its end. A session that ends at `range.endTime` is included, unless `range.endTime` is on a 5-minute boundary. The range can be at most 60 days. Errors: a range longer than 60 days, a range whose `startTime` is not before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`, `intentIds`, or `outcomeIds` returns `InvalidArgument`.
Corresponds with GET /v0/projects/{projectId}/session-label-results (the `AnalyticsServiceGetSessionLabelResults` operationId).
func (*Client) AnalyticsServiceListProjectSessions ¶
func (c *Client) AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceListProjectSessions ListProjectSessions
Lists the room sessions of a project, newest first. When
`filter.range.startTime` is unset, the range starts 14 days before its end. A session that started at `filter.range.endTime` is not included.
Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
func (*Client) AnalyticsServiceListSessionEvents ¶ added in v2.19.0
func (c *Client) AnalyticsServiceListSessionEvents(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceListSessionEvents Lists the events of a room session. Defaults to oldest first. The page info
has no total.
When `types` is empty, the list has these seven types:
`PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`, `PARTICIPANT_RESUMED`, `ROOM_CREATED`, `ROOM_ENDED`, and `API_CALL`. To get other types, such as `TRACK_PUBLISHED`, set `types`. To get the events of one participant session, set `participantSessionId`. When you set `participantSessionId` and `types` is empty, the list has these eleven types: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_RESUMED`, `PARTICIPANT_ACTIVE`, `TRACK_MUTED`, `TRACK_UNMUTED`, `TRACK_PUBLISHED`, `TRACK_UNPUBLISHED`, `TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED`, and `TRACK_SUBSCRIBE_FAILED`. Each type matches exactly, so `TRACK_PUBLISHED` does not also return `TRACK_PUBLISHED_UPDATE`. The `payload` of an event has only a fixed set of fields. It does not include participant attributes, participant metadata, or the request bodies of API calls. Each event and participant item has the identity of the participant. For a SIP caller, the identity can be a phone number. LiveKit keeps events for 60 days. This can be shorter than the other data of the session, so an older session can have no events. An `ACTIVE` session lists the events recorded until now. Errors: an unknown type or a malformed participant session ID returns `InvalidArgument`. An unknown session returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).
func (*Client) AnalyticsServiceListSessionParticipants ¶ added in v2.19.0
func (c *Client) AnalyticsServiceListSessionParticipants(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AnalyticsServiceListSessionParticipants ListSessionParticipants
Lists the participants of a room session, one item for each identity.
Defaults to newest join first. Each item has the participant sessions of the participant (`PA_...`), each with the client that it connected from.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).
func (*Client) EvalServiceCreateEval ¶ added in v2.20.2
func (c *Client) EvalServiceCreateEval(ctx context.Context, projectId string, body EvalServiceCreateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceCreateEval Creates an eval, with its definition as the first draft. The eval scores
nothing until you publish the draft with `PublishEvalDraft`. Returns the eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A name that another eval of the project has returns `AlreadyExists`. A project with the maximum number of evals returns `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
func (*Client) EvalServiceCreateEvalWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceCreateEvalWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceCreateEvalWithBody Creates an eval, with its definition as the first draft. The eval scores
nothing until you publish the draft with `PublishEvalDraft`. Returns the eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A name that another eval of the project has returns `AlreadyExists`. A project with the maximum number of evals returns `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
func (*Client) EvalServiceCreateSessionLabel ¶ added in v2.20.2
func (c *Client) EvalServiceCreateSessionLabel(ctx context.Context, projectId string, body EvalServiceCreateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceCreateSessionLabel Creates a session label. LiveKit applies the label to the sessions that
end after the label exists, and the label does not reach sessions that ended before. The LLM that assigns labels reads the `description` of each label, so a description is required. The first label of a project turns labeling on, and each labeled session uses LLM inference that LiveKit pays for.
Errors: a field that is wrong returns `InvalidArgument`, with each field
in the error details. A name that another active label of the same kind has returns `AlreadyExists`. A project with the maximum number of active labels of the kind, or an agent that would have too many labels of the kind, returns `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
func (*Client) EvalServiceCreateSessionLabelWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceCreateSessionLabelWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceCreateSessionLabelWithBody Creates a session label. LiveKit applies the label to the sessions that
end after the label exists, and the label does not reach sessions that ended before. The LLM that assigns labels reads the `description` of each label, so a description is required. The first label of a project turns labeling on, and each labeled session uses LLM inference that LiveKit pays for.
Errors: a field that is wrong returns `InvalidArgument`, with each field
in the error details. A name that another active label of the same kind has returns `AlreadyExists`. A project with the maximum number of active labels of the kind, or an agent that would have too many labels of the kind, returns `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
func (*Client) EvalServiceDeleteEval ¶ added in v2.20.2
func (c *Client) EvalServiceDeleteEval(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceDeleteEval Deletes an eval. LiveKit stops scoring sessions with it, and its past
results stay. `UndeleteEval` brings it back.
Errors: an unknown eval returns `NotFound`.
Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceDeleteEval` operationId).
func (*Client) EvalServiceDeleteSessionLabel ¶ added in v2.20.2
func (c *Client) EvalServiceDeleteSessionLabel(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceDeleteSessionLabel Deletes a session label. LiveKit stops assigning it, and the labels that
it assigned to past sessions stay. The response lists the active evals that still name the label in `run.when`. The delete happens either way, so fix those evals. `UndeleteSessionLabel` brings the label back with the same ID. Deleting a deleted label changes nothing.
Errors: an unknown label returns `NotFound`.
Corresponds with DELETE /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceDeleteSessionLabel` operationId).
func (*Client) EvalServiceDiffEvalRevisions ¶ added in v2.20.2
func (c *Client) EvalServiceDiffEvalRevisions(ctx context.Context, projectId string, evalId string, params *EvalServiceDiffEvalRevisionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceDiffEvalRevisions Returns the changes between two versions of the definition of an eval,
field by field. Each version is a revision or the draft. The changes are to the definition as it was written, without the judge defaults of the project.
Errors: an unknown eval, revision or draft returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/diff (the `EvalServiceDiffEvalRevisions` operationId).
func (*Client) EvalServiceDiscardEvalDraft ¶ added in v2.20.2
func (c *Client) EvalServiceDiscardEvalDraft(ctx context.Context, projectId string, evalId string, params *EvalServiceDiscardEvalDraftParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceDiscardEvalDraft Discards the draft of an eval. The live revision does not change. Pass the
`draftEtag` that you last read, so that you do not discard a change that someone else made.
Errors: an unknown eval, or an eval with no draft, returns `NotFound`. A
`draftEtag` that is not the current one returns `Aborted`.
Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceDiscardEvalDraft` operationId).
func (*Client) EvalServiceGetEval ¶ added in v2.20.2
func (c *Client) EvalServiceGetEval(ctx context.Context, projectId string, evalId string, params *EvalServiceGetEvalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceGetEval Returns an eval and one version of its definition: the live revision, a
revision that you name, or the draft. Without `version`, returns the live revision, or the draft when nothing is published. A deleted eval is still readable.
Errors: an unknown eval returns `NotFound`. A revision or a draft that the
eval does not have also returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceGetEval` operationId).
func (*Client) EvalServiceGetEvalDefaults ¶ added in v2.20.2
func (c *Client) EvalServiceGetEvalDefaults(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceGetEvalDefaults GetEvalDefaults
Returns the judge defaults of the project, and the judge models that a
definition can name. Each eval uses the judge defaults for the judge settings that its definition does not set.
Corresponds with GET /v0/projects/{projectId}/eval-defaults (the `EvalServiceGetEvalDefaults` operationId).
func (*Client) EvalServiceGetSessionLabelSettings ¶ added in v2.20.2
func (c *Client) EvalServiceGetSessionLabelSettings(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceGetSessionLabelSettings GetSessionLabelSettings
Returns the settings that decide which sessions LiveKit labels. A project
that never changed them has the default values.
Corresponds with GET /v0/projects/{projectId}/session-label-settings (the `EvalServiceGetSessionLabelSettings` operationId).
func (*Client) EvalServiceListEvalHistory ¶ added in v2.20.2
func (c *Client) EvalServiceListEvalHistory(ctx context.Context, projectId string, evalId string, params *EvalServiceListEvalHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceListEvalHistory ListEvalHistory
Lists the history of an eval, newest first: each publish, rollback,
delete and undelete, and each change of its name or description.
Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/history (the `EvalServiceListEvalHistory` operationId).
func (*Client) EvalServiceListEvals ¶ added in v2.20.2
func (c *Client) EvalServiceListEvals(ctx context.Context, projectId string, params *EvalServiceListEvalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceListEvals ListEvals
Lists the evals of a project, sorted by name, ignoring case. The list is always one page,
with every eval. A project has at most 500 active evals. Each item has the live revision number and says whether the eval has a draft, but has no definition. To read a definition, use `GetEval`.
Corresponds with GET /v0/projects/{projectId}/evals (the `EvalServiceListEvals` operationId).
func (*Client) EvalServiceListSessionLabels ¶ added in v2.20.2
func (c *Client) EvalServiceListSessionLabels(ctx context.Context, projectId string, params *EvalServiceListSessionLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceListSessionLabels ListSessionLabels
Lists the session labels of a project, sorted by name, ignoring case. The
list is always one page, with every label of the kind. A project has at most 500 active labels of each kind.
Corresponds with GET /v0/projects/{projectId}/session-labels (the `EvalServiceListSessionLabels` operationId).
func (*Client) EvalServicePublishEvalDraft ¶ added in v2.20.2
func (c *Client) EvalServicePublishEvalDraft(ctx context.Context, projectId string, evalId string, body EvalServicePublishEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServicePublishEvalDraft Publishes the draft of an eval as its next revision, and makes that
revision live. From now on, the eval scores every matching live session of the project, and each judged criterion uses LLM judge inference that LiveKit pays for. Pass the `draftEtag` that you last read.
Errors: a draft that is not complete returns `InvalidArgument`, with each
field in the error details. A `draftEtag` that is not the current one returns `Aborted`. When the live revision changed after the draft was opened, returns `FailedPrecondition`: compare the two with `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
func (*Client) EvalServicePublishEvalDraftWithBody ¶ added in v2.20.2
func (c *Client) EvalServicePublishEvalDraftWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServicePublishEvalDraftWithBody Publishes the draft of an eval as its next revision, and makes that
revision live. From now on, the eval scores every matching live session of the project, and each judged criterion uses LLM judge inference that LiveKit pays for. Pass the `draftEtag` that you last read.
Errors: a draft that is not complete returns `InvalidArgument`, with each
field in the error details. A `draftEtag` that is not the current one returns `Aborted`. When the live revision changed after the draft was opened, returns `FailedPrecondition`: compare the two with `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
func (*Client) EvalServiceRollbackEval ¶ added in v2.20.2
func (c *Client) EvalServiceRollbackEval(ctx context.Context, projectId string, evalId string, body EvalServiceRollbackEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceRollbackEval Makes a copy of an older revision of an eval the next revision, and makes
it live. From now on, the eval scores every matching live session of the project with that definition. The older revision and the history do not change.
Errors: an unknown eval or revision returns `NotFound`. The live revision
returns `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
func (*Client) EvalServiceRollbackEvalWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceRollbackEvalWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceRollbackEvalWithBody Makes a copy of an older revision of an eval the next revision, and makes
it live. From now on, the eval scores every matching live session of the project with that definition. The older revision and the history do not change.
Errors: an unknown eval or revision returns `NotFound`. The live revision
returns `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
func (*Client) EvalServiceSaveEvalDraft ¶ added in v2.20.2
func (c *Client) EvalServiceSaveEvalDraft(ctx context.Context, projectId string, evalId string, body EvalServiceSaveEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceSaveEvalDraft Saves the draft of an eval, and replaces the draft that was there. The
draft scores nothing until you publish it. Pass the `draftEtag` that you last read, so that you do not overwrite a change that someone else made. Leave it empty when the eval has no draft.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A `draftEtag` that is not the current one returns `Aborted`: read the eval again, and repeat the change on its draft.
Takes a body of the `application/json` content type.
Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
func (*Client) EvalServiceSaveEvalDraftWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceSaveEvalDraftWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceSaveEvalDraftWithBody Saves the draft of an eval, and replaces the draft that was there. The
draft scores nothing until you publish it. Pass the `draftEtag` that you last read, so that you do not overwrite a change that someone else made. Leave it empty when the eval has no draft.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A `draftEtag` that is not the current one returns `Aborted`: read the eval again, and repeat the change on its draft.
Takes any type of body and a specified content type.
Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
func (*Client) EvalServiceUndeleteEval ¶ added in v2.20.2
func (c *Client) EvalServiceUndeleteEval(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUndeleteEval Undeletes an eval. If it has a live revision, LiveKit scores sessions with
it again.
Errors: an unknown eval returns `NotFound`. A name that another eval of
the project has taken returns `AlreadyExists`. A project with the maximum number of evals returns `FailedPrecondition`.
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:undelete (the `EvalServiceUndeleteEval` operationId).
func (*Client) EvalServiceUndeleteSessionLabel ¶ added in v2.20.2
func (c *Client) EvalServiceUndeleteSessionLabel(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUndeleteSessionLabel Undeletes a session label, with its old ID, so the evals that name the ID
match it again. The name and the limits of the project apply again. Undeleting an active label changes nothing.
Errors: an unknown label returns `NotFound`. A name that another active
label of the same kind has taken returns `AlreadyExists`. A project with the maximum number of active labels of the kind, or an agent that would have too many labels of the kind, returns `FailedPrecondition`.
Corresponds with POST /v0/projects/{projectId}/session-labels/{labelId}:undelete (the `EvalServiceUndeleteSessionLabel` operationId).
func (*Client) EvalServiceUpdateEval ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateEval(ctx context.Context, projectId string, evalId string, body EvalServiceUpdateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateEval Changes the name or the description of an eval. A field that you leave
out does not change. A change takes effect at once, and does not need a publish.
Errors: an unknown eval returns `NotFound`. A name that another eval of
the project has returns `AlreadyExists`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
func (*Client) EvalServiceUpdateEvalDefaults ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateEvalDefaults(ctx context.Context, projectId string, body EvalServiceUpdateEvalDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateEvalDefaults Replaces the judge defaults of the project. A revision keeps the defaults
that it was published with, so the change reaches an eval at its next publish.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details.
Takes a body of the `application/json` content type.
Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
func (*Client) EvalServiceUpdateEvalDefaultsWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateEvalDefaultsWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateEvalDefaultsWithBody Replaces the judge defaults of the project. A revision keeps the defaults
that it was published with, so the change reaches an eval at its next publish.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details.
Takes any type of body and a specified content type.
Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
func (*Client) EvalServiceUpdateEvalWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateEvalWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateEvalWithBody Changes the name or the description of an eval. A field that you leave
out does not change. A change takes effect at once, and does not need a publish.
Errors: an unknown eval returns `NotFound`. A name that another eval of
the project has returns `AlreadyExists`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
func (*Client) EvalServiceUpdateSessionLabel ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateSessionLabel(ctx context.Context, projectId string, labelId string, body EvalServiceUpdateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateSessionLabel Changes a session label. A field that you leave out does not change. The
kind of a label does not change. A change applies to the sessions that end after it. Evals refer to a label by its ID, so a new name does not change them.
Errors: an unknown label returns `NotFound`. A deleted label returns
`FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A name that another active label of the same kind has returns `AlreadyExists`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
func (*Client) EvalServiceUpdateSessionLabelSettings ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateSessionLabelSettings(ctx context.Context, projectId string, body EvalServiceUpdateSessionLabelSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateSessionLabelSettings Replaces the session label settings of a project. A field that you leave
out goes back to its default value, so send every field that you want to keep.
Errors: a value that is wrong, such as a `confidenceThreshold` outside the
range, returns `InvalidArgument`, with each field in the error details.
Takes a body of the `application/json` content type.
Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
func (*Client) EvalServiceUpdateSessionLabelSettingsWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateSessionLabelSettingsWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateSessionLabelSettingsWithBody Replaces the session label settings of a project. A field that you leave
out goes back to its default value, so send every field that you want to keep.
Errors: a value that is wrong, such as a `confidenceThreshold` outside the
range, returns `InvalidArgument`, with each field in the error details.
Takes any type of body and a specified content type.
Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
func (*Client) EvalServiceUpdateSessionLabelWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceUpdateSessionLabelWithBody(ctx context.Context, projectId string, labelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceUpdateSessionLabelWithBody Changes a session label. A field that you leave out does not change. The
kind of a label does not change. A change applies to the sessions that end after it. Evals refer to a label by its ID, so a new name does not change them.
Errors: an unknown label returns `NotFound`. A deleted label returns
`FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A name that another active label of the same kind has returns `AlreadyExists`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
func (*Client) EvalServiceValidateEval ¶ added in v2.20.2
func (c *Client) EvalServiceValidateEval(ctx context.Context, projectId string, body EvalServiceValidateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceValidateEval ValidateEval
Checks an eval definition, and saves nothing. Returns the definition with
the judge defaults of the project applied, and each field that is wrong or missing. A definition can be published only when it has no violations. The call returns OK also when the definition has violations.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
func (*Client) EvalServiceValidateEvalWithBody ¶ added in v2.20.2
func (c *Client) EvalServiceValidateEvalWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvalServiceValidateEvalWithBody ValidateEval
Checks an eval definition, and saves nothing. Returns the definition with
the judge defaults of the project applied, and each field that is wrong or missing. A definition can be published only when it has no violations. The call returns OK also when the definition has violations.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
func (*Client) ObservabilityServiceGetSessionEvals ¶ added in v2.20.2
func (c *Client) ObservabilityServiceGetSessionEvals(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceGetSessionEvals Returns the eval results of a session: the newest result of each eval
that LiveKit scored on each agent job of the session, with the answer of each criterion, the answers of its judges, and why a failed criterion failed. It also returns the intent and the outcome that LiveKit assigned to each agent job. These are the results that the evals tab of a session on the dashboard shows.
A judge is an LLM that answers a criterion. A failure reason explains a
failed criterion of a failed eval, and a failure excerpt quotes the transcript lines that show the failure. LiveKit scores a session after its agent uploads the session recording, and the judges can take minutes after the session ends. Thus, a session that LiveKit has not scored yet returns empty `evals` and `labels`, with no error. When an eval that you expect is missing, read again a few minutes later. An unknown session, or a session of another project, returns `NotFound`. A session with no results while user data recording is off returns the `ObservabilityDisabled` error.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/evals (the `ObservabilityServiceGetSessionEvals` operationId).
func (*Client) ObservabilityServiceGetSessionLogs ¶ added in v2.19.0
func (c *Client) ObservabilityServiceGetSessionLogs(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceGetSessionLogs Returns the log records that the agents of a session exported, in time
order. These are the records that the logs panel on the dashboard shows. The chat history is not included, because `GetSessionTranscript` returns it. Evaluation results are included. To get the events of the session, such as participants that join, use `AnalyticsService.ListSessionEvents`.
An `ACTIVE` session returns the records that its agents exported up to now.
While you page through the records, an agent can export a record with a time that your pages already passed. For example, in oldest-first order, a record with a time earlier than the cursor position. This read does not return that record. A new read returns it. An unknown session returns `NotFound`. A read filtered by `logLevels` can return no records because no record has those levels. Thus, only a read with no filter returns the `ObservabilityDisabled` error.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).
func (*Client) ObservabilityServiceGetSessionMetrics ¶ added in v2.19.0
func (c *Client) ObservabilityServiceGetSessionMetrics(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceGetSessionMetrics Returns the OpenTelemetry metric points that the agents of a session
exported, ordered by time. The points include turn latencies, such as `lk.agents.turn.e2e_latency` and `lk.agents.turn.llm_ttft`, token and duration usage, such as `lk.agents.usage.llm_input_tokens`, and the `gen_ai.*` histograms. They also include the metrics that the agent's own code recorded.
These are the raw metrics that agents export. They do not exactly match the
metrics panel on the dashboard, which calculates its values from the transcript and traces. Only an agent that exports OpenTelemetry metrics to LiveKit Cloud has points. An agent whose code installs its own `MeterProvider` exports no metrics to LiveKit Cloud, and its sessions return no points. Some points do not have the labels that their agent exported. LiveKit Cloud groups the series of a session by their attributes only, and gives each group the name of its first point. This has these results. Several metrics can have one name. For example, the input, output, and cached token counts of an LLM all have the name `lk.agents.usage.llm_input_tokens`. Points of one series with the same time and the same value become one point. When a session has two agents, a point can have the resource attributes of the other agent. An agent exports its metrics every 30 seconds, and its turn latencies when the session ends. Thus, an `ACTIVE` session returns the points that its agents exported up to now. An unknown session returns `NotFound`. A read filtered by `names` can return no points because no metric has those names. Thus, only a read with no filter returns the `ObservabilityDisabled` error.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).
func (*Client) ObservabilityServiceGetSessionRecordingURL ¶ added in v2.19.0
func (c *Client) ObservabilityServiceGetSessionRecordingURL(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceGetSessionRecordingURL GetSessionRecordingURL
Returns a short-lived signed URL for a session recording: its audio
or its chat history. When the recording doesn't exist and `dataStatus.state` is `DATA_STATE_SESSION_ACTIVE` or `DATA_STATE_SETTLING`, the response has an empty `url`, because the agent can still upload the recording. In every other state, a session with no recording of that type returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).
func (*Client) ObservabilityServiceGetSessionTraces ¶ added in v2.19.0
func (c *Client) ObservabilityServiceGetSessionTraces(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceGetSessionTraces Returns the spans that the agents of a session exported, ordered by start
time. These are the spans that the trace view on the dashboard shows. Each span names its parent, so you can build the span tree from the pages. The attributes of a span hold the turn and latency fields that the turn view on the dashboard uses, such as `lk.generation_id` and `lk.response.ttft`.
An `ACTIVE` session returns the spans that its agents exported up to now. A
span exported after the first page appears only in a new read. The API reads the later pages by offset, so a span exported during your read can move them. Thus, a span can repeat, or a page can skip a span. Remove duplicates by `spanId`. To get a skipped span, read again from the first page. An unknown session returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).
func (*Client) ObservabilityServiceGetSessionTranscript ¶ added in v2.19.0
func (c *Client) ObservabilityServiceGetSessionTranscript(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceGetSessionTranscript Returns the conversation of a session as ordered transcript items. The
items are messages, tool calls and results, agent handoffs, and agent configuration changes. It is the conversation that the transcript on the dashboard shows.
The agent exports its transcript when the session ends. There is a delay
before you can read it, and the length of the delay is not fixed. On a project with PII redaction, you can read it only after LiveKit redacts the session recording. Thus, an `ACTIVE` session returns the items that exist, usually none, with no error. Read it again after the session ends. An unknown session returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).
func (*Client) ObservabilityServiceListEvalSessions ¶ added in v2.20.2
func (c *Client) ObservabilityServiceListEvalSessions(ctx context.Context, projectId string, params *ObservabilityServiceListEvalSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceListEvalSessions Lists the agent sessions that LiveKit scored with evals or labeled, newest
session end first. An eval is a set of criteria that LiveKit checks on each finished live session. Each item is one agent job in a session, with the result of each eval. These are the sessions that the evals page of the dashboard lists when you select a result.
With no `evalId`, `verdict` or `criterionId`, each item has the verdict and
score of every eval that scored the session, and a session that LiveKit only labeled has no evals. With `evalId` or `verdict`, each item has one eval and the IDs of the criteria that it failed. With `criterionId`, each item has the answer to that criterion and the answers of its judges. To get the failure reasons, call `GetSessionEvals`. The range selects sessions by their end time, and expands to whole 5-minute periods. A session that ends at `range.endTime` is included, unless `range.endTime` is on a 5-minute boundary. When `range.startTime` is unset, the range starts 7 days before its end. The range can be at most 30 days. Simulated sessions are not included. Errors: a range longer than 30 days, a range whose `startTime` is not before its `endTime`, more than 25 entries in `agentNames`, `intentIds`, or `outcomeIds`, a `criterionId` without an `evalId` or with a `verdict`, or a cursor from another request returns `InvalidArgument`. A read with no filter that returns no sessions while user data recording is off returns the `ObservabilityDisabled` error.
Corresponds with GET /v0/projects/{projectId}/eval-sessions (the `ObservabilityServiceListEvalSessions` operationId).
func (*Client) ObservabilityServiceListLogPatterns ¶ added in v2.20.2
func (c *Client) ObservabilityServiceListLogPatterns(ctx context.Context, projectId string, params *ObservabilityServiceListLogPatternsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceListLogPatterns Lists the log patterns of a project in a time range, ranked, with their
counts over time. A log pattern is a group of log records that log the same message from one place in the code, at one level. Its template is the message with each variable part, such as a number or an ID, replaced by a placeholder. These are the patterns that the logs page on the dashboard groups the records into.
When `range.startTime` is unset, the range starts 24 hours before its
end. The range does not include `range.endTime`. The API keeps log records for 14 days. One read covers at most the 7 days before the end of its range. A range that starts earlier reads the records of those 7 days. A range that ends more than 14 days ago returns `InvalidArgument`. The read does not count the records of the current minute, and its answer can be up to one minute old. For a range of one day or more, these are five minutes. On a project with many records, the counts can be estimates. Then `estimated` is true: the API reads the records of a share of the sessions, and scales the counts. The read does not count the records of agent simulation sessions, unless you set `sessionId`. A read with a filter can return no patterns because no record matches. Thus, only a read with no `query`, `minLevel`, `sources`, `agentName`, `agentId`, or `sessionId` returns the `ObservabilityDisabled` error.
Corresponds with GET /v0/projects/{projectId}/log-patterns (the `ObservabilityServiceListLogPatterns` operationId).
func (*Client) ObservabilityServiceListProjectLogs ¶ added in v2.20.2
func (c *Client) ObservabilityServiceListProjectLogs(ctx context.Context, projectId string, params *ObservabilityServiceListProjectLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ObservabilityServiceListProjectLogs Lists the log records of a project in a time range, from its agents, its
client SDKs, and LiveKit, newest first by default. These are the records that the logs page on the dashboard shows. The chat history is not included, because `GetSessionTranscript` returns it.
When `range.startTime` is unset, the range starts 24 hours before its
end. The range includes `range.endTime`, to the millisecond. The API keeps log records for 14 days. One read returns at most the 7 days before the end of its range. A range that starts earlier returns the records of those 7 days. A range that ends more than 14 days ago returns `InvalidArgument`. A record that arrives after you read a page can have a time that your pages already passed. This read does not return that record. A new read returns it. Records from the last few minutes can still arrive. A read with a filter can return no records because no record matches. Thus, only a read with no filter returns the `ObservabilityDisabled` error.
Corresponds with GET /v0/projects/{projectId}/logs (the `ObservabilityServiceListProjectLogs` operationId).
func (*Client) ProjectServiceAddWorkspaceMembersToProject ¶
func (c *Client) ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAddWorkspaceMembersToProject AddWorkspaceMembersToProject
Adds members of the workspace to a project where `isPrivate` is `true`, all
with one role. A user who is already a member of the project gets the new role, so a retry gives the same result. The API sends an email to each user that it adds, except you. A project where `isPrivate` is `false` returns `InvalidArgument`. A user who is not a member of the workspace returns `NotFound`, and the API adds no one. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response lists the members in no specific order. An empty `userIds` changes nothing.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*Client) ProjectServiceAddWorkspaceMembersToProjectWithBody ¶
func (c *Client) ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAddWorkspaceMembersToProjectWithBody AddWorkspaceMembersToProject
Adds members of the workspace to a project where `isPrivate` is `true`, all
with one role. A user who is already a member of the project gets the new role, so a retry gives the same result. The API sends an email to each user that it adds, except you. A project where `isPrivate` is `false` returns `InvalidArgument`. A user who is not a member of the workspace returns `NotFound`, and the API adds no one. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response lists the members in no specific order. An empty `userIds` changes nothing.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*Client) ProjectServiceAnswerInvitation ¶
func (c *Client) ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAnswerInvitation AnswerInvitation
Accepts or declines a project invite that was sent to you. When you accept,
you become a member of the project with the role of the invite. When the project is in a workspace, you also become a member of the workspace and of every project in it where `isPrivate` is `false`, with the same role. If you are already a member, the role of the invite replaces your role. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*Client) ProjectServiceAnswerInvitationWithBody ¶
func (c *Client) ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceAnswerInvitationWithBody AnswerInvitation
Accepts or declines a project invite that was sent to you. When you accept,
you become a member of the project with the role of the invite. When the project is in a workspace, you also become a member of the workspace and of every project in it where `isPrivate` is `false`, with the same role. If you are already a member, the role of the invite replaces your role. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*Client) ProjectServiceCreateProject ¶
func (c *Client) ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateProject CreateProject
Creates a project. You become a member of the project with the admin role
(`3`), and the API creates an API key that you own. When `workspaceId` is empty, the API also creates a workspace with the same name as the project, and you are its only member. When `isPrivate` is `false` and you set `workspaceId`, every member of the workspace becomes a member of the project, with their workspace role. A `subdomain` that another project uses returns `AlreadyExists`. When you reach the limit of free projects that you can create, or the project limit of the workspace plan, the request fails with `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
func (*Client) ProjectServiceCreateProjectWithBody ¶
func (c *Client) ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateProjectWithBody CreateProject
Creates a project. You become a member of the project with the admin role
(`3`), and the API creates an API key that you own. When `workspaceId` is empty, the API also creates a workspace with the same name as the project, and you are its only member. When `isPrivate` is `false` and you set `workspaceId`, every member of the workspace becomes a member of the project, with their workspace role. A `subdomain` that another project uses returns `AlreadyExists`. When you reach the limit of free projects that you can create, or the project limit of the workspace plan, the request fails with `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
func (*Client) ProjectServiceCreateToken ¶ added in v2.19.1
func (c *Client) ProjectServiceCreateToken(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateToken CreateToken
Creates a short-lived LiveKit access token for the project. The API signs
the token, so a signed-in user can call the LiveKit server APIs, such as rooms, SIP, and egress, or join a room without an API secret.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
func (*Client) ProjectServiceCreateTokenWithBody ¶ added in v2.19.1
func (c *Client) ProjectServiceCreateTokenWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateTokenWithBody CreateToken
Creates a short-lived LiveKit access token for the project. The API signs
the token, so a signed-in user can call the LiveKit server APIs, such as rooms, SIP, and egress, or join a room without an API secret.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
func (*Client) ProjectServiceCreateWebhook ¶ added in v2.19.1
func (c *Client) ProjectServiceCreateWebhook(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateWebhook CreateWebhook
Creates a webhook destination for a project. It delivers LiveKit Cloud
events only, such as room, participant, track, egress, ingress and agent job events; it doesn't receive or forward events from other services, such as SMS. A `url` that is not an absolute HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event in `filterParams` that `ListWebhookEvents` does not return, or a `signingKey` that is not an API key of the project, also returns `InvalidArgument`. When `signingKey` is empty and the project has no API key, the request fails with `FailedPrecondition`. The call is not idempotent: a retry creates a second webhook.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
func (*Client) ProjectServiceCreateWebhookWithBody ¶ added in v2.19.1
func (c *Client) ProjectServiceCreateWebhookWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceCreateWebhookWithBody CreateWebhook
Creates a webhook destination for a project. It delivers LiveKit Cloud
events only, such as room, participant, track, egress, ingress and agent job events; it doesn't receive or forward events from other services, such as SMS. A `url` that is not an absolute HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event in `filterParams` that `ListWebhookEvents` does not return, or a `signingKey` that is not an API key of the project, also returns `InvalidArgument`. When `signingKey` is empty and the project has no API key, the request fails with `FailedPrecondition`. The call is not idempotent: a retry creates a second webhook.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
func (*Client) ProjectServiceDeleteInvite ¶
func (c *Client) ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceDeleteInvite DeleteInvite
Deletes a pending project invite, so that its link stops working. When the
project is in a workspace, the API also deletes the workspace invite for the same email. An invite that does not exist returns `NotFound`. An expired invite returns `FailedPrecondition`.
Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
func (*Client) ProjectServiceDeleteKey ¶ added in v2.19.0
func (c *Client) ProjectServiceDeleteKey(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceDeleteKey DeleteKey
Deletes an API key and its secret from a project. You cannot undo the
delete. A key that does not exist, or that belongs to another project, returns `NotFound`, so a retry returns `NotFound`.
Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).
func (*Client) ProjectServiceDeleteProject ¶
func (c *Client) ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceDeleteProject DeleteProject
Deletes a project, with its API keys, its webhooks, and its member list. You
cannot undo the delete. Another project can then use the subdomain. A retry returns `NotFound`.
Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
func (*Client) ProjectServiceDeleteWebhook ¶ added in v2.19.1
func (c *Client) ProjectServiceDeleteWebhook(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceDeleteWebhook DeleteWebhook
Deletes a webhook destination from a project. The project stops sending
events to its URL. A webhook that does not exist returns `NotFound`, so a retry returns `NotFound`.
Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).
func (*Client) ProjectServiceGenerateKey ¶ added in v2.19.0
func (c *Client) ProjectServiceGenerateKey(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGenerateKey GenerateKey
Creates an API key and secret for the project. The response includes the
secret. You cannot read the secret again.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
func (*Client) ProjectServiceGenerateKeyWithBody ¶ added in v2.19.0
func (c *Client) ProjectServiceGenerateKeyWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGenerateKeyWithBody GenerateKey
Creates an API key and secret for the project. The response includes the
secret. You cannot read the secret again.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
func (*Client) ProjectServiceGetInvite ¶
func (c *Client) ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGetInvite GetInvite
Returns a project invite that was sent to you, found by its token. Use it to
show the invite before you answer it with `AnswerInvitation`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
func (*Client) ProjectServiceGetMember ¶
func (c *Client) ProjectServiceGetMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGetMember GetMember
Returns the membership of one user on a project, with the role of the user.
A user who is not a member of the project returns `NotFound`.
Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
func (*Client) ProjectServiceGetProject ¶
func (c *Client) ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceGetProject GetProject
Returns a project with its settings and its webhooks. A project that you
cannot see returns `NotFound`.
Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).
func (*Client) ProjectServiceInviteMember ¶
func (c *Client) ProjectServiceInviteMember(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceInviteMember InviteMember
Invites a person to a project by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an invite for the email exists, the API replaces its role, token, and expiry, and the earlier link stops working. A retry replaces the invite and sends a new email. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*Client) ProjectServiceInviteMemberWithBody ¶
func (c *Client) ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceInviteMemberWithBody InviteMember
Invites a person to a project by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an invite for the email exists, the API replaces its role, token, and expiry, and the earlier link stops working. A retry replaces the invite and sends a new email. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*Client) ProjectServiceListInvites ¶
func (c *Client) ProjectServiceListInvites(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListInvites ListInvites
Lists the unexpired invites of a project, ordered by email.
Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
func (*Client) ProjectServiceListKeys ¶ added in v2.19.0
func (c *Client) ProjectServiceListKeys(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListKeys ListKeys
Lists the API keys of a project, oldest first. The list does not include
the secrets.
Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).
func (*Client) ProjectServiceListMembers ¶
func (c *Client) ProjectServiceListMembers(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListMembers ListMembers
Lists the project members, ordered by user ID.
Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
func (*Client) ProjectServiceListProjects ¶
func (c *Client) ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListProjects ListProjects
Lists projects, ordered by project ID. When you set no filter, the list has
the projects that you are a member of. A pending invite does not make you a member.
Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).
func (*Client) ProjectServiceListWebhookEvents ¶ added in v2.19.1
func (c *Client) ProjectServiceListWebhookEvents(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListWebhookEvents ListWebhookEvents
Lists the event names that the webhooks of a project can receive. The list
is always one page.
Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).
func (*Client) ProjectServiceListWebhooks ¶ added in v2.19.1
func (c *Client) ProjectServiceListWebhooks(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceListWebhooks ListWebhooks
Lists the webhook destinations for the project, in the order that they
were added. The list is always one page.
Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).
func (*Client) ProjectServiceRemoveMember ¶
func (c *Client) ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceRemoveMember RemoveMember
Removes a user from a project, and deletes the API keys that the user owns in
the project. Agent keys stay. When `isPrivate` is `false` on the project, the API removes the user from the workspace and from every project in it, and deletes the keys that the user owns in all of those projects. When `isPrivate` is `true`, the API sends an email to the user about the removal. Send `confirmedNumKeys` to confirm the number of keys to delete. A removal that deletes the last API key of a project returns `FailedPrecondition` and changes nothing. A user who is not a member returns `NotFound`. The response has the number of keys that the removal deleted.
Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
func (*Client) ProjectServiceSendTestWebhook ¶ added in v2.19.1
func (c *Client) ProjectServiceSendTestWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceSendTestWebhook SendTestWebhook
Sends one sample event to a webhook destination, and returns the answer of
the receiver. The API sends only to this webhook, ignores the webhook filter, and signs the request as it signs real deliveries. When the signing key of the webhook is not an API key of the project, the API signs with the oldest API key. The API makes one attempt and waits up to 10 seconds. A failed delivery shows in the response, not as an error. An `event` that `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
func (*Client) ProjectServiceSendTestWebhookWithBody ¶ added in v2.19.1
func (c *Client) ProjectServiceSendTestWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceSendTestWebhookWithBody SendTestWebhook
Sends one sample event to a webhook destination, and returns the answer of
the receiver. The API sends only to this webhook, ignores the webhook filter, and signs the request as it signs real deliveries. When the signing key of the webhook is not an API key of the project, the API signs with the oldest API key. The API makes one attempt and waits up to 10 seconds. A failed delivery shows in the response, not as an error. An `event` that `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
func (*Client) ProjectServiceUpdateInvite ¶
func (c *Client) ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateInvite UpdateInvite
Changes the role of a pending project invite. The token and the expiry do not
change, and the API sends no email. An invite that does not exist returns `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*Client) ProjectServiceUpdateInviteWithBody ¶
func (c *Client) ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateInviteWithBody UpdateInvite
Changes the role of a pending project invite. The token and the expiry do not
change, and the API sends no email. An invite that does not exist returns `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*Client) ProjectServiceUpdateMember ¶
func (c *Client) ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateMember UpdateMember
Changes the role of a member of a project. When `isPrivate` is `false` on the
project, the role is the workspace role of the user: the API changes it on the workspace and on every project in the workspace where `isPrivate` is `false`. When `isPrivate` is `true`, only this project changes, and the API sends an email to the member about the new role. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*Client) ProjectServiceUpdateMemberWithBody ¶
func (c *Client) ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateMemberWithBody UpdateMember
Changes the role of a member of a project. When `isPrivate` is `false` on the
project, the role is the workspace role of the user: the API changes it on the workspace and on every project in the workspace where `isPrivate` is `false`. When `isPrivate` is `true`, only this project changes, and the API sends an email to the member about the new role. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*Client) ProjectServiceUpdateProject ¶
func (c *Client) ProjectServiceUpdateProject(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateProject UpdateProject
Updates the settings of a project, and returns the updated project. A field
that you do not set keeps its value. When you change `isPrivate` from `false` to `true`, the API removes every member of the project except you and the users in `members`, and you get the admin role (`3`). When you change `isPrivate` from `true` to `false`, every member of the workspace becomes a member of the project, with their workspace role. A user in `members` who is not a member of the workspace returns `NotFound`. A `subdomain` that another project uses returns `AlreadyExists`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*Client) ProjectServiceUpdateProjectWithBody ¶
func (c *Client) ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateProjectWithBody UpdateProject
Updates the settings of a project, and returns the updated project. A field
that you do not set keeps its value. When you change `isPrivate` from `false` to `true`, the API removes every member of the project except you and the users in `members`, and you get the admin role (`3`). When you change `isPrivate` from `true` to `false`, every member of the workspace becomes a member of the project, with their workspace role. A user in `members` who is not a member of the workspace returns `NotFound`. A `subdomain` that another project uses returns `AlreadyExists`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*Client) ProjectServiceUpdateWebhook ¶ added in v2.19.1
func (c *Client) ProjectServiceUpdateWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateWebhook UpdateWebhook
Updates a webhook destination of a project, and returns the updated webhook.
A field that you do not set keeps its value. A set `filterParams` replaces the whole filter. The checks of `CreateWebhook` apply to the new values, and a failed check returns `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
func (*Client) ProjectServiceUpdateWebhookWithBody ¶ added in v2.19.1
func (c *Client) ProjectServiceUpdateWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectServiceUpdateWebhookWithBody UpdateWebhook
Updates a webhook destination of a project, and returns the updated webhook.
A field that you do not set keeps its value. A set `filterParams` replaces the whole filter. The checks of `CreateWebhook` apply to the new values, and a failed check returns `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
func (*Client) SimulationServiceCancelSimulationRun ¶
func (c *Client) SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCancelSimulationRun CancelSimulationRun
Stops a run that has not finished. When the run is already finished, the
call succeeds and has no effect.
Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
func (*Client) SimulationServiceConfirmSimulationSourceUpload ¶ added in v2.19.0
func (c *Client) SimulationServiceConfirmSimulationSourceUpload(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceConfirmSimulationSourceUpload ConfirmSimulationSourceUpload
Confirms that the agent source is uploaded and starts scenario
generation. The run goes to `GENERATING`, then to `RUNNING` when the scenarios exist. The call is valid only while the run is `PENDING_UPLOAD`, so a repeated call fails.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
func (*Client) SimulationServiceConfirmSimulationSourceUploadWithBody ¶ added in v2.19.0
func (c *Client) SimulationServiceConfirmSimulationSourceUploadWithBody(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceConfirmSimulationSourceUploadWithBody ConfirmSimulationSourceUpload
Confirms that the agent source is uploaded and starts scenario
generation. The run goes to `GENERATING`, then to `RUNNING` when the scenarios exist. The call is valid only while the run is `PENDING_UPLOAD`, so a repeated call fails.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
func (*Client) SimulationServiceCountSimulationRuns ¶ added in v2.19.0
func (c *Client) SimulationServiceCountSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCountSimulationRuns CountSimulationRuns
Returns a histogram of the runs in the window [`startTime`, `endTime`). It
takes the same filters as `ListSimulationRuns`, so the histogram and the list describe the same set of runs. Both bounds are required, and `endTime` must be after `startTime`.
Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).
func (*Client) SimulationServiceCreateSimulationRun ¶
func (c *Client) SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCreateSimulationRun CreateSimulationRun
Creates a simulation run. With a `scenarioGroup`, the run starts
immediately and the response has no upload target. Without a `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source that the API generates scenarios from. Upload the source to the returned presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays pending for one hour fails. This RPC is not idempotent: a retry starts a second run.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*Client) SimulationServiceCreateSimulationRunWithBody ¶
func (c *Client) SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceCreateSimulationRunWithBody CreateSimulationRun
Creates a simulation run. With a `scenarioGroup`, the run starts
immediately and the response has no upload target. Without a `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source that the API generates scenarios from. Upload the source to the returned presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays pending for one hour fails. This RPC is not idempotent: a retry starts a second run.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*Client) SimulationServiceGenerateScenarioFromSession ¶ added in v2.19.0
func (c *Client) SimulationServiceGenerateScenarioFromSession(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceGenerateScenarioFromSession GenerateScenarioFromSession
Generates a scenario (label, instructions, and expectations) from a
recorded room session. Use the scenario in the `scenarioGroup` of a later run. The API does not save the scenario: the response is the only copy. The session must have a recorded chat history. Each call runs an LLM on the chat history, so it counts against the scenario-generation quota of the project. A call can take up to about one minute.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
func (*Client) SimulationServiceGenerateScenarioFromSessionWithBody ¶ added in v2.19.0
func (c *Client) SimulationServiceGenerateScenarioFromSessionWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceGenerateScenarioFromSessionWithBody GenerateScenarioFromSession
Generates a scenario (label, instructions, and expectations) from a
recorded room session. Use the scenario in the `scenarioGroup` of a later run. The API does not save the scenario: the response is the only copy. The session must have a recorded chat history. Each call runs an LLM on the chat history, so it counts against the scenario-generation quota of the project. A call can take up to about one minute.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
func (*Client) SimulationServiceGetSimulationRun ¶
func (c *Client) SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceGetSimulationRun GetSimulationRun
Returns one run with its jobs and aggregate metrics. The response does not
include the compressed summary (`summaryZstd`). To get the summary, call `GetSimulationRunSummary`.
Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
func (*Client) SimulationServiceGetSimulationRunSummary ¶ added in v2.19.0
func (c *Client) SimulationServiceGetSimulationRunSummary(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceGetSimulationRunSummary GetSimulationRunSummary
Returns the graded outcome of a finished run: the pass and fail counts,
what went well, what to improve, the flagged issues with suggestions, and the chat history of each job. Returns `FailedPrecondition` while the run is in progress. Returns `NotFound` when the run finished without a summary.
Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).
func (*Client) SimulationServiceListSimulationRuns ¶
func (c *Client) SimulationServiceListSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SimulationServiceListSimulationRuns ListSimulationRuns
Lists the runs of a project, newest first. You can filter the runs by
status, agent, conversation mode, and time window. Each run includes its counts (`jobCount`, `passedCount`, `failedCount`, and `issueCount`), but not its jobs or its summary.
Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
func (*Client) TelephonyServiceCreateDispatchRule ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateDispatchRule(ctx context.Context, projectId string, body TelephonyServiceCreateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateDispatchRule CreateDispatchRule
Creates a dispatch rule. A rule applies to the trunks and the phone
numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To send the calls to a phone number to a rule, add the ID of the number (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with another rule of the project fails with `InvalidArgument`, and the message names the other rule.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
func (*Client) TelephonyServiceCreateDispatchRuleWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateDispatchRuleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateDispatchRuleWithBody CreateDispatchRule
Creates a dispatch rule. A rule applies to the trunks and the phone
numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To send the calls to a phone number to a rule, add the ID of the number (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with another rule of the project fails with `InvalidArgument`, and the message names the other rule.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
func (*Client) TelephonyServiceCreateInboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateInboundTrunk(ctx context.Context, projectId string, body TelephonyServiceCreateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateInboundTrunk CreateInboundTrunk
Creates an inbound trunk. A trunk that conflicts with another trunk of
the project, such as one that accepts the same number from the same callers, fails with `InvalidArgument`, and the message names the other trunk.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
func (*Client) TelephonyServiceCreateInboundTrunkWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateInboundTrunkWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateInboundTrunkWithBody CreateInboundTrunk
Creates an inbound trunk. A trunk that conflicts with another trunk of
the project, such as one that accepts the same number from the same callers, fails with `InvalidArgument`, and the message names the other trunk.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
func (*Client) TelephonyServiceCreateOutboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateOutboundTrunk(ctx context.Context, projectId string, body TelephonyServiceCreateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateOutboundTrunk CreateOutboundTrunk
Creates an outbound trunk, which `CreateSIPParticipant` places calls
through.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
func (*Client) TelephonyServiceCreateOutboundTrunkWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateOutboundTrunkWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateOutboundTrunkWithBody CreateOutboundTrunk
Creates an outbound trunk, which `CreateSIPParticipant` places calls
through.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
func (*Client) TelephonyServiceCreateSIPParticipant ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateSIPParticipant(ctx context.Context, projectId string, body TelephonyServiceCreateSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateSIPParticipant CreateSIPParticipant
Calls a phone number or a SIP URI through an outbound trunk, and adds
the call to a room as a SIP participant. With `waitUntilAnswered`, the call returns when the far end answers, up to `ringingTimeout`, which can then be at most 75 seconds. When the far end refuses the call, such as with 486 Busy Here, the call fails with `FailedPrecondition`, and the error has its SIP status as a `livekit.SIPStatus` detail.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
func (*Client) TelephonyServiceCreateSIPParticipantWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceCreateSIPParticipantWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceCreateSIPParticipantWithBody CreateSIPParticipant
Calls a phone number or a SIP URI through an outbound trunk, and adds
the call to a room as a SIP participant. With `waitUntilAnswered`, the call returns when the far end answers, up to `ringingTimeout`, which can then be at most 75 seconds. When the far end refuses the call, such as with 486 Busy Here, the call fails with `FailedPrecondition`, and the error has its SIP status as a `livekit.SIPStatus` detail.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
func (*Client) TelephonyServiceDeleteDispatchRule ¶ added in v2.20.1
func (c *Client) TelephonyServiceDeleteDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceDeleteDispatchRule DeleteDispatchRule
Deletes a dispatch rule.
Corresponds with DELETE /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceDeleteDispatchRule` operationId).
func (*Client) TelephonyServiceDeleteInboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceDeleteInboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceDeleteInboundTrunk DeleteInboundTrunk
Deletes an inbound trunk.
Corresponds with DELETE /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceDeleteInboundTrunk` operationId).
func (*Client) TelephonyServiceDeleteOutboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceDeleteOutboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceDeleteOutboundTrunk DeleteOutboundTrunk
Deletes an outbound trunk.
Corresponds with DELETE /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceDeleteOutboundTrunk` operationId).
func (*Client) TelephonyServiceGetDispatchRule ¶ added in v2.20.1
func (c *Client) TelephonyServiceGetDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceGetDispatchRule GetDispatchRule
Returns a dispatch rule of the project.
Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceGetDispatchRule` operationId).
func (*Client) TelephonyServiceGetInboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceGetInboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceGetInboundTrunk GetInboundTrunk
Returns an inbound trunk of the project.
Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceGetInboundTrunk` operationId).
func (*Client) TelephonyServiceGetOutboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceGetOutboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceGetOutboundTrunk GetOutboundTrunk
Returns an outbound trunk of the project.
Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceGetOutboundTrunk` operationId).
func (*Client) TelephonyServiceGetPhoneNumber ¶ added in v2.20.1
func (c *Client) TelephonyServiceGetPhoneNumber(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceGetPhoneNumber GetPhoneNumber
Returns a phone number of the project.
Corresponds with GET /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceGetPhoneNumber` operationId).
func (*Client) TelephonyServiceListDispatchRules ¶ added in v2.20.1
func (c *Client) TelephonyServiceListDispatchRules(ctx context.Context, projectId string, params *TelephonyServiceListDispatchRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceListDispatchRules ListDispatchRules
Lists the dispatch rules of the project, in ID order. The list is always
one page.
Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceListDispatchRules` operationId).
func (*Client) TelephonyServiceListInboundTrunks ¶ added in v2.20.1
func (c *Client) TelephonyServiceListInboundTrunks(ctx context.Context, projectId string, params *TelephonyServiceListInboundTrunksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceListInboundTrunks ListInboundTrunks
Lists the inbound trunks of the project, in ID order. The list is always
one page.
Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceListInboundTrunks` operationId).
func (*Client) TelephonyServiceListOutboundTrunks ¶ added in v2.20.1
func (c *Client) TelephonyServiceListOutboundTrunks(ctx context.Context, projectId string, params *TelephonyServiceListOutboundTrunksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceListOutboundTrunks ListOutboundTrunks
Lists the outbound trunks of the project, in ID order. The list is always
one page.
Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceListOutboundTrunks` operationId).
func (*Client) TelephonyServiceListPhoneNumbers ¶ added in v2.20.1
func (c *Client) TelephonyServiceListPhoneNumbers(ctx context.Context, projectId string, params *TelephonyServiceListPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceListPhoneNumbers ListPhoneNumbers
Lists the phone numbers of the project, newest first.
Corresponds with GET /v0/projects/{projectId}/phone-numbers (the `TelephonyServiceListPhoneNumbers` operationId).
func (*Client) TelephonyServicePurchasePhoneNumber ¶ added in v2.20.1
func (c *Client) TelephonyServicePurchasePhoneNumber(ctx context.Context, projectId string, body TelephonyServicePurchasePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServicePurchasePhoneNumber PurchasePhoneNumber
Buys a phone number for the project. The number then appears in
`ListPhoneNumbers`. A number that someone else bought first fails with `AlreadyExists`, and a project at its phone number limit fails with `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
func (*Client) TelephonyServicePurchasePhoneNumberWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServicePurchasePhoneNumberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServicePurchasePhoneNumberWithBody PurchasePhoneNumber
Buys a phone number for the project. The number then appears in
`ListPhoneNumbers`. A number that someone else bought first fails with `AlreadyExists`, and a project at its phone number limit fails with `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
func (*Client) TelephonyServiceReleasePhoneNumber ¶ added in v2.20.1
func (c *Client) TelephonyServiceReleasePhoneNumber(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceReleasePhoneNumber ReleasePhoneNumber
Releases a phone number. The project loses the number, and the API
removes it from each dispatch rule.
Corresponds with DELETE /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceReleasePhoneNumber` operationId).
func (*Client) TelephonyServiceSearchPhoneNumbers ¶ added in v2.20.1
func (c *Client) TelephonyServiceSearchPhoneNumbers(ctx context.Context, projectId string, params *TelephonyServiceSearchPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceSearchPhoneNumbers SearchPhoneNumbers
Lists the phone numbers that are for sale in a country. The list is
always one page.
Corresponds with GET /v0/projects/{projectId}/phone-numbers:search (the `TelephonyServiceSearchPhoneNumbers` operationId).
func (*Client) TelephonyServiceTransferSIPParticipant ¶ added in v2.20.1
func (c *Client) TelephonyServiceTransferSIPParticipant(ctx context.Context, projectId string, body TelephonyServiceTransferSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceTransferSIPParticipant TransferSIPParticipant
Transfers the call of a SIP participant to another phone number or SIP
URI, and returns when the transfer ends. Its `ringingTimeout` can be at most 75 seconds. A transfer that fails, such as one that nobody answers, fails with `FailedPrecondition`, and the error has a `livekit.SIPTransferError` detail with the reason.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
func (*Client) TelephonyServiceTransferSIPParticipantWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceTransferSIPParticipantWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceTransferSIPParticipantWithBody TransferSIPParticipant
Transfers the call of a SIP participant to another phone number or SIP
URI, and returns when the transfer ends. Its `ringingTimeout` can be at most 75 seconds. A transfer that fails, such as one that nobody answers, fails with `FailedPrecondition`, and the error has a `livekit.SIPTransferError` detail with the reason.
Takes any type of body and a specified content type.
Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
func (*Client) TelephonyServiceUpdateDispatchRule ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdateDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, body TelephonyServiceUpdateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdateDispatchRule UpdateDispatchRule
Replaces a dispatch rule, or changes some of its fields.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
func (*Client) TelephonyServiceUpdateDispatchRuleWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdateDispatchRuleWithBody(ctx context.Context, projectId string, dispatchRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdateDispatchRuleWithBody UpdateDispatchRule
Replaces a dispatch rule, or changes some of its fields.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
func (*Client) TelephonyServiceUpdateInboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdateInboundTrunk(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdateInboundTrunk UpdateInboundTrunk
Replaces an inbound trunk, or changes some of its fields.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
func (*Client) TelephonyServiceUpdateInboundTrunkWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdateInboundTrunkWithBody(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdateInboundTrunkWithBody UpdateInboundTrunk
Replaces an inbound trunk, or changes some of its fields.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
func (*Client) TelephonyServiceUpdateOutboundTrunk ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdateOutboundTrunk(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdateOutboundTrunk UpdateOutboundTrunk
Replaces an outbound trunk, or changes some of its fields.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
func (*Client) TelephonyServiceUpdateOutboundTrunkWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdateOutboundTrunkWithBody(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdateOutboundTrunkWithBody UpdateOutboundTrunk
Replaces an outbound trunk, or changes some of its fields.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
func (*Client) TelephonyServiceUpdatePhoneNumber ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdatePhoneNumber(ctx context.Context, projectId string, phoneNumberId string, body TelephonyServiceUpdatePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdatePhoneNumber UpdatePhoneNumber
Renames a phone number, or adds it to a dispatch rule. To remove a
number from a rule, remove its ID from the `trunkIds` of the rule with `UpdateDispatchRule`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
func (*Client) TelephonyServiceUpdatePhoneNumberWithBody ¶ added in v2.20.1
func (c *Client) TelephonyServiceUpdatePhoneNumberWithBody(ctx context.Context, projectId string, phoneNumberId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TelephonyServiceUpdatePhoneNumberWithBody UpdatePhoneNumber
Renames a phone number, or adds it to a dispatch rule. To remove a
number from a rule, remove its ID from the `trunkIds` of the rule with `UpdateDispatchRule`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
func (*Client) UserServiceGetCurrentUser ¶
func (c *Client) UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceGetCurrentUser GetCurrentUser
Returns the user that you are signed in as.
Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).
func (*Client) UserServiceGetUser ¶
func (c *Client) UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceGetUser GetUser
Returns a user by ID. You can get yourself, or a user who is a member of a
workspace or a project that you are a member of. Any other user returns `NotFound`, the same as a user who does not exist.
Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).
func (*Client) UserServiceListUsers ¶
func (c *Client) UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceListUsers ListUsers
Lists the members of a project or a workspace, ordered by user ID. The list
does not include pending invitees. Set `projectId`, `workspaceId`, or both. When you set neither, the request fails with `InvalidArgument`.
Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).
func (*Client) UserServiceRevokeSessionToken ¶ added in v2.19.4
func (c *Client) UserServiceRevokeSessionToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
UserServiceRevokeSessionToken RevokeSessionToken
Revokes the session token that you call with, and signs you out. After
this call, the token gets `Unauthenticated` on every call, a retry of this call included. Your other session tokens stay valid. Access tokens that `CreateToken` returned stay valid until they expire.
Corresponds with DELETE /v0/users/me/session-token (the `UserServiceRevokeSessionToken` operationId).
func (*Client) WorkspaceServiceAnswerInvite ¶
func (c *Client) WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceAnswerInvite AnswerInvite
Accepts or declines a workspace invite that was sent to you. When you accept,
you become a member of the workspace and of every project in it where `isPrivate` is `false`, with the role of the invite. If you are already a member, the role of the invite replaces your role. The API also deletes your pending invites to those projects. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*Client) WorkspaceServiceAnswerInviteWithBody ¶
func (c *Client) WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceAnswerInviteWithBody AnswerInvite
Accepts or declines a workspace invite that was sent to you. When you accept,
you become a member of the workspace and of every project in it where `isPrivate` is `false`, with the role of the invite. If you are already a member, the role of the invite replaces your role. The API also deletes your pending invites to those projects. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*Client) WorkspaceServiceCreateInvite ¶
func (c *Client) WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateInvite CreateInvite
Invites a person to a workspace by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an unexpired invite for the email exists, the API sends that invite again: its token, role, and expiry do not change. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*Client) WorkspaceServiceCreateInviteWithBody ¶
func (c *Client) WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateInviteWithBody CreateInvite
Invites a person to a workspace by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an unexpired invite for the email exists, the API sends that invite again: its token, role, and expiry do not change. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*Client) WorkspaceServiceCreateProject ¶
func (c *Client) WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateProject CreateProject
Creates a project in a workspace. Send the project as the request body. The
rules and errors of `ProjectService.CreateProject` apply. You become a member of the project with the admin role (`3`), and the API creates an API key that you own. When `isPrivate` is `false`, every member of the workspace becomes a member of the project, with their workspace role. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*Client) WorkspaceServiceCreateProjectWithBody ¶
func (c *Client) WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateProjectWithBody CreateProject
Creates a project in a workspace. Send the project as the request body. The
rules and errors of `ProjectService.CreateProject` apply. You become a member of the project with the admin role (`3`), and the API creates an API key that you own. When `isPrivate` is `false`, every member of the workspace becomes a member of the project, with their workspace role. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes any type of body and a specified content type.
Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*Client) WorkspaceServiceCreateWorkspace ¶
func (c *Client) WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateWorkspace CreateWorkspace
Creates a workspace. You become its only member, with the admin role (`3`).
The workspace has no projects: to add one, call `CreateProject`. An empty `name` returns `InvalidArgument`. The call is not idempotent: a retry creates a second workspace.
Takes a body of the `application/json` content type.
Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*Client) WorkspaceServiceCreateWorkspaceWithBody ¶
func (c *Client) WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceCreateWorkspaceWithBody CreateWorkspace
Creates a workspace. You become its only member, with the admin role (`3`).
The workspace has no projects: to add one, call `CreateProject`. An empty `name` returns `InvalidArgument`. The call is not idempotent: a retry creates a second workspace.
Takes any type of body and a specified content type.
Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*Client) WorkspaceServiceDeleteInvite ¶
func (c *Client) WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteInvite DeleteInvite
Deletes a pending workspace invite, so that its link stops working. When no
invite exists for the email, the call succeeds and changes nothing.
Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
func (*Client) WorkspaceServiceDeleteMember ¶
func (c *Client) WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteMember DeleteMember
Removes a user from a workspace and from every project in it, and deletes
the API keys that the user owns in those projects. Agent keys stay. Send `confirmedNumKeys` to confirm the number of keys to delete. A removal that deletes the last API key of a project returns `FailedPrecondition` and changes nothing. A user who is not a member returns `NotFound`. The response has the number of keys that the removal deleted.
Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
func (*Client) WorkspaceServiceDeleteProject ¶
func (c *Client) WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteProject DeleteProject
Deletes a project in a workspace, with its API keys, its webhooks, and its
member list. You cannot undo the delete. A project that is not in the workspace returns `NotFound`, and a retry returns `NotFound`.
Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
func (*Client) WorkspaceServiceDeleteWorkspace ¶
func (c *Client) WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceDeleteWorkspace DeleteWorkspace
Deletes a workspace, with its members and its pending invites. A workspace
that has projects returns `FailedPrecondition`: delete its projects first. You cannot undo the delete. A retry returns `NotFound`.
Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
func (*Client) WorkspaceServiceGetInvite ¶
func (c *Client) WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetInvite GetInvite
Returns a workspace invite that was sent to you, found by its token. Use it
to show the invite before you answer it with `AnswerInvite`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
func (*Client) WorkspaceServiceGetMember ¶
func (c *Client) WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetMember GetMember
Returns the membership of one user on a workspace, with the role of the
user. A user who is not a member of the workspace returns `NotFound`.
Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
func (*Client) WorkspaceServiceGetProject ¶
func (c *Client) WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetProject GetProject
Returns a project in a workspace, with its settings and its webhooks. A
project that is not in the workspace, or that you cannot see, returns `NotFound`.
Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
func (*Client) WorkspaceServiceGetWorkspace ¶
func (c *Client) WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceGetWorkspace GetWorkspace
Returns a workspace. A workspace that you are not a member of returns
`NotFound`.
Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
func (*Client) WorkspaceServiceListInvites ¶
func (c *Client) WorkspaceServiceListInvites(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListInvites ListInvites
Lists the unexpired invites of a workspace, ordered by email.
Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
func (*Client) WorkspaceServiceListMembers ¶
func (c *Client) WorkspaceServiceListMembers(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListMembers ListMembers
Lists the workspace members, ordered by user ID.
Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
func (*Client) WorkspaceServiceListProjects ¶
func (c *Client) WorkspaceServiceListProjects(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListProjects ListProjects
Lists the projects in a workspace. The items are the same `Project`
message that `ProjectService` returns.
Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
func (*Client) WorkspaceServiceListWorkspaces ¶
func (c *Client) WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceListWorkspaces ListWorkspaces
Lists the workspaces that you are a member of, ordered by workspace ID. A
pending invite does not make you a member.
Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
func (*Client) WorkspaceServiceUpdateMember ¶
func (c *Client) WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateMember UpdateMember
Changes the workspace role of a member. The API also changes the role of the
user on every project in the workspace where `isPrivate` is `false`. The projects where `isPrivate` is `true` keep their roles. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*Client) WorkspaceServiceUpdateMemberWithBody ¶
func (c *Client) WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateMemberWithBody UpdateMember
Changes the workspace role of a member. The API also changes the role of the
user on every project in the workspace where `isPrivate` is `false`. The projects where `isPrivate` is `true` keep their roles. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*Client) WorkspaceServiceUpdateWorkspace ¶
func (c *Client) WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateWorkspace UpdateWorkspace
Changes the name or the MCP policy of a workspace, and returns the updated
workspace. A field that is unset does not change.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
func (*Client) WorkspaceServiceUpdateWorkspaceWithBody ¶
func (c *Client) WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WorkspaceServiceUpdateWorkspaceWithBody UpdateWorkspace
Changes the name or the MCP policy of a workspace, and returns the updated
workspace. A field that is unset does not change.
Takes any type of body and a specified content type.
Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ProjectServiceGetInvite GetInvite
//
// Returns a project invite that was sent to you, found by its token. Use it to
// show the invite before you answer it with `AnswerInvitation`. An invite that
// was sent to a different email address returns `PermissionDenied`. An expired
// invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
//
// Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAnswerInvitationWithBody AnswerInvitation
//
// Accepts or declines a project invite that was sent to you. When you accept,
// you become a member of the project with the role of the invite. When the
// project is in a workspace, you also become a member of the workspace and of
// every project in it where `isPrivate` is `false`, with the same role. If you
// are already a member, the role of the invite replaces your role. When you
// decline, the API deletes the invite. After you answer, the token stops
// working, so a retry returns `NotFound`. An invite that was sent to a
// different email address returns `PermissionDenied`. An expired invite
// returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAnswerInvitation AnswerInvitation
//
// Accepts or declines a project invite that was sent to you. When you accept,
// you become a member of the project with the role of the invite. When the
// project is in a workspace, you also become a member of the workspace and of
// every project in it where `isPrivate` is `false`, with the same role. If you
// are already a member, the role of the invite replaces your role. When you
// decline, the API deletes the invite. After you answer, the token stops
// working, so a retry returns `NotFound`. An invite that was sent to a
// different email address returns `PermissionDenied`. An expired invite
// returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListProjects ListProjects
//
// Lists projects, ordered by project ID. When you set no filter, the list has
// the projects that you are a member of. A pending invite does not make you a
// member.
//
// Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).
ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateProjectWithBody CreateProject
//
// Creates a project. You become a member of the project with the admin role
// (`3`), and the API creates an API key that you own. When `workspaceId` is
// empty, the API also creates a workspace with the same name as the project,
// and you are its only member. When `isPrivate` is `false` and you set
// `workspaceId`, every member of the workspace becomes a member of the project,
// with their workspace role. A `subdomain` that another project uses returns
// `AlreadyExists`. When you reach the limit of free projects that you can
// create, or the project limit of the workspace plan, the request fails with
// `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty,
// a retry creates a second project.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateProject CreateProject
//
// Creates a project. You become a member of the project with the admin role
// (`3`), and the API creates an API key that you own. When `workspaceId` is
// empty, the API also creates a workspace with the same name as the project,
// and you are its only member. When `isPrivate` is `false` and you set
// `workspaceId`, every member of the workspace becomes a member of the project,
// with their workspace role. A `subdomain` that another project uses returns
// `AlreadyExists`. When you reach the limit of free projects that you can
// create, or the project limit of the workspace plan, the request fails with
// `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty,
// a retry creates a second project.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceDeleteProject DeleteProject
//
// Deletes a project, with its API keys, its webhooks, and its member list. You
// cannot undo the delete. Another project can then use the subdomain. A retry
// returns `NotFound`.
//
// Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceGetProject GetProject
//
// Returns a project with its settings and its webhooks. A project that you
// cannot see returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).
ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateProjectWithBody UpdateProject
//
// Updates the settings of a project, and returns the updated project. A field
// that you do not set keeps its value. When you change `isPrivate` from
// `false` to `true`, the API removes every member of the project except you
// and the users in `members`, and you get the admin role (`3`). When you
// change `isPrivate` from `true` to `false`, every member of the workspace
// becomes a member of the project, with their workspace role. A user in
// `members` who is not a member of the workspace
// returns `NotFound`. A `subdomain` that another project uses returns
// `AlreadyExists`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateProject UpdateProject
//
// Updates the settings of a project, and returns the updated project. A field
// that you do not set keeps its value. When you change `isPrivate` from
// `false` to `true`, the API removes every member of the project except you
// and the users in `members`, and you get the admin role (`3`). When you
// change `isPrivate` from `true` to `false`, every member of the workspace
// becomes a member of the project, with their workspace role. A user in
// `members` who is not a member of the workspace
// returns `NotFound`. A `subdomain` that another project uses returns
// `AlreadyExists`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProject(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceListAgents ListAgents
//
// Lists the Agent Builder agents of a project by name, with the deployment
// status of each. The list does not include configurations. To get the
// configuration of an agent, call `GetAgent`.
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceListAgents` operationId).
AgentBuilderServiceListAgents(ctx context.Context, projectId string, params *AgentBuilderServiceListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceCreateAgentWithBody CreateAgent
//
// Creates an Agent Builder agent from a name and a configuration. The agent
// is not deployed: call `DeployAgent` to run it. Unset configuration
// properties take their default, and unknown properties are ignored. A
// configuration that is not valid fails with `InvalidArgument` and a
// `google.rpc.BadRequest` detail. It has a field violation for each
// problem, up to 100, which names a field, such as
// `config.httpTools[0].url`, and what is wrong with it. A config with more
// problems gets one last violation for `config` that says how many more.
// `********` is not a valid header value: send the value itself.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
AgentBuilderServiceCreateAgentWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceCreateAgent CreateAgent
//
// Creates an Agent Builder agent from a name and a configuration. The agent
// is not deployed: call `DeployAgent` to run it. Unset configuration
// properties take their default, and unknown properties are ignored. A
// configuration that is not valid fails with `InvalidArgument` and a
// `google.rpc.BadRequest` detail. It has a field violation for each
// problem, up to 100, which names a field, such as
// `config.httpTools[0].url`, and what is wrong with it. A config with more
// problems gets one last violation for `config` that says how many more.
// `********` is not a valid header value: send the value itself.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
AgentBuilderServiceCreateAgent(ctx context.Context, projectId string, body AgentBuilderServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceDeleteAgent DeleteAgent
//
// Deletes an Agent Builder agent, its versions, and its deployment.
//
// Corresponds with DELETE /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceDeleteAgent` operationId).
AgentBuilderServiceDeleteAgent(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceGetAgent GetAgent
//
// Returns an Agent Builder agent with its current configuration and its
// deployment status. A `READ` member reads `********` in place of each
// header value.
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceGetAgent` operationId).
AgentBuilderServiceGetAgent(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceUpdateAgentWithBody UpdateAgent
//
// Changes the configuration of an Agent Builder agent, its name, or both. A
// new configuration makes a new version. A new name does not. The running
// agent does not change until you deploy again. Until then, it keeps the
// old configuration and registers under the old name. After that deploy, a
// dispatch or a SIP dispatch rule that uses the old name no longer reaches
// it. A request with neither `config` nor `name` fails with
// `InvalidArgument`. A name that another Agent Builder agent of the project
// has fails with `AlreadyExists`. A configuration that is not valid fails
// as it does in `CreateAgent`, which includes `********` as a header value.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
AgentBuilderServiceUpdateAgentWithBody(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceUpdateAgent UpdateAgent
//
// Changes the configuration of an Agent Builder agent, its name, or both. A
// new configuration makes a new version. A new name does not. The running
// agent does not change until you deploy again. Until then, it keeps the
// old configuration and registers under the old name. After that deploy, a
// dispatch or a SIP dispatch rule that uses the old name no longer reaches
// it. A request with neither `config` nor `name` fails with
// `InvalidArgument`. A name that another Agent Builder agent of the project
// has fails with `AlreadyExists`. A configuration that is not valid fails
// as it does in `CreateAgent`, which includes `********` as a header value.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
AgentBuilderServiceUpdateAgent(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceGetAgentCodeURL GetAgentCodeURL
//
// Returns a short-lived URL that downloads the agent code of an Agent
// Builder agent version as a zip file. The zip holds `src/agent.py`,
// `pyproject.toml`, `.env.example`, a `Dockerfile`, and the project docs,
// so that you can run and change the agent yourself. The URL needs no
// credentials and is valid until `expiresAt`. The agent code holds every
// header value, so the call requires the `WRITE` role. A version whose
// configuration can't make agent code returns `FailedPrecondition`.
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/code-url (the `AgentBuilderServiceGetAgentCodeURL` operationId).
AgentBuilderServiceGetAgentCodeURL(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceGetAgentCodeURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceListAgentVersions ListAgentVersions
//
// Lists the versions of an Agent Builder agent, newest first, each with its
// configuration. To deploy an earlier version, pass its ID to
// `DeployAgent`. To make its configuration current again, pass the
// configuration to `UpdateAgent`. A `READ` member reads `********` in place
// of each header value.
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/versions (the `AgentBuilderServiceListAgentVersions` operationId).
AgentBuilderServiceListAgentVersions(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceListAgentVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceDeployAgentWithBody DeployAgent
//
// Starts a deployment of the current configuration of an Agent Builder
// agent, or of an earlier version. The call returns when the build starts,
// with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after
// the call returns. Call `GetAgent` to follow the deployment until its
// status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
AgentBuilderServiceDeployAgentWithBody(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentBuilderServiceDeployAgent DeployAgent
//
// Starts a deployment of the current configuration of an Agent Builder
// agent, or of an earlier version. The call returns when the build starts,
// with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after
// the call returns. Call `GetAgent` to follow the deployment until its
// status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
AgentBuilderServiceDeployAgent(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceDeployAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceGetAgentInsights Returns the agent insights of a project over a time range: the totals and
// latencies of its agents, one item for each agent, and one item for each
// model that the agents used. This is the data that the agent dashboards of
// LiveKit Cloud show.
//
// The data comes from the turns, model requests, and tool calls that the
// agents recorded. Simulated sessions are not included.
//
// When `range.startTime` is unset, the range starts 7 days before its end.
// The range does not include `range.endTime`. The range can be at most 30
// days.
//
// Errors: a range longer than 30 days, a range whose `startTime` is not
// before its `endTime`, a range that starts after now, more than 25 agents
// in `agentIds` and `agentNames` together, or an empty agent ID or name
// returns `InvalidArgument`.
//
// Corresponds with GET /v0/projects/{projectId}/agent-insights (the `AnalyticsServiceGetAgentInsights` operationId).
AnalyticsServiceGetAgentInsights(ctx context.Context, projectId string, params *AnalyticsServiceGetAgentInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceGetEvalDefaults GetEvalDefaults
//
// Returns the judge defaults of the project, and the judge models that a
// definition can name. Each eval uses the judge defaults for the judge
// settings that its definition does not set.
//
// Corresponds with GET /v0/projects/{projectId}/eval-defaults (the `EvalServiceGetEvalDefaults` operationId).
EvalServiceGetEvalDefaults(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateEvalDefaultsWithBody Replaces the judge defaults of the project. A revision keeps the defaults
// that it was published with, so the change reaches an eval at its next
// publish.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
EvalServiceUpdateEvalDefaultsWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateEvalDefaults Replaces the judge defaults of the project. A revision keeps the defaults
// that it was published with, so the change reaches an eval at its next
// publish.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
EvalServiceUpdateEvalDefaults(ctx context.Context, projectId string, body EvalServiceUpdateEvalDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceGetEvalResults Returns the eval results of a project over a time range: the totals, one
// item for each eval, eval version and agent, and the error codes. An eval
// is a set of criteria that LiveKit checks on each finished live session of
// the agents of a project. This is the data that the evals page of LiveKit
// Cloud shows.
//
// Each count is a number of sessions. The range selects sessions by their
// end time, and expands to whole 5-minute periods. Simulated sessions are
// not included.
//
// When `range.startTime` is unset, the range starts 7 days before its end.
// A session that ends at `range.endTime` is included, unless `range.endTime`
// is on a 5-minute boundary. The range can be at most 60 days.
//
// Errors: a range longer than 60 days, a range whose `startTime` is not
// before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`,
// `intentIds`, or `outcomeIds` returns `InvalidArgument`.
//
// Corresponds with GET /v0/projects/{projectId}/eval-results (the `AnalyticsServiceGetEvalResults` operationId).
AnalyticsServiceGetEvalResults(ctx context.Context, projectId string, params *AnalyticsServiceGetEvalResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceListEvalSessions Lists the agent sessions that LiveKit scored with evals or labeled, newest
// session end first. An eval is a set of criteria that LiveKit checks on each
// finished live session. Each item is one agent job in a session, with the
// result of each eval. These are the sessions that the evals page of the
// dashboard lists when you select a result.
//
// With no `evalId`, `verdict` or `criterionId`, each item has the verdict and
// score of every eval that scored the session, and a session that LiveKit
// only labeled has no evals. With `evalId` or `verdict`, each item has one
// eval and the IDs of the criteria that it failed. With `criterionId`, each
// item has the answer to that criterion and the answers of its judges. To get
// the failure reasons, call `GetSessionEvals`.
//
// The range selects sessions by their end time, and expands to whole
// 5-minute periods. A session that ends at `range.endTime` is included,
// unless `range.endTime` is on a 5-minute boundary. When `range.startTime`
// is unset, the range starts 7 days before its end. The range can be at
// most 30 days. Simulated sessions are not included.
//
// Errors: a range longer than 30 days, a range whose `startTime` is not
// before its `endTime`, more than 25 entries in `agentNames`, `intentIds`, or
// `outcomeIds`, a `criterionId` without an `evalId` or with a `verdict`, or a
// cursor from another request returns `InvalidArgument`. A read with no
// filter that returns no sessions while user data recording is off returns
// the `ObservabilityDisabled` error.
//
// Corresponds with GET /v0/projects/{projectId}/eval-sessions (the `ObservabilityServiceListEvalSessions` operationId).
ObservabilityServiceListEvalSessions(ctx context.Context, projectId string, params *ObservabilityServiceListEvalSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceListEvals ListEvals
//
// Lists the evals of a project, sorted by name, ignoring case. The list is always one page,
// with every eval. A project has at most 500 active evals. Each item has the
// live revision number and says whether the eval has a draft, but has no
// definition. To read a definition, use `GetEval`.
//
// Corresponds with GET /v0/projects/{projectId}/evals (the `EvalServiceListEvals` operationId).
EvalServiceListEvals(ctx context.Context, projectId string, params *EvalServiceListEvalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceCreateEvalWithBody Creates an eval, with its definition as the first draft. The eval scores
// nothing until you publish the draft with `PublishEvalDraft`. Returns the
// eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A name that another eval of the project
// has returns `AlreadyExists`. A project with the maximum number of evals
// returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
EvalServiceCreateEvalWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceCreateEval Creates an eval, with its definition as the first draft. The eval scores
// nothing until you publish the draft with `PublishEvalDraft`. Returns the
// eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A name that another eval of the project
// has returns `AlreadyExists`. A project with the maximum number of evals
// returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
EvalServiceCreateEval(ctx context.Context, projectId string, body EvalServiceCreateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceDeleteEval Deletes an eval. LiveKit stops scoring sessions with it, and its past
// results stay. `UndeleteEval` brings it back.
//
// Errors: an unknown eval returns `NotFound`.
//
// Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceDeleteEval` operationId).
EvalServiceDeleteEval(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceGetEval Returns an eval and one version of its definition: the live revision, a
// revision that you name, or the draft. Without `version`, returns the live
// revision, or the draft when nothing is published. A deleted eval is still
// readable.
//
// Errors: an unknown eval returns `NotFound`. A revision or a draft that the
// eval does not have also returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceGetEval` operationId).
EvalServiceGetEval(ctx context.Context, projectId string, evalId string, params *EvalServiceGetEvalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateEvalWithBody Changes the name or the description of an eval. A field that you leave
// out does not change. A change takes effect at once, and does not need a
// publish.
//
// Errors: an unknown eval returns `NotFound`. A name that another eval of
// the project has returns `AlreadyExists`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
EvalServiceUpdateEvalWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateEval Changes the name or the description of an eval. A field that you leave
// out does not change. A change takes effect at once, and does not need a
// publish.
//
// Errors: an unknown eval returns `NotFound`. A name that another eval of
// the project has returns `AlreadyExists`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
EvalServiceUpdateEval(ctx context.Context, projectId string, evalId string, body EvalServiceUpdateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceDiffEvalRevisions Returns the changes between two versions of the definition of an eval,
// field by field. Each version is a revision or the draft. The changes are
// to the definition as it was written, without the judge defaults of the
// project.
//
// Errors: an unknown eval, revision or draft returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/diff (the `EvalServiceDiffEvalRevisions` operationId).
EvalServiceDiffEvalRevisions(ctx context.Context, projectId string, evalId string, params *EvalServiceDiffEvalRevisionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceDiscardEvalDraft Discards the draft of an eval. The live revision does not change. Pass the
// `draftEtag` that you last read, so that you do not discard a change that
// someone else made.
//
// Errors: an unknown eval, or an eval with no draft, returns `NotFound`. A
// `draftEtag` that is not the current one returns `Aborted`.
//
// Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceDiscardEvalDraft` operationId).
EvalServiceDiscardEvalDraft(ctx context.Context, projectId string, evalId string, params *EvalServiceDiscardEvalDraftParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceSaveEvalDraftWithBody Saves the draft of an eval, and replaces the draft that was there. The
// draft scores nothing until you publish it. Pass the `draftEtag` that you
// last read, so that you do not overwrite a change that someone else made.
// Leave it empty when the eval has no draft.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`: read the eval again, and repeat the change on its
// draft.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
EvalServiceSaveEvalDraftWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceSaveEvalDraft Saves the draft of an eval, and replaces the draft that was there. The
// draft scores nothing until you publish it. Pass the `draftEtag` that you
// last read, so that you do not overwrite a change that someone else made.
// Leave it empty when the eval has no draft.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`: read the eval again, and repeat the change on its
// draft.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
EvalServiceSaveEvalDraft(ctx context.Context, projectId string, evalId string, body EvalServiceSaveEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServicePublishEvalDraftWithBody Publishes the draft of an eval as its next revision, and makes that
// revision live. From now on, the eval scores every matching live session of
// the project, and each judged criterion uses LLM judge inference that
// LiveKit pays for. Pass the `draftEtag` that you last read.
//
// Errors: a draft that is not complete returns `InvalidArgument`, with each
// field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`. When the live revision changed after the draft was
// opened, returns `FailedPrecondition`: compare the two with
// `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
EvalServicePublishEvalDraftWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServicePublishEvalDraft Publishes the draft of an eval as its next revision, and makes that
// revision live. From now on, the eval scores every matching live session of
// the project, and each judged criterion uses LLM judge inference that
// LiveKit pays for. Pass the `draftEtag` that you last read.
//
// Errors: a draft that is not complete returns `InvalidArgument`, with each
// field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`. When the live revision changed after the draft was
// opened, returns `FailedPrecondition`: compare the two with
// `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
EvalServicePublishEvalDraft(ctx context.Context, projectId string, evalId string, body EvalServicePublishEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceListEvalHistory ListEvalHistory
//
// Lists the history of an eval, newest first: each publish, rollback,
// delete and undelete, and each change of its name or description.
//
// Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/history (the `EvalServiceListEvalHistory` operationId).
EvalServiceListEvalHistory(ctx context.Context, projectId string, evalId string, params *EvalServiceListEvalHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceRollbackEvalWithBody Makes a copy of an older revision of an eval the next revision, and makes
// it live. From now on, the eval scores every matching live session of the
// project with that definition. The older revision and the history do not
// change.
//
// Errors: an unknown eval or revision returns `NotFound`. The live revision
// returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
EvalServiceRollbackEvalWithBody(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceRollbackEval Makes a copy of an older revision of an eval the next revision, and makes
// it live. From now on, the eval scores every matching live session of the
// project with that definition. The older revision and the history do not
// change.
//
// Errors: an unknown eval or revision returns `NotFound`. The live revision
// returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
EvalServiceRollbackEval(ctx context.Context, projectId string, evalId string, body EvalServiceRollbackEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUndeleteEval Undeletes an eval. If it has a live revision, LiveKit scores sessions with
// it again.
//
// Errors: an unknown eval returns `NotFound`. A name that another eval of
// the project has taken returns `AlreadyExists`. A project with the maximum
// number of evals returns `FailedPrecondition`.
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:undelete (the `EvalServiceUndeleteEval` operationId).
EvalServiceUndeleteEval(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceValidateEvalWithBody ValidateEval
//
// Checks an eval definition, and saves nothing. Returns the definition with
// the judge defaults of the project applied, and each field that is wrong
// or missing. A definition can be published only when it has no
// violations. The call returns OK also when the definition has violations.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
EvalServiceValidateEvalWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceValidateEval ValidateEval
//
// Checks an eval definition, and saves nothing. Returns the definition with
// the judge defaults of the project applied, and each field that is wrong
// or missing. A definition can be published only when it has no
// violations. The call returns OK also when the definition has violations.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
EvalServiceValidateEval(ctx context.Context, projectId string, body EvalServiceValidateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListInvites ListInvites
//
// Lists the unexpired invites of a project, ordered by email.
//
// Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
ProjectServiceListInvites(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceInviteMemberWithBody InviteMember
//
// Invites a person to a project by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an invite for the email exists, the API
// replaces its role, token, and expiry, and the earlier link stops working. A
// retry replaces the invite and sends a new email. On a plan that allows only
// the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceInviteMember InviteMember
//
// Invites a person to a project by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an invite for the email exists, the API
// replaces its role, token, and expiry, and the earlier link stops working. A
// retry replaces the invite and sends a new email. On a plan that allows only
// the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMember(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceDeleteInvite DeleteInvite
//
// Deletes a pending project invite, so that its link stops working. When the
// project is in a workspace, the API also deletes the workspace invite for the
// same email. An invite that does not exist returns `NotFound`. An expired
// invite returns `FailedPrecondition`.
//
// Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateInviteWithBody UpdateInvite
//
// Changes the role of a pending project invite. The token and the expiry do not
// change, and the API sends no email. An invite that does not exist returns
// `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that
// allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateInvite UpdateInvite
//
// Changes the role of a pending project invite. The token and the expiry do not
// change, and the API sends no email. An invite that does not exist returns
// `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that
// allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListKeys ListKeys
//
// Lists the API keys of a project, oldest first. The list does not include
// the secrets.
//
// Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).
ProjectServiceListKeys(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceGenerateKeyWithBody GenerateKey
//
// Creates an API key and secret for the project. The response includes the
// secret. You cannot read the secret again.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
ProjectServiceGenerateKeyWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceGenerateKey GenerateKey
//
// Creates an API key and secret for the project. The response includes the
// secret. You cannot read the secret again.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
ProjectServiceGenerateKey(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceDeleteKey DeleteKey
//
// Deletes an API key and its secret from a project. You cannot undo the
// delete. A key that does not exist, or that belongs to another project,
// returns `NotFound`, so a retry returns `NotFound`.
//
// Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).
ProjectServiceDeleteKey(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceListLogPatterns Lists the log patterns of a project in a time range, ranked, with their
// counts over time. A log pattern is a group of log records that log the
// same message from one place in the code, at one level. Its template is
// the message with each variable part, such as a number or an ID, replaced
// by a placeholder. These are the patterns that the logs page on the
// dashboard groups the records into.
//
// When `range.startTime` is unset, the range starts 24 hours before its
// end. The range does not include `range.endTime`.
//
// The API keeps log records for 14 days. One read covers at most the 7
// days before the end of its range. A range that starts earlier reads the
// records of those 7 days. A range that ends more than 14 days ago returns
// `InvalidArgument`. The read does not count the records of the current
// minute, and its answer can be up to one minute old. For a range of one
// day or more, these are five minutes. On a project with
// many records, the counts can be estimates. Then `estimated` is true: the
// API reads the records of a share of the sessions, and scales the counts.
// The read does not count the records of agent simulation sessions, unless
// you set `sessionId`. A read with a filter can return no patterns because
// no record matches. Thus, only a read with no `query`, `minLevel`,
// `sources`, `agentName`, `agentId`, or `sessionId` returns the
// `ObservabilityDisabled` error.
//
// Corresponds with GET /v0/projects/{projectId}/log-patterns (the `ObservabilityServiceListLogPatterns` operationId).
ObservabilityServiceListLogPatterns(ctx context.Context, projectId string, params *ObservabilityServiceListLogPatternsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceListProjectLogs Lists the log records of a project in a time range, from its agents, its
// client SDKs, and LiveKit, newest first by default. These are the records
// that the logs page on the dashboard shows. The chat history is not
// included, because `GetSessionTranscript` returns it.
//
// When `range.startTime` is unset, the range starts 24 hours before its
// end. The range includes `range.endTime`, to the millisecond.
//
// The API keeps log records for 14 days. One read returns at most the 7
// days before the end of its range. A range that starts earlier returns
// the records of those 7 days. A range that ends more than 14 days ago
// returns `InvalidArgument`. A record that arrives after you read a page
// can have a time that your pages already passed. This read does not return
// that record. A new read returns it. Records from the last few minutes can
// still arrive. A read with a filter can return no records because no
// record matches. Thus, only a read with no filter returns the
// `ObservabilityDisabled` error.
//
// Corresponds with GET /v0/projects/{projectId}/logs (the `ObservabilityServiceListProjectLogs` operationId).
ObservabilityServiceListProjectLogs(ctx context.Context, projectId string, params *ObservabilityServiceListProjectLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListMembers ListMembers
//
// Lists the project members, ordered by user ID.
//
// Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
ProjectServiceListMembers(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceRemoveMember RemoveMember
//
// Removes a user from a project, and deletes the API keys that the user owns in
// the project. Agent keys stay. When `isPrivate` is `false` on the project, the
// API removes the user from the workspace and from every project in it, and
// deletes the keys that the user owns in all of those projects. When
// `isPrivate` is `true`, the API sends an email to the user about the
// removal. Send `confirmedNumKeys` to confirm the number of keys to delete.
// A removal that deletes the last API key of a project returns
// `FailedPrecondition` and changes nothing. A user who is not a member
// returns `NotFound`. The response has the number of keys that the removal
// deleted.
//
// Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceGetMember GetMember
//
// Returns the membership of one user on a project, with the role of the user.
// A user who is not a member of the project returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
ProjectServiceGetMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateMemberWithBody UpdateMember
//
// Changes the role of a member of a project. When `isPrivate` is `false` on the
// project, the role is the workspace role of the user: the API changes it on
// the workspace and on every project in the workspace where `isPrivate` is
// `false`. When `isPrivate` is `true`, only this project changes, and the API
// sends an email to the member about the new role. A user who is not a member
// returns `NotFound`. On a plan that allows only the admin role (`3`), the
// roles `1` and `2` return `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateMember UpdateMember
//
// Changes the role of a member of a project. When `isPrivate` is `false` on the
// project, the role is the workspace role of the user: the API changes it on
// the workspace and on every project in the workspace where `isPrivate` is
// `false`. When `isPrivate` is `true`, only this project changes, and the API
// sends an email to the member about the new role. A user who is not a member
// returns `NotFound`. On a plan that allows only the admin role (`3`), the
// roles `1` and `2` return `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAddWorkspaceMembersToProjectWithBody AddWorkspaceMembersToProject
//
// Adds members of the workspace to a project where `isPrivate` is `true`, all
// with one role. A user who is already a member of the project gets the new
// role, so a retry gives the same result. The API sends an email to each user
// that it adds, except you. A project where `isPrivate` is `false` returns
// `InvalidArgument`. A user who is not a member of the workspace returns
// `NotFound`, and the API adds no one. On a plan that allows only the admin
// role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response
// lists the members in no specific order. An empty `userIds` changes nothing.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceAddWorkspaceMembersToProject AddWorkspaceMembersToProject
//
// Adds members of the workspace to a project where `isPrivate` is `true`, all
// with one role. A user who is already a member of the project gets the new
// role, so a retry gives the same result. The API sends an email to each user
// that it adds, except you. A project where `isPrivate` is `false` returns
// `InvalidArgument`. A user who is not a member of the workspace returns
// `NotFound`, and the API adds no one. On a plan that allows only the admin
// role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response
// lists the members in no specific order. An empty `userIds` changes nothing.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceListPhoneNumbers ListPhoneNumbers
//
// Lists the phone numbers of the project, newest first.
//
// Corresponds with GET /v0/projects/{projectId}/phone-numbers (the `TelephonyServiceListPhoneNumbers` operationId).
TelephonyServiceListPhoneNumbers(ctx context.Context, projectId string, params *TelephonyServiceListPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServicePurchasePhoneNumberWithBody PurchasePhoneNumber
//
// Buys a phone number for the project. The number then appears in
// `ListPhoneNumbers`. A number that someone else bought first fails with
// `AlreadyExists`, and a project at its phone number limit fails with
// `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
TelephonyServicePurchasePhoneNumberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServicePurchasePhoneNumber PurchasePhoneNumber
//
// Buys a phone number for the project. The number then appears in
// `ListPhoneNumbers`. A number that someone else bought first fails with
// `AlreadyExists`, and a project at its phone number limit fails with
// `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
TelephonyServicePurchasePhoneNumber(ctx context.Context, projectId string, body TelephonyServicePurchasePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceReleasePhoneNumber ReleasePhoneNumber
//
// Releases a phone number. The project loses the number, and the API
// removes it from each dispatch rule.
//
// Corresponds with DELETE /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceReleasePhoneNumber` operationId).
TelephonyServiceReleasePhoneNumber(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceGetPhoneNumber GetPhoneNumber
//
// Returns a phone number of the project.
//
// Corresponds with GET /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceGetPhoneNumber` operationId).
TelephonyServiceGetPhoneNumber(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdatePhoneNumberWithBody UpdatePhoneNumber
//
// Renames a phone number, or adds it to a dispatch rule. To remove a
// number from a rule, remove its ID from the `trunkIds` of the rule with
// `UpdateDispatchRule`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
TelephonyServiceUpdatePhoneNumberWithBody(ctx context.Context, projectId string, phoneNumberId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdatePhoneNumber UpdatePhoneNumber
//
// Renames a phone number, or adds it to a dispatch rule. To remove a
// number from a rule, remove its ID from the `trunkIds` of the rule with
// `UpdateDispatchRule`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
TelephonyServiceUpdatePhoneNumber(ctx context.Context, projectId string, phoneNumberId string, body TelephonyServiceUpdatePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceSearchPhoneNumbers SearchPhoneNumbers
//
// Lists the phone numbers that are for sale in a country. The list is
// always one page.
//
// Corresponds with GET /v0/projects/{projectId}/phone-numbers:search (the `TelephonyServiceSearchPhoneNumbers` operationId).
TelephonyServiceSearchPhoneNumbers(ctx context.Context, projectId string, params *TelephonyServiceSearchPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceGenerateScenarioFromSessionWithBody GenerateScenarioFromSession
//
// Generates a scenario (label, instructions, and expectations) from a
// recorded room session. Use the scenario in the `scenarioGroup` of a later
// run. The API does not save the scenario: the response is the only copy.
// The session must have a recorded chat history. Each call runs an LLM on
// the chat history, so it counts against the scenario-generation quota of
// the project. A call can take up to about one minute.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
SimulationServiceGenerateScenarioFromSessionWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceGenerateScenarioFromSession GenerateScenarioFromSession
//
// Generates a scenario (label, instructions, and expectations) from a
// recorded room session. Use the scenario in the `scenarioGroup` of a later
// run. The API does not save the scenario: the response is the only copy.
// The session must have a recorded chat history. Each call runs an LLM on
// the chat history, so it counts against the scenario-generation quota of
// the project. A call can take up to about one minute.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
SimulationServiceGenerateScenarioFromSession(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceGetSessionLabelResults Returns the session labels of a project over a time range: the number of
// sessions with each intent and each outcome, the number of sessions with
// each pair of intent and outcome, and the eval results of the sessions
// with each label. A session label is an intent (what the user wanted) or
// an outcome (how the session ended) that LiveKit assigns to each finished
// live session.
//
// The eval results name each eval by its ID only. To get the names, call
// `GetEvalResults` and read `evals`, or call `ListEvals`.
//
// The range selects sessions by their end time, and expands to whole
// 5-minute periods. Simulated sessions are not included.
//
// When `range.startTime` is unset, the range starts 7 days before its end.
// A session that ends at `range.endTime` is included, unless `range.endTime`
// is on a 5-minute boundary. The range can be at most 60 days.
//
// Errors: a range longer than 60 days, a range whose `startTime` is not
// before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`,
// `intentIds`, or `outcomeIds` returns `InvalidArgument`.
//
// Corresponds with GET /v0/projects/{projectId}/session-label-results (the `AnalyticsServiceGetSessionLabelResults` operationId).
AnalyticsServiceGetSessionLabelResults(ctx context.Context, projectId string, params *AnalyticsServiceGetSessionLabelResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceGetSessionLabelSettings GetSessionLabelSettings
//
// Returns the settings that decide which sessions LiveKit labels. A project
// that never changed them has the default values.
//
// Corresponds with GET /v0/projects/{projectId}/session-label-settings (the `EvalServiceGetSessionLabelSettings` operationId).
EvalServiceGetSessionLabelSettings(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateSessionLabelSettingsWithBody Replaces the session label settings of a project. A field that you leave
// out goes back to its default value, so send every field that you want to
// keep.
//
// Errors: a value that is wrong, such as a `confidenceThreshold` outside the
// range, returns `InvalidArgument`, with each field in the error details.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
EvalServiceUpdateSessionLabelSettingsWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateSessionLabelSettings Replaces the session label settings of a project. A field that you leave
// out goes back to its default value, so send every field that you want to
// keep.
//
// Errors: a value that is wrong, such as a `confidenceThreshold` outside the
// range, returns `InvalidArgument`, with each field in the error details.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
EvalServiceUpdateSessionLabelSettings(ctx context.Context, projectId string, body EvalServiceUpdateSessionLabelSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceListSessionLabels ListSessionLabels
//
// Lists the session labels of a project, sorted by name, ignoring case. The
// list is always one page, with every label of the kind. A project has at
// most 500 active labels of each kind.
//
// Corresponds with GET /v0/projects/{projectId}/session-labels (the `EvalServiceListSessionLabels` operationId).
EvalServiceListSessionLabels(ctx context.Context, projectId string, params *EvalServiceListSessionLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceCreateSessionLabelWithBody Creates a session label. LiveKit applies the label to the sessions that
// end after the label exists, and the label does not reach sessions that
// ended before. The LLM that assigns labels reads the `description` of each
// label, so a description is required. The first label of a project turns
// labeling on, and each labeled session uses LLM inference that LiveKit pays
// for.
//
// Errors: a field that is wrong returns `InvalidArgument`, with each field
// in the error details. A name that another active label of the same kind
// has returns `AlreadyExists`. A project with the maximum number of active
// labels of the kind, or an agent that would have too many labels of the
// kind, returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
EvalServiceCreateSessionLabelWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceCreateSessionLabel Creates a session label. LiveKit applies the label to the sessions that
// end after the label exists, and the label does not reach sessions that
// ended before. The LLM that assigns labels reads the `description` of each
// label, so a description is required. The first label of a project turns
// labeling on, and each labeled session uses LLM inference that LiveKit pays
// for.
//
// Errors: a field that is wrong returns `InvalidArgument`, with each field
// in the error details. A name that another active label of the same kind
// has returns `AlreadyExists`. A project with the maximum number of active
// labels of the kind, or an agent that would have too many labels of the
// kind, returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
EvalServiceCreateSessionLabel(ctx context.Context, projectId string, body EvalServiceCreateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceDeleteSessionLabel Deletes a session label. LiveKit stops assigning it, and the labels that
// it assigned to past sessions stay. The response lists the active evals
// that still name the label in `run.when`. The delete happens either way, so
// fix those evals. `UndeleteSessionLabel` brings the label back with the
// same ID. Deleting a deleted label changes nothing.
//
// Errors: an unknown label returns `NotFound`.
//
// Corresponds with DELETE /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceDeleteSessionLabel` operationId).
EvalServiceDeleteSessionLabel(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateSessionLabelWithBody Changes a session label. A field that you leave out does not change. The
// kind of a label does not change. A change applies to the sessions that end
// after it. Evals refer to a label by its ID, so a new name does not change
// them.
//
// Errors: an unknown label returns `NotFound`. A deleted label returns
// `FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A
// name that another active label of the same kind has returns
// `AlreadyExists`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
EvalServiceUpdateSessionLabelWithBody(ctx context.Context, projectId string, labelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUpdateSessionLabel Changes a session label. A field that you leave out does not change. The
// kind of a label does not change. A change applies to the sessions that end
// after it. Evals refer to a label by its ID, so a new name does not change
// them.
//
// Errors: an unknown label returns `NotFound`. A deleted label returns
// `FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A
// name that another active label of the same kind has returns
// `AlreadyExists`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
EvalServiceUpdateSessionLabel(ctx context.Context, projectId string, labelId string, body EvalServiceUpdateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvalServiceUndeleteSessionLabel Undeletes a session label, with its old ID, so the evals that name the ID
// match it again. The name and the limits of the project apply again.
// Undeleting an active label changes nothing.
//
// Errors: an unknown label returns `NotFound`. A name that another active
// label of the same kind has taken returns `AlreadyExists`. A project with
// the maximum number of active labels of the kind, or an agent that would
// have too many labels of the kind, returns `FailedPrecondition`.
//
// Corresponds with POST /v0/projects/{projectId}/session-labels/{labelId}:undelete (the `EvalServiceUndeleteSessionLabel` operationId).
EvalServiceUndeleteSessionLabel(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceListProjectSessions ListProjectSessions
//
// Lists the room sessions of a project, newest first. When
// `filter.range.startTime` is unset, the range starts 14 days before its
// end. A session that started at `filter.range.endTime` is not included.
//
// Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceGetSession GetSession
//
// Returns one room session. The response has the `session` that the list
// returns, and a `detail` with the participants and the metric timelines.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceGetSessionEvals Returns the eval results of a session: the newest result of each eval
// that LiveKit scored on each agent job of the session, with the answer of
// each criterion, the answers of its judges, and why a failed criterion
// failed. It also returns the intent and the outcome that LiveKit assigned to
// each agent job. These are the results that the evals tab of a session on
// the dashboard shows.
//
// A judge is an LLM that answers a criterion. A failure reason explains a
// failed criterion of a failed eval, and a failure excerpt quotes the
// transcript lines that show the failure.
//
// LiveKit scores a session after its agent uploads the session recording,
// and the judges can take minutes after the session ends. Thus, a session
// that LiveKit has not scored yet returns empty `evals` and `labels`, with no
// error. When an eval that you expect is missing, read again a few minutes
// later. An unknown session, or a session of another project,
// returns `NotFound`. A session with no results while user data recording is
// off returns the `ObservabilityDisabled` error.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/evals (the `ObservabilityServiceGetSessionEvals` operationId).
ObservabilityServiceGetSessionEvals(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceListSessionEvents Lists the events of a room session. Defaults to oldest first. The page info
// has no total.
//
// When `types` is empty, the list has these seven types:
// `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`,
// `PARTICIPANT_RESUMED`, `ROOM_CREATED`, `ROOM_ENDED`, and `API_CALL`. To get
// other types, such as `TRACK_PUBLISHED`, set `types`. To get the events of
// one participant session, set `participantSessionId`. When you set
// `participantSessionId` and `types` is empty, the list has these eleven
// types: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_RESUMED`,
// `PARTICIPANT_ACTIVE`, `TRACK_MUTED`, `TRACK_UNMUTED`, `TRACK_PUBLISHED`,
// `TRACK_UNPUBLISHED`, `TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED`, and
// `TRACK_SUBSCRIBE_FAILED`.
//
// Each type matches exactly, so `TRACK_PUBLISHED` does not also return
// `TRACK_PUBLISHED_UPDATE`. The `payload` of an event has only a fixed set of
// fields. It does not include participant attributes, participant metadata,
// or the request bodies of API calls. Each event and participant item has the
// identity of the participant. For a SIP caller, the identity can be a phone
// number.
//
// LiveKit keeps events for 60 days. This can be shorter than the other data
// of the session, so an older session can have no events. An `ACTIVE` session
// lists the events recorded until now.
//
// Errors: an unknown type or a malformed participant session ID returns
// `InvalidArgument`. An unknown session returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).
AnalyticsServiceListSessionEvents(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceGetSessionLogs Returns the log records that the agents of a session exported, in time
// order. These are the records that the logs panel on the dashboard shows.
// The chat history is not included, because `GetSessionTranscript` returns
// it. Evaluation results are included. To get the events of the session, such
// as participants that join, use `AnalyticsService.ListSessionEvents`.
//
// An `ACTIVE` session returns the records that its agents exported up to now.
// While you page through the records, an agent can export a record with a
// time that your pages already passed. For example, in oldest-first order, a
// record with a time earlier than the cursor position. This read does not
// return that record. A new read returns it. An unknown session returns
// `NotFound`. A read filtered by `logLevels` can return no records because no
// record has those levels. Thus, only a read with no filter returns the
// `ObservabilityDisabled` error.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).
ObservabilityServiceGetSessionLogs(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceGetSessionMetrics Returns the OpenTelemetry metric points that the agents of a session
// exported, ordered by time. The points include turn latencies, such as
// `lk.agents.turn.e2e_latency` and `lk.agents.turn.llm_ttft`, token and
// duration usage, such as `lk.agents.usage.llm_input_tokens`, and the
// `gen_ai.*` histograms. They also include the metrics that the agent's own
// code recorded.
//
// These are the raw metrics that agents export. They do not exactly match the
// metrics panel on the dashboard, which calculates its values from the
// transcript and traces. Only an agent that exports OpenTelemetry metrics to
// LiveKit Cloud has points. An agent whose code installs its own
// `MeterProvider` exports no metrics to LiveKit Cloud, and its sessions
// return no points.
//
// Some points do not have the labels that their agent exported. LiveKit Cloud
// groups the series of a session by their attributes only, and gives each
// group the name of its first point. This has these results. Several metrics
// can have one name. For example, the input, output, and cached token counts
// of an LLM all have the name `lk.agents.usage.llm_input_tokens`. Points of
// one series with the same time and the same value become one point. When a
// session has two agents, a point can have the resource attributes of the
// other agent.
//
// An agent exports its metrics every 30 seconds, and its turn latencies when
// the session ends. Thus, an `ACTIVE` session returns the points that its
// agents exported up to now. An unknown session returns `NotFound`. A read
// filtered by `names` can return no points because no metric has those names.
// Thus, only a read with no filter returns the `ObservabilityDisabled` error.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).
ObservabilityServiceGetSessionMetrics(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnalyticsServiceListSessionParticipants ListSessionParticipants
//
// Lists the participants of a room session, one item for each identity.
// Defaults to newest join first. Each item has the participant sessions of
// the participant (`PA_...`), each with the client that it connected from.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).
AnalyticsServiceListSessionParticipants(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceGetSessionRecordingURL GetSessionRecordingURL
//
// Returns a short-lived signed URL for a session recording: its audio
// or its chat history. When the recording doesn't exist and
// `dataStatus.state` is `DATA_STATE_SESSION_ACTIVE` or
// `DATA_STATE_SETTLING`, the response has an empty `url`, because the
// agent can still upload the recording. In every other state, a session
// with no recording of that type returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).
ObservabilityServiceGetSessionRecordingURL(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceGetSessionTraces Returns the spans that the agents of a session exported, ordered by start
// time. These are the spans that the trace view on the dashboard shows. Each
// span names its parent, so you can build the span tree from the pages. The
// attributes of a span hold the turn and latency fields that the turn view on
// the dashboard uses, such as `lk.generation_id` and `lk.response.ttft`.
//
// An `ACTIVE` session returns the spans that its agents exported up to now. A
// span exported after the first page appears only in a new read. The API
// reads the later pages by offset, so a span exported during your read can
// move them. Thus, a span can repeat, or a page can skip a span. Remove
// duplicates by `spanId`. To get a skipped span, read again from the first
// page. An unknown session returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).
ObservabilityServiceGetSessionTraces(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ObservabilityServiceGetSessionTranscript Returns the conversation of a session as ordered transcript items. The
// items are messages, tool calls and results, agent handoffs, and agent
// configuration changes. It is the conversation that the transcript on the
// dashboard shows.
//
// The agent exports its transcript when the session ends. There is a delay
// before you can read it, and the length of the delay is not fixed. On a
// project with PII redaction, you can read it only after LiveKit redacts the
// session recording. Thus, an `ACTIVE` session returns the items that exist,
// usually none, with no error. Read it again after the session ends. An
// unknown session returns `NotFound`.
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).
ObservabilityServiceGetSessionTranscript(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceListSimulationRuns ListSimulationRuns
//
// Lists the runs of a project, newest first. You can filter the runs by
// status, agent, conversation mode, and time window. Each run includes its
// counts (`jobCount`, `passedCount`, `failedCount`, and `issueCount`), but
// not its jobs or its summary.
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
SimulationServiceListSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCreateSimulationRunWithBody CreateSimulationRun
//
// Creates a simulation run. With a `scenarioGroup`, the run starts
// immediately and the response has no upload target. Without a
// `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source
// that the API generates scenarios from. Upload the source to the returned
// presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays
// pending for one hour fails. This RPC is not idempotent: a retry starts a
// second run.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCreateSimulationRun CreateSimulationRun
//
// Creates a simulation run. With a `scenarioGroup`, the run starts
// immediately and the response has no upload target. Without a
// `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source
// that the API generates scenarios from. Upload the source to the returned
// presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays
// pending for one hour fails. This RPC is not idempotent: a retry starts a
// second run.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceGetSimulationRun GetSimulationRun
//
// Returns one run with its jobs and aggregate metrics. The response does not
// include the compressed summary (`summaryZstd`). To get the summary, call
// `GetSimulationRunSummary`.
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceGetSimulationRunSummary GetSimulationRunSummary
//
// Returns the graded outcome of a finished run: the pass and fail counts,
// what went well, what to improve, the flagged issues with suggestions, and
// the chat history of each job. Returns `FailedPrecondition` while the run
// is in progress. Returns `NotFound` when the run finished without a
// summary.
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).
SimulationServiceGetSimulationRunSummary(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCancelSimulationRun CancelSimulationRun
//
// Stops a run that has not finished. When the run is already finished, the
// call succeeds and has no effect.
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceConfirmSimulationSourceUploadWithBody ConfirmSimulationSourceUpload
//
// Confirms that the agent source is uploaded and starts scenario
// generation. The run goes to `GENERATING`, then to `RUNNING` when the
// scenarios exist. The call is valid only while the run is
// `PENDING_UPLOAD`, so a repeated call fails.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
SimulationServiceConfirmSimulationSourceUploadWithBody(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceConfirmSimulationSourceUpload ConfirmSimulationSourceUpload
//
// Confirms that the agent source is uploaded and starts scenario
// generation. The run goes to `GENERATING`, then to `RUNNING` when the
// scenarios exist. The call is valid only while the run is
// `PENDING_UPLOAD`, so a repeated call fails.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
SimulationServiceConfirmSimulationSourceUpload(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SimulationServiceCountSimulationRuns CountSimulationRuns
//
// Returns a histogram of the runs in the window [`startTime`, `endTime`). It
// takes the same filters as `ListSimulationRuns`, so the histogram and the
// list describe the same set of runs. Both bounds are required, and
// `endTime` must be after `startTime`.
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).
SimulationServiceCountSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceListDispatchRules ListDispatchRules
//
// Lists the dispatch rules of the project, in ID order. The list is always
// one page.
//
// Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceListDispatchRules` operationId).
TelephonyServiceListDispatchRules(ctx context.Context, projectId string, params *TelephonyServiceListDispatchRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateDispatchRuleWithBody CreateDispatchRule
//
// Creates a dispatch rule. A rule applies to the trunks and the phone
// numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To
// send the calls to a phone number to a rule, add the ID of the number
// (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with
// another rule of the project fails with `InvalidArgument`, and the message
// names the other rule.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
TelephonyServiceCreateDispatchRuleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateDispatchRule CreateDispatchRule
//
// Creates a dispatch rule. A rule applies to the trunks and the phone
// numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To
// send the calls to a phone number to a rule, add the ID of the number
// (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with
// another rule of the project fails with `InvalidArgument`, and the message
// names the other rule.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
TelephonyServiceCreateDispatchRule(ctx context.Context, projectId string, body TelephonyServiceCreateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceDeleteDispatchRule DeleteDispatchRule
//
// Deletes a dispatch rule.
//
// Corresponds with DELETE /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceDeleteDispatchRule` operationId).
TelephonyServiceDeleteDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceGetDispatchRule GetDispatchRule
//
// Returns a dispatch rule of the project.
//
// Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceGetDispatchRule` operationId).
TelephonyServiceGetDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdateDispatchRuleWithBody UpdateDispatchRule
//
// Replaces a dispatch rule, or changes some of its fields.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
TelephonyServiceUpdateDispatchRuleWithBody(ctx context.Context, projectId string, dispatchRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdateDispatchRule UpdateDispatchRule
//
// Replaces a dispatch rule, or changes some of its fields.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
TelephonyServiceUpdateDispatchRule(ctx context.Context, projectId string, dispatchRuleId string, body TelephonyServiceUpdateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceListInboundTrunks ListInboundTrunks
//
// Lists the inbound trunks of the project, in ID order. The list is always
// one page.
//
// Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceListInboundTrunks` operationId).
TelephonyServiceListInboundTrunks(ctx context.Context, projectId string, params *TelephonyServiceListInboundTrunksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateInboundTrunkWithBody CreateInboundTrunk
//
// Creates an inbound trunk. A trunk that conflicts with another trunk of
// the project, such as one that accepts the same number from the same
// callers, fails with `InvalidArgument`, and the message names the other
// trunk.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
TelephonyServiceCreateInboundTrunkWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateInboundTrunk CreateInboundTrunk
//
// Creates an inbound trunk. A trunk that conflicts with another trunk of
// the project, such as one that accepts the same number from the same
// callers, fails with `InvalidArgument`, and the message names the other
// trunk.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
TelephonyServiceCreateInboundTrunk(ctx context.Context, projectId string, body TelephonyServiceCreateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceDeleteInboundTrunk DeleteInboundTrunk
//
// Deletes an inbound trunk.
//
// Corresponds with DELETE /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceDeleteInboundTrunk` operationId).
TelephonyServiceDeleteInboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceGetInboundTrunk GetInboundTrunk
//
// Returns an inbound trunk of the project.
//
// Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceGetInboundTrunk` operationId).
TelephonyServiceGetInboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdateInboundTrunkWithBody UpdateInboundTrunk
//
// Replaces an inbound trunk, or changes some of its fields.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
TelephonyServiceUpdateInboundTrunkWithBody(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdateInboundTrunk UpdateInboundTrunk
//
// Replaces an inbound trunk, or changes some of its fields.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
TelephonyServiceUpdateInboundTrunk(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceListOutboundTrunks ListOutboundTrunks
//
// Lists the outbound trunks of the project, in ID order. The list is always
// one page.
//
// Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceListOutboundTrunks` operationId).
TelephonyServiceListOutboundTrunks(ctx context.Context, projectId string, params *TelephonyServiceListOutboundTrunksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateOutboundTrunkWithBody CreateOutboundTrunk
//
// Creates an outbound trunk, which `CreateSIPParticipant` places calls
// through.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
TelephonyServiceCreateOutboundTrunkWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateOutboundTrunk CreateOutboundTrunk
//
// Creates an outbound trunk, which `CreateSIPParticipant` places calls
// through.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
TelephonyServiceCreateOutboundTrunk(ctx context.Context, projectId string, body TelephonyServiceCreateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceDeleteOutboundTrunk DeleteOutboundTrunk
//
// Deletes an outbound trunk.
//
// Corresponds with DELETE /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceDeleteOutboundTrunk` operationId).
TelephonyServiceDeleteOutboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceGetOutboundTrunk GetOutboundTrunk
//
// Returns an outbound trunk of the project.
//
// Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceGetOutboundTrunk` operationId).
TelephonyServiceGetOutboundTrunk(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdateOutboundTrunkWithBody UpdateOutboundTrunk
//
// Replaces an outbound trunk, or changes some of its fields.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
TelephonyServiceUpdateOutboundTrunkWithBody(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceUpdateOutboundTrunk UpdateOutboundTrunk
//
// Replaces an outbound trunk, or changes some of its fields.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
TelephonyServiceUpdateOutboundTrunk(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateSIPParticipantWithBody CreateSIPParticipant
//
// Calls a phone number or a SIP URI through an outbound trunk, and adds
// the call to a room as a SIP participant. With `waitUntilAnswered`, the
// call returns when the far end answers, up to `ringingTimeout`, which can
// then be at most 75 seconds. When the
// far end refuses the call, such as with 486 Busy Here, the call fails with
// `FailedPrecondition`, and the error has its SIP status as a
// `livekit.SIPStatus` detail.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
TelephonyServiceCreateSIPParticipantWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceCreateSIPParticipant CreateSIPParticipant
//
// Calls a phone number or a SIP URI through an outbound trunk, and adds
// the call to a room as a SIP participant. With `waitUntilAnswered`, the
// call returns when the far end answers, up to `ringingTimeout`, which can
// then be at most 75 seconds. When the
// far end refuses the call, such as with 486 Busy Here, the call fails with
// `FailedPrecondition`, and the error has its SIP status as a
// `livekit.SIPStatus` detail.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
TelephonyServiceCreateSIPParticipant(ctx context.Context, projectId string, body TelephonyServiceCreateSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceTransferSIPParticipantWithBody TransferSIPParticipant
//
// Transfers the call of a SIP participant to another phone number or SIP
// URI, and returns when the transfer ends. Its `ringingTimeout` can be at
// most 75 seconds. A transfer that fails, such as
// one that nobody answers, fails with `FailedPrecondition`, and the error
// has a `livekit.SIPTransferError` detail with the reason.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
TelephonyServiceTransferSIPParticipantWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TelephonyServiceTransferSIPParticipant TransferSIPParticipant
//
// Transfers the call of a SIP participant to another phone number or SIP
// URI, and returns when the transfer ends. Its `ringingTimeout` can be at
// most 75 seconds. A transfer that fails, such as
// one that nobody answers, fails with `FailedPrecondition`, and the error
// has a `livekit.SIPTransferError` detail with the reason.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
TelephonyServiceTransferSIPParticipant(ctx context.Context, projectId string, body TelephonyServiceTransferSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateTokenWithBody CreateToken
//
// Creates a short-lived LiveKit access token for the project. The API signs
// the token, so a signed-in user can call the LiveKit server APIs, such as
// rooms, SIP, and egress, or join a room without an API secret.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
ProjectServiceCreateTokenWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateToken CreateToken
//
// Creates a short-lived LiveKit access token for the project. The API signs
// the token, so a signed-in user can call the LiveKit server APIs, such as
// rooms, SIP, and egress, or join a room without an API secret.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
ProjectServiceCreateToken(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListWebhookEvents ListWebhookEvents
//
// Lists the event names that the webhooks of a project can receive. The list
// is always one page.
//
// Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).
ProjectServiceListWebhookEvents(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceListWebhooks ListWebhooks
//
// Lists the webhook destinations for the project, in the order that they
// were added. The list is always one page.
//
// Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).
ProjectServiceListWebhooks(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateWebhookWithBody CreateWebhook
//
// Creates a webhook destination for a project. It delivers LiveKit Cloud
// events only, such as room, participant, track, egress, ingress and agent
// job events; it doesn't receive or forward events from other services, such
// as SMS. A `url` that is not an absolute
// HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event
// in `filterParams` that `ListWebhookEvents` does not return, or a
// `signingKey` that is not an API key of the project, also returns
// `InvalidArgument`. When `signingKey` is empty and the project has no API key,
// the request fails with `FailedPrecondition`. The call is not idempotent: a
// retry creates a second webhook.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
ProjectServiceCreateWebhookWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceCreateWebhook CreateWebhook
//
// Creates a webhook destination for a project. It delivers LiveKit Cloud
// events only, such as room, participant, track, egress, ingress and agent
// job events; it doesn't receive or forward events from other services, such
// as SMS. A `url` that is not an absolute
// HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event
// in `filterParams` that `ListWebhookEvents` does not return, or a
// `signingKey` that is not an API key of the project, also returns
// `InvalidArgument`. When `signingKey` is empty and the project has no API key,
// the request fails with `FailedPrecondition`. The call is not idempotent: a
// retry creates a second webhook.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
ProjectServiceCreateWebhook(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceDeleteWebhook DeleteWebhook
//
// Deletes a webhook destination from a project. The project stops sending
// events to its URL. A webhook that does not exist returns `NotFound`, so a
// retry returns `NotFound`.
//
// Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).
ProjectServiceDeleteWebhook(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateWebhookWithBody UpdateWebhook
//
// Updates a webhook destination of a project, and returns the updated webhook.
// A field that you do not set keeps its value. A set `filterParams` replaces
// the whole filter. The checks of `CreateWebhook` apply to the new values, and
// a failed check returns `InvalidArgument`. A webhook that does not exist
// returns `NotFound`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
ProjectServiceUpdateWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceUpdateWebhook UpdateWebhook
//
// Updates a webhook destination of a project, and returns the updated webhook.
// A field that you do not set keeps its value. A set `filterParams` replaces
// the whole filter. The checks of `CreateWebhook` apply to the new values, and
// a failed check returns `InvalidArgument`. A webhook that does not exist
// returns `NotFound`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
ProjectServiceUpdateWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceSendTestWebhookWithBody SendTestWebhook
//
// Sends one sample event to a webhook destination, and returns the answer of
// the receiver. The API sends only to this webhook, ignores the webhook filter,
// and signs the request as it signs real deliveries. When the signing key of
// the webhook is not an API key of the project, the API signs with the oldest
// API key. The API makes one attempt and waits up to 10 seconds. A failed
// delivery shows in the response, not as an error. An `event` that
// `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that
// does not exist returns `NotFound`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
ProjectServiceSendTestWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectServiceSendTestWebhook SendTestWebhook
//
// Sends one sample event to a webhook destination, and returns the answer of
// the receiver. The API sends only to this webhook, ignores the webhook filter,
// and signs the request as it signs real deliveries. When the signing key of
// the webhook is not an API key of the project, the API signs with the oldest
// API key. The API makes one attempt and waits up to 10 seconds. A failed
// delivery shows in the response, not as an error. An `event` that
// `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that
// does not exist returns `NotFound`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
ProjectServiceSendTestWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceListUsers ListUsers
//
// Lists the members of a project or a workspace, ordered by user ID. The list
// does not include pending invitees. Set `projectId`, `workspaceId`, or both.
// When you set neither, the request fails with `InvalidArgument`.
//
// Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).
UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceGetCurrentUser GetCurrentUser
//
// Returns the user that you are signed in as.
//
// Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).
UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceRevokeSessionToken RevokeSessionToken
//
// Revokes the session token that you call with, and signs you out. After
// this call, the token gets `Unauthenticated` on every call, a retry of this
// call included. Your other session tokens stay valid. Access tokens that
// `CreateToken` returned stay valid until they expire.
//
// Corresponds with DELETE /v0/users/me/session-token (the `UserServiceRevokeSessionToken` operationId).
UserServiceRevokeSessionToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserServiceGetUser GetUser
//
// Returns a user by ID. You can get yourself, or a user who is a member of a
// workspace or a project that you are a member of. Any other user returns
// `NotFound`, the same as a user who does not exist.
//
// Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).
UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetInvite GetInvite
//
// Returns a workspace invite that was sent to you, found by its token. Use it
// to show the invite before you answer it with `AnswerInvite`. An invite that
// was sent to a different email address returns `PermissionDenied`. An expired
// invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
//
// Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceAnswerInviteWithBody AnswerInvite
//
// Accepts or declines a workspace invite that was sent to you. When you accept,
// you become a member of the workspace and of every project in it where
// `isPrivate` is `false`, with the role of the invite. If you are already a
// member, the role of the invite replaces your role. The API also deletes your
// pending invites to those projects. When you decline, the API deletes the
// invite. After you answer, the token stops working, so a retry returns
// `NotFound`. An invite that was sent to a different email address returns
// `PermissionDenied`. An expired invite returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceAnswerInvite AnswerInvite
//
// Accepts or declines a workspace invite that was sent to you. When you accept,
// you become a member of the workspace and of every project in it where
// `isPrivate` is `false`, with the role of the invite. If you are already a
// member, the role of the invite replaces your role. The API also deletes your
// pending invites to those projects. When you decline, the API deletes the
// invite. After you answer, the token stops working, so a retry returns
// `NotFound`. An invite that was sent to a different email address returns
// `PermissionDenied`. An expired invite returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListWorkspaces ListWorkspaces
//
// Lists the workspaces that you are a member of, ordered by workspace ID. A
// pending invite does not make you a member.
//
// Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateWorkspaceWithBody CreateWorkspace
//
// Creates a workspace. You become its only member, with the admin role (`3`).
// The workspace has no projects: to add one, call `CreateProject`. An empty
// `name` returns `InvalidArgument`. The call is not idempotent: a retry
// creates a second workspace.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateWorkspace CreateWorkspace
//
// Creates a workspace. You become its only member, with the admin role (`3`).
// The workspace has no projects: to add one, call `CreateProject`. An empty
// `name` returns `InvalidArgument`. The call is not idempotent: a retry
// creates a second workspace.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteWorkspace DeleteWorkspace
//
// Deletes a workspace, with its members and its pending invites. A workspace
// that has projects returns `FailedPrecondition`: delete its projects first.
// You cannot undo the delete. A retry returns `NotFound`.
//
// Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetWorkspace GetWorkspace
//
// Returns a workspace. A workspace that you are not a member of returns
// `NotFound`.
//
// Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateWorkspaceWithBody UpdateWorkspace
//
// Changes the name or the MCP policy of a workspace, and returns the updated
// workspace. A field that is unset does not change.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateWorkspace UpdateWorkspace
//
// Changes the name or the MCP policy of a workspace, and returns the updated
// workspace. A field that is unset does not change.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListInvites ListInvites
//
// Lists the unexpired invites of a workspace, ordered by email.
//
// Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
WorkspaceServiceListInvites(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateInviteWithBody CreateInvite
//
// Invites a person to a workspace by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an unexpired invite for the email exists, the
// API sends that invite again: its token, role, and expiry do not change. On
// a plan that allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateInvite CreateInvite
//
// Invites a person to a workspace by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an unexpired invite for the email exists, the
// API sends that invite again: its token, role, and expiry do not change. On
// a plan that allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteInvite DeleteInvite
//
// Deletes a pending workspace invite, so that its link stops working. When no
// invite exists for the email, the call succeeds and changes nothing.
//
// Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListMembers ListMembers
//
// Lists the workspace members, ordered by user ID.
//
// Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
WorkspaceServiceListMembers(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteMember DeleteMember
//
// Removes a user from a workspace and from every project in it, and deletes
// the API keys that the user owns in those projects. Agent keys stay. Send
// `confirmedNumKeys` to confirm the number of keys to delete. A removal that
// deletes the last API key of a project returns `FailedPrecondition` and
// changes nothing. A user who is not a member returns `NotFound`. The response
// has the number of keys that the removal deleted.
//
// Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetMember GetMember
//
// Returns the membership of one user on a workspace, with the role of the
// user. A user who is not a member of the workspace returns `NotFound`.
//
// Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateMemberWithBody UpdateMember
//
// Changes the workspace role of a member. The API also changes the role of the
// user on every project in the workspace where `isPrivate` is `false`. The
// projects where `isPrivate` is `true` keep their roles. A user who is not a
// member returns `NotFound`. On a plan that allows only the admin role (`3`),
// the roles `1` and `2` return `FailedPrecondition`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceUpdateMember UpdateMember
//
// Changes the workspace role of a member. The API also changes the role of the
// user on every project in the workspace where `isPrivate` is `false`. The
// projects where `isPrivate` is `true` keep their roles. A user who is not a
// member returns `NotFound`. On a plan that allows only the admin role (`3`),
// the roles `1` and `2` return `FailedPrecondition`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceListProjects ListProjects
//
// Lists the projects in a workspace. The items are the same `Project`
// message that `ProjectService` returns.
//
// Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
WorkspaceServiceListProjects(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateProjectWithBody CreateProject
//
// Creates a project in a workspace. Send the project as the request body. The
// rules and errors of `ProjectService.CreateProject` apply. You become a
// member of the project with the admin role (`3`), and the API creates an API
// key that you own. When `isPrivate` is `false`, every member of the
// workspace becomes a member of the project, with their workspace role. The
// call is not idempotent: when `subdomain` is empty, a retry creates a second
// project.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceCreateProject CreateProject
//
// Creates a project in a workspace. Send the project as the request body. The
// rules and errors of `ProjectService.CreateProject` apply. You become a
// member of the project with the admin role (`3`), and the API creates an API
// key that you own. When `isPrivate` is `false`, every member of the
// workspace becomes a member of the project, with their workspace role. The
// call is not idempotent: when `subdomain` is empty, a retry creates a second
// project.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceDeleteProject DeleteProject
//
// Deletes a project in a workspace, with its API keys, its webhooks, and its
// member list. You cannot undo the delete. A project that is not in the
// workspace returns `NotFound`, and a retry returns `NotFound`.
//
// Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WorkspaceServiceGetProject GetProject
//
// Returns a project in a workspace, with its settings and its webhooks. A
// project that is not in the workspace, or that you cannot see, returns
// `NotFound`.
//
// Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AgentBuilderServiceCreateAgentWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceCreateAgentWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentBuilderServiceCreateAgentResponse, error)
AgentBuilderServiceCreateAgentWithBodyWithResponse CreateAgent
Creates an Agent Builder agent from a name and a configuration. The agent
is not deployed: call `DeployAgent` to run it. Unset configuration properties take their default, and unknown properties are ignored. A configuration that is not valid fails with `InvalidArgument` and a `google.rpc.BadRequest` detail. It has a field violation for each problem, up to 100, which names a field, such as `config.httpTools[0].url`, and what is wrong with it. A config with more problems gets one last violation for `config` that says how many more. `********` is not a valid header value: send the value itself.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceCreateAgentWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceCreateAgentWithResponse(ctx context.Context, projectId string, body AgentBuilderServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentBuilderServiceCreateAgentResponse, error)
AgentBuilderServiceCreateAgentWithResponse CreateAgent
Creates an Agent Builder agent from a name and a configuration. The agent
is not deployed: call `DeployAgent` to run it. Unset configuration properties take their default, and unknown properties are ignored. A configuration that is not valid fails with `InvalidArgument` and a `google.rpc.BadRequest` detail. It has a field violation for each problem, up to 100, which names a field, such as `config.httpTools[0].url`, and what is wrong with it. A config with more problems gets one last violation for `config` that says how many more. `********` is not a valid header value: send the value itself.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceDeleteAgentWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceDeleteAgentWithResponse(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*AgentBuilderServiceDeleteAgentResponse, error)
AgentBuilderServiceDeleteAgentWithResponse DeleteAgent
Deletes an Agent Builder agent, its versions, and its deployment.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceDeleteAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceDeployAgentWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceDeployAgentWithBodyWithResponse(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentBuilderServiceDeployAgentResponse, error)
AgentBuilderServiceDeployAgentWithBodyWithResponse DeployAgent
Starts a deployment of the current configuration of an Agent Builder
agent, or of an earlier version. The call returns when the build starts, with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after the call returns. Call `GetAgent` to follow the deployment until its status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceDeployAgentWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceDeployAgentWithResponse(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceDeployAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentBuilderServiceDeployAgentResponse, error)
AgentBuilderServiceDeployAgentWithResponse DeployAgent
Starts a deployment of the current configuration of an Agent Builder
agent, or of an earlier version. The call returns when the build starts, with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after the call returns. Call `GetAgent` to follow the deployment until its status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceGetAgentCodeURLWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceGetAgentCodeURLWithResponse(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceGetAgentCodeURLParams, reqEditors ...RequestEditorFn) (*AgentBuilderServiceGetAgentCodeURLResponse, error)
AgentBuilderServiceGetAgentCodeURLWithResponse GetAgentCodeURL
Returns a short-lived URL that downloads the agent code of an Agent
Builder agent version as a zip file. The zip holds `src/agent.py`, `pyproject.toml`, `.env.example`, a `Dockerfile`, and the project docs, so that you can run and change the agent yourself. The URL needs no credentials and is valid until `expiresAt`. The agent code holds every header value, so the call requires the `WRITE` role. A version whose configuration can't make agent code returns `FailedPrecondition`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/code-url (the `AgentBuilderServiceGetAgentCodeURL` operationId).
func (*ClientWithResponses) AgentBuilderServiceGetAgentWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceGetAgentWithResponse(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*AgentBuilderServiceGetAgentResponse, error)
AgentBuilderServiceGetAgentWithResponse GetAgent
Returns an Agent Builder agent with its current configuration and its
deployment status. A `READ` member reads `********` in place of each header value.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceGetAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceListAgentVersionsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceListAgentVersionsWithResponse(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceListAgentVersionsParams, reqEditors ...RequestEditorFn) (*AgentBuilderServiceListAgentVersionsResponse, error)
AgentBuilderServiceListAgentVersionsWithResponse ListAgentVersions
Lists the versions of an Agent Builder agent, newest first, each with its
configuration. To deploy an earlier version, pass its ID to `DeployAgent`. To make its configuration current again, pass the configuration to `UpdateAgent`. A `READ` member reads `********` in place of each header value.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/versions (the `AgentBuilderServiceListAgentVersions` operationId).
func (*ClientWithResponses) AgentBuilderServiceListAgentsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceListAgentsWithResponse(ctx context.Context, projectId string, params *AgentBuilderServiceListAgentsParams, reqEditors ...RequestEditorFn) (*AgentBuilderServiceListAgentsResponse, error)
AgentBuilderServiceListAgentsWithResponse ListAgents
Lists the Agent Builder agents of a project by name, with the deployment
status of each. The list does not include configurations. To get the configuration of an agent, call `GetAgent`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceListAgents` operationId).
func (*ClientWithResponses) AgentBuilderServiceUpdateAgentWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceUpdateAgentWithBodyWithResponse(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentBuilderServiceUpdateAgentResponse, error)
AgentBuilderServiceUpdateAgentWithBodyWithResponse UpdateAgent
Changes the configuration of an Agent Builder agent, its name, or both. A
new configuration makes a new version. A new name does not. The running agent does not change until you deploy again. Until then, it keeps the old configuration and registers under the old name. After that deploy, a dispatch or a SIP dispatch rule that uses the old name no longer reaches it. A request with neither `config` nor `name` fails with `InvalidArgument`. A name that another Agent Builder agent of the project has fails with `AlreadyExists`. A configuration that is not valid fails as it does in `CreateAgent`, which includes `********` as a header value.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
func (*ClientWithResponses) AgentBuilderServiceUpdateAgentWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AgentBuilderServiceUpdateAgentWithResponse(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentBuilderServiceUpdateAgentResponse, error)
AgentBuilderServiceUpdateAgentWithResponse UpdateAgent
Changes the configuration of an Agent Builder agent, its name, or both. A
new configuration makes a new version. A new name does not. The running agent does not change until you deploy again. Until then, it keeps the old configuration and registers under the old name. After that deploy, a dispatch or a SIP dispatch rule that uses the old name no longer reaches it. A request with neither `config` nor `name` fails with `InvalidArgument`. A name that another Agent Builder agent of the project has fails with `AlreadyExists`. A configuration that is not valid fails as it does in `CreateAgent`, which includes `********` as a header value.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
func (*ClientWithResponses) AnalyticsServiceGetAgentInsightsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AnalyticsServiceGetAgentInsightsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetAgentInsightsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetAgentInsightsResponse, error)
AnalyticsServiceGetAgentInsightsWithResponse Returns the agent insights of a project over a time range: the totals and
latencies of its agents, one item for each agent, and one item for each model that the agents used. This is the data that the agent dashboards of LiveKit Cloud show.
The data comes from the turns, model requests, and tool calls that the
agents recorded. Simulated sessions are not included. When `range.startTime` is unset, the range starts 7 days before its end. The range does not include `range.endTime`. The range can be at most 30 days. Errors: a range longer than 30 days, a range whose `startTime` is not before its `endTime`, a range that starts after now, more than 25 agents in `agentIds` and `agentNames` together, or an empty agent ID or name returns `InvalidArgument`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/agent-insights (the `AnalyticsServiceGetAgentInsights` operationId).
func (*ClientWithResponses) AnalyticsServiceGetEvalResultsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AnalyticsServiceGetEvalResultsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetEvalResultsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetEvalResultsResponse, error)
AnalyticsServiceGetEvalResultsWithResponse Returns the eval results of a project over a time range: the totals, one
item for each eval, eval version and agent, and the error codes. An eval is a set of criteria that LiveKit checks on each finished live session of the agents of a project. This is the data that the evals page of LiveKit Cloud shows.
Each count is a number of sessions. The range selects sessions by their
end time, and expands to whole 5-minute periods. Simulated sessions are not included. When `range.startTime` is unset, the range starts 7 days before its end. A session that ends at `range.endTime` is included, unless `range.endTime` is on a 5-minute boundary. The range can be at most 60 days. Errors: a range longer than 60 days, a range whose `startTime` is not before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`, `intentIds`, or `outcomeIds` returns `InvalidArgument`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/eval-results (the `AnalyticsServiceGetEvalResults` operationId).
func (*ClientWithResponses) AnalyticsServiceGetSessionLabelResultsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) AnalyticsServiceGetSessionLabelResultsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetSessionLabelResultsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionLabelResultsResponse, error)
AnalyticsServiceGetSessionLabelResultsWithResponse Returns the session labels of a project over a time range: the number of
sessions with each intent and each outcome, the number of sessions with each pair of intent and outcome, and the eval results of the sessions with each label. A session label is an intent (what the user wanted) or an outcome (how the session ended) that LiveKit assigns to each finished live session.
The eval results name each eval by its ID only. To get the names, call
`GetEvalResults` and read `evals`, or call `ListEvals`. The range selects sessions by their end time, and expands to whole 5-minute periods. Simulated sessions are not included. When `range.startTime` is unset, the range starts 7 days before its end. A session that ends at `range.endTime` is included, unless `range.endTime` is on a 5-minute boundary. The range can be at most 60 days. Errors: a range longer than 60 days, a range whose `startTime` is not before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`, `intentIds`, or `outcomeIds` returns `InvalidArgument`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/session-label-results (the `AnalyticsServiceGetSessionLabelResults` operationId).
func (*ClientWithResponses) AnalyticsServiceGetSessionWithResponse ¶
func (c *ClientWithResponses) AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionResponse, error)
AnalyticsServiceGetSessionWithResponse GetSession
Returns one room session. The response has the `session` that the list
returns, and a `detail` with the participants and the metric timelines.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
func (*ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse ¶
func (c *ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListProjectSessionsResponse, error)
AnalyticsServiceListProjectSessionsWithResponse ListProjectSessions
Lists the room sessions of a project, newest first. When
`filter.range.startTime` is unset, the range starts 14 days before its end. A session that started at `filter.range.endTime` is not included.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
func (*ClientWithResponses) AnalyticsServiceListSessionEventsWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) AnalyticsServiceListSessionEventsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionEventsResponse, error)
AnalyticsServiceListSessionEventsWithResponse Lists the events of a room session. Defaults to oldest first. The page info
has no total.
When `types` is empty, the list has these seven types:
`PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`, `PARTICIPANT_RESUMED`, `ROOM_CREATED`, `ROOM_ENDED`, and `API_CALL`. To get other types, such as `TRACK_PUBLISHED`, set `types`. To get the events of one participant session, set `participantSessionId`. When you set `participantSessionId` and `types` is empty, the list has these eleven types: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_RESUMED`, `PARTICIPANT_ACTIVE`, `TRACK_MUTED`, `TRACK_UNMUTED`, `TRACK_PUBLISHED`, `TRACK_UNPUBLISHED`, `TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED`, and `TRACK_SUBSCRIBE_FAILED`. Each type matches exactly, so `TRACK_PUBLISHED` does not also return `TRACK_PUBLISHED_UPDATE`. The `payload` of an event has only a fixed set of fields. It does not include participant attributes, participant metadata, or the request bodies of API calls. Each event and participant item has the identity of the participant. For a SIP caller, the identity can be a phone number. LiveKit keeps events for 60 days. This can be shorter than the other data of the session, so an older session can have no events. An `ACTIVE` session lists the events recorded until now. Errors: an unknown type or a malformed participant session ID returns `InvalidArgument`. An unknown session returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).
func (*ClientWithResponses) AnalyticsServiceListSessionParticipantsWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) AnalyticsServiceListSessionParticipantsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionParticipantsResponse, error)
AnalyticsServiceListSessionParticipantsWithResponse ListSessionParticipants
Lists the participants of a room session, one item for each identity.
Defaults to newest join first. Each item has the participant sessions of the participant (`PA_...`), each with the client that it connected from.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).
func (*ClientWithResponses) EvalServiceCreateEvalWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceCreateEvalWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceCreateEvalResponse, error)
EvalServiceCreateEvalWithBodyWithResponse Creates an eval, with its definition as the first draft. The eval scores
nothing until you publish the draft with `PublishEvalDraft`. Returns the eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A name that another eval of the project has returns `AlreadyExists`. A project with the maximum number of evals returns `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
func (*ClientWithResponses) EvalServiceCreateEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceCreateEvalWithResponse(ctx context.Context, projectId string, body EvalServiceCreateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceCreateEvalResponse, error)
EvalServiceCreateEvalWithResponse Creates an eval, with its definition as the first draft. The eval scores
nothing until you publish the draft with `PublishEvalDraft`. Returns the eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A name that another eval of the project has returns `AlreadyExists`. A project with the maximum number of evals returns `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
func (*ClientWithResponses) EvalServiceCreateSessionLabelWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceCreateSessionLabelWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceCreateSessionLabelResponse, error)
EvalServiceCreateSessionLabelWithBodyWithResponse Creates a session label. LiveKit applies the label to the sessions that
end after the label exists, and the label does not reach sessions that ended before. The LLM that assigns labels reads the `description` of each label, so a description is required. The first label of a project turns labeling on, and each labeled session uses LLM inference that LiveKit pays for.
Errors: a field that is wrong returns `InvalidArgument`, with each field
in the error details. A name that another active label of the same kind has returns `AlreadyExists`. A project with the maximum number of active labels of the kind, or an agent that would have too many labels of the kind, returns `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
func (*ClientWithResponses) EvalServiceCreateSessionLabelWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceCreateSessionLabelWithResponse(ctx context.Context, projectId string, body EvalServiceCreateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceCreateSessionLabelResponse, error)
EvalServiceCreateSessionLabelWithResponse Creates a session label. LiveKit applies the label to the sessions that
end after the label exists, and the label does not reach sessions that ended before. The LLM that assigns labels reads the `description` of each label, so a description is required. The first label of a project turns labeling on, and each labeled session uses LLM inference that LiveKit pays for.
Errors: a field that is wrong returns `InvalidArgument`, with each field
in the error details. A name that another active label of the same kind has returns `AlreadyExists`. A project with the maximum number of active labels of the kind, or an agent that would have too many labels of the kind, returns `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
func (*ClientWithResponses) EvalServiceDeleteEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceDeleteEvalWithResponse(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*EvalServiceDeleteEvalResponse, error)
EvalServiceDeleteEvalWithResponse Deletes an eval. LiveKit stops scoring sessions with it, and its past
results stay. `UndeleteEval` brings it back.
Errors: an unknown eval returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceDeleteEval` operationId).
func (*ClientWithResponses) EvalServiceDeleteSessionLabelWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceDeleteSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*EvalServiceDeleteSessionLabelResponse, error)
EvalServiceDeleteSessionLabelWithResponse Deletes a session label. LiveKit stops assigning it, and the labels that
it assigned to past sessions stay. The response lists the active evals that still name the label in `run.when`. The delete happens either way, so fix those evals. `UndeleteSessionLabel` brings the label back with the same ID. Deleting a deleted label changes nothing.
Errors: an unknown label returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceDeleteSessionLabel` operationId).
func (*ClientWithResponses) EvalServiceDiffEvalRevisionsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceDiffEvalRevisionsWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceDiffEvalRevisionsParams, reqEditors ...RequestEditorFn) (*EvalServiceDiffEvalRevisionsResponse, error)
EvalServiceDiffEvalRevisionsWithResponse Returns the changes between two versions of the definition of an eval,
field by field. Each version is a revision or the draft. The changes are to the definition as it was written, without the judge defaults of the project.
Errors: an unknown eval, revision or draft returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/diff (the `EvalServiceDiffEvalRevisions` operationId).
func (*ClientWithResponses) EvalServiceDiscardEvalDraftWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceDiscardEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceDiscardEvalDraftParams, reqEditors ...RequestEditorFn) (*EvalServiceDiscardEvalDraftResponse, error)
EvalServiceDiscardEvalDraftWithResponse Discards the draft of an eval. The live revision does not change. Pass the
`draftEtag` that you last read, so that you do not discard a change that someone else made.
Errors: an unknown eval, or an eval with no draft, returns `NotFound`. A
`draftEtag` that is not the current one returns `Aborted`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceDiscardEvalDraft` operationId).
func (*ClientWithResponses) EvalServiceGetEvalDefaultsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceGetEvalDefaultsWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*EvalServiceGetEvalDefaultsResponse, error)
EvalServiceGetEvalDefaultsWithResponse GetEvalDefaults
Returns the judge defaults of the project, and the judge models that a
definition can name. Each eval uses the judge defaults for the judge settings that its definition does not set.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/eval-defaults (the `EvalServiceGetEvalDefaults` operationId).
func (*ClientWithResponses) EvalServiceGetEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceGetEvalWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceGetEvalParams, reqEditors ...RequestEditorFn) (*EvalServiceGetEvalResponse, error)
EvalServiceGetEvalWithResponse Returns an eval and one version of its definition: the live revision, a
revision that you name, or the draft. Without `version`, returns the live revision, or the draft when nothing is published. A deleted eval is still readable.
Errors: an unknown eval returns `NotFound`. A revision or a draft that the
eval does not have also returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceGetEval` operationId).
func (*ClientWithResponses) EvalServiceGetSessionLabelSettingsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceGetSessionLabelSettingsWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*EvalServiceGetSessionLabelSettingsResponse, error)
EvalServiceGetSessionLabelSettingsWithResponse GetSessionLabelSettings
Returns the settings that decide which sessions LiveKit labels. A project
that never changed them has the default values.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/session-label-settings (the `EvalServiceGetSessionLabelSettings` operationId).
func (*ClientWithResponses) EvalServiceListEvalHistoryWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceListEvalHistoryWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceListEvalHistoryParams, reqEditors ...RequestEditorFn) (*EvalServiceListEvalHistoryResponse, error)
EvalServiceListEvalHistoryWithResponse ListEvalHistory
Lists the history of an eval, newest first: each publish, rollback,
delete and undelete, and each change of its name or description.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/history (the `EvalServiceListEvalHistory` operationId).
func (*ClientWithResponses) EvalServiceListEvalsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceListEvalsWithResponse(ctx context.Context, projectId string, params *EvalServiceListEvalsParams, reqEditors ...RequestEditorFn) (*EvalServiceListEvalsResponse, error)
EvalServiceListEvalsWithResponse ListEvals
Lists the evals of a project, sorted by name, ignoring case. The list is always one page,
with every eval. A project has at most 500 active evals. Each item has the live revision number and says whether the eval has a draft, but has no definition. To read a definition, use `GetEval`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/evals (the `EvalServiceListEvals` operationId).
func (*ClientWithResponses) EvalServiceListSessionLabelsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceListSessionLabelsWithResponse(ctx context.Context, projectId string, params *EvalServiceListSessionLabelsParams, reqEditors ...RequestEditorFn) (*EvalServiceListSessionLabelsResponse, error)
EvalServiceListSessionLabelsWithResponse ListSessionLabels
Lists the session labels of a project, sorted by name, ignoring case. The
list is always one page, with every label of the kind. A project has at most 500 active labels of each kind.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/session-labels (the `EvalServiceListSessionLabels` operationId).
func (*ClientWithResponses) EvalServicePublishEvalDraftWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServicePublishEvalDraftWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServicePublishEvalDraftResponse, error)
EvalServicePublishEvalDraftWithBodyWithResponse Publishes the draft of an eval as its next revision, and makes that
revision live. From now on, the eval scores every matching live session of the project, and each judged criterion uses LLM judge inference that LiveKit pays for. Pass the `draftEtag` that you last read.
Errors: a draft that is not complete returns `InvalidArgument`, with each
field in the error details. A `draftEtag` that is not the current one returns `Aborted`. When the live revision changed after the draft was opened, returns `FailedPrecondition`: compare the two with `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
func (*ClientWithResponses) EvalServicePublishEvalDraftWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServicePublishEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, body EvalServicePublishEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServicePublishEvalDraftResponse, error)
EvalServicePublishEvalDraftWithResponse Publishes the draft of an eval as its next revision, and makes that
revision live. From now on, the eval scores every matching live session of the project, and each judged criterion uses LLM judge inference that LiveKit pays for. Pass the `draftEtag` that you last read.
Errors: a draft that is not complete returns `InvalidArgument`, with each
field in the error details. A `draftEtag` that is not the current one returns `Aborted`. When the live revision changed after the draft was opened, returns `FailedPrecondition`: compare the two with `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
func (*ClientWithResponses) EvalServiceRollbackEvalWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceRollbackEvalWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceRollbackEvalResponse, error)
EvalServiceRollbackEvalWithBodyWithResponse Makes a copy of an older revision of an eval the next revision, and makes
it live. From now on, the eval scores every matching live session of the project with that definition. The older revision and the history do not change.
Errors: an unknown eval or revision returns `NotFound`. The live revision
returns `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
func (*ClientWithResponses) EvalServiceRollbackEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceRollbackEvalWithResponse(ctx context.Context, projectId string, evalId string, body EvalServiceRollbackEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceRollbackEvalResponse, error)
EvalServiceRollbackEvalWithResponse Makes a copy of an older revision of an eval the next revision, and makes
it live. From now on, the eval scores every matching live session of the project with that definition. The older revision and the history do not change.
Errors: an unknown eval or revision returns `NotFound`. The live revision
returns `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
func (*ClientWithResponses) EvalServiceSaveEvalDraftWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceSaveEvalDraftWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceSaveEvalDraftResponse, error)
EvalServiceSaveEvalDraftWithBodyWithResponse Saves the draft of an eval, and replaces the draft that was there. The
draft scores nothing until you publish it. Pass the `draftEtag` that you last read, so that you do not overwrite a change that someone else made. Leave it empty when the eval has no draft.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A `draftEtag` that is not the current one returns `Aborted`: read the eval again, and repeat the change on its draft.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
func (*ClientWithResponses) EvalServiceSaveEvalDraftWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceSaveEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, body EvalServiceSaveEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceSaveEvalDraftResponse, error)
EvalServiceSaveEvalDraftWithResponse Saves the draft of an eval, and replaces the draft that was there. The
draft scores nothing until you publish it. Pass the `draftEtag` that you last read, so that you do not overwrite a change that someone else made. Leave it empty when the eval has no draft.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details. A `draftEtag` that is not the current one returns `Aborted`: read the eval again, and repeat the change on its draft.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
func (*ClientWithResponses) EvalServiceUndeleteEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUndeleteEvalWithResponse(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*EvalServiceUndeleteEvalResponse, error)
EvalServiceUndeleteEvalWithResponse Undeletes an eval. If it has a live revision, LiveKit scores sessions with
it again.
Errors: an unknown eval returns `NotFound`. A name that another eval of
the project has taken returns `AlreadyExists`. A project with the maximum number of evals returns `FailedPrecondition`.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:undelete (the `EvalServiceUndeleteEval` operationId).
func (*ClientWithResponses) EvalServiceUndeleteSessionLabelWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUndeleteSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*EvalServiceUndeleteSessionLabelResponse, error)
EvalServiceUndeleteSessionLabelWithResponse Undeletes a session label, with its old ID, so the evals that name the ID
match it again. The name and the limits of the project apply again. Undeleting an active label changes nothing.
Errors: an unknown label returns `NotFound`. A name that another active
label of the same kind has taken returns `AlreadyExists`. A project with the maximum number of active labels of the kind, or an agent that would have too many labels of the kind, returns `FailedPrecondition`.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/session-labels/{labelId}:undelete (the `EvalServiceUndeleteSessionLabel` operationId).
func (*ClientWithResponses) EvalServiceUpdateEvalDefaultsWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateEvalDefaultsWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalDefaultsResponse, error)
EvalServiceUpdateEvalDefaultsWithBodyWithResponse Replaces the judge defaults of the project. A revision keeps the defaults
that it was published with, so the change reaches an eval at its next publish.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
func (*ClientWithResponses) EvalServiceUpdateEvalDefaultsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateEvalDefaultsWithResponse(ctx context.Context, projectId string, body EvalServiceUpdateEvalDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalDefaultsResponse, error)
EvalServiceUpdateEvalDefaultsWithResponse Replaces the judge defaults of the project. A revision keeps the defaults
that it was published with, so the change reaches an eval at its next publish.
Errors: a definition with a wrong field returns `InvalidArgument`, with
each field in the error details.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
func (*ClientWithResponses) EvalServiceUpdateEvalWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateEvalWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalResponse, error)
EvalServiceUpdateEvalWithBodyWithResponse Changes the name or the description of an eval. A field that you leave
out does not change. A change takes effect at once, and does not need a publish.
Errors: an unknown eval returns `NotFound`. A name that another eval of
the project has returns `AlreadyExists`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
func (*ClientWithResponses) EvalServiceUpdateEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateEvalWithResponse(ctx context.Context, projectId string, evalId string, body EvalServiceUpdateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalResponse, error)
EvalServiceUpdateEvalWithResponse Changes the name or the description of an eval. A field that you leave
out does not change. A change takes effect at once, and does not need a publish.
Errors: an unknown eval returns `NotFound`. A name that another eval of
the project has returns `AlreadyExists`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
func (*ClientWithResponses) EvalServiceUpdateSessionLabelSettingsWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateSessionLabelSettingsWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
EvalServiceUpdateSessionLabelSettingsWithBodyWithResponse Replaces the session label settings of a project. A field that you leave
out goes back to its default value, so send every field that you want to keep.
Errors: a value that is wrong, such as a `confidenceThreshold` outside the
range, returns `InvalidArgument`, with each field in the error details.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
func (*ClientWithResponses) EvalServiceUpdateSessionLabelSettingsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateSessionLabelSettingsWithResponse(ctx context.Context, projectId string, body EvalServiceUpdateSessionLabelSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
EvalServiceUpdateSessionLabelSettingsWithResponse Replaces the session label settings of a project. A field that you leave
out goes back to its default value, so send every field that you want to keep.
Errors: a value that is wrong, such as a `confidenceThreshold` outside the
range, returns `InvalidArgument`, with each field in the error details.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
func (*ClientWithResponses) EvalServiceUpdateSessionLabelWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateSessionLabelWithBodyWithResponse(ctx context.Context, projectId string, labelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelResponse, error)
EvalServiceUpdateSessionLabelWithBodyWithResponse Changes a session label. A field that you leave out does not change. The
kind of a label does not change. A change applies to the sessions that end after it. Evals refer to a label by its ID, so a new name does not change them.
Errors: an unknown label returns `NotFound`. A deleted label returns
`FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A name that another active label of the same kind has returns `AlreadyExists`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
func (*ClientWithResponses) EvalServiceUpdateSessionLabelWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceUpdateSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, body EvalServiceUpdateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelResponse, error)
EvalServiceUpdateSessionLabelWithResponse Changes a session label. A field that you leave out does not change. The
kind of a label does not change. A change applies to the sessions that end after it. Evals refer to a label by its ID, so a new name does not change them.
Errors: an unknown label returns `NotFound`. A deleted label returns
`FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A name that another active label of the same kind has returns `AlreadyExists`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
func (*ClientWithResponses) EvalServiceValidateEvalWithBodyWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceValidateEvalWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceValidateEvalResponse, error)
EvalServiceValidateEvalWithBodyWithResponse ValidateEval
Checks an eval definition, and saves nothing. Returns the definition with
the judge defaults of the project applied, and each field that is wrong or missing. A definition can be published only when it has no violations. The call returns OK also when the definition has violations.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
func (*ClientWithResponses) EvalServiceValidateEvalWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) EvalServiceValidateEvalWithResponse(ctx context.Context, projectId string, body EvalServiceValidateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceValidateEvalResponse, error)
EvalServiceValidateEvalWithResponse ValidateEval
Checks an eval definition, and saves nothing. Returns the definition with
the judge defaults of the project applied, and each field that is wrong or missing. A definition can be published only when it has no violations. The call returns OK also when the definition has violations.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
func (*ClientWithResponses) ObservabilityServiceGetSessionEvalsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) ObservabilityServiceGetSessionEvalsWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionEvalsResponse, error)
ObservabilityServiceGetSessionEvalsWithResponse Returns the eval results of a session: the newest result of each eval
that LiveKit scored on each agent job of the session, with the answer of each criterion, the answers of its judges, and why a failed criterion failed. It also returns the intent and the outcome that LiveKit assigned to each agent job. These are the results that the evals tab of a session on the dashboard shows.
A judge is an LLM that answers a criterion. A failure reason explains a
failed criterion of a failed eval, and a failure excerpt quotes the transcript lines that show the failure. LiveKit scores a session after its agent uploads the session recording, and the judges can take minutes after the session ends. Thus, a session that LiveKit has not scored yet returns empty `evals` and `labels`, with no error. When an eval that you expect is missing, read again a few minutes later. An unknown session, or a session of another project, returns `NotFound`. A session with no results while user data recording is off returns the `ObservabilityDisabled` error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/evals (the `ObservabilityServiceGetSessionEvals` operationId).
func (*ClientWithResponses) ObservabilityServiceGetSessionLogsWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ObservabilityServiceGetSessionLogsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionLogsResponse, error)
ObservabilityServiceGetSessionLogsWithResponse Returns the log records that the agents of a session exported, in time
order. These are the records that the logs panel on the dashboard shows. The chat history is not included, because `GetSessionTranscript` returns it. Evaluation results are included. To get the events of the session, such as participants that join, use `AnalyticsService.ListSessionEvents`.
An `ACTIVE` session returns the records that its agents exported up to now.
While you page through the records, an agent can export a record with a time that your pages already passed. For example, in oldest-first order, a record with a time earlier than the cursor position. This read does not return that record. A new read returns it. An unknown session returns `NotFound`. A read filtered by `logLevels` can return no records because no record has those levels. Thus, only a read with no filter returns the `ObservabilityDisabled` error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).
func (*ClientWithResponses) ObservabilityServiceGetSessionMetricsWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ObservabilityServiceGetSessionMetricsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionMetricsResponse, error)
ObservabilityServiceGetSessionMetricsWithResponse Returns the OpenTelemetry metric points that the agents of a session
exported, ordered by time. The points include turn latencies, such as `lk.agents.turn.e2e_latency` and `lk.agents.turn.llm_ttft`, token and duration usage, such as `lk.agents.usage.llm_input_tokens`, and the `gen_ai.*` histograms. They also include the metrics that the agent's own code recorded.
These are the raw metrics that agents export. They do not exactly match the
metrics panel on the dashboard, which calculates its values from the transcript and traces. Only an agent that exports OpenTelemetry metrics to LiveKit Cloud has points. An agent whose code installs its own `MeterProvider` exports no metrics to LiveKit Cloud, and its sessions return no points. Some points do not have the labels that their agent exported. LiveKit Cloud groups the series of a session by their attributes only, and gives each group the name of its first point. This has these results. Several metrics can have one name. For example, the input, output, and cached token counts of an LLM all have the name `lk.agents.usage.llm_input_tokens`. Points of one series with the same time and the same value become one point. When a session has two agents, a point can have the resource attributes of the other agent. An agent exports its metrics every 30 seconds, and its turn latencies when the session ends. Thus, an `ACTIVE` session returns the points that its agents exported up to now. An unknown session returns `NotFound`. A read filtered by `names` can return no points because no metric has those names. Thus, only a read with no filter returns the `ObservabilityDisabled` error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).
func (*ClientWithResponses) ObservabilityServiceGetSessionRecordingURLWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ObservabilityServiceGetSessionRecordingURLWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionRecordingURLResponse, error)
ObservabilityServiceGetSessionRecordingURLWithResponse GetSessionRecordingURL
Returns a short-lived signed URL for a session recording: its audio
or its chat history. When the recording doesn't exist and `dataStatus.state` is `DATA_STATE_SESSION_ACTIVE` or `DATA_STATE_SETTLING`, the response has an empty `url`, because the agent can still upload the recording. In every other state, a session with no recording of that type returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).
func (*ClientWithResponses) ObservabilityServiceGetSessionTracesWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ObservabilityServiceGetSessionTracesWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTracesResponse, error)
ObservabilityServiceGetSessionTracesWithResponse Returns the spans that the agents of a session exported, ordered by start
time. These are the spans that the trace view on the dashboard shows. Each span names its parent, so you can build the span tree from the pages. The attributes of a span hold the turn and latency fields that the turn view on the dashboard uses, such as `lk.generation_id` and `lk.response.ttft`.
An `ACTIVE` session returns the spans that its agents exported up to now. A
span exported after the first page appears only in a new read. The API reads the later pages by offset, so a span exported during your read can move them. Thus, a span can repeat, or a page can skip a span. Remove duplicates by `spanId`. To get a skipped span, read again from the first page. An unknown session returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).
func (*ClientWithResponses) ObservabilityServiceGetSessionTranscriptWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ObservabilityServiceGetSessionTranscriptWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTranscriptResponse, error)
ObservabilityServiceGetSessionTranscriptWithResponse Returns the conversation of a session as ordered transcript items. The
items are messages, tool calls and results, agent handoffs, and agent configuration changes. It is the conversation that the transcript on the dashboard shows.
The agent exports its transcript when the session ends. There is a delay
before you can read it, and the length of the delay is not fixed. On a project with PII redaction, you can read it only after LiveKit redacts the session recording. Thus, an `ACTIVE` session returns the items that exist, usually none, with no error. Read it again after the session ends. An unknown session returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).
func (*ClientWithResponses) ObservabilityServiceListEvalSessionsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) ObservabilityServiceListEvalSessionsWithResponse(ctx context.Context, projectId string, params *ObservabilityServiceListEvalSessionsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceListEvalSessionsResponse, error)
ObservabilityServiceListEvalSessionsWithResponse Lists the agent sessions that LiveKit scored with evals or labeled, newest
session end first. An eval is a set of criteria that LiveKit checks on each finished live session. Each item is one agent job in a session, with the result of each eval. These are the sessions that the evals page of the dashboard lists when you select a result.
With no `evalId`, `verdict` or `criterionId`, each item has the verdict and
score of every eval that scored the session, and a session that LiveKit only labeled has no evals. With `evalId` or `verdict`, each item has one eval and the IDs of the criteria that it failed. With `criterionId`, each item has the answer to that criterion and the answers of its judges. To get the failure reasons, call `GetSessionEvals`. The range selects sessions by their end time, and expands to whole 5-minute periods. A session that ends at `range.endTime` is included, unless `range.endTime` is on a 5-minute boundary. When `range.startTime` is unset, the range starts 7 days before its end. The range can be at most 30 days. Simulated sessions are not included. Errors: a range longer than 30 days, a range whose `startTime` is not before its `endTime`, more than 25 entries in `agentNames`, `intentIds`, or `outcomeIds`, a `criterionId` without an `evalId` or with a `verdict`, or a cursor from another request returns `InvalidArgument`. A read with no filter that returns no sessions while user data recording is off returns the `ObservabilityDisabled` error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/eval-sessions (the `ObservabilityServiceListEvalSessions` operationId).
func (*ClientWithResponses) ObservabilityServiceListLogPatternsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) ObservabilityServiceListLogPatternsWithResponse(ctx context.Context, projectId string, params *ObservabilityServiceListLogPatternsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceListLogPatternsResponse, error)
ObservabilityServiceListLogPatternsWithResponse Lists the log patterns of a project in a time range, ranked, with their
counts over time. A log pattern is a group of log records that log the same message from one place in the code, at one level. Its template is the message with each variable part, such as a number or an ID, replaced by a placeholder. These are the patterns that the logs page on the dashboard groups the records into.
When `range.startTime` is unset, the range starts 24 hours before its
end. The range does not include `range.endTime`. The API keeps log records for 14 days. One read covers at most the 7 days before the end of its range. A range that starts earlier reads the records of those 7 days. A range that ends more than 14 days ago returns `InvalidArgument`. The read does not count the records of the current minute, and its answer can be up to one minute old. For a range of one day or more, these are five minutes. On a project with many records, the counts can be estimates. Then `estimated` is true: the API reads the records of a share of the sessions, and scales the counts. The read does not count the records of agent simulation sessions, unless you set `sessionId`. A read with a filter can return no patterns because no record matches. Thus, only a read with no `query`, `minLevel`, `sources`, `agentName`, `agentId`, or `sessionId` returns the `ObservabilityDisabled` error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/log-patterns (the `ObservabilityServiceListLogPatterns` operationId).
func (*ClientWithResponses) ObservabilityServiceListProjectLogsWithResponse ¶ added in v2.20.2
func (c *ClientWithResponses) ObservabilityServiceListProjectLogsWithResponse(ctx context.Context, projectId string, params *ObservabilityServiceListProjectLogsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceListProjectLogsResponse, error)
ObservabilityServiceListProjectLogsWithResponse Lists the log records of a project in a time range, from its agents, its
client SDKs, and LiveKit, newest first by default. These are the records that the logs page on the dashboard shows. The chat history is not included, because `GetSessionTranscript` returns it.
When `range.startTime` is unset, the range starts 24 hours before its
end. The range includes `range.endTime`, to the millisecond. The API keeps log records for 14 days. One read returns at most the 7 days before the end of its range. A range that starts earlier returns the records of those 7 days. A range that ends more than 14 days ago returns `InvalidArgument`. A record that arrives after you read a page can have a time that your pages already passed. This read does not return that record. A new read returns it. Records from the last few minutes can still arrive. A read with a filter can return no records because no record matches. Thus, only a read with no filter returns the `ObservabilityDisabled` error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/logs (the `ObservabilityServiceListProjectLogs` operationId).
func (*ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse AddWorkspaceMembersToProject
Adds members of the workspace to a project where `isPrivate` is `true`, all
with one role. A user who is already a member of the project gets the new role, so a retry gives the same result. The API sends an email to each user that it adds, except you. A project where `isPrivate` is `false` returns `InvalidArgument`. A user who is not a member of the workspace returns `NotFound`, and the API adds no one. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response lists the members in no specific order. An empty `userIds` changes nothing.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
ProjectServiceAddWorkspaceMembersToProjectWithResponse AddWorkspaceMembersToProject
Adds members of the workspace to a project where `isPrivate` is `true`, all
with one role. A user who is already a member of the project gets the new role, so a retry gives the same result. The API sends an email to each user that it adds, except you. A project where `isPrivate` is `false` returns `InvalidArgument`. A user who is not a member of the workspace returns `NotFound`, and the API adds no one. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response lists the members in no specific order. An empty `userIds` changes nothing.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
func (*ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
ProjectServiceAnswerInvitationWithBodyWithResponse AnswerInvitation
Accepts or declines a project invite that was sent to you. When you accept,
you become a member of the project with the role of the invite. When the project is in a workspace, you also become a member of the workspace and of every project in it where `isPrivate` is `false`, with the same role. If you are already a member, the role of the invite replaces your role. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*ClientWithResponses) ProjectServiceAnswerInvitationWithResponse ¶
func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
ProjectServiceAnswerInvitationWithResponse AnswerInvitation
Accepts or declines a project invite that was sent to you. When you accept,
you become a member of the project with the role of the invite. When the project is in a workspace, you also become a member of the workspace and of every project in it where `isPrivate` is `false`, with the same role. If you are already a member, the role of the invite replaces your role. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
func (*ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
ProjectServiceCreateProjectWithBodyWithResponse CreateProject
Creates a project. You become a member of the project with the admin role
(`3`), and the API creates an API key that you own. When `workspaceId` is empty, the API also creates a workspace with the same name as the project, and you are its only member. When `isPrivate` is `false` and you set `workspaceId`, every member of the workspace becomes a member of the project, with their workspace role. A `subdomain` that another project uses returns `AlreadyExists`. When you reach the limit of free projects that you can create, or the project limit of the workspace plan, the request fails with `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
func (*ClientWithResponses) ProjectServiceCreateProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
ProjectServiceCreateProjectWithResponse CreateProject
Creates a project. You become a member of the project with the admin role
(`3`), and the API creates an API key that you own. When `workspaceId` is empty, the API also creates a workspace with the same name as the project, and you are its only member. When `isPrivate` is `false` and you set `workspaceId`, every member of the workspace becomes a member of the project, with their workspace role. A `subdomain` that another project uses returns `AlreadyExists`. When you reach the limit of free projects that you can create, or the project limit of the workspace plan, the request fails with `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
func (*ClientWithResponses) ProjectServiceCreateTokenWithBodyWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceCreateTokenWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)
ProjectServiceCreateTokenWithBodyWithResponse CreateToken
Creates a short-lived LiveKit access token for the project. The API signs
the token, so a signed-in user can call the LiveKit server APIs, such as rooms, SIP, and egress, or join a room without an API secret.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
func (*ClientWithResponses) ProjectServiceCreateTokenWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceCreateTokenWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)
ProjectServiceCreateTokenWithResponse CreateToken
Creates a short-lived LiveKit access token for the project. The API signs
the token, so a signed-in user can call the LiveKit server APIs, such as rooms, SIP, and egress, or join a room without an API secret.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
func (*ClientWithResponses) ProjectServiceCreateWebhookWithBodyWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceCreateWebhookWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)
ProjectServiceCreateWebhookWithBodyWithResponse CreateWebhook
Creates a webhook destination for a project. It delivers LiveKit Cloud
events only, such as room, participant, track, egress, ingress and agent job events; it doesn't receive or forward events from other services, such as SMS. A `url` that is not an absolute HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event in `filterParams` that `ListWebhookEvents` does not return, or a `signingKey` that is not an API key of the project, also returns `InvalidArgument`. When `signingKey` is empty and the project has no API key, the request fails with `FailedPrecondition`. The call is not idempotent: a retry creates a second webhook.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
func (*ClientWithResponses) ProjectServiceCreateWebhookWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceCreateWebhookWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)
ProjectServiceCreateWebhookWithResponse CreateWebhook
Creates a webhook destination for a project. It delivers LiveKit Cloud
events only, such as room, participant, track, egress, ingress and agent job events; it doesn't receive or forward events from other services, such as SMS. A `url` that is not an absolute HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event in `filterParams` that `ListWebhookEvents` does not return, or a `signingKey` that is not an API key of the project, also returns `InvalidArgument`. When `signingKey` is empty and the project has no API key, the request fails with `FailedPrecondition`. The call is not idempotent: a retry creates a second webhook.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
func (*ClientWithResponses) ProjectServiceDeleteInviteWithResponse ¶
func (c *ClientWithResponses) ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteInviteResponse, error)
ProjectServiceDeleteInviteWithResponse DeleteInvite
Deletes a pending project invite, so that its link stops working. When the
project is in a workspace, the API also deletes the workspace invite for the same email. An invite that does not exist returns `NotFound`. An expired invite returns `FailedPrecondition`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
func (*ClientWithResponses) ProjectServiceDeleteKeyWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ProjectServiceDeleteKeyWithResponse(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteKeyResponse, error)
ProjectServiceDeleteKeyWithResponse DeleteKey
Deletes an API key and its secret from a project. You cannot undo the
delete. A key that does not exist, or that belongs to another project, returns `NotFound`, so a retry returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).
func (*ClientWithResponses) ProjectServiceDeleteProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)
ProjectServiceDeleteProjectWithResponse DeleteProject
Deletes a project, with its API keys, its webhooks, and its member list. You
cannot undo the delete. Another project can then use the subdomain. A retry returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
func (*ClientWithResponses) ProjectServiceDeleteWebhookWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceDeleteWebhookWithResponse(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteWebhookResponse, error)
ProjectServiceDeleteWebhookWithResponse DeleteWebhook
Deletes a webhook destination from a project. The project stops sending
events to its URL. A webhook that does not exist returns `NotFound`, so a retry returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).
func (*ClientWithResponses) ProjectServiceGenerateKeyWithBodyWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ProjectServiceGenerateKeyWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)
ProjectServiceGenerateKeyWithBodyWithResponse GenerateKey
Creates an API key and secret for the project. The response includes the
secret. You cannot read the secret again.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
func (*ClientWithResponses) ProjectServiceGenerateKeyWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ProjectServiceGenerateKeyWithResponse(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)
ProjectServiceGenerateKeyWithResponse GenerateKey
Creates an API key and secret for the project. The response includes the
secret. You cannot read the secret again.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
func (*ClientWithResponses) ProjectServiceGetInviteWithResponse ¶
func (c *ClientWithResponses) ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)
ProjectServiceGetInviteWithResponse GetInvite
Returns a project invite that was sent to you, found by its token. Use it to
show the invite before you answer it with `AnswerInvitation`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
func (*ClientWithResponses) ProjectServiceGetMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetMemberResponse, error)
ProjectServiceGetMemberWithResponse GetMember
Returns the membership of one user on a project, with the role of the user.
A user who is not a member of the project returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
func (*ClientWithResponses) ProjectServiceGetProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)
ProjectServiceGetProjectWithResponse GetProject
Returns a project with its settings and its webhooks. A project that you
cannot see returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).
func (*ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
ProjectServiceInviteMemberWithBodyWithResponse InviteMember
Invites a person to a project by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an invite for the email exists, the API replaces its role, token, and expiry, and the earlier link stops working. A retry replaces the invite and sends a new email. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*ClientWithResponses) ProjectServiceInviteMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
ProjectServiceInviteMemberWithResponse InviteMember
Invites a person to a project by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an invite for the email exists, the API replaces its role, token, and expiry, and the earlier link stops working. A retry replaces the invite and sends a new email. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
func (*ClientWithResponses) ProjectServiceListInvitesWithResponse ¶
func (c *ClientWithResponses) ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)
ProjectServiceListInvitesWithResponse ListInvites
Lists the unexpired invites of a project, ordered by email.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
func (*ClientWithResponses) ProjectServiceListKeysWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) ProjectServiceListKeysWithResponse(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*ProjectServiceListKeysResponse, error)
ProjectServiceListKeysWithResponse ListKeys
Lists the API keys of a project, oldest first. The list does not include
the secrets.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).
func (*ClientWithResponses) ProjectServiceListMembersWithResponse ¶
func (c *ClientWithResponses) ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)
ProjectServiceListMembersWithResponse ListMembers
Lists the project members, ordered by user ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
func (*ClientWithResponses) ProjectServiceListProjectsWithResponse ¶
func (c *ClientWithResponses) ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListProjectsResponse, error)
ProjectServiceListProjectsWithResponse ListProjects
Lists projects, ordered by project ID. When you set no filter, the list has
the projects that you are a member of. A pending invite does not make you a member.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).
func (*ClientWithResponses) ProjectServiceListWebhookEventsWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceListWebhookEventsWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhookEventsResponse, error)
ProjectServiceListWebhookEventsWithResponse ListWebhookEvents
Lists the event names that the webhooks of a project can receive. The list
is always one page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).
func (*ClientWithResponses) ProjectServiceListWebhooksWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceListWebhooksWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhooksResponse, error)
ProjectServiceListWebhooksWithResponse ListWebhooks
Lists the webhook destinations for the project, in the order that they
were added. The list is always one page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).
func (*ClientWithResponses) ProjectServiceRemoveMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*ProjectServiceRemoveMemberResponse, error)
ProjectServiceRemoveMemberWithResponse RemoveMember
Removes a user from a project, and deletes the API keys that the user owns in
the project. Agent keys stay. When `isPrivate` is `false` on the project, the API removes the user from the workspace and from every project in it, and deletes the keys that the user owns in all of those projects. When `isPrivate` is `true`, the API sends an email to the user about the removal. Send `confirmedNumKeys` to confirm the number of keys to delete. A removal that deletes the last API key of a project returns `FailedPrecondition` and changes nothing. A user who is not a member returns `NotFound`. The response has the number of keys that the removal deleted.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
func (*ClientWithResponses) ProjectServiceSendTestWebhookWithBodyWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceSendTestWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)
ProjectServiceSendTestWebhookWithBodyWithResponse SendTestWebhook
Sends one sample event to a webhook destination, and returns the answer of
the receiver. The API sends only to this webhook, ignores the webhook filter, and signs the request as it signs real deliveries. When the signing key of the webhook is not an API key of the project, the API signs with the oldest API key. The API makes one attempt and waits up to 10 seconds. A failed delivery shows in the response, not as an error. An `event` that `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
func (*ClientWithResponses) ProjectServiceSendTestWebhookWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceSendTestWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)
ProjectServiceSendTestWebhookWithResponse SendTestWebhook
Sends one sample event to a webhook destination, and returns the answer of
the receiver. The API sends only to this webhook, ignores the webhook filter, and signs the request as it signs real deliveries. When the signing key of the webhook is not an API key of the project, the API signs with the oldest API key. The API makes one attempt and waits up to 10 seconds. A failed delivery shows in the response, not as an error. An `event` that `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
func (*ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
ProjectServiceUpdateInviteWithBodyWithResponse UpdateInvite
Changes the role of a pending project invite. The token and the expiry do not
change, and the API sends no email. An invite that does not exist returns `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*ClientWithResponses) ProjectServiceUpdateInviteWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
ProjectServiceUpdateInviteWithResponse UpdateInvite
Changes the role of a pending project invite. The token and the expiry do not
change, and the API sends no email. An invite that does not exist returns `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
func (*ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
ProjectServiceUpdateMemberWithBodyWithResponse UpdateMember
Changes the role of a member of a project. When `isPrivate` is `false` on the
project, the role is the workspace role of the user: the API changes it on the workspace and on every project in the workspace where `isPrivate` is `false`. When `isPrivate` is `true`, only this project changes, and the API sends an email to the member about the new role. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*ClientWithResponses) ProjectServiceUpdateMemberWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
ProjectServiceUpdateMemberWithResponse UpdateMember
Changes the role of a member of a project. When `isPrivate` is `false` on the
project, the role is the workspace role of the user: the API changes it on the workspace and on every project in the workspace where `isPrivate` is `false`. When `isPrivate` is `true`, only this project changes, and the API sends an email to the member about the new role. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
func (*ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
ProjectServiceUpdateProjectWithBodyWithResponse UpdateProject
Updates the settings of a project, and returns the updated project. A field
that you do not set keeps its value. When you change `isPrivate` from `false` to `true`, the API removes every member of the project except you and the users in `members`, and you get the admin role (`3`). When you change `isPrivate` from `true` to `false`, every member of the workspace becomes a member of the project, with their workspace role. A user in `members` who is not a member of the workspace returns `NotFound`. A `subdomain` that another project uses returns `AlreadyExists`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*ClientWithResponses) ProjectServiceUpdateProjectWithResponse ¶
func (c *ClientWithResponses) ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
ProjectServiceUpdateProjectWithResponse UpdateProject
Updates the settings of a project, and returns the updated project. A field
that you do not set keeps its value. When you change `isPrivate` from `false` to `true`, the API removes every member of the project except you and the users in `members`, and you get the admin role (`3`). When you change `isPrivate` from `true` to `false`, every member of the workspace becomes a member of the project, with their workspace role. A user in `members` who is not a member of the workspace returns `NotFound`. A `subdomain` that another project uses returns `AlreadyExists`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
func (*ClientWithResponses) ProjectServiceUpdateWebhookWithBodyWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceUpdateWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)
ProjectServiceUpdateWebhookWithBodyWithResponse UpdateWebhook
Updates a webhook destination of a project, and returns the updated webhook.
A field that you do not set keeps its value. A set `filterParams` replaces the whole filter. The checks of `CreateWebhook` apply to the new values, and a failed check returns `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
func (*ClientWithResponses) ProjectServiceUpdateWebhookWithResponse ¶ added in v2.19.1
func (c *ClientWithResponses) ProjectServiceUpdateWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)
ProjectServiceUpdateWebhookWithResponse UpdateWebhook
Updates a webhook destination of a project, and returns the updated webhook.
A field that you do not set keeps its value. A set `filterParams` replaces the whole filter. The checks of `CreateWebhook` apply to the new values, and a failed check returns `InvalidArgument`. A webhook that does not exist returns `NotFound`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
func (*ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse ¶
func (c *ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceCancelSimulationRunResponse, error)
SimulationServiceCancelSimulationRunWithResponse CancelSimulationRun
Stops a run that has not finished. When the run is already finished, the
call succeeds and has no effect.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse ConfirmSimulationSourceUpload
Confirms that the agent source is uploaded and starts scenario
generation. The run goes to `GENERATING`, then to `RUNNING` when the scenarios exist. The call is valid only while the run is `PENDING_UPLOAD`, so a repeated call fails.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
func (*ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithResponse(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
SimulationServiceConfirmSimulationSourceUploadWithResponse ConfirmSimulationSourceUpload
Confirms that the agent source is uploaded and starts scenario
generation. The run goes to `GENERATING`, then to `RUNNING` when the scenarios exist. The call is valid only while the run is `PENDING_UPLOAD`, so a repeated call fails.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
func (*ClientWithResponses) SimulationServiceCountSimulationRunsWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) SimulationServiceCountSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceCountSimulationRunsResponse, error)
SimulationServiceCountSimulationRunsWithResponse CountSimulationRuns
Returns a histogram of the runs in the window [`startTime`, `endTime`). It
takes the same filters as `ListSimulationRuns`, so the histogram and the list describe the same set of runs. Both bounds are required, and `endTime` must be after `startTime`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).
func (*ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse ¶
func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
SimulationServiceCreateSimulationRunWithBodyWithResponse CreateSimulationRun
Creates a simulation run. With a `scenarioGroup`, the run starts
immediately and the response has no upload target. Without a `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source that the API generates scenarios from. Upload the source to the returned presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays pending for one hour fails. This RPC is not idempotent: a retry starts a second run.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse ¶
func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
SimulationServiceCreateSimulationRunWithResponse CreateSimulationRun
Creates a simulation run. With a `scenarioGroup`, the run starts
immediately and the response has no upload target. Without a `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source that the API generates scenarios from. Upload the source to the returned presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays pending for one hour fails. This RPC is not idempotent: a retry starts a second run.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse GenerateScenarioFromSession
Generates a scenario (label, instructions, and expectations) from a
recorded room session. Use the scenario in the `scenarioGroup` of a later run. The API does not save the scenario: the response is the only copy. The session must have a recorded chat history. Each call runs an LLM on the chat history, so it counts against the scenario-generation quota of the project. A call can take up to about one minute.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
func (*ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithResponse(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
SimulationServiceGenerateScenarioFromSessionWithResponse GenerateScenarioFromSession
Generates a scenario (label, instructions, and expectations) from a
recorded room session. Use the scenario in the `scenarioGroup` of a later run. The API does not save the scenario: the response is the only copy. The session must have a recorded chat history. Each call runs an LLM on the chat history, so it counts against the scenario-generation quota of the project. A call can take up to about one minute.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
func (*ClientWithResponses) SimulationServiceGetSimulationRunSummaryWithResponse ¶ added in v2.19.0
func (c *ClientWithResponses) SimulationServiceGetSimulationRunSummaryWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunSummaryResponse, error)
SimulationServiceGetSimulationRunSummaryWithResponse GetSimulationRunSummary
Returns the graded outcome of a finished run: the pass and fail counts,
what went well, what to improve, the flagged issues with suggestions, and the chat history of each job. Returns `FailedPrecondition` while the run is in progress. Returns `NotFound` when the run finished without a summary.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).
func (*ClientWithResponses) SimulationServiceGetSimulationRunWithResponse ¶
func (c *ClientWithResponses) SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunResponse, error)
SimulationServiceGetSimulationRunWithResponse GetSimulationRun
Returns one run with its jobs and aggregate metrics. The response does not
include the compressed summary (`summaryZstd`). To get the summary, call `GetSimulationRunSummary`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
func (*ClientWithResponses) SimulationServiceListSimulationRunsWithResponse ¶
func (c *ClientWithResponses) SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceListSimulationRunsResponse, error)
SimulationServiceListSimulationRunsWithResponse ListSimulationRuns
Lists the runs of a project, newest first. You can filter the runs by
status, agent, conversation mode, and time window. Each run includes its counts (`jobCount`, `passedCount`, `failedCount`, and `issueCount`), but not its jobs or its summary.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
func (*ClientWithResponses) TelephonyServiceCreateDispatchRuleWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateDispatchRuleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateDispatchRuleResponse, error)
TelephonyServiceCreateDispatchRuleWithBodyWithResponse CreateDispatchRule
Creates a dispatch rule. A rule applies to the trunks and the phone
numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To send the calls to a phone number to a rule, add the ID of the number (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with another rule of the project fails with `InvalidArgument`, and the message names the other rule.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
func (*ClientWithResponses) TelephonyServiceCreateDispatchRuleWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateDispatchRuleWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateDispatchRuleResponse, error)
TelephonyServiceCreateDispatchRuleWithResponse CreateDispatchRule
Creates a dispatch rule. A rule applies to the trunks and the phone
numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To send the calls to a phone number to a rule, add the ID of the number (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with another rule of the project fails with `InvalidArgument`, and the message names the other rule.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
func (*ClientWithResponses) TelephonyServiceCreateInboundTrunkWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateInboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateInboundTrunkResponse, error)
TelephonyServiceCreateInboundTrunkWithBodyWithResponse CreateInboundTrunk
Creates an inbound trunk. A trunk that conflicts with another trunk of
the project, such as one that accepts the same number from the same callers, fails with `InvalidArgument`, and the message names the other trunk.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceCreateInboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateInboundTrunkWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateInboundTrunkResponse, error)
TelephonyServiceCreateInboundTrunkWithResponse CreateInboundTrunk
Creates an inbound trunk. A trunk that conflicts with another trunk of
the project, such as one that accepts the same number from the same callers, fails with `InvalidArgument`, and the message names the other trunk.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceCreateOutboundTrunkWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateOutboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateOutboundTrunkResponse, error)
TelephonyServiceCreateOutboundTrunkWithBodyWithResponse CreateOutboundTrunk
Creates an outbound trunk, which `CreateSIPParticipant` places calls
through.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceCreateOutboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateOutboundTrunkWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateOutboundTrunkResponse, error)
TelephonyServiceCreateOutboundTrunkWithResponse CreateOutboundTrunk
Creates an outbound trunk, which `CreateSIPParticipant` places calls
through.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceCreateSIPParticipantWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateSIPParticipantWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateSIPParticipantResponse, error)
TelephonyServiceCreateSIPParticipantWithBodyWithResponse CreateSIPParticipant
Calls a phone number or a SIP URI through an outbound trunk, and adds
the call to a room as a SIP participant. With `waitUntilAnswered`, the call returns when the far end answers, up to `ringingTimeout`, which can then be at most 75 seconds. When the far end refuses the call, such as with 486 Busy Here, the call fails with `FailedPrecondition`, and the error has its SIP status as a `livekit.SIPStatus` detail.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
func (*ClientWithResponses) TelephonyServiceCreateSIPParticipantWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceCreateSIPParticipantWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateSIPParticipantResponse, error)
TelephonyServiceCreateSIPParticipantWithResponse CreateSIPParticipant
Calls a phone number or a SIP URI through an outbound trunk, and adds
the call to a room as a SIP participant. With `waitUntilAnswered`, the call returns when the far end answers, up to `ringingTimeout`, which can then be at most 75 seconds. When the far end refuses the call, such as with 486 Busy Here, the call fails with `FailedPrecondition`, and the error has its SIP status as a `livekit.SIPStatus` detail.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
func (*ClientWithResponses) TelephonyServiceDeleteDispatchRuleWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceDeleteDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*TelephonyServiceDeleteDispatchRuleResponse, error)
TelephonyServiceDeleteDispatchRuleWithResponse DeleteDispatchRule
Deletes a dispatch rule.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceDeleteDispatchRule` operationId).
func (*ClientWithResponses) TelephonyServiceDeleteInboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceDeleteInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceDeleteInboundTrunkResponse, error)
TelephonyServiceDeleteInboundTrunkWithResponse DeleteInboundTrunk
Deletes an inbound trunk.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceDeleteInboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceDeleteOutboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceDeleteOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceDeleteOutboundTrunkResponse, error)
TelephonyServiceDeleteOutboundTrunkWithResponse DeleteOutboundTrunk
Deletes an outbound trunk.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceDeleteOutboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceGetDispatchRuleWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceGetDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetDispatchRuleResponse, error)
TelephonyServiceGetDispatchRuleWithResponse GetDispatchRule
Returns a dispatch rule of the project.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceGetDispatchRule` operationId).
func (*ClientWithResponses) TelephonyServiceGetInboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceGetInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetInboundTrunkResponse, error)
TelephonyServiceGetInboundTrunkWithResponse GetInboundTrunk
Returns an inbound trunk of the project.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceGetInboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceGetOutboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceGetOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetOutboundTrunkResponse, error)
TelephonyServiceGetOutboundTrunkWithResponse GetOutboundTrunk
Returns an outbound trunk of the project.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceGetOutboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceGetPhoneNumberWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceGetPhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetPhoneNumberResponse, error)
TelephonyServiceGetPhoneNumberWithResponse GetPhoneNumber
Returns a phone number of the project.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceGetPhoneNumber` operationId).
func (*ClientWithResponses) TelephonyServiceListDispatchRulesWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceListDispatchRulesWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListDispatchRulesParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListDispatchRulesResponse, error)
TelephonyServiceListDispatchRulesWithResponse ListDispatchRules
Lists the dispatch rules of the project, in ID order. The list is always
one page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceListDispatchRules` operationId).
func (*ClientWithResponses) TelephonyServiceListInboundTrunksWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceListInboundTrunksWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListInboundTrunksParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListInboundTrunksResponse, error)
TelephonyServiceListInboundTrunksWithResponse ListInboundTrunks
Lists the inbound trunks of the project, in ID order. The list is always
one page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceListInboundTrunks` operationId).
func (*ClientWithResponses) TelephonyServiceListOutboundTrunksWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceListOutboundTrunksWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListOutboundTrunksParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListOutboundTrunksResponse, error)
TelephonyServiceListOutboundTrunksWithResponse ListOutboundTrunks
Lists the outbound trunks of the project, in ID order. The list is always
one page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceListOutboundTrunks` operationId).
func (*ClientWithResponses) TelephonyServiceListPhoneNumbersWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceListPhoneNumbersWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListPhoneNumbersParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListPhoneNumbersResponse, error)
TelephonyServiceListPhoneNumbersWithResponse ListPhoneNumbers
Lists the phone numbers of the project, newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/phone-numbers (the `TelephonyServiceListPhoneNumbers` operationId).
func (*ClientWithResponses) TelephonyServicePurchasePhoneNumberWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServicePurchasePhoneNumberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServicePurchasePhoneNumberResponse, error)
TelephonyServicePurchasePhoneNumberWithBodyWithResponse PurchasePhoneNumber
Buys a phone number for the project. The number then appears in
`ListPhoneNumbers`. A number that someone else bought first fails with `AlreadyExists`, and a project at its phone number limit fails with `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
func (*ClientWithResponses) TelephonyServicePurchasePhoneNumberWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServicePurchasePhoneNumberWithResponse(ctx context.Context, projectId string, body TelephonyServicePurchasePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServicePurchasePhoneNumberResponse, error)
TelephonyServicePurchasePhoneNumberWithResponse PurchasePhoneNumber
Buys a phone number for the project. The number then appears in
`ListPhoneNumbers`. A number that someone else bought first fails with `AlreadyExists`, and a project at its phone number limit fails with `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
func (*ClientWithResponses) TelephonyServiceReleasePhoneNumberWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceReleasePhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*TelephonyServiceReleasePhoneNumberResponse, error)
TelephonyServiceReleasePhoneNumberWithResponse ReleasePhoneNumber
Releases a phone number. The project loses the number, and the API
removes it from each dispatch rule.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceReleasePhoneNumber` operationId).
func (*ClientWithResponses) TelephonyServiceSearchPhoneNumbersWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceSearchPhoneNumbersWithResponse(ctx context.Context, projectId string, params *TelephonyServiceSearchPhoneNumbersParams, reqEditors ...RequestEditorFn) (*TelephonyServiceSearchPhoneNumbersResponse, error)
TelephonyServiceSearchPhoneNumbersWithResponse SearchPhoneNumbers
Lists the phone numbers that are for sale in a country. The list is
always one page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/projects/{projectId}/phone-numbers:search (the `TelephonyServiceSearchPhoneNumbers` operationId).
func (*ClientWithResponses) TelephonyServiceTransferSIPParticipantWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceTransferSIPParticipantWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceTransferSIPParticipantResponse, error)
TelephonyServiceTransferSIPParticipantWithBodyWithResponse TransferSIPParticipant
Transfers the call of a SIP participant to another phone number or SIP
URI, and returns when the transfer ends. Its `ringingTimeout` can be at most 75 seconds. A transfer that fails, such as one that nobody answers, fails with `FailedPrecondition`, and the error has a `livekit.SIPTransferError` detail with the reason.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
func (*ClientWithResponses) TelephonyServiceTransferSIPParticipantWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceTransferSIPParticipantWithResponse(ctx context.Context, projectId string, body TelephonyServiceTransferSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceTransferSIPParticipantResponse, error)
TelephonyServiceTransferSIPParticipantWithResponse TransferSIPParticipant
Transfers the call of a SIP participant to another phone number or SIP
URI, and returns when the transfer ends. Its `ringingTimeout` can be at most 75 seconds. A transfer that fails, such as one that nobody answers, fails with `FailedPrecondition`, and the error has a `livekit.SIPTransferError` detail with the reason.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
func (*ClientWithResponses) TelephonyServiceUpdateDispatchRuleWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdateDispatchRuleWithBodyWithResponse(ctx context.Context, projectId string, dispatchRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateDispatchRuleResponse, error)
TelephonyServiceUpdateDispatchRuleWithBodyWithResponse UpdateDispatchRule
Replaces a dispatch rule, or changes some of its fields.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
func (*ClientWithResponses) TelephonyServiceUpdateDispatchRuleWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdateDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, body TelephonyServiceUpdateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateDispatchRuleResponse, error)
TelephonyServiceUpdateDispatchRuleWithResponse UpdateDispatchRule
Replaces a dispatch rule, or changes some of its fields.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
func (*ClientWithResponses) TelephonyServiceUpdateInboundTrunkWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdateInboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateInboundTrunkResponse, error)
TelephonyServiceUpdateInboundTrunkWithBodyWithResponse UpdateInboundTrunk
Replaces an inbound trunk, or changes some of its fields.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceUpdateInboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdateInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateInboundTrunkResponse, error)
TelephonyServiceUpdateInboundTrunkWithResponse UpdateInboundTrunk
Replaces an inbound trunk, or changes some of its fields.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceUpdateOutboundTrunkWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdateOutboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
TelephonyServiceUpdateOutboundTrunkWithBodyWithResponse UpdateOutboundTrunk
Replaces an outbound trunk, or changes some of its fields.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceUpdateOutboundTrunkWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdateOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
TelephonyServiceUpdateOutboundTrunkWithResponse UpdateOutboundTrunk
Replaces an outbound trunk, or changes some of its fields.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
func (*ClientWithResponses) TelephonyServiceUpdatePhoneNumberWithBodyWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdatePhoneNumberWithBodyWithResponse(ctx context.Context, projectId string, phoneNumberId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdatePhoneNumberResponse, error)
TelephonyServiceUpdatePhoneNumberWithBodyWithResponse UpdatePhoneNumber
Renames a phone number, or adds it to a dispatch rule. To remove a
number from a rule, remove its ID from the `trunkIds` of the rule with `UpdateDispatchRule`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
func (*ClientWithResponses) TelephonyServiceUpdatePhoneNumberWithResponse ¶ added in v2.20.1
func (c *ClientWithResponses) TelephonyServiceUpdatePhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, body TelephonyServiceUpdatePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdatePhoneNumberResponse, error)
TelephonyServiceUpdatePhoneNumberWithResponse UpdatePhoneNumber
Renames a phone number, or adds it to a dispatch rule. To remove a
number from a rule, remove its ID from the `trunkIds` of the rule with `UpdateDispatchRule`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
func (*ClientWithResponses) UserServiceGetCurrentUserWithResponse ¶
func (c *ClientWithResponses) UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)
UserServiceGetCurrentUserWithResponse GetCurrentUser
Returns the user that you are signed in as.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).
func (*ClientWithResponses) UserServiceGetUserWithResponse ¶
func (c *ClientWithResponses) UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)
UserServiceGetUserWithResponse GetUser
Returns a user by ID. You can get yourself, or a user who is a member of a
workspace or a project that you are a member of. Any other user returns `NotFound`, the same as a user who does not exist.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).
func (*ClientWithResponses) UserServiceListUsersWithResponse ¶
func (c *ClientWithResponses) UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*UserServiceListUsersResponse, error)
UserServiceListUsersWithResponse ListUsers
Lists the members of a project or a workspace, ordered by user ID. The list
does not include pending invitees. Set `projectId`, `workspaceId`, or both. When you set neither, the request fails with `InvalidArgument`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).
func (*ClientWithResponses) UserServiceRevokeSessionTokenWithResponse ¶ added in v2.19.4
func (c *ClientWithResponses) UserServiceRevokeSessionTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceRevokeSessionTokenResponse, error)
UserServiceRevokeSessionTokenWithResponse RevokeSessionToken
Revokes the session token that you call with, and signs you out. After
this call, the token gets `Unauthenticated` on every call, a retry of this call included. Your other session tokens stay valid. Access tokens that `CreateToken` returned stay valid until they expire.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/users/me/session-token (the `UserServiceRevokeSessionToken` operationId).
func (*ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
WorkspaceServiceAnswerInviteWithBodyWithResponse AnswerInvite
Accepts or declines a workspace invite that was sent to you. When you accept,
you become a member of the workspace and of every project in it where `isPrivate` is `false`, with the role of the invite. If you are already a member, the role of the invite replaces your role. The API also deletes your pending invites to those projects. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
WorkspaceServiceAnswerInviteWithResponse AnswerInvite
Accepts or declines a workspace invite that was sent to you. When you accept,
you become a member of the workspace and of every project in it where `isPrivate` is `false`, with the role of the invite. If you are already a member, the role of the invite replaces your role. The API also deletes your pending invites to those projects. When you decline, the API deletes the invite. After you answer, the token stops working, so a retry returns `NotFound`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
WorkspaceServiceCreateInviteWithBodyWithResponse CreateInvite
Invites a person to a workspace by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an unexpired invite for the email exists, the API sends that invite again: its token, role, and expiry do not change. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
WorkspaceServiceCreateInviteWithResponse CreateInvite
Invites a person to a workspace by email, with a role. The API sends an email
with the invite link, and the response has the invite token. The invite expires after 48 hours. When an unexpired invite for the email exists, the API sends that invite again: its token, role, and expiry do not change. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
WorkspaceServiceCreateProjectWithBodyWithResponse CreateProject
Creates a project in a workspace. Send the project as the request body. The
rules and errors of `ProjectService.CreateProject` apply. You become a member of the project with the admin role (`3`), and the API creates an API key that you own. When `isPrivate` is `false`, every member of the workspace becomes a member of the project, with their workspace role. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
WorkspaceServiceCreateProjectWithResponse CreateProject
Creates a project in a workspace. Send the project as the request body. The
rules and errors of `ProjectService.CreateProject` apply. You become a member of the project with the admin role (`3`), and the API creates an API key that you own. When `isPrivate` is `false`, every member of the workspace becomes a member of the project, with their workspace role. The call is not idempotent: when `subdomain` is empty, a retry creates a second project.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
WorkspaceServiceCreateWorkspaceWithBodyWithResponse CreateWorkspace
Creates a workspace. You become its only member, with the admin role (`3`).
The workspace has no projects: to add one, call `CreateProject`. An empty `name` returns `InvalidArgument`. The call is not idempotent: a retry creates a second workspace.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
WorkspaceServiceCreateWorkspaceWithResponse CreateWorkspace
Creates a workspace. You become its only member, with the admin role (`3`).
The workspace has no projects: to add one, call `CreateProject`. An empty `name` returns `InvalidArgument`. The call is not idempotent: a retry creates a second workspace.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteInviteResponse, error)
WorkspaceServiceDeleteInviteWithResponse DeleteInvite
Deletes a pending workspace invite, so that its link stops working. When no
invite exists for the email, the call succeeds and changes nothing.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteMemberResponse, error)
WorkspaceServiceDeleteMemberWithResponse DeleteMember
Removes a user from a workspace and from every project in it, and deletes
the API keys that the user owns in those projects. Agent keys stay. Send `confirmedNumKeys` to confirm the number of keys to delete. A removal that deletes the last API key of a project returns `FailedPrecondition` and changes nothing. A user who is not a member returns `NotFound`. The response has the number of keys that the removal deleted.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteProjectResponse, error)
WorkspaceServiceDeleteProjectWithResponse DeleteProject
Deletes a project in a workspace, with its API keys, its webhooks, and its
member list. You cannot undo the delete. A project that is not in the workspace returns `NotFound`, and a retry returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
func (*ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)
WorkspaceServiceDeleteWorkspaceWithResponse DeleteWorkspace
Deletes a workspace, with its members and its pending invites. A workspace
that has projects returns `FailedPrecondition`: delete its projects first. You cannot undo the delete. A retry returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceGetInviteWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)
WorkspaceServiceGetInviteWithResponse GetInvite
Returns a workspace invite that was sent to you, found by its token. Use it
to show the invite before you answer it with `AnswerInvite`. An invite that was sent to a different email address returns `PermissionDenied`. An expired invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
func (*ClientWithResponses) WorkspaceServiceGetMemberWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetMemberResponse, error)
WorkspaceServiceGetMemberWithResponse GetMember
Returns the membership of one user on a workspace, with the role of the
user. A user who is not a member of the workspace returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
func (*ClientWithResponses) WorkspaceServiceGetProjectWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetProjectResponse, error)
WorkspaceServiceGetProjectWithResponse GetProject
Returns a project in a workspace, with its settings and its webhooks. A
project that is not in the workspace, or that you cannot see, returns `NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
func (*ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)
WorkspaceServiceGetWorkspaceWithResponse GetWorkspace
Returns a workspace. A workspace that you are not a member of returns
`NotFound`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceListInvitesWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)
WorkspaceServiceListInvitesWithResponse ListInvites
Lists the unexpired invites of a workspace, ordered by email.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
func (*ClientWithResponses) WorkspaceServiceListMembersWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)
WorkspaceServiceListMembersWithResponse ListMembers
Lists the workspace members, ordered by user ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
func (*ClientWithResponses) WorkspaceServiceListProjectsWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListProjectsResponse, error)
WorkspaceServiceListProjectsWithResponse ListProjects
Lists the projects in a workspace. The items are the same `Project`
message that `ProjectService` returns.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
func (*ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListWorkspacesResponse, error)
WorkspaceServiceListWorkspacesWithResponse ListWorkspaces
Lists the workspaces that you are a member of, ordered by workspace ID. A
pending invite does not make you a member.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
WorkspaceServiceUpdateMemberWithBodyWithResponse UpdateMember
Changes the workspace role of a member. The API also changes the role of the
user on every project in the workspace where `isPrivate` is `false`. The projects where `isPrivate` is `true` keep their roles. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
WorkspaceServiceUpdateMemberWithResponse UpdateMember
Changes the workspace role of a member. The API also changes the role of the
user on every project in the workspace where `isPrivate` is `false`. The projects where `isPrivate` is `true` keep their roles. A user who is not a member returns `NotFound`. On a plan that allows only the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
WorkspaceServiceUpdateWorkspaceWithBodyWithResponse UpdateWorkspace
Changes the name or the MCP policy of a workspace, and returns the updated
workspace. A field that is unset does not change.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
func (*ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse ¶
func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
WorkspaceServiceUpdateWorkspaceWithResponse UpdateWorkspace
Changes the name or the MCP policy of a workspace, and returns the updated
workspace. A field that is unset does not change.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ProjectServiceGetInviteWithResponse GetInvite
//
// Returns a project invite that was sent to you, found by its token. Use it to
// show the invite before you answer it with `AnswerInvitation`. An invite that
// was sent to a different email address returns `PermissionDenied`. An expired
// invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)
// ProjectServiceAnswerInvitationWithBodyWithResponse AnswerInvitation
//
// Accepts or declines a project invite that was sent to you. When you accept,
// you become a member of the project with the role of the invite. When the
// project is in a workspace, you also become a member of the workspace and of
// every project in it where `isPrivate` is `false`, with the same role. If you
// are already a member, the role of the invite replaces your role. When you
// decline, the API deletes the invite. After you answer, the token stops
// working, so a retry returns `NotFound`. An invite that was sent to a
// different email address returns `PermissionDenied`. An expired invite
// returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
// ProjectServiceAnswerInvitationWithResponse AnswerInvitation
//
// Accepts or declines a project invite that was sent to you. When you accept,
// you become a member of the project with the role of the invite. When the
// project is in a workspace, you also become a member of the workspace and of
// every project in it where `isPrivate` is `false`, with the same role. If you
// are already a member, the role of the invite replaces your role. When you
// decline, the API deletes the invite. After you answer, the token stops
// working, so a retry returns `NotFound`. An invite that was sent to a
// different email address returns `PermissionDenied`. An expired invite
// returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)
// ProjectServiceListProjectsWithResponse ListProjects
//
// Lists projects, ordered by project ID. When you set no filter, the list has
// the projects that you are a member of. A pending invite does not make you a
// member.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).
ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListProjectsResponse, error)
// ProjectServiceCreateProjectWithBodyWithResponse CreateProject
//
// Creates a project. You become a member of the project with the admin role
// (`3`), and the API creates an API key that you own. When `workspaceId` is
// empty, the API also creates a workspace with the same name as the project,
// and you are its only member. When `isPrivate` is `false` and you set
// `workspaceId`, every member of the workspace becomes a member of the project,
// with their workspace role. A `subdomain` that another project uses returns
// `AlreadyExists`. When you reach the limit of free projects that you can
// create, or the project limit of the workspace plan, the request fails with
// `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty,
// a retry creates a second project.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
// ProjectServiceCreateProjectWithResponse CreateProject
//
// Creates a project. You become a member of the project with the admin role
// (`3`), and the API creates an API key that you own. When `workspaceId` is
// empty, the API also creates a workspace with the same name as the project,
// and you are its only member. When `isPrivate` is `false` and you set
// `workspaceId`, every member of the workspace becomes a member of the project,
// with their workspace role. A `subdomain` that another project uses returns
// `AlreadyExists`. When you reach the limit of free projects that you can
// create, or the project limit of the workspace plan, the request fails with
// `FailedPrecondition`. The call is not idempotent: when `subdomain` is empty,
// a retry creates a second project.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)
// ProjectServiceDeleteProjectWithResponse DeleteProject
//
// Deletes a project, with its API keys, its webhooks, and its member list. You
// cannot undo the delete. Another project can then use the subdomain. A retry
// returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)
// ProjectServiceGetProjectWithResponse GetProject
//
// Returns a project with its settings and its webhooks. A project that you
// cannot see returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).
ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)
// ProjectServiceUpdateProjectWithBodyWithResponse UpdateProject
//
// Updates the settings of a project, and returns the updated project. A field
// that you do not set keeps its value. When you change `isPrivate` from
// `false` to `true`, the API removes every member of the project except you
// and the users in `members`, and you get the admin role (`3`). When you
// change `isPrivate` from `true` to `false`, every member of the workspace
// becomes a member of the project, with their workspace role. A user in
// `members` who is not a member of the workspace
// returns `NotFound`. A `subdomain` that another project uses returns
// `AlreadyExists`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
// ProjectServiceUpdateProjectWithResponse UpdateProject
//
// Updates the settings of a project, and returns the updated project. A field
// that you do not set keeps its value. When you change `isPrivate` from
// `false` to `true`, the API removes every member of the project except you
// and the users in `members`, and you get the admin role (`3`). When you
// change `isPrivate` from `true` to `false`, every member of the workspace
// becomes a member of the project, with their workspace role. A user in
// `members` who is not a member of the workspace
// returns `NotFound`. A `subdomain` that another project uses returns
// `AlreadyExists`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)
// AgentBuilderServiceListAgentsWithResponse ListAgents
//
// Lists the Agent Builder agents of a project by name, with the deployment
// status of each. The list does not include configurations. To get the
// configuration of an agent, call `GetAgent`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceListAgents` operationId).
AgentBuilderServiceListAgentsWithResponse(ctx context.Context, projectId string, params *AgentBuilderServiceListAgentsParams, reqEditors ...RequestEditorFn) (*AgentBuilderServiceListAgentsResponse, error)
// AgentBuilderServiceCreateAgentWithBodyWithResponse CreateAgent
//
// Creates an Agent Builder agent from a name and a configuration. The agent
// is not deployed: call `DeployAgent` to run it. Unset configuration
// properties take their default, and unknown properties are ignored. A
// configuration that is not valid fails with `InvalidArgument` and a
// `google.rpc.BadRequest` detail. It has a field violation for each
// problem, up to 100, which names a field, such as
// `config.httpTools[0].url`, and what is wrong with it. A config with more
// problems gets one last violation for `config` that says how many more.
// `********` is not a valid header value: send the value itself.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
AgentBuilderServiceCreateAgentWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentBuilderServiceCreateAgentResponse, error)
// AgentBuilderServiceCreateAgentWithResponse CreateAgent
//
// Creates an Agent Builder agent from a name and a configuration. The agent
// is not deployed: call `DeployAgent` to run it. Unset configuration
// properties take their default, and unknown properties are ignored. A
// configuration that is not valid fails with `InvalidArgument` and a
// `google.rpc.BadRequest` detail. It has a field violation for each
// problem, up to 100, which names a field, such as
// `config.httpTools[0].url`, and what is wrong with it. A config with more
// problems gets one last violation for `config` that says how many more.
// `********` is not a valid header value: send the value itself.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents (the `AgentBuilderServiceCreateAgent` operationId).
AgentBuilderServiceCreateAgentWithResponse(ctx context.Context, projectId string, body AgentBuilderServiceCreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentBuilderServiceCreateAgentResponse, error)
// AgentBuilderServiceDeleteAgentWithResponse DeleteAgent
//
// Deletes an Agent Builder agent, its versions, and its deployment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceDeleteAgent` operationId).
AgentBuilderServiceDeleteAgentWithResponse(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*AgentBuilderServiceDeleteAgentResponse, error)
// AgentBuilderServiceGetAgentWithResponse GetAgent
//
// Returns an Agent Builder agent with its current configuration and its
// deployment status. A `READ` member reads `********` in place of each
// header value.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceGetAgent` operationId).
AgentBuilderServiceGetAgentWithResponse(ctx context.Context, projectId string, agentId string, reqEditors ...RequestEditorFn) (*AgentBuilderServiceGetAgentResponse, error)
// AgentBuilderServiceUpdateAgentWithBodyWithResponse UpdateAgent
//
// Changes the configuration of an Agent Builder agent, its name, or both. A
// new configuration makes a new version. A new name does not. The running
// agent does not change until you deploy again. Until then, it keeps the
// old configuration and registers under the old name. After that deploy, a
// dispatch or a SIP dispatch rule that uses the old name no longer reaches
// it. A request with neither `config` nor `name` fails with
// `InvalidArgument`. A name that another Agent Builder agent of the project
// has fails with `AlreadyExists`. A configuration that is not valid fails
// as it does in `CreateAgent`, which includes `********` as a header value.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
AgentBuilderServiceUpdateAgentWithBodyWithResponse(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentBuilderServiceUpdateAgentResponse, error)
// AgentBuilderServiceUpdateAgentWithResponse UpdateAgent
//
// Changes the configuration of an Agent Builder agent, its name, or both. A
// new configuration makes a new version. A new name does not. The running
// agent does not change until you deploy again. Until then, it keeps the
// old configuration and registers under the old name. After that deploy, a
// dispatch or a SIP dispatch rule that uses the old name no longer reaches
// it. A request with neither `config` nor `name` fails with
// `InvalidArgument`. A name that another Agent Builder agent of the project
// has fails with `AlreadyExists`. A configuration that is not valid fails
// as it does in `CreateAgent`, which includes `********` as a header value.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/agent-builder/agents/{agentId} (the `AgentBuilderServiceUpdateAgent` operationId).
AgentBuilderServiceUpdateAgentWithResponse(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceUpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentBuilderServiceUpdateAgentResponse, error)
// AgentBuilderServiceGetAgentCodeURLWithResponse GetAgentCodeURL
//
// Returns a short-lived URL that downloads the agent code of an Agent
// Builder agent version as a zip file. The zip holds `src/agent.py`,
// `pyproject.toml`, `.env.example`, a `Dockerfile`, and the project docs,
// so that you can run and change the agent yourself. The URL needs no
// credentials and is valid until `expiresAt`. The agent code holds every
// header value, so the call requires the `WRITE` role. A version whose
// configuration can't make agent code returns `FailedPrecondition`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/code-url (the `AgentBuilderServiceGetAgentCodeURL` operationId).
AgentBuilderServiceGetAgentCodeURLWithResponse(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceGetAgentCodeURLParams, reqEditors ...RequestEditorFn) (*AgentBuilderServiceGetAgentCodeURLResponse, error)
// AgentBuilderServiceListAgentVersionsWithResponse ListAgentVersions
//
// Lists the versions of an Agent Builder agent, newest first, each with its
// configuration. To deploy an earlier version, pass its ID to
// `DeployAgent`. To make its configuration current again, pass the
// configuration to `UpdateAgent`. A `READ` member reads `********` in place
// of each header value.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/agent-builder/agents/{agentId}/versions (the `AgentBuilderServiceListAgentVersions` operationId).
AgentBuilderServiceListAgentVersionsWithResponse(ctx context.Context, projectId string, agentId string, params *AgentBuilderServiceListAgentVersionsParams, reqEditors ...RequestEditorFn) (*AgentBuilderServiceListAgentVersionsResponse, error)
// AgentBuilderServiceDeployAgentWithBodyWithResponse DeployAgent
//
// Starts a deployment of the current configuration of an Agent Builder
// agent, or of an earlier version. The call returns when the build starts,
// with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after
// the call returns. Call `GetAgent` to follow the deployment until its
// status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
AgentBuilderServiceDeployAgentWithBodyWithResponse(ctx context.Context, projectId string, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentBuilderServiceDeployAgentResponse, error)
// AgentBuilderServiceDeployAgentWithResponse DeployAgent
//
// Starts a deployment of the current configuration of an Agent Builder
// agent, or of an earlier version. The call returns when the build starts,
// with the status `DEPLOYMENT_STATUS_BUILDING`. The build continues after
// the call returns. Call `GetAgent` to follow the deployment until its
// status is `DEPLOYMENT_STATUS_RUNNING` or `DEPLOYMENT_STATUS_BUILD_FAILED`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/agent-builder/agents/{agentId}:deploy (the `AgentBuilderServiceDeployAgent` operationId).
AgentBuilderServiceDeployAgentWithResponse(ctx context.Context, projectId string, agentId string, body AgentBuilderServiceDeployAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentBuilderServiceDeployAgentResponse, error)
// AnalyticsServiceGetAgentInsightsWithResponse Returns the agent insights of a project over a time range: the totals and
// latencies of its agents, one item for each agent, and one item for each
// model that the agents used. This is the data that the agent dashboards of
// LiveKit Cloud show.
//
// The data comes from the turns, model requests, and tool calls that the
// agents recorded. Simulated sessions are not included.
//
// When `range.startTime` is unset, the range starts 7 days before its end.
// The range does not include `range.endTime`. The range can be at most 30
// days.
//
// Errors: a range longer than 30 days, a range whose `startTime` is not
// before its `endTime`, a range that starts after now, more than 25 agents
// in `agentIds` and `agentNames` together, or an empty agent ID or name
// returns `InvalidArgument`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/agent-insights (the `AnalyticsServiceGetAgentInsights` operationId).
AnalyticsServiceGetAgentInsightsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetAgentInsightsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetAgentInsightsResponse, error)
// EvalServiceGetEvalDefaultsWithResponse GetEvalDefaults
//
// Returns the judge defaults of the project, and the judge models that a
// definition can name. Each eval uses the judge defaults for the judge
// settings that its definition does not set.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/eval-defaults (the `EvalServiceGetEvalDefaults` operationId).
EvalServiceGetEvalDefaultsWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*EvalServiceGetEvalDefaultsResponse, error)
// EvalServiceUpdateEvalDefaultsWithBodyWithResponse Replaces the judge defaults of the project. A revision keeps the defaults
// that it was published with, so the change reaches an eval at its next
// publish.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
EvalServiceUpdateEvalDefaultsWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalDefaultsResponse, error)
// EvalServiceUpdateEvalDefaultsWithResponse Replaces the judge defaults of the project. A revision keeps the defaults
// that it was published with, so the change reaches an eval at its next
// publish.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v0/projects/{projectId}/eval-defaults (the `EvalServiceUpdateEvalDefaults` operationId).
EvalServiceUpdateEvalDefaultsWithResponse(ctx context.Context, projectId string, body EvalServiceUpdateEvalDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalDefaultsResponse, error)
// AnalyticsServiceGetEvalResultsWithResponse Returns the eval results of a project over a time range: the totals, one
// item for each eval, eval version and agent, and the error codes. An eval
// is a set of criteria that LiveKit checks on each finished live session of
// the agents of a project. This is the data that the evals page of LiveKit
// Cloud shows.
//
// Each count is a number of sessions. The range selects sessions by their
// end time, and expands to whole 5-minute periods. Simulated sessions are
// not included.
//
// When `range.startTime` is unset, the range starts 7 days before its end.
// A session that ends at `range.endTime` is included, unless `range.endTime`
// is on a 5-minute boundary. The range can be at most 60 days.
//
// Errors: a range longer than 60 days, a range whose `startTime` is not
// before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`,
// `intentIds`, or `outcomeIds` returns `InvalidArgument`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/eval-results (the `AnalyticsServiceGetEvalResults` operationId).
AnalyticsServiceGetEvalResultsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetEvalResultsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetEvalResultsResponse, error)
// ObservabilityServiceListEvalSessionsWithResponse Lists the agent sessions that LiveKit scored with evals or labeled, newest
// session end first. An eval is a set of criteria that LiveKit checks on each
// finished live session. Each item is one agent job in a session, with the
// result of each eval. These are the sessions that the evals page of the
// dashboard lists when you select a result.
//
// With no `evalId`, `verdict` or `criterionId`, each item has the verdict and
// score of every eval that scored the session, and a session that LiveKit
// only labeled has no evals. With `evalId` or `verdict`, each item has one
// eval and the IDs of the criteria that it failed. With `criterionId`, each
// item has the answer to that criterion and the answers of its judges. To get
// the failure reasons, call `GetSessionEvals`.
//
// The range selects sessions by their end time, and expands to whole
// 5-minute periods. A session that ends at `range.endTime` is included,
// unless `range.endTime` is on a 5-minute boundary. When `range.startTime`
// is unset, the range starts 7 days before its end. The range can be at
// most 30 days. Simulated sessions are not included.
//
// Errors: a range longer than 30 days, a range whose `startTime` is not
// before its `endTime`, more than 25 entries in `agentNames`, `intentIds`, or
// `outcomeIds`, a `criterionId` without an `evalId` or with a `verdict`, or a
// cursor from another request returns `InvalidArgument`. A read with no
// filter that returns no sessions while user data recording is off returns
// the `ObservabilityDisabled` error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/eval-sessions (the `ObservabilityServiceListEvalSessions` operationId).
ObservabilityServiceListEvalSessionsWithResponse(ctx context.Context, projectId string, params *ObservabilityServiceListEvalSessionsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceListEvalSessionsResponse, error)
// EvalServiceListEvalsWithResponse ListEvals
//
// Lists the evals of a project, sorted by name, ignoring case. The list is always one page,
// with every eval. A project has at most 500 active evals. Each item has the
// live revision number and says whether the eval has a draft, but has no
// definition. To read a definition, use `GetEval`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/evals (the `EvalServiceListEvals` operationId).
EvalServiceListEvalsWithResponse(ctx context.Context, projectId string, params *EvalServiceListEvalsParams, reqEditors ...RequestEditorFn) (*EvalServiceListEvalsResponse, error)
// EvalServiceCreateEvalWithBodyWithResponse Creates an eval, with its definition as the first draft. The eval scores
// nothing until you publish the draft with `PublishEvalDraft`. Returns the
// eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A name that another eval of the project
// has returns `AlreadyExists`. A project with the maximum number of evals
// returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
EvalServiceCreateEvalWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceCreateEvalResponse, error)
// EvalServiceCreateEvalWithResponse Creates an eval, with its definition as the first draft. The eval scores
// nothing until you publish the draft with `PublishEvalDraft`. Returns the
// eval and the draft, whose `draftEtag` you pass to `SaveEvalDraft`.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A name that another eval of the project
// has returns `AlreadyExists`. A project with the maximum number of evals
// returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals (the `EvalServiceCreateEval` operationId).
EvalServiceCreateEvalWithResponse(ctx context.Context, projectId string, body EvalServiceCreateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceCreateEvalResponse, error)
// EvalServiceDeleteEvalWithResponse Deletes an eval. LiveKit stops scoring sessions with it, and its past
// results stay. `UndeleteEval` brings it back.
//
// Errors: an unknown eval returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceDeleteEval` operationId).
EvalServiceDeleteEvalWithResponse(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*EvalServiceDeleteEvalResponse, error)
// EvalServiceGetEvalWithResponse Returns an eval and one version of its definition: the live revision, a
// revision that you name, or the draft. Without `version`, returns the live
// revision, or the draft when nothing is published. A deleted eval is still
// readable.
//
// Errors: an unknown eval returns `NotFound`. A revision or a draft that the
// eval does not have also returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceGetEval` operationId).
EvalServiceGetEvalWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceGetEvalParams, reqEditors ...RequestEditorFn) (*EvalServiceGetEvalResponse, error)
// EvalServiceUpdateEvalWithBodyWithResponse Changes the name or the description of an eval. A field that you leave
// out does not change. A change takes effect at once, and does not need a
// publish.
//
// Errors: an unknown eval returns `NotFound`. A name that another eval of
// the project has returns `AlreadyExists`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
EvalServiceUpdateEvalWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalResponse, error)
// EvalServiceUpdateEvalWithResponse Changes the name or the description of an eval. A field that you leave
// out does not change. A change takes effect at once, and does not need a
// publish.
//
// Errors: an unknown eval returns `NotFound`. A name that another eval of
// the project has returns `AlreadyExists`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/evals/{evalId} (the `EvalServiceUpdateEval` operationId).
EvalServiceUpdateEvalWithResponse(ctx context.Context, projectId string, evalId string, body EvalServiceUpdateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateEvalResponse, error)
// EvalServiceDiffEvalRevisionsWithResponse Returns the changes between two versions of the definition of an eval,
// field by field. Each version is a revision or the draft. The changes are
// to the definition as it was written, without the judge defaults of the
// project.
//
// Errors: an unknown eval, revision or draft returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/diff (the `EvalServiceDiffEvalRevisions` operationId).
EvalServiceDiffEvalRevisionsWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceDiffEvalRevisionsParams, reqEditors ...RequestEditorFn) (*EvalServiceDiffEvalRevisionsResponse, error)
// EvalServiceDiscardEvalDraftWithResponse Discards the draft of an eval. The live revision does not change. Pass the
// `draftEtag` that you last read, so that you do not discard a change that
// someone else made.
//
// Errors: an unknown eval, or an eval with no draft, returns `NotFound`. A
// `draftEtag` that is not the current one returns `Aborted`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceDiscardEvalDraft` operationId).
EvalServiceDiscardEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceDiscardEvalDraftParams, reqEditors ...RequestEditorFn) (*EvalServiceDiscardEvalDraftResponse, error)
// EvalServiceSaveEvalDraftWithBodyWithResponse Saves the draft of an eval, and replaces the draft that was there. The
// draft scores nothing until you publish it. Pass the `draftEtag` that you
// last read, so that you do not overwrite a change that someone else made.
// Leave it empty when the eval has no draft.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`: read the eval again, and repeat the change on its
// draft.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
EvalServiceSaveEvalDraftWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceSaveEvalDraftResponse, error)
// EvalServiceSaveEvalDraftWithResponse Saves the draft of an eval, and replaces the draft that was there. The
// draft scores nothing until you publish it. Pass the `draftEtag` that you
// last read, so that you do not overwrite a change that someone else made.
// Leave it empty when the eval has no draft.
//
// Errors: a definition with a wrong field returns `InvalidArgument`, with
// each field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`: read the eval again, and repeat the change on its
// draft.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v0/projects/{projectId}/evals/{evalId}/draft (the `EvalServiceSaveEvalDraft` operationId).
EvalServiceSaveEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, body EvalServiceSaveEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceSaveEvalDraftResponse, error)
// EvalServicePublishEvalDraftWithBodyWithResponse Publishes the draft of an eval as its next revision, and makes that
// revision live. From now on, the eval scores every matching live session of
// the project, and each judged criterion uses LLM judge inference that
// LiveKit pays for. Pass the `draftEtag` that you last read.
//
// Errors: a draft that is not complete returns `InvalidArgument`, with each
// field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`. When the live revision changed after the draft was
// opened, returns `FailedPrecondition`: compare the two with
// `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
EvalServicePublishEvalDraftWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServicePublishEvalDraftResponse, error)
// EvalServicePublishEvalDraftWithResponse Publishes the draft of an eval as its next revision, and makes that
// revision live. From now on, the eval scores every matching live session of
// the project, and each judged criterion uses LLM judge inference that
// LiveKit pays for. Pass the `draftEtag` that you last read.
//
// Errors: a draft that is not complete returns `InvalidArgument`, with each
// field in the error details. A `draftEtag` that is not the current one
// returns `Aborted`. When the live revision changed after the draft was
// opened, returns `FailedPrecondition`: compare the two with
// `DiffEvalRevisions`, and set `allowStaleBase` to publish anyway.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}/draft:publish (the `EvalServicePublishEvalDraft` operationId).
EvalServicePublishEvalDraftWithResponse(ctx context.Context, projectId string, evalId string, body EvalServicePublishEvalDraftJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServicePublishEvalDraftResponse, error)
// EvalServiceListEvalHistoryWithResponse ListEvalHistory
//
// Lists the history of an eval, newest first: each publish, rollback,
// delete and undelete, and each change of its name or description.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/evals/{evalId}/history (the `EvalServiceListEvalHistory` operationId).
EvalServiceListEvalHistoryWithResponse(ctx context.Context, projectId string, evalId string, params *EvalServiceListEvalHistoryParams, reqEditors ...RequestEditorFn) (*EvalServiceListEvalHistoryResponse, error)
// EvalServiceRollbackEvalWithBodyWithResponse Makes a copy of an older revision of an eval the next revision, and makes
// it live. From now on, the eval scores every matching live session of the
// project with that definition. The older revision and the history do not
// change.
//
// Errors: an unknown eval or revision returns `NotFound`. The live revision
// returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
EvalServiceRollbackEvalWithBodyWithResponse(ctx context.Context, projectId string, evalId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceRollbackEvalResponse, error)
// EvalServiceRollbackEvalWithResponse Makes a copy of an older revision of an eval the next revision, and makes
// it live. From now on, the eval scores every matching live session of the
// project with that definition. The older revision and the history do not
// change.
//
// Errors: an unknown eval or revision returns `NotFound`. The live revision
// returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:rollback (the `EvalServiceRollbackEval` operationId).
EvalServiceRollbackEvalWithResponse(ctx context.Context, projectId string, evalId string, body EvalServiceRollbackEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceRollbackEvalResponse, error)
// EvalServiceUndeleteEvalWithResponse Undeletes an eval. If it has a live revision, LiveKit scores sessions with
// it again.
//
// Errors: an unknown eval returns `NotFound`. A name that another eval of
// the project has taken returns `AlreadyExists`. A project with the maximum
// number of evals returns `FailedPrecondition`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals/{evalId}:undelete (the `EvalServiceUndeleteEval` operationId).
EvalServiceUndeleteEvalWithResponse(ctx context.Context, projectId string, evalId string, reqEditors ...RequestEditorFn) (*EvalServiceUndeleteEvalResponse, error)
// EvalServiceValidateEvalWithBodyWithResponse ValidateEval
//
// Checks an eval definition, and saves nothing. Returns the definition with
// the judge defaults of the project applied, and each field that is wrong
// or missing. A definition can be published only when it has no
// violations. The call returns OK also when the definition has violations.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
EvalServiceValidateEvalWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceValidateEvalResponse, error)
// EvalServiceValidateEvalWithResponse ValidateEval
//
// Checks an eval definition, and saves nothing. Returns the definition with
// the judge defaults of the project applied, and each field that is wrong
// or missing. A definition can be published only when it has no
// violations. The call returns OK also when the definition has violations.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/evals:validate (the `EvalServiceValidateEval` operationId).
EvalServiceValidateEvalWithResponse(ctx context.Context, projectId string, body EvalServiceValidateEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceValidateEvalResponse, error)
// ProjectServiceListInvitesWithResponse ListInvites
//
// Lists the unexpired invites of a project, ordered by email.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)
// ProjectServiceInviteMemberWithBodyWithResponse InviteMember
//
// Invites a person to a project by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an invite for the email exists, the API
// replaces its role, token, and expiry, and the earlier link stops working. A
// retry replaces the invite and sends a new email. On a plan that allows only
// the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
// ProjectServiceInviteMemberWithResponse InviteMember
//
// Invites a person to a project by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an invite for the email exists, the API
// replaces its role, token, and expiry, and the earlier link stops working. A
// retry replaces the invite and sends a new email. On a plan that allows only
// the admin role (`3`), the roles `1` and `2` return `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)
// ProjectServiceDeleteInviteWithResponse DeleteInvite
//
// Deletes a pending project invite, so that its link stops working. When the
// project is in a workspace, the API also deletes the workspace invite for the
// same email. An invite that does not exist returns `NotFound`. An expired
// invite returns `FailedPrecondition`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteInviteResponse, error)
// ProjectServiceUpdateInviteWithBodyWithResponse UpdateInvite
//
// Changes the role of a pending project invite. The token and the expiry do not
// change, and the API sends no email. An invite that does not exist returns
// `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that
// allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
// ProjectServiceUpdateInviteWithResponse UpdateInvite
//
// Changes the role of a pending project invite. The token and the expiry do not
// change, and the API sends no email. An invite that does not exist returns
// `NotFound`. An expired invite returns `FailedPrecondition`. On a plan that
// allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)
// ProjectServiceListKeysWithResponse ListKeys
//
// Lists the API keys of a project, oldest first. The list does not include
// the secrets.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).
ProjectServiceListKeysWithResponse(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*ProjectServiceListKeysResponse, error)
// ProjectServiceGenerateKeyWithBodyWithResponse GenerateKey
//
// Creates an API key and secret for the project. The response includes the
// secret. You cannot read the secret again.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
ProjectServiceGenerateKeyWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)
// ProjectServiceGenerateKeyWithResponse GenerateKey
//
// Creates an API key and secret for the project. The response includes the
// secret. You cannot read the secret again.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
ProjectServiceGenerateKeyWithResponse(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)
// ProjectServiceDeleteKeyWithResponse DeleteKey
//
// Deletes an API key and its secret from a project. You cannot undo the
// delete. A key that does not exist, or that belongs to another project,
// returns `NotFound`, so a retry returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).
ProjectServiceDeleteKeyWithResponse(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteKeyResponse, error)
// ObservabilityServiceListLogPatternsWithResponse Lists the log patterns of a project in a time range, ranked, with their
// counts over time. A log pattern is a group of log records that log the
// same message from one place in the code, at one level. Its template is
// the message with each variable part, such as a number or an ID, replaced
// by a placeholder. These are the patterns that the logs page on the
// dashboard groups the records into.
//
// When `range.startTime` is unset, the range starts 24 hours before its
// end. The range does not include `range.endTime`.
//
// The API keeps log records for 14 days. One read covers at most the 7
// days before the end of its range. A range that starts earlier reads the
// records of those 7 days. A range that ends more than 14 days ago returns
// `InvalidArgument`. The read does not count the records of the current
// minute, and its answer can be up to one minute old. For a range of one
// day or more, these are five minutes. On a project with
// many records, the counts can be estimates. Then `estimated` is true: the
// API reads the records of a share of the sessions, and scales the counts.
// The read does not count the records of agent simulation sessions, unless
// you set `sessionId`. A read with a filter can return no patterns because
// no record matches. Thus, only a read with no `query`, `minLevel`,
// `sources`, `agentName`, `agentId`, or `sessionId` returns the
// `ObservabilityDisabled` error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/log-patterns (the `ObservabilityServiceListLogPatterns` operationId).
ObservabilityServiceListLogPatternsWithResponse(ctx context.Context, projectId string, params *ObservabilityServiceListLogPatternsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceListLogPatternsResponse, error)
// ObservabilityServiceListProjectLogsWithResponse Lists the log records of a project in a time range, from its agents, its
// client SDKs, and LiveKit, newest first by default. These are the records
// that the logs page on the dashboard shows. The chat history is not
// included, because `GetSessionTranscript` returns it.
//
// When `range.startTime` is unset, the range starts 24 hours before its
// end. The range includes `range.endTime`, to the millisecond.
//
// The API keeps log records for 14 days. One read returns at most the 7
// days before the end of its range. A range that starts earlier returns
// the records of those 7 days. A range that ends more than 14 days ago
// returns `InvalidArgument`. A record that arrives after you read a page
// can have a time that your pages already passed. This read does not return
// that record. A new read returns it. Records from the last few minutes can
// still arrive. A read with a filter can return no records because no
// record matches. Thus, only a read with no filter returns the
// `ObservabilityDisabled` error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/logs (the `ObservabilityServiceListProjectLogs` operationId).
ObservabilityServiceListProjectLogsWithResponse(ctx context.Context, projectId string, params *ObservabilityServiceListProjectLogsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceListProjectLogsResponse, error)
// ProjectServiceListMembersWithResponse ListMembers
//
// Lists the project members, ordered by user ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)
// ProjectServiceRemoveMemberWithResponse RemoveMember
//
// Removes a user from a project, and deletes the API keys that the user owns in
// the project. Agent keys stay. When `isPrivate` is `false` on the project, the
// API removes the user from the workspace and from every project in it, and
// deletes the keys that the user owns in all of those projects. When
// `isPrivate` is `true`, the API sends an email to the user about the
// removal. Send `confirmedNumKeys` to confirm the number of keys to delete.
// A removal that deletes the last API key of a project returns
// `FailedPrecondition` and changes nothing. A user who is not a member
// returns `NotFound`. The response has the number of keys that the removal
// deleted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*ProjectServiceRemoveMemberResponse, error)
// ProjectServiceGetMemberWithResponse GetMember
//
// Returns the membership of one user on a project, with the role of the user.
// A user who is not a member of the project returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetMemberResponse, error)
// ProjectServiceUpdateMemberWithBodyWithResponse UpdateMember
//
// Changes the role of a member of a project. When `isPrivate` is `false` on the
// project, the role is the workspace role of the user: the API changes it on
// the workspace and on every project in the workspace where `isPrivate` is
// `false`. When `isPrivate` is `true`, only this project changes, and the API
// sends an email to the member about the new role. A user who is not a member
// returns `NotFound`. On a plan that allows only the admin role (`3`), the
// roles `1` and `2` return `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
// ProjectServiceUpdateMemberWithResponse UpdateMember
//
// Changes the role of a member of a project. When `isPrivate` is `false` on the
// project, the role is the workspace role of the user: the API changes it on
// the workspace and on every project in the workspace where `isPrivate` is
// `false`. When `isPrivate` is `true`, only this project changes, and the API
// sends an email to the member about the new role. A user who is not a member
// returns `NotFound`. On a plan that allows only the admin role (`3`), the
// roles `1` and `2` return `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)
// ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse AddWorkspaceMembersToProject
//
// Adds members of the workspace to a project where `isPrivate` is `true`, all
// with one role. A user who is already a member of the project gets the new
// role, so a retry gives the same result. The API sends an email to each user
// that it adds, except you. A project where `isPrivate` is `false` returns
// `InvalidArgument`. A user who is not a member of the workspace returns
// `NotFound`, and the API adds no one. On a plan that allows only the admin
// role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response
// lists the members in no specific order. An empty `userIds` changes nothing.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
// ProjectServiceAddWorkspaceMembersToProjectWithResponse AddWorkspaceMembersToProject
//
// Adds members of the workspace to a project where `isPrivate` is `true`, all
// with one role. A user who is already a member of the project gets the new
// role, so a retry gives the same result. The API sends an email to each user
// that it adds, except you. A project where `isPrivate` is `false` returns
// `InvalidArgument`. A user who is not a member of the workspace returns
// `NotFound`, and the API adds no one. On a plan that allows only the admin
// role (`3`), the roles `1` and `2` return `FailedPrecondition`. The response
// lists the members in no specific order. An empty `userIds` changes nothing.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
// TelephonyServiceListPhoneNumbersWithResponse ListPhoneNumbers
//
// Lists the phone numbers of the project, newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/phone-numbers (the `TelephonyServiceListPhoneNumbers` operationId).
TelephonyServiceListPhoneNumbersWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListPhoneNumbersParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListPhoneNumbersResponse, error)
// TelephonyServicePurchasePhoneNumberWithBodyWithResponse PurchasePhoneNumber
//
// Buys a phone number for the project. The number then appears in
// `ListPhoneNumbers`. A number that someone else bought first fails with
// `AlreadyExists`, and a project at its phone number limit fails with
// `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
TelephonyServicePurchasePhoneNumberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServicePurchasePhoneNumberResponse, error)
// TelephonyServicePurchasePhoneNumberWithResponse PurchasePhoneNumber
//
// Buys a phone number for the project. The number then appears in
// `ListPhoneNumbers`. A number that someone else bought first fails with
// `AlreadyExists`, and a project at its phone number limit fails with
// `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/phone-numbers (the `TelephonyServicePurchasePhoneNumber` operationId).
TelephonyServicePurchasePhoneNumberWithResponse(ctx context.Context, projectId string, body TelephonyServicePurchasePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServicePurchasePhoneNumberResponse, error)
// TelephonyServiceReleasePhoneNumberWithResponse ReleasePhoneNumber
//
// Releases a phone number. The project loses the number, and the API
// removes it from each dispatch rule.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceReleasePhoneNumber` operationId).
TelephonyServiceReleasePhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*TelephonyServiceReleasePhoneNumberResponse, error)
// TelephonyServiceGetPhoneNumberWithResponse GetPhoneNumber
//
// Returns a phone number of the project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceGetPhoneNumber` operationId).
TelephonyServiceGetPhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetPhoneNumberResponse, error)
// TelephonyServiceUpdatePhoneNumberWithBodyWithResponse UpdatePhoneNumber
//
// Renames a phone number, or adds it to a dispatch rule. To remove a
// number from a rule, remove its ID from the `trunkIds` of the rule with
// `UpdateDispatchRule`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
TelephonyServiceUpdatePhoneNumberWithBodyWithResponse(ctx context.Context, projectId string, phoneNumberId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdatePhoneNumberResponse, error)
// TelephonyServiceUpdatePhoneNumberWithResponse UpdatePhoneNumber
//
// Renames a phone number, or adds it to a dispatch rule. To remove a
// number from a rule, remove its ID from the `trunkIds` of the rule with
// `UpdateDispatchRule`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/phone-numbers/{phoneNumberId} (the `TelephonyServiceUpdatePhoneNumber` operationId).
TelephonyServiceUpdatePhoneNumberWithResponse(ctx context.Context, projectId string, phoneNumberId string, body TelephonyServiceUpdatePhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdatePhoneNumberResponse, error)
// TelephonyServiceSearchPhoneNumbersWithResponse SearchPhoneNumbers
//
// Lists the phone numbers that are for sale in a country. The list is
// always one page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/phone-numbers:search (the `TelephonyServiceSearchPhoneNumbers` operationId).
TelephonyServiceSearchPhoneNumbersWithResponse(ctx context.Context, projectId string, params *TelephonyServiceSearchPhoneNumbersParams, reqEditors ...RequestEditorFn) (*TelephonyServiceSearchPhoneNumbersResponse, error)
// SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse GenerateScenarioFromSession
//
// Generates a scenario (label, instructions, and expectations) from a
// recorded room session. Use the scenario in the `scenarioGroup` of a later
// run. The API does not save the scenario: the response is the only copy.
// The session must have a recorded chat history. Each call runs an LLM on
// the chat history, so it counts against the scenario-generation quota of
// the project. A call can take up to about one minute.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
// SimulationServiceGenerateScenarioFromSessionWithResponse GenerateScenarioFromSession
//
// Generates a scenario (label, instructions, and expectations) from a
// recorded room session. Use the scenario in the `scenarioGroup` of a later
// run. The API does not save the scenario: the response is the only copy.
// The session must have a recorded chat history. Each call runs an LLM on
// the chat history, so it counts against the scenario-generation quota of
// the project. A call can take up to about one minute.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
SimulationServiceGenerateScenarioFromSessionWithResponse(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
// AnalyticsServiceGetSessionLabelResultsWithResponse Returns the session labels of a project over a time range: the number of
// sessions with each intent and each outcome, the number of sessions with
// each pair of intent and outcome, and the eval results of the sessions
// with each label. A session label is an intent (what the user wanted) or
// an outcome (how the session ended) that LiveKit assigns to each finished
// live session.
//
// The eval results name each eval by its ID only. To get the names, call
// `GetEvalResults` and read `evals`, or call `ListEvals`.
//
// The range selects sessions by their end time, and expands to whole
// 5-minute periods. Simulated sessions are not included.
//
// When `range.startTime` is unset, the range starts 7 days before its end.
// A session that ends at `range.endTime` is included, unless `range.endTime`
// is on a 5-minute boundary. The range can be at most 60 days.
//
// Errors: a range longer than 60 days, a range whose `startTime` is not
// before its `endTime`, or more than 25 entries in `agentNames`, `evalIds`,
// `intentIds`, or `outcomeIds` returns `InvalidArgument`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/session-label-results (the `AnalyticsServiceGetSessionLabelResults` operationId).
AnalyticsServiceGetSessionLabelResultsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetSessionLabelResultsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionLabelResultsResponse, error)
// EvalServiceGetSessionLabelSettingsWithResponse GetSessionLabelSettings
//
// Returns the settings that decide which sessions LiveKit labels. A project
// that never changed them has the default values.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/session-label-settings (the `EvalServiceGetSessionLabelSettings` operationId).
EvalServiceGetSessionLabelSettingsWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*EvalServiceGetSessionLabelSettingsResponse, error)
// EvalServiceUpdateSessionLabelSettingsWithBodyWithResponse Replaces the session label settings of a project. A field that you leave
// out goes back to its default value, so send every field that you want to
// keep.
//
// Errors: a value that is wrong, such as a `confidenceThreshold` outside the
// range, returns `InvalidArgument`, with each field in the error details.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
EvalServiceUpdateSessionLabelSettingsWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
// EvalServiceUpdateSessionLabelSettingsWithResponse Replaces the session label settings of a project. A field that you leave
// out goes back to its default value, so send every field that you want to
// keep.
//
// Errors: a value that is wrong, such as a `confidenceThreshold` outside the
// range, returns `InvalidArgument`, with each field in the error details.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v0/projects/{projectId}/session-label-settings (the `EvalServiceUpdateSessionLabelSettings` operationId).
EvalServiceUpdateSessionLabelSettingsWithResponse(ctx context.Context, projectId string, body EvalServiceUpdateSessionLabelSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
// EvalServiceListSessionLabelsWithResponse ListSessionLabels
//
// Lists the session labels of a project, sorted by name, ignoring case. The
// list is always one page, with every label of the kind. A project has at
// most 500 active labels of each kind.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/session-labels (the `EvalServiceListSessionLabels` operationId).
EvalServiceListSessionLabelsWithResponse(ctx context.Context, projectId string, params *EvalServiceListSessionLabelsParams, reqEditors ...RequestEditorFn) (*EvalServiceListSessionLabelsResponse, error)
// EvalServiceCreateSessionLabelWithBodyWithResponse Creates a session label. LiveKit applies the label to the sessions that
// end after the label exists, and the label does not reach sessions that
// ended before. The LLM that assigns labels reads the `description` of each
// label, so a description is required. The first label of a project turns
// labeling on, and each labeled session uses LLM inference that LiveKit pays
// for.
//
// Errors: a field that is wrong returns `InvalidArgument`, with each field
// in the error details. A name that another active label of the same kind
// has returns `AlreadyExists`. A project with the maximum number of active
// labels of the kind, or an agent that would have too many labels of the
// kind, returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
EvalServiceCreateSessionLabelWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceCreateSessionLabelResponse, error)
// EvalServiceCreateSessionLabelWithResponse Creates a session label. LiveKit applies the label to the sessions that
// end after the label exists, and the label does not reach sessions that
// ended before. The LLM that assigns labels reads the `description` of each
// label, so a description is required. The first label of a project turns
// labeling on, and each labeled session uses LLM inference that LiveKit pays
// for.
//
// Errors: a field that is wrong returns `InvalidArgument`, with each field
// in the error details. A name that another active label of the same kind
// has returns `AlreadyExists`. A project with the maximum number of active
// labels of the kind, or an agent that would have too many labels of the
// kind, returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/session-labels (the `EvalServiceCreateSessionLabel` operationId).
EvalServiceCreateSessionLabelWithResponse(ctx context.Context, projectId string, body EvalServiceCreateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceCreateSessionLabelResponse, error)
// EvalServiceDeleteSessionLabelWithResponse Deletes a session label. LiveKit stops assigning it, and the labels that
// it assigned to past sessions stay. The response lists the active evals
// that still name the label in `run.when`. The delete happens either way, so
// fix those evals. `UndeleteSessionLabel` brings the label back with the
// same ID. Deleting a deleted label changes nothing.
//
// Errors: an unknown label returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceDeleteSessionLabel` operationId).
EvalServiceDeleteSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*EvalServiceDeleteSessionLabelResponse, error)
// EvalServiceUpdateSessionLabelWithBodyWithResponse Changes a session label. A field that you leave out does not change. The
// kind of a label does not change. A change applies to the sessions that end
// after it. Evals refer to a label by its ID, so a new name does not change
// them.
//
// Errors: an unknown label returns `NotFound`. A deleted label returns
// `FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A
// name that another active label of the same kind has returns
// `AlreadyExists`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
EvalServiceUpdateSessionLabelWithBodyWithResponse(ctx context.Context, projectId string, labelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelResponse, error)
// EvalServiceUpdateSessionLabelWithResponse Changes a session label. A field that you leave out does not change. The
// kind of a label does not change. A change applies to the sessions that end
// after it. Evals refer to a label by its ID, so a new name does not change
// them.
//
// Errors: an unknown label returns `NotFound`. A deleted label returns
// `FailedPrecondition`. A field that is wrong returns `InvalidArgument`. A
// name that another active label of the same kind has returns
// `AlreadyExists`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/session-labels/{labelId} (the `EvalServiceUpdateSessionLabel` operationId).
EvalServiceUpdateSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, body EvalServiceUpdateSessionLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalServiceUpdateSessionLabelResponse, error)
// EvalServiceUndeleteSessionLabelWithResponse Undeletes a session label, with its old ID, so the evals that name the ID
// match it again. The name and the limits of the project apply again.
// Undeleting an active label changes nothing.
//
// Errors: an unknown label returns `NotFound`. A name that another active
// label of the same kind has taken returns `AlreadyExists`. A project with
// the maximum number of active labels of the kind, or an agent that would
// have too many labels of the kind, returns `FailedPrecondition`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/session-labels/{labelId}:undelete (the `EvalServiceUndeleteSessionLabel` operationId).
EvalServiceUndeleteSessionLabelWithResponse(ctx context.Context, projectId string, labelId string, reqEditors ...RequestEditorFn) (*EvalServiceUndeleteSessionLabelResponse, error)
// AnalyticsServiceListProjectSessionsWithResponse ListProjectSessions
//
// Lists the room sessions of a project, newest first. When
// `filter.range.startTime` is unset, the range starts 14 days before its
// end. A session that started at `filter.range.endTime` is not included.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListProjectSessionsResponse, error)
// AnalyticsServiceGetSessionWithResponse GetSession
//
// Returns one room session. The response has the `session` that the list
// returns, and a `detail` with the participants and the metric timelines.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionResponse, error)
// ObservabilityServiceGetSessionEvalsWithResponse Returns the eval results of a session: the newest result of each eval
// that LiveKit scored on each agent job of the session, with the answer of
// each criterion, the answers of its judges, and why a failed criterion
// failed. It also returns the intent and the outcome that LiveKit assigned to
// each agent job. These are the results that the evals tab of a session on
// the dashboard shows.
//
// A judge is an LLM that answers a criterion. A failure reason explains a
// failed criterion of a failed eval, and a failure excerpt quotes the
// transcript lines that show the failure.
//
// LiveKit scores a session after its agent uploads the session recording,
// and the judges can take minutes after the session ends. Thus, a session
// that LiveKit has not scored yet returns empty `evals` and `labels`, with no
// error. When an eval that you expect is missing, read again a few minutes
// later. An unknown session, or a session of another project,
// returns `NotFound`. A session with no results while user data recording is
// off returns the `ObservabilityDisabled` error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/evals (the `ObservabilityServiceGetSessionEvals` operationId).
ObservabilityServiceGetSessionEvalsWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionEvalsResponse, error)
// AnalyticsServiceListSessionEventsWithResponse Lists the events of a room session. Defaults to oldest first. The page info
// has no total.
//
// When `types` is empty, the list has these seven types:
// `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`,
// `PARTICIPANT_RESUMED`, `ROOM_CREATED`, `ROOM_ENDED`, and `API_CALL`. To get
// other types, such as `TRACK_PUBLISHED`, set `types`. To get the events of
// one participant session, set `participantSessionId`. When you set
// `participantSessionId` and `types` is empty, the list has these eleven
// types: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`, `PARTICIPANT_RESUMED`,
// `PARTICIPANT_ACTIVE`, `TRACK_MUTED`, `TRACK_UNMUTED`, `TRACK_PUBLISHED`,
// `TRACK_UNPUBLISHED`, `TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED`, and
// `TRACK_SUBSCRIBE_FAILED`.
//
// Each type matches exactly, so `TRACK_PUBLISHED` does not also return
// `TRACK_PUBLISHED_UPDATE`. The `payload` of an event has only a fixed set of
// fields. It does not include participant attributes, participant metadata,
// or the request bodies of API calls. Each event and participant item has the
// identity of the participant. For a SIP caller, the identity can be a phone
// number.
//
// LiveKit keeps events for 60 days. This can be shorter than the other data
// of the session, so an older session can have no events. An `ACTIVE` session
// lists the events recorded until now.
//
// Errors: an unknown type or a malformed participant session ID returns
// `InvalidArgument`. An unknown session returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).
AnalyticsServiceListSessionEventsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionEventsResponse, error)
// ObservabilityServiceGetSessionLogsWithResponse Returns the log records that the agents of a session exported, in time
// order. These are the records that the logs panel on the dashboard shows.
// The chat history is not included, because `GetSessionTranscript` returns
// it. Evaluation results are included. To get the events of the session, such
// as participants that join, use `AnalyticsService.ListSessionEvents`.
//
// An `ACTIVE` session returns the records that its agents exported up to now.
// While you page through the records, an agent can export a record with a
// time that your pages already passed. For example, in oldest-first order, a
// record with a time earlier than the cursor position. This read does not
// return that record. A new read returns it. An unknown session returns
// `NotFound`. A read filtered by `logLevels` can return no records because no
// record has those levels. Thus, only a read with no filter returns the
// `ObservabilityDisabled` error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).
ObservabilityServiceGetSessionLogsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionLogsResponse, error)
// ObservabilityServiceGetSessionMetricsWithResponse Returns the OpenTelemetry metric points that the agents of a session
// exported, ordered by time. The points include turn latencies, such as
// `lk.agents.turn.e2e_latency` and `lk.agents.turn.llm_ttft`, token and
// duration usage, such as `lk.agents.usage.llm_input_tokens`, and the
// `gen_ai.*` histograms. They also include the metrics that the agent's own
// code recorded.
//
// These are the raw metrics that agents export. They do not exactly match the
// metrics panel on the dashboard, which calculates its values from the
// transcript and traces. Only an agent that exports OpenTelemetry metrics to
// LiveKit Cloud has points. An agent whose code installs its own
// `MeterProvider` exports no metrics to LiveKit Cloud, and its sessions
// return no points.
//
// Some points do not have the labels that their agent exported. LiveKit Cloud
// groups the series of a session by their attributes only, and gives each
// group the name of its first point. This has these results. Several metrics
// can have one name. For example, the input, output, and cached token counts
// of an LLM all have the name `lk.agents.usage.llm_input_tokens`. Points of
// one series with the same time and the same value become one point. When a
// session has two agents, a point can have the resource attributes of the
// other agent.
//
// An agent exports its metrics every 30 seconds, and its turn latencies when
// the session ends. Thus, an `ACTIVE` session returns the points that its
// agents exported up to now. An unknown session returns `NotFound`. A read
// filtered by `names` can return no points because no metric has those names.
// Thus, only a read with no filter returns the `ObservabilityDisabled` error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).
ObservabilityServiceGetSessionMetricsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionMetricsResponse, error)
// AnalyticsServiceListSessionParticipantsWithResponse ListSessionParticipants
//
// Lists the participants of a room session, one item for each identity.
// Defaults to newest join first. Each item has the participant sessions of
// the participant (`PA_...`), each with the client that it connected from.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).
AnalyticsServiceListSessionParticipantsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionParticipantsResponse, error)
// ObservabilityServiceGetSessionRecordingURLWithResponse GetSessionRecordingURL
//
// Returns a short-lived signed URL for a session recording: its audio
// or its chat history. When the recording doesn't exist and
// `dataStatus.state` is `DATA_STATE_SESSION_ACTIVE` or
// `DATA_STATE_SETTLING`, the response has an empty `url`, because the
// agent can still upload the recording. In every other state, a session
// with no recording of that type returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).
ObservabilityServiceGetSessionRecordingURLWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionRecordingURLResponse, error)
// ObservabilityServiceGetSessionTracesWithResponse Returns the spans that the agents of a session exported, ordered by start
// time. These are the spans that the trace view on the dashboard shows. Each
// span names its parent, so you can build the span tree from the pages. The
// attributes of a span hold the turn and latency fields that the turn view on
// the dashboard uses, such as `lk.generation_id` and `lk.response.ttft`.
//
// An `ACTIVE` session returns the spans that its agents exported up to now. A
// span exported after the first page appears only in a new read. The API
// reads the later pages by offset, so a span exported during your read can
// move them. Thus, a span can repeat, or a page can skip a span. Remove
// duplicates by `spanId`. To get a skipped span, read again from the first
// page. An unknown session returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).
ObservabilityServiceGetSessionTracesWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTracesResponse, error)
// ObservabilityServiceGetSessionTranscriptWithResponse Returns the conversation of a session as ordered transcript items. The
// items are messages, tool calls and results, agent handoffs, and agent
// configuration changes. It is the conversation that the transcript on the
// dashboard shows.
//
// The agent exports its transcript when the session ends. There is a delay
// before you can read it, and the length of the delay is not fixed. On a
// project with PII redaction, you can read it only after LiveKit redacts the
// session recording. Thus, an `ACTIVE` session returns the items that exist,
// usually none, with no error. Read it again after the session ends. An
// unknown session returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).
ObservabilityServiceGetSessionTranscriptWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTranscriptResponse, error)
// SimulationServiceListSimulationRunsWithResponse ListSimulationRuns
//
// Lists the runs of a project, newest first. You can filter the runs by
// status, agent, conversation mode, and time window. Each run includes its
// counts (`jobCount`, `passedCount`, `failedCount`, and `issueCount`), but
// not its jobs or its summary.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceListSimulationRunsResponse, error)
// SimulationServiceCreateSimulationRunWithBodyWithResponse CreateSimulationRun
//
// Creates a simulation run. With a `scenarioGroup`, the run starts
// immediately and the response has no upload target. Without a
// `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source
// that the API generates scenarios from. Upload the source to the returned
// presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays
// pending for one hour fails. This RPC is not idempotent: a retry starts a
// second run.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
// SimulationServiceCreateSimulationRunWithResponse CreateSimulationRun
//
// Creates a simulation run. With a `scenarioGroup`, the run starts
// immediately and the response has no upload target. Without a
// `scenarioGroup`, the run waits in `PENDING_UPLOAD` for the agent source
// that the API generates scenarios from. Upload the source to the returned
// presigned POST, then call `ConfirmSimulationSourceUpload`. A run that stays
// pending for one hour fails. This RPC is not idempotent: a retry starts a
// second run.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)
// SimulationServiceGetSimulationRunWithResponse GetSimulationRun
//
// Returns one run with its jobs and aggregate metrics. The response does not
// include the compressed summary (`summaryZstd`). To get the summary, call
// `GetSimulationRunSummary`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunResponse, error)
// SimulationServiceGetSimulationRunSummaryWithResponse GetSimulationRunSummary
//
// Returns the graded outcome of a finished run: the pass and fail counts,
// what went well, what to improve, the flagged issues with suggestions, and
// the chat history of each job. Returns `FailedPrecondition` while the run
// is in progress. Returns `NotFound` when the run finished without a
// summary.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).
SimulationServiceGetSimulationRunSummaryWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunSummaryResponse, error)
// SimulationServiceCancelSimulationRunWithResponse CancelSimulationRun
//
// Stops a run that has not finished. When the run is already finished, the
// call succeeds and has no effect.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceCancelSimulationRunResponse, error)
// SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse ConfirmSimulationSourceUpload
//
// Confirms that the agent source is uploaded and starts scenario
// generation. The run goes to `GENERATING`, then to `RUNNING` when the
// scenarios exist. The call is valid only while the run is
// `PENDING_UPLOAD`, so a repeated call fails.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
// SimulationServiceConfirmSimulationSourceUploadWithResponse ConfirmSimulationSourceUpload
//
// Confirms that the agent source is uploaded and starts scenario
// generation. The run goes to `GENERATING`, then to `RUNNING` when the
// scenarios exist. The call is valid only while the run is
// `PENDING_UPLOAD`, so a repeated call fails.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
SimulationServiceConfirmSimulationSourceUploadWithResponse(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
// SimulationServiceCountSimulationRunsWithResponse CountSimulationRuns
//
// Returns a histogram of the runs in the window [`startTime`, `endTime`). It
// takes the same filters as `ListSimulationRuns`, so the histogram and the
// list describe the same set of runs. Both bounds are required, and
// `endTime` must be after `startTime`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).
SimulationServiceCountSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceCountSimulationRunsResponse, error)
// TelephonyServiceListDispatchRulesWithResponse ListDispatchRules
//
// Lists the dispatch rules of the project, in ID order. The list is always
// one page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceListDispatchRules` operationId).
TelephonyServiceListDispatchRulesWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListDispatchRulesParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListDispatchRulesResponse, error)
// TelephonyServiceCreateDispatchRuleWithBodyWithResponse CreateDispatchRule
//
// Creates a dispatch rule. A rule applies to the trunks and the phone
// numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To
// send the calls to a phone number to a rule, add the ID of the number
// (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with
// another rule of the project fails with `InvalidArgument`, and the message
// names the other rule.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
TelephonyServiceCreateDispatchRuleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateDispatchRuleResponse, error)
// TelephonyServiceCreateDispatchRuleWithResponse CreateDispatchRule
//
// Creates a dispatch rule. A rule applies to the trunks and the phone
// numbers in its `trunkIds`, or to all of them when `trunkIds` is empty. To
// send the calls to a phone number to a rule, add the ID of the number
// (`PN_...`) to `trunkIds`. To stop, remove it. A rule that conflicts with
// another rule of the project fails with `InvalidArgument`, and the message
// names the other rule.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/dispatch-rules (the `TelephonyServiceCreateDispatchRule` operationId).
TelephonyServiceCreateDispatchRuleWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateDispatchRuleResponse, error)
// TelephonyServiceDeleteDispatchRuleWithResponse DeleteDispatchRule
//
// Deletes a dispatch rule.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceDeleteDispatchRule` operationId).
TelephonyServiceDeleteDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*TelephonyServiceDeleteDispatchRuleResponse, error)
// TelephonyServiceGetDispatchRuleWithResponse GetDispatchRule
//
// Returns a dispatch rule of the project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceGetDispatchRule` operationId).
TelephonyServiceGetDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetDispatchRuleResponse, error)
// TelephonyServiceUpdateDispatchRuleWithBodyWithResponse UpdateDispatchRule
//
// Replaces a dispatch rule, or changes some of its fields.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
TelephonyServiceUpdateDispatchRuleWithBodyWithResponse(ctx context.Context, projectId string, dispatchRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateDispatchRuleResponse, error)
// TelephonyServiceUpdateDispatchRuleWithResponse UpdateDispatchRule
//
// Replaces a dispatch rule, or changes some of its fields.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/dispatch-rules/{dispatchRuleId} (the `TelephonyServiceUpdateDispatchRule` operationId).
TelephonyServiceUpdateDispatchRuleWithResponse(ctx context.Context, projectId string, dispatchRuleId string, body TelephonyServiceUpdateDispatchRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateDispatchRuleResponse, error)
// TelephonyServiceListInboundTrunksWithResponse ListInboundTrunks
//
// Lists the inbound trunks of the project, in ID order. The list is always
// one page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceListInboundTrunks` operationId).
TelephonyServiceListInboundTrunksWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListInboundTrunksParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListInboundTrunksResponse, error)
// TelephonyServiceCreateInboundTrunkWithBodyWithResponse CreateInboundTrunk
//
// Creates an inbound trunk. A trunk that conflicts with another trunk of
// the project, such as one that accepts the same number from the same
// callers, fails with `InvalidArgument`, and the message names the other
// trunk.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
TelephonyServiceCreateInboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateInboundTrunkResponse, error)
// TelephonyServiceCreateInboundTrunkWithResponse CreateInboundTrunk
//
// Creates an inbound trunk. A trunk that conflicts with another trunk of
// the project, such as one that accepts the same number from the same
// callers, fails with `InvalidArgument`, and the message names the other
// trunk.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/inbound-trunks (the `TelephonyServiceCreateInboundTrunk` operationId).
TelephonyServiceCreateInboundTrunkWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateInboundTrunkResponse, error)
// TelephonyServiceDeleteInboundTrunkWithResponse DeleteInboundTrunk
//
// Deletes an inbound trunk.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceDeleteInboundTrunk` operationId).
TelephonyServiceDeleteInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceDeleteInboundTrunkResponse, error)
// TelephonyServiceGetInboundTrunkWithResponse GetInboundTrunk
//
// Returns an inbound trunk of the project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceGetInboundTrunk` operationId).
TelephonyServiceGetInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetInboundTrunkResponse, error)
// TelephonyServiceUpdateInboundTrunkWithBodyWithResponse UpdateInboundTrunk
//
// Replaces an inbound trunk, or changes some of its fields.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
TelephonyServiceUpdateInboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateInboundTrunkResponse, error)
// TelephonyServiceUpdateInboundTrunkWithResponse UpdateInboundTrunk
//
// Replaces an inbound trunk, or changes some of its fields.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/inbound-trunks/{trunkId} (the `TelephonyServiceUpdateInboundTrunk` operationId).
TelephonyServiceUpdateInboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateInboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateInboundTrunkResponse, error)
// TelephonyServiceListOutboundTrunksWithResponse ListOutboundTrunks
//
// Lists the outbound trunks of the project, in ID order. The list is always
// one page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceListOutboundTrunks` operationId).
TelephonyServiceListOutboundTrunksWithResponse(ctx context.Context, projectId string, params *TelephonyServiceListOutboundTrunksParams, reqEditors ...RequestEditorFn) (*TelephonyServiceListOutboundTrunksResponse, error)
// TelephonyServiceCreateOutboundTrunkWithBodyWithResponse CreateOutboundTrunk
//
// Creates an outbound trunk, which `CreateSIPParticipant` places calls
// through.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
TelephonyServiceCreateOutboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateOutboundTrunkResponse, error)
// TelephonyServiceCreateOutboundTrunkWithResponse CreateOutboundTrunk
//
// Creates an outbound trunk, which `CreateSIPParticipant` places calls
// through.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/outbound-trunks (the `TelephonyServiceCreateOutboundTrunk` operationId).
TelephonyServiceCreateOutboundTrunkWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateOutboundTrunkResponse, error)
// TelephonyServiceDeleteOutboundTrunkWithResponse DeleteOutboundTrunk
//
// Deletes an outbound trunk.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceDeleteOutboundTrunk` operationId).
TelephonyServiceDeleteOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceDeleteOutboundTrunkResponse, error)
// TelephonyServiceGetOutboundTrunkWithResponse GetOutboundTrunk
//
// Returns an outbound trunk of the project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceGetOutboundTrunk` operationId).
TelephonyServiceGetOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, reqEditors ...RequestEditorFn) (*TelephonyServiceGetOutboundTrunkResponse, error)
// TelephonyServiceUpdateOutboundTrunkWithBodyWithResponse UpdateOutboundTrunk
//
// Replaces an outbound trunk, or changes some of its fields.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
TelephonyServiceUpdateOutboundTrunkWithBodyWithResponse(ctx context.Context, projectId string, trunkId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
// TelephonyServiceUpdateOutboundTrunkWithResponse UpdateOutboundTrunk
//
// Replaces an outbound trunk, or changes some of its fields.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/sip/outbound-trunks/{trunkId} (the `TelephonyServiceUpdateOutboundTrunk` operationId).
TelephonyServiceUpdateOutboundTrunkWithResponse(ctx context.Context, projectId string, trunkId string, body TelephonyServiceUpdateOutboundTrunkJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
// TelephonyServiceCreateSIPParticipantWithBodyWithResponse CreateSIPParticipant
//
// Calls a phone number or a SIP URI through an outbound trunk, and adds
// the call to a room as a SIP participant. With `waitUntilAnswered`, the
// call returns when the far end answers, up to `ringingTimeout`, which can
// then be at most 75 seconds. When the
// far end refuses the call, such as with 486 Busy Here, the call fails with
// `FailedPrecondition`, and the error has its SIP status as a
// `livekit.SIPStatus` detail.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
TelephonyServiceCreateSIPParticipantWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateSIPParticipantResponse, error)
// TelephonyServiceCreateSIPParticipantWithResponse CreateSIPParticipant
//
// Calls a phone number or a SIP URI through an outbound trunk, and adds
// the call to a room as a SIP participant. With `waitUntilAnswered`, the
// call returns when the far end answers, up to `ringingTimeout`, which can
// then be at most 75 seconds. When the
// far end refuses the call, such as with 486 Busy Here, the call fails with
// `FailedPrecondition`, and the error has its SIP status as a
// `livekit.SIPStatus` detail.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants (the `TelephonyServiceCreateSIPParticipant` operationId).
TelephonyServiceCreateSIPParticipantWithResponse(ctx context.Context, projectId string, body TelephonyServiceCreateSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceCreateSIPParticipantResponse, error)
// TelephonyServiceTransferSIPParticipantWithBodyWithResponse TransferSIPParticipant
//
// Transfers the call of a SIP participant to another phone number or SIP
// URI, and returns when the transfer ends. Its `ringingTimeout` can be at
// most 75 seconds. A transfer that fails, such as
// one that nobody answers, fails with `FailedPrecondition`, and the error
// has a `livekit.SIPTransferError` detail with the reason.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
TelephonyServiceTransferSIPParticipantWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TelephonyServiceTransferSIPParticipantResponse, error)
// TelephonyServiceTransferSIPParticipantWithResponse TransferSIPParticipant
//
// Transfers the call of a SIP participant to another phone number or SIP
// URI, and returns when the transfer ends. Its `ringingTimeout` can be at
// most 75 seconds. A transfer that fails, such as
// one that nobody answers, fails with `FailedPrecondition`, and the error
// has a `livekit.SIPTransferError` detail with the reason.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/sip/participants:transfer (the `TelephonyServiceTransferSIPParticipant` operationId).
TelephonyServiceTransferSIPParticipantWithResponse(ctx context.Context, projectId string, body TelephonyServiceTransferSIPParticipantJSONRequestBody, reqEditors ...RequestEditorFn) (*TelephonyServiceTransferSIPParticipantResponse, error)
// ProjectServiceCreateTokenWithBodyWithResponse CreateToken
//
// Creates a short-lived LiveKit access token for the project. The API signs
// the token, so a signed-in user can call the LiveKit server APIs, such as
// rooms, SIP, and egress, or join a room without an API secret.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
ProjectServiceCreateTokenWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)
// ProjectServiceCreateTokenWithResponse CreateToken
//
// Creates a short-lived LiveKit access token for the project. The API signs
// the token, so a signed-in user can call the LiveKit server APIs, such as
// rooms, SIP, and egress, or join a room without an API secret.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
ProjectServiceCreateTokenWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)
// ProjectServiceListWebhookEventsWithResponse ListWebhookEvents
//
// Lists the event names that the webhooks of a project can receive. The list
// is always one page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).
ProjectServiceListWebhookEventsWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhookEventsResponse, error)
// ProjectServiceListWebhooksWithResponse ListWebhooks
//
// Lists the webhook destinations for the project, in the order that they
// were added. The list is always one page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).
ProjectServiceListWebhooksWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhooksResponse, error)
// ProjectServiceCreateWebhookWithBodyWithResponse CreateWebhook
//
// Creates a webhook destination for a project. It delivers LiveKit Cloud
// events only, such as room, participant, track, egress, ingress and agent
// job events; it doesn't receive or forward events from other services, such
// as SMS. A `url` that is not an absolute
// HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event
// in `filterParams` that `ListWebhookEvents` does not return, or a
// `signingKey` that is not an API key of the project, also returns
// `InvalidArgument`. When `signingKey` is empty and the project has no API key,
// the request fails with `FailedPrecondition`. The call is not idempotent: a
// retry creates a second webhook.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
ProjectServiceCreateWebhookWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)
// ProjectServiceCreateWebhookWithResponse CreateWebhook
//
// Creates a webhook destination for a project. It delivers LiveKit Cloud
// events only, such as room, participant, track, egress, ingress and agent
// job events; it doesn't receive or forward events from other services, such
// as SMS. A `url` that is not an absolute
// HTTP or HTTPS URL with a public address returns `InvalidArgument`. An event
// in `filterParams` that `ListWebhookEvents` does not return, or a
// `signingKey` that is not an API key of the project, also returns
// `InvalidArgument`. When `signingKey` is empty and the project has no API key,
// the request fails with `FailedPrecondition`. The call is not idempotent: a
// retry creates a second webhook.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
ProjectServiceCreateWebhookWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)
// ProjectServiceDeleteWebhookWithResponse DeleteWebhook
//
// Deletes a webhook destination from a project. The project stops sending
// events to its URL. A webhook that does not exist returns `NotFound`, so a
// retry returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).
ProjectServiceDeleteWebhookWithResponse(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteWebhookResponse, error)
// ProjectServiceUpdateWebhookWithBodyWithResponse UpdateWebhook
//
// Updates a webhook destination of a project, and returns the updated webhook.
// A field that you do not set keeps its value. A set `filterParams` replaces
// the whole filter. The checks of `CreateWebhook` apply to the new values, and
// a failed check returns `InvalidArgument`. A webhook that does not exist
// returns `NotFound`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
ProjectServiceUpdateWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)
// ProjectServiceUpdateWebhookWithResponse UpdateWebhook
//
// Updates a webhook destination of a project, and returns the updated webhook.
// A field that you do not set keeps its value. A set `filterParams` replaces
// the whole filter. The checks of `CreateWebhook` apply to the new values, and
// a failed check returns `InvalidArgument`. A webhook that does not exist
// returns `NotFound`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
ProjectServiceUpdateWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)
// ProjectServiceSendTestWebhookWithBodyWithResponse SendTestWebhook
//
// Sends one sample event to a webhook destination, and returns the answer of
// the receiver. The API sends only to this webhook, ignores the webhook filter,
// and signs the request as it signs real deliveries. When the signing key of
// the webhook is not an API key of the project, the API signs with the oldest
// API key. The API makes one attempt and waits up to 10 seconds. A failed
// delivery shows in the response, not as an error. An `event` that
// `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that
// does not exist returns `NotFound`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
ProjectServiceSendTestWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)
// ProjectServiceSendTestWebhookWithResponse SendTestWebhook
//
// Sends one sample event to a webhook destination, and returns the answer of
// the receiver. The API sends only to this webhook, ignores the webhook filter,
// and signs the request as it signs real deliveries. When the signing key of
// the webhook is not an API key of the project, the API signs with the oldest
// API key. The API makes one attempt and waits up to 10 seconds. A failed
// delivery shows in the response, not as an error. An `event` that
// `ListWebhookEvents` does not return gets `InvalidArgument`. A webhook that
// does not exist returns `NotFound`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
ProjectServiceSendTestWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)
// UserServiceListUsersWithResponse ListUsers
//
// Lists the members of a project or a workspace, ordered by user ID. The list
// does not include pending invitees. Set `projectId`, `workspaceId`, or both.
// When you set neither, the request fails with `InvalidArgument`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).
UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*UserServiceListUsersResponse, error)
// UserServiceGetCurrentUserWithResponse GetCurrentUser
//
// Returns the user that you are signed in as.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).
UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)
// UserServiceRevokeSessionTokenWithResponse RevokeSessionToken
//
// Revokes the session token that you call with, and signs you out. After
// this call, the token gets `Unauthenticated` on every call, a retry of this
// call included. Your other session tokens stay valid. Access tokens that
// `CreateToken` returned stay valid until they expire.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/users/me/session-token (the `UserServiceRevokeSessionToken` operationId).
UserServiceRevokeSessionTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceRevokeSessionTokenResponse, error)
// UserServiceGetUserWithResponse GetUser
//
// Returns a user by ID. You can get yourself, or a user who is a member of a
// workspace or a project that you are a member of. Any other user returns
// `NotFound`, the same as a user who does not exist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).
UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)
// WorkspaceServiceGetInviteWithResponse GetInvite
//
// Returns a workspace invite that was sent to you, found by its token. Use it
// to show the invite before you answer it with `AnswerInvite`. An invite that
// was sent to a different email address returns `PermissionDenied`. An expired
// invite returns `FailedPrecondition`. An unknown token returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)
// WorkspaceServiceAnswerInviteWithBodyWithResponse AnswerInvite
//
// Accepts or declines a workspace invite that was sent to you. When you accept,
// you become a member of the workspace and of every project in it where
// `isPrivate` is `false`, with the role of the invite. If you are already a
// member, the role of the invite replaces your role. The API also deletes your
// pending invites to those projects. When you decline, the API deletes the
// invite. After you answer, the token stops working, so a retry returns
// `NotFound`. An invite that was sent to a different email address returns
// `PermissionDenied`. An expired invite returns `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
// WorkspaceServiceAnswerInviteWithResponse AnswerInvite
//
// Accepts or declines a workspace invite that was sent to you. When you accept,
// you become a member of the workspace and of every project in it where
// `isPrivate` is `false`, with the role of the invite. If you are already a
// member, the role of the invite replaces your role. The API also deletes your
// pending invites to those projects. When you decline, the API deletes the
// invite. After you answer, the token stops working, so a retry returns
// `NotFound`. An invite that was sent to a different email address returns
// `PermissionDenied`. An expired invite returns `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)
// WorkspaceServiceListWorkspacesWithResponse ListWorkspaces
//
// Lists the workspaces that you are a member of, ordered by workspace ID. A
// pending invite does not make you a member.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListWorkspacesResponse, error)
// WorkspaceServiceCreateWorkspaceWithBodyWithResponse CreateWorkspace
//
// Creates a workspace. You become its only member, with the admin role (`3`).
// The workspace has no projects: to add one, call `CreateProject`. An empty
// `name` returns `InvalidArgument`. The call is not idempotent: a retry
// creates a second workspace.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
// WorkspaceServiceCreateWorkspaceWithResponse CreateWorkspace
//
// Creates a workspace. You become its only member, with the admin role (`3`).
// The workspace has no projects: to add one, call `CreateProject`. An empty
// `name` returns `InvalidArgument`. The call is not idempotent: a retry
// creates a second workspace.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)
// WorkspaceServiceDeleteWorkspaceWithResponse DeleteWorkspace
//
// Deletes a workspace, with its members and its pending invites. A workspace
// that has projects returns `FailedPrecondition`: delete its projects first.
// You cannot undo the delete. A retry returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)
// WorkspaceServiceGetWorkspaceWithResponse GetWorkspace
//
// Returns a workspace. A workspace that you are not a member of returns
// `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)
// WorkspaceServiceUpdateWorkspaceWithBodyWithResponse UpdateWorkspace
//
// Changes the name or the MCP policy of a workspace, and returns the updated
// workspace. A field that is unset does not change.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
// WorkspaceServiceUpdateWorkspaceWithResponse UpdateWorkspace
//
// Changes the name or the MCP policy of a workspace, and returns the updated
// workspace. A field that is unset does not change.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)
// WorkspaceServiceListInvitesWithResponse ListInvites
//
// Lists the unexpired invites of a workspace, ordered by email.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)
// WorkspaceServiceCreateInviteWithBodyWithResponse CreateInvite
//
// Invites a person to a workspace by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an unexpired invite for the email exists, the
// API sends that invite again: its token, role, and expiry do not change. On
// a plan that allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
// WorkspaceServiceCreateInviteWithResponse CreateInvite
//
// Invites a person to a workspace by email, with a role. The API sends an email
// with the invite link, and the response has the invite token. The invite
// expires after 48 hours. When an unexpired invite for the email exists, the
// API sends that invite again: its token, role, and expiry do not change. On
// a plan that allows only the admin role (`3`), the roles `1` and `2` return
// `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)
// WorkspaceServiceDeleteInviteWithResponse DeleteInvite
//
// Deletes a pending workspace invite, so that its link stops working. When no
// invite exists for the email, the call succeeds and changes nothing.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteInviteResponse, error)
// WorkspaceServiceListMembersWithResponse ListMembers
//
// Lists the workspace members, ordered by user ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)
// WorkspaceServiceDeleteMemberWithResponse DeleteMember
//
// Removes a user from a workspace and from every project in it, and deletes
// the API keys that the user owns in those projects. Agent keys stay. Send
// `confirmedNumKeys` to confirm the number of keys to delete. A removal that
// deletes the last API key of a project returns `FailedPrecondition` and
// changes nothing. A user who is not a member returns `NotFound`. The response
// has the number of keys that the removal deleted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteMemberResponse, error)
// WorkspaceServiceGetMemberWithResponse GetMember
//
// Returns the membership of one user on a workspace, with the role of the
// user. A user who is not a member of the workspace returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetMemberResponse, error)
// WorkspaceServiceUpdateMemberWithBodyWithResponse UpdateMember
//
// Changes the workspace role of a member. The API also changes the role of the
// user on every project in the workspace where `isPrivate` is `false`. The
// projects where `isPrivate` is `true` keep their roles. A user who is not a
// member returns `NotFound`. On a plan that allows only the admin role (`3`),
// the roles `1` and `2` return `FailedPrecondition`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
// WorkspaceServiceUpdateMemberWithResponse UpdateMember
//
// Changes the workspace role of a member. The API also changes the role of the
// user on every project in the workspace where `isPrivate` is `false`. The
// projects where `isPrivate` is `true` keep their roles. A user who is not a
// member returns `NotFound`. On a plan that allows only the admin role (`3`),
// the roles `1` and `2` return `FailedPrecondition`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)
// WorkspaceServiceListProjectsWithResponse ListProjects
//
// Lists the projects in a workspace. The items are the same `Project`
// message that `ProjectService` returns.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListProjectsResponse, error)
// WorkspaceServiceCreateProjectWithBodyWithResponse CreateProject
//
// Creates a project in a workspace. Send the project as the request body. The
// rules and errors of `ProjectService.CreateProject` apply. You become a
// member of the project with the admin role (`3`), and the API creates an API
// key that you own. When `isPrivate` is `false`, every member of the
// workspace becomes a member of the project, with their workspace role. The
// call is not idempotent: when `subdomain` is empty, a retry creates a second
// project.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
// WorkspaceServiceCreateProjectWithResponse CreateProject
//
// Creates a project in a workspace. Send the project as the request body. The
// rules and errors of `ProjectService.CreateProject` apply. You become a
// member of the project with the admin role (`3`), and the API creates an API
// key that you own. When `isPrivate` is `false`, every member of the
// workspace becomes a member of the project, with their workspace role. The
// call is not idempotent: when `subdomain` is empty, a retry creates a second
// project.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)
// WorkspaceServiceDeleteProjectWithResponse DeleteProject
//
// Deletes a project in a workspace, with its API keys, its webhooks, and its
// member list. You cannot undo the delete. A project that is not in the
// workspace returns `NotFound`, and a retry returns `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteProjectResponse, error)
// WorkspaceServiceGetProjectWithResponse GetProject
//
// Returns a project in a workspace, with its settings and its webhooks. A
// project that is not in the workspace, or that you cannot see, returns
// `NotFound`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetProjectResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloudProtocolPIIRedactionCategory ¶
type CloudProtocolPIIRedactionCategory string
CloudProtocolPIIRedactionCategory The types of personally identifiable information (PII) a project can redact.
Choose the categories with `piiRedactionCategories` on a project. When that list is empty and `enablePiiRedaction` is true, the project redacts a default set. Each name maps to the identifier the redaction model emits: strip the `PII_REDACTION_CATEGORY_` prefix and lowercase the rest.
const ( PIIREDACTIONCATEGORYACCOUNTNUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ACCOUNT_NUMBER" PIIREDACTIONCATEGORYAGE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_AGE" PIIREDACTIONCATEGORYBANKACCOUNT CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_BANK_ACCOUNT" PIIREDACTIONCATEGORYCREDITCARD CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CREDIT_CARD" PIIREDACTIONCATEGORYCREDITCARDEXPIRATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CREDIT_CARD_EXPIRATION" PIIREDACTIONCATEGORYCVV CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CVV" PIIREDACTIONCATEGORYDATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DATE" PIIREDACTIONCATEGORYDOB CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DOB" PIIREDACTIONCATEGORYDRIVERLICENSE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DRIVER_LICENSE" PIIREDACTIONCATEGORYEDUCATIONLEVEL CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_EDUCATION_LEVEL" PIIREDACTIONCATEGORYEMAILADDRESS CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_EMAIL_ADDRESS" PIIREDACTIONCATEGORYGOVERNMENTID CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_GOVERNMENT_ID" PIIREDACTIONCATEGORYHEALTHCARENUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_HEALTHCARE_NUMBER" PIIREDACTIONCATEGORYIPADDRESS CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_IP_ADDRESS" PIIREDACTIONCATEGORYLANGUAGE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LANGUAGE" PIIREDACTIONCATEGORYLICENSEPLATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LICENSE_PLATE" PIIREDACTIONCATEGORYLOCATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION" PIIREDACTIONCATEGORYLOCATIONADDRESS CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_ADDRESS" PIIREDACTIONCATEGORYLOCATIONCITY CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_CITY" PIIREDACTIONCATEGORYLOCATIONCOORDINATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_COORDINATE" PIIREDACTIONCATEGORYLOCATIONCOUNTRY CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_COUNTRY" PIIREDACTIONCATEGORYLOCATIONSTATE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_STATE" PIIREDACTIONCATEGORYLOCATIONZIP CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_ZIP" PIIREDACTIONCATEGORYNAME CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME" PIIREDACTIONCATEGORYNAMEFAMILY CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME_FAMILY" PIIREDACTIONCATEGORYNAMEGIVEN CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME_GIVEN" PIIREDACTIONCATEGORYNUMERICALPII CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NUMERICAL_PII" PIIREDACTIONCATEGORYOCCUPATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_OCCUPATION" PIIREDACTIONCATEGORYORGANIZATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ORGANIZATION" PIIREDACTIONCATEGORYORIGIN CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ORIGIN" PIIREDACTIONCATEGORYPASSPORTNUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PASSPORT_NUMBER" PIIREDACTIONCATEGORYPASSWORD CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PASSWORD" PIIREDACTIONCATEGORYPHONENUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PHONE_NUMBER" PIIREDACTIONCATEGORYPOLITICALAFFILIATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_POLITICAL_AFFILIATION" PIIREDACTIONCATEGORYRELIGION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_RELIGION" PIIREDACTIONCATEGORYROUTINGNUMBER CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ROUTING_NUMBER" PIIREDACTIONCATEGORYSSN CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_SSN" PIIREDACTIONCATEGORYSWIFTCODE CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_SWIFT_CODE" PIIREDACTIONCATEGORYUNSPECIFIED CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_UNSPECIFIED" PIIREDACTIONCATEGORYURL CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_URL" PIIREDACTIONCATEGORYUSERNAME CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_USERNAME" PIIREDACTIONCATEGORYVEHICLEID CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_VEHICLE_ID" )
Defines values for CloudProtocolPIIRedactionCategory.
func (CloudProtocolPIIRedactionCategory) Valid ¶
func (e CloudProtocolPIIRedactionCategory) Valid() bool
Valid indicates whether the value is a known member of the CloudProtocolPIIRedactionCategory enum.
type EvalServiceCreateEvalJSONBody ¶ added in v2.20.2
type EvalServiceCreateEvalJSONBody struct {
// Definition The first draft of the definition.
Definition *LivekitPublicapiEvalsV1EvalDefinition `json:"definition,omitempty"`
// Description The description of the eval.
Description *string `json:"description,omitempty"`
// Name The name of the eval. It must be unique among the evals of the project.
Name *string `json:"name,omitempty"`
}
EvalServiceCreateEvalJSONBody defines parameters for EvalServiceCreateEval.
type EvalServiceCreateEvalJSONRequestBody ¶ added in v2.20.2
type EvalServiceCreateEvalJSONRequestBody EvalServiceCreateEvalJSONBody
EvalServiceCreateEvalJSONRequestBody defines body for EvalServiceCreateEval for application/json ContentType.
type EvalServiceCreateEvalResponse ¶ added in v2.20.2
type EvalServiceCreateEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceCreateEvalResponse ¶ added in v2.20.2
func ParseEvalServiceCreateEvalResponse(rsp *http.Response) (*EvalServiceCreateEvalResponse, error)
ParseEvalServiceCreateEvalResponse parses an HTTP response from a EvalServiceCreateEvalWithResponse call
func (EvalServiceCreateEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceCreateEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceCreateEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceCreateEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceCreateEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceCreateEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceCreateEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceCreateEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceCreateEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceCreateEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceCreateEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceCreateEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceCreateSessionLabelJSONBody ¶ added in v2.20.2
type EvalServiceCreateSessionLabelJSONBody struct {
// Agents The names of the agents that the label applies to. When empty, the
// label applies to every agent of the project.
Agents *[]string `json:"agents,omitempty"`
// Description What the label means, 1 to 500 characters. The LLM that assigns labels
// reads it, so say which sessions get the label. Required.
Description *string `json:"description,omitempty"`
// Kind The kind of the label. Required. It does not change later.
Kind *LivekitPublicapiEvalsV1SessionLabelKind `json:"kind,omitempty"`
// Name The name of the label, 1 to 64 characters. It must be unique among the
// active labels of the same kind. `other` and `none_of_these` are
// reserved.
Name *string `json:"name,omitempty"`
// Rating For an outcome only: whether it is a good, neutral or bad way for a
// session to end. Defaults to `SESSION_LABEL_RATING_NEUTRAL`. Leave it
// unset for an intent.
Rating *LivekitPublicapiEvalsV1SessionLabelRating `json:"rating,omitempty"`
}
EvalServiceCreateSessionLabelJSONBody defines parameters for EvalServiceCreateSessionLabel.
type EvalServiceCreateSessionLabelJSONRequestBody ¶ added in v2.20.2
type EvalServiceCreateSessionLabelJSONRequestBody EvalServiceCreateSessionLabelJSONBody
EvalServiceCreateSessionLabelJSONRequestBody defines body for EvalServiceCreateSessionLabel for application/json ContentType.
type EvalServiceCreateSessionLabelResponse ¶ added in v2.20.2
type EvalServiceCreateSessionLabelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelsCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceCreateSessionLabelResponse ¶ added in v2.20.2
func ParseEvalServiceCreateSessionLabelResponse(rsp *http.Response) (*EvalServiceCreateSessionLabelResponse, error)
ParseEvalServiceCreateSessionLabelResponse parses an HTTP response from a EvalServiceCreateSessionLabelWithResponse call
func (EvalServiceCreateSessionLabelResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceCreateSessionLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceCreateSessionLabelResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceCreateSessionLabelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceCreateSessionLabelResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceCreateSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceCreateSessionLabelResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceCreateSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceCreateSessionLabelResponse) Status ¶ added in v2.20.2
func (r EvalServiceCreateSessionLabelResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceCreateSessionLabelResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceCreateSessionLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceDeleteEvalResponse ¶ added in v2.20.2
type EvalServiceDeleteEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsDeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceDeleteEvalResponse ¶ added in v2.20.2
func ParseEvalServiceDeleteEvalResponse(rsp *http.Response) (*EvalServiceDeleteEvalResponse, error)
ParseEvalServiceDeleteEvalResponse parses an HTTP response from a EvalServiceDeleteEvalWithResponse call
func (EvalServiceDeleteEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceDeleteEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceDeleteEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceDeleteEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceDeleteEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceDeleteEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsDeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceDeleteEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceDeleteEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceDeleteEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceDeleteEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceDeleteEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceDeleteEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceDeleteSessionLabelResponse ¶ added in v2.20.2
type EvalServiceDeleteSessionLabelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelsDeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceDeleteSessionLabelResponse ¶ added in v2.20.2
func ParseEvalServiceDeleteSessionLabelResponse(rsp *http.Response) (*EvalServiceDeleteSessionLabelResponse, error)
ParseEvalServiceDeleteSessionLabelResponse parses an HTTP response from a EvalServiceDeleteSessionLabelWithResponse call
func (EvalServiceDeleteSessionLabelResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceDeleteSessionLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceDeleteSessionLabelResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceDeleteSessionLabelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceDeleteSessionLabelResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceDeleteSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsDeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceDeleteSessionLabelResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceDeleteSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceDeleteSessionLabelResponse) Status ¶ added in v2.20.2
func (r EvalServiceDeleteSessionLabelResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceDeleteSessionLabelResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceDeleteSessionLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceDiffEvalRevisionsParams ¶ added in v2.20.2
type EvalServiceDiffEvalRevisionsParams struct {
// FromRevision A revision number.
FromRevision *int `form:"from.revision,omitempty" json:"from.revision,omitempty"`
// FromDraft When true, the draft.
FromDraft *bool `form:"from.draft,omitempty" json:"from.draft,omitempty"`
// ToRevision A revision number.
ToRevision *int `form:"to.revision,omitempty" json:"to.revision,omitempty"`
// ToDraft When true, the draft.
ToDraft *bool `form:"to.draft,omitempty" json:"to.draft,omitempty"`
}
EvalServiceDiffEvalRevisionsParams defines parameters for EvalServiceDiffEvalRevisions.
type EvalServiceDiffEvalRevisionsResponse ¶ added in v2.20.2
type EvalServiceDiffEvalRevisionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalRevisionsDiffResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceDiffEvalRevisionsResponse ¶ added in v2.20.2
func ParseEvalServiceDiffEvalRevisionsResponse(rsp *http.Response) (*EvalServiceDiffEvalRevisionsResponse, error)
ParseEvalServiceDiffEvalRevisionsResponse parses an HTTP response from a EvalServiceDiffEvalRevisionsWithResponse call
func (EvalServiceDiffEvalRevisionsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceDiffEvalRevisionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceDiffEvalRevisionsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceDiffEvalRevisionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceDiffEvalRevisionsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceDiffEvalRevisionsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalRevisionsDiffResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceDiffEvalRevisionsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceDiffEvalRevisionsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceDiffEvalRevisionsResponse) Status ¶ added in v2.20.2
func (r EvalServiceDiffEvalRevisionsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceDiffEvalRevisionsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceDiffEvalRevisionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceDiscardEvalDraftParams ¶ added in v2.20.2
type EvalServiceDiscardEvalDraftParams struct {
// DraftEtag The `draftEtag` of the draft that you last read.
DraftEtag *string `form:"draftEtag,omitempty" json:"draftEtag,omitempty"`
}
EvalServiceDiscardEvalDraftParams defines parameters for EvalServiceDiscardEvalDraft.
type EvalServiceDiscardEvalDraftResponse ¶ added in v2.20.2
type EvalServiceDiscardEvalDraftResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalDraftsDiscardResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceDiscardEvalDraftResponse ¶ added in v2.20.2
func ParseEvalServiceDiscardEvalDraftResponse(rsp *http.Response) (*EvalServiceDiscardEvalDraftResponse, error)
ParseEvalServiceDiscardEvalDraftResponse parses an HTTP response from a EvalServiceDiscardEvalDraftWithResponse call
func (EvalServiceDiscardEvalDraftResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceDiscardEvalDraftResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceDiscardEvalDraftResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceDiscardEvalDraftResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceDiscardEvalDraftResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceDiscardEvalDraftResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDraftsDiscardResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceDiscardEvalDraftResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceDiscardEvalDraftResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceDiscardEvalDraftResponse) Status ¶ added in v2.20.2
func (r EvalServiceDiscardEvalDraftResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceDiscardEvalDraftResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceDiscardEvalDraftResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceGetEvalDefaultsResponse ¶ added in v2.20.2
type EvalServiceGetEvalDefaultsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalDefaultsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceGetEvalDefaultsResponse ¶ added in v2.20.2
func ParseEvalServiceGetEvalDefaultsResponse(rsp *http.Response) (*EvalServiceGetEvalDefaultsResponse, error)
ParseEvalServiceGetEvalDefaultsResponse parses an HTTP response from a EvalServiceGetEvalDefaultsWithResponse call
func (EvalServiceGetEvalDefaultsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceGetEvalDefaultsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceGetEvalDefaultsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceGetEvalDefaultsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceGetEvalDefaultsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceGetEvalDefaultsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDefaultsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceGetEvalDefaultsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceGetEvalDefaultsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceGetEvalDefaultsResponse) Status ¶ added in v2.20.2
func (r EvalServiceGetEvalDefaultsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceGetEvalDefaultsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceGetEvalDefaultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceGetEvalParams ¶ added in v2.20.2
type EvalServiceGetEvalParams struct {
// VersionRevision A revision number.
VersionRevision *int `form:"version.revision,omitempty" json:"version.revision,omitempty"`
// VersionDraft When true, the draft.
VersionDraft *bool `form:"version.draft,omitempty" json:"version.draft,omitempty"`
}
EvalServiceGetEvalParams defines parameters for EvalServiceGetEval.
type EvalServiceGetEvalResponse ¶ added in v2.20.2
type EvalServiceGetEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceGetEvalResponse ¶ added in v2.20.2
func ParseEvalServiceGetEvalResponse(rsp *http.Response) (*EvalServiceGetEvalResponse, error)
ParseEvalServiceGetEvalResponse parses an HTTP response from a EvalServiceGetEvalWithResponse call
func (EvalServiceGetEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceGetEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceGetEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceGetEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceGetEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceGetEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceGetEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceGetEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceGetEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceGetEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceGetEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceGetEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceGetSessionLabelSettingsResponse ¶ added in v2.20.2
type EvalServiceGetSessionLabelSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceGetSessionLabelSettingsResponse ¶ added in v2.20.2
func ParseEvalServiceGetSessionLabelSettingsResponse(rsp *http.Response) (*EvalServiceGetSessionLabelSettingsResponse, error)
ParseEvalServiceGetSessionLabelSettingsResponse parses an HTTP response from a EvalServiceGetSessionLabelSettingsWithResponse call
func (EvalServiceGetSessionLabelSettingsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceGetSessionLabelSettingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceGetSessionLabelSettingsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceGetSessionLabelSettingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceGetSessionLabelSettingsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceGetSessionLabelSettingsResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceGetSessionLabelSettingsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceGetSessionLabelSettingsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceGetSessionLabelSettingsResponse) Status ¶ added in v2.20.2
func (r EvalServiceGetSessionLabelSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceGetSessionLabelSettingsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceGetSessionLabelSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceListEvalHistoryParams ¶ added in v2.20.2
type EvalServiceListEvalHistoryParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Kinds The kinds of entries to return. When empty, returns every kind. To
// list only the revisions, set `EVAL_HISTORY_KIND_PUBLISHED` and
// `EVAL_HISTORY_KIND_ROLLED_BACK`. Use a cursor only with the same
// `kinds` as the request that returned it.
Kinds *[]LivekitPublicapiEvalsV1EvalHistoryKind `form:"kinds,omitempty" json:"kinds,omitempty"`
}
EvalServiceListEvalHistoryParams defines parameters for EvalServiceListEvalHistory.
type EvalServiceListEvalHistoryResponse ¶ added in v2.20.2
type EvalServiceListEvalHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalHistoryListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceListEvalHistoryResponse ¶ added in v2.20.2
func ParseEvalServiceListEvalHistoryResponse(rsp *http.Response) (*EvalServiceListEvalHistoryResponse, error)
ParseEvalServiceListEvalHistoryResponse parses an HTTP response from a EvalServiceListEvalHistoryWithResponse call
func (EvalServiceListEvalHistoryResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceListEvalHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceListEvalHistoryResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceListEvalHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceListEvalHistoryResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceListEvalHistoryResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalHistoryListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceListEvalHistoryResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceListEvalHistoryResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceListEvalHistoryResponse) Status ¶ added in v2.20.2
func (r EvalServiceListEvalHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceListEvalHistoryResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceListEvalHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceListEvalsParams ¶ added in v2.20.2
type EvalServiceListEvalsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// AgentName The agent name. Returns only the evals that the live revision runs on
// this agent, including the evals that run on every agent.
AgentName *string `form:"agentName,omitempty" json:"agentName,omitempty"`
// ShowDeleted When true, the list includes the deleted evals.
ShowDeleted *bool `form:"showDeleted,omitempty" json:"showDeleted,omitempty"`
}
EvalServiceListEvalsParams defines parameters for EvalServiceListEvals.
type EvalServiceListEvalsResponse ¶ added in v2.20.2
type EvalServiceListEvalsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceListEvalsResponse ¶ added in v2.20.2
func ParseEvalServiceListEvalsResponse(rsp *http.Response) (*EvalServiceListEvalsResponse, error)
ParseEvalServiceListEvalsResponse parses an HTTP response from a EvalServiceListEvalsWithResponse call
func (EvalServiceListEvalsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceListEvalsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceListEvalsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceListEvalsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceListEvalsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceListEvalsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceListEvalsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceListEvalsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceListEvalsResponse) Status ¶ added in v2.20.2
func (r EvalServiceListEvalsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceListEvalsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceListEvalsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceListSessionLabelsParams ¶ added in v2.20.2
type EvalServiceListSessionLabelsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Kind The kind of labels to return. When unset, returns both kinds.
Kind *LivekitPublicapiEvalsV1SessionLabelKind `form:"kind,omitempty" json:"kind,omitempty"`
// ShowDeleted When true, the list includes the deleted labels.
ShowDeleted *bool `form:"showDeleted,omitempty" json:"showDeleted,omitempty"`
}
EvalServiceListSessionLabelsParams defines parameters for EvalServiceListSessionLabels.
type EvalServiceListSessionLabelsResponse ¶ added in v2.20.2
type EvalServiceListSessionLabelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceListSessionLabelsResponse ¶ added in v2.20.2
func ParseEvalServiceListSessionLabelsResponse(rsp *http.Response) (*EvalServiceListSessionLabelsResponse, error)
ParseEvalServiceListSessionLabelsResponse parses an HTTP response from a EvalServiceListSessionLabelsWithResponse call
func (EvalServiceListSessionLabelsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceListSessionLabelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceListSessionLabelsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceListSessionLabelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceListSessionLabelsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceListSessionLabelsResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceListSessionLabelsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceListSessionLabelsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceListSessionLabelsResponse) Status ¶ added in v2.20.2
func (r EvalServiceListSessionLabelsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceListSessionLabelsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceListSessionLabelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServicePublishEvalDraftJSONBody ¶ added in v2.20.2
type EvalServicePublishEvalDraftJSONBody struct {
// AllowStaleBase When true, publishes the draft also when the live revision changed
// after the draft was opened. The draft then replaces those changes.
AllowStaleBase *bool `json:"allowStaleBase,omitempty"`
// DraftEtag The `draftEtag` of the draft that you last read.
DraftEtag *string `json:"draftEtag,omitempty"`
// Message A message for the history of the eval, such as what changed.
Message *string `json:"message,omitempty"`
}
EvalServicePublishEvalDraftJSONBody defines parameters for EvalServicePublishEvalDraft.
type EvalServicePublishEvalDraftJSONRequestBody ¶ added in v2.20.2
type EvalServicePublishEvalDraftJSONRequestBody EvalServicePublishEvalDraftJSONBody
EvalServicePublishEvalDraftJSONRequestBody defines body for EvalServicePublishEvalDraft for application/json ContentType.
type EvalServicePublishEvalDraftResponse ¶ added in v2.20.2
type EvalServicePublishEvalDraftResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalDraftsPublishResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServicePublishEvalDraftResponse ¶ added in v2.20.2
func ParseEvalServicePublishEvalDraftResponse(rsp *http.Response) (*EvalServicePublishEvalDraftResponse, error)
ParseEvalServicePublishEvalDraftResponse parses an HTTP response from a EvalServicePublishEvalDraftWithResponse call
func (EvalServicePublishEvalDraftResponse) ContentType ¶ added in v2.20.2
func (r EvalServicePublishEvalDraftResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServicePublishEvalDraftResponse) GetBody ¶ added in v2.20.2
func (r EvalServicePublishEvalDraftResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServicePublishEvalDraftResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServicePublishEvalDraftResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDraftsPublishResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServicePublishEvalDraftResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServicePublishEvalDraftResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServicePublishEvalDraftResponse) Status ¶ added in v2.20.2
func (r EvalServicePublishEvalDraftResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServicePublishEvalDraftResponse) StatusCode ¶ added in v2.20.2
func (r EvalServicePublishEvalDraftResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceRollbackEvalJSONBody ¶ added in v2.20.2
type EvalServiceRollbackEvalJSONBody struct {
// Message A message for the history of the eval, such as the reason for the
// rollback.
Message *string `json:"message,omitempty"`
// Revision The number of the revision to copy. It must not be the live revision.
Revision *int `json:"revision,omitempty"`
}
EvalServiceRollbackEvalJSONBody defines parameters for EvalServiceRollbackEval.
type EvalServiceRollbackEvalJSONRequestBody ¶ added in v2.20.2
type EvalServiceRollbackEvalJSONRequestBody EvalServiceRollbackEvalJSONBody
EvalServiceRollbackEvalJSONRequestBody defines body for EvalServiceRollbackEval for application/json ContentType.
type EvalServiceRollbackEvalResponse ¶ added in v2.20.2
type EvalServiceRollbackEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsRollbackResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceRollbackEvalResponse ¶ added in v2.20.2
func ParseEvalServiceRollbackEvalResponse(rsp *http.Response) (*EvalServiceRollbackEvalResponse, error)
ParseEvalServiceRollbackEvalResponse parses an HTTP response from a EvalServiceRollbackEvalWithResponse call
func (EvalServiceRollbackEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceRollbackEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceRollbackEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceRollbackEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceRollbackEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceRollbackEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsRollbackResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceRollbackEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceRollbackEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceRollbackEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceRollbackEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceRollbackEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceRollbackEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceSaveEvalDraftJSONBody ¶ added in v2.20.2
type EvalServiceSaveEvalDraftJSONBody struct {
// Definition The new definition. It replaces the draft.
Definition *LivekitPublicapiEvalsV1EvalDefinition `json:"definition,omitempty"`
// DraftEtag The `draftEtag` of the draft that you last read. Empty when the eval
// has no draft.
DraftEtag *string `json:"draftEtag,omitempty"`
}
EvalServiceSaveEvalDraftJSONBody defines parameters for EvalServiceSaveEvalDraft.
type EvalServiceSaveEvalDraftJSONRequestBody ¶ added in v2.20.2
type EvalServiceSaveEvalDraftJSONRequestBody EvalServiceSaveEvalDraftJSONBody
EvalServiceSaveEvalDraftJSONRequestBody defines body for EvalServiceSaveEvalDraft for application/json ContentType.
type EvalServiceSaveEvalDraftResponse ¶ added in v2.20.2
type EvalServiceSaveEvalDraftResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalDraftsSaveResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceSaveEvalDraftResponse ¶ added in v2.20.2
func ParseEvalServiceSaveEvalDraftResponse(rsp *http.Response) (*EvalServiceSaveEvalDraftResponse, error)
ParseEvalServiceSaveEvalDraftResponse parses an HTTP response from a EvalServiceSaveEvalDraftWithResponse call
func (EvalServiceSaveEvalDraftResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceSaveEvalDraftResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceSaveEvalDraftResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceSaveEvalDraftResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceSaveEvalDraftResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceSaveEvalDraftResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDraftsSaveResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceSaveEvalDraftResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceSaveEvalDraftResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceSaveEvalDraftResponse) Status ¶ added in v2.20.2
func (r EvalServiceSaveEvalDraftResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceSaveEvalDraftResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceSaveEvalDraftResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceUndeleteEvalResponse ¶ added in v2.20.2
type EvalServiceUndeleteEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsUndeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceUndeleteEvalResponse ¶ added in v2.20.2
func ParseEvalServiceUndeleteEvalResponse(rsp *http.Response) (*EvalServiceUndeleteEvalResponse, error)
ParseEvalServiceUndeleteEvalResponse parses an HTTP response from a EvalServiceUndeleteEvalWithResponse call
func (EvalServiceUndeleteEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceUndeleteEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceUndeleteEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceUndeleteEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceUndeleteEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceUndeleteEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsUndeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceUndeleteEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceUndeleteEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceUndeleteEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceUndeleteEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceUndeleteEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceUndeleteEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceUndeleteSessionLabelResponse ¶ added in v2.20.2
type EvalServiceUndeleteSessionLabelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceUndeleteSessionLabelResponse ¶ added in v2.20.2
func ParseEvalServiceUndeleteSessionLabelResponse(rsp *http.Response) (*EvalServiceUndeleteSessionLabelResponse, error)
ParseEvalServiceUndeleteSessionLabelResponse parses an HTTP response from a EvalServiceUndeleteSessionLabelWithResponse call
func (EvalServiceUndeleteSessionLabelResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceUndeleteSessionLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceUndeleteSessionLabelResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceUndeleteSessionLabelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceUndeleteSessionLabelResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceUndeleteSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceUndeleteSessionLabelResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceUndeleteSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceUndeleteSessionLabelResponse) Status ¶ added in v2.20.2
func (r EvalServiceUndeleteSessionLabelResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceUndeleteSessionLabelResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceUndeleteSessionLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceUpdateEvalDefaultsJSONBody ¶ added in v2.20.2
type EvalServiceUpdateEvalDefaultsJSONBody struct {
// Definition The new judge defaults. They replace the ones that are set.
Definition *LivekitPublicapiEvalsV1JudgeDefaultsDefinition `json:"definition,omitempty"`
}
EvalServiceUpdateEvalDefaultsJSONBody defines parameters for EvalServiceUpdateEvalDefaults.
type EvalServiceUpdateEvalDefaultsJSONRequestBody ¶ added in v2.20.2
type EvalServiceUpdateEvalDefaultsJSONRequestBody EvalServiceUpdateEvalDefaultsJSONBody
EvalServiceUpdateEvalDefaultsJSONRequestBody defines body for EvalServiceUpdateEvalDefaults for application/json ContentType.
type EvalServiceUpdateEvalDefaultsResponse ¶ added in v2.20.2
type EvalServiceUpdateEvalDefaultsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceUpdateEvalDefaultsResponse ¶ added in v2.20.2
func ParseEvalServiceUpdateEvalDefaultsResponse(rsp *http.Response) (*EvalServiceUpdateEvalDefaultsResponse, error)
ParseEvalServiceUpdateEvalDefaultsResponse parses an HTTP response from a EvalServiceUpdateEvalDefaultsWithResponse call
func (EvalServiceUpdateEvalDefaultsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceUpdateEvalDefaultsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceUpdateEvalDefaultsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceUpdateEvalDefaultsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceUpdateEvalDefaultsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceUpdateEvalDefaultsResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceUpdateEvalDefaultsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceUpdateEvalDefaultsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceUpdateEvalDefaultsResponse) Status ¶ added in v2.20.2
func (r EvalServiceUpdateEvalDefaultsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceUpdateEvalDefaultsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceUpdateEvalDefaultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceUpdateEvalJSONBody ¶ added in v2.20.2
type EvalServiceUpdateEvalJSONBody struct {
// Description The new description. Unset leaves the description as it is.
Description *string `json:"description,omitempty"`
// Name The new name. Unset leaves the name as it is.
Name *string `json:"name,omitempty"`
}
EvalServiceUpdateEvalJSONBody defines parameters for EvalServiceUpdateEval.
type EvalServiceUpdateEvalJSONRequestBody ¶ added in v2.20.2
type EvalServiceUpdateEvalJSONRequestBody EvalServiceUpdateEvalJSONBody
EvalServiceUpdateEvalJSONRequestBody defines body for EvalServiceUpdateEval for application/json ContentType.
type EvalServiceUpdateEvalResponse ¶ added in v2.20.2
type EvalServiceUpdateEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceUpdateEvalResponse ¶ added in v2.20.2
func ParseEvalServiceUpdateEvalResponse(rsp *http.Response) (*EvalServiceUpdateEvalResponse, error)
ParseEvalServiceUpdateEvalResponse parses an HTTP response from a EvalServiceUpdateEvalWithResponse call
func (EvalServiceUpdateEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceUpdateEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceUpdateEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceUpdateEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceUpdateEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceUpdateEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceUpdateEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceUpdateEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceUpdateEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceUpdateEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceUpdateEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceUpdateEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceUpdateSessionLabelJSONBody ¶ added in v2.20.2
type EvalServiceUpdateSessionLabelJSONBody struct {
// Agents The new agents. Unset leaves the agents as they are. A value with no
// names makes the label apply to every agent.
Agents *LivekitPublicapiEvalsV1SessionLabelAgents `json:"agents,omitempty"`
// Description The new description. Unset leaves the description as it is.
Description *string `json:"description,omitempty"`
// Name The new name. Unset leaves the name as it is.
Name *string `json:"name,omitempty"`
// Rating The new rating, for an outcome only. Unset leaves the rating as it is.
Rating *LivekitPublicapiEvalsV1SessionLabelRating `json:"rating,omitempty"`
}
EvalServiceUpdateSessionLabelJSONBody defines parameters for EvalServiceUpdateSessionLabel.
type EvalServiceUpdateSessionLabelJSONRequestBody ¶ added in v2.20.2
type EvalServiceUpdateSessionLabelJSONRequestBody EvalServiceUpdateSessionLabelJSONBody
EvalServiceUpdateSessionLabelJSONRequestBody defines body for EvalServiceUpdateSessionLabel for application/json ContentType.
type EvalServiceUpdateSessionLabelResponse ¶ added in v2.20.2
type EvalServiceUpdateSessionLabelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelsUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceUpdateSessionLabelResponse ¶ added in v2.20.2
func ParseEvalServiceUpdateSessionLabelResponse(rsp *http.Response) (*EvalServiceUpdateSessionLabelResponse, error)
ParseEvalServiceUpdateSessionLabelResponse parses an HTTP response from a EvalServiceUpdateSessionLabelWithResponse call
func (EvalServiceUpdateSessionLabelResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceUpdateSessionLabelResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceUpdateSessionLabelResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelsUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceUpdateSessionLabelResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceUpdateSessionLabelResponse) Status ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceUpdateSessionLabelResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceUpdateSessionLabelSettingsJSONBody ¶ added in v2.20.2
type EvalServiceUpdateSessionLabelSettingsJSONBody struct {
// Settings The new settings. They replace the ones that are set, and a field that
// you leave out goes back to its default. The API ignores `updatedAt`,
// `updatedBy` and `updatedSource`.
Settings *LivekitPublicapiEvalsV1SessionLabelSettings `json:"settings,omitempty"`
}
EvalServiceUpdateSessionLabelSettingsJSONBody defines parameters for EvalServiceUpdateSessionLabelSettings.
type EvalServiceUpdateSessionLabelSettingsJSONRequestBody ¶ added in v2.20.2
type EvalServiceUpdateSessionLabelSettingsJSONRequestBody EvalServiceUpdateSessionLabelSettingsJSONBody
EvalServiceUpdateSessionLabelSettingsJSONRequestBody defines body for EvalServiceUpdateSessionLabelSettings for application/json ContentType.
type EvalServiceUpdateSessionLabelSettingsResponse ¶ added in v2.20.2
type EvalServiceUpdateSessionLabelSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceUpdateSessionLabelSettingsResponse ¶ added in v2.20.2
func ParseEvalServiceUpdateSessionLabelSettingsResponse(rsp *http.Response) (*EvalServiceUpdateSessionLabelSettingsResponse, error)
ParseEvalServiceUpdateSessionLabelSettingsResponse parses an HTTP response from a EvalServiceUpdateSessionLabelSettingsWithResponse call
func (EvalServiceUpdateSessionLabelSettingsResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelSettingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceUpdateSessionLabelSettingsResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelSettingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceUpdateSessionLabelSettingsResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelSettingsResponse) GetJSON200() *LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceUpdateSessionLabelSettingsResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelSettingsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceUpdateSessionLabelSettingsResponse) Status ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceUpdateSessionLabelSettingsResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceUpdateSessionLabelSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalServiceValidateEvalJSONBody ¶ added in v2.20.2
type EvalServiceValidateEvalJSONBody struct {
// Definition The definition to check.
Definition *LivekitPublicapiEvalsV1EvalDefinition `json:"definition,omitempty"`
}
EvalServiceValidateEvalJSONBody defines parameters for EvalServiceValidateEval.
type EvalServiceValidateEvalJSONRequestBody ¶ added in v2.20.2
type EvalServiceValidateEvalJSONRequestBody EvalServiceValidateEvalJSONBody
EvalServiceValidateEvalJSONRequestBody defines body for EvalServiceValidateEval for application/json ContentType.
type EvalServiceValidateEvalResponse ¶ added in v2.20.2
type EvalServiceValidateEvalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiEvalsV1EvalsValidateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseEvalServiceValidateEvalResponse ¶ added in v2.20.2
func ParseEvalServiceValidateEvalResponse(rsp *http.Response) (*EvalServiceValidateEvalResponse, error)
ParseEvalServiceValidateEvalResponse parses an HTTP response from a EvalServiceValidateEvalWithResponse call
func (EvalServiceValidateEvalResponse) ContentType ¶ added in v2.20.2
func (r EvalServiceValidateEvalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvalServiceValidateEvalResponse) GetBody ¶ added in v2.20.2
func (r EvalServiceValidateEvalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvalServiceValidateEvalResponse) GetJSON200 ¶ added in v2.20.2
func (r EvalServiceValidateEvalResponse) GetJSON200() *LivekitPublicapiEvalsV1EvalsValidateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvalServiceValidateEvalResponse) GetJSONDefault ¶ added in v2.20.2
func (r EvalServiceValidateEvalResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (EvalServiceValidateEvalResponse) Status ¶ added in v2.20.2
func (r EvalServiceValidateEvalResponse) Status() string
Status returns HTTPResponse.Status
func (EvalServiceValidateEvalResponse) StatusCode ¶ added in v2.20.2
func (r EvalServiceValidateEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoogleProtobufAny ¶ added in v2.19.3
type GoogleProtobufAny struct {
// Type A URL/resource name that uniquely identifies the type of the serialized message.
Type *string `json:"@type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func (GoogleProtobufAny) Get ¶ added in v2.19.3
func (a GoogleProtobufAny) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for GoogleProtobufAny. Returns the specified element and whether it was found
func (GoogleProtobufAny) MarshalJSON ¶ added in v2.19.3
func (a GoogleProtobufAny) MarshalJSON() ([]byte, error)
Override default JSON handling for GoogleProtobufAny to handle AdditionalProperties
func (*GoogleProtobufAny) Set ¶ added in v2.19.3
func (a *GoogleProtobufAny) Set(fieldName string, value interface{})
Setter for additional properties for GoogleProtobufAny
func (*GoogleProtobufAny) UnmarshalJSON ¶ added in v2.19.3
func (a *GoogleProtobufAny) UnmarshalJSON(b []byte) error
Override default JSON handling for GoogleProtobufAny to handle AdditionalProperties
type GoogleProtobufDuration ¶ added in v2.19.0
type GoogleProtobufDuration = string
GoogleProtobufDuration A span of time as protobuf JSON encodes it: seconds with an "s" suffix, for example "86400s" for a day. Responses carry 0, 3, 6 or 9 fractional digits ("1.500s", "0.000000001s"); requests may use 1 to 9. At most 315576000000 seconds either way. Not an ISO 8601 duration ("P1D" is rejected).
Examples: 86400s, 1.500s, 0.000000001s
type GoogleProtobufStruct ¶ added in v2.19.0
type GoogleProtobufStruct map[string]*GoogleProtobufValue
GoogleProtobufStruct A JSON object whose property values may be any JSON value.
type GoogleProtobufTimestamp ¶
GoogleProtobufTimestamp A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z
type GoogleProtobufValue ¶ added in v2.19.0
type GoogleProtobufValue struct {
// contains filtered or unexported fields
}
GoogleProtobufValue Any JSON value: `null`, number, string, boolean, array, or object.
func (GoogleProtobufValue) AsGoogleProtobufValue1 ¶ added in v2.19.0
func (t GoogleProtobufValue) AsGoogleProtobufValue1() (GoogleProtobufValue1, error)
AsGoogleProtobufValue1 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue1
func (GoogleProtobufValue) AsGoogleProtobufValue2 ¶ added in v2.19.0
func (t GoogleProtobufValue) AsGoogleProtobufValue2() (GoogleProtobufValue2, error)
AsGoogleProtobufValue2 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue2
func (GoogleProtobufValue) AsGoogleProtobufValue3 ¶ added in v2.19.0
func (t GoogleProtobufValue) AsGoogleProtobufValue3() (GoogleProtobufValue3, error)
AsGoogleProtobufValue3 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue3
func (GoogleProtobufValue) AsGoogleProtobufValue4 ¶ added in v2.19.0
func (t GoogleProtobufValue) AsGoogleProtobufValue4() (GoogleProtobufValue4, error)
AsGoogleProtobufValue4 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue4
func (GoogleProtobufValue) AsGoogleProtobufValue5 ¶ added in v2.19.0
func (t GoogleProtobufValue) AsGoogleProtobufValue5() (GoogleProtobufValue5, error)
AsGoogleProtobufValue5 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue5
func (*GoogleProtobufValue) FromGoogleProtobufValue1 ¶ added in v2.19.0
func (t *GoogleProtobufValue) FromGoogleProtobufValue1(v GoogleProtobufValue1) error
FromGoogleProtobufValue1 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue1
func (*GoogleProtobufValue) FromGoogleProtobufValue2 ¶ added in v2.19.0
func (t *GoogleProtobufValue) FromGoogleProtobufValue2(v GoogleProtobufValue2) error
FromGoogleProtobufValue2 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue2
func (*GoogleProtobufValue) FromGoogleProtobufValue3 ¶ added in v2.19.0
func (t *GoogleProtobufValue) FromGoogleProtobufValue3(v GoogleProtobufValue3) error
FromGoogleProtobufValue3 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue3
func (*GoogleProtobufValue) FromGoogleProtobufValue4 ¶ added in v2.19.0
func (t *GoogleProtobufValue) FromGoogleProtobufValue4(v GoogleProtobufValue4) error
FromGoogleProtobufValue4 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue4
func (*GoogleProtobufValue) FromGoogleProtobufValue5 ¶ added in v2.19.0
func (t *GoogleProtobufValue) FromGoogleProtobufValue5(v GoogleProtobufValue5) error
FromGoogleProtobufValue5 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue5
func (GoogleProtobufValue) MarshalJSON ¶ added in v2.19.0
func (t GoogleProtobufValue) MarshalJSON() ([]byte, error)
func (*GoogleProtobufValue) MergeGoogleProtobufValue1 ¶ added in v2.19.0
func (t *GoogleProtobufValue) MergeGoogleProtobufValue1(v GoogleProtobufValue1) error
MergeGoogleProtobufValue1 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue1
func (*GoogleProtobufValue) MergeGoogleProtobufValue2 ¶ added in v2.19.0
func (t *GoogleProtobufValue) MergeGoogleProtobufValue2(v GoogleProtobufValue2) error
MergeGoogleProtobufValue2 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue2
func (*GoogleProtobufValue) MergeGoogleProtobufValue3 ¶ added in v2.19.0
func (t *GoogleProtobufValue) MergeGoogleProtobufValue3(v GoogleProtobufValue3) error
MergeGoogleProtobufValue3 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue3
func (*GoogleProtobufValue) MergeGoogleProtobufValue4 ¶ added in v2.19.0
func (t *GoogleProtobufValue) MergeGoogleProtobufValue4(v GoogleProtobufValue4) error
MergeGoogleProtobufValue4 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue4
func (*GoogleProtobufValue) MergeGoogleProtobufValue5 ¶ added in v2.19.0
func (t *GoogleProtobufValue) MergeGoogleProtobufValue5(v GoogleProtobufValue5) error
MergeGoogleProtobufValue5 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue5
func (*GoogleProtobufValue) UnmarshalJSON ¶ added in v2.19.0
func (t *GoogleProtobufValue) UnmarshalJSON(b []byte) error
type GoogleProtobufValue1 ¶ added in v2.19.0
type GoogleProtobufValue1 = float32
GoogleProtobufValue1 defines model for GoogleProtobufValue.1.
type GoogleProtobufValue2 ¶ added in v2.19.0
type GoogleProtobufValue2 = string
GoogleProtobufValue2 defines model for GoogleProtobufValue.2.
type GoogleProtobufValue3 ¶ added in v2.19.0
type GoogleProtobufValue3 = bool
GoogleProtobufValue3 defines model for GoogleProtobufValue.3.
type GoogleProtobufValue4 ¶ added in v2.19.0
type GoogleProtobufValue4 = []interface{}
GoogleProtobufValue4 defines model for GoogleProtobufValue.4.
type GoogleProtobufValue5 ¶ added in v2.19.0
type GoogleProtobufValue5 map[string]interface{}
GoogleProtobufValue5 defines model for GoogleProtobufValue.5.
type GoogleRpcStatus ¶ added in v2.19.3
type GoogleRpcStatus struct {
// Code The status code, which should be an enum value of google.rpc.Code.
Code *int32 `json:"code,omitempty"`
// Details A list of messages that carry the error details.
Details *[]GoogleProtobufAny `json:"details,omitempty"`
// Message A developer-facing error message.
Message *string `json:"message,omitempty"`
}
GoogleRpcStatus The Status type defines a logical error model suitable for gRPC and REST APIs.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type LivekitAgentAgentConfigUpdate ¶ added in v2.19.0
type LivekitAgentAgentConfigUpdate struct {
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
Instructions *string `json:"instructions,omitempty"`
ToolsAdded *[]string `json:"toolsAdded,omitempty"`
ToolsRemoved *[]string `json:"toolsRemoved,omitempty"`
}
LivekitAgentAgentConfigUpdate defines model for livekit.agent.AgentConfigUpdate.
type LivekitAgentAgentHandoff ¶ added in v2.19.0
type LivekitAgentAgentHandoff struct {
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
NewAgentId *string `json:"newAgentId,omitempty"`
OldAgentId *string `json:"oldAgentId,omitempty"`
}
LivekitAgentAgentHandoff defines model for livekit.agent.AgentHandoff.
type LivekitAgentChatContext ¶ added in v2.19.0
type LivekitAgentChatContext struct {
Items *[]LivekitAgentChatContextChatItem `json:"items,omitempty"`
}
LivekitAgentChatContext defines model for livekit.agent.ChatContext.
type LivekitAgentChatContextChatItem ¶ added in v2.19.0
type LivekitAgentChatContextChatItem struct {
// contains filtered or unexported fields
}
LivekitAgentChatContextChatItem defines model for livekit.agent.ChatContext.ChatItem.
func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem0 ¶ added in v2.19.0
func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem0() (LivekitAgentChatContextChatItem0, error)
AsLivekitAgentChatContextChatItem0 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem0
func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem1 ¶ added in v2.19.0
func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem1() (LivekitAgentChatContextChatItem1, error)
AsLivekitAgentChatContextChatItem1 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem1
func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem2 ¶ added in v2.19.0
func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem2() (LivekitAgentChatContextChatItem2, error)
AsLivekitAgentChatContextChatItem2 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem2
func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem3 ¶ added in v2.19.0
func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem3() (LivekitAgentChatContextChatItem3, error)
AsLivekitAgentChatContextChatItem3 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem3
func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem4 ¶ added in v2.19.0
func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem4() (LivekitAgentChatContextChatItem4, error)
AsLivekitAgentChatContextChatItem4 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem4
func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem0 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem0(v LivekitAgentChatContextChatItem0) error
FromLivekitAgentChatContextChatItem0 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem0
func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem1 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem1(v LivekitAgentChatContextChatItem1) error
FromLivekitAgentChatContextChatItem1 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem1
func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem2 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem2(v LivekitAgentChatContextChatItem2) error
FromLivekitAgentChatContextChatItem2 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem2
func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem3 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem3(v LivekitAgentChatContextChatItem3) error
FromLivekitAgentChatContextChatItem3 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem3
func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem4 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem4(v LivekitAgentChatContextChatItem4) error
FromLivekitAgentChatContextChatItem4 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem4
func (LivekitAgentChatContextChatItem) MarshalJSON ¶ added in v2.19.0
func (t LivekitAgentChatContextChatItem) MarshalJSON() ([]byte, error)
func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem0 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem0(v LivekitAgentChatContextChatItem0) error
MergeLivekitAgentChatContextChatItem0 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem0
func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem1 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem1(v LivekitAgentChatContextChatItem1) error
MergeLivekitAgentChatContextChatItem1 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem1
func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem2 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem2(v LivekitAgentChatContextChatItem2) error
MergeLivekitAgentChatContextChatItem2 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem2
func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem3 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem3(v LivekitAgentChatContextChatItem3) error
MergeLivekitAgentChatContextChatItem3 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem3
func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem4 ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem4(v LivekitAgentChatContextChatItem4) error
MergeLivekitAgentChatContextChatItem4 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem4
func (*LivekitAgentChatContextChatItem) UnmarshalJSON ¶ added in v2.19.0
func (t *LivekitAgentChatContextChatItem) UnmarshalJSON(b []byte) error
type LivekitAgentChatContextChatItem0 ¶ added in v2.19.0
type LivekitAgentChatContextChatItem0 struct {
AgentConfigUpdate *LivekitAgentAgentConfigUpdate `json:"agentConfigUpdate,omitempty"`
}
LivekitAgentChatContextChatItem0 defines model for LivekitAgentChatContextChatItem.0.
type LivekitAgentChatContextChatItem1 ¶ added in v2.19.0
type LivekitAgentChatContextChatItem1 struct {
AgentHandoff *LivekitAgentAgentHandoff `json:"agentHandoff,omitempty"`
}
LivekitAgentChatContextChatItem1 defines model for LivekitAgentChatContextChatItem.1.
type LivekitAgentChatContextChatItem2 ¶ added in v2.19.0
type LivekitAgentChatContextChatItem2 struct {
FunctionCall *LivekitAgentFunctionCall `json:"functionCall,omitempty"`
}
LivekitAgentChatContextChatItem2 defines model for LivekitAgentChatContextChatItem.2.
type LivekitAgentChatContextChatItem3 ¶ added in v2.19.0
type LivekitAgentChatContextChatItem3 struct {
FunctionCallOutput *LivekitAgentFunctionCallOutput `json:"functionCallOutput,omitempty"`
}
LivekitAgentChatContextChatItem3 defines model for LivekitAgentChatContextChatItem.3.
type LivekitAgentChatContextChatItem4 ¶ added in v2.19.0
type LivekitAgentChatContextChatItem4 struct {
Message *LivekitAgentChatMessage `json:"message,omitempty"`
}
LivekitAgentChatContextChatItem4 defines model for LivekitAgentChatContextChatItem.4.
type LivekitAgentChatMessage ¶ added in v2.19.0
type LivekitAgentChatMessage struct {
Content *[]LivekitAgentChatMessageChatContent `json:"content,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
Extra *map[string]string `json:"extra,omitempty"`
Id *string `json:"id,omitempty"`
Interrupted *bool `json:"interrupted,omitempty"`
Metrics *LivekitAgentMetricsReport `json:"metrics,omitempty"`
Role *LivekitAgentChatRole `json:"role,omitempty"`
TranscriptConfidence *float64 `json:"transcriptConfidence,omitempty"`
}
LivekitAgentChatMessage defines model for livekit.agent.ChatMessage.
type LivekitAgentChatMessageChatContent ¶ added in v2.19.0
type LivekitAgentChatMessageChatContent struct {
// contains filtered or unexported fields
}
LivekitAgentChatMessageChatContent defines model for livekit.agent.ChatMessage.ChatContent.
func (LivekitAgentChatMessageChatContent) AsLivekitAgentChatMessageChatContent0 ¶ added in v2.19.0
func (t LivekitAgentChatMessageChatContent) AsLivekitAgentChatMessageChatContent0() (LivekitAgentChatMessageChatContent0, error)
AsLivekitAgentChatMessageChatContent0 returns the union data inside the LivekitAgentChatMessageChatContent as a LivekitAgentChatMessageChatContent0
func (*LivekitAgentChatMessageChatContent) FromLivekitAgentChatMessageChatContent0 ¶ added in v2.19.0
func (t *LivekitAgentChatMessageChatContent) FromLivekitAgentChatMessageChatContent0(v LivekitAgentChatMessageChatContent0) error
FromLivekitAgentChatMessageChatContent0 overwrites any union data inside the LivekitAgentChatMessageChatContent as the provided LivekitAgentChatMessageChatContent0
func (LivekitAgentChatMessageChatContent) MarshalJSON ¶ added in v2.19.0
func (t LivekitAgentChatMessageChatContent) MarshalJSON() ([]byte, error)
func (*LivekitAgentChatMessageChatContent) MergeLivekitAgentChatMessageChatContent0 ¶ added in v2.19.0
func (t *LivekitAgentChatMessageChatContent) MergeLivekitAgentChatMessageChatContent0(v LivekitAgentChatMessageChatContent0) error
MergeLivekitAgentChatMessageChatContent0 performs a merge with any union data inside the LivekitAgentChatMessageChatContent, using the provided LivekitAgentChatMessageChatContent0
func (*LivekitAgentChatMessageChatContent) UnmarshalJSON ¶ added in v2.19.0
func (t *LivekitAgentChatMessageChatContent) UnmarshalJSON(b []byte) error
type LivekitAgentChatMessageChatContent0 ¶ added in v2.19.0
type LivekitAgentChatMessageChatContent0 struct {
Text *string `json:"text,omitempty"`
}
LivekitAgentChatMessageChatContent0 defines model for LivekitAgentChatMessageChatContent.0.
type LivekitAgentChatRole ¶
type LivekitAgentChatRole string
LivekitAgentChatRole defines model for livekit.agent.ChatRole.
const ( ASSISTANT LivekitAgentChatRole = "ASSISTANT" DEVELOPER LivekitAgentChatRole = "DEVELOPER" SYSTEM LivekitAgentChatRole = "SYSTEM" USER LivekitAgentChatRole = "USER" )
Defines values for LivekitAgentChatRole.
func (LivekitAgentChatRole) Valid ¶
func (e LivekitAgentChatRole) Valid() bool
Valid indicates whether the value is a known member of the LivekitAgentChatRole enum.
type LivekitAgentFunctionCall ¶ added in v2.19.0
type LivekitAgentFunctionCall struct {
Arguments *string `json:"arguments,omitempty"`
CallId *string `json:"callId,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// Extra Framework and provider metadata, including approval identities and resumable
// tool/delegation state. Each value is JSON text, including quoted strings.
// Readers may treat a value that is not valid JSON as a legacy plain string.
Extra *map[string]string `json:"extra,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
LivekitAgentFunctionCall defines model for livekit.agent.FunctionCall.
type LivekitAgentFunctionCallOutput ¶ added in v2.19.0
type LivekitAgentFunctionCallOutput struct {
CallId *string `json:"callId,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
IsError *bool `json:"isError,omitempty"`
Name *string `json:"name,omitempty"`
Output *string `json:"output,omitempty"`
}
LivekitAgentFunctionCallOutput defines model for livekit.agent.FunctionCallOutput.
type LivekitAgentMetricsReport ¶ added in v2.19.0
type LivekitAgentMetricsReport struct {
E2eLatency *float64 `json:"e2eLatency,omitempty"`
EndOfTurnDelay *float64 `json:"endOfTurnDelay,omitempty"`
LlmNodeTps *float64 `json:"llmNodeTps,omitempty"`
LlmNodeTtfs *float64 `json:"llmNodeTtfs,omitempty"`
LlmNodeTtft *float64 `json:"llmNodeTtft,omitempty"`
OnUserTurnCompletedDelay *float64 `json:"onUserTurnCompletedDelay,omitempty"`
StartedSpeakingAt *GoogleProtobufTimestamp `json:"startedSpeakingAt,omitempty"`
StoppedSpeakingAt *GoogleProtobufTimestamp `json:"stoppedSpeakingAt,omitempty"`
TranscriptionDelay *float64 `json:"transcriptionDelay,omitempty"`
TtsNodeTtfb *float64 `json:"ttsNodeTtfb,omitempty"`
}
LivekitAgentMetricsReport defines model for livekit.agent.MetricsReport.
type LivekitAliOSSUpload ¶
type LivekitAliOSSUpload struct {
AccessKey *string `json:"accessKey,omitempty"`
Bucket *string `json:"bucket,omitempty"`
Endpoint *string `json:"endpoint,omitempty"`
Region *string `json:"region,omitempty"`
Secret *string `json:"secret,omitempty"`
}
LivekitAliOSSUpload defines model for livekit.AliOSSUpload.
type LivekitAudioChannel ¶ added in v2.20.2
type LivekitAudioChannel string
LivekitAudioChannel defines model for livekit.AudioChannel.
const ( AUDIOCHANNELBOTH LivekitAudioChannel = "AUDIO_CHANNEL_BOTH" AUDIOCHANNELLEFT LivekitAudioChannel = "AUDIO_CHANNEL_LEFT" AUDIOCHANNELRIGHT LivekitAudioChannel = "AUDIO_CHANNEL_RIGHT" )
Defines values for LivekitAudioChannel.
func (LivekitAudioChannel) Valid ¶ added in v2.20.2
func (e LivekitAudioChannel) Valid() bool
Valid indicates whether the value is a known member of the LivekitAudioChannel enum.
type LivekitAudioCodec ¶
type LivekitAudioCodec string
LivekitAudioCodec defines model for livekit.AudioCodec.
const ( AAC LivekitAudioCodec = "AAC" ACMP3 LivekitAudioCodec = "AC_MP3" DEFAULTAC LivekitAudioCodec = "DEFAULT_AC" OPUS LivekitAudioCodec = "OPUS" )
Defines values for LivekitAudioCodec.
func (LivekitAudioCodec) Valid ¶
func (e LivekitAudioCodec) Valid() bool
Valid indicates whether the value is a known member of the LivekitAudioCodec enum.
type LivekitAudioConfig ¶ added in v2.20.2
type LivekitAudioConfig struct {
// CaptureAll If true, all unmatched audio is recorded to both channels
CaptureAll *bool `json:"captureAll,omitempty"`
Routes *[]LivekitAudioRoute `json:"routes,omitempty"`
}
LivekitAudioConfig Unified audio selection and channel routing.
Each route specifies both which audio to capture and which channel to output to.
type LivekitAudioMixing ¶
type LivekitAudioMixing string
LivekitAudioMixing defines model for livekit.AudioMixing.
const ( DEFAULTMIXING LivekitAudioMixing = "DEFAULT_MIXING" DUALCHANNELAGENT LivekitAudioMixing = "DUAL_CHANNEL_AGENT" DUALCHANNELALTERNATE LivekitAudioMixing = "DUAL_CHANNEL_ALTERNATE" )
Defines values for LivekitAudioMixing.
func (LivekitAudioMixing) Valid ¶
func (e LivekitAudioMixing) Valid() bool
Valid indicates whether the value is a known member of the LivekitAudioMixing enum.
type LivekitAudioRoute ¶ added in v2.20.2
type LivekitAudioRoute struct {
Channel *LivekitAudioChannel `json:"channel,omitempty"`
// Exclude Drop matching tracks, overriding capture_all and other routes
Exclude *bool `json:"exclude,omitempty"`
// TrackName Narrows the match to tracks with this name; alone, matches it from any participant
TrackName *string `json:"trackName,omitempty"`
// contains filtered or unexported fields
}
LivekitAudioRoute defines model for livekit.AudioRoute.
func (LivekitAudioRoute) AsLivekitAudioRoute0 ¶ added in v2.20.2
func (t LivekitAudioRoute) AsLivekitAudioRoute0() (LivekitAudioRoute0, error)
AsLivekitAudioRoute0 returns the union data inside the LivekitAudioRoute as a LivekitAudioRoute0
func (LivekitAudioRoute) AsLivekitAudioRoute1 ¶ added in v2.20.2
func (t LivekitAudioRoute) AsLivekitAudioRoute1() (LivekitAudioRoute1, error)
AsLivekitAudioRoute1 returns the union data inside the LivekitAudioRoute as a LivekitAudioRoute1
func (LivekitAudioRoute) AsLivekitAudioRoute2 ¶ added in v2.20.2
func (t LivekitAudioRoute) AsLivekitAudioRoute2() (LivekitAudioRoute2, error)
AsLivekitAudioRoute2 returns the union data inside the LivekitAudioRoute as a LivekitAudioRoute2
func (*LivekitAudioRoute) FromLivekitAudioRoute0 ¶ added in v2.20.2
func (t *LivekitAudioRoute) FromLivekitAudioRoute0(v LivekitAudioRoute0) error
FromLivekitAudioRoute0 overwrites any union data inside the LivekitAudioRoute as the provided LivekitAudioRoute0
func (*LivekitAudioRoute) FromLivekitAudioRoute1 ¶ added in v2.20.2
func (t *LivekitAudioRoute) FromLivekitAudioRoute1(v LivekitAudioRoute1) error
FromLivekitAudioRoute1 overwrites any union data inside the LivekitAudioRoute as the provided LivekitAudioRoute1
func (*LivekitAudioRoute) FromLivekitAudioRoute2 ¶ added in v2.20.2
func (t *LivekitAudioRoute) FromLivekitAudioRoute2(v LivekitAudioRoute2) error
FromLivekitAudioRoute2 overwrites any union data inside the LivekitAudioRoute as the provided LivekitAudioRoute2
func (LivekitAudioRoute) MarshalJSON ¶ added in v2.20.2
func (t LivekitAudioRoute) MarshalJSON() ([]byte, error)
func (*LivekitAudioRoute) MergeLivekitAudioRoute0 ¶ added in v2.20.2
func (t *LivekitAudioRoute) MergeLivekitAudioRoute0(v LivekitAudioRoute0) error
MergeLivekitAudioRoute0 performs a merge with any union data inside the LivekitAudioRoute, using the provided LivekitAudioRoute0
func (*LivekitAudioRoute) MergeLivekitAudioRoute1 ¶ added in v2.20.2
func (t *LivekitAudioRoute) MergeLivekitAudioRoute1(v LivekitAudioRoute1) error
MergeLivekitAudioRoute1 performs a merge with any union data inside the LivekitAudioRoute, using the provided LivekitAudioRoute1
func (*LivekitAudioRoute) MergeLivekitAudioRoute2 ¶ added in v2.20.2
func (t *LivekitAudioRoute) MergeLivekitAudioRoute2(v LivekitAudioRoute2) error
MergeLivekitAudioRoute2 performs a merge with any union data inside the LivekitAudioRoute, using the provided LivekitAudioRoute2
func (*LivekitAudioRoute) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitAudioRoute) UnmarshalJSON(b []byte) error
type LivekitAudioRoute0 ¶ added in v2.20.2
type LivekitAudioRoute0 struct {
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
}
LivekitAudioRoute0 defines model for LivekitAudioRoute.0.
type LivekitAudioRoute1 ¶ added in v2.20.2
type LivekitAudioRoute1 struct {
ParticipantKind *LivekitParticipantInfoKind `json:"participantKind,omitempty"`
}
LivekitAudioRoute1 defines model for LivekitAudioRoute.1.
type LivekitAudioRoute2 ¶ added in v2.20.2
type LivekitAudioRoute2 struct {
TrackId *string `json:"trackId,omitempty"`
}
LivekitAudioRoute2 defines model for LivekitAudioRoute.2.
type LivekitAutoParticipantEgress ¶
type LivekitAutoParticipantEgress struct {
FileOutputs *[]LivekitEncodedFileOutput `json:"fileOutputs,omitempty"`
SegmentOutputs *[]LivekitSegmentedFileOutput `json:"segmentOutputs,omitempty"`
// contains filtered or unexported fields
}
LivekitAutoParticipantEgress defines model for livekit.AutoParticipantEgress.
func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0 ¶
func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0() (LivekitAutoParticipantEgress0, error)
AsLivekitAutoParticipantEgress0 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress0
func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1 ¶
func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1() (LivekitAutoParticipantEgress1, error)
AsLivekitAutoParticipantEgress1 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress1
func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0 ¶
func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
FromLivekitAutoParticipantEgress0 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress0
func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1 ¶
func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
FromLivekitAutoParticipantEgress1 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress1
func (LivekitAutoParticipantEgress) MarshalJSON ¶
func (t LivekitAutoParticipantEgress) MarshalJSON() ([]byte, error)
func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0 ¶
func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error
MergeLivekitAutoParticipantEgress0 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress0
func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1 ¶
func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error
MergeLivekitAutoParticipantEgress1 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress1
func (*LivekitAutoParticipantEgress) UnmarshalJSON ¶
func (t *LivekitAutoParticipantEgress) UnmarshalJSON(b []byte) error
type LivekitAutoParticipantEgress0 ¶
type LivekitAutoParticipantEgress0 struct {
// Advanced (optional)
Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}
LivekitAutoParticipantEgress0 defines model for LivekitAutoParticipantEgress.0.
type LivekitAutoParticipantEgress1 ¶
type LivekitAutoParticipantEgress1 struct {
// Preset (default H264_720P_30)
Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}
LivekitAutoParticipantEgress1 defines model for LivekitAutoParticipantEgress.1.
type LivekitAutoTrackEgress ¶
type LivekitAutoTrackEgress struct {
// DisableManifest disables upload of json manifest file (default false)
DisableManifest *bool `json:"disableManifest,omitempty"`
// Filepath see docs for templating (default {track_id}-{time})
Filepath *string `json:"filepath,omitempty"`
// contains filtered or unexported fields
}
LivekitAutoTrackEgress defines model for livekit.AutoTrackEgress.
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0() (LivekitAutoTrackEgress0, error)
AsLivekitAutoTrackEgress0 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress0
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1() (LivekitAutoTrackEgress1, error)
AsLivekitAutoTrackEgress1 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress1
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2() (LivekitAutoTrackEgress2, error)
AsLivekitAutoTrackEgress2 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress2
func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3 ¶
func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3() (LivekitAutoTrackEgress3, error)
AsLivekitAutoTrackEgress3 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress3
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
FromLivekitAutoTrackEgress0 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress0
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
FromLivekitAutoTrackEgress1 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress1
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
FromLivekitAutoTrackEgress2 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress2
func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3 ¶
func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
FromLivekitAutoTrackEgress3 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress3
func (LivekitAutoTrackEgress) MarshalJSON ¶
func (t LivekitAutoTrackEgress) MarshalJSON() ([]byte, error)
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error
MergeLivekitAutoTrackEgress0 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress0
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error
MergeLivekitAutoTrackEgress1 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress1
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error
MergeLivekitAutoTrackEgress2 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress2
func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3 ¶
func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error
MergeLivekitAutoTrackEgress3 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress3
func (*LivekitAutoTrackEgress) UnmarshalJSON ¶
func (t *LivekitAutoTrackEgress) UnmarshalJSON(b []byte) error
type LivekitAutoTrackEgress0 ¶
type LivekitAutoTrackEgress0 struct {
AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}
LivekitAutoTrackEgress0 defines model for LivekitAutoTrackEgress.0.
type LivekitAutoTrackEgress1 ¶
type LivekitAutoTrackEgress1 struct {
Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}
LivekitAutoTrackEgress1 defines model for LivekitAutoTrackEgress.1.
type LivekitAutoTrackEgress2 ¶
type LivekitAutoTrackEgress2 struct {
Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}
LivekitAutoTrackEgress2 defines model for LivekitAutoTrackEgress.2.
type LivekitAutoTrackEgress3 ¶
type LivekitAutoTrackEgress3 struct {
S3 *LivekitS3Upload `json:"s3,omitempty"`
}
LivekitAutoTrackEgress3 defines model for LivekitAutoTrackEgress.3.
type LivekitAzureBlobUpload ¶
type LivekitAzureBlobUpload struct {
AccountKey *string `json:"accountKey,omitempty"`
AccountName *string `json:"accountName,omitempty"`
ContainerName *string `json:"containerName,omitempty"`
}
LivekitAzureBlobUpload defines model for livekit.AzureBlobUpload.
type LivekitCreateSIPParticipantRequest ¶ added in v2.20.1
type LivekitCreateSIPParticipantRequest struct {
Destination *LivekitDestination `json:"destination,omitempty"`
// Dialtone Optionally play dialtone in the room as an audible indicator for existing participants.
Dialtone *LivekitSIPDialtone `json:"dialtone,omitempty"`
// DisplayName Optional display name for the 'From' SIP header.
//
// Cases:
// 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
// 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
// 3) Non-empty: Use the specified value as the display name.
DisplayName *string `json:"displayName,omitempty"`
// Dtmf Optionally send following DTMF digits (extension codes) when making a call.
// Character 'w' can be used to add a 0.5 sec delay.
Dtmf *string `json:"dtmf,omitempty"`
// Headers These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
Headers *map[string]string `json:"headers,omitempty"`
// HidePhoneNumber By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.
// If true, a random value for identity will be used and numbers will be omitted from attributes.
HidePhoneNumber *bool `json:"hidePhoneNumber,omitempty"`
// IncludeHeaders Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
//
// When the names of required headers is known, using headers_to_attributes is strongly recommended.
//
// When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
// lowercase header names should be used, for example: sip.h.x-custom-header.
IncludeHeaders *LivekitSIPHeaderOptions `json:"includeHeaders,omitempty"`
// KrispEnabled Enable voice isolation for the callee.
KrispEnabled *bool `json:"krispEnabled,omitempty"`
// MaxCallDuration Max call duration.
MaxCallDuration *GoogleProtobufDuration `json:"maxCallDuration,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
// ParticipantAttributes Optional user-defined attributes. Will be attached to a created Participant in the room.
ParticipantAttributes *map[string]string `json:"participantAttributes,omitempty"`
// ParticipantIdentity Optional identity of the participant in LiveKit room
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
// ParticipantMetadata Optional user-defined metadata. Will be attached to a created Participant in the room.
ParticipantMetadata *string `json:"participantMetadata,omitempty"`
// ParticipantName Optional name of the participant in LiveKit room
ParticipantName *string `json:"participantName,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PlayDialtone *bool `json:"playDialtone,omitempty"`
// PlayRingtone Deprecated: use dialtone. Setting play_dialtone (or play_ringtone) is equivalent to SIP_DIALTONE_ETSI when dialtone is unset.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PlayRingtone *bool `json:"playRingtone,omitempty"`
// RingingTimeout Max time for the callee to answer the call.
RingingTimeout *GoogleProtobufDuration `json:"ringingTimeout,omitempty"`
// RoomName What LiveKit room should this participant be connected too
RoomName *string `json:"roomName,omitempty"`
// SipCallTo What number should be dialed via SIP
SipCallTo *string `json:"sipCallTo,omitempty"`
// SipFromHeader From: "Name" <uri>
SipFromHeader *LivekitSIPNamedDest `json:"sipFromHeader,omitempty"`
// SipNumber Optional SIP From number to use. If empty, trunk number is used.
SipNumber *string `json:"sipNumber,omitempty"`
// SipRequestUri INVITE <uri>
SipRequestUri *LivekitSIPRequestDest `json:"sipRequestUri,omitempty"`
// SipSourceCallId cloud only
// LiveKit SIP call ID (SCL_[...]) of a live inbound call in the same project.
// This is the ID that LiveKit assigns to the call (sip_call_id on
// SIPParticipantInfo), not the SIP Call-ID header from the provider. It is
// used for forwarding an inbound call, while keeping the original caller's ID
// as the caller ID of this new call.
// If sip_from_header is set, its user must match the caller's number. If not,
// the caller's number is used. NEXT ID: 30
SipSourceCallId *string `json:"sipSourceCallId,omitempty"`
// SipToHeader Currently not usable with CreateSIPParticipant: sip_call_to is required, and
// the two cannot be combined. Use to_user_override to change the To header user. To: "Name" <uri>
SipToHeader *LivekitSIPNamedDest `json:"sipToHeader,omitempty"`
// SipTrunkId What SIP Trunk should be used to dial the user
SipTrunkId *string `json:"sipTrunkId,omitempty"`
// ToUserOverride Replaces the user part of the To header, leaving its host, port and transport
// as they would otherwise be. The request URI is not affected, so the call is
// still placed to sip_call_to. Empty means no override.
//
// Use this when the callee expects a To header that differs from the number
// being dialed. Setting "To" in the headers map is not a valid alternative:
// it adds a second To header rather than replacing the existing one, which
// makes the INVITE malformed.
ToUserOverride *string `json:"toUserOverride,omitempty"`
Trunk *LivekitSIPOutboundConfig `json:"trunk,omitempty"`
// WaitUntilAnswered Wait for the answer for the call before returning.
WaitUntilAnswered *bool `json:"waitUntilAnswered,omitempty"`
}
LivekitCreateSIPParticipantRequest A SIP Participant is a singular SIP session connected to a LiveKit room via
a SIP Trunk into a SIP DispatchRule
type LivekitDataConfig ¶ added in v2.20.2
type LivekitDataConfig struct {
CaptureAll *bool `json:"captureAll,omitempty"`
Selectors *[]LivekitDataSelector `json:"selectors,omitempty"`
}
LivekitDataConfig defines model for livekit.DataConfig.
type LivekitDataSelector ¶ added in v2.20.2
type LivekitDataSelector struct {
// Exclude Drop matching tracks, overriding capture_all and other matches
Exclude *bool `json:"exclude,omitempty"`
// TrackName Narrows the match to tracks with this name; alone, matches it from any participant
TrackName *string `json:"trackName,omitempty"`
// contains filtered or unexported fields
}
LivekitDataSelector defines model for livekit.DataSelector.
func (LivekitDataSelector) AsLivekitDataSelector0 ¶ added in v2.20.2
func (t LivekitDataSelector) AsLivekitDataSelector0() (LivekitDataSelector0, error)
AsLivekitDataSelector0 returns the union data inside the LivekitDataSelector as a LivekitDataSelector0
func (LivekitDataSelector) AsLivekitDataSelector1 ¶ added in v2.20.2
func (t LivekitDataSelector) AsLivekitDataSelector1() (LivekitDataSelector1, error)
AsLivekitDataSelector1 returns the union data inside the LivekitDataSelector as a LivekitDataSelector1
func (*LivekitDataSelector) FromLivekitDataSelector0 ¶ added in v2.20.2
func (t *LivekitDataSelector) FromLivekitDataSelector0(v LivekitDataSelector0) error
FromLivekitDataSelector0 overwrites any union data inside the LivekitDataSelector as the provided LivekitDataSelector0
func (*LivekitDataSelector) FromLivekitDataSelector1 ¶ added in v2.20.2
func (t *LivekitDataSelector) FromLivekitDataSelector1(v LivekitDataSelector1) error
FromLivekitDataSelector1 overwrites any union data inside the LivekitDataSelector as the provided LivekitDataSelector1
func (LivekitDataSelector) MarshalJSON ¶ added in v2.20.2
func (t LivekitDataSelector) MarshalJSON() ([]byte, error)
func (*LivekitDataSelector) MergeLivekitDataSelector0 ¶ added in v2.20.2
func (t *LivekitDataSelector) MergeLivekitDataSelector0(v LivekitDataSelector0) error
MergeLivekitDataSelector0 performs a merge with any union data inside the LivekitDataSelector, using the provided LivekitDataSelector0
func (*LivekitDataSelector) MergeLivekitDataSelector1 ¶ added in v2.20.2
func (t *LivekitDataSelector) MergeLivekitDataSelector1(v LivekitDataSelector1) error
MergeLivekitDataSelector1 performs a merge with any union data inside the LivekitDataSelector, using the provided LivekitDataSelector1
func (*LivekitDataSelector) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitDataSelector) UnmarshalJSON(b []byte) error
type LivekitDataSelector0 ¶ added in v2.20.2
type LivekitDataSelector0 struct {
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
}
LivekitDataSelector0 defines model for LivekitDataSelector.0.
type LivekitDataSelector1 ¶ added in v2.20.2
type LivekitDataSelector1 struct {
TrackId *string `json:"trackId,omitempty"`
}
LivekitDataSelector1 defines model for LivekitDataSelector.1.
type LivekitDestination ¶ added in v2.20.1
type LivekitDestination struct {
City *string `json:"city,omitempty"`
Country *string `json:"country,omitempty"`
Region *string `json:"region,omitempty"`
}
LivekitDestination defines model for livekit.Destination.
type LivekitEncodedFileOutput ¶
type LivekitEncodedFileOutput struct {
DisableManifest *bool `json:"disableManifest,omitempty"`
FileType *LivekitEncodedFileType `json:"fileType,omitempty"`
Filepath *string `json:"filepath,omitempty"`
// contains filtered or unexported fields
}
LivekitEncodedFileOutput defines model for livekit.EncodedFileOutput.
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0() (LivekitEncodedFileOutput0, error)
AsLivekitEncodedFileOutput0 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput0
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1() (LivekitEncodedFileOutput1, error)
AsLivekitEncodedFileOutput1 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput1
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2() (LivekitEncodedFileOutput2, error)
AsLivekitEncodedFileOutput2 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput2
func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3 ¶
func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3() (LivekitEncodedFileOutput3, error)
AsLivekitEncodedFileOutput3 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput3
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
FromLivekitEncodedFileOutput0 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput0
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
FromLivekitEncodedFileOutput1 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput1
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
FromLivekitEncodedFileOutput2 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput2
func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3 ¶
func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
FromLivekitEncodedFileOutput3 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput3
func (LivekitEncodedFileOutput) MarshalJSON ¶
func (t LivekitEncodedFileOutput) MarshalJSON() ([]byte, error)
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error
MergeLivekitEncodedFileOutput0 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput0
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error
MergeLivekitEncodedFileOutput1 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput1
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error
MergeLivekitEncodedFileOutput2 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput2
func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3 ¶
func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error
MergeLivekitEncodedFileOutput3 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput3
func (*LivekitEncodedFileOutput) UnmarshalJSON ¶
func (t *LivekitEncodedFileOutput) UnmarshalJSON(b []byte) error
type LivekitEncodedFileOutput0 ¶
type LivekitEncodedFileOutput0 struct {
AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}
LivekitEncodedFileOutput0 defines model for LivekitEncodedFileOutput.0.
type LivekitEncodedFileOutput1 ¶
type LivekitEncodedFileOutput1 struct {
Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}
LivekitEncodedFileOutput1 defines model for LivekitEncodedFileOutput.1.
type LivekitEncodedFileOutput2 ¶
type LivekitEncodedFileOutput2 struct {
Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}
LivekitEncodedFileOutput2 defines model for LivekitEncodedFileOutput.2.
type LivekitEncodedFileOutput3 ¶
type LivekitEncodedFileOutput3 struct {
S3 *LivekitS3Upload `json:"s3,omitempty"`
}
LivekitEncodedFileOutput3 defines model for LivekitEncodedFileOutput.3.
type LivekitEncodedFileType ¶
type LivekitEncodedFileType string
LivekitEncodedFileType defines model for livekit.EncodedFileType.
const ( DEFAULTFILETYPE LivekitEncodedFileType = "DEFAULT_FILETYPE" MCAP LivekitEncodedFileType = "MCAP" MP3 LivekitEncodedFileType = "MP3" MP4 LivekitEncodedFileType = "MP4" OGG LivekitEncodedFileType = "OGG" )
Defines values for LivekitEncodedFileType.
func (LivekitEncodedFileType) Valid ¶
func (e LivekitEncodedFileType) Valid() bool
Valid indicates whether the value is a known member of the LivekitEncodedFileType enum.
type LivekitEncodingOptions ¶
type LivekitEncodingOptions struct {
// AudioBitrate (default 128)
AudioBitrate *int32 `json:"audioBitrate,omitempty"`
// AudioCodec (default OPUS)
AudioCodec *LivekitAudioCodec `json:"audioCodec,omitempty"`
// AudioFrequency (default 44100)
AudioFrequency *int32 `json:"audioFrequency,omitempty"`
// AudioQuality --- Deprecated --- quality setting on audio encoder
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AudioQuality *int32 `json:"audioQuality,omitempty"`
// Depth (default 24)
Depth *int32 `json:"depth,omitempty"`
// Framerate (default 30)
Framerate *int32 `json:"framerate,omitempty"`
// Height (default 1080)
Height *int32 `json:"height,omitempty"`
// KeyFrameInterval in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
KeyFrameInterval *float64 `json:"keyFrameInterval,omitempty"`
// VideoBitrate (default 4500)
VideoBitrate *int32 `json:"videoBitrate,omitempty"`
// VideoCodec (default H264_MAIN)
VideoCodec *LivekitVideoCodec `json:"videoCodec,omitempty"`
// VideoQuality quality setting on video encoder
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
VideoQuality *int32 `json:"videoQuality,omitempty"`
// Width (default 1920)
Width *int32 `json:"width,omitempty"`
}
LivekitEncodingOptions defines model for livekit.EncodingOptions.
type LivekitEncodingOptionsPreset ¶
type LivekitEncodingOptionsPreset string
LivekitEncodingOptionsPreset defines model for livekit.EncodingOptionsPreset.
const ( H2641080P30 LivekitEncodingOptionsPreset = "H264_1080P_30" H2641080P60 LivekitEncodingOptionsPreset = "H264_1080P_60" H264720P30 LivekitEncodingOptionsPreset = "H264_720P_30" H264720P60 LivekitEncodingOptionsPreset = "H264_720P_60" PASSTHROUGH LivekitEncodingOptionsPreset = "PASSTHROUGH" PORTRAITH2641080P30 LivekitEncodingOptionsPreset = "PORTRAIT_H264_1080P_30" PORTRAITH2641080P60 LivekitEncodingOptionsPreset = "PORTRAIT_H264_1080P_60" PORTRAITH264720P30 LivekitEncodingOptionsPreset = "PORTRAIT_H264_720P_30" PORTRAITH264720P60 LivekitEncodingOptionsPreset = "PORTRAIT_H264_720P_60" )
Defines values for LivekitEncodingOptionsPreset.
func (LivekitEncodingOptionsPreset) Valid ¶
func (e LivekitEncodingOptionsPreset) Valid() bool
Valid indicates whether the value is a known member of the LivekitEncodingOptionsPreset enum.
type LivekitFileOutput ¶ added in v2.20.2
type LivekitFileOutput struct {
DisableManifest *bool `json:"disableManifest,omitempty"`
FileType *LivekitEncodedFileType `json:"fileType,omitempty"`
Filepath *string `json:"filepath,omitempty"`
}
LivekitFileOutput Unified file output — replaces v1 EncodedFileOutput and DirectFileOutput.
Whether transcoded depends on encoding options on the request.
type LivekitFilterParams ¶
type LivekitFilterParams struct {
ExcludeEvents *[]string `json:"excludeEvents,omitempty"`
IncludeEvents *[]string `json:"includeEvents,omitempty"`
}
LivekitFilterParams defines model for livekit.FilterParams.
type LivekitGCPUpload ¶
type LivekitGCPUpload struct {
Bucket *string `json:"bucket,omitempty"`
// Credentials service account credentials serialized in JSON "credentials.json"
Credentials *string `json:"credentials,omitempty"`
Proxy *LivekitProxyConfig `json:"proxy,omitempty"`
}
LivekitGCPUpload defines model for livekit.GCPUpload.
type LivekitImageCodec ¶
type LivekitImageCodec string
LivekitImageCodec defines model for livekit.ImageCodec.
const ( ICDEFAULT LivekitImageCodec = "IC_DEFAULT" ICJPEG LivekitImageCodec = "IC_JPEG" )
Defines values for LivekitImageCodec.
func (LivekitImageCodec) Valid ¶
func (e LivekitImageCodec) Valid() bool
Valid indicates whether the value is a known member of the LivekitImageCodec enum.
type LivekitImageFileSuffix ¶
type LivekitImageFileSuffix string
LivekitImageFileSuffix defines model for livekit.ImageFileSuffix.
const ( IMAGESUFFIXINDEX LivekitImageFileSuffix = "IMAGE_SUFFIX_INDEX" IMAGESUFFIXNONEOVERWRITE LivekitImageFileSuffix = "IMAGE_SUFFIX_NONE_OVERWRITE" IMAGESUFFIXTIMESTAMP LivekitImageFileSuffix = "IMAGE_SUFFIX_TIMESTAMP" )
Defines values for LivekitImageFileSuffix.
func (LivekitImageFileSuffix) Valid ¶
func (e LivekitImageFileSuffix) Valid() bool
Valid indicates whether the value is a known member of the LivekitImageFileSuffix enum.
type LivekitImageOutput ¶
type LivekitImageOutput struct {
// CaptureInterval in seconds (required)
CaptureInterval *int `json:"captureInterval,omitempty"`
// DisableManifest disable upload of manifest file (default false)
DisableManifest *bool `json:"disableManifest,omitempty"`
// FilenamePrefix (optional)
FilenamePrefix *string `json:"filenamePrefix,omitempty"`
// FilenameSuffix (optional, default INDEX)
FilenameSuffix *LivekitImageFileSuffix `json:"filenameSuffix,omitempty"`
// Height (optional, defaults to track height)
Height *int32 `json:"height,omitempty"`
// ImageCodec (optional)
ImageCodec *LivekitImageCodec `json:"imageCodec,omitempty"`
// Width (optional, defaults to track width)
Width *int32 `json:"width,omitempty"`
// contains filtered or unexported fields
}
LivekitImageOutput Capture images at a specified interval
func (LivekitImageOutput) AsLivekitImageOutput0 ¶
func (t LivekitImageOutput) AsLivekitImageOutput0() (LivekitImageOutput0, error)
AsLivekitImageOutput0 returns the union data inside the LivekitImageOutput as a LivekitImageOutput0
func (LivekitImageOutput) AsLivekitImageOutput1 ¶
func (t LivekitImageOutput) AsLivekitImageOutput1() (LivekitImageOutput1, error)
AsLivekitImageOutput1 returns the union data inside the LivekitImageOutput as a LivekitImageOutput1
func (LivekitImageOutput) AsLivekitImageOutput2 ¶
func (t LivekitImageOutput) AsLivekitImageOutput2() (LivekitImageOutput2, error)
AsLivekitImageOutput2 returns the union data inside the LivekitImageOutput as a LivekitImageOutput2
func (LivekitImageOutput) AsLivekitImageOutput3 ¶
func (t LivekitImageOutput) AsLivekitImageOutput3() (LivekitImageOutput3, error)
AsLivekitImageOutput3 returns the union data inside the LivekitImageOutput as a LivekitImageOutput3
func (*LivekitImageOutput) FromLivekitImageOutput0 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput0(v LivekitImageOutput0) error
FromLivekitImageOutput0 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput0
func (*LivekitImageOutput) FromLivekitImageOutput1 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput1(v LivekitImageOutput1) error
FromLivekitImageOutput1 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput1
func (*LivekitImageOutput) FromLivekitImageOutput2 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput2(v LivekitImageOutput2) error
FromLivekitImageOutput2 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput2
func (*LivekitImageOutput) FromLivekitImageOutput3 ¶
func (t *LivekitImageOutput) FromLivekitImageOutput3(v LivekitImageOutput3) error
FromLivekitImageOutput3 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput3
func (LivekitImageOutput) MarshalJSON ¶
func (t LivekitImageOutput) MarshalJSON() ([]byte, error)
func (*LivekitImageOutput) MergeLivekitImageOutput0 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput0(v LivekitImageOutput0) error
MergeLivekitImageOutput0 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput0
func (*LivekitImageOutput) MergeLivekitImageOutput1 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput1(v LivekitImageOutput1) error
MergeLivekitImageOutput1 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput1
func (*LivekitImageOutput) MergeLivekitImageOutput2 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput2(v LivekitImageOutput2) error
MergeLivekitImageOutput2 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput2
func (*LivekitImageOutput) MergeLivekitImageOutput3 ¶
func (t *LivekitImageOutput) MergeLivekitImageOutput3(v LivekitImageOutput3) error
MergeLivekitImageOutput3 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput3
func (*LivekitImageOutput) UnmarshalJSON ¶
func (t *LivekitImageOutput) UnmarshalJSON(b []byte) error
type LivekitImageOutput0 ¶
type LivekitImageOutput0 struct {
AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}
LivekitImageOutput0 defines model for LivekitImageOutput.0.
type LivekitImageOutput1 ¶
type LivekitImageOutput1 struct {
Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}
LivekitImageOutput1 defines model for LivekitImageOutput.1.
type LivekitImageOutput2 ¶
type LivekitImageOutput2 struct {
Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}
LivekitImageOutput2 defines model for LivekitImageOutput.2.
type LivekitImageOutput3 ¶
type LivekitImageOutput3 struct {
S3 *LivekitS3Upload `json:"s3,omitempty"`
}
LivekitImageOutput3 defines model for LivekitImageOutput.3.
type LivekitJobRestartPolicy ¶
type LivekitJobRestartPolicy string
LivekitJobRestartPolicy defines model for livekit.JobRestartPolicy.
const ( JRPNEVER LivekitJobRestartPolicy = "JRP_NEVER" JRPONFAILURE LivekitJobRestartPolicy = "JRP_ON_FAILURE" )
Defines values for LivekitJobRestartPolicy.
func (LivekitJobRestartPolicy) Valid ¶
func (e LivekitJobRestartPolicy) Valid() bool
Valid indicates whether the value is a known member of the LivekitJobRestartPolicy enum.
type LivekitListUpdate ¶ added in v2.20.1
type LivekitListUpdate struct {
// Add append items to a list, avoiding duplicates
Add *[]string `json:"add,omitempty"`
// Clear sets the list to an empty list
Clear *bool `json:"clear,omitempty"`
// Remove delete items from a list
Remove *[]string `json:"remove,omitempty"`
// Set set the field to a new list
Set *[]string `json:"set,omitempty"`
}
LivekitListUpdate ListUpdate is used for updated APIs where 'repeated string' field is modified.
type LivekitMediaSource ¶ added in v2.20.2
type LivekitMediaSource struct {
Audio *LivekitAudioConfig `json:"audio,omitempty"`
Data *LivekitDataConfig `json:"data,omitempty"`
// contains filtered or unexported fields
}
LivekitMediaSource Capture tracks directly from a room via SDK.
Unifies deprecated Participant, TrackComposite, and Track egress.
func (LivekitMediaSource) AsLivekitMediaSource0 ¶ added in v2.20.2
func (t LivekitMediaSource) AsLivekitMediaSource0() (LivekitMediaSource0, error)
AsLivekitMediaSource0 returns the union data inside the LivekitMediaSource as a LivekitMediaSource0
func (LivekitMediaSource) AsLivekitMediaSource1 ¶ added in v2.20.2
func (t LivekitMediaSource) AsLivekitMediaSource1() (LivekitMediaSource1, error)
AsLivekitMediaSource1 returns the union data inside the LivekitMediaSource as a LivekitMediaSource1
func (LivekitMediaSource) AsLivekitMediaSource2 ¶ added in v2.20.2
func (t LivekitMediaSource) AsLivekitMediaSource2() (LivekitMediaSource2, error)
AsLivekitMediaSource2 returns the union data inside the LivekitMediaSource as a LivekitMediaSource2
func (*LivekitMediaSource) FromLivekitMediaSource0 ¶ added in v2.20.2
func (t *LivekitMediaSource) FromLivekitMediaSource0(v LivekitMediaSource0) error
FromLivekitMediaSource0 overwrites any union data inside the LivekitMediaSource as the provided LivekitMediaSource0
func (*LivekitMediaSource) FromLivekitMediaSource1 ¶ added in v2.20.2
func (t *LivekitMediaSource) FromLivekitMediaSource1(v LivekitMediaSource1) error
FromLivekitMediaSource1 overwrites any union data inside the LivekitMediaSource as the provided LivekitMediaSource1
func (*LivekitMediaSource) FromLivekitMediaSource2 ¶ added in v2.20.2
func (t *LivekitMediaSource) FromLivekitMediaSource2(v LivekitMediaSource2) error
FromLivekitMediaSource2 overwrites any union data inside the LivekitMediaSource as the provided LivekitMediaSource2
func (LivekitMediaSource) MarshalJSON ¶ added in v2.20.2
func (t LivekitMediaSource) MarshalJSON() ([]byte, error)
func (*LivekitMediaSource) MergeLivekitMediaSource0 ¶ added in v2.20.2
func (t *LivekitMediaSource) MergeLivekitMediaSource0(v LivekitMediaSource0) error
MergeLivekitMediaSource0 performs a merge with any union data inside the LivekitMediaSource, using the provided LivekitMediaSource0
func (*LivekitMediaSource) MergeLivekitMediaSource1 ¶ added in v2.20.2
func (t *LivekitMediaSource) MergeLivekitMediaSource1(v LivekitMediaSource1) error
MergeLivekitMediaSource1 performs a merge with any union data inside the LivekitMediaSource, using the provided LivekitMediaSource1
func (*LivekitMediaSource) MergeLivekitMediaSource2 ¶ added in v2.20.2
func (t *LivekitMediaSource) MergeLivekitMediaSource2(v LivekitMediaSource2) error
MergeLivekitMediaSource2 performs a merge with any union data inside the LivekitMediaSource, using the provided LivekitMediaSource2
func (*LivekitMediaSource) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitMediaSource) UnmarshalJSON(b []byte) error
type LivekitMediaSource0 ¶ added in v2.20.2
type LivekitMediaSource0 struct {
ParticipantVideo *LivekitParticipantVideo `json:"participantVideo,omitempty"`
}
LivekitMediaSource0 defines model for LivekitMediaSource.0.
type LivekitMediaSource1 ¶ added in v2.20.2
type LivekitMediaSource1 struct {
VideoTrackId *string `json:"videoTrackId,omitempty"`
}
LivekitMediaSource1 defines model for LivekitMediaSource.1.
type LivekitMediaSource2 ¶ added in v2.20.2
type LivekitMediaSource2 struct {
// Videos Multiple independent video tracks; requires an MCAP file output
Videos *LivekitVideoConfig `json:"videos,omitempty"`
}
LivekitMediaSource2 defines model for LivekitMediaSource.2.
type LivekitOutput ¶ added in v2.20.2
type LivekitOutput struct {
// Storage Per-output storage override (falls back to request, then server)
Storage *LivekitStorageConfig `json:"storage,omitempty"`
// contains filtered or unexported fields
}
LivekitOutput defines model for livekit.Output.
func (LivekitOutput) AsLivekitOutput0 ¶ added in v2.20.2
func (t LivekitOutput) AsLivekitOutput0() (LivekitOutput0, error)
AsLivekitOutput0 returns the union data inside the LivekitOutput as a LivekitOutput0
func (LivekitOutput) AsLivekitOutput1 ¶ added in v2.20.2
func (t LivekitOutput) AsLivekitOutput1() (LivekitOutput1, error)
AsLivekitOutput1 returns the union data inside the LivekitOutput as a LivekitOutput1
func (LivekitOutput) AsLivekitOutput2 ¶ added in v2.20.2
func (t LivekitOutput) AsLivekitOutput2() (LivekitOutput2, error)
AsLivekitOutput2 returns the union data inside the LivekitOutput as a LivekitOutput2
func (LivekitOutput) AsLivekitOutput3 ¶ added in v2.20.2
func (t LivekitOutput) AsLivekitOutput3() (LivekitOutput3, error)
AsLivekitOutput3 returns the union data inside the LivekitOutput as a LivekitOutput3
func (*LivekitOutput) FromLivekitOutput0 ¶ added in v2.20.2
func (t *LivekitOutput) FromLivekitOutput0(v LivekitOutput0) error
FromLivekitOutput0 overwrites any union data inside the LivekitOutput as the provided LivekitOutput0
func (*LivekitOutput) FromLivekitOutput1 ¶ added in v2.20.2
func (t *LivekitOutput) FromLivekitOutput1(v LivekitOutput1) error
FromLivekitOutput1 overwrites any union data inside the LivekitOutput as the provided LivekitOutput1
func (*LivekitOutput) FromLivekitOutput2 ¶ added in v2.20.2
func (t *LivekitOutput) FromLivekitOutput2(v LivekitOutput2) error
FromLivekitOutput2 overwrites any union data inside the LivekitOutput as the provided LivekitOutput2
func (*LivekitOutput) FromLivekitOutput3 ¶ added in v2.20.2
func (t *LivekitOutput) FromLivekitOutput3(v LivekitOutput3) error
FromLivekitOutput3 overwrites any union data inside the LivekitOutput as the provided LivekitOutput3
func (LivekitOutput) MarshalJSON ¶ added in v2.20.2
func (t LivekitOutput) MarshalJSON() ([]byte, error)
func (*LivekitOutput) MergeLivekitOutput0 ¶ added in v2.20.2
func (t *LivekitOutput) MergeLivekitOutput0(v LivekitOutput0) error
MergeLivekitOutput0 performs a merge with any union data inside the LivekitOutput, using the provided LivekitOutput0
func (*LivekitOutput) MergeLivekitOutput1 ¶ added in v2.20.2
func (t *LivekitOutput) MergeLivekitOutput1(v LivekitOutput1) error
MergeLivekitOutput1 performs a merge with any union data inside the LivekitOutput, using the provided LivekitOutput1
func (*LivekitOutput) MergeLivekitOutput2 ¶ added in v2.20.2
func (t *LivekitOutput) MergeLivekitOutput2(v LivekitOutput2) error
MergeLivekitOutput2 performs a merge with any union data inside the LivekitOutput, using the provided LivekitOutput2
func (*LivekitOutput) MergeLivekitOutput3 ¶ added in v2.20.2
func (t *LivekitOutput) MergeLivekitOutput3(v LivekitOutput3) error
MergeLivekitOutput3 performs a merge with any union data inside the LivekitOutput, using the provided LivekitOutput3
func (*LivekitOutput) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitOutput) UnmarshalJSON(b []byte) error
type LivekitOutput0 ¶ added in v2.20.2
type LivekitOutput0 struct {
File *LivekitFileOutput `json:"file,omitempty"`
}
LivekitOutput0 defines model for LivekitOutput.0.
type LivekitOutput1 ¶ added in v2.20.2
type LivekitOutput1 struct {
// Images TODO: DataOutput data = 5;
Images *LivekitImageOutput `json:"images,omitempty"`
}
LivekitOutput1 defines model for LivekitOutput.1.
type LivekitOutput2 ¶ added in v2.20.2
type LivekitOutput2 struct {
Segments *LivekitSegmentedFileOutput `json:"segments,omitempty"`
}
LivekitOutput2 defines model for LivekitOutput.2.
type LivekitOutput3 ¶ added in v2.20.2
type LivekitOutput3 struct {
Stream *LivekitStreamOutput `json:"stream,omitempty"`
}
LivekitOutput3 defines model for LivekitOutput.3.
type LivekitParticipantEgressConfig ¶ added in v2.20.2
type LivekitParticipantEgressConfig struct {
// CaptureData also record the participant's data tracks
CaptureData *bool `json:"captureData,omitempty"`
Outputs *[]LivekitOutput `json:"outputs,omitempty"`
Storage *LivekitStorageConfig `json:"storage,omitempty"`
Webhooks *[]LivekitWebhookConfig `json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
LivekitParticipantEgressConfig defines model for livekit.ParticipantEgressConfig.
func (LivekitParticipantEgressConfig) AsLivekitParticipantEgressConfig0 ¶ added in v2.20.2
func (t LivekitParticipantEgressConfig) AsLivekitParticipantEgressConfig0() (LivekitParticipantEgressConfig0, error)
AsLivekitParticipantEgressConfig0 returns the union data inside the LivekitParticipantEgressConfig as a LivekitParticipantEgressConfig0
func (LivekitParticipantEgressConfig) AsLivekitParticipantEgressConfig1 ¶ added in v2.20.2
func (t LivekitParticipantEgressConfig) AsLivekitParticipantEgressConfig1() (LivekitParticipantEgressConfig1, error)
AsLivekitParticipantEgressConfig1 returns the union data inside the LivekitParticipantEgressConfig as a LivekitParticipantEgressConfig1
func (*LivekitParticipantEgressConfig) FromLivekitParticipantEgressConfig0 ¶ added in v2.20.2
func (t *LivekitParticipantEgressConfig) FromLivekitParticipantEgressConfig0(v LivekitParticipantEgressConfig0) error
FromLivekitParticipantEgressConfig0 overwrites any union data inside the LivekitParticipantEgressConfig as the provided LivekitParticipantEgressConfig0
func (*LivekitParticipantEgressConfig) FromLivekitParticipantEgressConfig1 ¶ added in v2.20.2
func (t *LivekitParticipantEgressConfig) FromLivekitParticipantEgressConfig1(v LivekitParticipantEgressConfig1) error
FromLivekitParticipantEgressConfig1 overwrites any union data inside the LivekitParticipantEgressConfig as the provided LivekitParticipantEgressConfig1
func (LivekitParticipantEgressConfig) MarshalJSON ¶ added in v2.20.2
func (t LivekitParticipantEgressConfig) MarshalJSON() ([]byte, error)
func (*LivekitParticipantEgressConfig) MergeLivekitParticipantEgressConfig0 ¶ added in v2.20.2
func (t *LivekitParticipantEgressConfig) MergeLivekitParticipantEgressConfig0(v LivekitParticipantEgressConfig0) error
MergeLivekitParticipantEgressConfig0 performs a merge with any union data inside the LivekitParticipantEgressConfig, using the provided LivekitParticipantEgressConfig0
func (*LivekitParticipantEgressConfig) MergeLivekitParticipantEgressConfig1 ¶ added in v2.20.2
func (t *LivekitParticipantEgressConfig) MergeLivekitParticipantEgressConfig1(v LivekitParticipantEgressConfig1) error
MergeLivekitParticipantEgressConfig1 performs a merge with any union data inside the LivekitParticipantEgressConfig, using the provided LivekitParticipantEgressConfig1
func (*LivekitParticipantEgressConfig) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitParticipantEgressConfig) UnmarshalJSON(b []byte) error
type LivekitParticipantEgressConfig0 ¶ added in v2.20.2
type LivekitParticipantEgressConfig0 struct {
Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}
LivekitParticipantEgressConfig0 defines model for LivekitParticipantEgressConfig.0.
type LivekitParticipantEgressConfig1 ¶ added in v2.20.2
type LivekitParticipantEgressConfig1 struct {
Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}
LivekitParticipantEgressConfig1 defines model for LivekitParticipantEgressConfig.1.
type LivekitParticipantInfoKind ¶ added in v2.20.2
type LivekitParticipantInfoKind string
LivekitParticipantInfoKind defines model for livekit.ParticipantInfo.Kind.
const ( AGENT LivekitParticipantInfoKind = "AGENT" BRIDGE LivekitParticipantInfoKind = "BRIDGE" CONNECTOR LivekitParticipantInfoKind = "CONNECTOR" EGRESS LivekitParticipantInfoKind = "EGRESS" INGRESS LivekitParticipantInfoKind = "INGRESS" SIP LivekitParticipantInfoKind = "SIP" STANDARD LivekitParticipantInfoKind = "STANDARD" )
Defines values for LivekitParticipantInfoKind.
func (LivekitParticipantInfoKind) Valid ¶ added in v2.20.2
func (e LivekitParticipantInfoKind) Valid() bool
Valid indicates whether the value is a known member of the LivekitParticipantInfoKind enum.
type LivekitParticipantVideo ¶ added in v2.20.2
type LivekitParticipantVideo struct {
Identity *string `json:"identity,omitempty"`
}
LivekitParticipantVideo defines model for livekit.ParticipantVideo.
type LivekitPhoneNumber ¶ added in v2.20.1
type LivekitPhoneNumber struct {
// AreaCode Area code (e.g., "415")
AreaCode *string `json:"areaCode,omitempty"`
// AssignedAt Assignment timestamp
AssignedAt *GoogleProtobufTimestamp `json:"assignedAt,omitempty"`
// Capabilities Available capabilities (e.g., "voice", "sms")
Capabilities *[]string `json:"capabilities,omitempty"`
// CountryCode Country code (e.g., "US")
CountryCode *string `json:"countryCode,omitempty"`
// CreatedAt Creation timestamp
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// E164Format Phone number in E.164 format (e.g., "+14155552671")
E164Format *string `json:"e164Format,omitempty"`
// Id Unique identifier
Id *string `json:"id,omitempty"`
// InboundStatus Inbound calling status
InboundStatus *LivekitPhoneNumberInboundStatus `json:"inboundStatus,omitempty"`
// Locality City/locality (e.g., "San Francisco")
Locality *string `json:"locality,omitempty"`
// Name Human-readable name/label for the phone number
Name *string `json:"name,omitempty"`
// NumberType Number type (mobile, local, toll-free, unknown)
NumberType *LivekitPhoneNumberType `json:"numberType,omitempty"`
// OutboundStatus Outbound calling status
OutboundStatus *LivekitPhoneNumberOutboundStatus `json:"outboundStatus,omitempty"`
// Region State/region (e.g., "CA")
Region *string `json:"region,omitempty"`
// ReleasedAt Release timestamp (if applicable)
ReleasedAt *GoogleProtobufTimestamp `json:"releasedAt,omitempty"`
// SipDispatchRuleId Associated SIP dispatch rule ID (deprecated: use sip_dispatch_rule_ids instead)
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SipDispatchRuleId *string `json:"sipDispatchRuleId,omitempty"`
// SipDispatchRuleIds Associated SIP dispatch rule IDs
SipDispatchRuleIds *[]string `json:"sipDispatchRuleIds,omitempty"`
// SpamScore Spam score for fraud detection
SpamScore *float64 `json:"spamScore,omitempty"`
// Status Current status
Status *LivekitPhoneNumberStatus `json:"status,omitempty"`
// UpdatedAt Last update timestamp
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
}
LivekitPhoneNumber PhoneNumber - Unified phone number type for inventory and purchased numbers
type LivekitPhoneNumberInboundStatus ¶ added in v2.20.1
type LivekitPhoneNumberInboundStatus string
LivekitPhoneNumberInboundStatus defines model for livekit.PhoneNumberInboundStatus.
const ( PHONENUMBERINSTATUSACTIVE LivekitPhoneNumberInboundStatus = "PHONE_NUMBER_IN_STATUS_ACTIVE" PHONENUMBERINSTATUSDETACHED LivekitPhoneNumberInboundStatus = "PHONE_NUMBER_IN_STATUS_DETACHED" PHONENUMBERINSTATUSUNAVAILABLE LivekitPhoneNumberInboundStatus = "PHONE_NUMBER_IN_STATUS_UNAVAILABLE" PHONENUMBERINSTATUSUNSPECIFIED LivekitPhoneNumberInboundStatus = "PHONE_NUMBER_IN_STATUS_UNSPECIFIED" )
Defines values for LivekitPhoneNumberInboundStatus.
func (LivekitPhoneNumberInboundStatus) Valid ¶ added in v2.20.1
func (e LivekitPhoneNumberInboundStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPhoneNumberInboundStatus enum.
type LivekitPhoneNumberOutboundStatus ¶ added in v2.20.1
type LivekitPhoneNumberOutboundStatus string
LivekitPhoneNumberOutboundStatus defines model for livekit.PhoneNumberOutboundStatus.
const ( PHONENUMBEROUTSTATUSACTIVE LivekitPhoneNumberOutboundStatus = "PHONE_NUMBER_OUT_STATUS_ACTIVE" PHONENUMBEROUTSTATUSUNAVAILABLE LivekitPhoneNumberOutboundStatus = "PHONE_NUMBER_OUT_STATUS_UNAVAILABLE" PHONENUMBEROUTSTATUSUNSPECIFIED LivekitPhoneNumberOutboundStatus = "PHONE_NUMBER_OUT_STATUS_UNSPECIFIED" )
Defines values for LivekitPhoneNumberOutboundStatus.
func (LivekitPhoneNumberOutboundStatus) Valid ¶ added in v2.20.1
func (e LivekitPhoneNumberOutboundStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPhoneNumberOutboundStatus enum.
type LivekitPhoneNumberStatus ¶ added in v2.20.1
type LivekitPhoneNumberStatus string
LivekitPhoneNumberStatus Phone number status enumeration
const ( PHONENUMBERSTATUSACTIVE LivekitPhoneNumberStatus = "PHONE_NUMBER_STATUS_ACTIVE" PHONENUMBERSTATUSOFFLINE LivekitPhoneNumberStatus = "PHONE_NUMBER_STATUS_OFFLINE" PHONENUMBERSTATUSPENDING LivekitPhoneNumberStatus = "PHONE_NUMBER_STATUS_PENDING" PHONENUMBERSTATUSRELEASED LivekitPhoneNumberStatus = "PHONE_NUMBER_STATUS_RELEASED" PHONENUMBERSTATUSUNSPECIFIED LivekitPhoneNumberStatus = "PHONE_NUMBER_STATUS_UNSPECIFIED" )
Defines values for LivekitPhoneNumberStatus.
func (LivekitPhoneNumberStatus) Valid ¶ added in v2.20.1
func (e LivekitPhoneNumberStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPhoneNumberStatus enum.
type LivekitPhoneNumberType ¶ added in v2.20.1
type LivekitPhoneNumberType string
LivekitPhoneNumberType Phone number type enumeration
const ( PHONENUMBERTYPELOCAL LivekitPhoneNumberType = "PHONE_NUMBER_TYPE_LOCAL" PHONENUMBERTYPEMOBILE LivekitPhoneNumberType = "PHONE_NUMBER_TYPE_MOBILE" PHONENUMBERTYPETOLLFREE LivekitPhoneNumberType = "PHONE_NUMBER_TYPE_TOLL_FREE" PHONENUMBERTYPEUNKNOWN LivekitPhoneNumberType = "PHONE_NUMBER_TYPE_UNKNOWN" )
Defines values for LivekitPhoneNumberType.
func (LivekitPhoneNumberType) Valid ¶ added in v2.20.1
func (e LivekitPhoneNumberType) Valid() bool
Valid indicates whether the value is a known member of the LivekitPhoneNumberType enum.
type LivekitPresignedPostRequest ¶
type LivekitPresignedPostRequest struct {
Url *string `json:"url,omitempty"`
Values *map[string]string `json:"values,omitempty"`
}
LivekitPresignedPostRequest defines model for livekit.PresignedPostRequest.
type LivekitProxyConfig ¶
type LivekitProxyConfig struct {
Password *string `json:"password,omitempty"`
Url *string `json:"url,omitempty"`
Username *string `json:"username,omitempty"`
}
LivekitProxyConfig defines model for livekit.ProxyConfig.
type LivekitPublicapiAgentbuilderV1Agent ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1Agent struct {
// CloudAgentId The ID of the agent on LiveKit Cloud (`CA_...`), as other agent APIs and
// the `lk` CLI show it.
CloudAgentId *string `json:"cloudAgentId,omitempty"`
// Config The current configuration. `ListAgents` does not set it.
Config *LivekitPublicapiAgentbuilderV1AgentConfig `json:"config,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// Deployment The deployment of the agent. Unset when the API cannot read the status.
Deployment *LivekitPublicapiAgentbuilderV1Deployment `json:"deployment,omitempty"`
// Id The ID of the Agent Builder agent (`AB_...`), as the dashboard shows it.
Id *string `json:"id,omitempty"`
// Name The name the agent registers under. Dispatch this name to send the agent
// to a room.
Name *string `json:"name,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
// VersionId The version that holds the current configuration.
VersionId *string `json:"versionId,omitempty"`
}
LivekitPublicapiAgentbuilderV1Agent An agent made from a configuration.
type LivekitPublicapiAgentbuilderV1AgentConfig ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfig struct {
// AllowGreetingInterrupt If true, the user can interrupt the greeting.
AllowGreetingInterrupt *bool `json:"allowGreetingInterrupt,omitempty"`
// BackgroundAudio A sound that plays behind the agent's voice.
BackgroundAudio *LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio `json:"backgroundAudio,omitempty"`
// BuilderAgentMode prompt_instructions makes an agent that follows instructions in an
// open conversation. data_collection makes an agent that collects the
// data in dataCollectionFields, one task at a time.
BuilderAgentMode *LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode `json:"builderAgentMode,omitempty"`
// ClientTools Functions the agent can call on the user's frontend, through an RPC
// to the user's participant.
ClientTools *[]LivekitPublicapiAgentbuilderV1AgentConfigClientTool `json:"clientTools,omitempty"`
// DataCollectionFields The data to collect, one task for each item, in order. Used only
// when builderAgentMode is data_collection.
DataCollectionFields *[]LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionField `json:"dataCollectionFields,omitempty"`
// EndCallTool A tool the agent can use to end the call.
EndCallTool *LivekitPublicapiAgentbuilderV1AgentConfigEndCallTool `json:"endCallTool,omitempty"`
// EndOfCall A report that the agent sends to your URL when a call ends. It
// contains a summary of the conversation, and for a data_collection
// agent, the collected data.
EndOfCall *LivekitPublicapiAgentbuilderV1AgentConfigEndOfCall `json:"endOfCall,omitempty"`
// Expressive If true, the agent speaks with more expression, where the tts model supports it.
Expressive *bool `json:"expressive,omitempty"`
// GreetUser If true, the agent speaks first when a user joins.
GreetUser *bool `json:"greetUser,omitempty"`
// GreetingInstructions Instructions for the first thing the agent says. Used only when
// greetUser is true. Can contain {{metadata.<name>}} placeholders.
GreetingInstructions *string `json:"greetingInstructions,omitempty"`
// HttpTools HTTP requests the agent can make during the conversation.
HttpTools *[]LivekitPublicapiAgentbuilderV1AgentConfigHttpTool `json:"httpTools,omitempty"`
// Instructions The system prompt of the agent. Can contain {{metadata.<name>}}
// placeholders. Unset uses a general voice-assistant prompt.
Instructions *string `json:"instructions,omitempty"`
// KeytermDetection If true, speech-to-text detects key terms in the speech.
KeytermDetection *bool `json:"keytermDetection,omitempty"`
// Keyterms A comma-separated list of words and phrases that speech-to-text
// must recognize, such as product names.
Keyterms *string `json:"keyterms,omitempty"`
// Llm The language model. Pipeline mode only.
Llm *LivekitPublicapiAgentbuilderV1AgentConfigModelId `json:"llm,omitempty"`
// LlmReasoningEffort The reasoning effort of llm, for a model that supports it.
LlmReasoningEffort *LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort `json:"llmReasoningEffort,omitempty"`
// McpServers MCP servers whose tools the agent can use.
McpServers *[]LivekitPublicapiAgentbuilderV1AgentConfigMcpServer `json:"mcpServers,omitempty"`
// Metadata The placeholders that instructions, greetingInstructions and header
// values can use, by name. A default applies when the dispatch
// metadata does not set the value.
Metadata *map[string]LivekitPublicapiAgentbuilderV1AgentConfigVariable `json:"metadata,omitempty"`
// ModelMode pipeline uses separate speech-to-text (stt), language (llm) and
// text-to-speech (tts) models. realtime uses one speech-to-speech
// model, set in tts.
ModelMode *LivekitPublicapiAgentbuilderV1AgentConfigModelMode `json:"modelMode,omitempty"`
// NoiseCancellation The noise cancellation applied to the user's audio. Use
// krisp-bvc-telephony for phone calls. none turns it off.
NoiseCancellation *LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation `json:"noiseCancellation,omitempty"`
// Stt The speech-to-text model. Pipeline mode only.
Stt *LivekitPublicapiAgentbuilderV1AgentConfigModelId `json:"stt,omitempty"`
// SttLanguage The language the user speaks. Pipeline mode only.
SttLanguage *LivekitPublicapiAgentbuilderV1AgentConfigLanguageCode `json:"sttLanguage,omitempty"`
// Tts In pipeline mode, the text-to-speech model. In realtime mode, the
// speech-to-speech model, for example "openai/gpt-realtime-2.1".
Tts *LivekitPublicapiAgentbuilderV1AgentConfigModelId `json:"tts,omitempty"`
// TtsLanguage The language the agent speaks.
TtsLanguage *LivekitPublicapiAgentbuilderV1AgentConfigLanguageCode `json:"ttsLanguage,omitempty"`
// TtsVoice The voice of the tts model. Each model has its own voice IDs.
TtsVoice *string `json:"ttsVoice,omitempty"`
// TtsVoiceType custom if ttsVoice is a voice that you made with the tts provider.
TtsVoiceType *LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType `json:"ttsVoiceType,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfig The configuration of an Agent Builder agent. LiveKit generates the agent's code from it when you deploy the agent. Unset properties take their default.
In instructions, greetingInstructions and header values, a {{metadata.<name>}} placeholder takes its value from the JSON metadata of the agent dispatch. The server ignores unknown properties, and does not store them.
type LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio string
LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio A sound that plays behind the agent's voice.
const ( LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudioCityAmbienceOgg LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio = "city-ambience.ogg" LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudioCrowdedRoomOgg LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio = "crowded-room.ogg" LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudioForestAmbienceOgg LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio = "forest-ambience.ogg" LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudioNone LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio = "none" LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudioOfficeAmbienceOgg LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio = "office-ambience.ogg" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio.
func (LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigBackgroundAudio enum.
type LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode string
LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode prompt_instructions makes an agent that follows instructions in an open conversation. data_collection makes an agent that collects the data in dataCollectionFields, one task at a time.
const ( DataCollection LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode = "data_collection" PromptInstructions LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode = "prompt_instructions" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode.
func (LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigBuilderAgentMode enum.
type LivekitPublicapiAgentbuilderV1AgentConfigClientTool ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigClientTool struct {
// Description Tells the model when to use the tool.
Description string `json:"description"`
// Name The tool name the model sees, and the RPC method the agent calls
// on the frontend. Unique in the agent.
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
Parameters *[]LivekitPublicapiAgentbuilderV1AgentConfigToolParameter `json:"parameters,omitempty"`
// PreviewResponse A sample response, used when you preview the agent in the dashboard.
PreviewResponse *string `json:"previewResponse,omitempty"`
// Silent If true, the agent does not tell the user that it uses the tool.
Silent *bool `json:"silent,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfigClientTool defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.ClientTool.
type LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionField ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionField struct {
// HasManyResults If true, the agent collects a list of results, until the user says the list is complete.
HasManyResults *bool `json:"hasManyResults,omitempty"`
// Name The task name. Unique in the agent.
Name LivekitPublicapiAgentbuilderV1AgentConfigFieldName `json:"name"`
// ResultFields The values that one result contains.
ResultFields []struct {
Description string `json:"description"`
// Name Unique in the field.
Name LivekitPublicapiAgentbuilderV1AgentConfigFieldName `json:"name"`
Optional *bool `json:"optional,omitempty"`
Type *LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType `json:"type,omitempty"`
} `json:"resultFields"`
// TaskInstructions How the agent collects this data.
TaskInstructions string `json:"taskInstructions"`
}
LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionField defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.DataCollectionField.
type LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType string
LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType defines model for LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionField.ResultFields.Type.
const ( LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsTypeBoolean LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType = "boolean" LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsTypeNumber LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType = "number" LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsTypeString LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType = "string" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigDataCollectionFieldResultFieldsType.
type LivekitPublicapiAgentbuilderV1AgentConfigEndCallTool ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigEndCallTool struct {
// DeleteRoom If true, ending the call also closes the room for all participants.
DeleteRoom *bool `json:"deleteRoom,omitempty"`
// Description Tells the model when to end the call.
Description *string `json:"description,omitempty"`
Enabled bool `json:"enabled"`
// Instructions What the agent says before it ends the call.
Instructions *string `json:"instructions,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfigEndCallTool A tool the agent can use to end the call.
type LivekitPublicapiAgentbuilderV1AgentConfigEndOfCall ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigEndOfCall struct {
// Enabled If true, the agent writes a summary and sends the report. A
// data_collection agent sends the collected data to url even when
// this is false.
Enabled bool `json:"enabled"`
Headers *LivekitPublicapiAgentbuilderV1AgentConfigHeaders `json:"headers,omitempty"`
// Llm The model that writes the summary.
Llm *LivekitPublicapiAgentbuilderV1AgentConfigModelId `json:"llm,omitempty"`
// ReasoningEffort The reasoning effort of llm. Unset is low when enabled is true, and none when it is false.
ReasoningEffort *LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort `json:"reasoningEffort,omitempty"`
// SummaryInstructions Instructions for the summary, added to the default ones.
SummaryInstructions *string `json:"summaryInstructions,omitempty"`
// Url The URL that receives the report as an HTTP POST. Required when enabled is true.
Url *string `json:"url,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfigEndOfCall A report that the agent sends to your URL when a call ends. It contains a summary of the conversation, and for a data_collection agent, the collected data.
type LivekitPublicapiAgentbuilderV1AgentConfigFieldName ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigFieldName = string
LivekitPublicapiAgentbuilderV1AgentConfigFieldName Lowercase snake_case, for example customer_name. Not a Python keyword.
type LivekitPublicapiAgentbuilderV1AgentConfigHeader ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigHeader struct {
// Name Starts with a letter, then letters, digits, "_" and "-".
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
// Value Can contain {{metadata.<name>}} placeholders. A caller who cannot
// update the agent reads `********` in place of the value.
// The API rejects `********` as a value.
Value string `json:"value"`
}
LivekitPublicapiAgentbuilderV1AgentConfigHeader defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.Header.
type LivekitPublicapiAgentbuilderV1AgentConfigHeaders ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigHeaders = []LivekitPublicapiAgentbuilderV1AgentConfigHeader
LivekitPublicapiAgentbuilderV1AgentConfigHeaders defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.Headers.
type LivekitPublicapiAgentbuilderV1AgentConfigHttpTool ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigHttpTool struct {
// Description Tells the model when to use the tool.
Description string `json:"description"`
Headers *LivekitPublicapiAgentbuilderV1AgentConfigHeaders `json:"headers,omitempty"`
Method *LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod `json:"method,omitempty"`
// Name The tool name the model sees. Unique in the agent.
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
Parameters *[]LivekitPublicapiAgentbuilderV1AgentConfigToolParameter `json:"parameters,omitempty"`
// Silent If true, the agent does not tell the user that it uses the tool.
Silent *bool `json:"silent,omitempty"`
// Url The request URL. A path segment that starts with a colon
// (/users/:userId) takes the value of the parameter with that name.
Url LivekitPublicapiAgentbuilderV1AgentConfigUrl `json:"url"`
}
LivekitPublicapiAgentbuilderV1AgentConfigHttpTool defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.HttpTool.
type LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod string
LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod defines model for LivekitPublicapiAgentbuilderV1AgentConfigHttpTool.Method.
const ( DELETE LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod = "DELETE" GET LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod = "GET" PATCH LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod = "PATCH" POST LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod = "POST" PUT LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod = "PUT" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod.
func (LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigHttpToolMethod enum.
type LivekitPublicapiAgentbuilderV1AgentConfigLanguageCode ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigLanguageCode = string
LivekitPublicapiAgentbuilderV1AgentConfigLanguageCode A language code, for example "en".
type LivekitPublicapiAgentbuilderV1AgentConfigMcpServer ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigMcpServer struct {
Headers *LivekitPublicapiAgentbuilderV1AgentConfigHeaders `json:"headers,omitempty"`
// Name Starts with a letter, then letters, digits, "_" and "-".
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
// Url The URL of the MCP server.
Url LivekitPublicapiAgentbuilderV1AgentConfigUrl `json:"url"`
}
LivekitPublicapiAgentbuilderV1AgentConfigMcpServer defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.McpServer.
type LivekitPublicapiAgentbuilderV1AgentConfigModelId ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigModelId = string
LivekitPublicapiAgentbuilderV1AgentConfigModelId A LiveKit Inference model ID, as "<provider>/<model>".
type LivekitPublicapiAgentbuilderV1AgentConfigModelMode ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigModelMode string
LivekitPublicapiAgentbuilderV1AgentConfigModelMode pipeline uses separate speech-to-text (stt), language (llm) and text-to-speech (tts) models. realtime uses one speech-to-speech model, set in tts.
const ( Pipeline LivekitPublicapiAgentbuilderV1AgentConfigModelMode = "pipeline" Realtime LivekitPublicapiAgentbuilderV1AgentConfigModelMode = "realtime" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigModelMode.
func (LivekitPublicapiAgentbuilderV1AgentConfigModelMode) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigModelMode) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigModelMode enum.
type LivekitPublicapiAgentbuilderV1AgentConfigName ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigName = string
LivekitPublicapiAgentbuilderV1AgentConfigName Starts with a letter, then letters, digits, "_" and "-".
type LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation string
LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation The noise cancellation applied to the user's audio. Use krisp-bvc-telephony for phone calls. none turns it off.
const ( LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationKrispBvc LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "krisp-bvc" LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationKrispBvcTelephony LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "krisp-bvc-telephony" LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationKrispNc LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "krisp-nc" LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationNone LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "none" LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationQuailL LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "quail-l" LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationQuailVfL LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "quail-vf-l" LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellationQuailVfS LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation = "quail-vf-s" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation.
func (LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigNoiseCancellation enum.
type LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort string
LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.ReasoningEffort.
const ( LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffortHigh LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort = "high" LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffortLow LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort = "low" LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffortMedium LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort = "medium" LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffortNone LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort = "none" LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffortXhigh LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort = "xhigh" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort.
func (LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigReasoningEffort enum.
type LivekitPublicapiAgentbuilderV1AgentConfigToolParameter ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigToolParameter struct {
// Description Tells the model what value to give.
Description string `json:"description"`
// Name The parameter name. An HTTP tool sends a parameter that its url
// names as a path segment (":name") in the path, and all others in
// the query (GET) or the JSON body.
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
// Required If false, the model can omit the parameter.
Required *bool `json:"required,omitempty"`
Type *LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType `json:"type,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfigToolParameter defines model for livekit.publicapi.agentbuilder.v1.AgentConfig.ToolParameter.
type LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType string
LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType defines model for LivekitPublicapiAgentbuilderV1AgentConfigToolParameter.Type.
const ( LivekitPublicapiAgentbuilderV1AgentConfigToolParameterTypeBoolean LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType = "boolean" LivekitPublicapiAgentbuilderV1AgentConfigToolParameterTypeInteger LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType = "integer" LivekitPublicapiAgentbuilderV1AgentConfigToolParameterTypeNumber LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType = "number" LivekitPublicapiAgentbuilderV1AgentConfigToolParameterTypeString LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType = "string" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType.
func (LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigToolParameterType enum.
type LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType string
LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType custom if ttsVoice is a voice that you made with the tts provider.
const ( Custom LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType = "custom" Default LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType = "default" )
Defines values for LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType.
func (LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1AgentConfigTtsVoiceType enum.
type LivekitPublicapiAgentbuilderV1AgentConfigUrl ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigUrl = string
LivekitPublicapiAgentbuilderV1AgentConfigUrl An http or https URL.
type LivekitPublicapiAgentbuilderV1AgentConfigVariable ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigVariable struct {
// contains filtered or unexported fields
}
LivekitPublicapiAgentbuilderV1AgentConfigVariable A placeholder. type is string, number or boolean; with no type, the type of default decides.
func (LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable0 ¶ added in v2.20.2
func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable0() (LivekitPublicapiAgentbuilderV1AgentConfigVariable0, error)
AsLivekitPublicapiAgentbuilderV1AgentConfigVariable0 returns the union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable as a LivekitPublicapiAgentbuilderV1AgentConfigVariable0
func (LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable1 ¶ added in v2.20.2
func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable1() (LivekitPublicapiAgentbuilderV1AgentConfigVariable1, error)
AsLivekitPublicapiAgentbuilderV1AgentConfigVariable1 returns the union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable as a LivekitPublicapiAgentbuilderV1AgentConfigVariable1
func (LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable2 ¶ added in v2.20.2
func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) AsLivekitPublicapiAgentbuilderV1AgentConfigVariable2() (LivekitPublicapiAgentbuilderV1AgentConfigVariable2, error)
AsLivekitPublicapiAgentbuilderV1AgentConfigVariable2 returns the union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable as a LivekitPublicapiAgentbuilderV1AgentConfigVariable2
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable0 ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable0(v LivekitPublicapiAgentbuilderV1AgentConfigVariable0) error
FromLivekitPublicapiAgentbuilderV1AgentConfigVariable0 overwrites any union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable as the provided LivekitPublicapiAgentbuilderV1AgentConfigVariable0
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable1 ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable1(v LivekitPublicapiAgentbuilderV1AgentConfigVariable1) error
FromLivekitPublicapiAgentbuilderV1AgentConfigVariable1 overwrites any union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable as the provided LivekitPublicapiAgentbuilderV1AgentConfigVariable1
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable2 ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) FromLivekitPublicapiAgentbuilderV1AgentConfigVariable2(v LivekitPublicapiAgentbuilderV1AgentConfigVariable2) error
FromLivekitPublicapiAgentbuilderV1AgentConfigVariable2 overwrites any union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable as the provided LivekitPublicapiAgentbuilderV1AgentConfigVariable2
func (LivekitPublicapiAgentbuilderV1AgentConfigVariable) MarshalJSON ¶ added in v2.20.2
func (t LivekitPublicapiAgentbuilderV1AgentConfigVariable) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable0 ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable0(v LivekitPublicapiAgentbuilderV1AgentConfigVariable0) error
MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable0 performs a merge with any union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable, using the provided LivekitPublicapiAgentbuilderV1AgentConfigVariable0
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable1 ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable1(v LivekitPublicapiAgentbuilderV1AgentConfigVariable1) error
MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable1 performs a merge with any union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable, using the provided LivekitPublicapiAgentbuilderV1AgentConfigVariable1
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable2 ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable2(v LivekitPublicapiAgentbuilderV1AgentConfigVariable2) error
MergeLivekitPublicapiAgentbuilderV1AgentConfigVariable2 performs a merge with any union data inside the LivekitPublicapiAgentbuilderV1AgentConfigVariable, using the provided LivekitPublicapiAgentbuilderV1AgentConfigVariable2
func (*LivekitPublicapiAgentbuilderV1AgentConfigVariable) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitPublicapiAgentbuilderV1AgentConfigVariable) UnmarshalJSON(b []byte) error
type LivekitPublicapiAgentbuilderV1AgentConfigVariable0 ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigVariable0 struct {
Default *string `json:"default,omitempty"`
// Name Starts with a letter, then letters, digits, "_" and "-".
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
Type interface{} `json:"type"`
}
LivekitPublicapiAgentbuilderV1AgentConfigVariable0 defines model for LivekitPublicapiAgentbuilderV1AgentConfigVariable.0.
type LivekitPublicapiAgentbuilderV1AgentConfigVariable1 ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigVariable1 struct {
Default *float32 `json:"default,omitempty"`
// Name Starts with a letter, then letters, digits, "_" and "-".
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
Type interface{} `json:"type,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfigVariable1 defines model for LivekitPublicapiAgentbuilderV1AgentConfigVariable.1.
type LivekitPublicapiAgentbuilderV1AgentConfigVariable2 ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentConfigVariable2 struct {
Default *bool `json:"default,omitempty"`
// Name Starts with a letter, then letters, digits, "_" and "-".
Name LivekitPublicapiAgentbuilderV1AgentConfigName `json:"name"`
Type interface{} `json:"type,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentConfigVariable2 defines model for LivekitPublicapiAgentbuilderV1AgentConfigVariable.2.
type LivekitPublicapiAgentbuilderV1AgentVersion ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentVersion struct {
// Config The configuration that the version holds.
Config *LivekitPublicapiAgentbuilderV1AgentConfig `json:"config,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// DeployedAt When the last deployment of this version finished its build. Unset when
// there is no record that a deployment of this version finished. To learn
// which version runs, read `deployment.versionId` from `GetAgent`.
DeployedAt *GoogleProtobufTimestamp `json:"deployedAt,omitempty"`
Id *string `json:"id,omitempty"`
// OwnerId The ID of the user who saved the version. Empty when it is not known.
OwnerId *string `json:"ownerId,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentVersion A saved configuration of an Agent Builder agent. Creating the agent makes
its first version, and each update makes a new one.
type LivekitPublicapiAgentbuilderV1AgentVersionsListResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentVersionsListResponse struct {
Items *[]LivekitPublicapiAgentbuilderV1AgentVersion `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentVersionsListResponse defines model for livekit.publicapi.agentbuilder.v1.AgentVersions.List.Response.
type LivekitPublicapiAgentbuilderV1AgentsCreateResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsCreateResponse struct {
Agent *LivekitPublicapiAgentbuilderV1Agent `json:"agent,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentsCreateResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.Create.Response.
type LivekitPublicapiAgentbuilderV1AgentsDeleteResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsDeleteResponse = map[string]interface{}
LivekitPublicapiAgentbuilderV1AgentsDeleteResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.Delete.Response.
type LivekitPublicapiAgentbuilderV1AgentsDeployResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsDeployResponse struct {
// Status The deployment status, which is `DEPLOYMENT_STATUS_BUILDING`.
// Call `GetAgent` to follow the deployment.
Status *LivekitPublicapiAgentbuilderV1DeploymentStatus `json:"status,omitempty"`
// VersionId The version that the deployment builds.
VersionId *string `json:"versionId,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentsDeployResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.Deploy.Response.
type LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse struct {
// ExpiresAt The time that the URL stops working: the time of the request plus the
// granted expiry, after the 15-minute clamp.
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
// Url A signed URL that downloads the agent code as a zip file. The URL
// needs no credentials and is valid until `expiresAt`.
Url *string `json:"url,omitempty"`
// VersionId The version that the zip file holds.
VersionId *string `json:"versionId,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentsGetCodeURLResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.GetCodeURL.Response.
type LivekitPublicapiAgentbuilderV1AgentsGetResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsGetResponse struct {
Agent *LivekitPublicapiAgentbuilderV1Agent `json:"agent,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentsGetResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.Get.Response.
type LivekitPublicapiAgentbuilderV1AgentsListResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsListResponse struct {
Items *[]LivekitPublicapiAgentbuilderV1Agent `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentsListResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.List.Response.
type LivekitPublicapiAgentbuilderV1AgentsUpdateResponse ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1AgentsUpdateResponse struct {
Agent *LivekitPublicapiAgentbuilderV1Agent `json:"agent,omitempty"`
}
LivekitPublicapiAgentbuilderV1AgentsUpdateResponse defines model for livekit.publicapi.agentbuilder.v1.Agents.Update.Response.
type LivekitPublicapiAgentbuilderV1Deployment ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1Deployment struct {
// DeployedAt When the running agent was deployed.
DeployedAt *GoogleProtobufTimestamp `json:"deployedAt,omitempty"`
Status *LivekitPublicapiAgentbuilderV1DeploymentStatus `json:"status,omitempty"`
// VersionId The version that the running agent was built from. Empty when it is not
// known, or when the agent is not deployed.
VersionId *string `json:"versionId,omitempty"`
}
LivekitPublicapiAgentbuilderV1Deployment What runs on LiveKit Cloud for an Agent Builder agent.
type LivekitPublicapiAgentbuilderV1DeploymentStatus ¶ added in v2.20.2
type LivekitPublicapiAgentbuilderV1DeploymentStatus string
LivekitPublicapiAgentbuilderV1DeploymentStatus The deployment state of an Agent Builder agent. When the agent runs in
more than one region, the status is the one that needs attention first.
const ( DEPLOYMENTSTATUSBUILDFAILED LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_BUILD_FAILED" DEPLOYMENTSTATUSBUILDING LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_BUILDING" DEPLOYMENTSTATUSDELETING LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_DELETING" DEPLOYMENTSTATUSFAILED LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_FAILED" DEPLOYMENTSTATUSNOTDEPLOYED LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_NOT_DEPLOYED" DEPLOYMENTSTATUSRUNNING LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_RUNNING" DEPLOYMENTSTATUSSLEEPING LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_SLEEPING" DEPLOYMENTSTATUSSTARTING LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_STARTING" DEPLOYMENTSTATUSUNSPECIFIED LivekitPublicapiAgentbuilderV1DeploymentStatus = "DEPLOYMENT_STATUS_UNSPECIFIED" )
Defines values for LivekitPublicapiAgentbuilderV1DeploymentStatus.
func (LivekitPublicapiAgentbuilderV1DeploymentStatus) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAgentbuilderV1DeploymentStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAgentbuilderV1DeploymentStatus enum.
type LivekitPublicapiAnalyticsV1AgentInsightsAgent ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1AgentInsightsAgent struct {
// AgentId The cloud agent ID (`CA_...`). Empty for a self-hosted agent.
AgentId *string `json:"agentId,omitempty"`
// AgentName The agent name.
AgentName *string `json:"agentName,omitempty"`
// DeploymentId The ID of the deployment of the agent. Empty for the production
// deployment.
DeploymentId *string `json:"deploymentId,omitempty"`
// E2eLatency The end-to-end latency of the turns of the agent.
E2eLatency *LivekitPublicapiAnalyticsV1LatencyStats `json:"e2eLatency,omitempty"`
// InputTokens The number of input tokens of the LLM and realtime model requests of the
// agent.
InputTokens *string `json:"inputTokens,omitempty"`
// Interruptions The number of turns of the agent that the user interrupted.
Interruptions *string `json:"interruptions,omitempty"`
// OutputTokens The number of output tokens of the LLM and realtime model requests of the
// agent.
OutputTokens *string `json:"outputTokens,omitempty"`
// Sessions The number of distinct sessions in which the agent recorded data. The
// count is an estimate, as in `sessions` of the summary.
Sessions *string `json:"sessions,omitempty"`
// Turns The number of turns of the agent.
Turns *string `json:"turns,omitempty"`
}
LivekitPublicapiAnalyticsV1AgentInsightsAgent The totals of one agent and deployment over a time range.
type LivekitPublicapiAnalyticsV1AgentInsightsGetResponse ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1AgentInsightsGetResponse struct {
// Agents One item for each agent and deployment, busiest first: by
// `sessions`, then by `turns`. The maximum is 500.
Agents *[]LivekitPublicapiAnalyticsV1AgentInsightsAgent `json:"agents,omitempty"`
// Models One item for each model that the selected agents used. The `LLM`,
// `TTS`, and `REALTIME` items come first, by `requests` in descending
// order. The `STT` items come after them, by `sttAudioSeconds` in
// descending order. The maximum is 500 items of each group.
Models *[]LivekitPublicapiAnalyticsV1AgentInsightsModel `json:"models,omitempty"`
// Summary The totals and latencies of the selected agents.
Summary *LivekitPublicapiAnalyticsV1AgentInsightsSummary `json:"summary,omitempty"`
}
LivekitPublicapiAnalyticsV1AgentInsightsGetResponse defines model for livekit.publicapi.analytics.v1.AgentInsights.Get.Response.
type LivekitPublicapiAnalyticsV1AgentInsightsModel ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1AgentInsightsModel struct {
// CachedInputTokens The number of input tokens that the provider read from its cache. Set for
// `LLM` and `REALTIME`.
CachedInputTokens *string `json:"cachedInputTokens,omitempty"`
// Component The kind of model.
Component *LivekitPublicapiAnalyticsV1ModelComponent `json:"component,omitempty"`
// InputTokens The number of input tokens. Set for `LLM` and `REALTIME`.
InputTokens *string `json:"inputTokens,omitempty"`
// Latency The latency of the requests to the model: the time to first token for
// `LLM` and `REALTIME`, and the time to first byte of audio for `TTS`. For
// `STT`, `count` is `0`.
Latency *LivekitPublicapiAnalyticsV1LatencyStats `json:"latency,omitempty"`
// Model The name of the model, such as `gpt-4.1`. For a TTS that reports no model
// name, the label of the TTS plugin.
Model *string `json:"model,omitempty"`
// OutputTokens The number of output tokens. Set for `LLM` and `REALTIME`.
OutputTokens *string `json:"outputTokens,omitempty"`
// Provider The provider of the model, such as `openai`.
Provider *string `json:"provider,omitempty"`
// Requests The number of requests to the model. `0` for `STT`.
Requests *string `json:"requests,omitempty"`
// Sessions The number of distinct sessions that used the model. The count is an
// estimate, as in `sessions` of the summary.
Sessions *string `json:"sessions,omitempty"`
// SttAudioSeconds The seconds of audio that the agents sent to the model. Set for `STT`.
SttAudioSeconds *float64 `json:"sttAudioSeconds,omitempty"`
// TtsCharacters The number of characters that the agents sent to the model. Set for
// `TTS`.
TtsCharacters *string `json:"ttsCharacters,omitempty"`
}
LivekitPublicapiAnalyticsV1AgentInsightsModel The usage of one model over a time range.
type LivekitPublicapiAnalyticsV1AgentInsightsSummary ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1AgentInsightsSummary struct {
// CachedInputTokens The number of input tokens that the model provider read from its cache.
// These tokens are also in `inputTokens`.
CachedInputTokens *string `json:"cachedInputTokens,omitempty"`
// E2eLatency The end-to-end latency of agent turns: the time from the end of the
// speech of the user to the start of the response of the agent.
E2eLatency *LivekitPublicapiAnalyticsV1LatencyStats `json:"e2eLatency,omitempty"`
// EndOfUtteranceDelay The end-of-utterance delay of user turns: the end-of-turn delay minus
// the transcription delay. This is the time from the final transcript to
// the decision of the agent that the turn ended.
EndOfUtteranceDelay *LivekitPublicapiAnalyticsV1LatencyStats `json:"endOfUtteranceDelay,omitempty"`
// InputTokens The number of input tokens of the LLM and realtime model requests.
InputTokens *string `json:"inputTokens,omitempty"`
// Interruptions The number of agent turns that the user interrupted.
Interruptions *string `json:"interruptions,omitempty"`
// LlmTtft The LLM time to first token of agent turns that use an LLM and a TTS.
LlmTtft *LivekitPublicapiAnalyticsV1LatencyStats `json:"llmTtft,omitempty"`
// OutputTokens The number of output tokens of the LLM and realtime model requests.
OutputTokens *string `json:"outputTokens,omitempty"`
// RealtimeTtft The time to first token of agent turns that use a realtime model.
RealtimeTtft *LivekitPublicapiAnalyticsV1LatencyStats `json:"realtimeTtft,omitempty"`
// Sessions The number of distinct sessions in which the agents recorded data. The
// count is an estimate, and can differ slightly from the exact count when
// the count is large.
Sessions *string `json:"sessions,omitempty"`
// ToolDuration The duration of the tool calls of the agents.
ToolDuration *LivekitPublicapiAnalyticsV1LatencyStats `json:"toolDuration,omitempty"`
// TranscriptionDelay The transcription delay of user turns: the time from the end of the
// speech of the user to the final transcript.
TranscriptionDelay *LivekitPublicapiAnalyticsV1LatencyStats `json:"transcriptionDelay,omitempty"`
// TtsCharacters The number of characters that the agents sent to TTS.
TtsCharacters *string `json:"ttsCharacters,omitempty"`
// TtsTtfb The TTS time to first byte of audio of agent turns that use an LLM and a
// TTS.
TtsTtfb *LivekitPublicapiAnalyticsV1LatencyStats `json:"ttsTtfb,omitempty"`
// Turns The number of agent turns: each response of an agent to the user.
Turns *string `json:"turns,omitempty"`
}
LivekitPublicapiAnalyticsV1AgentInsightsSummary The totals and latencies of the agents of a project over a time range.
type LivekitPublicapiAnalyticsV1DataPoint ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1DataPoint struct {
// Timestamp The start of the sample interval.
Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
// Value The value over that interval.
Value *float64 `json:"value,omitempty"`
}
LivekitPublicapiAnalyticsV1DataPoint A point of a session time series, such as quality, bandwidth, or frame rate.
type LivekitPublicapiAnalyticsV1EvalAgentResult ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalAgentResult struct {
// AgentName The agent name.
AgentName *string `json:"agentName,omitempty"`
// Errors The number of sessions in which an eval failed with an error.
Errors *string `json:"errors,omitempty"`
// Fail The number of sessions in which an eval failed.
Fail *string `json:"fail,omitempty"`
// NotApplicable The number of sessions to which an eval did not apply.
NotApplicable *string `json:"notApplicable,omitempty"`
// Pass The number of sessions in which an eval passed.
Pass *string `json:"pass,omitempty"`
// Sessions The number of sessions of the agent with at least one eval result.
Sessions *string `json:"sessions,omitempty"`
// Undecided The number of sessions in which the judge could not decide an eval.
Undecided *string `json:"undecided,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalAgentResult The eval results of one agent over a time range. Each count is a number of
sessions, summed over the evals.
type LivekitPublicapiAnalyticsV1EvalCriterionResult ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalCriterionResult struct {
// CriterionId The ID of the criterion in the definition of the eval.
CriterionId *string `json:"criterionId,omitempty"`
// Errors The number of sessions in which the criterion failed with an error.
Errors *string `json:"errors,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// Fail The number of sessions in which the criterion failed.
Fail *string `json:"fail,omitempty"`
// FailInFailedEval The number of sessions in which the criterion failed and the eval
// failed.
FailInFailedEval *string `json:"failInFailedEval,omitempty"`
// NotApplicable The number of sessions to which the criterion did not apply.
NotApplicable *string `json:"notApplicable,omitempty"`
// Pass The number of sessions in which the criterion passed.
Pass *string `json:"pass,omitempty"`
// Undecided The number of sessions in which the judge could not decide the criterion.
Undecided *string `json:"undecided,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalCriterionResult The results of one criterion of an eval over a time range. Each count is a
number of sessions.
type LivekitPublicapiAnalyticsV1EvalErrorCount ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalErrorCount struct {
// ErrorCode The error code, such as `judge_timeout`.
ErrorCode *string `json:"errorCode,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// Sessions The number of sessions.
Sessions *string `json:"sessions,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalErrorCount The sessions in which one eval failed with one error code.
type LivekitPublicapiAnalyticsV1EvalResult ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalResult struct {
// Deleted True when the eval is deleted. A deleted eval keeps its results.
Deleted *bool `json:"deleted,omitempty"`
// Errors The number of sessions in which the eval failed with an error.
Errors *string `json:"errors,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// Fail The number of sessions in which the eval failed.
Fail *string `json:"fail,omitempty"`
// Name The name of the eval. Empty when `evalNamesUnavailable` is true.
Name *string `json:"name,omitempty"`
// NotApplicable The number of sessions to which the eval did not apply.
NotApplicable *string `json:"notApplicable,omitempty"`
// Pass The number of sessions in which the eval passed.
Pass *string `json:"pass,omitempty"`
// Undecided The number of sessions in which the judge could not decide the eval.
Undecided *string `json:"undecided,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalResult The results of one eval over a time range. Each count is a number of
sessions.
type LivekitPublicapiAnalyticsV1EvalResultsGetResponse ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalResultsGetResponse struct {
// Agents One item for each agent, the most sessions first, then by
// `agentName`.
Agents *[]LivekitPublicapiAnalyticsV1EvalAgentResult `json:"agents,omitempty"`
// Criteria The criteria of the eval in `evalIds`, the most failed first. Empty
// unless `evalIds` has exactly one ID. The maximum is 50.
Criteria *[]LivekitPublicapiAnalyticsV1EvalCriterionResult `json:"criteria,omitempty"`
// CriteriaTotal The number of criteria with results in the range. When it is more
// than the number of items in `criteria`, the list is cut.
CriteriaTotal *string `json:"criteriaTotal,omitempty"`
// Errors One item for each eval and error code, the most sessions first.
Errors *[]LivekitPublicapiAnalyticsV1EvalErrorCount `json:"errors,omitempty"`
// are complete, and each `name` is empty.
EvalNamesUnavailable *bool `json:"evalNamesUnavailable,omitempty"`
// Evals One item for each eval with results in the range, by `evalId`.
Evals *[]LivekitPublicapiAnalyticsV1EvalResult `json:"evals,omitempty"`
// PreviousSummary The totals of the period of the same length just before the range.
// Unset when that period starts more than 60 days ago, because LiveKit
// keeps eval results for 60 days.
PreviousSummary *LivekitPublicapiAnalyticsV1EvalTotals `json:"previousSummary,omitempty"`
// Summary The totals of the range.
Summary *LivekitPublicapiAnalyticsV1EvalTotals `json:"summary,omitempty"`
// Versions One item for each version of each eval with results in the range, by
// `evalId`, then by `firstEndedAt`.
Versions *[]LivekitPublicapiAnalyticsV1EvalVersionResult `json:"versions,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalResultsGetResponse defines model for livekit.publicapi.analytics.v1.EvalResults.Get.Response.
type LivekitPublicapiAnalyticsV1EvalTotals ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalTotals struct {
// Errors The number of sessions in which an eval failed with an error, such as a
// judge timeout, summed over the evals.
Errors *string `json:"errors,omitempty"`
// Fail The number of sessions in which an eval failed, summed over the evals.
Fail *string `json:"fail,omitempty"`
// FailedSessions The number of sessions in which at least one eval failed.
FailedSessions *string `json:"failedSessions,omitempty"`
// JudgedSessions The number of sessions in which at least one eval has a result that is
// not an error.
JudgedSessions *string `json:"judgedSessions,omitempty"`
// NotApplicable The number of sessions to which an eval did not apply, summed over the
// evals.
NotApplicable *string `json:"notApplicable,omitempty"`
// Pass The number of sessions in which an eval passed, summed over the evals.
Pass *string `json:"pass,omitempty"`
// Sessions The number of sessions with at least one eval result.
Sessions *string `json:"sessions,omitempty"`
// Undecided The number of sessions in which the judge could not decide an eval,
// summed over the evals.
Undecided *string `json:"undecided,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalTotals The eval totals of a time range. Each count is a number of sessions.
type LivekitPublicapiAnalyticsV1EvalVersionResult ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1EvalVersionResult struct {
// Errors The number of sessions in which the version failed with an error.
Errors *string `json:"errors,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// EvalVersion The hash of the version.
EvalVersion *string `json:"evalVersion,omitempty"`
// Fail The number of sessions in which the version failed.
Fail *string `json:"fail,omitempty"`
// FirstEndedAt The end time of the first session in the range that this version scored.
FirstEndedAt *GoogleProtobufTimestamp `json:"firstEndedAt,omitempty"`
// LastEndedAt The end time of the last session in the range that this version scored.
LastEndedAt *GoogleProtobufTimestamp `json:"lastEndedAt,omitempty"`
// NotApplicable The number of sessions to which the version did not apply.
NotApplicable *string `json:"notApplicable,omitempty"`
// Pass The number of sessions in which the version passed.
Pass *string `json:"pass,omitempty"`
// Undecided The number of sessions in which the judge could not decide the version.
Undecided *string `json:"undecided,omitempty"`
}
LivekitPublicapiAnalyticsV1EvalVersionResult The results of one version of an eval over a time range. A version is the
hash of the fields of a revision that change its scores.
type LivekitPublicapiAnalyticsV1LatencyStats ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1LatencyStats struct {
// Count The number of measurements.
Count *string `json:"count,omitempty"`
// MaxMs The maximum.
MaxMs *float64 `json:"maxMs,omitempty"`
// MeanMs The mean.
MeanMs *float64 `json:"meanMs,omitempty"`
// P50Ms The median. The percentiles are estimates, accurate to about 1%.
P50Ms *float64 `json:"p50Ms,omitempty"`
// P95Ms The 95th percentile.
P95Ms *float64 `json:"p95Ms,omitempty"`
// P99Ms The 99th percentile.
P99Ms *float64 `json:"p99Ms,omitempty"`
}
LivekitPublicapiAnalyticsV1LatencyStats The statistics of one latency over a time range, in milliseconds. When
`count` is `0`, every value is `0`.
type LivekitPublicapiAnalyticsV1ModelComponent ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1ModelComponent string
LivekitPublicapiAnalyticsV1ModelComponent The kind of model that an agent used.
const ( MODELCOMPONENTLLM LivekitPublicapiAnalyticsV1ModelComponent = "MODEL_COMPONENT_LLM" MODELCOMPONENTREALTIME LivekitPublicapiAnalyticsV1ModelComponent = "MODEL_COMPONENT_REALTIME" MODELCOMPONENTSTT LivekitPublicapiAnalyticsV1ModelComponent = "MODEL_COMPONENT_STT" MODELCOMPONENTTTS LivekitPublicapiAnalyticsV1ModelComponent = "MODEL_COMPONENT_TTS" MODELCOMPONENTUNSPECIFIED LivekitPublicapiAnalyticsV1ModelComponent = "MODEL_COMPONENT_UNSPECIFIED" )
Defines values for LivekitPublicapiAnalyticsV1ModelComponent.
func (LivekitPublicapiAnalyticsV1ModelComponent) Valid ¶ added in v2.20.2
func (e LivekitPublicapiAnalyticsV1ModelComponent) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAnalyticsV1ModelComponent enum.
type LivekitPublicapiAnalyticsV1ParticipantInfo ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1ParticipantInfo struct {
// JoinedAt The time of the first join across the connections of the identity.
JoinedAt *GoogleProtobufTimestamp `json:"joinedAt,omitempty"`
// LeftAt The time of the last leave across the connections of the identity. Unset
// while no leave is recorded, so a participant of an active session with no
// `leftAt` can still be connected.
LeftAt *GoogleProtobufTimestamp `json:"leftAt,omitempty"`
// Location The name of the country, for example `United States`. `Unknown` when the
// country is not known.
Location *string `json:"location,omitempty"`
// ParticipantIdentity The identity the participant connected with.
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
// ParticipantName The display name of the participant.
ParticipantName *string `json:"participantName,omitempty"`
// PublishedSources The track sources that the participant published during the session.
PublishedSources *LivekitPublicapiAnalyticsV1PublishedSources `json:"publishedSources,omitempty"`
// Region The display name of the LiveKit region. `Unknown` when the region is not
// recognized.
Region *string `json:"region,omitempty"`
// Sessions The participant sessions of the participant, oldest join first. There is
// one for each connection, so each reconnect adds one. The maximum is 50.
// For a participant with more, this has the oldest 50. Empty when the
// participant sessions cannot be read. The other fields still return.
Sessions *[]LivekitPublicapiAnalyticsV1ParticipantSession `json:"sessions,omitempty"`
}
LivekitPublicapiAnalyticsV1ParticipantInfo A participant identity of a room session.
type LivekitPublicapiAnalyticsV1ParticipantSession ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1ParticipantSession struct {
// Browser The browser of the client, for example `chrome`.
Browser *string `json:"browser,omitempty"`
// ConnectionTimeMs The time that the client took to connect, in milliseconds.
ConnectionTimeMs *int32 `json:"connectionTimeMs,omitempty"`
// ConnectionType The transport that the client connected over: `UDP`, `TCP`, or `TURN`.
// Empty when not reported.
ConnectionType *string `json:"connectionType,omitempty"`
// DeviceModel The device model of the client, for example `iPhone 15`.
DeviceModel *string `json:"deviceModel,omitempty"`
// DurationSeconds The number of seconds from `joinedAt` to `leftAt`. While no leave is
// recorded, the count goes to the end of the room session, or to now when
// the room session has no end.
DurationSeconds *string `json:"durationSeconds,omitempty"`
// JoinedAt The time the participant session joined.
JoinedAt *GoogleProtobufTimestamp `json:"joinedAt,omitempty"`
// LeftAt The time the participant session left. Unset while no leave is recorded.
LeftAt *GoogleProtobufTimestamp `json:"leftAt,omitempty"`
// Location The name of the country, for example `United States`. `Unknown` when the
// country is not known.
Location *string `json:"location,omitempty"`
// Os The operating system of the client: `ios`, `android`, `windows`, `mac`,
// or `linux`. Empty when not reported.
Os *string `json:"os,omitempty"`
// ParticipantSessionId The ID of the participant session (`PA_...`).
ParticipantSessionId *string `json:"participantSessionId,omitempty"`
// Region The display name of the LiveKit region. `Unknown` when the region is not
// recognized.
Region *string `json:"region,omitempty"`
// SdkVersion The version of the LiveKit client SDK, for example `2.6.1`. The name of
// the SDK is not recorded.
SdkVersion *string `json:"sdkVersion,omitempty"`
}
LivekitPublicapiAnalyticsV1ParticipantSession A participant session: the time from one join of a participant to its
leave, with the client that it connected from. A participant that reconnects, from the same device or a different one, has more than one.
type LivekitPublicapiAnalyticsV1ParticipantSortField ¶ added in v2.19.1
type LivekitPublicapiAnalyticsV1ParticipantSortField string
LivekitPublicapiAnalyticsV1ParticipantSortField The field that a participant list sorts by.
const ( PARTICIPANTSORTFIELDJOINEDAT LivekitPublicapiAnalyticsV1ParticipantSortField = "PARTICIPANT_SORT_FIELD_JOINED_AT" PARTICIPANTSORTFIELDLEFTAT LivekitPublicapiAnalyticsV1ParticipantSortField = "PARTICIPANT_SORT_FIELD_LEFT_AT" PARTICIPANTSORTFIELDUNSPECIFIED LivekitPublicapiAnalyticsV1ParticipantSortField = "PARTICIPANT_SORT_FIELD_UNSPECIFIED" )
Defines values for LivekitPublicapiAnalyticsV1ParticipantSortField.
func (LivekitPublicapiAnalyticsV1ParticipantSortField) Valid ¶ added in v2.19.1
func (e LivekitPublicapiAnalyticsV1ParticipantSortField) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAnalyticsV1ParticipantSortField enum.
type LivekitPublicapiAnalyticsV1PublishedSources ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1PublishedSources struct {
// CameraTrack True when the participant published a camera track.
CameraTrack *bool `json:"cameraTrack,omitempty"`
// MicrophoneTrack True when the participant published a microphone track.
MicrophoneTrack *bool `json:"microphoneTrack,omitempty"`
ScreenShareAudio *bool `json:"screenShareAudio,omitempty"`
ScreenShareTrack *bool `json:"screenShareTrack,omitempty"`
}
LivekitPublicapiAnalyticsV1PublishedSources The track sources that a participant published.
type LivekitPublicapiAnalyticsV1Session ¶
type LivekitPublicapiAnalyticsV1Session struct {
// EndedAt The time the session ended. Unset while the session is live. For a session
// that stopped reporting, this is the time of its last report, also when
// its status is `ACTIVE`.
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
// HasDetailData True when the full detail of the session is final. While false, LiveKit
// still finalizes the end time, the participant counts, and the duration.
// When true, the detail RPCs return complete data.
HasDetailData *bool `json:"hasDetailData,omitempty"`
// LastActive When the session last reported activity.
LastActive *GoogleProtobufTimestamp `json:"lastActive,omitempty"`
// NumParticipants The number of distinct participants, by identity, that connected for more
// than zero seconds during the session. This is not a live count: a closed
// session keeps its total.
NumParticipants *int32 `json:"numParticipants,omitempty"`
// RoomName The name of the room the session ran in.
RoomName *string `json:"roomName,omitempty"`
// SessionId The room session ID (`RM_...`).
SessionId *string `json:"sessionId,omitempty"`
// StartedAt When the session started.
StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`
// Status The status of the session. It is `ACTIVE` until LiveKit records that the
// session closed, so a session that stopped reporting can be `ACTIVE` and
// have an `endedAt`.
Status *LivekitPublicapiAnalyticsV1SessionStatus `json:"status,omitempty"`
// Tags The tags recorded on the session.
Tags *[]string `json:"tags,omitempty"`
}
LivekitPublicapiAnalyticsV1Session A room session, as `ListProjectSessions` returns it. Only the `detail` from
`GetSession` has bandwidth and connection time.
type LivekitPublicapiAnalyticsV1SessionDetail ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1SessionDetail struct {
// BandwidthIn The number of bytes that participants published, for all track types.
BandwidthIn *string `json:"bandwidthIn,omitempty"`
// BandwidthOut The number of bytes that participants subscribed to, for all track types.
BandwidthOut *string `json:"bandwidthOut,omitempty"`
// ConnectionSeconds The total WebRTC connection time in seconds, of standard participants and
// self-hosted agents. Cloud agents are not included.
ConnectionSeconds *string `json:"connectionSeconds,omitempty"`
// EndedAt When the session ended, as on Session.
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
// NumParticipants The number of participants. This is the same count as `numParticipants`
// in `Session`.
NumParticipants *int32 `json:"numParticipants,omitempty"`
// Participants The first page of participants, newest join first. The maximum is 50.
// When `participantsPage.hasMore` is true, call `ListSessionParticipants` to
// get the next page. Set `page.cursor` to `participantsPage.nextCursor`, and
// leave `sortBy` and `sortOrder` unset, or set them to `joinedAt` and
// descending.
Participants *[]LivekitPublicapiAnalyticsV1ParticipantInfo `json:"participants,omitempty"`
// ParticipantsPage The page info for `participants`. Unset when the first page cannot be
// read. The other fields still return, and `ListSessionParticipants` lists
// the participants.
ParticipantsPage *LivekitPublicapiCommonV1PageInfo `json:"participantsPage,omitempty"`
// PublishBps The published audio and video bitrate, in bits per second.
PublishBps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"publishBps,omitempty"`
// PublishFps The published video frame rate.
PublishFps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"publishFps,omitempty"`
// Quality The average connection quality, as a fraction from 0 to 1 of the track
// score, which goes from 0 to 5.
Quality *[]LivekitPublicapiAnalyticsV1DataPoint `json:"quality,omitempty"`
// RoomName The name of the room the session ran in.
RoomName *string `json:"roomName,omitempty"`
// SessionId The room session ID (`RM_...`).
SessionId *string `json:"sessionId,omitempty"`
// StartedAt When the session started.
StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`
// Status The session status, as on Session.
Status *LivekitPublicapiAnalyticsV1SessionStatus `json:"status,omitempty"`
// SubscribeBps The subscribed audio and video bitrate, in bits per second.
SubscribeBps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"subscribeBps,omitempty"`
// SubscribeFps The subscribed video frame rate.
SubscribeFps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"subscribeFps,omitempty"`
// Tags The tags of the session, the same as in `Session`.
Tags *[]string `json:"tags,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionDetail The detail of a room session. It has the fields of `Session`, and also
totals, the first page of participants, and a timeline for each metric. All timelines use the same time buckets, sized from the length of the session. Each timeline has one point for each bucket, with `0` where a bucket has no data.
type LivekitPublicapiAnalyticsV1SessionEvent ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1SessionEvent struct {
// ParticipantIdentity The identity of the participant that the event is about. Empty for a room
// event, or for an API call that names no participant.
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
// ParticipantSessionId The ID of the participant session (`PA_...`) that the event is about.
// Empty when `participantIdentity` is empty.
ParticipantSessionId *string `json:"participantSessionId,omitempty"`
// Payload The fields of the event. Each field is present only when the event has it.
// The payload has only these fields:
//
// - Participant events: `participantKind`, `disconnectReason`,
// `reconnectReason`, `isMigration`, and `connectionType`.
// - Track events: `trackId`, `trackType`, `trackSource`, `mimeType`, and
// `muted`.
// - `ROOM_ENDED`: `reason`.
// - `API_CALL`: `service`, `method`, `status`, `twirpErrorCode`, and
// `durationNs`.
Payload *GoogleProtobufStruct `json:"payload,omitempty"`
// Timestamp When the event was recorded.
Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
// Type The type of the event, an `AnalyticsEventType` name such as
// `PARTICIPANT_JOINED`.
Type *string `json:"type,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionEvent An event of a room session, such as a participant that joins or a track
that is published.
type LivekitPublicapiAnalyticsV1SessionEventsListResponse ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1SessionEventsListResponse struct {
Items *[]LivekitPublicapiAnalyticsV1SessionEvent `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionEventsListResponse defines model for livekit.publicapi.analytics.v1.SessionEvents.List.Response.
type LivekitPublicapiAnalyticsV1SessionLabelCount ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1SessionLabelCount struct {
// Deleted True when the label is deleted. A deleted label keeps its results.
Deleted *bool `json:"deleted,omitempty"`
// LabelId The label ID (`LBL_...`). `other` when no label matched the session.
// Empty when LiveKit did not label the session, for example because the
// label settings exclude it.
LabelId *string `json:"labelId,omitempty"`
// Name The name of the label. Empty for `other`, for an empty `labelId`, and
// when `labelNamesUnavailable` is true.
Name *string `json:"name,omitempty"`
// Rating The rating of an outcome. Unspecified for an intent, and when the name
// is empty.
Rating *LivekitPublicapiEvalsV1SessionLabelRating `json:"rating,omitempty"`
// Sessions The number of sessions with the label.
Sessions *string `json:"sessions,omitempty"`
// range that have the label, the unlabeled sessions included. From `0` to
// `1`.
Share *float64 `json:"share,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionLabelCount The sessions with one intent or one outcome over a time range.
type LivekitPublicapiAnalyticsV1SessionLabelEvalResult ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1SessionLabelEvalResult struct {
// Errors The number of sessions in which the eval failed with an error.
Errors *string `json:"errors,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// Fail The number of sessions in which the eval failed.
Fail *string `json:"fail,omitempty"`
// Kind Whether `labelId` is an intent or an outcome.
Kind *LivekitPublicapiEvalsV1SessionLabelKind `json:"kind,omitempty"`
// LabelId The label ID (`LBL_...`), `other`, or empty, as in `labelId` of a
// `SessionLabelCount`.
LabelId *string `json:"labelId,omitempty"`
// NotApplicable The number of sessions to which the eval did not apply.
NotApplicable *string `json:"notApplicable,omitempty"`
// Pass The number of sessions in which the eval passed.
Pass *string `json:"pass,omitempty"`
// Undecided The number of sessions in which the judge could not decide the eval.
Undecided *string `json:"undecided,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionLabelEvalResult The results of one eval in the sessions with one label over a time range.
Each count is a number of sessions. The pass rate of the eval for the label is `pass / (pass + fail)`.
type LivekitPublicapiAnalyticsV1SessionLabelFlow ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1SessionLabelFlow struct {
// IntentId The intent ID (`LBL_...`), `other`, or empty, as in `labelId` of a
// `SessionLabelCount`.
IntentId *string `json:"intentId,omitempty"`
// OutcomeId The outcome ID (`LBL_...`), `other`, or empty, as in `labelId` of a
// `SessionLabelCount`.
OutcomeId *string `json:"outcomeId,omitempty"`
// Sessions The number of sessions with the intent and the outcome.
Sessions *string `json:"sessions,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionLabelFlow The sessions with one pair of intent and outcome over a time range.
type LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse struct {
// Evals The eval results of the sessions with each label: the intents first,
// then the outcomes, each by `labelId` and then by `evalId`.
Evals *[]LivekitPublicapiAnalyticsV1SessionLabelEvalResult `json:"evals,omitempty"`
// Flows One item for each pair of intent and outcome, the most sessions
// first.
Flows *[]LivekitPublicapiAnalyticsV1SessionLabelFlow `json:"flows,omitempty"`
// Intents One item for each intent, the most sessions first, then by
// `labelId`.
Intents *[]LivekitPublicapiAnalyticsV1SessionLabelCount `json:"intents,omitempty"`
// are complete, and each `name` is empty.
LabelNamesUnavailable *bool `json:"labelNamesUnavailable,omitempty"`
// Outcomes One item for each outcome, the most sessions first, then by
// `labelId`.
Outcomes *[]LivekitPublicapiAnalyticsV1SessionLabelCount `json:"outcomes,omitempty"`
// Totals The eval outcome of the sessions with each label, over the evals in
// `evalIds`, or every eval when it is empty: the intents first, then
// the outcomes, each the most sessions first, then by `labelId`.
Totals *[]LivekitPublicapiAnalyticsV1SessionLabelTotal `json:"totals,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionLabelResultsGetResponse defines model for livekit.publicapi.analytics.v1.SessionLabelResults.Get.Response.
type LivekitPublicapiAnalyticsV1SessionLabelTotal ¶ added in v2.20.2
type LivekitPublicapiAnalyticsV1SessionLabelTotal struct {
// DecidedSessions The number of those sessions in which at least one eval passed or failed.
DecidedSessions *string `json:"decidedSessions,omitempty"`
// FailedSessions The number of those sessions in which at least one eval failed.
// `failedSessions / decidedSessions` is the share of decided sessions with
// the label in which an eval failed.
FailedSessions *string `json:"failedSessions,omitempty"`
// Kind Whether `labelId` is an intent or an outcome.
Kind *LivekitPublicapiEvalsV1SessionLabelKind `json:"kind,omitempty"`
// LabelId The label ID (`LBL_...`), `other`, or empty, as in `labelId` of a
// `SessionLabelCount`.
LabelId *string `json:"labelId,omitempty"`
// Sessions The number of sessions with the label and at least one eval result.
Sessions *string `json:"sessions,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionLabelTotal The eval outcome of the sessions with one label over a time range, over all
evals. Only sessions with at least one eval result count.
type LivekitPublicapiAnalyticsV1SessionParticipantsListResponse ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1SessionParticipantsListResponse struct {
Items *[]LivekitPublicapiAnalyticsV1ParticipantInfo `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionParticipantsListResponse defines model for livekit.publicapi.analytics.v1.SessionParticipants.List.Response.
type LivekitPublicapiAnalyticsV1SessionStatus ¶
type LivekitPublicapiAnalyticsV1SessionStatus string
LivekitPublicapiAnalyticsV1SessionStatus The lifecycle state of a session.
const ( SESSIONSTATUSACTIVE LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_ACTIVE" SESSIONSTATUSCLOSED LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_CLOSED" SESSIONSTATUSUNSPECIFIED LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_UNSPECIFIED" )
Defines values for LivekitPublicapiAnalyticsV1SessionStatus.
func (LivekitPublicapiAnalyticsV1SessionStatus) Valid ¶
func (e LivekitPublicapiAnalyticsV1SessionStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiAnalyticsV1SessionStatus enum.
type LivekitPublicapiAnalyticsV1SessionsGetResponse ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1SessionsGetResponse struct {
// Detail The detail of the session. Absent while LiveKit finalizes the
// detail. See `hasDetailData` on `session`.
Detail *LivekitPublicapiAnalyticsV1SessionDetail `json:"detail,omitempty"`
Session *LivekitPublicapiAnalyticsV1Session `json:"session,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionsGetResponse defines model for livekit.publicapi.analytics.v1.Sessions.Get.Response.
type LivekitPublicapiAnalyticsV1SessionsListResponse ¶ added in v2.19.0
type LivekitPublicapiAnalyticsV1SessionsListResponse struct {
Items *[]LivekitPublicapiAnalyticsV1Session `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiAnalyticsV1SessionsListResponse defines model for livekit.publicapi.analytics.v1.Sessions.List.Response.
type LivekitPublicapiCommonV1PageInfo ¶
type LivekitPublicapiCommonV1PageInfo struct {
// HasMore True when another page follows this one.
HasMore *bool `json:"hasMore,omitempty"`
// NextCursor The cursor of the next page. To get the next page, send it as `cursor` in
// the next request. Empty on the last page.
NextCursor *string `json:"nextCursor,omitempty"`
}
LivekitPublicapiCommonV1PageInfo The paging state of a list response.
type LivekitPublicapiCommonV1SortOrder ¶ added in v2.19.0
type LivekitPublicapiCommonV1SortOrder string
LivekitPublicapiCommonV1SortOrder The sort direction of a list.
const ( SORTORDERASC LivekitPublicapiCommonV1SortOrder = "SORT_ORDER_ASC" SORTORDERDESC LivekitPublicapiCommonV1SortOrder = "SORT_ORDER_DESC" SORTORDERUNSPECIFIED LivekitPublicapiCommonV1SortOrder = "SORT_ORDER_UNSPECIFIED" )
Defines values for LivekitPublicapiCommonV1SortOrder.
func (LivekitPublicapiCommonV1SortOrder) Valid ¶ added in v2.19.0
func (e LivekitPublicapiCommonV1SortOrder) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiCommonV1SortOrder enum.
type LivekitPublicapiEvalsV1Eval ¶ added in v2.20.2
type LivekitPublicapiEvalsV1Eval struct {
// Active When false, the eval is deleted, and LiveKit does not score sessions
// with it.
Active *bool `json:"active,omitempty"`
// Agents The names of the agents that the live revision runs on. When empty, the
// eval runs on every agent of the project.
Agents *[]string `json:"agents,omitempty"`
// Description The description of the eval.
Description *string `json:"description,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// HasDraft True when the eval has a draft.
HasDraft *bool `json:"hasDraft,omitempty"`
// Name The name of the eval. It is unique among the evals of the project.
Name *string `json:"name,omitempty"`
// PublishedRevision The number of the live revision. 0 until the first publish.
PublishedRevision *int `json:"publishedRevision,omitempty"`
// ScopeKey The `scope.key` of the definition, such as `tenant=acme`. From the draft
// when the eval has one, else from the live revision. Empty when unset.
ScopeKey *string `json:"scopeKey,omitempty"`
// UpdatedAt When the eval last changed.
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
// UpdatedBy The ID of the user who last changed the eval.
UpdatedBy *string `json:"updatedBy,omitempty"`
// UpdatedSource The tool that last changed the eval.
UpdatedSource *LivekitPublicapiEvalsV1EvalSource `json:"updatedSource,omitempty"`
// UsesJudge True when a criterion asks an LLM judge a question. From the draft when
// the eval has one, else from the live revision.
UsesJudge *bool `json:"usesJudge,omitempty"`
}
LivekitPublicapiEvalsV1Eval An eval of a project. The definition of the eval is in its revisions and its
draft.
type LivekitPublicapiEvalsV1EvalDefaultsGetResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefaultsGetResponse struct {
Defaults *LivekitPublicapiEvalsV1JudgeDefaults `json:"defaults,omitempty"`
// JudgeModels The IDs of the judge models that a definition can name, such as in
// `judge.cheap.model` or `judge.panel.members`.
JudgeModels *[]string `json:"judgeModels,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefaultsGetResponse defines model for livekit.publicapi.evals.v1.EvalDefaults.Get.Response.
type LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse struct {
Defaults *LivekitPublicapiEvalsV1JudgeDefaults `json:"defaults,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefaultsUpdateResponse defines model for livekit.publicapi.evals.v1.EvalDefaults.Update.Response.
type LivekitPublicapiEvalsV1EvalDefinition ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinition struct {
Criteria *[]LivekitPublicapiEvalsV1EvalDefinitionCriterion `json:"criteria,omitempty"`
Inputs *LivekitPublicapiEvalsV1EvalDefinitionInputs `json:"inputs,omitempty"`
Judge *LivekitPublicapiEvalsV1EvalDefinitionJudge `json:"judge,omitempty"`
PassThreshold *float32 `json:"pass_threshold,omitempty"`
Run *LivekitPublicapiEvalsV1EvalDefinitionRun `json:"run,omitempty"`
Scope *LivekitPublicapiEvalsV1EvalDefinitionScope `json:"scope,omitempty"`
TotalPoints *int `json:"total_points,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinition The definition of an eval: the sessions that it runs on, what the judge reads, the judge settings, and the criteria with their points. The ID, the name and the description of the eval are not part of it. No property is required, because a draft can be partial. Publishing checks that the definition is complete, and ValidateEval lists what is missing.
type LivekitPublicapiEvalsV1EvalDefinitionChoice ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionChoice struct {
Credit *float32 `json:"credit,omitempty"`
Description *string `json:"description,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionChoice defines model for livekit.publicapi.evals.v1.EvalDefinition.choice.
type LivekitPublicapiEvalsV1EvalDefinitionCriterion ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterion struct {
Answer *LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer `json:"answer,omitempty"`
AppliesWhen *string `json:"applies_when,omitempty"`
AutoFail *bool `json:"auto_fail,omitempty"`
Check *string `json:"check,omitempty"`
// Choices categorical: a map of choice ID to {description, credit}. numeric: level descriptions, ordered low to high.
Choices *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices `json:"choices,omitempty"`
Context *string `json:"context,omitempty"`
Escalate *LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate `json:"escalate,omitempty"`
FollowUps *[]LivekitPublicapiEvalsV1EvalDefinitionCriterion `json:"follow_ups,omitempty"`
Grade *LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade `json:"grade,omitempty"`
Id *string `json:"id,omitempty"`
MinTurnPassRate *float32 `json:"min_turn_pass_rate,omitempty"`
On *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On `json:"on,omitempty"`
// PassAt numeric: the lowest passing level, 1-based.
PassAt *int `json:"pass_at,omitempty"`
PassChoices *[]string `json:"pass_choices,omitempty"`
Points *int `json:"points,omitempty"`
Question *string `json:"question,omitempty"`
// Rule A type: rule criterion's rule: a JsonLogic expression (jsonlogic.com) over the session variables in rule_var. Only the operations listed here are allowed. tool_called_before is a custom operation.
Rule *LivekitPublicapiEvalsV1EvalDefinitionRule `json:"rule,omitempty"`
Type *LivekitPublicapiEvalsV1EvalDefinitionCriterionType `json:"type,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionCriterion defines model for livekit.publicapi.evals.v1.EvalDefinition.criterion.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer string
LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.Answer.
const ( LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswerBoolean LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer = "boolean" LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswerCategorical LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer = "categorical" LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswerNumeric LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer = "numeric" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer.
func (LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionCriterionAnswer enum.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 map[string]LivekitPublicapiEvalsV1EvalDefinitionChoice
LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.Choices.0.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 = []string
LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.Choices.1.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate string
LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.Escalate.
const ( Always LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate = "always" Auto LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate = "auto" Never LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate = "never" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate.
func (LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionCriterionEscalate enum.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade string
LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.Grade.
const ( Session LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade = "session" Turn LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade = "turn" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade.
func (LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionCriterionGrade enum.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 = string
LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.On.0.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 = []string
LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.On.1.
type LivekitPublicapiEvalsV1EvalDefinitionCriterionType ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterionType string
LivekitPublicapiEvalsV1EvalDefinitionCriterionType defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.Type.
const ( Code LivekitPublicapiEvalsV1EvalDefinitionCriterionType = "code" Llm LivekitPublicapiEvalsV1EvalDefinitionCriterionType = "llm" Rule LivekitPublicapiEvalsV1EvalDefinitionCriterionType = "rule" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionCriterionType.
func (LivekitPublicapiEvalsV1EvalDefinitionCriterionType) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionCriterionType) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionCriterionType enum.
type LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices struct {
// contains filtered or unexported fields
}
LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices categorical: a map of choice ID to {description, credit}. numeric: level descriptions, ordered low to high.
func (LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0() (LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0, error)
AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 returns the union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices as a LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0
func (LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1() (LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1, error)
AsLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 returns the union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices as a LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0) error
FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 overwrites any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices as the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1) error
FromLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 overwrites any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices as the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1
func (LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MarshalJSON ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0) error
MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices, using the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices0
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1) error
MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices, using the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionChoices1
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_Choices) UnmarshalJSON(b []byte) error
type LivekitPublicapiEvalsV1EvalDefinitionCriterion_On ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionCriterion_On struct {
// contains filtered or unexported fields
}
LivekitPublicapiEvalsV1EvalDefinitionCriterion_On defines model for LivekitPublicapiEvalsV1EvalDefinitionCriterion.On.
func (LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0() (LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0, error)
AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 returns the union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_On as a LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0
func (LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1() (LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1, error)
AsLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 returns the union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_On as a LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0) error
FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 overwrites any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_On as the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1) error
FromLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 overwrites any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_On as the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1
func (LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MarshalJSON ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0) error
MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn0 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_On, using the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionOn0
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1(v LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1) error
MergeLivekitPublicapiEvalsV1EvalDefinitionCriterionOn1 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalDefinitionCriterion_On, using the provided LivekitPublicapiEvalsV1EvalDefinitionCriterionOn1
func (*LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionCriterion_On) UnmarshalJSON(b []byte) error
type LivekitPublicapiEvalsV1EvalDefinitionInputs ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionInputs struct {
AgentInstructions *bool `json:"agent_instructions,omitempty"`
Handoffs *bool `json:"handoffs,omitempty"`
// MaxTokens Truncate the oldest turns first above this many tokens. Unset means no limit.
MaxTokens *int `json:"max_tokens,omitempty"`
Metadata *[]string `json:"metadata,omitempty"`
Metrics *bool `json:"metrics,omitempty"`
ToolCalls *bool `json:"tool_calls,omitempty"`
Transcript *bool `json:"transcript,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionInputs defines model for livekit.publicapi.evals.v1.EvalDefinition.inputs.
type LivekitPublicapiEvalsV1EvalDefinitionJudge ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionJudge struct {
Cheap *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap `json:"cheap,omitempty"`
Context *string `json:"context,omitempty"`
Examples *[]struct {
Criterion *string `json:"criterion,omitempty"`
Session *string `json:"session,omitempty"`
Verdict *LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict `json:"verdict,omitempty"`
Why *string `json:"why,omitempty"`
} `json:"examples,omitempty"`
Panel *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel `json:"panel,omitempty"`
ReviewLevel *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel `json:"review_level,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionJudge defines model for livekit.publicapi.evals.v1.EvalDefinition.judge.
type LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict string
LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict defines model for LivekitPublicapiEvalsV1EvalDefinitionJudge.Examples.Verdict.
const ( Fail LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict = "fail" Pass LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict = "pass" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict.
func (LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionJudgeExamplesVerdict enum.
type LivekitPublicapiEvalsV1EvalDefinitionRule ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRule struct {
// A type: rule criterion's rule: a JsonLogic expression (jsonlogic.com) over the session variables in rule_var. Only the operations listed here are allowed. tool_called_before is a custom operation.
*LivekitPublicapiEvalsV1EvalDefinitionRule `json:"!,omitempty"`
// LessThan [a, b], or [low, x, high] for a range (JsonLogic's between). One operand is a latency or usage variable, the others numbers.
LessThan *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare `json:"<,omitempty"`
// LessThanEqual [a, b], or [low, x, high] for a range (JsonLogic's between). One operand is a latency or usage variable, the others numbers.
LessThanEqual *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare `json:"<=,omitempty"`
// GreaterThan [a, b], or [low, x, high] for a range (JsonLogic's between). One operand is a latency or usage variable, the others numbers.
GreaterThan *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare `json:">,omitempty"`
// GreaterThanEqual [a, b], or [low, x, high] for a range (JsonLogic's between). One operand is a latency or usage variable, the others numbers.
GreaterThanEqual *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare `json:">=,omitempty"`
And *[]LivekitPublicapiEvalsV1EvalDefinitionRule `json:"and,omitempty"`
// In [name, {"var": "tool_calls" | "handoffs" | "tags"}]: the list holds name. Or [{"var": "intent" | "outcome" | "outcome_rating"}, [names]]: the session's value is one of names.
In *[]interface{} `json:"in,omitempty"`
Or *[]LivekitPublicapiEvalsV1EvalDefinitionRule `json:"or,omitempty"`
// ToolCalledBefore [tool, later_tool]: tool was called, and before any call to later_tool.
ToolCalledBefore *[]string `json:"tool_called_before,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionRule A type: rule criterion's rule: a JsonLogic expression (jsonlogic.com) over the session variables in rule_var. Only the operations listed here are allowed. tool_called_before is a custom operation.
type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare = []LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item
LivekitPublicapiEvalsV1EvalDefinitionRuleCompare [a, b], or [low, x, high] for a range (JsonLogic's between). One operand is a latency or usage variable, the others numbers.
type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 = float32
LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 defines model for LivekitPublicapiEvalsV1EvalDefinitionRuleCompare.0.
type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item struct {
// contains filtered or unexported fields
}
LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item defines model for livekit.publicapi.evals.v1.EvalDefinition.rule_compare.Item.
func (LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) AsLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) AsLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0() (LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0, error)
AsLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 returns the union data inside the LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item as a LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0
func (LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) AsLivekitPublicapiEvalsV1EvalDefinitionRuleVar ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) AsLivekitPublicapiEvalsV1EvalDefinitionRuleVar() (LivekitPublicapiEvalsV1EvalDefinitionRuleVar, error)
AsLivekitPublicapiEvalsV1EvalDefinitionRuleVar returns the union data inside the LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item as a LivekitPublicapiEvalsV1EvalDefinitionRuleVar
func (*LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) FromLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) FromLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0(v LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0) error
FromLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 overwrites any union data inside the LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item as the provided LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0
func (*LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) FromLivekitPublicapiEvalsV1EvalDefinitionRuleVar ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) FromLivekitPublicapiEvalsV1EvalDefinitionRuleVar(v LivekitPublicapiEvalsV1EvalDefinitionRuleVar) error
FromLivekitPublicapiEvalsV1EvalDefinitionRuleVar overwrites any union data inside the LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item as the provided LivekitPublicapiEvalsV1EvalDefinitionRuleVar
func (LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MarshalJSON ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MergeLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MergeLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0(v LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0) error
MergeLivekitPublicapiEvalsV1EvalDefinitionRuleCompare0 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item, using the provided LivekitPublicapiEvalsV1EvalDefinitionRuleCompare0
func (*LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MergeLivekitPublicapiEvalsV1EvalDefinitionRuleVar ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) MergeLivekitPublicapiEvalsV1EvalDefinitionRuleVar(v LivekitPublicapiEvalsV1EvalDefinitionRuleVar) error
MergeLivekitPublicapiEvalsV1EvalDefinitionRuleVar performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item, using the provided LivekitPublicapiEvalsV1EvalDefinitionRuleVar
func (*LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalDefinitionRuleCompare_Item) UnmarshalJSON(b []byte) error
type LivekitPublicapiEvalsV1EvalDefinitionRuleVar ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRuleVar struct {
Var *LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar `json:"var,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionRuleVar A session variable. tool_calls, handoffs and tags are lists of names. intent and outcome hold the session's label ID (LBL_*) or "other", and outcome_rating holds good, neutral or bad; each is empty when the session has no label of that kind. latency.* is in ms, rolled up per session by max or mean. usage.* are counts, except usage.session_duration in ms.
type LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar string
LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar defines model for LivekitPublicapiEvalsV1EvalDefinitionRuleVar.Var.
const ( Handoffs LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "handoffs" Intent LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "intent" LatencyE2eLatencyMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.e2e_latency.max" LatencyE2eLatencyMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.e2e_latency.mean" LatencyEotDelayMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.eot_delay.max" LatencyEotDelayMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.eot_delay.mean" LatencyLlmTtftMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.llm_ttft.max" LatencyLlmTtftMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.llm_ttft.mean" LatencyRealtimeTtftMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.realtime_ttft.max" LatencyRealtimeTtftMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.realtime_ttft.mean" LatencySttDelayMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.stt_delay.max" LatencySttDelayMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.stt_delay.mean" LatencyToolCallDurationMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.tool_call_duration.max" LatencyToolCallDurationMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.tool_call_duration.mean" LatencyTtsTtfbMax LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.tts_ttfb.max" LatencyTtsTtfbMean LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "latency.tts_ttfb.mean" Outcome LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "outcome" OutcomeRating LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "outcome_rating" Tags LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "tags" ToolCalls LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "tool_calls" UsageBackchannels LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.backchannels" UsageCachedTokens LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.cached_tokens" UsageInputTokens LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.input_tokens" UsageInterruptions LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.interruptions" UsageOutputTokens LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.output_tokens" UsageSessionDuration LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.session_duration" UsageTtsCharacters LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.tts_characters" UsageTurns LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar = "usage.turns" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar.
func (LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionRuleVarVar enum.
type LivekitPublicapiEvalsV1EvalDefinitionRun ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRun struct {
AlwaysScore *struct {
TagsAny *[]string `json:"tags_any,omitempty"`
} `json:"always_score,omitempty"`
SampleRate *float32 `json:"sample_rate,omitempty"`
When *LivekitPublicapiEvalsV1EvalDefinitionRunWhen `json:"when,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionRun defines model for livekit.publicapi.evals.v1.EvalDefinition.run.
type LivekitPublicapiEvalsV1EvalDefinitionRunWhen ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRunWhen struct {
// Intent Intent label IDs (`LBL_…`) of the project, or `other` for unfamiliar sessions. The eval runs only on sessions labeled with one of them.
Intent *[]string `json:"intent,omitempty"`
// IntentNone Intent label IDs (`LBL_…`), or `other`. The eval skips sessions labeled with any of them.
IntentNone *[]string `json:"intent_none,omitempty"`
MaxDuration *string `json:"max_duration,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
MinDuration *string `json:"min_duration,omitempty"`
MinUserTurns *int `json:"min_user_turns,omitempty"`
// Outcome Outcome label IDs (`LBL_…`) of the project, or `other` for unfamiliar sessions. The eval runs only on sessions labeled with one of them.
Outcome *[]string `json:"outcome,omitempty"`
// OutcomeNone Outcome label IDs (`LBL_…`), or `other`. The eval skips sessions labeled with any of them.
OutcomeNone *[]string `json:"outcome_none,omitempty"`
TagsAny *[]string `json:"tags_any,omitempty"`
TagsNone *[]string `json:"tags_none,omitempty"`
// Unlabeled What to do with a session that has no label of a kind this eval filters on, for example because labeling failed. `skip` (the default) does not run the eval on it; `include` runs it.
Unlabeled *LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled `json:"unlabeled,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionRunWhen defines model for livekit.publicapi.evals.v1.EvalDefinition.run_when.
type LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled string
LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled What to do with a session that has no label of a kind this eval filters on, for example because labeling failed. `skip` (the default) does not run the eval on it; `include` runs it.
const ( Include LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled = "include" Skip LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled = "skip" )
Defines values for LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled.
func (LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalDefinitionRunWhenUnlabeled enum.
type LivekitPublicapiEvalsV1EvalDefinitionScope ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDefinitionScope struct {
Agents *[]string `json:"agents,omitempty"`
Key *string `json:"key,omitempty"`
Projects *[]string `json:"projects,omitempty"`
}
LivekitPublicapiEvalsV1EvalDefinitionScope defines model for livekit.publicapi.evals.v1.EvalDefinition.scope.
type LivekitPublicapiEvalsV1EvalDraft ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDraft struct {
// BaseRevision The live revision when the draft was made. 0 for an eval with nothing
// published.
BaseRevision *int `json:"baseRevision,omitempty"`
// Definition The definition, with only the fields that its author set.
Definition *LivekitPublicapiEvalsV1EvalDefinition `json:"definition,omitempty"`
// DraftEtag The version of the draft. It changes each time the draft changes.
DraftEtag *string `json:"draftEtag,omitempty"`
// UpdatedAt When the draft last changed.
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
// UpdatedBy The ID of the user who last changed the draft.
UpdatedBy *string `json:"updatedBy,omitempty"`
}
LivekitPublicapiEvalsV1EvalDraft The draft of an eval: the next version of its definition, which scores
nothing until it is published.
type LivekitPublicapiEvalsV1EvalDraftsDiscardResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDraftsDiscardResponse = map[string]interface{}
LivekitPublicapiEvalsV1EvalDraftsDiscardResponse defines model for livekit.publicapi.evals.v1.EvalDrafts.Discard.Response.
type LivekitPublicapiEvalsV1EvalDraftsPublishResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDraftsPublishResponse struct {
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
// Revision The new live revision.
Revision *LivekitPublicapiEvalsV1EvalRevision `json:"revision,omitempty"`
}
LivekitPublicapiEvalsV1EvalDraftsPublishResponse defines model for livekit.publicapi.evals.v1.EvalDrafts.Publish.Response.
type LivekitPublicapiEvalsV1EvalDraftsSaveResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalDraftsSaveResponse struct {
// Draft The saved draft, with its new `draftEtag`.
Draft *LivekitPublicapiEvalsV1EvalDraft `json:"draft,omitempty"`
}
LivekitPublicapiEvalsV1EvalDraftsSaveResponse defines model for livekit.publicapi.evals.v1.EvalDrafts.Save.Response.
type LivekitPublicapiEvalsV1EvalFieldChange ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalFieldChange struct {
Kind *LivekitPublicapiEvalsV1EvalFieldChangeKind `json:"kind,omitempty"`
// NewValue The value in the newer version. Unset when the field was removed.
NewValue *GoogleProtobufValue `json:"newValue,omitempty"`
// OldValue The value in the older version. Unset when the field was added.
OldValue *GoogleProtobufValue `json:"oldValue,omitempty"`
// Path The path of the field in the definition. A criterion is named by its
// `id`, such as `criteria[resolved].points`.
Path *string `json:"path,omitempty"`
}
LivekitPublicapiEvalsV1EvalFieldChange A field that changed between two versions of a definition.
type LivekitPublicapiEvalsV1EvalFieldChangeKind ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalFieldChangeKind string
LivekitPublicapiEvalsV1EvalFieldChangeKind How a field changed between two versions of a definition.
const ( EVALFIELDCHANGEKINDADDED LivekitPublicapiEvalsV1EvalFieldChangeKind = "EVAL_FIELD_CHANGE_KIND_ADDED" EVALFIELDCHANGEKINDCHANGED LivekitPublicapiEvalsV1EvalFieldChangeKind = "EVAL_FIELD_CHANGE_KIND_CHANGED" EVALFIELDCHANGEKINDREMOVED LivekitPublicapiEvalsV1EvalFieldChangeKind = "EVAL_FIELD_CHANGE_KIND_REMOVED" EVALFIELDCHANGEKINDUNSPECIFIED LivekitPublicapiEvalsV1EvalFieldChangeKind = "EVAL_FIELD_CHANGE_KIND_UNSPECIFIED" )
Defines values for LivekitPublicapiEvalsV1EvalFieldChangeKind.
func (LivekitPublicapiEvalsV1EvalFieldChangeKind) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalFieldChangeKind) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalFieldChangeKind enum.
type LivekitPublicapiEvalsV1EvalHistoryEntry ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalHistoryEntry struct {
// ActorId The ID of the user who made the change.
ActorId *string `json:"actorId,omitempty"`
// ChangesScores True when the change made a revision that changes scores.
ChangesScores *bool `json:"changesScores,omitempty"`
// EvalVersion The `evalVersion` of the live revision after the change. Empty before the
// first publish.
EvalVersion *string `json:"evalVersion,omitempty"`
Kind *LivekitPublicapiEvalsV1EvalHistoryKind `json:"kind,omitempty"`
// Message The message that the publisher wrote. Empty for a kind that is not a
// publish or a rollback.
Message *string `json:"message,omitempty"`
// OccurredAt When the change occurred.
OccurredAt *GoogleProtobufTimestamp `json:"occurredAt,omitempty"`
// RestoredFrom The revision that a rollback copied. 0 for every other kind.
RestoredFrom *int `json:"restoredFrom,omitempty"`
// Revision The live revision after the change.
Revision *int `json:"revision,omitempty"`
// Source The tool that made the change.
Source *LivekitPublicapiEvalsV1EvalSource `json:"source,omitempty"`
}
LivekitPublicapiEvalsV1EvalHistoryEntry An entry of the history of an eval.
type LivekitPublicapiEvalsV1EvalHistoryKind ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalHistoryKind string
LivekitPublicapiEvalsV1EvalHistoryKind The kind of an entry of the history of an eval.
const ( EVALHISTORYKINDDELETED LivekitPublicapiEvalsV1EvalHistoryKind = "EVAL_HISTORY_KIND_DELETED" EVALHISTORYKINDDETAILSCHANGED LivekitPublicapiEvalsV1EvalHistoryKind = "EVAL_HISTORY_KIND_DETAILS_CHANGED" EVALHISTORYKINDPUBLISHED LivekitPublicapiEvalsV1EvalHistoryKind = "EVAL_HISTORY_KIND_PUBLISHED" EVALHISTORYKINDROLLEDBACK LivekitPublicapiEvalsV1EvalHistoryKind = "EVAL_HISTORY_KIND_ROLLED_BACK" EVALHISTORYKINDUNDELETED LivekitPublicapiEvalsV1EvalHistoryKind = "EVAL_HISTORY_KIND_UNDELETED" EVALHISTORYKINDUNSPECIFIED LivekitPublicapiEvalsV1EvalHistoryKind = "EVAL_HISTORY_KIND_UNSPECIFIED" )
Defines values for LivekitPublicapiEvalsV1EvalHistoryKind.
func (LivekitPublicapiEvalsV1EvalHistoryKind) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalHistoryKind) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalHistoryKind enum.
type LivekitPublicapiEvalsV1EvalHistoryListResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalHistoryListResponse struct {
Items *[]LivekitPublicapiEvalsV1EvalHistoryEntry `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiEvalsV1EvalHistoryListResponse defines model for livekit.publicapi.evals.v1.EvalHistory.List.Response.
type LivekitPublicapiEvalsV1EvalRevision ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalRevision struct {
// ChangesScores True when the revision changes scores: its `evalVersion` is not the one
// of the revision before it.
ChangesScores *bool `json:"changesScores,omitempty"`
// Definition The definition, with only the fields that its author set.
Definition *LivekitPublicapiEvalsV1EvalDefinition `json:"definition,omitempty"`
// EvalVersion A hash of the fields of the definition that change scores. Two revisions
// with the same `evalVersion` give the same scores.
EvalVersion *string `json:"evalVersion,omitempty"`
// Message The message that the publisher wrote.
Message *string `json:"message,omitempty"`
// PublishedAt When the revision was published.
PublishedAt *GoogleProtobufTimestamp `json:"publishedAt,omitempty"`
// PublishedBy The ID of the user who published the revision.
PublishedBy *string `json:"publishedBy,omitempty"`
// ResolvedDefinition The definition with the judge defaults of the project when it was
// published. LiveKit scores sessions with this definition.
ResolvedDefinition *LivekitPublicapiEvalsV1EvalDefinition `json:"resolvedDefinition,omitempty"`
// RestoredFrom The revision that a rollback copied. 0 when the revision is not a
// rollback.
RestoredFrom *int `json:"restoredFrom,omitempty"`
// Revision The revision number. The first publish makes revision 1.
Revision *int `json:"revision,omitempty"`
// Source The tool that published the revision.
Source *LivekitPublicapiEvalsV1EvalSource `json:"source,omitempty"`
}
LivekitPublicapiEvalsV1EvalRevision A published version of the definition of an eval. A revision does not
change.
type LivekitPublicapiEvalsV1EvalRevisionsDiffResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalRevisionsDiffResponse struct {
// Changes The fields that changed, sorted by path. Empty when the two versions
// are the same.
Changes *[]LivekitPublicapiEvalsV1EvalFieldChange `json:"changes,omitempty"`
}
LivekitPublicapiEvalsV1EvalRevisionsDiffResponse defines model for livekit.publicapi.evals.v1.EvalRevisions.Diff.Response.
type LivekitPublicapiEvalsV1EvalSource ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalSource string
LivekitPublicapiEvalsV1EvalSource The tool that made a change to an eval.
const ( EVALSOURCEAPI LivekitPublicapiEvalsV1EvalSource = "EVAL_SOURCE_API" EVALSOURCEDASHBOARD LivekitPublicapiEvalsV1EvalSource = "EVAL_SOURCE_DASHBOARD" EVALSOURCEMCP LivekitPublicapiEvalsV1EvalSource = "EVAL_SOURCE_MCP" EVALSOURCEUNSPECIFIED LivekitPublicapiEvalsV1EvalSource = "EVAL_SOURCE_UNSPECIFIED" )
Defines values for LivekitPublicapiEvalsV1EvalSource.
func (LivekitPublicapiEvalsV1EvalSource) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1EvalSource) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1EvalSource enum.
type LivekitPublicapiEvalsV1EvalViolation ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalViolation struct {
// Message What is wrong with the field.
Message *string `json:"message,omitempty"`
// Path The path of the field in the definition, such as
// `criteria[0].question`.
Path *string `json:"path,omitempty"`
}
LivekitPublicapiEvalsV1EvalViolation A field of a definition that is wrong or missing.
type LivekitPublicapiEvalsV1EvalsCreateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsCreateResponse struct {
// Draft The first draft.
Draft *LivekitPublicapiEvalsV1EvalDraft `json:"draft,omitempty"`
// Eval The new eval.
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
}
LivekitPublicapiEvalsV1EvalsCreateResponse defines model for livekit.publicapi.evals.v1.Evals.Create.Response.
type LivekitPublicapiEvalsV1EvalsDeleteResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsDeleteResponse struct {
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
}
LivekitPublicapiEvalsV1EvalsDeleteResponse defines model for livekit.publicapi.evals.v1.Evals.Delete.Response.
type LivekitPublicapiEvalsV1EvalsGetResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsGetResponse struct {
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
// contains filtered or unexported fields
}
LivekitPublicapiEvalsV1EvalsGetResponse defines model for livekit.publicapi.evals.v1.Evals.Get.Response.
func (LivekitPublicapiEvalsV1EvalsGetResponse) AsLivekitPublicapiEvalsV1EvalsGetResponse0 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalsGetResponse) AsLivekitPublicapiEvalsV1EvalsGetResponse0() (LivekitPublicapiEvalsV1EvalsGetResponse0, error)
AsLivekitPublicapiEvalsV1EvalsGetResponse0 returns the union data inside the LivekitPublicapiEvalsV1EvalsGetResponse as a LivekitPublicapiEvalsV1EvalsGetResponse0
func (LivekitPublicapiEvalsV1EvalsGetResponse) AsLivekitPublicapiEvalsV1EvalsGetResponse1 ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalsGetResponse) AsLivekitPublicapiEvalsV1EvalsGetResponse1() (LivekitPublicapiEvalsV1EvalsGetResponse1, error)
AsLivekitPublicapiEvalsV1EvalsGetResponse1 returns the union data inside the LivekitPublicapiEvalsV1EvalsGetResponse as a LivekitPublicapiEvalsV1EvalsGetResponse1
func (*LivekitPublicapiEvalsV1EvalsGetResponse) FromLivekitPublicapiEvalsV1EvalsGetResponse0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalsGetResponse) FromLivekitPublicapiEvalsV1EvalsGetResponse0(v LivekitPublicapiEvalsV1EvalsGetResponse0) error
FromLivekitPublicapiEvalsV1EvalsGetResponse0 overwrites any union data inside the LivekitPublicapiEvalsV1EvalsGetResponse as the provided LivekitPublicapiEvalsV1EvalsGetResponse0
func (*LivekitPublicapiEvalsV1EvalsGetResponse) FromLivekitPublicapiEvalsV1EvalsGetResponse1 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalsGetResponse) FromLivekitPublicapiEvalsV1EvalsGetResponse1(v LivekitPublicapiEvalsV1EvalsGetResponse1) error
FromLivekitPublicapiEvalsV1EvalsGetResponse1 overwrites any union data inside the LivekitPublicapiEvalsV1EvalsGetResponse as the provided LivekitPublicapiEvalsV1EvalsGetResponse1
func (LivekitPublicapiEvalsV1EvalsGetResponse) MarshalJSON ¶ added in v2.20.2
func (t LivekitPublicapiEvalsV1EvalsGetResponse) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiEvalsV1EvalsGetResponse) MergeLivekitPublicapiEvalsV1EvalsGetResponse0 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalsGetResponse) MergeLivekitPublicapiEvalsV1EvalsGetResponse0(v LivekitPublicapiEvalsV1EvalsGetResponse0) error
MergeLivekitPublicapiEvalsV1EvalsGetResponse0 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalsGetResponse, using the provided LivekitPublicapiEvalsV1EvalsGetResponse0
func (*LivekitPublicapiEvalsV1EvalsGetResponse) MergeLivekitPublicapiEvalsV1EvalsGetResponse1 ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalsGetResponse) MergeLivekitPublicapiEvalsV1EvalsGetResponse1(v LivekitPublicapiEvalsV1EvalsGetResponse1) error
MergeLivekitPublicapiEvalsV1EvalsGetResponse1 performs a merge with any union data inside the LivekitPublicapiEvalsV1EvalsGetResponse, using the provided LivekitPublicapiEvalsV1EvalsGetResponse1
func (*LivekitPublicapiEvalsV1EvalsGetResponse) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitPublicapiEvalsV1EvalsGetResponse) UnmarshalJSON(b []byte) error
type LivekitPublicapiEvalsV1EvalsGetResponse0 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsGetResponse0 struct {
// Draft The draft. Set when the request named the draft, or when nothing
// is published.
Draft *LivekitPublicapiEvalsV1EvalDraft `json:"draft,omitempty"`
}
LivekitPublicapiEvalsV1EvalsGetResponse0 defines model for LivekitPublicapiEvalsV1EvalsGetResponse.0.
type LivekitPublicapiEvalsV1EvalsGetResponse1 ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsGetResponse1 struct {
// Revision The revision.
Revision *LivekitPublicapiEvalsV1EvalRevision `json:"revision,omitempty"`
}
LivekitPublicapiEvalsV1EvalsGetResponse1 defines model for LivekitPublicapiEvalsV1EvalsGetResponse.1.
type LivekitPublicapiEvalsV1EvalsListResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsListResponse struct {
Items *[]LivekitPublicapiEvalsV1Eval `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiEvalsV1EvalsListResponse defines model for livekit.publicapi.evals.v1.Evals.List.Response.
type LivekitPublicapiEvalsV1EvalsRollbackResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsRollbackResponse struct {
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
// Revision The new live revision, a copy of the one that the request named.
Revision *LivekitPublicapiEvalsV1EvalRevision `json:"revision,omitempty"`
}
LivekitPublicapiEvalsV1EvalsRollbackResponse defines model for livekit.publicapi.evals.v1.Evals.Rollback.Response.
type LivekitPublicapiEvalsV1EvalsUndeleteResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsUndeleteResponse struct {
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
}
LivekitPublicapiEvalsV1EvalsUndeleteResponse defines model for livekit.publicapi.evals.v1.Evals.Undelete.Response.
type LivekitPublicapiEvalsV1EvalsUpdateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsUpdateResponse struct {
Eval *LivekitPublicapiEvalsV1Eval `json:"eval,omitempty"`
}
LivekitPublicapiEvalsV1EvalsUpdateResponse defines model for livekit.publicapi.evals.v1.Evals.Update.Response.
type LivekitPublicapiEvalsV1EvalsValidateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1EvalsValidateResponse struct {
// Definition The definition, with the judge defaults of the project applied.
Definition *LivekitPublicapiEvalsV1EvalDefinition `json:"definition,omitempty"`
// Violations Each field of the definition that is wrong or missing. Empty when the
// definition can be published.
Violations *[]LivekitPublicapiEvalsV1EvalViolation `json:"violations,omitempty"`
}
LivekitPublicapiEvalsV1EvalsValidateResponse defines model for livekit.publicapi.evals.v1.Evals.Validate.Response.
type LivekitPublicapiEvalsV1JudgeDefaults ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaults struct {
// Definition The judge defaults. Unset fields take the LiveKit defaults.
Definition *LivekitPublicapiEvalsV1JudgeDefaultsDefinition `json:"definition,omitempty"`
// UpdatedAt When the judge defaults last changed. Unset when they never changed.
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
// UpdatedBy The ID of the user who last changed the judge defaults.
UpdatedBy *string `json:"updatedBy,omitempty"`
// UpdatedSource The tool that last changed the judge defaults.
UpdatedSource *LivekitPublicapiEvalsV1EvalSource `json:"updatedSource,omitempty"`
}
LivekitPublicapiEvalsV1JudgeDefaults The judge defaults of a project: the judge settings that each eval uses
when its definition does not set its own.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinition ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinition struct {
Judge *struct {
Cheap *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap `json:"cheap,omitempty"`
Panel *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel `json:"panel,omitempty"`
ReviewLevel *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel `json:"review_level,omitempty"`
} `json:"judge,omitempty"`
}
LivekitPublicapiEvalsV1JudgeDefaultsDefinition Shape of the project-wide judge defaults applied to every eval unless an eval's own definition overrides them.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap struct {
Confidence *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence `json:"confidence,omitempty"`
Model *string `json:"model,omitempty"`
}
LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap defines model for livekit.publicapi.evals.v1.JudgeDefaultsDefinition.cheap.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence string
LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence defines model for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheap.Confidence.
const ( Agreement LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence = "agreement" Probability LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence = "probability" )
Defines values for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence.
func (LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1JudgeDefaultsDefinitionCheapConfidence enum.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel struct {
Decide *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide `json:"decide,omitempty"`
Members *[]string `json:"members,omitempty"`
OnSplit *LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit `json:"on_split,omitempty"`
}
LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel defines model for livekit.publicapi.evals.v1.JudgeDefaultsDefinition.panel.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide string
LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide defines model for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel.Decide.
const ( Majority LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide = "majority" Unanimous LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide = "unanimous" )
Defines values for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide.
func (LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelDecide enum.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit string
LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit defines model for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanel.OnSplit.
const ( Human LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit = "human" Uncertain LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit = "uncertain" )
Defines values for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit.
func (LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1JudgeDefaultsDefinitionPanelOnSplit enum.
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel ¶ added in v2.20.2
type LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel string
LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel defines model for livekit.publicapi.evals.v1.JudgeDefaultsDefinition.review_level.
const ( Balanced LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel = "balanced" Fast LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel = "fast" Thorough LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel = "thorough" )
Defines values for LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel.
func (LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1JudgeDefaultsDefinitionReviewLevel enum.
type LivekitPublicapiEvalsV1SessionLabel ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabel struct {
// Active When false, the label is deleted, and LiveKit does not assign it.
Active *bool `json:"active,omitempty"`
// Agents The names of the agents that the label applies to. When empty, the label
// applies to every agent of the project.
Agents *[]string `json:"agents,omitempty"`
// CreatedAt When the label was created.
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// Description What the label means. The LLM that assigns labels reads it.
Description *string `json:"description,omitempty"`
Kind *LivekitPublicapiEvalsV1SessionLabelKind `json:"kind,omitempty"`
// LabelId The label ID (`LBL_...`).
LabelId *string `json:"labelId,omitempty"`
// Name The name of the label. It is unique among the active labels of the same
// kind. Evals and results refer to the label by `labelId`, so a new name
// does not change them.
Name *string `json:"name,omitempty"`
// Rating The rating of an outcome. Unspecified for an intent.
Rating *LivekitPublicapiEvalsV1SessionLabelRating `json:"rating,omitempty"`
// UpdatedAt When the label last changed.
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
// UpdatedBy The ID of the user who last changed the label.
UpdatedBy *string `json:"updatedBy,omitempty"`
// UpdatedSource The tool that last changed the label.
UpdatedSource *LivekitPublicapiEvalsV1EvalSource `json:"updatedSource,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabel An intent or an outcome that an LLM assigns to each finished session.
type LivekitPublicapiEvalsV1SessionLabelAgents ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelAgents struct {
// Names The agent names. When empty, every agent of the project.
Names *[]string `json:"names,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelAgents A list of agent names. It tells an empty list, which means every agent, from
a field that is not set.
type LivekitPublicapiEvalsV1SessionLabelKind ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelKind string
LivekitPublicapiEvalsV1SessionLabelKind Whether a session label is an intent or an outcome.
const ( SESSIONLABELKINDINTENT LivekitPublicapiEvalsV1SessionLabelKind = "SESSION_LABEL_KIND_INTENT" SESSIONLABELKINDOUTCOME LivekitPublicapiEvalsV1SessionLabelKind = "SESSION_LABEL_KIND_OUTCOME" SESSIONLABELKINDUNSPECIFIED LivekitPublicapiEvalsV1SessionLabelKind = "SESSION_LABEL_KIND_UNSPECIFIED" )
Defines values for LivekitPublicapiEvalsV1SessionLabelKind.
func (LivekitPublicapiEvalsV1SessionLabelKind) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1SessionLabelKind) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1SessionLabelKind enum.
type LivekitPublicapiEvalsV1SessionLabelRating ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelRating string
LivekitPublicapiEvalsV1SessionLabelRating Whether an outcome is a good or bad way for a session to end. LiveKit flags
an agent when a bad outcome rises or a good one falls. A neutral outcome never flags an agent. An intent has no rating.
const ( SESSIONLABELRATINGBAD LivekitPublicapiEvalsV1SessionLabelRating = "SESSION_LABEL_RATING_BAD" SESSIONLABELRATINGGOOD LivekitPublicapiEvalsV1SessionLabelRating = "SESSION_LABEL_RATING_GOOD" SESSIONLABELRATINGNEUTRAL LivekitPublicapiEvalsV1SessionLabelRating = "SESSION_LABEL_RATING_NEUTRAL" SESSIONLABELRATINGUNSPECIFIED LivekitPublicapiEvalsV1SessionLabelRating = "SESSION_LABEL_RATING_UNSPECIFIED" )
Defines values for LivekitPublicapiEvalsV1SessionLabelRating.
func (LivekitPublicapiEvalsV1SessionLabelRating) Valid ¶ added in v2.20.2
func (e LivekitPublicapiEvalsV1SessionLabelRating) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiEvalsV1SessionLabelRating enum.
type LivekitPublicapiEvalsV1SessionLabelSettings ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelSettings struct {
// ConfidenceThreshold The lowest confidence at which the LLM keeps a label for a session. From
// above 0 to 1. Defaults to 0.7.
ConfidenceThreshold *float64 `json:"confidenceThreshold,omitempty"`
// MinDuration The shortest session to label, as a whole number with a unit of `s`, `m`
// or `h`, such as `30s`. Unset means no limit.
MinDuration *string `json:"minDuration,omitempty"`
// MinUserTurns The fewest user turns that a session needs to be labeled. Defaults to 1.
MinUserTurns *int `json:"minUserTurns,omitempty"`
// TagsNone LiveKit does not label a session that has any of these tags.
TagsNone *[]string `json:"tagsNone,omitempty"`
// UpdatedAt When the settings last changed. Unset when they never changed. Ignored in
// a request.
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
// UpdatedBy The ID of the user who last changed the settings. Ignored in a request.
UpdatedBy *string `json:"updatedBy,omitempty"`
// UpdatedSource The tool that last changed the settings. Ignored in a request.
UpdatedSource *LivekitPublicapiEvalsV1EvalSource `json:"updatedSource,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelSettings The settings that decide which sessions LiveKit labels.
type LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse struct {
// Settings The settings in effect: the values that the project set, and the
// default for each other field.
Settings *LivekitPublicapiEvalsV1SessionLabelSettings `json:"settings,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelSettingsOpsGetResponse defines model for livekit.publicapi.evals.v1.SessionLabelSettingsOps.Get.Response.
type LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse struct {
// Settings The settings in effect after the change.
Settings *LivekitPublicapiEvalsV1SessionLabelSettings `json:"settings,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelSettingsOpsUpdateResponse defines model for livekit.publicapi.evals.v1.SessionLabelSettingsOps.Update.Response.
type LivekitPublicapiEvalsV1SessionLabelsCreateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelsCreateResponse struct {
// Label The new label.
Label *LivekitPublicapiEvalsV1SessionLabel `json:"label,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelsCreateResponse defines model for livekit.publicapi.evals.v1.SessionLabels.Create.Response.
type LivekitPublicapiEvalsV1SessionLabelsDeleteResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelsDeleteResponse struct {
// Label The deleted label.
Label *LivekitPublicapiEvalsV1SessionLabel `json:"label,omitempty"`
// ReferencingEvals The active evals that still name the label in `run.when`, in the live
// revision or in the draft. Each one has no definition: read it with
// `GetEval`.
ReferencingEvals *[]LivekitPublicapiEvalsV1Eval `json:"referencingEvals,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelsDeleteResponse defines model for livekit.publicapi.evals.v1.SessionLabels.Delete.Response.
type LivekitPublicapiEvalsV1SessionLabelsListResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelsListResponse struct {
Items *[]LivekitPublicapiEvalsV1SessionLabel `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelsListResponse defines model for livekit.publicapi.evals.v1.SessionLabels.List.Response.
type LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse struct {
Label *LivekitPublicapiEvalsV1SessionLabel `json:"label,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelsUndeleteResponse defines model for livekit.publicapi.evals.v1.SessionLabels.Undelete.Response.
type LivekitPublicapiEvalsV1SessionLabelsUpdateResponse ¶ added in v2.20.2
type LivekitPublicapiEvalsV1SessionLabelsUpdateResponse struct {
Label *LivekitPublicapiEvalsV1SessionLabel `json:"label,omitempty"`
}
LivekitPublicapiEvalsV1SessionLabelsUpdateResponse defines model for livekit.publicapi.evals.v1.SessionLabels.Update.Response.
type LivekitPublicapiObservabilityV1DataState ¶ added in v2.19.4
type LivekitPublicapiObservabilityV1DataState string
LivekitPublicapiObservabilityV1DataState A state of the session data: whether more of it can still arrive.
const ( DATASTATESESSIONACTIVE LivekitPublicapiObservabilityV1DataState = "DATA_STATE_SESSION_ACTIVE" DATASTATESETTLED LivekitPublicapiObservabilityV1DataState = "DATA_STATE_SETTLED" DATASTATESETTLING LivekitPublicapiObservabilityV1DataState = "DATA_STATE_SETTLING" DATASTATEUNSPECIFIED LivekitPublicapiObservabilityV1DataState = "DATA_STATE_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1DataState.
func (LivekitPublicapiObservabilityV1DataState) Valid ¶ added in v2.19.4
func (e LivekitPublicapiObservabilityV1DataState) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1DataState enum.
type LivekitPublicapiObservabilityV1DataStatus ¶ added in v2.19.4
type LivekitPublicapiObservabilityV1DataStatus struct {
// RetryAfterSeconds The number of seconds to wait before you read again. Set only when
// `state` is `DATA_STATE_SETTLING`, and 0 in every other state.
RetryAfterSeconds *int `json:"retryAfterSeconds,omitempty"`
// State The state of the session data: whether more of it can still arrive.
State *LivekitPublicapiObservabilityV1DataState `json:"state,omitempty"`
}
LivekitPublicapiObservabilityV1DataStatus The status of the session data: whether more of it can still arrive. A
read returns the data that exists when it runs, so a response can hold only part of the session data in every state.
type LivekitPublicapiObservabilityV1EvalJudgeAnswer ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1EvalJudgeAnswer struct {
// Answer The answer of the judge. Empty unless `outcome` is `answered`.
Answer *string `json:"answer,omitempty"`
// Index The position of the judge in the panel of the criterion, from 0.
Index *int `json:"index,omitempty"`
// Model The model of the judge.
Model *string `json:"model,omitempty"`
// Outcome What the judge did: `answered`, `refused`, `unreadable`, or `failed`.
Outcome *string `json:"outcome,omitempty"`
// Probability The probability that the judge gave its answer, from 0 to 1. Unset when
// the judge gave none.
Probability *float64 `json:"probability,omitempty"`
}
LivekitPublicapiObservabilityV1EvalJudgeAnswer The answer of one judge to a criterion. A judge is an LLM that answers the
criterion.
type LivekitPublicapiObservabilityV1EvalSession ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1EvalSession struct {
// AgentName The name of the agent that ran the job.
AgentName *string `json:"agentName,omitempty"`
// AgentVersion The version of the agent that ran the job.
AgentVersion *string `json:"agentVersion,omitempty"`
// EndedAt The time that the session ended.
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
// Evals The eval results of the job, by `evalId`. Empty for a job that LiveKit
// only labeled.
Evals *[]LivekitPublicapiObservabilityV1EvalSessionResult `json:"evals,omitempty"`
// IntentId The ID of the intent that LiveKit assigned to the job (`LBL_...`).
// `other` when no intent matched, and empty when LiveKit did not label the
// job.
IntentId *string `json:"intentId,omitempty"`
// JobId The ID of the agent job (`AJ_...`).
JobId *string `json:"jobId,omitempty"`
// OutcomeId The ID of the outcome that LiveKit assigned to the job (`LBL_...`).
// `other` when no outcome matched, and empty when LiveKit did not label the
// job.
OutcomeId *string `json:"outcomeId,omitempty"`
// SessionId The session ID (`RM_...`).
SessionId *string `json:"sessionId,omitempty"`
}
LivekitPublicapiObservabilityV1EvalSession One agent job in a session, with its eval results, as `ListEvalSessions`
returns it.
type LivekitPublicapiObservabilityV1EvalSessionResult ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1EvalSessionResult struct {
// CriterionAnswer The answer to the criterion in `criterionId`. Set only when the request
// has `criterionId`. Empty for a `rule` criterion: a rule has no judge
// answer, and every listed session failed it.
CriterionAnswer *string `json:"criterionAnswer,omitempty"`
// ErrorCode Why the eval did not run to the end. Empty unless `verdict` is
// `EVAL_VERDICT_ERROR`.
ErrorCode *string `json:"errorCode,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// EvalVersion The hash of the eval version that scored the job.
EvalVersion *string `json:"evalVersion,omitempty"`
// FailedCriterionIds The IDs of the criteria that the eval failed, sorted. Set only when the
// request has `evalId` or `verdict`, and no `criterionId`.
FailedCriterionIds *[]string `json:"failedCriterionIds,omitempty"`
// JudgeAnswers The answers of the judges to the criterion in `criterionId`, by judge. A
// judge with no answer has its outcome, such as `refused`. Set only when
// the request has `criterionId`.
JudgeAnswers *[]string `json:"judgeAnswers,omitempty"`
// Score The score of the eval, from 0 to 1. Unset when the eval has no score.
Score *float64 `json:"score,omitempty"`
// Verdict The verdict of the eval.
Verdict *LivekitPublicapiObservabilityV1EvalVerdict `json:"verdict,omitempty"`
}
LivekitPublicapiObservabilityV1EvalSessionResult The result of one eval on one agent job, as `ListEvalSessions` returns it.
type LivekitPublicapiObservabilityV1EvalSessionsListResponse ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1EvalSessionsListResponse struct {
Items *[]LivekitPublicapiObservabilityV1EvalSession `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiObservabilityV1EvalSessionsListResponse defines model for livekit.publicapi.observability.v1.EvalSessions.List.Response.
type LivekitPublicapiObservabilityV1EvalVerdict ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1EvalVerdict string
LivekitPublicapiObservabilityV1EvalVerdict A verdict of an eval or a criterion.
const ( EVALVERDICTERROR LivekitPublicapiObservabilityV1EvalVerdict = "EVAL_VERDICT_ERROR" EVALVERDICTFAIL LivekitPublicapiObservabilityV1EvalVerdict = "EVAL_VERDICT_FAIL" EVALVERDICTNOTAPPLICABLE LivekitPublicapiObservabilityV1EvalVerdict = "EVAL_VERDICT_NOT_APPLICABLE" EVALVERDICTPASS LivekitPublicapiObservabilityV1EvalVerdict = "EVAL_VERDICT_PASS" EVALVERDICTUNDECIDED LivekitPublicapiObservabilityV1EvalVerdict = "EVAL_VERDICT_UNDECIDED" EVALVERDICTUNSPECIFIED LivekitPublicapiObservabilityV1EvalVerdict = "EVAL_VERDICT_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1EvalVerdict.
func (LivekitPublicapiObservabilityV1EvalVerdict) Valid ¶ added in v2.20.2
func (e LivekitPublicapiObservabilityV1EvalVerdict) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1EvalVerdict enum.
type LivekitPublicapiObservabilityV1LogLevel ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1LogLevel string
LivekitPublicapiObservabilityV1LogLevel The level of a log record, as the logs panel on the dashboard shows and
filters it. Python and Node.js agents use different level names, such as `CRITICAL` in Python and `FATAL` in Node.js. Thus, the level of a record comes from its OpenTelemetry severity number, or from its level name when it has no severity number. Each level has the same meaning for Python and Node.js agents.
const ( LOGLEVELDEBUG LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_DEBUG" LOGLEVELERROR LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_ERROR" LOGLEVELFATAL LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_FATAL" LOGLEVELINFO LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_INFO" LOGLEVELTRACE LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_TRACE" LOGLEVELUNSPECIFIED LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_UNSPECIFIED" LOGLEVELWARN LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_WARN" )
Defines values for LivekitPublicapiObservabilityV1LogLevel.
func (LivekitPublicapiObservabilityV1LogLevel) Valid ¶ added in v2.19.1
func (e LivekitPublicapiObservabilityV1LogLevel) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1LogLevel enum.
type LivekitPublicapiObservabilityV1LogPattern ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1LogPattern struct {
// Buckets The number of records in each interval of the range, oldest first. All
// intervals have the same length. An interval with no records is not in
// the list.
Buckets *[]LivekitPublicapiObservabilityV1LogPatternBucket `json:"buckets,omitempty"`
// CodeFile The code file that logged the records. Empty when the records have no
// code location.
CodeFile *string `json:"codeFile,omitempty"`
// CodeFunc The code function that logged the records. Empty when the records have
// no code location.
CodeFunc *string `json:"codeFunc,omitempty"`
// Events The number of records in the range.
Events *string `json:"events,omitempty"`
// FirstSeen The time of the first record in the range. When the counts are
// estimates, it is the first record that the API read.
FirstSeen *GoogleProtobufTimestamp `json:"firstSeen,omitempty"`
// Id The ID of the pattern, as a decimal string. Two reads of the same records
// return the same ID. When new records
// add a placeholder to the template, the pattern gets the ID of the new
// template.
Id *string `json:"id,omitempty"`
// LastSeen The time of the last record in the range. When the counts are
// estimates, it is the last record that the API read.
LastSeen *GoogleProtobufTimestamp `json:"lastSeen,omitempty"`
// Level The level of the records. `LOG_LEVEL_UNSPECIFIED` for records with no
// level.
Level *LivekitPublicapiObservabilityV1LogLevel `json:"level,omitempty"`
// Logger The logger that wrote the records, such as `livekit.agents`.
Logger *string `json:"logger,omitempty"`
// Source The source of the records.
Source *LivekitPublicapiObservabilityV1LogSource `json:"source,omitempty"`
// Template The message of the records, with each variable part replaced by a
// placeholder. For example, `<N>` replaces a number. `<*>` replaces a
// word that is different in the variants. A string in double quotes is not
// replaced.
Template *string `json:"template,omitempty"`
// Variants The messages that the pattern groups, with their own counts, most
// records first. At most 10.
Variants *[]LivekitPublicapiObservabilityV1LogPatternVariant `json:"variants,omitempty"`
}
LivekitPublicapiObservabilityV1LogPattern A group of log records that log the same message from one place in the
code, at one level.
type LivekitPublicapiObservabilityV1LogPatternBucket ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1LogPatternBucket struct {
// Events The number of records in the interval.
Events *string `json:"events,omitempty"`
// StartTime The start of the interval.
StartTime *GoogleProtobufTimestamp `json:"startTime,omitempty"`
}
LivekitPublicapiObservabilityV1LogPatternBucket The number of records of a pattern in one interval.
type LivekitPublicapiObservabilityV1LogPatternRank ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1LogPatternRank string
LivekitPublicapiObservabilityV1LogPatternRank The rank that chooses which log patterns `ListLogPatterns` returns.
const ( LOGPATTERNRANKEVENTS LivekitPublicapiObservabilityV1LogPatternRank = "LOG_PATTERN_RANK_EVENTS" LOGPATTERNRANKFIRSTSEEN LivekitPublicapiObservabilityV1LogPatternRank = "LOG_PATTERN_RANK_FIRST_SEEN" LOGPATTERNRANKLASTSEEN LivekitPublicapiObservabilityV1LogPatternRank = "LOG_PATTERN_RANK_LAST_SEEN" LOGPATTERNRANKUNSPECIFIED LivekitPublicapiObservabilityV1LogPatternRank = "LOG_PATTERN_RANK_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1LogPatternRank.
func (LivekitPublicapiObservabilityV1LogPatternRank) Valid ¶ added in v2.20.2
func (e LivekitPublicapiObservabilityV1LogPatternRank) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1LogPatternRank enum.
type LivekitPublicapiObservabilityV1LogPatternVariant ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1LogPatternVariant struct {
// Events The number of records with this message.
Events *string `json:"events,omitempty"`
// Template The message, with each variable part replaced by a placeholder.
Template *string `json:"template,omitempty"`
}
LivekitPublicapiObservabilityV1LogPatternVariant One message that a pattern groups, with its own count.
type LivekitPublicapiObservabilityV1LogPatternsListResponse ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1LogPatternsListResponse struct {
// Estimated When true, the counts are estimates. The API read the records of a
// share of the sessions (`sampleShare`), and scaled the counts.
Estimated *bool `json:"estimated,omitempty"`
Items *[]LivekitPublicapiObservabilityV1LogPattern `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
// when the counts are exact.
SampleShare *float64 `json:"sampleShare,omitempty"`
// TotalEvents The number of records in the range, in all patterns. It includes the
// patterns that `pageSize` leaves out.
TotalEvents *string `json:"totalEvents,omitempty"`
}
LivekitPublicapiObservabilityV1LogPatternsListResponse defines model for livekit.publicapi.observability.v1.LogPatterns.List.Response.
type LivekitPublicapiObservabilityV1LogRecord ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1LogRecord struct {
// Attributes The attributes of the record, typed and nested as the agent recorded
// them. They include its resource and scope attributes. When an
// attribute has two values, the value of the record is used. An integer
// larger than 2^53 or smaller than -2^53 is a decimal string. Bytes are
// base64.
Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`
// BodyFields The fields of a structured log body, other than the message.
// Empty for a plain text body.
BodyFields *map[string]*GoogleProtobufValue `json:"bodyFields,omitempty"`
// Id The ID of the record. It is the same on every read.
Id *string `json:"id,omitempty"`
// Level The level, mapped onto the LogLevel values.
Level *LivekitPublicapiObservabilityV1LogLevel `json:"level,omitempty"`
// Logger The logger that wrote the record (its `logger.name` attribute).
Logger *string `json:"logger,omitempty"`
// Message The text of the record. A structured logger puts the text in the `event`,
// `message`, or `msg` field of its body. When a structured body has none of
// these fields, this field holds the full body as JSON.
Message *string `json:"message,omitempty"`
// SessionId The session ID (`RM_...`) of the record. Empty for a record of no
// session, which only `ListProjectLogs` returns.
SessionId *string `json:"sessionId,omitempty"`
// SeverityText The name of the level, as the agent logged it, such as `WARN` or
// `CRITICAL`.
SeverityText *string `json:"severityText,omitempty"`
// Source The source of the record. `GetSessionLogs` returns only
// `LOG_SOURCE_AGENT` records.
Source *LivekitPublicapiObservabilityV1LogSource `json:"source,omitempty"`
// SpanId The ID of the span that the record was logged in, as lowercase hex. Empty
// when the record was logged outside a span.
SpanId *string `json:"spanId,omitempty"`
// Timestamp When the record was logged.
Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
// TraceId The ID of the trace that the record was logged in, as lowercase hex.
// Empty when the record was logged outside a trace. With `spanId`, it links
// the record to its span in `GetSessionTraces`.
TraceId *string `json:"traceId,omitempty"`
}
LivekitPublicapiObservabilityV1LogRecord A log record. `GetSessionLogs` returns the records that the agents of a
session exported. `ListProjectLogs` returns the records of a project from all sources.
type LivekitPublicapiObservabilityV1LogSource ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1LogSource string
LivekitPublicapiObservabilityV1LogSource The source of a log record.
const ( LOGSOURCEAGENT LivekitPublicapiObservabilityV1LogSource = "LOG_SOURCE_AGENT" LOGSOURCECLIENT LivekitPublicapiObservabilityV1LogSource = "LOG_SOURCE_CLIENT" LOGSOURCEPLATFORM LivekitPublicapiObservabilityV1LogSource = "LOG_SOURCE_PLATFORM" LOGSOURCEUNSPECIFIED LivekitPublicapiObservabilityV1LogSource = "LOG_SOURCE_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1LogSource.
func (LivekitPublicapiObservabilityV1LogSource) Valid ¶ added in v2.19.0
func (e LivekitPublicapiObservabilityV1LogSource) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1LogSource enum.
type LivekitPublicapiObservabilityV1LogsGetResponse ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1LogsGetResponse struct {
// DataStatus The data status of the session logs: whether more of them can still
// arrive.
DataStatus *LivekitPublicapiObservabilityV1DataStatus `json:"dataStatus,omitempty"`
Items *[]LivekitPublicapiObservabilityV1LogRecord `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiObservabilityV1LogsGetResponse defines model for livekit.publicapi.observability.v1.Logs.Get.Response.
type LivekitPublicapiObservabilityV1MetricHistogram ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1MetricHistogram struct {
// BucketBounds The upper bounds of the histogram buckets. `bucketCounts` has one
// more count than `bucketBounds`. `bucketCounts[0]` counts the values up to
// `bucketBounds[0]`. `bucketCounts[i]` counts the values in
// `(bucketBounds[i-1], bucketBounds[i]]`. The last count counts the values
// above the last bound. Empty for an exponential histogram.
BucketBounds *[]float64 `json:"bucketBounds,omitempty"`
// BucketCounts The number of values in each histogram bucket. See `bucketBounds`.
// Empty for an exponential histogram.
BucketCounts *[]string `json:"bucketCounts,omitempty"`
// Count The number of values recorded.
Count *string `json:"count,omitempty"`
// Max The maximum value. Unset when the agent did not record it.
Max *float64 `json:"max,omitempty"`
// Min The minimum value. Unset when the agent did not record it.
Min *float64 `json:"min,omitempty"`
// Sum The sum of the values. Unset when the agent did not record it.
Sum *float64 `json:"sum,omitempty"`
}
LivekitPublicapiObservabilityV1MetricHistogram A summary of the values that a histogram point recorded.
type LivekitPublicapiObservabilityV1MetricKind ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1MetricKind string
LivekitPublicapiObservabilityV1MetricKind The OpenTelemetry data type of a metric point.
const ( METRICKINDEXPONENTIALHISTOGRAM LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_EXPONENTIAL_HISTOGRAM" METRICKINDGAUGE LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_GAUGE" METRICKINDHISTOGRAM LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_HISTOGRAM" METRICKINDSUM LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_SUM" METRICKINDUNSPECIFIED LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1MetricKind.
func (LivekitPublicapiObservabilityV1MetricKind) Valid ¶ added in v2.19.1
func (e LivekitPublicapiObservabilityV1MetricKind) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1MetricKind enum.
type LivekitPublicapiObservabilityV1MetricPoint ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1MetricPoint struct {
// Attributes The attributes of the point, typed and nested as the agent recorded them.
// They include its resource and scope attributes, such as `room_id`,
// `job_id`, `lk.agent_name`, and the `model_name` of the model. When an
// attribute has two values, the value of the point is used. When a session
// has two agents, the resource attributes can be those of the other agent.
// An integer larger than 2^53 or smaller than -2^53 is a decimal string.
// Bytes are base64.
Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`
// EndTime The end of the interval, and the moment a gauge was measured.
EndTime *GoogleProtobufTimestamp `json:"endTime,omitempty"`
// Kind Which kind of metric the point carries, and so which field of `data` is
// set.
Kind *LivekitPublicapiObservabilityV1MetricKind `json:"kind,omitempty"`
// Name The name of the metric, such as `lk.agents.turn.e2e_latency` or
// `gen_ai.client.token.usage`. Several metrics with the same attributes can
// have one name. See `GetSessionMetrics`.
Name *string `json:"name,omitempty"`
// StartTime The start of the interval that the point covers. An agent exports every
// 30 seconds, so a sum or histogram covers the time since its previous
// export. Unset for a gauge.
StartTime *GoogleProtobufTimestamp `json:"startTime,omitempty"`
// Unit The unit of the metric, as the agent declared it, such as `s` or
// `{token}`. Empty when the agent declared no unit.
Unit *string `json:"unit,omitempty"`
// contains filtered or unexported fields
}
LivekitPublicapiObservabilityV1MetricPoint An OpenTelemetry metric data point that an agent of a session exported. It is
the raw metric that the agent exports, so it does not exactly match the metrics panel on the dashboard, which calculates its values from the transcript and traces. Only an agent that exports OpenTelemetry metrics to LiveKit Cloud has points. An agent whose code installs its own `MeterProvider` exports no metrics to LiveKit Cloud.
func (LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint0 ¶ added in v2.19.1
func (t LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint0() (LivekitPublicapiObservabilityV1MetricPoint0, error)
AsLivekitPublicapiObservabilityV1MetricPoint0 returns the union data inside the LivekitPublicapiObservabilityV1MetricPoint as a LivekitPublicapiObservabilityV1MetricPoint0
func (LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint1 ¶ added in v2.19.1
func (t LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint1() (LivekitPublicapiObservabilityV1MetricPoint1, error)
AsLivekitPublicapiObservabilityV1MetricPoint1 returns the union data inside the LivekitPublicapiObservabilityV1MetricPoint as a LivekitPublicapiObservabilityV1MetricPoint1
func (*LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint0 ¶ added in v2.19.1
func (t *LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint0(v LivekitPublicapiObservabilityV1MetricPoint0) error
FromLivekitPublicapiObservabilityV1MetricPoint0 overwrites any union data inside the LivekitPublicapiObservabilityV1MetricPoint as the provided LivekitPublicapiObservabilityV1MetricPoint0
func (*LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint1 ¶ added in v2.19.1
func (t *LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint1(v LivekitPublicapiObservabilityV1MetricPoint1) error
FromLivekitPublicapiObservabilityV1MetricPoint1 overwrites any union data inside the LivekitPublicapiObservabilityV1MetricPoint as the provided LivekitPublicapiObservabilityV1MetricPoint1
func (LivekitPublicapiObservabilityV1MetricPoint) MarshalJSON ¶ added in v2.19.1
func (t LivekitPublicapiObservabilityV1MetricPoint) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint0 ¶ added in v2.19.1
func (t *LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint0(v LivekitPublicapiObservabilityV1MetricPoint0) error
MergeLivekitPublicapiObservabilityV1MetricPoint0 performs a merge with any union data inside the LivekitPublicapiObservabilityV1MetricPoint, using the provided LivekitPublicapiObservabilityV1MetricPoint0
func (*LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint1 ¶ added in v2.19.1
func (t *LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint1(v LivekitPublicapiObservabilityV1MetricPoint1) error
MergeLivekitPublicapiObservabilityV1MetricPoint1 performs a merge with any union data inside the LivekitPublicapiObservabilityV1MetricPoint, using the provided LivekitPublicapiObservabilityV1MetricPoint1
func (*LivekitPublicapiObservabilityV1MetricPoint) UnmarshalJSON ¶ added in v2.19.1
func (t *LivekitPublicapiObservabilityV1MetricPoint) UnmarshalJSON(b []byte) error
type LivekitPublicapiObservabilityV1MetricPoint0 ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1MetricPoint0 struct {
// Histogram The summary of a histogram or exponential histogram. Set when `kind` is
// `METRIC_KIND_HISTOGRAM` or `METRIC_KIND_EXPONENTIAL_HISTOGRAM`.
Histogram *LivekitPublicapiObservabilityV1MetricHistogram `json:"histogram,omitempty"`
}
LivekitPublicapiObservabilityV1MetricPoint0 defines model for LivekitPublicapiObservabilityV1MetricPoint.0.
type LivekitPublicapiObservabilityV1MetricPoint1 ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1MetricPoint1 struct {
// Value The value of a gauge or sum. Set when `kind` is `METRIC_KIND_GAUGE` or
// `METRIC_KIND_SUM`.
Value *float64 `json:"value,omitempty"`
}
LivekitPublicapiObservabilityV1MetricPoint1 defines model for LivekitPublicapiObservabilityV1MetricPoint.1.
type LivekitPublicapiObservabilityV1MetricsGetResponse ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1MetricsGetResponse struct {
// DataStatus The data status of the session metric points: whether more of them can
// still arrive.
DataStatus *LivekitPublicapiObservabilityV1DataStatus `json:"dataStatus,omitempty"`
// Items The metric points, ordered by end time, oldest first. Points with the
// same end time are ordered by start time, with a point that has no
// start time first. Then they are ordered by kind and by a hash of their
// values, not by name. A page starts after the last point of the
// previous page. Thus, on an `ACTIVE` session, a point exported during
// your read with a later time appears on a later page. A point exported
// during your read with an earlier time appears only in a new read.
Items *[]LivekitPublicapiObservabilityV1MetricPoint `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiObservabilityV1MetricsGetResponse defines model for livekit.publicapi.observability.v1.Metrics.Get.Response.
type LivekitPublicapiObservabilityV1ProjectLogsListResponse ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1ProjectLogsListResponse struct {
Items *[]LivekitPublicapiObservabilityV1LogRecord `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiObservabilityV1ProjectLogsListResponse defines model for livekit.publicapi.observability.v1.ProjectLogs.List.Response.
type LivekitPublicapiObservabilityV1RecordingFileType ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1RecordingFileType string
LivekitPublicapiObservabilityV1RecordingFileType The type of recording that `GetSessionRecordingURL` returns. To get the
conversation of a session as typed items, use `GetSessionTranscript`.
const ( RECORDINGFILETYPEAUDIO LivekitPublicapiObservabilityV1RecordingFileType = "RECORDING_FILE_TYPE_AUDIO" RECORDINGFILETYPECHATHISTORY LivekitPublicapiObservabilityV1RecordingFileType = "RECORDING_FILE_TYPE_CHAT_HISTORY" RECORDINGFILETYPEUNSPECIFIED LivekitPublicapiObservabilityV1RecordingFileType = "RECORDING_FILE_TYPE_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1RecordingFileType.
func (LivekitPublicapiObservabilityV1RecordingFileType) Valid ¶ added in v2.19.0
func (e LivekitPublicapiObservabilityV1RecordingFileType) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1RecordingFileType enum.
type LivekitPublicapiObservabilityV1RecordingGetURLResponse ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1RecordingGetURLResponse struct {
// DataStatus The data status of the session recording: whether it can still arrive
// or change. When `url` is empty, `expiresAt` is unset: read again after
// `retryAfterSeconds`, or after the session ends.
DataStatus *LivekitPublicapiObservabilityV1DataStatus `json:"dataStatus,omitempty"`
// ExpiresAt The time that the URL stops working: the time of the request plus the
// granted expiry, after the 15-minute clamp.
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
// RecordingStartedAt The time that the recording started, as the agent reported it when it
// uploaded the recording. Use it to align the audio with the transcript.
RecordingStartedAt *GoogleProtobufTimestamp `json:"recordingStartedAt,omitempty"`
// Url A signed URL that downloads the recording from storage in the data
// region of the project. The URL needs no credentials and is valid until
// `expiresAt`. Audio is Ogg. Chat history is JSON, served with
// `Content-Encoding: gzip`. Empty when the recording doesn't exist and
// `dataStatus.state` is `DATA_STATE_SESSION_ACTIVE` or
// `DATA_STATE_SETTLING`.
Url *string `json:"url,omitempty"`
}
LivekitPublicapiObservabilityV1RecordingGetURLResponse defines model for livekit.publicapi.observability.v1.Recording.GetURL.Response.
type LivekitPublicapiObservabilityV1Role ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1Role string
LivekitPublicapiObservabilityV1Role The sender of a transcript message.
const ( ROLEAGENT LivekitPublicapiObservabilityV1Role = "ROLE_AGENT" ROLEDEVELOPER LivekitPublicapiObservabilityV1Role = "ROLE_DEVELOPER" ROLESYSTEM LivekitPublicapiObservabilityV1Role = "ROLE_SYSTEM" ROLEUNSPECIFIED LivekitPublicapiObservabilityV1Role = "ROLE_UNSPECIFIED" ROLEUSER LivekitPublicapiObservabilityV1Role = "ROLE_USER" )
Defines values for LivekitPublicapiObservabilityV1Role.
func (LivekitPublicapiObservabilityV1Role) Valid ¶ added in v2.19.0
func (e LivekitPublicapiObservabilityV1Role) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1Role enum.
type LivekitPublicapiObservabilityV1SessionEval ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1SessionEval struct {
// AgentName The name of the agent that ran the job.
AgentName *string `json:"agentName,omitempty"`
// Criteria The criteria of the eval, by `position`. A criterion with a `parentId` is
// a sub-criterion of that criterion.
Criteria *[]LivekitPublicapiObservabilityV1SessionEvalCriterion `json:"criteria,omitempty"`
// ErrorCode Why the eval did not run to the end. Empty unless `verdict` is
// `EVAL_VERDICT_ERROR`.
ErrorCode *string `json:"errorCode,omitempty"`
// EvalId The eval ID (`EVAL_...`).
EvalId *string `json:"evalId,omitempty"`
// EvalName The current name of the eval, or the name of the eval when LiveKit scored
// the session when the eval no longer exists or `evalNamesUnavailable` is
// true.
EvalName *string `json:"evalName,omitempty"`
// EvalRevision The revision of the eval that scored the job.
EvalRevision *int `json:"evalRevision,omitempty"`
// EvalVersion The hash of the eval version that scored the job.
EvalVersion *string `json:"evalVersion,omitempty"`
// JobId The ID of the agent job that LiveKit scored (`AJ_...`). A session with
// several agent jobs has one item for each eval and job.
JobId *string `json:"jobId,omitempty"`
// PassThreshold The lowest score that passes. Unset when the eval has no threshold.
PassThreshold *float64 `json:"passThreshold,omitempty"`
// Score The score of the eval, from 0 to 1. Unset when the eval has no score.
Score *float64 `json:"score,omitempty"`
// ScoredAt The time that LiveKit scored the job.
ScoredAt *GoogleProtobufTimestamp `json:"scoredAt,omitempty"`
// UndecidedCount The number of criteria that the judges could not decide. It explains an
// `EVAL_VERDICT_UNDECIDED` verdict.
UndecidedCount *int `json:"undecidedCount,omitempty"`
// Verdict The verdict of the eval.
Verdict *LivekitPublicapiObservabilityV1EvalVerdict `json:"verdict,omitempty"`
}
LivekitPublicapiObservabilityV1SessionEval The newest result of one eval on one agent job of a session, as
`GetSessionEvals` returns it.
type LivekitPublicapiObservabilityV1SessionEvalCriterion ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1SessionEvalCriterion struct {
// Answer The answer that the judges agreed on, such as `yes`. Empty for a `rule`
// criterion and for an undecided criterion.
Answer *string `json:"answer,omitempty"`
// CriterionId The ID of the criterion in the definition of the eval.
CriterionId *string `json:"criterionId,omitempty"`
// Depth The nesting depth of the criterion. 0 for a top-level criterion.
Depth *int `json:"depth,omitempty"`
// FailureExcerpt The transcript lines that show the failure, when it spans more than one
// item.
FailureExcerpt *string `json:"failureExcerpt,omitempty"`
// FailureItemId The ID of the transcript item where the failure starts, as
// `GetSessionTranscript` returns it. Empty when no single item shows the
// failure.
FailureItemId *string `json:"failureItemId,omitempty"`
// FailureReason Why the criterion failed. It can quote the user or the agent. Set only on
// a failed criterion of a failed eval, and only when LiveKit could explain
// it.
FailureReason *string `json:"failureReason,omitempty"`
// Judges The answer of each judge, by `index`.
Judges *[]LivekitPublicapiObservabilityV1EvalJudgeAnswer `json:"judges,omitempty"`
// Kind The kind of the criterion: `rule`, `yes_no`, `categorical`, or `numeric`.
Kind *string `json:"kind,omitempty"`
// Label The label of the criterion in the definition of the eval.
Label *string `json:"label,omitempty"`
// ParentId The ID of the parent criterion. Empty for a top-level criterion.
ParentId *string `json:"parentId,omitempty"`
// PointsEarned The points that the criterion earned. Unset when it earned no decision.
PointsEarned *float64 `json:"pointsEarned,omitempty"`
// PointsPossible The points that the criterion can earn.
PointsPossible *float64 `json:"pointsPossible,omitempty"`
// Position The position of the criterion in the eval, from 0.
Position *int `json:"position,omitempty"`
// ReasonCode The code that explains an undecided or not applicable verdict, such as
// `judges_disagree`.
ReasonCode *string `json:"reasonCode,omitempty"`
// Verdict The verdict of the criterion. It is never `EVAL_VERDICT_ERROR`.
Verdict *LivekitPublicapiObservabilityV1EvalVerdict `json:"verdict,omitempty"`
}
LivekitPublicapiObservabilityV1SessionEvalCriterion The result of one criterion of an eval on one agent job.
type LivekitPublicapiObservabilityV1SessionEvalsGetResponse ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1SessionEvalsGetResponse struct {
// `evalName` is then the name of the eval when LiveKit scored the
// session.
EvalNamesUnavailable *bool `json:"evalNamesUnavailable,omitempty"`
// Evals The newest result of each eval on each agent job of the session, by
// `evalName`, then by `jobId`. Empty when LiveKit has not scored the
// session.
Evals *[]LivekitPublicapiObservabilityV1SessionEval `json:"evals,omitempty"`
// `intentName` and `outcomeName` is then empty.
LabelNamesUnavailable *bool `json:"labelNamesUnavailable,omitempty"`
// Labels The intent and the outcome of each agent job that LiveKit labeled, by
// `jobId`.
Labels *[]LivekitPublicapiObservabilityV1SessionJobLabels `json:"labels,omitempty"`
}
LivekitPublicapiObservabilityV1SessionEvalsGetResponse defines model for livekit.publicapi.observability.v1.SessionEvals.Get.Response.
type LivekitPublicapiObservabilityV1SessionJobLabels ¶ added in v2.20.2
type LivekitPublicapiObservabilityV1SessionJobLabels struct {
// AgentName The name of the agent that ran the job.
AgentName *string `json:"agentName,omitempty"`
// IntentId The ID of the intent (`LBL_...`). `other` when no intent matched.
IntentId *string `json:"intentId,omitempty"`
// IntentName The name of the intent. Empty for `other`, or when
// `labelNamesUnavailable` is true.
IntentName *string `json:"intentName,omitempty"`
// JobId The ID of the agent job (`AJ_...`).
JobId *string `json:"jobId,omitempty"`
// OutcomeId The ID of the outcome (`LBL_...`). `other` when no outcome matched.
OutcomeId *string `json:"outcomeId,omitempty"`
// OutcomeName The name of the outcome. Empty as `intentName` is.
OutcomeName *string `json:"outcomeName,omitempty"`
}
LivekitPublicapiObservabilityV1SessionJobLabels The intent and the outcome that LiveKit assigned to one agent job of a
session. An intent is what the user wanted, and an outcome is how the session ended.
type LivekitPublicapiObservabilityV1Span ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1Span struct {
// Attributes The attributes of the span, typed and nested as the agent recorded them.
// They include its resource and scope attributes, such as
// `lk.agent_name`. When an attribute has two values, the value of the span
// is used. An integer larger than 2^53 or smaller than -2^53 is a decimal
// string. Bytes are base64.
Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`
// EndTime When the span ended.
EndTime *GoogleProtobufTimestamp `json:"endTime,omitempty"`
// Events The events the agent recorded on the span.
Events *[]LivekitPublicapiObservabilityV1SpanEvent `json:"events,omitempty"`
// Kind Where the span sits in the call: internal, server, client, producer, or
// consumer.
Kind *LivekitPublicapiObservabilityV1SpanKind `json:"kind,omitempty"`
// Name The span name, as the agent recorded it.
Name *string `json:"name,omitempty"`
// ParentSpanId The ID of the parent span, as lowercase hex. Empty for a root span. The
// dashboard also shows a span as a root when its parent is not one of the
// spans of the session.
ParentSpanId *string `json:"parentSpanId,omitempty"`
// SpanId The ID of the span, as lowercase hex.
SpanId *string `json:"spanId,omitempty"`
// StartTime When the span started.
StartTime *GoogleProtobufTimestamp `json:"startTime,omitempty"`
// Status Whether the span succeeded.
Status *LivekitPublicapiObservabilityV1SpanStatus `json:"status,omitempty"`
// StatusMessage Why the span failed; set when `status` is error.
StatusMessage *string `json:"statusMessage,omitempty"`
// TraceId The trace ID of the span, as lowercase hex.
TraceId *string `json:"traceId,omitempty"`
}
LivekitPublicapiObservabilityV1Span A unit of work in the trace of a session, such as an agent turn or an LLM
request.
type LivekitPublicapiObservabilityV1SpanEvent ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1SpanEvent struct {
// Attributes The attributes of the event, typed and nested as the agent recorded
// them.
Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`
// Name The event name, as the agent recorded it.
Name *string `json:"name,omitempty"`
// Timestamp When the event happened.
Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
}
LivekitPublicapiObservabilityV1SpanEvent An event with a timestamp that a span recorded, such as an exception.
type LivekitPublicapiObservabilityV1SpanKind ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1SpanKind string
LivekitPublicapiObservabilityV1SpanKind The OpenTelemetry kind of a span.
const ( SPANKINDCLIENT LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_CLIENT" SPANKINDCONSUMER LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_CONSUMER" SPANKINDINTERNAL LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_INTERNAL" SPANKINDPRODUCER LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_PRODUCER" SPANKINDSERVER LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_SERVER" SPANKINDUNSPECIFIED LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1SpanKind.
func (LivekitPublicapiObservabilityV1SpanKind) Valid ¶ added in v2.19.1
func (e LivekitPublicapiObservabilityV1SpanKind) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1SpanKind enum.
type LivekitPublicapiObservabilityV1SpanStatus ¶ added in v2.19.1
type LivekitPublicapiObservabilityV1SpanStatus string
LivekitPublicapiObservabilityV1SpanStatus The OpenTelemetry status code of a span.
const ( SPANSTATUSERROR LivekitPublicapiObservabilityV1SpanStatus = "SPAN_STATUS_ERROR" SPANSTATUSOK LivekitPublicapiObservabilityV1SpanStatus = "SPAN_STATUS_OK" SPANSTATUSUNSPECIFIED LivekitPublicapiObservabilityV1SpanStatus = "SPAN_STATUS_UNSPECIFIED" )
Defines values for LivekitPublicapiObservabilityV1SpanStatus.
func (LivekitPublicapiObservabilityV1SpanStatus) Valid ¶ added in v2.19.1
func (e LivekitPublicapiObservabilityV1SpanStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitPublicapiObservabilityV1SpanStatus enum.
type LivekitPublicapiObservabilityV1TracesGetResponse ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TracesGetResponse struct {
// DataStatus The data status of the session spans: whether more of them can still
// arrive.
DataStatus *LivekitPublicapiObservabilityV1DataStatus `json:"dataStatus,omitempty"`
// Items The spans, ordered by start time, oldest first. Spans with the same
// start time are ordered by span ID, read as a little-endian unsigned
// 64-bit integer. This is not the order of the hex strings. The later
// pages read only the spans that the first page found, so a span
// exported after the first page appears only in a new read. On an
// `ACTIVE` session, a span exported during your read can move the later
// pages, which the API reads by offset. Thus, a span can repeat, or a
// page can skip a span. Remove duplicates by `spanId`. To get a skipped
// span, read again from the first page.
Items *[]LivekitPublicapiObservabilityV1Span `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiObservabilityV1TracesGetResponse defines model for livekit.publicapi.observability.v1.Traces.Get.Response.
type LivekitPublicapiObservabilityV1TranscriptGetResponse ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptGetResponse struct {
// DataStatus The data status of the session transcript: whether more of it can still
// arrive.
DataStatus *LivekitPublicapiObservabilityV1DataStatus `json:"dataStatus,omitempty"`
// Items The transcript items, oldest first, in the order that the agent
// recorded them.
Items *[]LivekitPublicapiObservabilityV1TranscriptItem `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
// SkippedRecords The number of records in this page that the API cannot read as
// transcript items, and does not return. For example, a record of an
// item type that the API does not know. Zero when the page is complete.
SkippedRecords *int `json:"skippedRecords,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptGetResponse defines model for livekit.publicapi.observability.v1.Transcript.Get.Response.
type LivekitPublicapiObservabilityV1TranscriptItem ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItem struct {
// Id The ID of the item, as the agent assigned it (`item_...`).
Id *string `json:"id,omitempty"`
// Timestamp The time of the item. For a message, the time that its speaker started to
// speak, or else the time that the agent created it. For other items, the
// time that the agent recorded it. Items are ordered by the time that the
// agent recorded them, so the timestamp of a message can be earlier than
// the timestamp of the item before it.
Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
LivekitPublicapiObservabilityV1TranscriptItem An entry in the conversation of a session. Exactly one of `message`,
`toolCall`, `toolResult`, `agentHandoff`, and `configUpdate` is set.
func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem0 ¶ added in v2.19.0
func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem0() (LivekitPublicapiObservabilityV1TranscriptItem0, error)
AsLivekitPublicapiObservabilityV1TranscriptItem0 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem0
func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem1 ¶ added in v2.19.0
func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem1() (LivekitPublicapiObservabilityV1TranscriptItem1, error)
AsLivekitPublicapiObservabilityV1TranscriptItem1 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem1
func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem2 ¶ added in v2.19.0
func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem2() (LivekitPublicapiObservabilityV1TranscriptItem2, error)
AsLivekitPublicapiObservabilityV1TranscriptItem2 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem2
func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem3 ¶ added in v2.19.0
func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem3() (LivekitPublicapiObservabilityV1TranscriptItem3, error)
AsLivekitPublicapiObservabilityV1TranscriptItem3 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem3
func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem4 ¶ added in v2.19.0
func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem4() (LivekitPublicapiObservabilityV1TranscriptItem4, error)
AsLivekitPublicapiObservabilityV1TranscriptItem4 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem4
func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem0 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem0(v LivekitPublicapiObservabilityV1TranscriptItem0) error
FromLivekitPublicapiObservabilityV1TranscriptItem0 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem0
func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem1 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem1(v LivekitPublicapiObservabilityV1TranscriptItem1) error
FromLivekitPublicapiObservabilityV1TranscriptItem1 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem1
func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem2 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem2(v LivekitPublicapiObservabilityV1TranscriptItem2) error
FromLivekitPublicapiObservabilityV1TranscriptItem2 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem2
func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem3 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem3(v LivekitPublicapiObservabilityV1TranscriptItem3) error
FromLivekitPublicapiObservabilityV1TranscriptItem3 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem3
func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem4 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem4(v LivekitPublicapiObservabilityV1TranscriptItem4) error
FromLivekitPublicapiObservabilityV1TranscriptItem4 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem4
func (LivekitPublicapiObservabilityV1TranscriptItem) MarshalJSON ¶ added in v2.19.0
func (t LivekitPublicapiObservabilityV1TranscriptItem) MarshalJSON() ([]byte, error)
func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem0 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem0(v LivekitPublicapiObservabilityV1TranscriptItem0) error
MergeLivekitPublicapiObservabilityV1TranscriptItem0 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem0
func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem1 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem1(v LivekitPublicapiObservabilityV1TranscriptItem1) error
MergeLivekitPublicapiObservabilityV1TranscriptItem1 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem1
func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem2 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem2(v LivekitPublicapiObservabilityV1TranscriptItem2) error
MergeLivekitPublicapiObservabilityV1TranscriptItem2 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem2
func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem3 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem3(v LivekitPublicapiObservabilityV1TranscriptItem3) error
MergeLivekitPublicapiObservabilityV1TranscriptItem3 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem3
func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem4 ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem4(v LivekitPublicapiObservabilityV1TranscriptItem4) error
MergeLivekitPublicapiObservabilityV1TranscriptItem4 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem4
func (*LivekitPublicapiObservabilityV1TranscriptItem) UnmarshalJSON ¶ added in v2.19.0
func (t *LivekitPublicapiObservabilityV1TranscriptItem) UnmarshalJSON(b []byte) error
type LivekitPublicapiObservabilityV1TranscriptItem0 ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItem0 struct {
// AgentHandoff The session passing from one agent to another.
AgentHandoff *LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff `json:"agentHandoff,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItem0 defines model for LivekitPublicapiObservabilityV1TranscriptItem.0.
type LivekitPublicapiObservabilityV1TranscriptItem1 ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItem1 struct {
// ConfigUpdate A change to the agent's instructions or tools.
ConfigUpdate *LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate `json:"configUpdate,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItem1 defines model for LivekitPublicapiObservabilityV1TranscriptItem.1.
type LivekitPublicapiObservabilityV1TranscriptItem2 ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItem2 struct {
// Message Something said, or added to the conversation as text.
Message *LivekitPublicapiObservabilityV1TranscriptItemMessage `json:"message,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItem2 defines model for LivekitPublicapiObservabilityV1TranscriptItem.2.
type LivekitPublicapiObservabilityV1TranscriptItem3 ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItem3 struct {
// ToolCall The agent calling a tool.
ToolCall *LivekitPublicapiObservabilityV1TranscriptItemToolCall `json:"toolCall,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItem3 defines model for LivekitPublicapiObservabilityV1TranscriptItem.3.
type LivekitPublicapiObservabilityV1TranscriptItem4 ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItem4 struct {
// ToolResult The output a tool returned.
ToolResult *LivekitPublicapiObservabilityV1TranscriptItemToolResult `json:"toolResult,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItem4 defines model for LivekitPublicapiObservabilityV1TranscriptItem.4.
type LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff struct {
// FromAgentId The ID of the agent that hands off the session. Unset for the first
// agent of the session.
FromAgentId *string `json:"fromAgentId,omitempty"`
// ToAgentId The agent taking over.
ToAgentId *string `json:"toAgentId,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff The session passing from one agent to another.
type LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate struct {
// Instructions The new agent instructions. Empty when the instructions did not
// change.
Instructions *string `json:"instructions,omitempty"`
// ToolsAdded The tools the agent gained.
ToolsAdded *[]string `json:"toolsAdded,omitempty"`
// ToolsRemoved The tools the agent lost.
ToolsRemoved *[]string `json:"toolsRemoved,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate A change to the agent's instructions or tools during the session.
type LivekitPublicapiObservabilityV1TranscriptItemMessage ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItemMessage struct {
// E2eLatencyMs The end-to-end latency in milliseconds, from the time that the user
// stopped speaking to the time that the agent started to respond (the
// agent's `e2e_latency`). Set on an agent message. Unset when the agent
// did not record it.
E2eLatencyMs *float64 `json:"e2eLatencyMs,omitempty"`
// EndOfTurnDelayMs The time in milliseconds from the end of the user's speech to the time
// that the agent decided that the turn ended (`end_of_turn_delay`). Set
// on a user message. Unset when the agent did not record it.
EndOfTurnDelayMs *float64 `json:"endOfTurnDelayMs,omitempty"`
// Interrupted When true, the user interrupted this agent message before it ended.
Interrupted *bool `json:"interrupted,omitempty"`
// LlmTtftMs The LLM time to first token in milliseconds (`llm_node_ttft`). Set on
// an agent message. Unset when the agent did not record it.
LlmTtftMs *float64 `json:"llmTtftMs,omitempty"`
// OnUserTurnCompletedDelayMs The time in milliseconds that the agent spent in its
// `on_user_turn_completed` callback (`on_user_turn_completed_delay`). Set
// on a user message. Unset when the agent did not record it.
OnUserTurnCompletedDelayMs *float64 `json:"onUserTurnCompletedDelayMs,omitempty"`
// Redacted When true, PII redaction for the project changed the text.
Redacted *bool `json:"redacted,omitempty"`
// Role Who the message came from.
Role *LivekitPublicapiObservabilityV1Role `json:"role,omitempty"`
// StartedSpeakingAt The time that the speaker started to speak. Unset for a message that
// was not spoken.
StartedSpeakingAt *GoogleProtobufTimestamp `json:"startedSpeakingAt,omitempty"`
// StoppedSpeakingAt The time that the speaker stopped speaking. Unset for a message that
// was not spoken.
StoppedSpeakingAt *GoogleProtobufTimestamp `json:"stoppedSpeakingAt,omitempty"`
// Text The text of the message. When the agent recorded the text in several
// parts, newlines join the parts. When `redacted` is true,
// `<redaction type="..."/>` markers replace the PII in the text.
Text *string `json:"text,omitempty"`
// TranscriptConfidence The speech-to-text confidence of a spoken user message, from 0 to 1.
TranscriptConfidence *float64 `json:"transcriptConfidence,omitempty"`
// TranscriptionDelayMs The time in milliseconds from the end of the user's speech to its final
// transcript (`transcription_delay`). Set on a user message. Unset when
// the agent did not record it.
TranscriptionDelayMs *float64 `json:"transcriptionDelayMs,omitempty"`
// TtsTtfbMs The TTS time to first byte of audio in milliseconds (`tts_node_ttfb`).
// Set on an agent message. Unset when the agent did not record it.
TtsTtfbMs *float64 `json:"ttsTtfbMs,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItemMessage A message that a participant spoke, or text added to the conversation.
type LivekitPublicapiObservabilityV1TranscriptItemToolCall ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItemToolCall struct {
// Arguments The arguments of the call, as a JSON string.
Arguments *string `json:"arguments,omitempty"`
// CallId The ID of the call. The `ToolResult` of the call has the same
// `callId`.
CallId *string `json:"callId,omitempty"`
// Name The tool the agent called.
Name *string `json:"name,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItemToolCall The agent calling a tool.
type LivekitPublicapiObservabilityV1TranscriptItemToolResult ¶ added in v2.19.0
type LivekitPublicapiObservabilityV1TranscriptItemToolResult struct {
// CallId The `callId` of the `ToolCall` that this result answers.
CallId *string `json:"callId,omitempty"`
// IsError When true, the tool failed, and `output` describes the error.
IsError *bool `json:"isError,omitempty"`
// Name The tool that returned the output.
Name *string `json:"name,omitempty"`
// Output What the tool returned.
Output *string `json:"output,omitempty"`
}
LivekitPublicapiObservabilityV1TranscriptItemToolResult The output a tool returned for a ToolCall.
type LivekitPublicapiProjectsV1AccessKey ¶ added in v2.19.0
type LivekitPublicapiProjectsV1AccessKey struct {
// AgentId The cloud agent that the key belongs to. Set only for agent keys.
AgentId *string `json:"agentId,omitempty"`
// ApiKey The API key ID (`API...`). The secret is returned only when the key is
// generated.
ApiKey *string `json:"apiKey,omitempty"`
// CreatedAt When the key was generated.
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// Description A label for the key.
Description *string `json:"description,omitempty"`
// OwnerEmail The email address of the owner. Empty for a key with no owner.
OwnerEmail *string `json:"ownerEmail,omitempty"`
// OwnerId The user who owns the key. Empty for a key with no owner, such as a
// service account key.
OwnerId *string `json:"ownerId,omitempty"`
// UpdatedAt When the key was last changed.
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
}
LivekitPublicapiProjectsV1AccessKey The metadata of a project API key. A list never includes the secret. Only
`GenerateKey` returns it.
type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse ¶
type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse struct {
Items *[]LivekitPublicapiProjectsV1ProjectMember `json:"items,omitempty"`
}
LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse defines model for livekit.publicapi.projects.v1.AddWorkspaceMembersToProjectResponse.
type LivekitPublicapiProjectsV1AnswerInvitationResponse ¶
type LivekitPublicapiProjectsV1AnswerInvitationResponse struct {
// Member The new membership. Set only when `accept` is `true`.
Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}
LivekitPublicapiProjectsV1AnswerInvitationResponse defines model for livekit.publicapi.projects.v1.AnswerInvitationResponse.
type LivekitPublicapiProjectsV1CreateProjectMember ¶
type LivekitPublicapiProjectsV1CreateProjectMember struct {
// Role The role of the user: `0` invited, `1` read, `2` write, `3` admin.
Role *int32 `json:"role,omitempty"`
// UserId The user to add. They must already be a member of the workspace.
UserId *string `json:"userId,omitempty"`
}
LivekitPublicapiProjectsV1CreateProjectMember A user and the role that the user gets on a project.
type LivekitPublicapiProjectsV1CreateProjectRequest ¶
type LivekitPublicapiProjectsV1CreateProjectRequest struct {
// CustomDomain A custom domain to add to the project.
CustomDomain *string `json:"customDomain,omitempty"`
// DisableTokenEndpoint True turns off the sandbox token endpoint for the project.
DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`
// DiscoverableByDomain When true, adds your email domain to the project.
DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`
// EgressClusterId The egress cluster for the project. Only LiveKit staff can set it. For any
// other caller, a non-default value returns `PermissionDenied`.
EgressClusterId *string `json:"egressClusterId,omitempty"`
// EnableAnalytics True turns on analytics for the project. Defaults to `true`.
EnableAnalytics *bool `json:"enableAnalytics,omitempty"`
// EnableAutoCreate True lets the first participant to join a room that does not yet exist
// create it.
EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`
// EnableEgressAutoRetry True retries a failed egress automatically.
EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`
// EnableEgressBackupStorage True keeps an egress that fails to upload in LiveKit backup storage for 7
// days.
EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`
// EnableHostedAgents True when hosted agents are enabled for the project. Only LiveKit staff can
// set it. For any other caller, a non-default value returns
// `PermissionDenied`.
EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`
// EnableInferenceRegionRestriction True restricts inference to the models in the same data region as the
// project.
EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`
// EnablePiiRedaction True redacts PII from the recorded session data.
EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`
// EnableRemoteUnmute True lets an admin unmute the tracks of another participant.
EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`
// EnableUserDataRecording Agent observability: when true, the project captures traces, transcripts,
// and audio from agent sessions for debugging. Defaults to true, as it does
// for a project created in the dashboard. Set it to false to turn it off.
// You can change it later with `UpdateProject`, or in the dashboard under
// the project's settings. While it is off, a session read that finds no data
// returns `FailedPrecondition` with an `ObservabilityDisabled` detail. This
// applies to a recording, and to the first unfiltered page of a transcript,
// traces, logs, or metrics.
EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`
// EnableUserDataTraining True lets LiveKit use the observability data from this project to improve
// models and services.
EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`
// EnabledCodecs The media codecs the project allows, by MIME type, such as `video/VP9`.
EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`
// FeatureFlags The feature flags to set on the project, by name. The API ignores a flag
// with an empty value.
FeatureFlags *map[string]string `json:"featureFlags,omitempty"`
// HideOnboarding True hides the onboarding instructions on the project dashboard.
HideOnboarding *bool `json:"hideOnboarding,omitempty"`
// HideSampleAppGallery True hides the sample app gallery on the project dashboard.
HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
// IsPrivate True gives the project its own member list instead of the members of its
// workspace.
IsPrivate *bool `json:"isPrivate,omitempty"`
// JoinableByDomain When true, adds your email domain to the project.
JoinableByDomain *bool `json:"joinableByDomain,omitempty"`
// Members The members of a private project. Ignored when `isPrivate` is false. Each
// user must be a member of the workspace, or the request fails with
// `NotFound`. A new workspace has only you as a member.
Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`
// Name The project name.
Name *string `json:"name,omitempty"`
// PiiRedactionCategories The categories to redact. When empty and `enablePiiRedaction` is `true`,
// the API applies the default categories.
PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`
// PinnedRegions The SFU regions to pin the project to. When empty, the project has no
// pinned regions.
PinnedRegions *[]string `json:"pinnedRegions,omitempty"`
// RequireExplicitDispatch True rejects an agent server that registers without an explicit agent
// name.
RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`
// RoomConfigs The room configurations of the project.
RoomConfigs *[]LivekitRoomConfiguration `json:"roomConfigs,omitempty"`
// SfuAllowPause True lets the SFU pause video tracks when subscribers are congested.
SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`
// Subdomain The project subdomain. When empty, one is generated from `name`.
Subdomain *string `json:"subdomain,omitempty"`
// TokenEndpointKey The API key that signs the tokens from the sandbox token endpoint of the
// project.
TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
// UserDataRegion The region where the project stores session data. You can set it only
// when you create the project. When empty, the project uses the default
// region.
UserDataRegion *string `json:"userDataRegion,omitempty"`
// WorkspaceId The workspace to create the project in. When empty, a new workspace is
// created for the project. On `POST /v0/workspaces/{workspaceId}/projects`,
// the project goes in the workspace in the path, and this field must be
// empty or match it.
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiProjectsV1CreateProjectRequest The project to create. An unset field keeps its default:
`enableAnalytics`, `enableAutoCreate`, and `disableTokenEndpoint` are true, and the other boolean fields are false.
type LivekitPublicapiProjectsV1CreateProjectResponse ¶
type LivekitPublicapiProjectsV1CreateProjectResponse struct {
Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}
LivekitPublicapiProjectsV1CreateProjectResponse defines model for livekit.publicapi.projects.v1.CreateProjectResponse.
type LivekitPublicapiProjectsV1CreateTokenResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1CreateTokenResponse struct {
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
// Token The signed JWT. Depending on the grants, send it as
// `Authorization: Bearer` to the server APIs of the project, or use it to
// join a room.
Token *string `json:"token,omitempty"`
}
LivekitPublicapiProjectsV1CreateTokenResponse defines model for livekit.publicapi.projects.v1.CreateTokenResponse.
type LivekitPublicapiProjectsV1CreateWebhookResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1CreateWebhookResponse struct {
Webhook *LivekitPublicapiProjectsV1Webhook `json:"webhook,omitempty"`
}
LivekitPublicapiProjectsV1CreateWebhookResponse defines model for livekit.publicapi.projects.v1.CreateWebhookResponse.
type LivekitPublicapiProjectsV1DeleteInviteResponse ¶
type LivekitPublicapiProjectsV1DeleteInviteResponse = map[string]interface{}
LivekitPublicapiProjectsV1DeleteInviteResponse defines model for livekit.publicapi.projects.v1.DeleteInviteResponse.
type LivekitPublicapiProjectsV1DeleteKeyResponse ¶ added in v2.19.0
type LivekitPublicapiProjectsV1DeleteKeyResponse = map[string]interface{}
LivekitPublicapiProjectsV1DeleteKeyResponse defines model for livekit.publicapi.projects.v1.DeleteKeyResponse.
type LivekitPublicapiProjectsV1DeleteProjectResponse ¶
type LivekitPublicapiProjectsV1DeleteProjectResponse = map[string]interface{}
LivekitPublicapiProjectsV1DeleteProjectResponse defines model for livekit.publicapi.projects.v1.DeleteProjectResponse.
type LivekitPublicapiProjectsV1DeleteWebhookResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1DeleteWebhookResponse = map[string]interface{}
LivekitPublicapiProjectsV1DeleteWebhookResponse defines model for livekit.publicapi.projects.v1.DeleteWebhookResponse.
type LivekitPublicapiProjectsV1GenerateKeyResponse ¶ added in v2.19.0
type LivekitPublicapiProjectsV1GenerateKeyResponse struct {
ApiKey *string `json:"apiKey,omitempty"`
Secret *string `json:"secret,omitempty"`
}
LivekitPublicapiProjectsV1GenerateKeyResponse defines model for livekit.publicapi.projects.v1.GenerateKeyResponse.
type LivekitPublicapiProjectsV1GetInviteResponse ¶
type LivekitPublicapiProjectsV1GetInviteResponse struct {
Invite *LivekitPublicapiProjectsV1ProjectInvite `json:"invite,omitempty"`
}
LivekitPublicapiProjectsV1GetInviteResponse defines model for livekit.publicapi.projects.v1.GetInviteResponse.
type LivekitPublicapiProjectsV1GetMemberResponse ¶
type LivekitPublicapiProjectsV1GetMemberResponse struct {
Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}
LivekitPublicapiProjectsV1GetMemberResponse defines model for livekit.publicapi.projects.v1.GetMemberResponse.
type LivekitPublicapiProjectsV1GetProjectResponse ¶
type LivekitPublicapiProjectsV1GetProjectResponse struct {
Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}
LivekitPublicapiProjectsV1GetProjectResponse defines model for livekit.publicapi.projects.v1.GetProjectResponse.
type LivekitPublicapiProjectsV1InviteMemberResponse ¶
type LivekitPublicapiProjectsV1InviteMemberResponse struct {
InviteToken *string `json:"inviteToken,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
}
LivekitPublicapiProjectsV1InviteMemberResponse defines model for livekit.publicapi.projects.v1.InviteMemberResponse.
type LivekitPublicapiProjectsV1ListInvitesResponse ¶
type LivekitPublicapiProjectsV1ListInvitesResponse struct {
Items *[]LivekitPublicapiProjectsV1ProjectInvite `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListInvitesResponse defines model for livekit.publicapi.projects.v1.ListInvitesResponse.
type LivekitPublicapiProjectsV1ListKeysResponse ¶ added in v2.19.0
type LivekitPublicapiProjectsV1ListKeysResponse struct {
Items *[]LivekitPublicapiProjectsV1AccessKey `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListKeysResponse defines model for livekit.publicapi.projects.v1.ListKeysResponse.
type LivekitPublicapiProjectsV1ListMembersResponse ¶
type LivekitPublicapiProjectsV1ListMembersResponse struct {
Items *[]LivekitPublicapiProjectsV1ProjectMember `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListMembersResponse defines model for livekit.publicapi.projects.v1.ListMembersResponse.
type LivekitPublicapiProjectsV1ListProjectsResponse ¶
type LivekitPublicapiProjectsV1ListProjectsResponse struct {
Items *[]LivekitPublicapiProjectsV1Project `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListProjectsResponse defines model for livekit.publicapi.projects.v1.ListProjectsResponse.
type LivekitPublicapiProjectsV1ListWebhookEventsResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1ListWebhookEventsResponse struct {
// Items The names of the events that the project can receive. Use them in
// `filterParams` and `SendTestWebhook`.
Items *[]string `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListWebhookEventsResponse defines model for livekit.publicapi.projects.v1.ListWebhookEventsResponse.
type LivekitPublicapiProjectsV1ListWebhooksResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1ListWebhooksResponse struct {
Items *[]LivekitPublicapiProjectsV1Webhook `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiProjectsV1ListWebhooksResponse defines model for livekit.publicapi.projects.v1.ListWebhooksResponse.
type LivekitPublicapiProjectsV1PinnedRegions ¶
type LivekitPublicapiProjectsV1PinnedRegions struct {
// Regions The regions to pin the project traffic to. An empty list clears the pins.
Regions *[]string `json:"regions,omitempty"`
}
LivekitPublicapiProjectsV1PinnedRegions A set of SFU regions to pin a project to. A set message with an empty
`regions` list removes all pins.
type LivekitPublicapiProjectsV1Project ¶
type LivekitPublicapiProjectsV1Project struct {
// AnalyticsAccessKey Deprecated: always empty. The key is internal to LiveKit Cloud analytics.
AnalyticsAccessKey *string `json:"analyticsAccessKey,omitempty"`
// CreatedAt When the project was created.
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// CreatorId The user who created the project.
CreatorId *string `json:"creatorId,omitempty"`
// EgressClusterId The egress cluster the project runs egress on.
EgressClusterId *string `json:"egressClusterId,omitempty"`
EnableAnalytics *bool `json:"enableAnalytics,omitempty"`
// EnableAutoCreate True lets the first participant to join a room that does not yet exist
// create it.
EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`
// EnableEnhancedNoiseCancellation True applies enhanced noise cancellation to inbound audio.
EnableEnhancedNoiseCancellation *bool `json:"enableEnhancedNoiseCancellation,omitempty"`
// EnableHostedAgents True lets the project run agents on LiveKit Cloud.
EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`
// EnableInferenceRegionRestriction True restricts inference to the models in the same data region as the
// project.
EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`
// EnablePiiRedaction True redacts PII from the recorded session data.
EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`
// EnableRemoteUnmute True lets an admin unmute the tracks of another participant.
EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`
EnableSafeMode *bool `json:"enableSafeMode,omitempty"`
EnableSipCustomDomain *bool `json:"enableSipCustomDomain,omitempty"`
// EnableUserDataRecording True when the project records traces, transcripts, and audio from agent
// sessions for agent observability.
EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`
// EnableUserDataTraining True lets LiveKit use the observability data from this project to improve
// models and services.
EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`
// EnabledCodecs The media codecs the project allows, by MIME type, such as `video/VP9`.
EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`
// Id The project ID (`p_...`).
Id *string `json:"id,omitempty"`
// IsPrivate True when the project keeps its own member list instead of taking the
// members of its workspace.
IsPrivate *bool `json:"isPrivate,omitempty"`
// Name The project name.
Name *string `json:"name,omitempty"`
// PiiRedactionCategories The categories to redact when `enablePiiRedaction` is `true`. When empty,
// the project uses its saved categories, or the default categories that
// apply when you turn on redaction. An empty list never means that nothing
// is redacted.
PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`
// PinnedRegions The regions the project pins its traffic to. Empty leaves it unpinned.
PinnedRegions *[]string `json:"pinnedRegions,omitempty"`
// Preferences The UI and feature settings for the project.
Preferences *LivekitPublicapiProjectsV1ProjectPreferences `json:"preferences,omitempty"`
// RequireExplicitDispatch True rejects an agent server that registers without an explicit agent
// name, which keeps an accidental auto-dispatch server from connecting.
RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`
// Subdomain The project subdomain, which forms `url`.
Subdomain *string `json:"subdomain,omitempty"`
// Url The LiveKit server URL of the project (`wss://...`). The API derives it
// from `subdomain`.
Url *string `json:"url,omitempty"`
UserDataLifetimeDays *int32 `json:"userDataLifetimeDays,omitempty"`
// UserDataRegion The region where the project stores and processes session analytics and
// agent observability data. It is set when the project is created and cannot
// be changed.
UserDataRegion *string `json:"userDataRegion,omitempty"`
// Webhooks The webhook destinations for the project.
Webhooks *[]LivekitPublicapiProjectsV1Webhook `json:"webhooks,omitempty"`
// WorkspaceId The workspace that holds the project (`wo_...`).
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiProjectsV1Project A LiveKit Cloud project. Members and domains are separate list resources and
are not embedded here.
type LivekitPublicapiProjectsV1ProjectInvite ¶
type LivekitPublicapiProjectsV1ProjectInvite struct {
// Email The email address the invite was sent to.
Email *string `json:"email,omitempty"`
// ExpiresAt When the invite stops working.
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
// InviteToken The token that identifies the invite. The invitee answers with it.
// Only `GetInvite` returns it, to the invitee who asks with it. `ListInvites`
// and `UpdateInvite` leave it empty. `InviteMember` returns the token of the
// invite that it creates.
InviteToken *string `json:"inviteToken,omitempty"`
// ProjectId The project the invite is to (`p_...`).
ProjectId *string `json:"projectId,omitempty"`
// Role Access level the invitee takes on the project: 0 invited, 1 read,
// 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
}
LivekitPublicapiProjectsV1ProjectInvite A pending email invite to a project. The recipient answers it with the token
the invite carries.
type LivekitPublicapiProjectsV1ProjectMember ¶
type LivekitPublicapiProjectsV1ProjectMember struct {
// Email The email address on the user account.
Email *string `json:"email,omitempty"`
// ProjectId The project the membership is on (`p_...`).
ProjectId *string `json:"projectId,omitempty"`
// Role The role of the user: `0` invited, `1` read, `2` write, `3` admin.
Role *int32 `json:"role,omitempty"`
// UserId The user who holds the membership.
UserId *string `json:"userId,omitempty"`
}
LivekitPublicapiProjectsV1ProjectMember A user's membership on a project.
type LivekitPublicapiProjectsV1ProjectPreferences ¶
type LivekitPublicapiProjectsV1ProjectPreferences struct {
// DisableTokenEndpoint True turns off the sandbox token endpoint for the project.
DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`
// DiscoverableByDomain True lets people with the same email domain as the project owner find the
// project when they sign up.
DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`
EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`
// EnableEgressBackupStorage True keeps an egress that fails to upload in LiveKit backup storage for 7
// days. The `egress_ended` webhook event carries the file location.
EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`
FeatureFlags *map[string]string `json:"featureFlags,omitempty"`
// HideOnboarding True hides the onboarding instructions on the project dashboard.
HideOnboarding *bool `json:"hideOnboarding,omitempty"`
// HideSampleAppGallery True hides the sample app gallery on the project dashboard.
HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
HipaaCompliant *bool `json:"hipaaCompliant,omitempty"`
// JoinableByDomain True lets people with the same email domain join the project.
JoinableByDomain *bool `json:"joinableByDomain,omitempty"`
// RoomConfigurations Room configurations saved on the project, by name.
RoomConfigurations *map[string]LivekitRoomConfiguration `json:"roomConfigurations,omitempty"`
// SfuAllowPause True lets the SFU pause video tracks when subscribers are congested.
SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`
TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
}
LivekitPublicapiProjectsV1ProjectPreferences The UI and feature settings of a project.
type LivekitPublicapiProjectsV1RemoveMemberResponse ¶
type LivekitPublicapiProjectsV1RemoveMemberResponse struct {
// NumKeys The number of API keys that the removal deleted, not counting agent keys.
NumKeys *int `json:"numKeys,omitempty"`
}
LivekitPublicapiProjectsV1RemoveMemberResponse defines model for livekit.publicapi.projects.v1.RemoveMemberResponse.
type LivekitPublicapiProjectsV1SendTestWebhookResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1SendTestWebhookResponse struct {
// Error The reason that no response arrived, such as a timeout or a refused
// connection. Empty when `statusCode` is set.
Error *string `json:"error,omitempty"`
// StatusCode The HTTP status of the response from the receiver. `0` when no response
// arrived.
StatusCode *int32 `json:"statusCode,omitempty"`
}
LivekitPublicapiProjectsV1SendTestWebhookResponse The answer of the receiver to one test delivery. The API does not retry the
test and does not follow redirects. A failed delivery shows in this response, not as an RPC error.
type LivekitPublicapiProjectsV1TokenGrants ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrants struct {
// Agent Agent server API permissions.
Agent *LivekitPublicapiProjectsV1TokenGrantsAgent `json:"agent,omitempty"`
// AgentDatabase Agent database permissions.
AgentDatabase *LivekitPublicapiProjectsV1TokenGrantsAgentDatabase `json:"agentDatabase,omitempty"`
// AgentEndpoint Permission to call an agent's non-public HTTP endpoints.
AgentEndpoint *LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint `json:"agentEndpoint,omitempty"`
// AgentThread Agent thread permissions.
AgentThread *LivekitPublicapiProjectsV1TokenGrantsAgentThread `json:"agentThread,omitempty"`
// Attributes Attributes carried on the participant.
Attributes *map[string]string `json:"attributes,omitempty"`
// Identity The identity of the participant: the subject of the token.
Identity *string `json:"identity,omitempty"`
// Inference Inference permissions.
Inference *LivekitPublicapiProjectsV1TokenGrantsInference `json:"inference,omitempty"`
// Kind The kind of participant: `standard`, `ingress`, `egress`, `sip`, or
// `agent`.
Kind *string `json:"kind,omitempty"`
KindDetails *[]string `json:"kindDetails,omitempty"`
// Metadata Metadata carried on the participant.
Metadata *string `json:"metadata,omitempty"`
// Name The display name of the participant.
Name *string `json:"name,omitempty"`
// Observability Observability permissions.
Observability *LivekitPublicapiProjectsV1TokenGrantsObservability `json:"observability,omitempty"`
// RoomConfig The configuration of a room that this participant creates when it joins,
// with its agent dispatches.
RoomConfig *LivekitRoomConfiguration `json:"roomConfig,omitempty"`
// RoomPreset The name of a LiveKit Cloud room configuration preset. The fields in
// `roomConfig` override it.
RoomPreset *string `json:"roomPreset,omitempty"`
// Sip SIP server API permissions.
Sip *LivekitPublicapiProjectsV1TokenGrantsSip `json:"sip,omitempty"`
// Video Room and participant permissions.
Video *LivekitPublicapiProjectsV1TokenGrantsVideo `json:"video,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrants The claims of a LiveKit access token. The field names match the JSON claims
of the token, so the claims JSON of a token is a valid `TokenGrants`.
type LivekitPublicapiProjectsV1TokenGrantsAgent ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsAgent struct {
// Admin Create, update, and delete cloud agents.
Admin *bool `json:"admin,omitempty"`
// DispatchAdmin Manage the agent dispatch queue of the project.
DispatchAdmin *bool `json:"dispatchAdmin,omitempty"`
// SimulationAdmin Manage the simulations and scenarios that evaluate an agent.
SimulationAdmin *bool `json:"simulationAdmin,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsAgent The permissions for the agent server API.
type LivekitPublicapiProjectsV1TokenGrantsAgentDatabase ¶ added in v2.20.1
type LivekitPublicapiProjectsV1TokenGrantsAgentDatabase struct {
// Create Create databases in the project.
Create *bool `json:"create,omitempty"`
// DatabaseIds The databases the read, write and delete permissions apply to
// (`DB_...`).
DatabaseIds *[]string `json:"databaseIds,omitempty"`
// Delete Delete the databases in `databaseIds`.
Delete *bool `json:"delete,omitempty"`
// List List the project's databases.
List *bool `json:"list,omitempty"`
// Read Read the databases in `databaseIds`.
Read *bool `json:"read,omitempty"`
// Write Write the databases in `databaseIds`.
Write *bool `json:"write,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsAgentDatabase The permissions of a database token for standalone agent databases
(`DB_...`). `read`, `write` and `delete` apply to the databases in `databaseIds`; `create` and `list` apply to the project. A thread's own database is reached through the thread's grant.
type LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint struct {
// AgentName The name of one agent. When empty, the grant applies to every agent of
// the project.
AgentName *string `json:"agentName,omitempty"`
// Call Call the endpoints.
Call *bool `json:"call,omitempty"`
// Deployment One deployment of the agent. When empty, the grant applies to every
// deployment.
Deployment *string `json:"deployment,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint The permission to call the non-public HTTP endpoints of an agent.
type LivekitPublicapiProjectsV1TokenGrantsAgentThread ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsAgentThread struct {
// All Extend the read, write, and delete permissions to every thread of the
// project.
All *bool `json:"all,omitempty"`
// Create Create a thread in `scope`.
Create *bool `json:"create,omitempty"`
// Delete Delete the threads in `threadIds`.
Delete *bool `json:"delete,omitempty"`
// List List the threads in `scope`.
List *bool `json:"list,omitempty"`
// Read Read the threads in `threadIds`.
Read *bool `json:"read,omitempty"`
// Scope The scope the list and create permissions apply to.
Scope *string `json:"scope,omitempty"`
// Sql Open the database of each thread that the read, write, and delete
// permissions apply to. The ID of the database of a thread is the thread
// ID (`AT_...`).
Sql *bool `json:"sql,omitempty"`
// ThreadIds The threads the read, write, and delete permissions apply to.
ThreadIds *[]string `json:"threadIds,omitempty"`
// Write Write the threads in `threadIds`.
Write *bool `json:"write,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsAgentThread The permissions of a thread token. The token can list and create threads
in `scope`. It can read, write, and delete the threads in `threadIds`, for example for a frontend that shows one conversation. When `all` is `true`, the token can act on every thread of the project. The action flags still apply. With `sql`, the token can open the database of each thread that it covers.
type LivekitPublicapiProjectsV1TokenGrantsInference ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsInference struct {
// Perform Every inference feature: LLM, STT, and TTS.
Perform *bool `json:"perform,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsInference defines model for livekit.publicapi.projects.v1.TokenGrants.Inference.
type LivekitPublicapiProjectsV1TokenGrantsObservability ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsObservability struct {
// ClientWrite Publish only the telemetry of a client SDK. `write` includes this
// access.
ClientWrite *bool `json:"clientWrite,omitempty"`
// Write Publish observability data, including the telemetry of a client SDK.
Write *bool `json:"write,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsObservability defines model for livekit.publicapi.projects.v1.TokenGrants.Observability.
type LivekitPublicapiProjectsV1TokenGrantsSip ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsSip struct {
// Admin Every SIP feature.
Admin *bool `json:"admin,omitempty"`
// Call Make outbound SIP calls.
Call *bool `json:"call,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsSip The permissions for the SIP server API.
type LivekitPublicapiProjectsV1TokenGrantsVideo ¶ added in v2.19.1
type LivekitPublicapiProjectsV1TokenGrantsVideo struct {
// Agent Register as an Agents framework worker.
Agent *bool `json:"agent,omitempty"`
// CanManageAgentSession Manage an agent session through RemoteSession.
CanManageAgentSession *bool `json:"canManageAgentSession,omitempty"`
// CanPublish When true, the participant can publish tracks. Unset means `true`.
CanPublish *bool `json:"canPublish,omitempty"`
// CanPublishData Publish data to the room. Unset means allowed.
CanPublishData *bool `json:"canPublishData,omitempty"`
// CanPublishSources The sources that the participant can publish, such as `camera` and
// `microphone`.
CanPublishSources *[]string `json:"canPublishSources,omitempty"`
// CanSubscribe Subscribe to tracks. Unset means allowed.
CanSubscribe *bool `json:"canSubscribe,omitempty"`
// CanSubscribeMetrics Subscribe to metrics.
CanSubscribeMetrics *bool `json:"canSubscribeMetrics,omitempty"`
// CanUpdateOwnMetadata Update the participant's own metadata. Unset means allowed.
CanUpdateOwnMetadata *bool `json:"canUpdateOwnMetadata,omitempty"`
// DestinationRoom The room to move or forward participants to.
DestinationRoom *string `json:"destinationRoom,omitempty"`
// Hidden Hide the participant from the others in the room.
Hidden *bool `json:"hidden,omitempty"`
// IngressAdmin When true, the token can manage ingress with the server API.
IngressAdmin *bool `json:"ingressAdmin,omitempty"`
// Recorder Tell the room the participant is a recorder.
Recorder *bool `json:"recorder,omitempty"`
// Room The room the join and admin permissions apply to. Required when either
// is set.
Room *string `json:"room,omitempty"`
// RoomAdmin When true, the token can manage `room` with the server API. When `room`
// is empty, the token can manage every room.
RoomAdmin *bool `json:"roomAdmin,omitempty"`
// RoomCreate When true, the token can create rooms with the server API.
RoomCreate *bool `json:"roomCreate,omitempty"`
// RoomJoin When true, the participant can join `room`.
RoomJoin *bool `json:"roomJoin,omitempty"`
// RoomList When true, the token can list rooms with the server API.
RoomList *bool `json:"roomList,omitempty"`
// RoomRecord When true, the token can start and manage egress with the server API.
RoomRecord *bool `json:"roomRecord,omitempty"`
}
LivekitPublicapiProjectsV1TokenGrantsVideo The room and participant permissions.
type LivekitPublicapiProjectsV1UpdateInviteResponse ¶
type LivekitPublicapiProjectsV1UpdateInviteResponse struct {
Invite *LivekitPublicapiProjectsV1ProjectInvite `json:"invite,omitempty"`
}
LivekitPublicapiProjectsV1UpdateInviteResponse defines model for livekit.publicapi.projects.v1.UpdateInviteResponse.
type LivekitPublicapiProjectsV1UpdateMemberResponse ¶
type LivekitPublicapiProjectsV1UpdateMemberResponse struct {
Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}
LivekitPublicapiProjectsV1UpdateMemberResponse defines model for livekit.publicapi.projects.v1.UpdateMemberResponse.
type LivekitPublicapiProjectsV1UpdateProjectResponse ¶
type LivekitPublicapiProjectsV1UpdateProjectResponse struct {
Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}
LivekitPublicapiProjectsV1UpdateProjectResponse defines model for livekit.publicapi.projects.v1.UpdateProjectResponse.
type LivekitPublicapiProjectsV1UpdateWebhookResponse ¶ added in v2.19.1
type LivekitPublicapiProjectsV1UpdateWebhookResponse struct {
Webhook *LivekitPublicapiProjectsV1Webhook `json:"webhook,omitempty"`
}
LivekitPublicapiProjectsV1UpdateWebhookResponse defines model for livekit.publicapi.projects.v1.UpdateWebhookResponse.
type LivekitPublicapiProjectsV1Webhook ¶
type LivekitPublicapiProjectsV1Webhook struct {
// FilterParams The events to send, named by `includeEvents` or `excludeEvents`. Read the
// names from List webhook events.
FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
// Id The webhook ID.
Id *string `json:"id,omitempty"`
// Name A label for the destination.
Name *string `json:"name,omitempty"`
// SigningKey The API key of this project whose secret signs each delivery. It is a key
// ID, not a secret. Empty signs with the oldest key in the project.
SigningKey *string `json:"signingKey,omitempty"`
// Url The URL that receives the events.
Url *string `json:"url,omitempty"`
}
LivekitPublicapiProjectsV1Webhook A webhook destination of a project.
type LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse struct {
Scenario *LivekitScenario `json:"scenario,omitempty"`
}
LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse defines model for livekit.publicapi.simulations.v1.Scenarios.GenerateFromSession.Response.
type LivekitPublicapiSimulationsV1SimulationRunsCancelResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsCancelResponse = map[string]interface{}
LivekitPublicapiSimulationsV1SimulationRunsCancelResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Cancel.Response.
type LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse = map[string]interface{}
LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.ConfirmSourceUpload.Response.
type LivekitPublicapiSimulationsV1SimulationRunsCountsResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsCountsResponse struct {
// Buckets The buckets that hold at least one run, in ascending order of
// `bucketStart`. The response does not include empty buckets. Each run is
// in exactly one bucket, so the sum of the counts is the number of runs
// in the window.
Buckets *[]LivekitSimulationRunCountsBucket `json:"buckets,omitempty"`
// Interval The width of each bucket. The API chooses the width from the window:
// the window has at most 60 buckets, and a bucket is at least one minute
// wide. Use the width to add the empty buckets, with a count of 0.
Interval *GoogleProtobufDuration `json:"interval,omitempty"`
}
LivekitPublicapiSimulationsV1SimulationRunsCountsResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Counts.Response.
type LivekitPublicapiSimulationsV1SimulationRunsCreateResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsCreateResponse struct {
// PresignedPostRequest The presigned POST to upload the agent source archive that the API
// generates scenarios from. After the upload, call
// `ConfirmSimulationSourceUpload`. Unset when the run has a
// `scenarioGroup`.
PresignedPostRequest *LivekitPresignedPostRequest `json:"presignedPostRequest,omitempty"`
SimulationRunId *string `json:"simulationRunId,omitempty"`
}
LivekitPublicapiSimulationsV1SimulationRunsCreateResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Create.Response.
type LivekitPublicapiSimulationsV1SimulationRunsGetResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsGetResponse struct {
// Run The run. `summaryZstd` is always empty. To get the summary, call
// `GetSimulationRunSummary`.
Run *LivekitSimulationRun `json:"run,omitempty"`
}
LivekitPublicapiSimulationsV1SimulationRunsGetResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Get.Response.
type LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse struct {
// Summary The decoded summary of a finished run.
Summary *LivekitSimulationRunSummary `json:"summary,omitempty"`
}
LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.GetSummary.Response.
type LivekitPublicapiSimulationsV1SimulationRunsListResponse ¶ added in v2.19.0
type LivekitPublicapiSimulationsV1SimulationRunsListResponse struct {
Items *[]LivekitSimulationRun `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiSimulationsV1SimulationRunsListResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.List.Response.
type LivekitPublicapiTelephonyV1DispatchRulesCreateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1DispatchRulesCreateResponse struct {
DispatchRule *LivekitSIPDispatchRuleInfo `json:"dispatchRule,omitempty"`
}
LivekitPublicapiTelephonyV1DispatchRulesCreateResponse defines model for livekit.publicapi.telephony.v1.DispatchRules.Create.Response.
type LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse = map[string]interface{}
LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse defines model for livekit.publicapi.telephony.v1.DispatchRules.Delete.Response.
type LivekitPublicapiTelephonyV1DispatchRulesGetResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1DispatchRulesGetResponse struct {
DispatchRule *LivekitSIPDispatchRuleInfo `json:"dispatchRule,omitempty"`
}
LivekitPublicapiTelephonyV1DispatchRulesGetResponse defines model for livekit.publicapi.telephony.v1.DispatchRules.Get.Response.
type LivekitPublicapiTelephonyV1DispatchRulesListResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1DispatchRulesListResponse struct {
Items *[]LivekitSIPDispatchRuleInfo `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiTelephonyV1DispatchRulesListResponse defines model for livekit.publicapi.telephony.v1.DispatchRules.List.Response.
type LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse struct {
DispatchRule *LivekitSIPDispatchRuleInfo `json:"dispatchRule,omitempty"`
}
LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse defines model for livekit.publicapi.telephony.v1.DispatchRules.Update.Response.
type LivekitPublicapiTelephonyV1InboundTrunksCreateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1InboundTrunksCreateResponse struct {
Trunk *LivekitSIPInboundTrunkInfo `json:"trunk,omitempty"`
}
LivekitPublicapiTelephonyV1InboundTrunksCreateResponse defines model for livekit.publicapi.telephony.v1.InboundTrunks.Create.Response.
type LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse = map[string]interface{}
LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse defines model for livekit.publicapi.telephony.v1.InboundTrunks.Delete.Response.
type LivekitPublicapiTelephonyV1InboundTrunksGetResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1InboundTrunksGetResponse struct {
Trunk *LivekitSIPInboundTrunkInfo `json:"trunk,omitempty"`
}
LivekitPublicapiTelephonyV1InboundTrunksGetResponse defines model for livekit.publicapi.telephony.v1.InboundTrunks.Get.Response.
type LivekitPublicapiTelephonyV1InboundTrunksListResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1InboundTrunksListResponse struct {
Items *[]LivekitSIPInboundTrunkInfo `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiTelephonyV1InboundTrunksListResponse defines model for livekit.publicapi.telephony.v1.InboundTrunks.List.Response.
type LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse struct {
Trunk *LivekitSIPInboundTrunkInfo `json:"trunk,omitempty"`
}
LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse defines model for livekit.publicapi.telephony.v1.InboundTrunks.Update.Response.
type LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse struct {
Trunk *LivekitSIPOutboundTrunkInfo `json:"trunk,omitempty"`
}
LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse defines model for livekit.publicapi.telephony.v1.OutboundTrunks.Create.Response.
type LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse = map[string]interface{}
LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse defines model for livekit.publicapi.telephony.v1.OutboundTrunks.Delete.Response.
type LivekitPublicapiTelephonyV1OutboundTrunksGetResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1OutboundTrunksGetResponse struct {
Trunk *LivekitSIPOutboundTrunkInfo `json:"trunk,omitempty"`
}
LivekitPublicapiTelephonyV1OutboundTrunksGetResponse defines model for livekit.publicapi.telephony.v1.OutboundTrunks.Get.Response.
type LivekitPublicapiTelephonyV1OutboundTrunksListResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1OutboundTrunksListResponse struct {
Items *[]LivekitSIPOutboundTrunkInfo `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiTelephonyV1OutboundTrunksListResponse defines model for livekit.publicapi.telephony.v1.OutboundTrunks.List.Response.
type LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse struct {
Trunk *LivekitSIPOutboundTrunkInfo `json:"trunk,omitempty"`
}
LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse defines model for livekit.publicapi.telephony.v1.OutboundTrunks.Update.Response.
type LivekitPublicapiTelephonyV1PhoneNumbersGetResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1PhoneNumbersGetResponse struct {
PhoneNumber *LivekitPhoneNumber `json:"phoneNumber,omitempty"`
}
LivekitPublicapiTelephonyV1PhoneNumbersGetResponse defines model for livekit.publicapi.telephony.v1.PhoneNumbers.Get.Response.
type LivekitPublicapiTelephonyV1PhoneNumbersListResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1PhoneNumbersListResponse struct {
Items *[]LivekitPhoneNumber `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiTelephonyV1PhoneNumbersListResponse defines model for livekit.publicapi.telephony.v1.PhoneNumbers.List.Response.
type LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse struct {
PhoneNumber *LivekitPhoneNumber `json:"phoneNumber,omitempty"`
}
LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse defines model for livekit.publicapi.telephony.v1.PhoneNumbers.Purchase.Response.
type LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse = map[string]interface{}
LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse defines model for livekit.publicapi.telephony.v1.PhoneNumbers.Release.Response.
type LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse struct {
Items *[]LivekitPhoneNumber `json:"items,omitempty"`
// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse defines model for livekit.publicapi.telephony.v1.PhoneNumbers.Search.Response.
type LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse struct {
PhoneNumber *LivekitPhoneNumber `json:"phoneNumber,omitempty"`
}
LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse defines model for livekit.publicapi.telephony.v1.PhoneNumbers.Update.Response.
type LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse struct {
Participant *LivekitSIPParticipantInfo `json:"participant,omitempty"`
}
LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse defines model for livekit.publicapi.telephony.v1.SIPParticipants.Create.Response.
type LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse ¶ added in v2.20.1
type LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse struct {
Transfer *LivekitTransferSIPParticipantResponse `json:"transfer,omitempty"`
}
LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse defines model for livekit.publicapi.telephony.v1.SIPParticipants.Transfer.Response.
type LivekitPublicapiUsersV1GetCurrentUserResponse ¶
type LivekitPublicapiUsersV1GetCurrentUserResponse struct {
User *LivekitPublicapiUsersV1User `json:"user,omitempty"`
}
LivekitPublicapiUsersV1GetCurrentUserResponse defines model for livekit.publicapi.users.v1.GetCurrentUserResponse.
type LivekitPublicapiUsersV1GetUserResponse ¶
type LivekitPublicapiUsersV1GetUserResponse struct {
User *LivekitPublicapiUsersV1User `json:"user,omitempty"`
}
LivekitPublicapiUsersV1GetUserResponse defines model for livekit.publicapi.users.v1.GetUserResponse.
type LivekitPublicapiUsersV1ListUsersResponse ¶
type LivekitPublicapiUsersV1ListUsersResponse struct {
Items *[]LivekitPublicapiUsersV1User `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiUsersV1ListUsersResponse defines model for livekit.publicapi.users.v1.ListUsersResponse.
type LivekitPublicapiUsersV1SessionTokenRevokeResponse ¶ added in v2.19.4
type LivekitPublicapiUsersV1SessionTokenRevokeResponse = map[string]interface{}
LivekitPublicapiUsersV1SessionTokenRevokeResponse defines model for livekit.publicapi.users.v1.SessionToken.Revoke.Response.
type LivekitPublicapiUsersV1User ¶
type LivekitPublicapiUsersV1User struct {
// CreatedAt When the account was created.
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// Email The email address on the account.
Email *string `json:"email,omitempty"`
// Id The user ID, also the `userId` on project and workspace members.
Id *string `json:"id,omitempty"`
}
LivekitPublicapiUsersV1User A LiveKit Cloud user.
type LivekitPublicapiWorkspacesV1AnswerInviteResponse ¶
type LivekitPublicapiWorkspacesV1AnswerInviteResponse struct {
// Member The new membership. Set only when `accept` is `true`.
Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}
LivekitPublicapiWorkspacesV1AnswerInviteResponse defines model for livekit.publicapi.workspaces.v1.AnswerInviteResponse.
type LivekitPublicapiWorkspacesV1CreateInviteResponse ¶
type LivekitPublicapiWorkspacesV1CreateInviteResponse struct {
// InviteToken The token that identifies the invite. The invitee answers with it.
InviteToken *string `json:"inviteToken,omitempty"`
// WorkspaceId The workspace the invite is to (`wo_...`).
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiWorkspacesV1CreateInviteResponse defines model for livekit.publicapi.workspaces.v1.CreateInviteResponse.
type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest ¶
type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest struct {
// Name The workspace name.
Name *string `json:"name,omitempty"`
// OrganizationId The ID of an organization to associate the workspace with. Optional.
OrganizationId *string `json:"organizationId,omitempty"`
}
LivekitPublicapiWorkspacesV1CreateWorkspaceRequest The workspace to create. You cannot set workspace preferences here. LiveKit
staff set them, and they apply to every project in the workspace.
type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse struct {
Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}
LivekitPublicapiWorkspacesV1CreateWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.CreateWorkspaceResponse.
type LivekitPublicapiWorkspacesV1DeleteInviteResponse ¶
type LivekitPublicapiWorkspacesV1DeleteInviteResponse = map[string]interface{}
LivekitPublicapiWorkspacesV1DeleteInviteResponse defines model for livekit.publicapi.workspaces.v1.DeleteInviteResponse.
type LivekitPublicapiWorkspacesV1DeleteMemberResponse ¶
type LivekitPublicapiWorkspacesV1DeleteMemberResponse struct {
// NumKeys The number of API keys that the removal deleted, not counting agent keys.
NumKeys *int `json:"numKeys,omitempty"`
}
LivekitPublicapiWorkspacesV1DeleteMemberResponse defines model for livekit.publicapi.workspaces.v1.DeleteMemberResponse.
type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse = map[string]interface{}
LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.DeleteWorkspaceResponse.
type LivekitPublicapiWorkspacesV1GetInviteResponse ¶
type LivekitPublicapiWorkspacesV1GetInviteResponse struct {
Invite *LivekitPublicapiWorkspacesV1WorkspaceInvite `json:"invite,omitempty"`
}
LivekitPublicapiWorkspacesV1GetInviteResponse defines model for livekit.publicapi.workspaces.v1.GetInviteResponse.
type LivekitPublicapiWorkspacesV1GetMemberResponse ¶
type LivekitPublicapiWorkspacesV1GetMemberResponse struct {
Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}
LivekitPublicapiWorkspacesV1GetMemberResponse defines model for livekit.publicapi.workspaces.v1.GetMemberResponse.
type LivekitPublicapiWorkspacesV1GetWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1GetWorkspaceResponse struct {
Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}
LivekitPublicapiWorkspacesV1GetWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.GetWorkspaceResponse.
type LivekitPublicapiWorkspacesV1ListInvitesResponse ¶
type LivekitPublicapiWorkspacesV1ListInvitesResponse struct {
Items *[]LivekitPublicapiWorkspacesV1WorkspaceInvite `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiWorkspacesV1ListInvitesResponse defines model for livekit.publicapi.workspaces.v1.ListInvitesResponse.
type LivekitPublicapiWorkspacesV1ListMembersResponse ¶
type LivekitPublicapiWorkspacesV1ListMembersResponse struct {
Items *[]LivekitPublicapiWorkspacesV1WorkspaceMember `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiWorkspacesV1ListMembersResponse defines model for livekit.publicapi.workspaces.v1.ListMembersResponse.
type LivekitPublicapiWorkspacesV1ListWorkspacesResponse ¶
type LivekitPublicapiWorkspacesV1ListWorkspacesResponse struct {
Items *[]LivekitPublicapiWorkspacesV1Workspace `json:"items,omitempty"`
PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}
LivekitPublicapiWorkspacesV1ListWorkspacesResponse defines model for livekit.publicapi.workspaces.v1.ListWorkspacesResponse.
type LivekitPublicapiWorkspacesV1UpdateMemberResponse ¶
type LivekitPublicapiWorkspacesV1UpdateMemberResponse struct {
Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}
LivekitPublicapiWorkspacesV1UpdateMemberResponse defines model for livekit.publicapi.workspaces.v1.UpdateMemberResponse.
type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse ¶
type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse struct {
Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}
LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.UpdateWorkspaceResponse.
type LivekitPublicapiWorkspacesV1Workspace ¶
type LivekitPublicapiWorkspacesV1Workspace struct {
// CreatedAt When the workspace was created.
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// CreatorId The user who created the workspace.
CreatorId *string `json:"creatorId,omitempty"`
// Id The workspace ID (`wo_...`).
Id *string `json:"id,omitempty"`
// Name The workspace name.
Name *string `json:"name,omitempty"`
// OrganizationId The organization the workspace belongs to.
OrganizationId *string `json:"organizationId,omitempty"`
// Preferences The settings for the workspace.
Preferences *LivekitPublicapiWorkspacesV1WorkspacePreferences `json:"preferences,omitempty"`
}
LivekitPublicapiWorkspacesV1Workspace A LiveKit Cloud workspace. Members and invites are separate list resources
and are not embedded here.
type LivekitPublicapiWorkspacesV1WorkspaceInvite ¶
type LivekitPublicapiWorkspacesV1WorkspaceInvite struct {
// Email The email address the invite was sent to.
Email *string `json:"email,omitempty"`
// ExpiresAt When the invite stops working.
ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
// InviteToken The token that identifies the invite. The invitee answers with it.
// Only `GetInvite` returns it, to the invitee who asks with it. `ListInvites`
// leaves it empty. `CreateInvite` returns the token of the invite that it
// creates.
InviteToken *string `json:"inviteToken,omitempty"`
// Role Access level the invitee takes on the workspace: 0 invited, 1 read,
// 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
// WorkspaceId The workspace the invite is to (`wo_...`).
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspaceInvite A pending email invite to a workspace.
type LivekitPublicapiWorkspacesV1WorkspaceMcpPolicy ¶ added in v2.20.1
type LivekitPublicapiWorkspacesV1WorkspaceMcpPolicy struct {
// AllowedClientIds The OAuth client IDs of the apps that can act in the workspace when
// `clientAllowlistEnabled` is `true`: the metadata document URL of an app,
// such as `https://claude.ai/oauth/mcp-oauth-client-metadata`, or the ID of
// a static client, such as `cline`. At most 100 IDs, each at most 2048
// characters.
AllowedClientIds *[]string `json:"allowedClientIds,omitempty"`
// ClientAllowlistEnabled When true, only the apps in `allowedClientIds` can act in the workspace.
// The list stays when this is `false`. With an empty list, no app can act.
ClientAllowlistEnabled *bool `json:"clientAllowlistEnabled,omitempty"`
// Disabled When true, no app can act in the workspace over MCP.
Disabled *bool `json:"disabled,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspaceMcpPolicy What OAuth apps can do in a workspace over the MCP server. The policy limits
only the calls that act in the workspace or in its projects. A member can still connect an app, and use the app in other workspaces.
type LivekitPublicapiWorkspacesV1WorkspaceMember ¶
type LivekitPublicapiWorkspacesV1WorkspaceMember struct {
// Email The email address on the user account.
Email *string `json:"email,omitempty"`
// Role The role of the member: `0` invited, `1` read, `2` write, `3` admin.
Role *int32 `json:"role,omitempty"`
// UserId The user who holds the membership.
UserId *string `json:"userId,omitempty"`
// WorkspaceId The workspace the membership is on (`wo_...`).
WorkspaceId *string `json:"workspaceId,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspaceMember A user's membership on a workspace.
type LivekitPublicapiWorkspacesV1WorkspacePreferences ¶
type LivekitPublicapiWorkspacesV1WorkspacePreferences struct {
HipaaCompliant *bool `json:"hipaaCompliant,omitempty"`
// Mcp What OAuth apps can do in the workspace over the MCP server. Unset allows
// every app.
Mcp *LivekitPublicapiWorkspacesV1WorkspaceMcpPolicy `json:"mcp,omitempty"`
}
LivekitPublicapiWorkspacesV1WorkspacePreferences The settings of a workspace.
type LivekitRoomAgentDispatch ¶
type LivekitRoomAgentDispatch struct {
AgentName *string `json:"agentName,omitempty"`
Attributes *map[string]string `json:"attributes,omitempty"`
Deployment *string `json:"deployment,omitempty"`
Metadata *string `json:"metadata,omitempty"`
// RestartPolicy cloud only
RestartPolicy *LivekitJobRestartPolicy `json:"restartPolicy,omitempty"`
// ThreadId The agent thread (an AT_ id, see agent/livekit_agent_thread.proto) the dispatched job's
// call reads and writes. Empty means the call keeps no durable thread.
ThreadId *string `json:"threadId,omitempty"`
}
LivekitRoomAgentDispatch defines model for livekit.RoomAgentDispatch.
type LivekitRoomCompositeEgressRequest ¶
type LivekitRoomCompositeEgressRequest struct {
AudioMixing *LivekitAudioMixing `json:"audioMixing,omitempty"`
AudioOnly *bool `json:"audioOnly,omitempty"`
CustomBaseUrl *string `json:"customBaseUrl,omitempty"`
FileOutputs *[]LivekitEncodedFileOutput `json:"fileOutputs,omitempty"`
ImageOutputs *[]LivekitImageOutput `json:"imageOutputs,omitempty"`
Layout *string `json:"layout,omitempty"`
RoomName *string `json:"roomName,omitempty"`
SegmentOutputs *[]LivekitSegmentedFileOutput `json:"segmentOutputs,omitempty"`
StreamOutputs *[]LivekitStreamOutput `json:"streamOutputs,omitempty"`
VideoOnly *bool `json:"videoOnly,omitempty"`
Webhooks *[]LivekitWebhookConfig `json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
LivekitRoomCompositeEgressRequest defines model for livekit.RoomCompositeEgressRequest.
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0() (LivekitRoomCompositeEgressRequest0, error)
AsLivekitRoomCompositeEgressRequest0 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest0
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1() (LivekitRoomCompositeEgressRequest1, error)
AsLivekitRoomCompositeEgressRequest1 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest1
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2() (LivekitRoomCompositeEgressRequest2, error)
AsLivekitRoomCompositeEgressRequest2 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest2
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3() (LivekitRoomCompositeEgressRequest3, error)
AsLivekitRoomCompositeEgressRequest3 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest3
func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4 ¶
func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4() (LivekitRoomCompositeEgressRequest4, error)
AsLivekitRoomCompositeEgressRequest4 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest4
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
FromLivekitRoomCompositeEgressRequest0 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest0
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
FromLivekitRoomCompositeEgressRequest1 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest1
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
FromLivekitRoomCompositeEgressRequest2 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest2
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
FromLivekitRoomCompositeEgressRequest3 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest3
func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4 ¶
func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
FromLivekitRoomCompositeEgressRequest4 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest4
func (LivekitRoomCompositeEgressRequest) MarshalJSON ¶
func (t LivekitRoomCompositeEgressRequest) MarshalJSON() ([]byte, error)
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error
MergeLivekitRoomCompositeEgressRequest0 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest0
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error
MergeLivekitRoomCompositeEgressRequest1 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest1
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error
MergeLivekitRoomCompositeEgressRequest2 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest2
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error
MergeLivekitRoomCompositeEgressRequest3 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest3
func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4 ¶
func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error
MergeLivekitRoomCompositeEgressRequest4 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest4
func (*LivekitRoomCompositeEgressRequest) UnmarshalJSON ¶
func (t *LivekitRoomCompositeEgressRequest) UnmarshalJSON(b []byte) error
type LivekitRoomCompositeEgressRequest0 ¶
type LivekitRoomCompositeEgressRequest0 struct {
Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}
LivekitRoomCompositeEgressRequest0 defines model for LivekitRoomCompositeEgressRequest.0.
type LivekitRoomCompositeEgressRequest1 ¶
type LivekitRoomCompositeEgressRequest1 struct {
Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}
LivekitRoomCompositeEgressRequest1 defines model for LivekitRoomCompositeEgressRequest.1.
type LivekitRoomCompositeEgressRequest2 ¶
type LivekitRoomCompositeEgressRequest2 struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
File *LivekitEncodedFileOutput `json:"file,omitempty"`
}
LivekitRoomCompositeEgressRequest2 defines model for LivekitRoomCompositeEgressRequest.2.
type LivekitRoomCompositeEgressRequest3 ¶
type LivekitRoomCompositeEgressRequest3 struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Segments *LivekitSegmentedFileOutput `json:"segments,omitempty"`
}
LivekitRoomCompositeEgressRequest3 defines model for LivekitRoomCompositeEgressRequest.3.
type LivekitRoomCompositeEgressRequest4 ¶
type LivekitRoomCompositeEgressRequest4 struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Stream *LivekitStreamOutput `json:"stream,omitempty"`
}
LivekitRoomCompositeEgressRequest4 defines model for LivekitRoomCompositeEgressRequest.4.
type LivekitRoomConfiguration ¶
type LivekitRoomConfiguration struct {
// Agents Define agents that should be dispatched to this room
Agents *[]LivekitRoomAgentDispatch `json:"agents,omitempty"`
// DepartureTimeout number of seconds to keep the room open after everyone leaves
DepartureTimeout *int `json:"departureTimeout,omitempty"`
// Egress egress
Egress *LivekitRoomEgress `json:"egress,omitempty"`
// EmptyTimeout number of seconds to keep the room open if no one joins
EmptyTimeout *int `json:"emptyTimeout,omitempty"`
// MaxParticipants limit number of participants that can be in a room, excluding Egress and Agent participants
MaxParticipants *int `json:"maxParticipants,omitempty"`
MaxPlayoutDelay *int `json:"maxPlayoutDelay,omitempty"`
// Metadata metadata of room
Metadata *string `json:"metadata,omitempty"`
// MinPlayoutDelay playout delay of subscriber
MinPlayoutDelay *int `json:"minPlayoutDelay,omitempty"`
// Name Used as ID, must be unique
Name *string `json:"name,omitempty"`
// SyncStreams improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
// so not recommended for rooms with frequent subscription changes
SyncStreams *bool `json:"syncStreams,omitempty"`
// Tags Tags to attach to the room
Tags *map[string]string `json:"tags,omitempty"`
}
LivekitRoomConfiguration defines model for livekit.RoomConfiguration.
type LivekitRoomEgress ¶
type LivekitRoomEgress struct {
Participant *LivekitAutoParticipantEgress `json:"participant,omitempty"`
ParticipantEgress *LivekitParticipantEgressConfig `json:"participantEgress,omitempty"`
Room *LivekitRoomCompositeEgressRequest `json:"room,omitempty"`
// RoomEgress room_name is replaced with the room's name
RoomEgress *LivekitStartEgressRequest `json:"roomEgress,omitempty"`
TrackEgress *LivekitTrackEgressConfig `json:"trackEgress,omitempty"`
Tracks *LivekitAutoTrackEgress `json:"tracks,omitempty"`
}
LivekitRoomEgress defines model for livekit.RoomEgress.
type LivekitS3Upload ¶
type LivekitS3Upload struct {
AccessKey *string `json:"accessKey,omitempty"`
// AssumeRoleArn ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
AssumeRoleArn *string `json:"assumeRoleArn,omitempty"`
// AssumeRoleExternalId ExternalID to use when assuming role for upload
AssumeRoleExternalId *string `json:"assumeRoleExternalId,omitempty"`
Bucket *string `json:"bucket,omitempty"`
// ContentDisposition Content-Disposition header
ContentDisposition *string `json:"contentDisposition,omitempty"`
Endpoint *string `json:"endpoint,omitempty"`
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
Proxy *LivekitProxyConfig `json:"proxy,omitempty"`
Region *string `json:"region,omitempty"`
Secret *string `json:"secret,omitempty"`
SessionToken *string `json:"sessionToken,omitempty"`
Tagging *string `json:"tagging,omitempty"`
}
LivekitS3Upload defines model for livekit.S3Upload.
type LivekitSIPCodec ¶ added in v2.20.1
type LivekitSIPCodec struct {
Name *string `json:"name,omitempty"`
Rate *int `json:"rate,omitempty"`
}
LivekitSIPCodec defines model for livekit.SIPCodec.
type LivekitSIPDialtone ¶ added in v2.20.1
type LivekitSIPDialtone string
LivekitSIPDialtone Dial tone (ringback) played while a call is being placed or transferred.
Receivers treat unknown values as SIP_DIALTONE_ETSI.
const ( SIPDIALTONEAU LivekitSIPDialtone = "SIP_DIALTONE_AU" SIPDIALTONEAUTO LivekitSIPDialtone = "SIP_DIALTONE_AUTO" SIPDIALTONEDISABLED LivekitSIPDialtone = "SIP_DIALTONE_DISABLED" SIPDIALTONEETSI LivekitSIPDialtone = "SIP_DIALTONE_ETSI" SIPDIALTONEJP LivekitSIPDialtone = "SIP_DIALTONE_JP" SIPDIALTONEUK LivekitSIPDialtone = "SIP_DIALTONE_UK" SIPDIALTONEUS LivekitSIPDialtone = "SIP_DIALTONE_US" )
Defines values for LivekitSIPDialtone.
func (LivekitSIPDialtone) Valid ¶ added in v2.20.1
func (e LivekitSIPDialtone) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPDialtone enum.
type LivekitSIPDispatchRule ¶ added in v2.20.1
type LivekitSIPDispatchRule struct {
// contains filtered or unexported fields
}
LivekitSIPDispatchRule defines model for livekit.SIPDispatchRule.
func (LivekitSIPDispatchRule) AsLivekitSIPDispatchRule0 ¶ added in v2.20.1
func (t LivekitSIPDispatchRule) AsLivekitSIPDispatchRule0() (LivekitSIPDispatchRule0, error)
AsLivekitSIPDispatchRule0 returns the union data inside the LivekitSIPDispatchRule as a LivekitSIPDispatchRule0
func (LivekitSIPDispatchRule) AsLivekitSIPDispatchRule1 ¶ added in v2.20.1
func (t LivekitSIPDispatchRule) AsLivekitSIPDispatchRule1() (LivekitSIPDispatchRule1, error)
AsLivekitSIPDispatchRule1 returns the union data inside the LivekitSIPDispatchRule as a LivekitSIPDispatchRule1
func (LivekitSIPDispatchRule) AsLivekitSIPDispatchRule2 ¶ added in v2.20.1
func (t LivekitSIPDispatchRule) AsLivekitSIPDispatchRule2() (LivekitSIPDispatchRule2, error)
AsLivekitSIPDispatchRule2 returns the union data inside the LivekitSIPDispatchRule as a LivekitSIPDispatchRule2
func (*LivekitSIPDispatchRule) FromLivekitSIPDispatchRule0 ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) FromLivekitSIPDispatchRule0(v LivekitSIPDispatchRule0) error
FromLivekitSIPDispatchRule0 overwrites any union data inside the LivekitSIPDispatchRule as the provided LivekitSIPDispatchRule0
func (*LivekitSIPDispatchRule) FromLivekitSIPDispatchRule1 ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) FromLivekitSIPDispatchRule1(v LivekitSIPDispatchRule1) error
FromLivekitSIPDispatchRule1 overwrites any union data inside the LivekitSIPDispatchRule as the provided LivekitSIPDispatchRule1
func (*LivekitSIPDispatchRule) FromLivekitSIPDispatchRule2 ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) FromLivekitSIPDispatchRule2(v LivekitSIPDispatchRule2) error
FromLivekitSIPDispatchRule2 overwrites any union data inside the LivekitSIPDispatchRule as the provided LivekitSIPDispatchRule2
func (LivekitSIPDispatchRule) MarshalJSON ¶ added in v2.20.1
func (t LivekitSIPDispatchRule) MarshalJSON() ([]byte, error)
func (*LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule0 ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule0(v LivekitSIPDispatchRule0) error
MergeLivekitSIPDispatchRule0 performs a merge with any union data inside the LivekitSIPDispatchRule, using the provided LivekitSIPDispatchRule0
func (*LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule1 ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule1(v LivekitSIPDispatchRule1) error
MergeLivekitSIPDispatchRule1 performs a merge with any union data inside the LivekitSIPDispatchRule, using the provided LivekitSIPDispatchRule1
func (*LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule2 ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) MergeLivekitSIPDispatchRule2(v LivekitSIPDispatchRule2) error
MergeLivekitSIPDispatchRule2 performs a merge with any union data inside the LivekitSIPDispatchRule, using the provided LivekitSIPDispatchRule2
func (*LivekitSIPDispatchRule) UnmarshalJSON ¶ added in v2.20.1
func (t *LivekitSIPDispatchRule) UnmarshalJSON(b []byte) error
type LivekitSIPDispatchRule0 ¶ added in v2.20.1
type LivekitSIPDispatchRule0 struct {
// DispatchRuleCallee SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.
DispatchRuleCallee *LivekitSIPDispatchRuleCallee `json:"dispatchRuleCallee,omitempty"`
}
LivekitSIPDispatchRule0 defines model for LivekitSIPDispatchRule.0.
type LivekitSIPDispatchRule1 ¶ added in v2.20.1
type LivekitSIPDispatchRule1 struct {
// DispatchRuleDirect SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room
// This places users into an existing room. Optionally you can require a pin before a user can
// enter the room
DispatchRuleDirect *LivekitSIPDispatchRuleDirect `json:"dispatchRuleDirect,omitempty"`
}
LivekitSIPDispatchRule1 defines model for LivekitSIPDispatchRule.1.
type LivekitSIPDispatchRule2 ¶ added in v2.20.1
type LivekitSIPDispatchRule2 struct {
// DispatchRuleIndividual SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.
DispatchRuleIndividual *LivekitSIPDispatchRuleIndividual `json:"dispatchRuleIndividual,omitempty"`
}
LivekitSIPDispatchRule2 defines model for LivekitSIPDispatchRule.2.
type LivekitSIPDispatchRuleCallee ¶ added in v2.20.1
type LivekitSIPDispatchRuleCallee struct {
// Pin Optional pin required to enter room
Pin *string `json:"pin,omitempty"`
// Randomize Optionally append random suffix
Randomize *bool `json:"randomize,omitempty"`
// RoomPrefix Prefix used on new room name
RoomPrefix *string `json:"roomPrefix,omitempty"`
}
LivekitSIPDispatchRuleCallee defines model for livekit.SIPDispatchRuleCallee.
type LivekitSIPDispatchRuleDirect ¶ added in v2.20.1
type LivekitSIPDispatchRuleDirect struct {
// Pin Optional pin required to enter room
Pin *string `json:"pin,omitempty"`
// RoomName What room should call be directed into
RoomName *string `json:"roomName,omitempty"`
}
LivekitSIPDispatchRuleDirect defines model for livekit.SIPDispatchRuleDirect.
type LivekitSIPDispatchRuleIndividual ¶ added in v2.20.1
type LivekitSIPDispatchRuleIndividual struct {
// NoRandomness Optionally append random suffix
NoRandomness *bool `json:"noRandomness,omitempty"`
// Pin Optional pin required to enter room
Pin *string `json:"pin,omitempty"`
// RoomPrefix Prefix used on new room name
RoomPrefix *string `json:"roomPrefix,omitempty"`
}
LivekitSIPDispatchRuleIndividual defines model for livekit.SIPDispatchRuleIndividual.
type LivekitSIPDispatchRuleInfo ¶ added in v2.20.1
type LivekitSIPDispatchRuleInfo struct {
// Attributes User-defined attributes for the Dispatch Rule.
// Participants created by this rule will inherit these attributes.
Attributes *map[string]string `json:"attributes,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
HidePhoneNumber *bool `json:"hidePhoneNumber,omitempty"`
// InboundNumbers Dispatch Rule will only accept a call made from these numbers (if set).
InboundNumbers *[]string `json:"inboundNumbers,omitempty"`
KrispEnabled *bool `json:"krispEnabled,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
// Metadata User-defined metadata for the Dispatch Rule.
// Participants created by this rule will inherit this metadata.
Metadata *string `json:"metadata,omitempty"`
// Name Human-readable name for the Dispatch Rule.
Name *string `json:"name,omitempty"`
// Numbers Dispatch Rule will only accept a call made to these numbers (if set).
Numbers *[]string `json:"numbers,omitempty"`
// RoomConfig RoomConfiguration to use if the participant initiates the room
RoomConfig *LivekitRoomConfiguration `json:"roomConfig,omitempty"`
// RoomPreset Cloud-only, config preset to use
RoomPreset *string `json:"roomPreset,omitempty"`
Rule *LivekitSIPDispatchRule `json:"rule,omitempty"`
SipDispatchRuleId *string `json:"sipDispatchRuleId,omitempty"`
TrunkIds *[]string `json:"trunkIds,omitempty"`
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
}
LivekitSIPDispatchRuleInfo defines model for livekit.SIPDispatchRuleInfo.
type LivekitSIPDispatchRuleUpdate ¶ added in v2.20.1
type LivekitSIPDispatchRuleUpdate struct {
Attributes *map[string]string `json:"attributes,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
Metadata *string `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
Rule *LivekitSIPDispatchRule `json:"rule,omitempty"`
TrunkIds *LivekitListUpdate `json:"trunkIds,omitempty"`
}
LivekitSIPDispatchRuleUpdate defines model for livekit.SIPDispatchRuleUpdate.
type LivekitSIPHeaderOptions ¶ added in v2.20.1
type LivekitSIPHeaderOptions string
LivekitSIPHeaderOptions defines model for livekit.SIPHeaderOptions.
const ( SIPALLHEADERS LivekitSIPHeaderOptions = "SIP_ALL_HEADERS" SIPNOHEADERS LivekitSIPHeaderOptions = "SIP_NO_HEADERS" SIPXHEADERS LivekitSIPHeaderOptions = "SIP_X_HEADERS" )
Defines values for LivekitSIPHeaderOptions.
func (LivekitSIPHeaderOptions) Valid ¶ added in v2.20.1
func (e LivekitSIPHeaderOptions) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPHeaderOptions enum.
type LivekitSIPInboundTrunkInfo ¶ added in v2.20.1
type LivekitSIPInboundTrunkInfo struct {
// AllowedAddresses CIDR or IPs that traffic is accepted from.
// An empty list means all inbound traffic is accepted.
AllowedAddresses *[]string `json:"allowedAddresses,omitempty"`
// AllowedNumbers Numbers that are allowed to make calls to this Trunk.
// An empty list means calls from any phone number is accepted.
AllowedNumbers *[]string `json:"allowedNumbers,omitempty"`
// AttributesToHeaders Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
// Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
AttributesToHeaders *map[string]string `json:"attributesToHeaders,omitempty"`
AuthPassword *string `json:"authPassword,omitempty"`
AuthRealm *string `json:"authRealm,omitempty"`
// AuthUsername Username and password used to authenticate inbound SIP invites.
// May be empty to have no authentication.
AuthUsername *string `json:"authUsername,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// Headers Include these SIP X-* headers in 200 OK responses.
Headers *map[string]string `json:"headers,omitempty"`
// HeadersToAttributes Map SIP X-* headers from INVITE to SIP participant attributes.
HeadersToAttributes *map[string]string `json:"headersToAttributes,omitempty"`
// IncludeHeaders Map SIP headers from INVITE to sip.h.* participant attributes automatically.
//
// When the names of required headers is known, using headers_to_attributes is strongly recommended.
//
// When mapping INVITE headers to response headers with attributes_to_headers map,
// lowercase header names should be used, for example: sip.h.x-custom-header.
IncludeHeaders *LivekitSIPHeaderOptions `json:"includeHeaders,omitempty"`
KrispEnabled *bool `json:"krispEnabled,omitempty"`
// MaxCallDuration Max call duration.
MaxCallDuration *GoogleProtobufDuration `json:"maxCallDuration,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
// Metadata User-defined metadata for the Trunk.
Metadata *string `json:"metadata,omitempty"`
// Name Human-readable name for the Trunk.
Name *string `json:"name,omitempty"`
// Numbers Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.
// Creating multiple Trunks with different phone numbers allows having different rules for a single provider.
Numbers *[]string `json:"numbers,omitempty"`
// RingingTimeout Max time for the caller to wait for track subscription.
RingingTimeout *GoogleProtobufDuration `json:"ringingTimeout,omitempty"`
// RingingTimeoutStatus SIP status code if ringing_timeout elapses. Unset means using system default.
RingingTimeoutStatus *LivekitSIPStatusCode `json:"ringingTimeoutStatus,omitempty"`
SipTrunkId *string `json:"sipTrunkId,omitempty"`
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
}
LivekitSIPInboundTrunkInfo defines model for livekit.SIPInboundTrunkInfo.
type LivekitSIPInboundTrunkUpdate ¶ added in v2.20.1
type LivekitSIPInboundTrunkUpdate struct {
AllowedAddresses *LivekitListUpdate `json:"allowedAddresses,omitempty"`
AllowedNumbers *LivekitListUpdate `json:"allowedNumbers,omitempty"`
AuthPassword *string `json:"authPassword,omitempty"`
AuthRealm *string `json:"authRealm,omitempty"`
AuthUsername *string `json:"authUsername,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
Metadata *string `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
Numbers *LivekitListUpdate `json:"numbers,omitempty"`
}
LivekitSIPInboundTrunkUpdate defines model for livekit.SIPInboundTrunkUpdate.
type LivekitSIPMediaConfig ¶ added in v2.20.1
type LivekitSIPMediaConfig struct {
// Codecs List of allowed codecs. If only_listed_codecs is not set, this list is added to default codecs.
Codecs *[]LivekitSIPCodec `json:"codecs,omitempty"`
// DropAudioDuringDtmf Stop sending audio RTP while outbound DTMF digits are sent.
// Always on when the telephone-event clock rate differs from the audio codec's.
DropAudioDuringDtmf *bool `json:"dropAudioDuringDtmf,omitempty"`
Encryption *LivekitSIPMediaEncryption `json:"encryption,omitempty"`
// MediaTimeout Use specific media timeout. If zero or not specified, will use default timeout.
MediaTimeout *GoogleProtobufDuration `json:"mediaTimeout,omitempty"`
// OnlyListedCodecs if set, ignore the default codecs and use the list below.
OnlyListedCodecs *bool `json:"onlyListedCodecs,omitempty"`
}
LivekitSIPMediaConfig defines model for livekit.SIPMediaConfig.
type LivekitSIPMediaEncryption ¶ added in v2.20.1
type LivekitSIPMediaEncryption string
LivekitSIPMediaEncryption defines model for livekit.SIPMediaEncryption.
const ( SIPMEDIAENCRYPTALLOW LivekitSIPMediaEncryption = "SIP_MEDIA_ENCRYPT_ALLOW" SIPMEDIAENCRYPTDISABLE LivekitSIPMediaEncryption = "SIP_MEDIA_ENCRYPT_DISABLE" SIPMEDIAENCRYPTREQUIRE LivekitSIPMediaEncryption = "SIP_MEDIA_ENCRYPT_REQUIRE" )
Defines values for LivekitSIPMediaEncryption.
func (LivekitSIPMediaEncryption) Valid ¶ added in v2.20.1
func (e LivekitSIPMediaEncryption) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPMediaEncryption enum.
type LivekitSIPNamedDest ¶ added in v2.20.1
type LivekitSIPNamedDest struct {
DisplayName *string `json:"displayName,omitempty"`
// contains filtered or unexported fields
}
LivekitSIPNamedDest defines model for livekit.SIPNamedDest.
func (LivekitSIPNamedDest) AsLivekitSIPNamedDest0 ¶ added in v2.20.1
func (t LivekitSIPNamedDest) AsLivekitSIPNamedDest0() (LivekitSIPNamedDest0, error)
AsLivekitSIPNamedDest0 returns the union data inside the LivekitSIPNamedDest as a LivekitSIPNamedDest0
func (LivekitSIPNamedDest) AsLivekitSIPNamedDest1 ¶ added in v2.20.1
func (t LivekitSIPNamedDest) AsLivekitSIPNamedDest1() (LivekitSIPNamedDest1, error)
AsLivekitSIPNamedDest1 returns the union data inside the LivekitSIPNamedDest as a LivekitSIPNamedDest1
func (*LivekitSIPNamedDest) FromLivekitSIPNamedDest0 ¶ added in v2.20.1
func (t *LivekitSIPNamedDest) FromLivekitSIPNamedDest0(v LivekitSIPNamedDest0) error
FromLivekitSIPNamedDest0 overwrites any union data inside the LivekitSIPNamedDest as the provided LivekitSIPNamedDest0
func (*LivekitSIPNamedDest) FromLivekitSIPNamedDest1 ¶ added in v2.20.1
func (t *LivekitSIPNamedDest) FromLivekitSIPNamedDest1(v LivekitSIPNamedDest1) error
FromLivekitSIPNamedDest1 overwrites any union data inside the LivekitSIPNamedDest as the provided LivekitSIPNamedDest1
func (LivekitSIPNamedDest) MarshalJSON ¶ added in v2.20.1
func (t LivekitSIPNamedDest) MarshalJSON() ([]byte, error)
func (*LivekitSIPNamedDest) MergeLivekitSIPNamedDest0 ¶ added in v2.20.1
func (t *LivekitSIPNamedDest) MergeLivekitSIPNamedDest0(v LivekitSIPNamedDest0) error
MergeLivekitSIPNamedDest0 performs a merge with any union data inside the LivekitSIPNamedDest, using the provided LivekitSIPNamedDest0
func (*LivekitSIPNamedDest) MergeLivekitSIPNamedDest1 ¶ added in v2.20.1
func (t *LivekitSIPNamedDest) MergeLivekitSIPNamedDest1(v LivekitSIPNamedDest1) error
MergeLivekitSIPNamedDest1 performs a merge with any union data inside the LivekitSIPNamedDest, using the provided LivekitSIPNamedDest1
func (*LivekitSIPNamedDest) UnmarshalJSON ¶ added in v2.20.1
func (t *LivekitSIPNamedDest) UnmarshalJSON(b []byte) error
type LivekitSIPNamedDest0 ¶ added in v2.20.1
type LivekitSIPNamedDest0 struct {
// Raw <sip:user@sip.example.com:5060;transport=tcp>
Raw *string `json:"raw,omitempty"`
}
LivekitSIPNamedDest0 defines model for LivekitSIPNamedDest.0.
type LivekitSIPNamedDest1 ¶ added in v2.20.1
type LivekitSIPNamedDest1 struct {
Values *LivekitSIPUri `json:"values,omitempty"`
}
LivekitSIPNamedDest1 defines model for LivekitSIPNamedDest.1.
type LivekitSIPOutboundConfig ¶ added in v2.20.1
type LivekitSIPOutboundConfig struct {
// AttributesToHeaders Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
// Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
AttributesToHeaders *map[string]string `json:"attributesToHeaders,omitempty"`
AuthPassword *string `json:"authPassword,omitempty"`
// AuthUsername Username and password used to authenticate with SIP server.
// May be empty to have no authentication.
AuthUsername *string `json:"authUsername,omitempty"`
// DestinationCountry country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
DestinationCountry *string `json:"destinationCountry,omitempty"`
// FromHost Optional custom hostname for the 'From' SIP header. When set, outbound calls use this host instead of the default project SIP domain.
FromHost *string `json:"fromHost,omitempty"`
// HeadersToAttributes Map SIP X-* headers from 200 OK to SIP participant attributes.
// Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
HeadersToAttributes *map[string]string `json:"headersToAttributes,omitempty"`
// Hostname SIP server address
Hostname *string `json:"hostname,omitempty"`
// Transport SIP Transport used for outbound call.
Transport *LivekitSIPTransport `json:"transport,omitempty"`
}
LivekitSIPOutboundConfig defines model for livekit.SIPOutboundConfig.
type LivekitSIPOutboundTrunkInfo ¶ added in v2.20.1
type LivekitSIPOutboundTrunkInfo struct {
// Address Hostname or IP that SIP INVITE is sent too.
// Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.
Address *string `json:"address,omitempty"`
// AttributesToHeaders Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
// Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
AttributesToHeaders *map[string]string `json:"attributesToHeaders,omitempty"`
AuthPassword *string `json:"authPassword,omitempty"`
// AuthUsername Username and password used to authenticate with SIP server.
// May be empty to have no authentication.
AuthUsername *string `json:"authUsername,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
// DestinationCountry country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
DestinationCountry *string `json:"destinationCountry,omitempty"`
// FromHost Optional custom hostname for the 'From' SIP header in outbound INVITEs.
// When set, outbound calls from this trunk will use this host instead of the default project SIP domain.
// Enables originating calls from custom domains.
FromHost *string `json:"fromHost,omitempty"`
// Headers Include these SIP X-* headers in INVITE request.
// These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
Headers *map[string]string `json:"headers,omitempty"`
// HeadersToAttributes Map SIP X-* headers from 200 OK to SIP participant attributes.
// Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
HeadersToAttributes *map[string]string `json:"headersToAttributes,omitempty"`
// IncludeHeaders Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
//
// When the names of required headers is known, using headers_to_attributes is strongly recommended.
//
// When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
// lowercase header names should be used, for example: sip.h.x-custom-header.
IncludeHeaders *LivekitSIPHeaderOptions `json:"includeHeaders,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
// Metadata User-defined metadata for the Trunk.
Metadata *string `json:"metadata,omitempty"`
// Name Human-readable name for the Trunk.
Name *string `json:"name,omitempty"`
// Numbers Numbers used to make the calls. Random one from this list will be selected.
Numbers *[]string `json:"numbers,omitempty"`
SipTrunkId *string `json:"sipTrunkId,omitempty"`
// Transport SIP Transport used for outbound call.
Transport *LivekitSIPTransport `json:"transport,omitempty"`
UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
}
LivekitSIPOutboundTrunkInfo defines model for livekit.SIPOutboundTrunkInfo.
type LivekitSIPOutboundTrunkUpdate ¶ added in v2.20.1
type LivekitSIPOutboundTrunkUpdate struct {
Address *string `json:"address,omitempty"`
AuthPassword *string `json:"authPassword,omitempty"`
AuthUsername *string `json:"authUsername,omitempty"`
DestinationCountry *string `json:"destinationCountry,omitempty"`
FromHost *string `json:"fromHost,omitempty"`
Media *LivekitSIPMediaConfig `json:"media,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
MediaEncryption *LivekitSIPMediaEncryption `json:"mediaEncryption,omitempty"`
Metadata *string `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
Numbers *LivekitListUpdate `json:"numbers,omitempty"`
Transport *LivekitSIPTransport `json:"transport,omitempty"`
}
LivekitSIPOutboundTrunkUpdate defines model for livekit.SIPOutboundTrunkUpdate.
type LivekitSIPParticipantInfo ¶ added in v2.20.1
type LivekitSIPParticipantInfo struct {
ParticipantId *string `json:"participantId,omitempty"`
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
RoomName *string `json:"roomName,omitempty"`
SipCallId *string `json:"sipCallId,omitempty"`
}
LivekitSIPParticipantInfo defines model for livekit.SIPParticipantInfo.
type LivekitSIPRequestDest ¶ added in v2.20.1
type LivekitSIPRequestDest struct {
// contains filtered or unexported fields
}
LivekitSIPRequestDest defines model for livekit.SIPRequestDest.
func (LivekitSIPRequestDest) AsLivekitSIPRequestDest0 ¶ added in v2.20.1
func (t LivekitSIPRequestDest) AsLivekitSIPRequestDest0() (LivekitSIPRequestDest0, error)
AsLivekitSIPRequestDest0 returns the union data inside the LivekitSIPRequestDest as a LivekitSIPRequestDest0
func (LivekitSIPRequestDest) AsLivekitSIPRequestDest1 ¶ added in v2.20.1
func (t LivekitSIPRequestDest) AsLivekitSIPRequestDest1() (LivekitSIPRequestDest1, error)
AsLivekitSIPRequestDest1 returns the union data inside the LivekitSIPRequestDest as a LivekitSIPRequestDest1
func (*LivekitSIPRequestDest) FromLivekitSIPRequestDest0 ¶ added in v2.20.1
func (t *LivekitSIPRequestDest) FromLivekitSIPRequestDest0(v LivekitSIPRequestDest0) error
FromLivekitSIPRequestDest0 overwrites any union data inside the LivekitSIPRequestDest as the provided LivekitSIPRequestDest0
func (*LivekitSIPRequestDest) FromLivekitSIPRequestDest1 ¶ added in v2.20.1
func (t *LivekitSIPRequestDest) FromLivekitSIPRequestDest1(v LivekitSIPRequestDest1) error
FromLivekitSIPRequestDest1 overwrites any union data inside the LivekitSIPRequestDest as the provided LivekitSIPRequestDest1
func (LivekitSIPRequestDest) MarshalJSON ¶ added in v2.20.1
func (t LivekitSIPRequestDest) MarshalJSON() ([]byte, error)
func (*LivekitSIPRequestDest) MergeLivekitSIPRequestDest0 ¶ added in v2.20.1
func (t *LivekitSIPRequestDest) MergeLivekitSIPRequestDest0(v LivekitSIPRequestDest0) error
MergeLivekitSIPRequestDest0 performs a merge with any union data inside the LivekitSIPRequestDest, using the provided LivekitSIPRequestDest0
func (*LivekitSIPRequestDest) MergeLivekitSIPRequestDest1 ¶ added in v2.20.1
func (t *LivekitSIPRequestDest) MergeLivekitSIPRequestDest1(v LivekitSIPRequestDest1) error
MergeLivekitSIPRequestDest1 performs a merge with any union data inside the LivekitSIPRequestDest, using the provided LivekitSIPRequestDest1
func (*LivekitSIPRequestDest) UnmarshalJSON ¶ added in v2.20.1
func (t *LivekitSIPRequestDest) UnmarshalJSON(b []byte) error
type LivekitSIPRequestDest0 ¶ added in v2.20.1
type LivekitSIPRequestDest0 struct {
// Raw <sip:user@sip.example.com:5060;transport=tcp>
Raw *string `json:"raw,omitempty"`
}
LivekitSIPRequestDest0 defines model for LivekitSIPRequestDest.0.
type LivekitSIPRequestDest1 ¶ added in v2.20.1
type LivekitSIPRequestDest1 struct {
Values *LivekitSIPUri `json:"values,omitempty"`
}
LivekitSIPRequestDest1 defines model for LivekitSIPRequestDest.1.
type LivekitSIPStatus ¶ added in v2.20.1
type LivekitSIPStatus struct {
Code *LivekitSIPStatusCode `json:"code,omitempty"`
Status *string `json:"status,omitempty"`
}
LivekitSIPStatus SIPStatus is returned as an error detail in CreateSIPParticipant.
type LivekitSIPStatusCode ¶ added in v2.20.1
type LivekitSIPStatusCode string
LivekitSIPStatusCode defines model for livekit.SIPStatusCode.
const ( SIPSTATUSACCEPTED LivekitSIPStatusCode = "SIP_STATUS_ACCEPTED" SIPSTATUSADDRESSINCOMPLETE LivekitSIPStatusCode = "SIP_STATUS_ADDRESS_INCOMPLETE" SIPSTATUSALTERNATIVESERVICE LivekitSIPStatusCode = "SIP_STATUS_ALTERNATIVE_SERVICE" SIPSTATUSAMBIGUOUS LivekitSIPStatusCode = "SIP_STATUS_AMBIGUOUS" SIPSTATUSANONYMITYDISALLOWED LivekitSIPStatusCode = "SIP_STATUS_ANONYMITY_DISALLOWED" SIPSTATUSBADALERTMESSAGE LivekitSIPStatusCode = "SIP_STATUS_BAD_ALERT_MESSAGE" SIPSTATUSBADEVENT LivekitSIPStatusCode = "SIP_STATUS_BAD_EVENT" SIPSTATUSBADEXTENSION LivekitSIPStatusCode = "SIP_STATUS_BAD_EXTENSION" SIPSTATUSBADGATEWAY LivekitSIPStatusCode = "SIP_STATUS_BAD_GATEWAY" SIPSTATUSBADIDENTITYINFO LivekitSIPStatusCode = "SIP_STATUS_BAD_IDENTITY_INFO" SIPSTATUSBADINFOPACKAGE LivekitSIPStatusCode = "SIP_STATUS_BAD_INFO_PACKAGE" SIPSTATUSBADLOCATIONINFORMATION LivekitSIPStatusCode = "SIP_STATUS_BAD_LOCATION_INFORMATION" SIPSTATUSBADREQUEST LivekitSIPStatusCode = "SIP_STATUS_BAD_REQUEST" SIPSTATUSBUSYHERE LivekitSIPStatusCode = "SIP_STATUS_BUSY_HERE" SIPSTATUSCALLISFORWARDED LivekitSIPStatusCode = "SIP_STATUS_CALL_IS_FORWARDED" SIPSTATUSCALLTRANSACTIONDOESNOTEXISTS LivekitSIPStatusCode = "SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS" SIPSTATUSCONDITIONALREQUESTFAILED LivekitSIPStatusCode = "SIP_STATUS_CONDITIONAL_REQUEST_FAILED" SIPSTATUSCONFLICT LivekitSIPStatusCode = "SIP_STATUS_CONFLICT" SIPSTATUSCONSENTNEEDED LivekitSIPStatusCode = "SIP_STATUS_CONSENT_NEEDED" SIPSTATUSEARLYDIALOGTERMINATED LivekitSIPStatusCode = "SIP_STATUS_EARLY_DIALOG_TERMINATED" SIPSTATUSEXTENSIONREQUIRED LivekitSIPStatusCode = "SIP_STATUS_EXTENSION_REQUIRED" SIPSTATUSFIRSTHOPLACKSOUTBOUNDSUPPORT LivekitSIPStatusCode = "SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT" SIPSTATUSFLOWFAILED LivekitSIPStatusCode = "SIP_STATUS_FLOW_FAILED" SIPSTATUSFORBIDDEN LivekitSIPStatusCode = "SIP_STATUS_FORBIDDEN" SIPSTATUSGATEWAYTIMEOUT LivekitSIPStatusCode = "SIP_STATUS_GATEWAY_TIMEOUT" SIPSTATUSGLOBALBUSYEVERYWHERE LivekitSIPStatusCode = "SIP_STATUS_GLOBAL_BUSY_EVERYWHERE" SIPSTATUSGLOBALDECLINE LivekitSIPStatusCode = "SIP_STATUS_GLOBAL_DECLINE" SIPSTATUSGLOBALDOESNOTEXISTANYWHERE LivekitSIPStatusCode = "SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE" SIPSTATUSGLOBALNOTACCEPTABLE LivekitSIPStatusCode = "SIP_STATUS_GLOBAL_NOT_ACCEPTABLE" SIPSTATUSGLOBALREJECTED LivekitSIPStatusCode = "SIP_STATUS_GLOBAL_REJECTED" SIPSTATUSGLOBALUNWANTED LivekitSIPStatusCode = "SIP_STATUS_GLOBAL_UNWANTED" SIPSTATUSGONE LivekitSIPStatusCode = "SIP_STATUS_GONE" SIPSTATUSINTERNALSERVERERROR LivekitSIPStatusCode = "SIP_STATUS_INTERNAL_SERVER_ERROR" SIPSTATUSINTERVALTOOBRIEF LivekitSIPStatusCode = "SIP_STATUS_INTERVAL_TOO_BRIEF" SIPSTATUSINVALIDIDENTITYHEADER LivekitSIPStatusCode = "SIP_STATUS_INVALID_IDENTITY_HEADER" SIPSTATUSLENGTHREQUIRED LivekitSIPStatusCode = "SIP_STATUS_LENGTH_REQUIRED" SIPSTATUSLOOPDETECTED LivekitSIPStatusCode = "SIP_STATUS_LOOP_DETECTED" SIPSTATUSMAXBREADTHEXCEEDED LivekitSIPStatusCode = "SIP_STATUS_MAX_BREADTH_EXCEEDED" SIPSTATUSMESSAGETOOLARGE LivekitSIPStatusCode = "SIP_STATUS_MESSAGE_TOO_LARGE" SIPSTATUSMETHODNOTALLOWED LivekitSIPStatusCode = "SIP_STATUS_METHOD_NOT_ALLOWED" SIPSTATUSMOVEDPERMANENTLY LivekitSIPStatusCode = "SIP_STATUS_MOVED_PERMANENTLY" SIPSTATUSMOVEDTEMPORARILY LivekitSIPStatusCode = "SIP_STATUS_MOVED_TEMPORARILY" SIPSTATUSMULTIPLECHOICES LivekitSIPStatusCode = "SIP_STATUS_MULTIPLE_CHOICES" SIPSTATUSNONOTIFICATION LivekitSIPStatusCode = "SIP_STATUS_NO_NOTIFICATION" SIPSTATUSNOTACCEPTABLE LivekitSIPStatusCode = "SIP_STATUS_NOT_ACCEPTABLE" SIPSTATUSNOTACCEPTABLEHERE LivekitSIPStatusCode = "SIP_STATUS_NOT_ACCEPTABLE_HERE" SIPSTATUSNOTFOUND LivekitSIPStatusCode = "SIP_STATUS_NOTFOUND" SIPSTATUSNOTIMPLEMENTED LivekitSIPStatusCode = "SIP_STATUS_NOT_IMPLEMENTED" SIPSTATUSOK LivekitSIPStatusCode = "SIP_STATUS_OK" SIPSTATUSPAYMENTREQUIRED LivekitSIPStatusCode = "SIP_STATUS_PAYMENT_REQUIRED" SIPSTATUSPROVIDEREFERRERIDENTITY LivekitSIPStatusCode = "SIP_STATUS_PROVIDE_REFERRER_IDENTITY" SIPSTATUSPROXYAUTHREQUIRED LivekitSIPStatusCode = "SIP_STATUS_PROXY_AUTH_REQUIRED" SIPSTATUSQUEUED LivekitSIPStatusCode = "SIP_STATUS_QUEUED" SIPSTATUSREQUESTEDRANGENOTSATISFIABLE LivekitSIPStatusCode = "SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE" SIPSTATUSREQUESTENTITYTOOLARGE LivekitSIPStatusCode = "SIP_STATUS_REQUEST_ENTITY_TOO_LARGE" SIPSTATUSREQUESTPENDING LivekitSIPStatusCode = "SIP_STATUS_REQUEST_PENDING" SIPSTATUSREQUESTTERMINATED LivekitSIPStatusCode = "SIP_STATUS_REQUEST_TERMINATED" SIPSTATUSREQUESTTIMEOUT LivekitSIPStatusCode = "SIP_STATUS_REQUEST_TIMEOUT" SIPSTATUSREQUESTURITOOLONG LivekitSIPStatusCode = "SIP_STATUS_REQUEST_URI_TOO_LONG" SIPSTATUSRINGING LivekitSIPStatusCode = "SIP_STATUS_RINGING" SIPSTATUSSECURITYAGREEMENTREQUIRED LivekitSIPStatusCode = "SIP_STATUS_SECURITY_AGREEMENT_REQUIRED" SIPSTATUSSERVICEUNAVAILABLE LivekitSIPStatusCode = "SIP_STATUS_SERVICE_UNAVAILABLE" SIPSTATUSSESSIONINTERVALTOOSMALL LivekitSIPStatusCode = "SIP_STATUS_SESSION_INTERVAL_TOO_SMALL" SIPSTATUSSESSIONPROGRESS LivekitSIPStatusCode = "SIP_STATUS_SESSION_PROGRESS" SIPSTATUSTEMPORARILYUNAVAILABLE LivekitSIPStatusCode = "SIP_STATUS_TEMPORARILY_UNAVAILABLE" SIPSTATUSTOOMANYHOPS LivekitSIPStatusCode = "SIP_STATUS_TOO_MANY_HOPS" SIPSTATUSTRYING LivekitSIPStatusCode = "SIP_STATUS_TRYING" SIPSTATUSUNAUTHORIZED LivekitSIPStatusCode = "SIP_STATUS_UNAUTHORIZED" SIPSTATUSUNDECIPHERABLE LivekitSIPStatusCode = "SIP_STATUS_UNDECIPHERABLE" SIPSTATUSUNKNOWN LivekitSIPStatusCode = "SIP_STATUS_UNKNOWN" SIPSTATUSUNKNOWNRESOURCEPRIORITY LivekitSIPStatusCode = "SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY" SIPSTATUSUNSUPPORTEDCERTIFICATE LivekitSIPStatusCode = "SIP_STATUS_UNSUPPORTED_CERTIFICATE" SIPSTATUSUNSUPPORTEDMEDIATYPE LivekitSIPStatusCode = "SIP_STATUS_UNSUPPORTED_MEDIA_TYPE" SIPSTATUSUSEIDENTITYHEADER LivekitSIPStatusCode = "SIP_STATUS_USE_IDENTITY_HEADER" SIPSTATUSUSEPROXY LivekitSIPStatusCode = "SIP_STATUS_USE_PROXY" SIPSTATUSVERSIONNOTSUPPORTED LivekitSIPStatusCode = "SIP_STATUS_VERSION_NOT_SUPPORTED" )
Defines values for LivekitSIPStatusCode.
func (LivekitSIPStatusCode) Valid ¶ added in v2.20.1
func (e LivekitSIPStatusCode) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPStatusCode enum.
type LivekitSIPTransferReason ¶ added in v2.20.1
type LivekitSIPTransferReason string
LivekitSIPTransferReason defines model for livekit.SIPTransferReason.
const ( STRCALLENDED LivekitSIPTransferReason = "STR_CALL_ENDED" STRCANCELED LivekitSIPTransferReason = "STR_CANCELED" STRCOMPLETED LivekitSIPTransferReason = "STR_COMPLETED" STRREJECTED LivekitSIPTransferReason = "STR_REJECTED" STRRINGINGTIMEOUT LivekitSIPTransferReason = "STR_RINGING_TIMEOUT" STRSUBSCRIPTIONTERMINATED LivekitSIPTransferReason = "STR_SUBSCRIPTION_TERMINATED" STRUNSPECIFIED LivekitSIPTransferReason = "STR_UNSPECIFIED" )
Defines values for LivekitSIPTransferReason.
func (LivekitSIPTransferReason) Valid ¶ added in v2.20.1
func (e LivekitSIPTransferReason) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPTransferReason enum.
type LivekitSIPTransferStatus ¶ added in v2.20.1
type LivekitSIPTransferStatus string
LivekitSIPTransferStatus defines model for livekit.SIPTransferStatus.
const ( STSTRANSFERFAILED LivekitSIPTransferStatus = "STS_TRANSFER_FAILED" STSTRANSFERONGOING LivekitSIPTransferStatus = "STS_TRANSFER_ONGOING" STSTRANSFERSUCCESSFUL LivekitSIPTransferStatus = "STS_TRANSFER_SUCCESSFUL" )
Defines values for LivekitSIPTransferStatus.
func (LivekitSIPTransferStatus) Valid ¶ added in v2.20.1
func (e LivekitSIPTransferStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPTransferStatus enum.
type LivekitSIPTransport ¶ added in v2.20.1
type LivekitSIPTransport string
LivekitSIPTransport defines model for livekit.SIPTransport.
const ( SIPTRANSPORTAUTO LivekitSIPTransport = "SIP_TRANSPORT_AUTO" SIPTRANSPORTTCP LivekitSIPTransport = "SIP_TRANSPORT_TCP" SIPTRANSPORTTLS LivekitSIPTransport = "SIP_TRANSPORT_TLS" SIPTRANSPORTUDP LivekitSIPTransport = "SIP_TRANSPORT_UDP" )
Defines values for LivekitSIPTransport.
func (LivekitSIPTransport) Valid ¶ added in v2.20.1
func (e LivekitSIPTransport) Valid() bool
Valid indicates whether the value is a known member of the LivekitSIPTransport enum.
type LivekitSIPUri ¶ added in v2.20.1
type LivekitSIPUri struct {
Host *string `json:"host,omitempty"`
Ip *string `json:"ip,omitempty"`
Port *int `json:"port,omitempty"`
Transport *LivekitSIPTransport `json:"transport,omitempty"`
User *string `json:"user,omitempty"`
}
LivekitSIPUri defines model for livekit.SIPUri.
type LivekitScenario ¶
type LivekitScenario struct {
AgentExpectations *string `json:"agentExpectations,omitempty"`
// Id SCN_-prefixed guid. Stable across edits to label, instructions, or
// expectations, so runs of the same scenario can be correlated over time.
Id *string `json:"id,omitempty"`
Instructions *string `json:"instructions,omitempty"`
Label *string `json:"label,omitempty"`
// Tags Surfaced to the agent under test as SimulationContext scenario tags.
Tags *map[string]string `json:"tags,omitempty"`
// Userdata Arbitrary JSON-encoded object, surfaced to the agent under test as
// SimulationContext userdata (e.g. inputs and benchmark target state).
Userdata *string `json:"userdata,omitempty"`
}
LivekitScenario A single scenario, mirroring one entry in a scenarios.yaml file. Scenarios
are no longer stored server-side; the yaml file is the source of truth.
type LivekitScenarioGroup ¶
type LivekitScenarioGroup struct {
// Id SCNG_-prefixed guid. Stable identity of the scenarios file, independent
// of its name.
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Scenarios *[]LivekitScenario `json:"scenarios,omitempty"`
}
LivekitScenarioGroup A named group of scenarios, mirroring a whole scenarios.yaml file.
type LivekitSegmentedFileOutput ¶
type LivekitSegmentedFileOutput struct {
// DisableManifest disable upload of manifest file (default false)
DisableManifest *bool `json:"disableManifest,omitempty"`
// FilenamePrefix (optional)
FilenamePrefix *string `json:"filenamePrefix,omitempty"`
// FilenameSuffix (optional, default INDEX)
FilenameSuffix *LivekitSegmentedFileSuffix `json:"filenameSuffix,omitempty"`
// LivePlaylistName (optional, disabled if not provided). Path of a live playlist
LivePlaylistName *string `json:"livePlaylistName,omitempty"`
// PlaylistName (optional)
PlaylistName *string `json:"playlistName,omitempty"`
// Protocol (optional)
Protocol *LivekitSegmentedFileProtocol `json:"protocol,omitempty"`
// SegmentDuration in seconds (optional)
SegmentDuration *int `json:"segmentDuration,omitempty"`
// contains filtered or unexported fields
}
LivekitSegmentedFileOutput Used to generate HLS segments or other kind of segmented output
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0() (LivekitSegmentedFileOutput0, error)
AsLivekitSegmentedFileOutput0 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput0
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1() (LivekitSegmentedFileOutput1, error)
AsLivekitSegmentedFileOutput1 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput1
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2() (LivekitSegmentedFileOutput2, error)
AsLivekitSegmentedFileOutput2 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput2
func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3 ¶
func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3() (LivekitSegmentedFileOutput3, error)
AsLivekitSegmentedFileOutput3 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput3
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
FromLivekitSegmentedFileOutput0 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput0
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
FromLivekitSegmentedFileOutput1 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput1
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
FromLivekitSegmentedFileOutput2 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput2
func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3 ¶
func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
FromLivekitSegmentedFileOutput3 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput3
func (LivekitSegmentedFileOutput) MarshalJSON ¶
func (t LivekitSegmentedFileOutput) MarshalJSON() ([]byte, error)
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error
MergeLivekitSegmentedFileOutput0 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput0
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error
MergeLivekitSegmentedFileOutput1 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput1
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error
MergeLivekitSegmentedFileOutput2 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput2
func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3 ¶
func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error
MergeLivekitSegmentedFileOutput3 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput3
func (*LivekitSegmentedFileOutput) UnmarshalJSON ¶
func (t *LivekitSegmentedFileOutput) UnmarshalJSON(b []byte) error
type LivekitSegmentedFileOutput0 ¶
type LivekitSegmentedFileOutput0 struct {
AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}
LivekitSegmentedFileOutput0 defines model for LivekitSegmentedFileOutput.0.
type LivekitSegmentedFileOutput1 ¶
type LivekitSegmentedFileOutput1 struct {
Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}
LivekitSegmentedFileOutput1 defines model for LivekitSegmentedFileOutput.1.
type LivekitSegmentedFileOutput2 ¶
type LivekitSegmentedFileOutput2 struct {
Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}
LivekitSegmentedFileOutput2 defines model for LivekitSegmentedFileOutput.2.
type LivekitSegmentedFileOutput3 ¶
type LivekitSegmentedFileOutput3 struct {
S3 *LivekitS3Upload `json:"s3,omitempty"`
}
LivekitSegmentedFileOutput3 defines model for LivekitSegmentedFileOutput.3.
type LivekitSegmentedFileProtocol ¶
type LivekitSegmentedFileProtocol string
LivekitSegmentedFileProtocol defines model for livekit.SegmentedFileProtocol.
const ( DEFAULTSEGMENTEDFILEPROTOCOL LivekitSegmentedFileProtocol = "DEFAULT_SEGMENTED_FILE_PROTOCOL" HLSFMP4PROTOCOL LivekitSegmentedFileProtocol = "HLS_FMP4_PROTOCOL" HLSPROTOCOL LivekitSegmentedFileProtocol = "HLS_PROTOCOL" )
Defines values for LivekitSegmentedFileProtocol.
func (LivekitSegmentedFileProtocol) Valid ¶
func (e LivekitSegmentedFileProtocol) Valid() bool
Valid indicates whether the value is a known member of the LivekitSegmentedFileProtocol enum.
type LivekitSegmentedFileSuffix ¶
type LivekitSegmentedFileSuffix string
LivekitSegmentedFileSuffix defines model for livekit.SegmentedFileSuffix.
const ( INDEX LivekitSegmentedFileSuffix = "INDEX" TIMESTAMP LivekitSegmentedFileSuffix = "TIMESTAMP" )
Defines values for LivekitSegmentedFileSuffix.
func (LivekitSegmentedFileSuffix) Valid ¶
func (e LivekitSegmentedFileSuffix) Valid() bool
Valid indicates whether the value is a known member of the LivekitSegmentedFileSuffix enum.
type LivekitSimulationImpairments ¶ added in v2.20.1
type LivekitSimulationImpairments struct {
BackgroundNoise *bool `json:"backgroundNoise,omitempty"`
LowQualityMicrophone *bool `json:"lowQualityMicrophone,omitempty"`
PacketLoss *bool `json:"packetLoss,omitempty"`
}
LivekitSimulationImpairments What the simulated caller's audio went through before the agent heard it.
type LivekitSimulationMode ¶
type LivekitSimulationMode string
LivekitSimulationMode How the simulated user interacts with the agent under test.
const ( SIMULATIONMODEAUDIO LivekitSimulationMode = "SIMULATION_MODE_AUDIO" SIMULATIONMODETEXT LivekitSimulationMode = "SIMULATION_MODE_TEXT" SIMULATIONMODEUNSPECIFIED LivekitSimulationMode = "SIMULATION_MODE_UNSPECIFIED" )
Defines values for LivekitSimulationMode.
func (LivekitSimulationMode) Valid ¶
func (e LivekitSimulationMode) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationMode enum.
type LivekitSimulationRun ¶
type LivekitSimulationRun struct {
AgentDescription *string `json:"agentDescription,omitempty"`
AgentName *string `json:"agentName,omitempty"`
// Ci The pipeline this run came from; unset when it did not come from one.
Ci *LivekitSimulationRunCI `json:"ci,omitempty"`
// Concurrency Maximum simulate jobs running in parallel for this run (0 = server default).
Concurrency *int32 `json:"concurrency,omitempty"`
CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
Error *string `json:"error,omitempty"`
FailedCount *int32 `json:"failedCount,omitempty"`
Id *string `json:"id,omitempty"`
// IssueCount How many issues the stored summary flagged. Present only once a summary
// landed — absent and 0 differ ("never summarized" vs "no issues") — and
// List responses carry it without the summary blob itself.
IssueCount *int32 `json:"issueCount,omitempty"`
JobCount *int32 `json:"jobCount,omitempty"`
Jobs *[]LivekitSimulationRunJob `json:"jobs,omitempty"`
// Metrics Run-level aggregates over this run's jobs.
Metrics *LivekitSimulationRunRunMetrics `json:"metrics,omitempty"`
// Mode Conversation mode for every job in this run; unspecified = TEXT.
Mode *LivekitSimulationMode `json:"mode,omitempty"`
NumSimulations *int32 `json:"numSimulations,omitempty"`
PassedCount *int32 `json:"passedCount,omitempty"`
PersonaModel *string `json:"personaModel,omitempty"`
ProjectId *string `json:"projectId,omitempty"`
// Sampling Absent when the run ran each scenario once and required it to pass.
Sampling *LivekitSimulationRunSamplingOptions `json:"sampling,omitempty"`
ScenarioGroup *LivekitScenarioGroup `json:"scenarioGroup,omitempty"`
Status *LivekitSimulationRunStatus `json:"status,omitempty"`
// SummaryZstd zstd-compressed SimulationRunSummary: decompress, then proto.Unmarshal.
// Compressed by default so the blob ships as-is on every hop.
SummaryZstd *[]byte `json:"summaryZstd,omitempty"`
// Usage Aggregate usage across all jobs in this run (sum of Job.usage).
Usage *LivekitSimulationRunUsage `json:"usage,omitempty"`
}
LivekitSimulationRun defines model for livekit.SimulationRun.
type LivekitSimulationRunCI ¶ added in v2.19.0
type LivekitSimulationRunCI struct {
Actor *string `json:"actor,omitempty"`
CommitSha *string `json:"commitSha,omitempty"`
// Provider e.g. "github_actions"
Provider *string `json:"provider,omitempty"`
PullRequest *string `json:"pullRequest,omitempty"`
// Ref branch or tag
Ref *string `json:"ref,omitempty"`
// RunUrl link back to the CI job
RunUrl *string `json:"runUrl,omitempty"`
}
LivekitSimulationRunCI The pipeline this run came from. Set by the client from its CI
environment; absent for runs not started by a pipeline.
type LivekitSimulationRunCountsBucket ¶ added in v2.19.0
type LivekitSimulationRunCountsBucket struct {
BucketStart *GoogleProtobufTimestamp `json:"bucketStart,omitempty"`
Count *string `json:"count,omitempty"`
}
LivekitSimulationRunCountsBucket defines model for livekit.SimulationRun.Counts.Bucket.
type LivekitSimulationRunJob ¶
type LivekitSimulationRunJob struct {
AgentExpectations *string `json:"agentExpectations,omitempty"`
EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
Error *string `json:"error,omitempty"`
// FailureReason Set on a failed job whose cause is known; error stays the detail.
FailureReason *LivekitSimulationRunJobFailureReason `json:"failureReason,omitempty"`
Id *string `json:"id,omitempty"`
Instructions *string `json:"instructions,omitempty"`
Label *string `json:"label,omitempty"`
// Metrics Quality metrics for this job's call. Unset when the job produced none.
Metrics *LivekitSimulationRunJobMetrics `json:"metrics,omitempty"`
RoomId *string `json:"roomId,omitempty"`
RoomName *string `json:"roomName,omitempty"`
// Sample 1-based sample of that scenario within the run; always 1 when the run's
// samples is 1.
Sample *int32 `json:"sample,omitempty"`
// ScenarioId The Scenario.id this job ran; empty for generated runs. Every sample
// of one scenario shares it, so a run's jobs group back into scenarios.
ScenarioId *string `json:"scenarioId,omitempty"`
StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`
Status *LivekitSimulationRunJobStatus `json:"status,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Usage *LivekitSimulationRunJobUsage `json:"usage,omitempty"`
}
LivekitSimulationRunJob defines model for livekit.SimulationRun.Job.
type LivekitSimulationRunJobFailureReason ¶ added in v2.20.1
type LivekitSimulationRunJobFailureReason string
LivekitSimulationRunJobFailureReason defines model for livekit.SimulationRun.Job.FailureReason.
const ( FAILUREREASONAGENTJOINTIMEOUT LivekitSimulationRunJobFailureReason = "FAILURE_REASON_AGENT_JOIN_TIMEOUT" FAILUREREASONUNSPECIFIED LivekitSimulationRunJobFailureReason = "FAILURE_REASON_UNSPECIFIED" )
Defines values for LivekitSimulationRunJobFailureReason.
func (LivekitSimulationRunJobFailureReason) Valid ¶ added in v2.20.1
func (e LivekitSimulationRunJobFailureReason) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationRunJobFailureReason enum.
type LivekitSimulationRunJobMetrics ¶
type LivekitSimulationRunJobMetrics struct {
// CallerLanguage The simulated caller's language, as a language tag: what it spoke or wrote.
CallerLanguage *string `json:"callerLanguage,omitempty"`
// CallerListenLanguage Audio only: the language the caller transcribed the agent in; "" means
// caller_language.
CallerListenLanguage *string `json:"callerListenLanguage,omitempty"`
// Conciseness Judged over the authored dialog (text and audio); needs the text judge. judged {0, 0.5, 1} per agent turn; job = mean
Conciseness *float32 `json:"conciseness,omitempty"`
Conversation *LivekitSimulationRunJobMetricsConversation `json:"conversation,omitempty"`
// ConversationProgression 0-1, derived from the flags above
ConversationProgression *float32 `json:"conversationProgression,omitempty"`
// EndReason How the call ended. A failing end also sets the job's error.
EndReason *LivekitSimulationRunJobMetricsEndReason `json:"endReason,omitempty"`
// HasRemoteSession false = waveform-only capture (e.g. SIP)
HasRemoteSession *bool `json:"hasRemoteSession,omitempty"`
// Impairments Audio only: what the caller's audio went through before the agent heard
// it. Absent for a clean call.
Impairments *LivekitSimulationImpairments `json:"impairments,omitempty"`
InformationLoss *bool `json:"informationLoss,omitempty"`
// JudgeModel text judge for judged scores; "" if none ran
JudgeModel *string `json:"judgeModel,omitempty"`
Llm *LivekitSimulationRunJobMetricsLLM `json:"llm,omitempty"`
// OverallScore weighted mean of the judged and heard scores
OverallScore *float32 `json:"overallScore,omitempty"`
PoorQuestionQuality *bool `json:"poorQuestionQuality,omitempty"`
RedundantStatements *bool `json:"redundantStatements,omitempty"`
Stt *LivekitSimulationRunJobMetricsSTT `json:"stt,omitempty"`
// T0 audio only; call start (first speech edge); turn times relative to it
T0 *GoogleProtobufTimestamp `json:"t0,omitempty"`
// TaskCompletion the scenario verdict as 1/0
TaskCompletion *float32 `json:"taskCompletion,omitempty"`
Tts *LivekitSimulationRunJobMetricsTTS `json:"tts,omitempty"`
// Turns One entry per turn, both speakers.
Turns *[]LivekitSimulationRunJobMetricsTurn `json:"turns,omitempty"`
// UnnecessaryToolCalls Whole-call issue flags; true = present, absent = not judged.
UnnecessaryToolCalls *bool `json:"unnecessaryToolCalls,omitempty"`
}
LivekitSimulationRunJobMetrics defines model for livekit.SimulationRun.JobMetrics.
type LivekitSimulationRunJobMetricsConversation ¶
type LivekitSimulationRunJobMetricsConversation struct {
// AwkwardSilenceCount gaps past the natural-pause threshold
AwkwardSilenceCount *int `json:"awkwardSilenceCount,omitempty"`
// BackchannelCount the caller's acknowledgements over the agent's speech
BackchannelCount *int `json:"backchannelCount,omitempty"`
// E2eLatencyMs needs the RemoteSession; the agent's own claim
E2eLatencyMs *int `json:"e2eLatencyMs,omitempty"`
// EotMispredictionCount agent started before the caller's turn ended
EotMispredictionCount *int `json:"eotMispredictionCount,omitempty"`
// FalseInterruptionCount needs the RemoteSession; agent paused for a non-interruption
FalseInterruptionCount *int `json:"falseInterruptionCount,omitempty"`
// HeardE2eLatencyP50Ms floor-transfer offset; a gap is > 0, an overlap < 0
HeardE2eLatencyP50Ms *int32 `json:"heardE2eLatencyP50Ms,omitempty"`
HeardE2eLatencyP95Ms *int32 `json:"heardE2eLatencyP95Ms,omitempty"`
HeardE2eLatencyP99Ms *int32 `json:"heardE2eLatencyP99Ms,omitempty"`
// OverlapRatio overlapping speech / total speech
OverlapRatio *float32 `json:"overlapRatio,omitempty"`
// OverlapSpeechMs pooling stats for overlap_ratio
OverlapSpeechMs *int `json:"overlapSpeechMs,omitempty"`
// TimeToYieldMs agent audio continuing past a barge-in
TimeToYieldMs *int `json:"timeToYieldMs,omitempty"`
TotalSpeechMs *int `json:"totalSpeechMs,omitempty"`
// TurnTakingScore 0-1
TurnTakingScore *float32 `json:"turnTakingScore,omitempty"`
// UnansweredTurns the simulated party spoke, the agent never responded
UnansweredTurns *int `json:"unansweredTurns,omitempty"`
}
LivekitSimulationRunJobMetricsConversation Audio only.
type LivekitSimulationRunJobMetricsEndReason ¶ added in v2.20.1
type LivekitSimulationRunJobMetricsEndReason string
LivekitSimulationRunJobMetricsEndReason defines model for livekit.SimulationRun.JobMetrics.EndReason.
const ( ENDREASONAGENTENDED LivekitSimulationRunJobMetricsEndReason = "END_REASON_AGENT_ENDED" ENDREASONAGENTERROR LivekitSimulationRunJobMetricsEndReason = "END_REASON_AGENT_ERROR" ENDREASONEMPTYRESPONSE LivekitSimulationRunJobMetricsEndReason = "END_REASON_EMPTY_RESPONSE" ENDREASONINACTIVITY LivekitSimulationRunJobMetricsEndReason = "END_REASON_INACTIVITY" ENDREASONSCENARIOCOMPLETED LivekitSimulationRunJobMetricsEndReason = "END_REASON_SCENARIO_COMPLETED" ENDREASONTURNLIMIT LivekitSimulationRunJobMetricsEndReason = "END_REASON_TURN_LIMIT" ENDREASONUNSPECIFIED LivekitSimulationRunJobMetricsEndReason = "END_REASON_UNSPECIFIED" )
Defines values for LivekitSimulationRunJobMetricsEndReason.
func (LivekitSimulationRunJobMetricsEndReason) Valid ¶ added in v2.20.1
func (e LivekitSimulationRunJobMetricsEndReason) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationRunJobMetricsEndReason enum.
type LivekitSimulationRunJobMetricsLLM ¶
type LivekitSimulationRunJobMetricsLLM struct {
// TokensPerSecond needs the RemoteSession
TokensPerSecond *float32 `json:"tokensPerSecond,omitempty"`
// TtfsMs needs the RemoteSession; time to first sentence, the smallest speakable unit
TtfsMs *int `json:"ttfsMs,omitempty"`
// TtftMs needs the RemoteSession; time to first token
TtftMs *int `json:"ttftMs,omitempty"`
}
LivekitSimulationRunJobMetricsLLM defines model for livekit.SimulationRun.JobMetrics.LLM.
type LivekitSimulationRunJobMetricsSTT ¶
type LivekitSimulationRunJobMetricsSTT struct {
// Cer needs the RemoteSession; char_errors / chars
Cer *float32 `json:"cer,omitempty"`
// CharErrors needs the RemoteSession
CharErrors *int `json:"charErrors,omitempty"`
// Chars needs the RemoteSession
Chars *int `json:"chars,omitempty"`
EntitiesAcquiredRecognized *int `json:"entitiesAcquiredRecognized,omitempty"`
EntitiesAcquiredUttered *int `json:"entitiesAcquiredUttered,omitempty"`
EntitiesRecognized *int `json:"entitiesRecognized,omitempty"`
EntitiesUttered *int `json:"entitiesUttered,omitempty"`
// EntityRecall Retention: an entity is acquired at the first saying heard right, and
// these count only the sayings after that, so recall separates keeping an
// entity from ever getting it. acquired_recognized / acquired_uttered
EntityRecall *float32 `json:"entityRecall,omitempty"`
// EntityRecognition Key entities (names, IDs, amounts) the caller said. Needs the text judge. recognized / uttered
EntityRecognition *float32 `json:"entityRecognition,omitempty"`
// SttDelayMs needs the RemoteSession; agent-reported STT/endpointing delay
SttDelayMs *int `json:"sttDelayMs,omitempty"`
// Wer needs the RemoteSession; word_errors / words
Wer *float32 `json:"wer,omitempty"`
// WordErrors needs the RemoteSession
WordErrors *int `json:"wordErrors,omitempty"`
// Words needs the RemoteSession
Words *int `json:"words,omitempty"`
}
LivekitSimulationRunJobMetricsSTT The agent's perception of the caller. Audio only.
type LivekitSimulationRunJobMetricsTTS ¶
type LivekitSimulationRunJobMetricsTTS struct {
// Cer needs the RemoteSession; char_errors / chars
Cer *float32 `json:"cer,omitempty"`
// CharErrors needs the RemoteSession
CharErrors *int `json:"charErrors,omitempty"`
// Chars needs the RemoteSession
Chars *int `json:"chars,omitempty"`
EntitiesAcquiredRecognized *int `json:"entitiesAcquiredRecognized,omitempty"`
EntitiesAcquiredUttered *int `json:"entitiesAcquiredUttered,omitempty"`
EntitiesRecognized *int `json:"entitiesRecognized,omitempty"`
EntitiesUttered *int `json:"entitiesUttered,omitempty"`
// EntityRecall acquired_recognized / acquired_uttered
EntityRecall *float32 `json:"entityRecall,omitempty"`
// EntityRecognition Key entities the agent said, as the caller heard them. Needs the text judge. recognized / uttered
EntityRecognition *float32 `json:"entityRecognition,omitempty"`
// TtfbMs needs the RemoteSession; provider byte-level TTFB
TtfbMs *int `json:"ttfbMs,omitempty"`
// Wer needs the RemoteSession; word_errors / words
Wer *float32 `json:"wer,omitempty"`
// WordErrors needs the RemoteSession
WordErrors *int `json:"wordErrors,omitempty"`
// Words needs the RemoteSession
Words *int `json:"words,omitempty"`
}
LivekitSimulationRunJobMetricsTTS The agent's voice. Audio only.
type LivekitSimulationRunJobMetricsTurn ¶
type LivekitSimulationRunJobMetricsTurn struct {
AwkwardSilence *bool `json:"awkwardSilence,omitempty"`
// Conciseness needs the text judge
Conciseness *float32 `json:"conciseness,omitempty"`
// E2eLatencyMs needs the RemoteSession
E2eLatencyMs *int `json:"e2eLatencyMs,omitempty"`
// EndMs audio only
EndMs *int `json:"endMs,omitempty"`
// Entities Audio only; needs the text judge. One per saying of a key entity in
// this turn, in order, as the other side heard it. Matched over the whole
// call's transcript, so a saying spanning turns sits on its first, and
// which of an entity's repeated sayings was heard is the alignment's
// best guess.
Entities *[]LivekitSimulationRunJobMetricsTurnEntity `json:"entities,omitempty"`
EotMisprediction *bool `json:"eotMisprediction,omitempty"`
HeardE2eLatencyMs *int32 `json:"heardE2eLatencyMs,omitempty"`
// Index 1-based, conversation order
Index *int `json:"index,omitempty"`
// ItemId the agent's chat item id for the first message this turn holds, as its
// stored transcript carries it; "" without a RemoteSession
ItemId *string `json:"itemId,omitempty"`
// LlmTps needs the RemoteSession
LlmTps *float32 `json:"llmTps,omitempty"`
// LlmTtfsMs needs the RemoteSession
LlmTtfsMs *int `json:"llmTtfsMs,omitempty"`
// LlmTtftMs needs the RemoteSession
LlmTtftMs *int `json:"llmTtftMs,omitempty"`
// Role ASSISTANT = the agent under test, USER = simulator persona
Role *LivekitAgentChatRole `json:"role,omitempty"`
// StartMs audio only; relative to t0; unset if the turn could not be aligned to the audio
StartMs *int `json:"startMs,omitempty"`
// SttDelayMs needs the RemoteSession
SttDelayMs *int `json:"sttDelayMs,omitempty"`
// Text The words the judges read for this turn: the speaker's own, or as the
// other side heard them when those are unknown (the agent's, without a
// RemoteSession).
Text *string `json:"text,omitempty"`
TimeToYieldMs *int `json:"timeToYieldMs,omitempty"`
// TtsTtfbMs needs the RemoteSession
TtsTtfbMs *int `json:"ttsTtfbMs,omitempty"`
TurnTakingScore *float32 `json:"turnTakingScore,omitempty"`
Unanswered *bool `json:"unanswered,omitempty"`
}
LivekitSimulationRunJobMetricsTurn Rows exist for text and audio. The groups above hold the means and pools
over these; anything not measured for a turn stays unset.
type LivekitSimulationRunJobMetricsTurnEntity ¶ added in v2.20.1
type LivekitSimulationRunJobMetricsTurnEntity struct {
// Heard the listener's normalized words where it landed; "" if dropped
Heard *string `json:"heard,omitempty"`
// Recognized heard with no word errors
Recognized *bool `json:"recognized,omitempty"`
// Said the entity as the speaker said it
Said *string `json:"said,omitempty"`
}
LivekitSimulationRunJobMetricsTurnEntity defines model for livekit.SimulationRun.JobMetrics.Turn.Entity.
type LivekitSimulationRunJobStatus ¶
type LivekitSimulationRunJobStatus string
LivekitSimulationRunJobStatus defines model for livekit.SimulationRun.Job.Status.
const ( LivekitSimulationRunJobStatusSTATUSCANCELLED LivekitSimulationRunJobStatus = "STATUS_CANCELLED" LivekitSimulationRunJobStatusSTATUSCOMPLETED LivekitSimulationRunJobStatus = "STATUS_COMPLETED" LivekitSimulationRunJobStatusSTATUSFAILED LivekitSimulationRunJobStatus = "STATUS_FAILED" LivekitSimulationRunJobStatusSTATUSPENDING LivekitSimulationRunJobStatus = "STATUS_PENDING" LivekitSimulationRunJobStatusSTATUSRUNNING LivekitSimulationRunJobStatus = "STATUS_RUNNING" )
Defines values for LivekitSimulationRunJobStatus.
func (LivekitSimulationRunJobStatus) Valid ¶
func (e LivekitSimulationRunJobStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationRunJobStatus enum.
type LivekitSimulationRunJobUsage ¶
type LivekitSimulationRunJobUsage struct {
AudioTurnsCount *int32 `json:"audioTurnsCount,omitempty"`
TextTurnsCount *int32 `json:"textTurnsCount,omitempty"`
}
LivekitSimulationRunJobUsage defines model for livekit.SimulationRun.Job.Usage.
type LivekitSimulationRunRunMetrics ¶
type LivekitSimulationRunRunMetrics struct {
// Conciseness Means over the jobs that report them.
Conciseness *float32 `json:"conciseness,omitempty"`
Conversation *LivekitSimulationRunJobMetricsConversation `json:"conversation,omitempty"`
ConversationProgression *float32 `json:"conversationProgression,omitempty"`
Llm *LivekitSimulationRunJobMetricsLLM `json:"llm,omitempty"`
// OverallScore mean over scored jobs
OverallScore *float32 `json:"overallScore,omitempty"`
// ScenarioPassRate share of jobs whose scenario verdict passed
ScenarioPassRate *float32 `json:"scenarioPassRate,omitempty"`
Stt *LivekitSimulationRunJobMetricsSTT `json:"stt,omitempty"`
Tts *LivekitSimulationRunJobMetricsTTS `json:"tts,omitempty"`
}
LivekitSimulationRunRunMetrics Aggregates over this run's jobs, so a run summary does not have to pull
every job and turn. Reuses the JobMetrics group shapes.
type LivekitSimulationRunSamplingOptions ¶ added in v2.19.1
type LivekitSimulationRunSamplingOptions struct {
// PassRate The share of a scenario's samples that must pass for that scenario to
// pass, 0-1. A scenario needs round(rate × samples) of them, so 1
// requires every sample and 0.67 of 3 requires 2.
PassRate *float64 `json:"passRate,omitempty"`
// Samples Samples per scenario, > 1. The run holds scenarios × samples jobs,
// subject to the usual job cap.
Samples *int32 `json:"samples,omitempty"`
}
LivekitSimulationRunSamplingOptions Runs each scenario more than once, so a flaky sample is distinguishable
from a broken scenario. Both fields are required when it is present.
type LivekitSimulationRunStatus ¶
type LivekitSimulationRunStatus string
LivekitSimulationRunStatus defines model for livekit.SimulationRun.Status.
const ( LivekitSimulationRunStatusSTATUSCANCELLED LivekitSimulationRunStatus = "STATUS_CANCELLED" LivekitSimulationRunStatusSTATUSCOMPLETED LivekitSimulationRunStatus = "STATUS_COMPLETED" LivekitSimulationRunStatusSTATUSFAILED LivekitSimulationRunStatus = "STATUS_FAILED" LivekitSimulationRunStatusSTATUSGENERATING LivekitSimulationRunStatus = "STATUS_GENERATING" LivekitSimulationRunStatusSTATUSPENDINGUPLOAD LivekitSimulationRunStatus = "STATUS_PENDING_UPLOAD" LivekitSimulationRunStatusSTATUSRUNNING LivekitSimulationRunStatus = "STATUS_RUNNING" LivekitSimulationRunStatusSTATUSSUMMARIZING LivekitSimulationRunStatus = "STATUS_SUMMARIZING" )
Defines values for LivekitSimulationRunStatus.
func (LivekitSimulationRunStatus) Valid ¶
func (e LivekitSimulationRunStatus) Valid() bool
Valid indicates whether the value is a known member of the LivekitSimulationRunStatus enum.
type LivekitSimulationRunSummary ¶ added in v2.19.0
type LivekitSimulationRunSummary struct {
ChatHistory *map[string]LivekitAgentChatContext `json:"chatHistory,omitempty"`
Failed *int32 `json:"failed,omitempty"`
GoingWell *string `json:"goingWell,omitempty"`
Issues *[]LivekitSimulationRunSummaryIssue `json:"issues,omitempty"`
Passed *int32 `json:"passed,omitempty"`
ToImprove *string `json:"toImprove,omitempty"`
}
LivekitSimulationRunSummary defines model for livekit.SimulationRunSummary.
type LivekitSimulationRunSummaryIssue ¶ added in v2.19.0
type LivekitSimulationRunSummaryIssue struct {
Description *string `json:"description,omitempty"`
Label *string `json:"label,omitempty"`
Suggestion *string `json:"suggestion,omitempty"`
}
LivekitSimulationRunSummaryIssue defines model for livekit.SimulationRunSummary.Issue.
type LivekitSimulationRunUsage ¶
type LivekitSimulationRunUsage struct {
AudioTurnsCount *int32 `json:"audioTurnsCount,omitempty"`
TextTurnsCount *int32 `json:"textTurnsCount,omitempty"`
}
LivekitSimulationRunUsage defines model for livekit.SimulationRun.Usage.
type LivekitStartEgressRequest ¶ added in v2.20.2
type LivekitStartEgressRequest struct {
// Outputs At least one required
Outputs *[]LivekitOutput `json:"outputs,omitempty"`
RoomName *string `json:"roomName,omitempty"`
// Storage Request-level storage default
Storage *LivekitStorageConfig `json:"storage,omitempty"`
// Webhooks Optional additional webhook config
Webhooks *[]LivekitWebhookConfig `json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
LivekitStartEgressRequest defines model for livekit.StartEgressRequest.
func (LivekitStartEgressRequest) AsLivekitStartEgressRequest0 ¶ added in v2.20.2
func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest0() (LivekitStartEgressRequest0, error)
AsLivekitStartEgressRequest0 returns the union data inside the LivekitStartEgressRequest as a LivekitStartEgressRequest0
func (LivekitStartEgressRequest) AsLivekitStartEgressRequest1 ¶ added in v2.20.2
func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest1() (LivekitStartEgressRequest1, error)
AsLivekitStartEgressRequest1 returns the union data inside the LivekitStartEgressRequest as a LivekitStartEgressRequest1
func (LivekitStartEgressRequest) AsLivekitStartEgressRequest2 ¶ added in v2.20.2
func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest2() (LivekitStartEgressRequest2, error)
AsLivekitStartEgressRequest2 returns the union data inside the LivekitStartEgressRequest as a LivekitStartEgressRequest2
func (LivekitStartEgressRequest) AsLivekitStartEgressRequest3 ¶ added in v2.20.2
func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest3() (LivekitStartEgressRequest3, error)
AsLivekitStartEgressRequest3 returns the union data inside the LivekitStartEgressRequest as a LivekitStartEgressRequest3
func (LivekitStartEgressRequest) AsLivekitStartEgressRequest4 ¶ added in v2.20.2
func (t LivekitStartEgressRequest) AsLivekitStartEgressRequest4() (LivekitStartEgressRequest4, error)
AsLivekitStartEgressRequest4 returns the union data inside the LivekitStartEgressRequest as a LivekitStartEgressRequest4
func (*LivekitStartEgressRequest) FromLivekitStartEgressRequest0 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest0(v LivekitStartEgressRequest0) error
FromLivekitStartEgressRequest0 overwrites any union data inside the LivekitStartEgressRequest as the provided LivekitStartEgressRequest0
func (*LivekitStartEgressRequest) FromLivekitStartEgressRequest1 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest1(v LivekitStartEgressRequest1) error
FromLivekitStartEgressRequest1 overwrites any union data inside the LivekitStartEgressRequest as the provided LivekitStartEgressRequest1
func (*LivekitStartEgressRequest) FromLivekitStartEgressRequest2 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest2(v LivekitStartEgressRequest2) error
FromLivekitStartEgressRequest2 overwrites any union data inside the LivekitStartEgressRequest as the provided LivekitStartEgressRequest2
func (*LivekitStartEgressRequest) FromLivekitStartEgressRequest3 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest3(v LivekitStartEgressRequest3) error
FromLivekitStartEgressRequest3 overwrites any union data inside the LivekitStartEgressRequest as the provided LivekitStartEgressRequest3
func (*LivekitStartEgressRequest) FromLivekitStartEgressRequest4 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) FromLivekitStartEgressRequest4(v LivekitStartEgressRequest4) error
FromLivekitStartEgressRequest4 overwrites any union data inside the LivekitStartEgressRequest as the provided LivekitStartEgressRequest4
func (LivekitStartEgressRequest) MarshalJSON ¶ added in v2.20.2
func (t LivekitStartEgressRequest) MarshalJSON() ([]byte, error)
func (*LivekitStartEgressRequest) MergeLivekitStartEgressRequest0 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest0(v LivekitStartEgressRequest0) error
MergeLivekitStartEgressRequest0 performs a merge with any union data inside the LivekitStartEgressRequest, using the provided LivekitStartEgressRequest0
func (*LivekitStartEgressRequest) MergeLivekitStartEgressRequest1 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest1(v LivekitStartEgressRequest1) error
MergeLivekitStartEgressRequest1 performs a merge with any union data inside the LivekitStartEgressRequest, using the provided LivekitStartEgressRequest1
func (*LivekitStartEgressRequest) MergeLivekitStartEgressRequest2 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest2(v LivekitStartEgressRequest2) error
MergeLivekitStartEgressRequest2 performs a merge with any union data inside the LivekitStartEgressRequest, using the provided LivekitStartEgressRequest2
func (*LivekitStartEgressRequest) MergeLivekitStartEgressRequest3 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest3(v LivekitStartEgressRequest3) error
MergeLivekitStartEgressRequest3 performs a merge with any union data inside the LivekitStartEgressRequest, using the provided LivekitStartEgressRequest3
func (*LivekitStartEgressRequest) MergeLivekitStartEgressRequest4 ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) MergeLivekitStartEgressRequest4(v LivekitStartEgressRequest4) error
MergeLivekitStartEgressRequest4 performs a merge with any union data inside the LivekitStartEgressRequest, using the provided LivekitStartEgressRequest4
func (*LivekitStartEgressRequest) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitStartEgressRequest) UnmarshalJSON(b []byte) error
type LivekitStartEgressRequest0 ¶ added in v2.20.2
type LivekitStartEgressRequest0 struct {
Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}
LivekitStartEgressRequest0 defines model for LivekitStartEgressRequest.0.
type LivekitStartEgressRequest1 ¶ added in v2.20.2
type LivekitStartEgressRequest1 struct {
Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}
LivekitStartEgressRequest1 defines model for LivekitStartEgressRequest.1.
type LivekitStartEgressRequest2 ¶ added in v2.20.2
type LivekitStartEgressRequest2 struct {
Media *LivekitMediaSource `json:"media,omitempty"`
}
LivekitStartEgressRequest2 defines model for LivekitStartEgressRequest.2.
type LivekitStartEgressRequest3 ¶ added in v2.20.2
type LivekitStartEgressRequest3 struct {
Template *LivekitTemplateSource `json:"template,omitempty"`
}
LivekitStartEgressRequest3 defines model for LivekitStartEgressRequest.3.
type LivekitStartEgressRequest4 ¶ added in v2.20.2
type LivekitStartEgressRequest4 struct {
Web *LivekitWebSource `json:"web,omitempty"`
}
LivekitStartEgressRequest4 defines model for LivekitStartEgressRequest.4.
type LivekitStorageConfig ¶ added in v2.20.2
type LivekitStorageConfig struct {
// contains filtered or unexported fields
}
LivekitStorageConfig defines model for livekit.StorageConfig.
func (LivekitStorageConfig) AsLivekitStorageConfig0 ¶ added in v2.20.2
func (t LivekitStorageConfig) AsLivekitStorageConfig0() (LivekitStorageConfig0, error)
AsLivekitStorageConfig0 returns the union data inside the LivekitStorageConfig as a LivekitStorageConfig0
func (LivekitStorageConfig) AsLivekitStorageConfig1 ¶ added in v2.20.2
func (t LivekitStorageConfig) AsLivekitStorageConfig1() (LivekitStorageConfig1, error)
AsLivekitStorageConfig1 returns the union data inside the LivekitStorageConfig as a LivekitStorageConfig1
func (LivekitStorageConfig) AsLivekitStorageConfig2 ¶ added in v2.20.2
func (t LivekitStorageConfig) AsLivekitStorageConfig2() (LivekitStorageConfig2, error)
AsLivekitStorageConfig2 returns the union data inside the LivekitStorageConfig as a LivekitStorageConfig2
func (LivekitStorageConfig) AsLivekitStorageConfig3 ¶ added in v2.20.2
func (t LivekitStorageConfig) AsLivekitStorageConfig3() (LivekitStorageConfig3, error)
AsLivekitStorageConfig3 returns the union data inside the LivekitStorageConfig as a LivekitStorageConfig3
func (*LivekitStorageConfig) FromLivekitStorageConfig0 ¶ added in v2.20.2
func (t *LivekitStorageConfig) FromLivekitStorageConfig0(v LivekitStorageConfig0) error
FromLivekitStorageConfig0 overwrites any union data inside the LivekitStorageConfig as the provided LivekitStorageConfig0
func (*LivekitStorageConfig) FromLivekitStorageConfig1 ¶ added in v2.20.2
func (t *LivekitStorageConfig) FromLivekitStorageConfig1(v LivekitStorageConfig1) error
FromLivekitStorageConfig1 overwrites any union data inside the LivekitStorageConfig as the provided LivekitStorageConfig1
func (*LivekitStorageConfig) FromLivekitStorageConfig2 ¶ added in v2.20.2
func (t *LivekitStorageConfig) FromLivekitStorageConfig2(v LivekitStorageConfig2) error
FromLivekitStorageConfig2 overwrites any union data inside the LivekitStorageConfig as the provided LivekitStorageConfig2
func (*LivekitStorageConfig) FromLivekitStorageConfig3 ¶ added in v2.20.2
func (t *LivekitStorageConfig) FromLivekitStorageConfig3(v LivekitStorageConfig3) error
FromLivekitStorageConfig3 overwrites any union data inside the LivekitStorageConfig as the provided LivekitStorageConfig3
func (LivekitStorageConfig) MarshalJSON ¶ added in v2.20.2
func (t LivekitStorageConfig) MarshalJSON() ([]byte, error)
func (*LivekitStorageConfig) MergeLivekitStorageConfig0 ¶ added in v2.20.2
func (t *LivekitStorageConfig) MergeLivekitStorageConfig0(v LivekitStorageConfig0) error
MergeLivekitStorageConfig0 performs a merge with any union data inside the LivekitStorageConfig, using the provided LivekitStorageConfig0
func (*LivekitStorageConfig) MergeLivekitStorageConfig1 ¶ added in v2.20.2
func (t *LivekitStorageConfig) MergeLivekitStorageConfig1(v LivekitStorageConfig1) error
MergeLivekitStorageConfig1 performs a merge with any union data inside the LivekitStorageConfig, using the provided LivekitStorageConfig1
func (*LivekitStorageConfig) MergeLivekitStorageConfig2 ¶ added in v2.20.2
func (t *LivekitStorageConfig) MergeLivekitStorageConfig2(v LivekitStorageConfig2) error
MergeLivekitStorageConfig2 performs a merge with any union data inside the LivekitStorageConfig, using the provided LivekitStorageConfig2
func (*LivekitStorageConfig) MergeLivekitStorageConfig3 ¶ added in v2.20.2
func (t *LivekitStorageConfig) MergeLivekitStorageConfig3(v LivekitStorageConfig3) error
MergeLivekitStorageConfig3 performs a merge with any union data inside the LivekitStorageConfig, using the provided LivekitStorageConfig3
func (*LivekitStorageConfig) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitStorageConfig) UnmarshalJSON(b []byte) error
type LivekitStorageConfig0 ¶ added in v2.20.2
type LivekitStorageConfig0 struct {
AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}
LivekitStorageConfig0 defines model for LivekitStorageConfig.0.
type LivekitStorageConfig1 ¶ added in v2.20.2
type LivekitStorageConfig1 struct {
Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}
LivekitStorageConfig1 defines model for LivekitStorageConfig.1.
type LivekitStorageConfig2 ¶ added in v2.20.2
type LivekitStorageConfig2 struct {
Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}
LivekitStorageConfig2 defines model for LivekitStorageConfig.2.
type LivekitStorageConfig3 ¶ added in v2.20.2
type LivekitStorageConfig3 struct {
S3 *LivekitS3Upload `json:"s3,omitempty"`
}
LivekitStorageConfig3 defines model for LivekitStorageConfig.3.
type LivekitStreamDestination ¶ added in v2.20.1
type LivekitStreamDestination struct {
// Id required
Id *string `json:"id,omitempty"`
// Url required
Url *string `json:"url,omitempty"`
}
LivekitStreamDestination defines model for livekit.StreamDestination.
type LivekitStreamOutput ¶
type LivekitStreamOutput struct {
// Destinations urls or destinations required
Destinations *[]LivekitStreamDestination `json:"destinations,omitempty"`
// Protocol required
Protocol *LivekitStreamProtocol `json:"protocol,omitempty"`
// Urls urls or destinations required
Urls *[]string `json:"urls,omitempty"`
}
LivekitStreamOutput defines model for livekit.StreamOutput.
type LivekitStreamProtocol ¶
type LivekitStreamProtocol string
LivekitStreamProtocol defines model for livekit.StreamProtocol.
const ( DEFAULTPROTOCOL LivekitStreamProtocol = "DEFAULT_PROTOCOL" RTMP LivekitStreamProtocol = "RTMP" SRT LivekitStreamProtocol = "SRT" WEBSOCKET LivekitStreamProtocol = "WEBSOCKET" )
Defines values for LivekitStreamProtocol.
func (LivekitStreamProtocol) Valid ¶
func (e LivekitStreamProtocol) Valid() bool
Valid indicates whether the value is a known member of the LivekitStreamProtocol enum.
type LivekitTemplateSource ¶ added in v2.20.2
type LivekitTemplateSource struct {
AudioOnly *bool `json:"audioOnly,omitempty"`
CustomBaseUrl *string `json:"customBaseUrl,omitempty"`
Layout *string `json:"layout,omitempty"`
VideoOnly *bool `json:"videoOnly,omitempty"`
}
LivekitTemplateSource Room composite recording via layout template.
Service generates token, constructs recorder URL, awaits start signal.
type LivekitTrackEgressConfig ¶ added in v2.20.2
type LivekitTrackEgressConfig struct {
Outputs *[]LivekitOutput `json:"outputs,omitempty"`
Storage *LivekitStorageConfig `json:"storage,omitempty"`
Webhooks *[]LivekitWebhookConfig `json:"webhooks,omitempty"`
// contains filtered or unexported fields
}
LivekitTrackEgressConfig defines model for livekit.TrackEgressConfig.
func (LivekitTrackEgressConfig) AsLivekitTrackEgressConfig0 ¶ added in v2.20.2
func (t LivekitTrackEgressConfig) AsLivekitTrackEgressConfig0() (LivekitTrackEgressConfig0, error)
AsLivekitTrackEgressConfig0 returns the union data inside the LivekitTrackEgressConfig as a LivekitTrackEgressConfig0
func (LivekitTrackEgressConfig) AsLivekitTrackEgressConfig1 ¶ added in v2.20.2
func (t LivekitTrackEgressConfig) AsLivekitTrackEgressConfig1() (LivekitTrackEgressConfig1, error)
AsLivekitTrackEgressConfig1 returns the union data inside the LivekitTrackEgressConfig as a LivekitTrackEgressConfig1
func (*LivekitTrackEgressConfig) FromLivekitTrackEgressConfig0 ¶ added in v2.20.2
func (t *LivekitTrackEgressConfig) FromLivekitTrackEgressConfig0(v LivekitTrackEgressConfig0) error
FromLivekitTrackEgressConfig0 overwrites any union data inside the LivekitTrackEgressConfig as the provided LivekitTrackEgressConfig0
func (*LivekitTrackEgressConfig) FromLivekitTrackEgressConfig1 ¶ added in v2.20.2
func (t *LivekitTrackEgressConfig) FromLivekitTrackEgressConfig1(v LivekitTrackEgressConfig1) error
FromLivekitTrackEgressConfig1 overwrites any union data inside the LivekitTrackEgressConfig as the provided LivekitTrackEgressConfig1
func (LivekitTrackEgressConfig) MarshalJSON ¶ added in v2.20.2
func (t LivekitTrackEgressConfig) MarshalJSON() ([]byte, error)
func (*LivekitTrackEgressConfig) MergeLivekitTrackEgressConfig0 ¶ added in v2.20.2
func (t *LivekitTrackEgressConfig) MergeLivekitTrackEgressConfig0(v LivekitTrackEgressConfig0) error
MergeLivekitTrackEgressConfig0 performs a merge with any union data inside the LivekitTrackEgressConfig, using the provided LivekitTrackEgressConfig0
func (*LivekitTrackEgressConfig) MergeLivekitTrackEgressConfig1 ¶ added in v2.20.2
func (t *LivekitTrackEgressConfig) MergeLivekitTrackEgressConfig1(v LivekitTrackEgressConfig1) error
MergeLivekitTrackEgressConfig1 performs a merge with any union data inside the LivekitTrackEgressConfig, using the provided LivekitTrackEgressConfig1
func (*LivekitTrackEgressConfig) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitTrackEgressConfig) UnmarshalJSON(b []byte) error
type LivekitTrackEgressConfig0 ¶ added in v2.20.2
type LivekitTrackEgressConfig0 struct {
Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}
LivekitTrackEgressConfig0 defines model for LivekitTrackEgressConfig.0.
type LivekitTrackEgressConfig1 ¶ added in v2.20.2
type LivekitTrackEgressConfig1 struct {
Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}
LivekitTrackEgressConfig1 defines model for LivekitTrackEgressConfig.1.
type LivekitTransferSIPParticipantRequest ¶ added in v2.20.1
type LivekitTransferSIPParticipantRequest struct {
// Dialtone Optionally play dialtone to the SIP participant as an audible indicator of being transferred.
Dialtone *LivekitSIPDialtone `json:"dialtone,omitempty"`
// Headers Add the following headers to the REFER SIP request.
Headers *map[string]string `json:"headers,omitempty"`
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
// PlayDialtone Deprecated: use dialtone. Setting play_dialtone is equivalent to SIP_DIALTONE_ETSI when dialtone is unset.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PlayDialtone *bool `json:"playDialtone,omitempty"`
// RingingTimeout Max time for the transfer destination to answer the call.
RingingTimeout *GoogleProtobufDuration `json:"ringingTimeout,omitempty"`
RoomName *string `json:"roomName,omitempty"`
TransferTo *string `json:"transferTo,omitempty"`
}
LivekitTransferSIPParticipantRequest defines model for livekit.TransferSIPParticipantRequest.
type LivekitTransferSIPParticipantResponse ¶ added in v2.20.1
type LivekitTransferSIPParticipantResponse struct {
Reason *LivekitSIPTransferReason `json:"reason,omitempty"`
// SipStatus Set when the outcome was reported by a SIP response.
SipStatus *LivekitSIPStatus `json:"sipStatus,omitempty"`
Status *LivekitSIPTransferStatus `json:"status,omitempty"`
TransferId *string `json:"transferId,omitempty"`
}
LivekitTransferSIPParticipantResponse Added in https://github.com/livekit/protocol/pull/1730. Not needed after all:
will be rolled back to an empty message once STR_CALL_ENDED is reported as an error like every other failed transfer.
type LivekitVideoCodec ¶
type LivekitVideoCodec string
LivekitVideoCodec defines model for livekit.VideoCodec.
const ( DEFAULTVC LivekitVideoCodec = "DEFAULT_VC" H264BASELINE LivekitVideoCodec = "H264_BASELINE" H264HIGH LivekitVideoCodec = "H264_HIGH" H264MAIN LivekitVideoCodec = "H264_MAIN" VP8 LivekitVideoCodec = "VP8" )
Defines values for LivekitVideoCodec.
func (LivekitVideoCodec) Valid ¶
func (e LivekitVideoCodec) Valid() bool
Valid indicates whether the value is a known member of the LivekitVideoCodec enum.
type LivekitVideoConfig ¶ added in v2.20.2
type LivekitVideoConfig struct {
CaptureAll *bool `json:"captureAll,omitempty"`
Selectors *[]LivekitVideoSelector `json:"selectors,omitempty"`
}
LivekitVideoConfig defines model for livekit.VideoConfig.
type LivekitVideoSelector ¶ added in v2.20.2
type LivekitVideoSelector struct {
// Exclude Drop matching tracks, overriding capture_all and other matches
Exclude *bool `json:"exclude,omitempty"`
// TrackName Narrows the match to tracks with this name; alone, matches it from any participant
TrackName *string `json:"trackName,omitempty"`
// contains filtered or unexported fields
}
LivekitVideoSelector defines model for livekit.VideoSelector.
func (LivekitVideoSelector) AsLivekitVideoSelector0 ¶ added in v2.20.2
func (t LivekitVideoSelector) AsLivekitVideoSelector0() (LivekitVideoSelector0, error)
AsLivekitVideoSelector0 returns the union data inside the LivekitVideoSelector as a LivekitVideoSelector0
func (LivekitVideoSelector) AsLivekitVideoSelector1 ¶ added in v2.20.2
func (t LivekitVideoSelector) AsLivekitVideoSelector1() (LivekitVideoSelector1, error)
AsLivekitVideoSelector1 returns the union data inside the LivekitVideoSelector as a LivekitVideoSelector1
func (*LivekitVideoSelector) FromLivekitVideoSelector0 ¶ added in v2.20.2
func (t *LivekitVideoSelector) FromLivekitVideoSelector0(v LivekitVideoSelector0) error
FromLivekitVideoSelector0 overwrites any union data inside the LivekitVideoSelector as the provided LivekitVideoSelector0
func (*LivekitVideoSelector) FromLivekitVideoSelector1 ¶ added in v2.20.2
func (t *LivekitVideoSelector) FromLivekitVideoSelector1(v LivekitVideoSelector1) error
FromLivekitVideoSelector1 overwrites any union data inside the LivekitVideoSelector as the provided LivekitVideoSelector1
func (LivekitVideoSelector) MarshalJSON ¶ added in v2.20.2
func (t LivekitVideoSelector) MarshalJSON() ([]byte, error)
func (*LivekitVideoSelector) MergeLivekitVideoSelector0 ¶ added in v2.20.2
func (t *LivekitVideoSelector) MergeLivekitVideoSelector0(v LivekitVideoSelector0) error
MergeLivekitVideoSelector0 performs a merge with any union data inside the LivekitVideoSelector, using the provided LivekitVideoSelector0
func (*LivekitVideoSelector) MergeLivekitVideoSelector1 ¶ added in v2.20.2
func (t *LivekitVideoSelector) MergeLivekitVideoSelector1(v LivekitVideoSelector1) error
MergeLivekitVideoSelector1 performs a merge with any union data inside the LivekitVideoSelector, using the provided LivekitVideoSelector1
func (*LivekitVideoSelector) UnmarshalJSON ¶ added in v2.20.2
func (t *LivekitVideoSelector) UnmarshalJSON(b []byte) error
type LivekitVideoSelector0 ¶ added in v2.20.2
type LivekitVideoSelector0 struct {
ParticipantIdentity *string `json:"participantIdentity,omitempty"`
}
LivekitVideoSelector0 defines model for LivekitVideoSelector.0.
type LivekitVideoSelector1 ¶ added in v2.20.2
type LivekitVideoSelector1 struct {
TrackId *string `json:"trackId,omitempty"`
}
LivekitVideoSelector1 defines model for LivekitVideoSelector.1.
type LivekitWebSource ¶ added in v2.20.2
type LivekitWebSource struct {
AudioOnly *bool `json:"audioOnly,omitempty"`
AwaitStartSignal *bool `json:"awaitStartSignal,omitempty"`
Url *string `json:"url,omitempty"`
VideoOnly *bool `json:"videoOnly,omitempty"`
}
LivekitWebSource Record a custom URL via headless browser.
type LivekitWebhookConfig ¶
type LivekitWebhookConfig struct {
FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
SigningKey *string `json:"signingKey,omitempty"`
Url *string `json:"url,omitempty"`
}
LivekitWebhookConfig defines model for livekit.WebhookConfig.
type ObservabilityServiceGetSessionEvalsResponse ¶ added in v2.20.2
type ObservabilityServiceGetSessionEvalsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1SessionEvalsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceGetSessionEvalsResponse ¶ added in v2.20.2
func ParseObservabilityServiceGetSessionEvalsResponse(rsp *http.Response) (*ObservabilityServiceGetSessionEvalsResponse, error)
ParseObservabilityServiceGetSessionEvalsResponse parses an HTTP response from a ObservabilityServiceGetSessionEvalsWithResponse call
func (ObservabilityServiceGetSessionEvalsResponse) ContentType ¶ added in v2.20.2
func (r ObservabilityServiceGetSessionEvalsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceGetSessionEvalsResponse) GetBody ¶ added in v2.20.2
func (r ObservabilityServiceGetSessionEvalsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceGetSessionEvalsResponse) GetJSON200 ¶ added in v2.20.2
func (r ObservabilityServiceGetSessionEvalsResponse) GetJSON200() *LivekitPublicapiObservabilityV1SessionEvalsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceGetSessionEvalsResponse) GetJSONDefault ¶ added in v2.20.2
func (r ObservabilityServiceGetSessionEvalsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceGetSessionEvalsResponse) Status ¶ added in v2.20.2
func (r ObservabilityServiceGetSessionEvalsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceGetSessionEvalsResponse) StatusCode ¶ added in v2.20.2
func (r ObservabilityServiceGetSessionEvalsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceGetSessionLogsParams ¶ added in v2.19.0
type ObservabilityServiceGetSessionLogsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// LogLevels The log levels to return, as the logs filter on the dashboard selects
// them. For example, only `TRACE` and `FATAL`. Returns only the records
// at these levels. When empty, returns all records, including records
// with no level, such as a passed evaluation. `LOG_LEVEL_UNSPECIFIED`
// returns `InvalidArgument`.
LogLevels *[]LivekitPublicapiObservabilityV1LogLevel `form:"logLevels,omitempty" json:"logLevels,omitempty"`
// SortOrder The sort direction of the timestamps. Defaults to ascending (oldest
// first).
SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
ObservabilityServiceGetSessionLogsParams defines parameters for ObservabilityServiceGetSessionLogs.
type ObservabilityServiceGetSessionLogsResponse ¶ added in v2.19.0
type ObservabilityServiceGetSessionLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1LogsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceGetSessionLogsResponse ¶ added in v2.19.0
func ParseObservabilityServiceGetSessionLogsResponse(rsp *http.Response) (*ObservabilityServiceGetSessionLogsResponse, error)
ParseObservabilityServiceGetSessionLogsResponse parses an HTTP response from a ObservabilityServiceGetSessionLogsWithResponse call
func (ObservabilityServiceGetSessionLogsResponse) ContentType ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceGetSessionLogsResponse) GetBody ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceGetSessionLogsResponse) GetJSON200 ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionLogsResponse) GetJSON200() *LivekitPublicapiObservabilityV1LogsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceGetSessionLogsResponse) GetJSONDefault ¶ added in v2.19.3
func (r ObservabilityServiceGetSessionLogsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceGetSessionLogsResponse) Status ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceGetSessionLogsResponse) StatusCode ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceGetSessionMetricsParams ¶ added in v2.19.0
type ObservabilityServiceGetSessionMetricsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Names The names of the metrics to return, such as
// `lk.agents.turn.e2e_latency`. Returns only the points of these
// metrics. Each name must match exactly. When empty, returns all
// metrics. The maximum is 50 names, each 1 to 256 characters.
Names *[]string `form:"names,omitempty" json:"names,omitempty"`
}
ObservabilityServiceGetSessionMetricsParams defines parameters for ObservabilityServiceGetSessionMetrics.
type ObservabilityServiceGetSessionMetricsResponse ¶ added in v2.19.0
type ObservabilityServiceGetSessionMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1MetricsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceGetSessionMetricsResponse ¶ added in v2.19.0
func ParseObservabilityServiceGetSessionMetricsResponse(rsp *http.Response) (*ObservabilityServiceGetSessionMetricsResponse, error)
ParseObservabilityServiceGetSessionMetricsResponse parses an HTTP response from a ObservabilityServiceGetSessionMetricsWithResponse call
func (ObservabilityServiceGetSessionMetricsResponse) ContentType ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceGetSessionMetricsResponse) GetBody ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceGetSessionMetricsResponse) GetJSON200 ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionMetricsResponse) GetJSON200() *LivekitPublicapiObservabilityV1MetricsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceGetSessionMetricsResponse) GetJSONDefault ¶ added in v2.19.3
func (r ObservabilityServiceGetSessionMetricsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceGetSessionMetricsResponse) Status ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceGetSessionMetricsResponse) StatusCode ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceGetSessionRecordingURLParams ¶ added in v2.19.0
type ObservabilityServiceGetSessionRecordingURLParams struct {
// FileType The recording to sign a URL for. `RECORDING_FILE_TYPE_UNSPECIFIED`
// returns `InvalidArgument`.
FileType *LivekitPublicapiObservabilityV1RecordingFileType `form:"fileType,omitempty" json:"fileType,omitempty"`
// ExpirySeconds The time that the URL stays valid, in seconds. Defaults to 900 (15
// minutes) when unset or 0. The API clamps a larger value to 900, with
// no error. `expiresAt` gives the expiry that the API granted.
ExpirySeconds *int `form:"expirySeconds,omitempty" json:"expirySeconds,omitempty"`
}
ObservabilityServiceGetSessionRecordingURLParams defines parameters for ObservabilityServiceGetSessionRecordingURL.
type ObservabilityServiceGetSessionRecordingURLResponse ¶ added in v2.19.0
type ObservabilityServiceGetSessionRecordingURLResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1RecordingGetURLResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceGetSessionRecordingURLResponse ¶ added in v2.19.0
func ParseObservabilityServiceGetSessionRecordingURLResponse(rsp *http.Response) (*ObservabilityServiceGetSessionRecordingURLResponse, error)
ParseObservabilityServiceGetSessionRecordingURLResponse parses an HTTP response from a ObservabilityServiceGetSessionRecordingURLWithResponse call
func (ObservabilityServiceGetSessionRecordingURLResponse) ContentType ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionRecordingURLResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceGetSessionRecordingURLResponse) GetBody ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionRecordingURLResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceGetSessionRecordingURLResponse) GetJSON200 ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionRecordingURLResponse) GetJSON200() *LivekitPublicapiObservabilityV1RecordingGetURLResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceGetSessionRecordingURLResponse) GetJSONDefault ¶ added in v2.19.3
func (r ObservabilityServiceGetSessionRecordingURLResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceGetSessionRecordingURLResponse) Status ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionRecordingURLResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceGetSessionRecordingURLResponse) StatusCode ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionRecordingURLResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceGetSessionTracesParams ¶ added in v2.19.0
type ObservabilityServiceGetSessionTracesParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
ObservabilityServiceGetSessionTracesParams defines parameters for ObservabilityServiceGetSessionTraces.
type ObservabilityServiceGetSessionTracesResponse ¶ added in v2.19.0
type ObservabilityServiceGetSessionTracesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1TracesGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceGetSessionTracesResponse ¶ added in v2.19.0
func ParseObservabilityServiceGetSessionTracesResponse(rsp *http.Response) (*ObservabilityServiceGetSessionTracesResponse, error)
ParseObservabilityServiceGetSessionTracesResponse parses an HTTP response from a ObservabilityServiceGetSessionTracesWithResponse call
func (ObservabilityServiceGetSessionTracesResponse) ContentType ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTracesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceGetSessionTracesResponse) GetBody ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTracesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceGetSessionTracesResponse) GetJSON200 ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTracesResponse) GetJSON200() *LivekitPublicapiObservabilityV1TracesGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceGetSessionTracesResponse) GetJSONDefault ¶ added in v2.19.3
func (r ObservabilityServiceGetSessionTracesResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceGetSessionTracesResponse) Status ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTracesResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceGetSessionTracesResponse) StatusCode ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTracesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceGetSessionTranscriptParams ¶ added in v2.19.0
type ObservabilityServiceGetSessionTranscriptParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
ObservabilityServiceGetSessionTranscriptParams defines parameters for ObservabilityServiceGetSessionTranscript.
type ObservabilityServiceGetSessionTranscriptResponse ¶ added in v2.19.0
type ObservabilityServiceGetSessionTranscriptResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1TranscriptGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceGetSessionTranscriptResponse ¶ added in v2.19.0
func ParseObservabilityServiceGetSessionTranscriptResponse(rsp *http.Response) (*ObservabilityServiceGetSessionTranscriptResponse, error)
ParseObservabilityServiceGetSessionTranscriptResponse parses an HTTP response from a ObservabilityServiceGetSessionTranscriptWithResponse call
func (ObservabilityServiceGetSessionTranscriptResponse) ContentType ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTranscriptResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceGetSessionTranscriptResponse) GetBody ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTranscriptResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceGetSessionTranscriptResponse) GetJSON200 ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTranscriptResponse) GetJSON200() *LivekitPublicapiObservabilityV1TranscriptGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceGetSessionTranscriptResponse) GetJSONDefault ¶ added in v2.19.3
func (r ObservabilityServiceGetSessionTranscriptResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceGetSessionTranscriptResponse) Status ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTranscriptResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceGetSessionTranscriptResponse) StatusCode ¶ added in v2.19.0
func (r ObservabilityServiceGetSessionTranscriptResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceListEvalSessionsParams ¶ added in v2.20.2
type ObservabilityServiceListEvalSessionsParams struct {
// RangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`
// RangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
// EvalId The ID of an eval (`EVAL_...`). Returns only the sessions that this
// eval scored, one item for each agent job.
EvalId *string `form:"evalId,omitempty" json:"evalId,omitempty"`
// Verdict A verdict. Returns only the eval results with this verdict, one item
// for each session and eval. `EVAL_VERDICT_UNSPECIFIED` returns every
// verdict.
Verdict *LivekitPublicapiObservabilityV1EvalVerdict `form:"verdict,omitempty" json:"verdict,omitempty"`
// CriterionId The ID of a criterion in the definition of the eval in `evalId`.
// Returns only the sessions in which the eval failed this criterion.
// Needs `evalId`, and takes no `verdict`.
CriterionId *string `form:"criterionId,omitempty" json:"criterionId,omitempty"`
// AgentNames The names of agents. Returns only the sessions of these agents. When
// empty, returns the sessions of every agent. The maximum is 25.
AgentNames *[]string `form:"agentNames,omitempty" json:"agentNames,omitempty"`
// IntentIds The IDs of intents (`LBL_...`). Returns only the sessions with one of
// these intents. `other` matches the sessions that no intent matched,
// and an empty string matches the sessions that have no intent. The
// maximum is 25.
IntentIds *[]string `form:"intentIds,omitempty" json:"intentIds,omitempty"`
// OutcomeIds The IDs of outcomes (`LBL_...`). Returns only the sessions with one of
// these outcomes. `other` and an empty string match as in `intentIds`.
// The maximum is 25.
OutcomeIds *[]string `form:"outcomeIds,omitempty" json:"outcomeIds,omitempty"`
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// SortOrder The sort direction of the session end times. Defaults to descending
// (newest first).
SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
ObservabilityServiceListEvalSessionsParams defines parameters for ObservabilityServiceListEvalSessions.
type ObservabilityServiceListEvalSessionsResponse ¶ added in v2.20.2
type ObservabilityServiceListEvalSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1EvalSessionsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceListEvalSessionsResponse ¶ added in v2.20.2
func ParseObservabilityServiceListEvalSessionsResponse(rsp *http.Response) (*ObservabilityServiceListEvalSessionsResponse, error)
ParseObservabilityServiceListEvalSessionsResponse parses an HTTP response from a ObservabilityServiceListEvalSessionsWithResponse call
func (ObservabilityServiceListEvalSessionsResponse) ContentType ¶ added in v2.20.2
func (r ObservabilityServiceListEvalSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceListEvalSessionsResponse) GetBody ¶ added in v2.20.2
func (r ObservabilityServiceListEvalSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceListEvalSessionsResponse) GetJSON200 ¶ added in v2.20.2
func (r ObservabilityServiceListEvalSessionsResponse) GetJSON200() *LivekitPublicapiObservabilityV1EvalSessionsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceListEvalSessionsResponse) GetJSONDefault ¶ added in v2.20.2
func (r ObservabilityServiceListEvalSessionsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceListEvalSessionsResponse) Status ¶ added in v2.20.2
func (r ObservabilityServiceListEvalSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceListEvalSessionsResponse) StatusCode ¶ added in v2.20.2
func (r ObservabilityServiceListEvalSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceListLogPatternsParams ¶ added in v2.20.2
type ObservabilityServiceListLogPatternsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// RangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`
// RangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
// Query A search query, in the syntax of the search box on the logs page of
// the dashboard. For example, `agent_name:support "timed out"`. Returns
// only the patterns of the records that match. At most 4096 bytes. A
// query that is longer, or that is not valid, returns `InvalidArgument`.
Query *string `form:"query,omitempty" json:"query,omitempty"`
// MinLevel The lowest log level to return. Returns only the patterns at this
// level or a higher level. Unset means `LOG_LEVEL_WARN`.
// `LOG_LEVEL_TRACE` returns the patterns at all levels, including the
// records with no level. A value that is not a `LogLevel` value returns
// `InvalidArgument`.
MinLevel *LivekitPublicapiObservabilityV1LogLevel `form:"minLevel,omitempty" json:"minLevel,omitempty"`
// Sources The sources to return. Returns only the patterns from these sources.
// When empty, returns the patterns from agents. Only
// `LOG_SOURCE_AGENT` and `LOG_SOURCE_CLIENT` have patterns. Another
// value returns `InvalidArgument`.
Sources *[]LivekitPublicapiObservabilityV1LogSource `form:"sources,omitempty" json:"sources,omitempty"`
// AgentName The agent name. Returns only the patterns of the records that agents
// with this name logged.
AgentName *string `form:"agentName,omitempty" json:"agentName,omitempty"`
// AgentId The ID of a cloud agent (`CA_...`). Returns only the patterns of the
// records that this agent logged.
AgentId *string `form:"agentId,omitempty" json:"agentId,omitempty"`
// SessionId The session ID (`RM_...`). Returns only the patterns of the records of
// this session.
SessionId *string `form:"sessionId,omitempty" json:"sessionId,omitempty"`
// RankBy The rank that chooses which patterns the list returns, and in which
// order. Defaults to `LOG_PATTERN_RANK_EVENTS`. It does not sort pages:
// a different rank can return different patterns. A value that is not
// one of the `LogPatternRank` values returns `InvalidArgument`.
RankBy *LivekitPublicapiObservabilityV1LogPatternRank `form:"rankBy,omitempty" json:"rankBy,omitempty"`
}
ObservabilityServiceListLogPatternsParams defines parameters for ObservabilityServiceListLogPatterns.
type ObservabilityServiceListLogPatternsResponse ¶ added in v2.20.2
type ObservabilityServiceListLogPatternsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1LogPatternsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceListLogPatternsResponse ¶ added in v2.20.2
func ParseObservabilityServiceListLogPatternsResponse(rsp *http.Response) (*ObservabilityServiceListLogPatternsResponse, error)
ParseObservabilityServiceListLogPatternsResponse parses an HTTP response from a ObservabilityServiceListLogPatternsWithResponse call
func (ObservabilityServiceListLogPatternsResponse) ContentType ¶ added in v2.20.2
func (r ObservabilityServiceListLogPatternsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceListLogPatternsResponse) GetBody ¶ added in v2.20.2
func (r ObservabilityServiceListLogPatternsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceListLogPatternsResponse) GetJSON200 ¶ added in v2.20.2
func (r ObservabilityServiceListLogPatternsResponse) GetJSON200() *LivekitPublicapiObservabilityV1LogPatternsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceListLogPatternsResponse) GetJSONDefault ¶ added in v2.20.2
func (r ObservabilityServiceListLogPatternsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceListLogPatternsResponse) Status ¶ added in v2.20.2
func (r ObservabilityServiceListLogPatternsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceListLogPatternsResponse) StatusCode ¶ added in v2.20.2
func (r ObservabilityServiceListLogPatternsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityServiceListProjectLogsParams ¶ added in v2.20.2
type ObservabilityServiceListProjectLogsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// RangeStartTime The start of the range, included. Unset means a default length before the
// end, which the RPC that takes the range gives.
RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`
// RangeEndTime The end of the range. Unset means now. The RPC that takes the range says
// whether the range includes it.
RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
// LogLevels The log levels to return. Returns only the records at these levels.
// When empty, returns all records, including records with no level.
// `LOG_LEVEL_UNSPECIFIED` returns `InvalidArgument`.
LogLevels *[]LivekitPublicapiObservabilityV1LogLevel `form:"logLevels,omitempty" json:"logLevels,omitempty"`
// Sources The sources to return. Returns only the records from these sources.
// When empty, returns the records from all sources.
// `LOG_SOURCE_UNSPECIFIED` returns `InvalidArgument`.
Sources *[]LivekitPublicapiObservabilityV1LogSource `form:"sources,omitempty" json:"sources,omitempty"`
// SessionId The session ID (`RM_...`). Returns only the records of this session.
// When empty, returns the records of all sessions, and the records of
// no session.
SessionId *string `form:"sessionId,omitempty" json:"sessionId,omitempty"`
// Query A search query, in the syntax of the search box on the logs page of
// the dashboard. For example, `agent_name:support "timed out"`. Returns
// only the records that match. At most 4096 bytes. A query that is
// longer, or that is not valid, returns `InvalidArgument`.
Query *string `form:"query,omitempty" json:"query,omitempty"`
// SortOrder The sort direction of the timestamps. Defaults to descending (newest
// first).
SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
ObservabilityServiceListProjectLogsParams defines parameters for ObservabilityServiceListProjectLogs.
type ObservabilityServiceListProjectLogsResponse ¶ added in v2.20.2
type ObservabilityServiceListProjectLogsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiObservabilityV1ProjectLogsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseObservabilityServiceListProjectLogsResponse ¶ added in v2.20.2
func ParseObservabilityServiceListProjectLogsResponse(rsp *http.Response) (*ObservabilityServiceListProjectLogsResponse, error)
ParseObservabilityServiceListProjectLogsResponse parses an HTTP response from a ObservabilityServiceListProjectLogsWithResponse call
func (ObservabilityServiceListProjectLogsResponse) ContentType ¶ added in v2.20.2
func (r ObservabilityServiceListProjectLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ObservabilityServiceListProjectLogsResponse) GetBody ¶ added in v2.20.2
func (r ObservabilityServiceListProjectLogsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ObservabilityServiceListProjectLogsResponse) GetJSON200 ¶ added in v2.20.2
func (r ObservabilityServiceListProjectLogsResponse) GetJSON200() *LivekitPublicapiObservabilityV1ProjectLogsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ObservabilityServiceListProjectLogsResponse) GetJSONDefault ¶ added in v2.20.2
func (r ObservabilityServiceListProjectLogsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ObservabilityServiceListProjectLogsResponse) Status ¶ added in v2.20.2
func (r ObservabilityServiceListProjectLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityServiceListProjectLogsResponse) StatusCode ¶ added in v2.20.2
func (r ObservabilityServiceListProjectLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceAddWorkspaceMembersToProjectJSONBody ¶
type ProjectServiceAddWorkspaceMembersToProjectJSONBody struct {
// Role Access level to grant each of them: 1 read, 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
// UserIds The workspace members to add to the project.
UserIds *[]string `json:"userIds,omitempty"`
}
ProjectServiceAddWorkspaceMembersToProjectJSONBody defines parameters for ProjectServiceAddWorkspaceMembersToProject.
type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody ¶
type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody ProjectServiceAddWorkspaceMembersToProjectJSONBody
ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody defines body for ProjectServiceAddWorkspaceMembersToProject for application/json ContentType.
type ProjectServiceAddWorkspaceMembersToProjectResponse ¶
type ProjectServiceAddWorkspaceMembersToProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceAddWorkspaceMembersToProjectResponse ¶
func ParseProjectServiceAddWorkspaceMembersToProjectResponse(rsp *http.Response) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)
ParseProjectServiceAddWorkspaceMembersToProjectResponse parses an HTTP response from a ProjectServiceAddWorkspaceMembersToProjectWithResponse call
func (ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200 ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceAddWorkspaceMembersToProjectResponse) Status ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode ¶
func (r ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceAnswerInvitationJSONBody ¶
type ProjectServiceAnswerInvitationJSONBody struct {
// Accept True accepts the invite; false declines it.
Accept *bool `json:"accept,omitempty"`
}
ProjectServiceAnswerInvitationJSONBody defines parameters for ProjectServiceAnswerInvitation.
type ProjectServiceAnswerInvitationJSONRequestBody ¶
type ProjectServiceAnswerInvitationJSONRequestBody ProjectServiceAnswerInvitationJSONBody
ProjectServiceAnswerInvitationJSONRequestBody defines body for ProjectServiceAnswerInvitation for application/json ContentType.
type ProjectServiceAnswerInvitationResponse ¶
type ProjectServiceAnswerInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1AnswerInvitationResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceAnswerInvitationResponse ¶
func ParseProjectServiceAnswerInvitationResponse(rsp *http.Response) (*ProjectServiceAnswerInvitationResponse, error)
ParseProjectServiceAnswerInvitationResponse parses an HTTP response from a ProjectServiceAnswerInvitationWithResponse call
func (ProjectServiceAnswerInvitationResponse) ContentType ¶
func (r ProjectServiceAnswerInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceAnswerInvitationResponse) GetBody ¶
func (r ProjectServiceAnswerInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceAnswerInvitationResponse) GetJSON200 ¶
func (r ProjectServiceAnswerInvitationResponse) GetJSON200() *LivekitPublicapiProjectsV1AnswerInvitationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceAnswerInvitationResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceAnswerInvitationResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceAnswerInvitationResponse) Status ¶
func (r ProjectServiceAnswerInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceAnswerInvitationResponse) StatusCode ¶
func (r ProjectServiceAnswerInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceCreateProjectJSONRequestBody ¶
type ProjectServiceCreateProjectJSONRequestBody = LivekitPublicapiProjectsV1CreateProjectRequest
ProjectServiceCreateProjectJSONRequestBody defines body for ProjectServiceCreateProject for application/json ContentType.
type ProjectServiceCreateProjectResponse ¶
type ProjectServiceCreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1CreateProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceCreateProjectResponse ¶
func ParseProjectServiceCreateProjectResponse(rsp *http.Response) (*ProjectServiceCreateProjectResponse, error)
ParseProjectServiceCreateProjectResponse parses an HTTP response from a ProjectServiceCreateProjectWithResponse call
func (ProjectServiceCreateProjectResponse) ContentType ¶
func (r ProjectServiceCreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceCreateProjectResponse) GetBody ¶
func (r ProjectServiceCreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceCreateProjectResponse) GetJSON200 ¶
func (r ProjectServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceCreateProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceCreateProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceCreateProjectResponse) Status ¶
func (r ProjectServiceCreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceCreateProjectResponse) StatusCode ¶
func (r ProjectServiceCreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceCreateTokenJSONBody ¶ added in v2.19.1
type ProjectServiceCreateTokenJSONBody struct {
// Grants The grants of the token. Your project role must cover every grant that
// you request.
Grants *LivekitPublicapiProjectsV1TokenGrants `json:"grants,omitempty"`
// TtlSeconds The token lifetime, in seconds. `0` means the default, 10 minutes.
// The maximum is 86400 (24 hours). A larger value returns
// `InvalidArgument`.
TtlSeconds *int `json:"ttlSeconds,omitempty"`
}
ProjectServiceCreateTokenJSONBody defines parameters for ProjectServiceCreateToken.
type ProjectServiceCreateTokenJSONRequestBody ¶ added in v2.19.1
type ProjectServiceCreateTokenJSONRequestBody ProjectServiceCreateTokenJSONBody
ProjectServiceCreateTokenJSONRequestBody defines body for ProjectServiceCreateToken for application/json ContentType.
type ProjectServiceCreateTokenResponse ¶ added in v2.19.1
type ProjectServiceCreateTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1CreateTokenResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceCreateTokenResponse ¶ added in v2.19.1
func ParseProjectServiceCreateTokenResponse(rsp *http.Response) (*ProjectServiceCreateTokenResponse, error)
ParseProjectServiceCreateTokenResponse parses an HTTP response from a ProjectServiceCreateTokenWithResponse call
func (ProjectServiceCreateTokenResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceCreateTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceCreateTokenResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceCreateTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceCreateTokenResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceCreateTokenResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateTokenResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceCreateTokenResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceCreateTokenResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceCreateTokenResponse) Status ¶ added in v2.19.1
func (r ProjectServiceCreateTokenResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceCreateTokenResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceCreateTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceCreateWebhookJSONBody ¶ added in v2.19.1
type ProjectServiceCreateWebhookJSONBody struct {
// FilterParams The names of the events to deliver, from `ListWebhookEvents`. When unset,
// the webhook gets every event.
FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
// Name A label for the destination.
Name *string `json:"name,omitempty"`
// SigningKey The API key of this project whose secret signs the deliveries. Optional.
// When empty, the API uses the oldest API key of the project and saves it on
// the webhook.
SigningKey *string `json:"signingKey,omitempty"`
// Url The HTTP or HTTPS URL that receives the deliveries as POST requests.
Url *string `json:"url,omitempty"`
}
ProjectServiceCreateWebhookJSONBody defines parameters for ProjectServiceCreateWebhook.
type ProjectServiceCreateWebhookJSONRequestBody ¶ added in v2.19.1
type ProjectServiceCreateWebhookJSONRequestBody ProjectServiceCreateWebhookJSONBody
ProjectServiceCreateWebhookJSONRequestBody defines body for ProjectServiceCreateWebhook for application/json ContentType.
type ProjectServiceCreateWebhookResponse ¶ added in v2.19.1
type ProjectServiceCreateWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1CreateWebhookResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceCreateWebhookResponse ¶ added in v2.19.1
func ParseProjectServiceCreateWebhookResponse(rsp *http.Response) (*ProjectServiceCreateWebhookResponse, error)
ParseProjectServiceCreateWebhookResponse parses an HTTP response from a ProjectServiceCreateWebhookWithResponse call
func (ProjectServiceCreateWebhookResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceCreateWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceCreateWebhookResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceCreateWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceCreateWebhookResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceCreateWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateWebhookResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceCreateWebhookResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceCreateWebhookResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceCreateWebhookResponse) Status ¶ added in v2.19.1
func (r ProjectServiceCreateWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceCreateWebhookResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceCreateWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceDeleteInviteResponse ¶
type ProjectServiceDeleteInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceDeleteInviteResponse ¶
func ParseProjectServiceDeleteInviteResponse(rsp *http.Response) (*ProjectServiceDeleteInviteResponse, error)
ParseProjectServiceDeleteInviteResponse parses an HTTP response from a ProjectServiceDeleteInviteWithResponse call
func (ProjectServiceDeleteInviteResponse) ContentType ¶
func (r ProjectServiceDeleteInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceDeleteInviteResponse) GetBody ¶
func (r ProjectServiceDeleteInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceDeleteInviteResponse) GetJSON200 ¶
func (r ProjectServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceDeleteInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceDeleteInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceDeleteInviteResponse) Status ¶
func (r ProjectServiceDeleteInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceDeleteInviteResponse) StatusCode ¶
func (r ProjectServiceDeleteInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceDeleteKeyResponse ¶ added in v2.19.0
type ProjectServiceDeleteKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteKeyResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceDeleteKeyResponse ¶ added in v2.19.0
func ParseProjectServiceDeleteKeyResponse(rsp *http.Response) (*ProjectServiceDeleteKeyResponse, error)
ParseProjectServiceDeleteKeyResponse parses an HTTP response from a ProjectServiceDeleteKeyWithResponse call
func (ProjectServiceDeleteKeyResponse) ContentType ¶ added in v2.19.0
func (r ProjectServiceDeleteKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceDeleteKeyResponse) GetBody ¶ added in v2.19.0
func (r ProjectServiceDeleteKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceDeleteKeyResponse) GetJSON200 ¶ added in v2.19.0
func (r ProjectServiceDeleteKeyResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteKeyResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceDeleteKeyResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceDeleteKeyResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceDeleteKeyResponse) Status ¶ added in v2.19.0
func (r ProjectServiceDeleteKeyResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceDeleteKeyResponse) StatusCode ¶ added in v2.19.0
func (r ProjectServiceDeleteKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceDeleteProjectResponse ¶
type ProjectServiceDeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceDeleteProjectResponse ¶
func ParseProjectServiceDeleteProjectResponse(rsp *http.Response) (*ProjectServiceDeleteProjectResponse, error)
ParseProjectServiceDeleteProjectResponse parses an HTTP response from a ProjectServiceDeleteProjectWithResponse call
func (ProjectServiceDeleteProjectResponse) ContentType ¶
func (r ProjectServiceDeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceDeleteProjectResponse) GetBody ¶
func (r ProjectServiceDeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceDeleteProjectResponse) GetJSON200 ¶
func (r ProjectServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceDeleteProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceDeleteProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceDeleteProjectResponse) Status ¶
func (r ProjectServiceDeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceDeleteProjectResponse) StatusCode ¶
func (r ProjectServiceDeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceDeleteWebhookResponse ¶ added in v2.19.1
type ProjectServiceDeleteWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteWebhookResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceDeleteWebhookResponse ¶ added in v2.19.1
func ParseProjectServiceDeleteWebhookResponse(rsp *http.Response) (*ProjectServiceDeleteWebhookResponse, error)
ParseProjectServiceDeleteWebhookResponse parses an HTTP response from a ProjectServiceDeleteWebhookWithResponse call
func (ProjectServiceDeleteWebhookResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceDeleteWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceDeleteWebhookResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceDeleteWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceDeleteWebhookResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceDeleteWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteWebhookResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceDeleteWebhookResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceDeleteWebhookResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceDeleteWebhookResponse) Status ¶ added in v2.19.1
func (r ProjectServiceDeleteWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceDeleteWebhookResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceDeleteWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGenerateKeyJSONBody ¶ added in v2.19.0
type ProjectServiceGenerateKeyJSONBody struct {
// Description A label for the key.
Description *string `json:"description,omitempty"`
// IsServiceAccount When true, the key has no owner, and it belongs to the project.
// `ListKeys` with an `ownerId` does not return it, and it stays when the
// user who created it leaves the project.
IsServiceAccount *bool `json:"isServiceAccount,omitempty"`
}
ProjectServiceGenerateKeyJSONBody defines parameters for ProjectServiceGenerateKey.
type ProjectServiceGenerateKeyJSONRequestBody ¶ added in v2.19.0
type ProjectServiceGenerateKeyJSONRequestBody ProjectServiceGenerateKeyJSONBody
ProjectServiceGenerateKeyJSONRequestBody defines body for ProjectServiceGenerateKey for application/json ContentType.
type ProjectServiceGenerateKeyResponse ¶ added in v2.19.0
type ProjectServiceGenerateKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GenerateKeyResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceGenerateKeyResponse ¶ added in v2.19.0
func ParseProjectServiceGenerateKeyResponse(rsp *http.Response) (*ProjectServiceGenerateKeyResponse, error)
ParseProjectServiceGenerateKeyResponse parses an HTTP response from a ProjectServiceGenerateKeyWithResponse call
func (ProjectServiceGenerateKeyResponse) ContentType ¶ added in v2.19.0
func (r ProjectServiceGenerateKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGenerateKeyResponse) GetBody ¶ added in v2.19.0
func (r ProjectServiceGenerateKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGenerateKeyResponse) GetJSON200 ¶ added in v2.19.0
func (r ProjectServiceGenerateKeyResponse) GetJSON200() *LivekitPublicapiProjectsV1GenerateKeyResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGenerateKeyResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceGenerateKeyResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceGenerateKeyResponse) Status ¶ added in v2.19.0
func (r ProjectServiceGenerateKeyResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGenerateKeyResponse) StatusCode ¶ added in v2.19.0
func (r ProjectServiceGenerateKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGetInviteResponse ¶
type ProjectServiceGetInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceGetInviteResponse ¶
func ParseProjectServiceGetInviteResponse(rsp *http.Response) (*ProjectServiceGetInviteResponse, error)
ParseProjectServiceGetInviteResponse parses an HTTP response from a ProjectServiceGetInviteWithResponse call
func (ProjectServiceGetInviteResponse) ContentType ¶
func (r ProjectServiceGetInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGetInviteResponse) GetBody ¶
func (r ProjectServiceGetInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGetInviteResponse) GetJSON200 ¶
func (r ProjectServiceGetInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1GetInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGetInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceGetInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceGetInviteResponse) Status ¶
func (r ProjectServiceGetInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGetInviteResponse) StatusCode ¶
func (r ProjectServiceGetInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGetMemberResponse ¶
type ProjectServiceGetMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceGetMemberResponse ¶
func ParseProjectServiceGetMemberResponse(rsp *http.Response) (*ProjectServiceGetMemberResponse, error)
ParseProjectServiceGetMemberResponse parses an HTTP response from a ProjectServiceGetMemberWithResponse call
func (ProjectServiceGetMemberResponse) ContentType ¶
func (r ProjectServiceGetMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGetMemberResponse) GetBody ¶
func (r ProjectServiceGetMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGetMemberResponse) GetJSON200 ¶
func (r ProjectServiceGetMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1GetMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGetMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceGetMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceGetMemberResponse) Status ¶
func (r ProjectServiceGetMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGetMemberResponse) StatusCode ¶
func (r ProjectServiceGetMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceGetProjectResponse ¶
type ProjectServiceGetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceGetProjectResponse ¶
func ParseProjectServiceGetProjectResponse(rsp *http.Response) (*ProjectServiceGetProjectResponse, error)
ParseProjectServiceGetProjectResponse parses an HTTP response from a ProjectServiceGetProjectWithResponse call
func (ProjectServiceGetProjectResponse) ContentType ¶
func (r ProjectServiceGetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceGetProjectResponse) GetBody ¶
func (r ProjectServiceGetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceGetProjectResponse) GetJSON200 ¶
func (r ProjectServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceGetProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceGetProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceGetProjectResponse) Status ¶
func (r ProjectServiceGetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceGetProjectResponse) StatusCode ¶
func (r ProjectServiceGetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceInviteMemberJSONBody ¶
type ProjectServiceInviteMemberJSONBody struct {
// Email The email address to invite.
Email *string `json:"email,omitempty"`
// Role Access level to grant on the project: 1 read, 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
}
ProjectServiceInviteMemberJSONBody defines parameters for ProjectServiceInviteMember.
type ProjectServiceInviteMemberJSONRequestBody ¶
type ProjectServiceInviteMemberJSONRequestBody ProjectServiceInviteMemberJSONBody
ProjectServiceInviteMemberJSONRequestBody defines body for ProjectServiceInviteMember for application/json ContentType.
type ProjectServiceInviteMemberResponse ¶
type ProjectServiceInviteMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1InviteMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceInviteMemberResponse ¶
func ParseProjectServiceInviteMemberResponse(rsp *http.Response) (*ProjectServiceInviteMemberResponse, error)
ParseProjectServiceInviteMemberResponse parses an HTTP response from a ProjectServiceInviteMemberWithResponse call
func (ProjectServiceInviteMemberResponse) ContentType ¶
func (r ProjectServiceInviteMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceInviteMemberResponse) GetBody ¶
func (r ProjectServiceInviteMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceInviteMemberResponse) GetJSON200 ¶
func (r ProjectServiceInviteMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1InviteMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceInviteMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceInviteMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceInviteMemberResponse) Status ¶
func (r ProjectServiceInviteMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceInviteMemberResponse) StatusCode ¶
func (r ProjectServiceInviteMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListInvitesParams ¶ added in v2.19.3
type ProjectServiceListInvitesParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
ProjectServiceListInvitesParams defines parameters for ProjectServiceListInvites.
type ProjectServiceListInvitesResponse ¶
type ProjectServiceListInvitesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListInvitesResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceListInvitesResponse ¶
func ParseProjectServiceListInvitesResponse(rsp *http.Response) (*ProjectServiceListInvitesResponse, error)
ParseProjectServiceListInvitesResponse parses an HTTP response from a ProjectServiceListInvitesWithResponse call
func (ProjectServiceListInvitesResponse) ContentType ¶
func (r ProjectServiceListInvitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListInvitesResponse) GetBody ¶
func (r ProjectServiceListInvitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListInvitesResponse) GetJSON200 ¶
func (r ProjectServiceListInvitesResponse) GetJSON200() *LivekitPublicapiProjectsV1ListInvitesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListInvitesResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceListInvitesResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceListInvitesResponse) Status ¶
func (r ProjectServiceListInvitesResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListInvitesResponse) StatusCode ¶
func (r ProjectServiceListInvitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListKeysParams ¶ added in v2.19.0
type ProjectServiceListKeysParams struct {
// IncludeAgentKeys When true, the list includes the keys of cloud agents. By default, the
// list does not include them.
IncludeAgentKeys *bool `form:"includeAgentKeys,omitempty" json:"includeAgentKeys,omitempty"`
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// OwnerId The ID of a user. Returns only the keys that this user owns. When empty,
// returns the keys of every owner and the keys with no owner.
OwnerId *string `form:"ownerId,omitempty" json:"ownerId,omitempty"`
}
ProjectServiceListKeysParams defines parameters for ProjectServiceListKeys.
type ProjectServiceListKeysResponse ¶ added in v2.19.0
type ProjectServiceListKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListKeysResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceListKeysResponse ¶ added in v2.19.0
func ParseProjectServiceListKeysResponse(rsp *http.Response) (*ProjectServiceListKeysResponse, error)
ParseProjectServiceListKeysResponse parses an HTTP response from a ProjectServiceListKeysWithResponse call
func (ProjectServiceListKeysResponse) ContentType ¶ added in v2.19.0
func (r ProjectServiceListKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListKeysResponse) GetBody ¶ added in v2.19.0
func (r ProjectServiceListKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListKeysResponse) GetJSON200 ¶ added in v2.19.0
func (r ProjectServiceListKeysResponse) GetJSON200() *LivekitPublicapiProjectsV1ListKeysResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListKeysResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceListKeysResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceListKeysResponse) Status ¶ added in v2.19.0
func (r ProjectServiceListKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListKeysResponse) StatusCode ¶ added in v2.19.0
func (r ProjectServiceListKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListMembersParams ¶ added in v2.19.3
type ProjectServiceListMembersParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
ProjectServiceListMembersParams defines parameters for ProjectServiceListMembers.
type ProjectServiceListMembersResponse ¶
type ProjectServiceListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListMembersResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceListMembersResponse ¶
func ParseProjectServiceListMembersResponse(rsp *http.Response) (*ProjectServiceListMembersResponse, error)
ParseProjectServiceListMembersResponse parses an HTTP response from a ProjectServiceListMembersWithResponse call
func (ProjectServiceListMembersResponse) ContentType ¶
func (r ProjectServiceListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListMembersResponse) GetBody ¶
func (r ProjectServiceListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListMembersResponse) GetJSON200 ¶
func (r ProjectServiceListMembersResponse) GetJSON200() *LivekitPublicapiProjectsV1ListMembersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListMembersResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceListMembersResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceListMembersResponse) Status ¶
func (r ProjectServiceListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListMembersResponse) StatusCode ¶
func (r ProjectServiceListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListProjectsParams ¶
type ProjectServiceListProjectsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// WorkspaceId The workspace to list projects from. Private projects that you are not a
// member of are left out. When `workspaceId` and `memberId` are both empty,
// the response lists the projects that you are a member of. If you set both,
// the request fails with `InvalidArgument`.
WorkspaceId *string `form:"workspaceId,omitempty" json:"workspaceId,omitempty"`
// MemberId The member to list projects for. It must be your own user ID. Another user
// ID returns `PermissionDenied`.
MemberId *string `form:"memberId,omitempty" json:"memberId,omitempty"`
}
ProjectServiceListProjectsParams defines parameters for ProjectServiceListProjects.
type ProjectServiceListProjectsResponse ¶
type ProjectServiceListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListProjectsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceListProjectsResponse ¶
func ParseProjectServiceListProjectsResponse(rsp *http.Response) (*ProjectServiceListProjectsResponse, error)
ParseProjectServiceListProjectsResponse parses an HTTP response from a ProjectServiceListProjectsWithResponse call
func (ProjectServiceListProjectsResponse) ContentType ¶
func (r ProjectServiceListProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListProjectsResponse) GetBody ¶
func (r ProjectServiceListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListProjectsResponse) GetJSON200 ¶
func (r ProjectServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListProjectsResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceListProjectsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceListProjectsResponse) Status ¶
func (r ProjectServiceListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListProjectsResponse) StatusCode ¶
func (r ProjectServiceListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListWebhookEventsParams ¶ added in v2.19.3
type ProjectServiceListWebhookEventsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
ProjectServiceListWebhookEventsParams defines parameters for ProjectServiceListWebhookEvents.
type ProjectServiceListWebhookEventsResponse ¶ added in v2.19.1
type ProjectServiceListWebhookEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListWebhookEventsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceListWebhookEventsResponse ¶ added in v2.19.1
func ParseProjectServiceListWebhookEventsResponse(rsp *http.Response) (*ProjectServiceListWebhookEventsResponse, error)
ParseProjectServiceListWebhookEventsResponse parses an HTTP response from a ProjectServiceListWebhookEventsWithResponse call
func (ProjectServiceListWebhookEventsResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceListWebhookEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListWebhookEventsResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceListWebhookEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListWebhookEventsResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceListWebhookEventsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListWebhookEventsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListWebhookEventsResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceListWebhookEventsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceListWebhookEventsResponse) Status ¶ added in v2.19.1
func (r ProjectServiceListWebhookEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListWebhookEventsResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceListWebhookEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceListWebhooksParams ¶ added in v2.19.3
type ProjectServiceListWebhooksParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
ProjectServiceListWebhooksParams defines parameters for ProjectServiceListWebhooks.
type ProjectServiceListWebhooksResponse ¶ added in v2.19.1
type ProjectServiceListWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListWebhooksResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceListWebhooksResponse ¶ added in v2.19.1
func ParseProjectServiceListWebhooksResponse(rsp *http.Response) (*ProjectServiceListWebhooksResponse, error)
ParseProjectServiceListWebhooksResponse parses an HTTP response from a ProjectServiceListWebhooksWithResponse call
func (ProjectServiceListWebhooksResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceListWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceListWebhooksResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceListWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceListWebhooksResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceListWebhooksResponse) GetJSON200() *LivekitPublicapiProjectsV1ListWebhooksResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceListWebhooksResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceListWebhooksResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceListWebhooksResponse) Status ¶ added in v2.19.1
func (r ProjectServiceListWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceListWebhooksResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceListWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceRemoveMemberParams ¶ added in v2.19.3
type ProjectServiceRemoveMemberParams struct {
// ConfirmedNumKeys The number of the member's API keys that you agree to delete. Send `0`
// first. When the member owns API keys, the call fails with
// `FailedPrecondition` and a `MemberRemovalNotConfirmed` detail. Show its
// `numKeys` to the user, then send the request again with that number.
ConfirmedNumKeys *int `form:"confirmedNumKeys,omitempty" json:"confirmedNumKeys,omitempty"`
}
ProjectServiceRemoveMemberParams defines parameters for ProjectServiceRemoveMember.
type ProjectServiceRemoveMemberResponse ¶
type ProjectServiceRemoveMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1RemoveMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceRemoveMemberResponse ¶
func ParseProjectServiceRemoveMemberResponse(rsp *http.Response) (*ProjectServiceRemoveMemberResponse, error)
ParseProjectServiceRemoveMemberResponse parses an HTTP response from a ProjectServiceRemoveMemberWithResponse call
func (ProjectServiceRemoveMemberResponse) ContentType ¶
func (r ProjectServiceRemoveMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceRemoveMemberResponse) GetBody ¶
func (r ProjectServiceRemoveMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceRemoveMemberResponse) GetJSON200 ¶
func (r ProjectServiceRemoveMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1RemoveMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceRemoveMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceRemoveMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceRemoveMemberResponse) Status ¶
func (r ProjectServiceRemoveMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceRemoveMemberResponse) StatusCode ¶
func (r ProjectServiceRemoveMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceSendTestWebhookJSONBody ¶ added in v2.19.1
type ProjectServiceSendTestWebhookJSONBody struct {
// Event The event to send: one of the names from `ListWebhookEvents`. The API
// sends it with sample data and ignores the webhook filter. Unset sends
// `room_started`.
Event *string `json:"event,omitempty"`
}
ProjectServiceSendTestWebhookJSONBody defines parameters for ProjectServiceSendTestWebhook.
type ProjectServiceSendTestWebhookJSONRequestBody ¶ added in v2.19.1
type ProjectServiceSendTestWebhookJSONRequestBody ProjectServiceSendTestWebhookJSONBody
ProjectServiceSendTestWebhookJSONRequestBody defines body for ProjectServiceSendTestWebhook for application/json ContentType.
type ProjectServiceSendTestWebhookResponse ¶ added in v2.19.1
type ProjectServiceSendTestWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1SendTestWebhookResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceSendTestWebhookResponse ¶ added in v2.19.1
func ParseProjectServiceSendTestWebhookResponse(rsp *http.Response) (*ProjectServiceSendTestWebhookResponse, error)
ParseProjectServiceSendTestWebhookResponse parses an HTTP response from a ProjectServiceSendTestWebhookWithResponse call
func (ProjectServiceSendTestWebhookResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceSendTestWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceSendTestWebhookResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceSendTestWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceSendTestWebhookResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceSendTestWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1SendTestWebhookResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceSendTestWebhookResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceSendTestWebhookResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceSendTestWebhookResponse) Status ¶ added in v2.19.1
func (r ProjectServiceSendTestWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceSendTestWebhookResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceSendTestWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateInviteJSONBody ¶
type ProjectServiceUpdateInviteJSONBody struct {
// Role Access level to set on the invite: 1 read, 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
}
ProjectServiceUpdateInviteJSONBody defines parameters for ProjectServiceUpdateInvite.
type ProjectServiceUpdateInviteJSONRequestBody ¶
type ProjectServiceUpdateInviteJSONRequestBody ProjectServiceUpdateInviteJSONBody
ProjectServiceUpdateInviteJSONRequestBody defines body for ProjectServiceUpdateInvite for application/json ContentType.
type ProjectServiceUpdateInviteResponse ¶
type ProjectServiceUpdateInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceUpdateInviteResponse ¶
func ParseProjectServiceUpdateInviteResponse(rsp *http.Response) (*ProjectServiceUpdateInviteResponse, error)
ParseProjectServiceUpdateInviteResponse parses an HTTP response from a ProjectServiceUpdateInviteWithResponse call
func (ProjectServiceUpdateInviteResponse) ContentType ¶
func (r ProjectServiceUpdateInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateInviteResponse) GetBody ¶
func (r ProjectServiceUpdateInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateInviteResponse) GetJSON200 ¶
func (r ProjectServiceUpdateInviteResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceUpdateInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceUpdateInviteResponse) Status ¶
func (r ProjectServiceUpdateInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateInviteResponse) StatusCode ¶
func (r ProjectServiceUpdateInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateMemberJSONBody ¶
type ProjectServiceUpdateMemberJSONBody struct {
// Role Access level to set: 1 read, 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
}
ProjectServiceUpdateMemberJSONBody defines parameters for ProjectServiceUpdateMember.
type ProjectServiceUpdateMemberJSONRequestBody ¶
type ProjectServiceUpdateMemberJSONRequestBody ProjectServiceUpdateMemberJSONBody
ProjectServiceUpdateMemberJSONRequestBody defines body for ProjectServiceUpdateMember for application/json ContentType.
type ProjectServiceUpdateMemberResponse ¶
type ProjectServiceUpdateMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceUpdateMemberResponse ¶
func ParseProjectServiceUpdateMemberResponse(rsp *http.Response) (*ProjectServiceUpdateMemberResponse, error)
ParseProjectServiceUpdateMemberResponse parses an HTTP response from a ProjectServiceUpdateMemberWithResponse call
func (ProjectServiceUpdateMemberResponse) ContentType ¶
func (r ProjectServiceUpdateMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateMemberResponse) GetBody ¶
func (r ProjectServiceUpdateMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateMemberResponse) GetJSON200 ¶
func (r ProjectServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceUpdateMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceUpdateMemberResponse) Status ¶
func (r ProjectServiceUpdateMemberResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateMemberResponse) StatusCode ¶
func (r ProjectServiceUpdateMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateProjectJSONBody ¶
type ProjectServiceUpdateProjectJSONBody struct {
// CustomDomain A custom domain to add to the project.
CustomDomain *string `json:"customDomain,omitempty"`
// DisableTokenEndpoint True turns off the sandbox token endpoint for the project.
DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`
// DiscoverableByDomain When true, adds your email domain to the project.
DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`
// EgressClusterId The egress cluster for the project. Only LiveKit staff can change it. For
// any other caller, a value that differs from the current one returns
// `PermissionDenied`.
EgressClusterId *string `json:"egressClusterId,omitempty"`
// EnableAnalytics True turns on analytics for the project.
EnableAnalytics *bool `json:"enableAnalytics,omitempty"`
// EnableAutoCreate True lets the first participant to join a room that does not yet exist
// create it.
EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`
// EnableEgressAutoRetry True retries a failed egress automatically.
EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`
// EnableEgressBackupStorage True keeps an egress that fails to upload in LiveKit backup storage for 7
// days.
EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`
// EnableHostedAgents True when hosted agents are enabled for the project. Only LiveKit staff can
// change it. For any other caller, a value that differs from the current one
// returns `PermissionDenied`.
EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`
// EnableInferenceRegionRestriction True restricts inference to the models in the same data region as the
// project.
EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`
// EnablePiiRedaction True redacts PII from the recorded session data.
EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`
// EnableRemoteUnmute True lets an admin unmute the tracks of another participant.
EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`
// EnableUserDataRecording When true, the project records traces, transcripts, and audio from agent
// sessions for agent observability. Data recorded earlier stays readable.
EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`
// EnableUserDataTraining True lets LiveKit use the observability data from this project to improve
// models and services.
EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`
// EnabledCodecs The media codecs the project allows, by MIME type, such as `video/VP9`.
EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`
// FeatureFlags The feature flags to change, by name. The API sets each flag that you send,
// and removes a flag that you send with an empty value. The flags that you do
// not send do not change.
FeatureFlags *map[string]string `json:"featureFlags,omitempty"`
// HideOnboarding True hides the onboarding instructions on the project dashboard.
HideOnboarding *bool `json:"hideOnboarding,omitempty"`
// HideSampleAppGallery True hides the sample app gallery on the project dashboard.
HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
// IsPrivate True gives the project its own member list instead of the members of its
// workspace.
IsPrivate *bool `json:"isPrivate,omitempty"`
// JoinableByDomain When true, adds your email domain to the project.
JoinableByDomain *bool `json:"joinableByDomain,omitempty"`
// Members The members to keep when the project becomes private. You keep the admin
// role.
Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`
// Name The project name.
Name *string `json:"name,omitempty"`
// PiiRedactionCategories The categories to redact. A non-empty list replaces the saved categories.
// The API ignores an empty list, so you cannot clear the categories this
// way. When you turn on redaction and the project has no saved categories,
// the API applies the default categories.
PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`
// PinnedRegions The SFU regions to pin the project to. When unset, the pins do not
// change. A set message replaces the pins, so an empty `regions` list
// removes all pins. This field is different from `userDataRegion`, which
// sets where the project keeps its session data.
PinnedRegions *LivekitPublicapiProjectsV1PinnedRegions `json:"pinnedRegions,omitempty"`
// RequireExplicitDispatch True rejects an agent server that registers without an explicit agent
// name.
RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`
// RoomConfigsToDelete The names of the room configurations to remove from the project.
RoomConfigsToDelete *[]string `json:"roomConfigsToDelete,omitempty"`
// RoomConfigsToUpsert Room configurations to add to the project. A configuration replaces the
// one with the same name. A configuration without a name is ignored.
RoomConfigsToUpsert *[]LivekitRoomConfiguration `json:"roomConfigsToUpsert,omitempty"`
// SfuAllowPause True lets the SFU pause video tracks when subscribers are congested.
SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`
// Subdomain The project subdomain, which forms the server URL.
Subdomain *string `json:"subdomain,omitempty"`
// TokenEndpointKey The API key that signs the tokens from the sandbox token endpoint of the
// project.
TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
}
ProjectServiceUpdateProjectJSONBody defines parameters for ProjectServiceUpdateProject.
type ProjectServiceUpdateProjectJSONRequestBody ¶
type ProjectServiceUpdateProjectJSONRequestBody ProjectServiceUpdateProjectJSONBody
ProjectServiceUpdateProjectJSONRequestBody defines body for ProjectServiceUpdateProject for application/json ContentType.
type ProjectServiceUpdateProjectResponse ¶
type ProjectServiceUpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceUpdateProjectResponse ¶
func ParseProjectServiceUpdateProjectResponse(rsp *http.Response) (*ProjectServiceUpdateProjectResponse, error)
ParseProjectServiceUpdateProjectResponse parses an HTTP response from a ProjectServiceUpdateProjectWithResponse call
func (ProjectServiceUpdateProjectResponse) ContentType ¶
func (r ProjectServiceUpdateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateProjectResponse) GetBody ¶
func (r ProjectServiceUpdateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateProjectResponse) GetJSON200 ¶
func (r ProjectServiceUpdateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceUpdateProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceUpdateProjectResponse) Status ¶
func (r ProjectServiceUpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateProjectResponse) StatusCode ¶
func (r ProjectServiceUpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectServiceUpdateWebhookJSONBody ¶ added in v2.19.1
type ProjectServiceUpdateWebhookJSONBody struct {
// FilterParams The names of the events to deliver. A set filter replaces the whole
// filter. An empty filter delivers every event.
FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
// Name A label for the destination.
Name *string `json:"name,omitempty"`
// SigningKey The API key of this project whose secret signs the deliveries. When unset
// or empty, the signing key does not change.
SigningKey *string `json:"signingKey,omitempty"`
// Url The URL that receives the events.
Url *string `json:"url,omitempty"`
}
ProjectServiceUpdateWebhookJSONBody defines parameters for ProjectServiceUpdateWebhook.
type ProjectServiceUpdateWebhookJSONRequestBody ¶ added in v2.19.1
type ProjectServiceUpdateWebhookJSONRequestBody ProjectServiceUpdateWebhookJSONBody
ProjectServiceUpdateWebhookJSONRequestBody defines body for ProjectServiceUpdateWebhook for application/json ContentType.
type ProjectServiceUpdateWebhookResponse ¶ added in v2.19.1
type ProjectServiceUpdateWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1UpdateWebhookResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseProjectServiceUpdateWebhookResponse ¶ added in v2.19.1
func ParseProjectServiceUpdateWebhookResponse(rsp *http.Response) (*ProjectServiceUpdateWebhookResponse, error)
ParseProjectServiceUpdateWebhookResponse parses an HTTP response from a ProjectServiceUpdateWebhookWithResponse call
func (ProjectServiceUpdateWebhookResponse) ContentType ¶ added in v2.19.1
func (r ProjectServiceUpdateWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectServiceUpdateWebhookResponse) GetBody ¶ added in v2.19.1
func (r ProjectServiceUpdateWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectServiceUpdateWebhookResponse) GetJSON200 ¶ added in v2.19.1
func (r ProjectServiceUpdateWebhookResponse) GetJSON200() *LivekitPublicapiProjectsV1UpdateWebhookResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectServiceUpdateWebhookResponse) GetJSONDefault ¶ added in v2.19.3
func (r ProjectServiceUpdateWebhookResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ProjectServiceUpdateWebhookResponse) Status ¶ added in v2.19.1
func (r ProjectServiceUpdateWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectServiceUpdateWebhookResponse) StatusCode ¶ added in v2.19.1
func (r ProjectServiceUpdateWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SimulationServiceCancelSimulationRunResponse ¶
type SimulationServiceCancelSimulationRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsCancelResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceCancelSimulationRunResponse ¶
func ParseSimulationServiceCancelSimulationRunResponse(rsp *http.Response) (*SimulationServiceCancelSimulationRunResponse, error)
ParseSimulationServiceCancelSimulationRunResponse parses an HTTP response from a SimulationServiceCancelSimulationRunWithResponse call
func (SimulationServiceCancelSimulationRunResponse) ContentType ¶
func (r SimulationServiceCancelSimulationRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceCancelSimulationRunResponse) GetBody ¶
func (r SimulationServiceCancelSimulationRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceCancelSimulationRunResponse) GetJSON200 ¶
func (r SimulationServiceCancelSimulationRunResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsCancelResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceCancelSimulationRunResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceCancelSimulationRunResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceCancelSimulationRunResponse) Status ¶
func (r SimulationServiceCancelSimulationRunResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceCancelSimulationRunResponse) StatusCode ¶
func (r SimulationServiceCancelSimulationRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceConfirmSimulationSourceUploadJSONBody ¶ added in v2.19.0
type SimulationServiceConfirmSimulationSourceUploadJSONBody struct {
// CodeEntrypoint The entrypoint of the uploaded source, for example `agent.py`.
CodeEntrypoint *string `json:"codeEntrypoint,omitempty"`
}
SimulationServiceConfirmSimulationSourceUploadJSONBody defines parameters for SimulationServiceConfirmSimulationSourceUpload.
type SimulationServiceConfirmSimulationSourceUploadJSONRequestBody ¶ added in v2.19.0
type SimulationServiceConfirmSimulationSourceUploadJSONRequestBody SimulationServiceConfirmSimulationSourceUploadJSONBody
SimulationServiceConfirmSimulationSourceUploadJSONRequestBody defines body for SimulationServiceConfirmSimulationSourceUpload for application/json ContentType.
type SimulationServiceConfirmSimulationSourceUploadResponse ¶ added in v2.19.0
type SimulationServiceConfirmSimulationSourceUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceConfirmSimulationSourceUploadResponse ¶ added in v2.19.0
func ParseSimulationServiceConfirmSimulationSourceUploadResponse(rsp *http.Response) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)
ParseSimulationServiceConfirmSimulationSourceUploadResponse parses an HTTP response from a SimulationServiceConfirmSimulationSourceUploadWithResponse call
func (SimulationServiceConfirmSimulationSourceUploadResponse) ContentType ¶ added in v2.19.0
func (r SimulationServiceConfirmSimulationSourceUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceConfirmSimulationSourceUploadResponse) GetBody ¶ added in v2.19.0
func (r SimulationServiceConfirmSimulationSourceUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceConfirmSimulationSourceUploadResponse) GetJSON200 ¶ added in v2.19.0
func (r SimulationServiceConfirmSimulationSourceUploadResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceConfirmSimulationSourceUploadResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceConfirmSimulationSourceUploadResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceConfirmSimulationSourceUploadResponse) Status ¶ added in v2.19.0
func (r SimulationServiceConfirmSimulationSourceUploadResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceConfirmSimulationSourceUploadResponse) StatusCode ¶ added in v2.19.0
func (r SimulationServiceConfirmSimulationSourceUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceCountSimulationRunsParams ¶ added in v2.19.0
type SimulationServiceCountSimulationRunsParams struct {
// StartTime The start of the window on the creation time of the run, inclusive.
// Required.
StartTime *time.Time `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime The end of the window on the creation time of the run, exclusive.
// Required. Must be after `startTime`.
EndTime *time.Time `form:"endTime,omitempty" json:"endTime,omitempty"`
// Status A run status. Counts only the runs in this status.
Status *LivekitSimulationRunStatus `form:"status,omitempty" json:"status,omitempty"`
// AgentName An agent name. Counts only the runs of the agent with this exact name.
AgentName *string `form:"agentName,omitempty" json:"agentName,omitempty"`
// Mode A conversation mode. Counts only the runs in this mode.
Mode *LivekitSimulationMode `form:"mode,omitempty" json:"mode,omitempty"`
}
SimulationServiceCountSimulationRunsParams defines parameters for SimulationServiceCountSimulationRuns.
type SimulationServiceCountSimulationRunsResponse ¶ added in v2.19.0
type SimulationServiceCountSimulationRunsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsCountsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceCountSimulationRunsResponse ¶ added in v2.19.0
func ParseSimulationServiceCountSimulationRunsResponse(rsp *http.Response) (*SimulationServiceCountSimulationRunsResponse, error)
ParseSimulationServiceCountSimulationRunsResponse parses an HTTP response from a SimulationServiceCountSimulationRunsWithResponse call
func (SimulationServiceCountSimulationRunsResponse) ContentType ¶ added in v2.19.0
func (r SimulationServiceCountSimulationRunsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceCountSimulationRunsResponse) GetBody ¶ added in v2.19.0
func (r SimulationServiceCountSimulationRunsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceCountSimulationRunsResponse) GetJSON200 ¶ added in v2.19.0
func (r SimulationServiceCountSimulationRunsResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsCountsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceCountSimulationRunsResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceCountSimulationRunsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceCountSimulationRunsResponse) Status ¶ added in v2.19.0
func (r SimulationServiceCountSimulationRunsResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceCountSimulationRunsResponse) StatusCode ¶ added in v2.19.0
func (r SimulationServiceCountSimulationRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceCreateSimulationRunJSONBody ¶
type SimulationServiceCreateSimulationRunJSONBody struct {
// AgentName The name of the agent under test. Each job dispatches this agent into
// the simulation room, so the agent must be deployed or running as a
// worker. When empty, the run uses the default agent of the project. The
// run records the name, and `ListSimulationRuns` can filter on it.
AgentName *string `json:"agentName,omitempty"`
// BackgroundNoise When true, the simulated user has background noise. Applies only in
// `AUDIO` mode.
BackgroundNoise *bool `json:"backgroundNoise,omitempty"`
// Ci The CI pipeline that started the run. Use it to link a run to its
// commit.
Ci *LivekitSimulationRunCI `json:"ci,omitempty"`
// Concurrency The maximum number of jobs that run in parallel. The maximum value is
// 20. A larger value returns `InvalidArgument`. The concurrency quota of
// the project can run fewer jobs at a time. When unset, the API uses its
// default.
Concurrency *int32 `json:"concurrency,omitempty"`
// LowQualityMicrophone When true, the simulated user has a low-quality microphone. Applies
// only in `AUDIO` mode.
LowQualityMicrophone *bool `json:"lowQualityMicrophone,omitempty"`
// Mode The conversation mode of each job. Unset means `TEXT`.
Mode *LivekitSimulationMode `json:"mode,omitempty"`
// NumSimulations The number of scenarios to generate from the agent source when
// `scenarioGroup` is unset.
NumSimulations *int32 `json:"numSimulations,omitempty"`
// PacketLoss When true, the audio of the simulated user has packet loss. Applies
// only in `AUDIO` mode.
PacketLoss *bool `json:"packetLoss,omitempty"`
// Region Reserved. Must be empty. The API chooses where the run happens.
Region *string `json:"region,omitempty"`
// ScenarioGroup The scenarios to run, with the contents of a `scenarios.yaml` file.
// When set, the run plays only these scenarios and does not generate
// `numSimulations` scenarios. The run needs no source upload and starts
// immediately.
ScenarioGroup *LivekitScenarioGroup `json:"scenarioGroup,omitempty"`
}
SimulationServiceCreateSimulationRunJSONBody defines parameters for SimulationServiceCreateSimulationRun.
type SimulationServiceCreateSimulationRunJSONRequestBody ¶
type SimulationServiceCreateSimulationRunJSONRequestBody SimulationServiceCreateSimulationRunJSONBody
SimulationServiceCreateSimulationRunJSONRequestBody defines body for SimulationServiceCreateSimulationRun for application/json ContentType.
type SimulationServiceCreateSimulationRunResponse ¶
type SimulationServiceCreateSimulationRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceCreateSimulationRunResponse ¶
func ParseSimulationServiceCreateSimulationRunResponse(rsp *http.Response) (*SimulationServiceCreateSimulationRunResponse, error)
ParseSimulationServiceCreateSimulationRunResponse parses an HTTP response from a SimulationServiceCreateSimulationRunWithResponse call
func (SimulationServiceCreateSimulationRunResponse) ContentType ¶
func (r SimulationServiceCreateSimulationRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceCreateSimulationRunResponse) GetBody ¶
func (r SimulationServiceCreateSimulationRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceCreateSimulationRunResponse) GetJSON200 ¶
func (r SimulationServiceCreateSimulationRunResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceCreateSimulationRunResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceCreateSimulationRunResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceCreateSimulationRunResponse) Status ¶
func (r SimulationServiceCreateSimulationRunResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceCreateSimulationRunResponse) StatusCode ¶
func (r SimulationServiceCreateSimulationRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceGenerateScenarioFromSessionJSONBody ¶ added in v2.19.0
type SimulationServiceGenerateScenarioFromSessionJSONBody struct {
// Region Ignored. The API finds the session recording by project and
// room.
Region *string `json:"region,omitempty"`
// RoomId The ID of the room session (`RM_...`) to generate the scenario from.
RoomId *string `json:"roomId,omitempty"`
}
SimulationServiceGenerateScenarioFromSessionJSONBody defines parameters for SimulationServiceGenerateScenarioFromSession.
type SimulationServiceGenerateScenarioFromSessionJSONRequestBody ¶ added in v2.19.0
type SimulationServiceGenerateScenarioFromSessionJSONRequestBody SimulationServiceGenerateScenarioFromSessionJSONBody
SimulationServiceGenerateScenarioFromSessionJSONRequestBody defines body for SimulationServiceGenerateScenarioFromSession for application/json ContentType.
type SimulationServiceGenerateScenarioFromSessionResponse ¶ added in v2.19.0
type SimulationServiceGenerateScenarioFromSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceGenerateScenarioFromSessionResponse ¶ added in v2.19.0
func ParseSimulationServiceGenerateScenarioFromSessionResponse(rsp *http.Response) (*SimulationServiceGenerateScenarioFromSessionResponse, error)
ParseSimulationServiceGenerateScenarioFromSessionResponse parses an HTTP response from a SimulationServiceGenerateScenarioFromSessionWithResponse call
func (SimulationServiceGenerateScenarioFromSessionResponse) ContentType ¶ added in v2.19.0
func (r SimulationServiceGenerateScenarioFromSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceGenerateScenarioFromSessionResponse) GetBody ¶ added in v2.19.0
func (r SimulationServiceGenerateScenarioFromSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceGenerateScenarioFromSessionResponse) GetJSON200 ¶ added in v2.19.0
func (r SimulationServiceGenerateScenarioFromSessionResponse) GetJSON200() *LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceGenerateScenarioFromSessionResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceGenerateScenarioFromSessionResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceGenerateScenarioFromSessionResponse) Status ¶ added in v2.19.0
func (r SimulationServiceGenerateScenarioFromSessionResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceGenerateScenarioFromSessionResponse) StatusCode ¶ added in v2.19.0
func (r SimulationServiceGenerateScenarioFromSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceGetSimulationRunResponse ¶
type SimulationServiceGetSimulationRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceGetSimulationRunResponse ¶
func ParseSimulationServiceGetSimulationRunResponse(rsp *http.Response) (*SimulationServiceGetSimulationRunResponse, error)
ParseSimulationServiceGetSimulationRunResponse parses an HTTP response from a SimulationServiceGetSimulationRunWithResponse call
func (SimulationServiceGetSimulationRunResponse) ContentType ¶
func (r SimulationServiceGetSimulationRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceGetSimulationRunResponse) GetBody ¶
func (r SimulationServiceGetSimulationRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceGetSimulationRunResponse) GetJSON200 ¶
func (r SimulationServiceGetSimulationRunResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceGetSimulationRunResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceGetSimulationRunResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceGetSimulationRunResponse) Status ¶
func (r SimulationServiceGetSimulationRunResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceGetSimulationRunResponse) StatusCode ¶
func (r SimulationServiceGetSimulationRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceGetSimulationRunSummaryResponse ¶ added in v2.19.0
type SimulationServiceGetSimulationRunSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceGetSimulationRunSummaryResponse ¶ added in v2.19.0
func ParseSimulationServiceGetSimulationRunSummaryResponse(rsp *http.Response) (*SimulationServiceGetSimulationRunSummaryResponse, error)
ParseSimulationServiceGetSimulationRunSummaryResponse parses an HTTP response from a SimulationServiceGetSimulationRunSummaryWithResponse call
func (SimulationServiceGetSimulationRunSummaryResponse) ContentType ¶ added in v2.19.0
func (r SimulationServiceGetSimulationRunSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceGetSimulationRunSummaryResponse) GetBody ¶ added in v2.19.0
func (r SimulationServiceGetSimulationRunSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceGetSimulationRunSummaryResponse) GetJSON200 ¶ added in v2.19.0
func (r SimulationServiceGetSimulationRunSummaryResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceGetSimulationRunSummaryResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceGetSimulationRunSummaryResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceGetSimulationRunSummaryResponse) Status ¶ added in v2.19.0
func (r SimulationServiceGetSimulationRunSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceGetSimulationRunSummaryResponse) StatusCode ¶ added in v2.19.0
func (r SimulationServiceGetSimulationRunSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SimulationServiceListSimulationRunsParams ¶
type SimulationServiceListSimulationRunsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Status A run status. Returns only the runs in this status.
Status *LivekitSimulationRunStatus `form:"status,omitempty" json:"status,omitempty"`
// AgentName An agent name. Returns only the runs of the agent with this exact
// name.
AgentName *string `form:"agentName,omitempty" json:"agentName,omitempty"`
// StartTime The start of the window on the creation time of the run, inclusive.
// When unset, the window starts 60 days before `endTime`. The window can
// be at most 60 days. A longer window returns `InvalidArgument`.
StartTime *time.Time `form:"startTime,omitempty" json:"startTime,omitempty"`
// EndTime The end of the window on the creation time of the run, exclusive.
// When unset, the window ends now.
EndTime *time.Time `form:"endTime,omitempty" json:"endTime,omitempty"`
// Mode A conversation mode. Returns only the runs in this mode.
Mode *LivekitSimulationMode `form:"mode,omitempty" json:"mode,omitempty"`
}
SimulationServiceListSimulationRunsParams defines parameters for SimulationServiceListSimulationRuns.
type SimulationServiceListSimulationRunsResponse ¶
type SimulationServiceListSimulationRunsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiSimulationsV1SimulationRunsListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseSimulationServiceListSimulationRunsResponse ¶
func ParseSimulationServiceListSimulationRunsResponse(rsp *http.Response) (*SimulationServiceListSimulationRunsResponse, error)
ParseSimulationServiceListSimulationRunsResponse parses an HTTP response from a SimulationServiceListSimulationRunsWithResponse call
func (SimulationServiceListSimulationRunsResponse) ContentType ¶
func (r SimulationServiceListSimulationRunsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SimulationServiceListSimulationRunsResponse) GetBody ¶
func (r SimulationServiceListSimulationRunsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SimulationServiceListSimulationRunsResponse) GetJSON200 ¶
func (r SimulationServiceListSimulationRunsResponse) GetJSON200() *LivekitPublicapiSimulationsV1SimulationRunsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SimulationServiceListSimulationRunsResponse) GetJSONDefault ¶ added in v2.19.3
func (r SimulationServiceListSimulationRunsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SimulationServiceListSimulationRunsResponse) Status ¶
func (r SimulationServiceListSimulationRunsResponse) Status() string
Status returns HTTPResponse.Status
func (SimulationServiceListSimulationRunsResponse) StatusCode ¶
func (r SimulationServiceListSimulationRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceCreateDispatchRuleJSONBody ¶ added in v2.20.1
type TelephonyServiceCreateDispatchRuleJSONBody struct {
// DispatchRule The dispatch rule to create. The API makes its ID, and ignores
// `sipDispatchRuleId`.
DispatchRule *LivekitSIPDispatchRuleInfo `json:"dispatchRule,omitempty"`
}
TelephonyServiceCreateDispatchRuleJSONBody defines parameters for TelephonyServiceCreateDispatchRule.
type TelephonyServiceCreateDispatchRuleJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceCreateDispatchRuleJSONRequestBody TelephonyServiceCreateDispatchRuleJSONBody
TelephonyServiceCreateDispatchRuleJSONRequestBody defines body for TelephonyServiceCreateDispatchRule for application/json ContentType.
type TelephonyServiceCreateDispatchRuleResponse ¶ added in v2.20.1
type TelephonyServiceCreateDispatchRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1DispatchRulesCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceCreateDispatchRuleResponse ¶ added in v2.20.1
func ParseTelephonyServiceCreateDispatchRuleResponse(rsp *http.Response) (*TelephonyServiceCreateDispatchRuleResponse, error)
ParseTelephonyServiceCreateDispatchRuleResponse parses an HTTP response from a TelephonyServiceCreateDispatchRuleWithResponse call
func (TelephonyServiceCreateDispatchRuleResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceCreateDispatchRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceCreateDispatchRuleResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceCreateDispatchRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceCreateDispatchRuleResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceCreateDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceCreateDispatchRuleResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceCreateDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceCreateDispatchRuleResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceCreateDispatchRuleResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceCreateDispatchRuleResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceCreateDispatchRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceCreateInboundTrunkJSONBody ¶ added in v2.20.1
type TelephonyServiceCreateInboundTrunkJSONBody struct {
// Trunk The trunk to create. The API makes its ID, and ignores
// `sipTrunkId`.
Trunk *LivekitSIPInboundTrunkInfo `json:"trunk,omitempty"`
}
TelephonyServiceCreateInboundTrunkJSONBody defines parameters for TelephonyServiceCreateInboundTrunk.
type TelephonyServiceCreateInboundTrunkJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceCreateInboundTrunkJSONRequestBody TelephonyServiceCreateInboundTrunkJSONBody
TelephonyServiceCreateInboundTrunkJSONRequestBody defines body for TelephonyServiceCreateInboundTrunk for application/json ContentType.
type TelephonyServiceCreateInboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceCreateInboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1InboundTrunksCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceCreateInboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceCreateInboundTrunkResponse(rsp *http.Response) (*TelephonyServiceCreateInboundTrunkResponse, error)
ParseTelephonyServiceCreateInboundTrunkResponse parses an HTTP response from a TelephonyServiceCreateInboundTrunkWithResponse call
func (TelephonyServiceCreateInboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceCreateInboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceCreateInboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceCreateInboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceCreateInboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceCreateInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceCreateInboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceCreateInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceCreateInboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceCreateInboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceCreateInboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceCreateInboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceCreateOutboundTrunkJSONBody ¶ added in v2.20.1
type TelephonyServiceCreateOutboundTrunkJSONBody struct {
// Trunk The trunk to create. The API makes its ID, and ignores
// `sipTrunkId`.
Trunk *LivekitSIPOutboundTrunkInfo `json:"trunk,omitempty"`
}
TelephonyServiceCreateOutboundTrunkJSONBody defines parameters for TelephonyServiceCreateOutboundTrunk.
type TelephonyServiceCreateOutboundTrunkJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceCreateOutboundTrunkJSONRequestBody TelephonyServiceCreateOutboundTrunkJSONBody
TelephonyServiceCreateOutboundTrunkJSONRequestBody defines body for TelephonyServiceCreateOutboundTrunk for application/json ContentType.
type TelephonyServiceCreateOutboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceCreateOutboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceCreateOutboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceCreateOutboundTrunkResponse(rsp *http.Response) (*TelephonyServiceCreateOutboundTrunkResponse, error)
ParseTelephonyServiceCreateOutboundTrunkResponse parses an HTTP response from a TelephonyServiceCreateOutboundTrunkWithResponse call
func (TelephonyServiceCreateOutboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceCreateOutboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceCreateOutboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceCreateOutboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceCreateOutboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceCreateOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceCreateOutboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceCreateOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceCreateOutboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceCreateOutboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceCreateOutboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceCreateOutboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceCreateSIPParticipantJSONBody ¶ added in v2.20.1
type TelephonyServiceCreateSIPParticipantJSONBody struct {
Participant *LivekitCreateSIPParticipantRequest `json:"participant,omitempty"`
}
TelephonyServiceCreateSIPParticipantJSONBody defines parameters for TelephonyServiceCreateSIPParticipant.
type TelephonyServiceCreateSIPParticipantJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceCreateSIPParticipantJSONRequestBody TelephonyServiceCreateSIPParticipantJSONBody
TelephonyServiceCreateSIPParticipantJSONRequestBody defines body for TelephonyServiceCreateSIPParticipant for application/json ContentType.
type TelephonyServiceCreateSIPParticipantResponse ¶ added in v2.20.1
type TelephonyServiceCreateSIPParticipantResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceCreateSIPParticipantResponse ¶ added in v2.20.1
func ParseTelephonyServiceCreateSIPParticipantResponse(rsp *http.Response) (*TelephonyServiceCreateSIPParticipantResponse, error)
ParseTelephonyServiceCreateSIPParticipantResponse parses an HTTP response from a TelephonyServiceCreateSIPParticipantWithResponse call
func (TelephonyServiceCreateSIPParticipantResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceCreateSIPParticipantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceCreateSIPParticipantResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceCreateSIPParticipantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceCreateSIPParticipantResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceCreateSIPParticipantResponse) GetJSON200() *LivekitPublicapiTelephonyV1SIPParticipantsCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceCreateSIPParticipantResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceCreateSIPParticipantResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceCreateSIPParticipantResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceCreateSIPParticipantResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceCreateSIPParticipantResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceCreateSIPParticipantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceDeleteDispatchRuleResponse ¶ added in v2.20.1
type TelephonyServiceDeleteDispatchRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceDeleteDispatchRuleResponse ¶ added in v2.20.1
func ParseTelephonyServiceDeleteDispatchRuleResponse(rsp *http.Response) (*TelephonyServiceDeleteDispatchRuleResponse, error)
ParseTelephonyServiceDeleteDispatchRuleResponse parses an HTTP response from a TelephonyServiceDeleteDispatchRuleWithResponse call
func (TelephonyServiceDeleteDispatchRuleResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceDeleteDispatchRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceDeleteDispatchRuleResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceDeleteDispatchRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceDeleteDispatchRuleResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceDeleteDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesDeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceDeleteDispatchRuleResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceDeleteDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceDeleteDispatchRuleResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceDeleteDispatchRuleResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceDeleteDispatchRuleResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceDeleteDispatchRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceDeleteInboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceDeleteInboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceDeleteInboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceDeleteInboundTrunkResponse(rsp *http.Response) (*TelephonyServiceDeleteInboundTrunkResponse, error)
ParseTelephonyServiceDeleteInboundTrunkResponse parses an HTTP response from a TelephonyServiceDeleteInboundTrunkWithResponse call
func (TelephonyServiceDeleteInboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceDeleteInboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceDeleteInboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceDeleteInboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceDeleteInboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceDeleteInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksDeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceDeleteInboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceDeleteInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceDeleteInboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceDeleteInboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceDeleteInboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceDeleteInboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceDeleteOutboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceDeleteOutboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceDeleteOutboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceDeleteOutboundTrunkResponse(rsp *http.Response) (*TelephonyServiceDeleteOutboundTrunkResponse, error)
ParseTelephonyServiceDeleteOutboundTrunkResponse parses an HTTP response from a TelephonyServiceDeleteOutboundTrunkWithResponse call
func (TelephonyServiceDeleteOutboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceDeleteOutboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceDeleteOutboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceDeleteOutboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceDeleteOutboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceDeleteOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksDeleteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceDeleteOutboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceDeleteOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceDeleteOutboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceDeleteOutboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceDeleteOutboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceDeleteOutboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceGetDispatchRuleResponse ¶ added in v2.20.1
type TelephonyServiceGetDispatchRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1DispatchRulesGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceGetDispatchRuleResponse ¶ added in v2.20.1
func ParseTelephonyServiceGetDispatchRuleResponse(rsp *http.Response) (*TelephonyServiceGetDispatchRuleResponse, error)
ParseTelephonyServiceGetDispatchRuleResponse parses an HTTP response from a TelephonyServiceGetDispatchRuleWithResponse call
func (TelephonyServiceGetDispatchRuleResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceGetDispatchRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceGetDispatchRuleResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceGetDispatchRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceGetDispatchRuleResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceGetDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceGetDispatchRuleResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceGetDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceGetDispatchRuleResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceGetDispatchRuleResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceGetDispatchRuleResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceGetDispatchRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceGetInboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceGetInboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1InboundTrunksGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceGetInboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceGetInboundTrunkResponse(rsp *http.Response) (*TelephonyServiceGetInboundTrunkResponse, error)
ParseTelephonyServiceGetInboundTrunkResponse parses an HTTP response from a TelephonyServiceGetInboundTrunkWithResponse call
func (TelephonyServiceGetInboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceGetInboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceGetInboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceGetInboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceGetInboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceGetInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceGetInboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceGetInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceGetInboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceGetInboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceGetInboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceGetInboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceGetOutboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceGetOutboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1OutboundTrunksGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceGetOutboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceGetOutboundTrunkResponse(rsp *http.Response) (*TelephonyServiceGetOutboundTrunkResponse, error)
ParseTelephonyServiceGetOutboundTrunkResponse parses an HTTP response from a TelephonyServiceGetOutboundTrunkWithResponse call
func (TelephonyServiceGetOutboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceGetOutboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceGetOutboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceGetOutboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceGetOutboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceGetOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceGetOutboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceGetOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceGetOutboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceGetOutboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceGetOutboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceGetOutboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceGetPhoneNumberResponse ¶ added in v2.20.1
type TelephonyServiceGetPhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1PhoneNumbersGetResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceGetPhoneNumberResponse ¶ added in v2.20.1
func ParseTelephonyServiceGetPhoneNumberResponse(rsp *http.Response) (*TelephonyServiceGetPhoneNumberResponse, error)
ParseTelephonyServiceGetPhoneNumberResponse parses an HTTP response from a TelephonyServiceGetPhoneNumberWithResponse call
func (TelephonyServiceGetPhoneNumberResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceGetPhoneNumberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceGetPhoneNumberResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceGetPhoneNumberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceGetPhoneNumberResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceGetPhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceGetPhoneNumberResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceGetPhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceGetPhoneNumberResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceGetPhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceGetPhoneNumberResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceGetPhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceListDispatchRulesParams ¶ added in v2.20.1
type TelephonyServiceListDispatchRulesParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// TrunkIds Trunk IDs (`ST_...`) or phone number IDs (`PN_...`). Returns only the
// rules that apply to one of them, including the rules that apply to
// every trunk.
TrunkIds *[]string `form:"trunkIds,omitempty" json:"trunkIds,omitempty"`
}
TelephonyServiceListDispatchRulesParams defines parameters for TelephonyServiceListDispatchRules.
type TelephonyServiceListDispatchRulesResponse ¶ added in v2.20.1
type TelephonyServiceListDispatchRulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1DispatchRulesListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceListDispatchRulesResponse ¶ added in v2.20.1
func ParseTelephonyServiceListDispatchRulesResponse(rsp *http.Response) (*TelephonyServiceListDispatchRulesResponse, error)
ParseTelephonyServiceListDispatchRulesResponse parses an HTTP response from a TelephonyServiceListDispatchRulesWithResponse call
func (TelephonyServiceListDispatchRulesResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceListDispatchRulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceListDispatchRulesResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceListDispatchRulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceListDispatchRulesResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceListDispatchRulesResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceListDispatchRulesResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceListDispatchRulesResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceListDispatchRulesResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceListDispatchRulesResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceListDispatchRulesResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceListDispatchRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceListInboundTrunksParams ¶ added in v2.20.1
type TelephonyServiceListInboundTrunksParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Numbers Phone numbers in E.164 format. Returns only the trunks that accept a
// call to one of these numbers, including the trunks that accept a call
// to any number.
Numbers *[]string `form:"numbers,omitempty" json:"numbers,omitempty"`
}
TelephonyServiceListInboundTrunksParams defines parameters for TelephonyServiceListInboundTrunks.
type TelephonyServiceListInboundTrunksResponse ¶ added in v2.20.1
type TelephonyServiceListInboundTrunksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1InboundTrunksListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceListInboundTrunksResponse ¶ added in v2.20.1
func ParseTelephonyServiceListInboundTrunksResponse(rsp *http.Response) (*TelephonyServiceListInboundTrunksResponse, error)
ParseTelephonyServiceListInboundTrunksResponse parses an HTTP response from a TelephonyServiceListInboundTrunksWithResponse call
func (TelephonyServiceListInboundTrunksResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceListInboundTrunksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceListInboundTrunksResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceListInboundTrunksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceListInboundTrunksResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceListInboundTrunksResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceListInboundTrunksResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceListInboundTrunksResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceListInboundTrunksResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceListInboundTrunksResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceListInboundTrunksResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceListInboundTrunksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceListOutboundTrunksParams ¶ added in v2.20.1
type TelephonyServiceListOutboundTrunksParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Numbers Phone numbers in E.164 format. Returns only the trunks that call
// from one of these numbers.
Numbers *[]string `form:"numbers,omitempty" json:"numbers,omitempty"`
}
TelephonyServiceListOutboundTrunksParams defines parameters for TelephonyServiceListOutboundTrunks.
type TelephonyServiceListOutboundTrunksResponse ¶ added in v2.20.1
type TelephonyServiceListOutboundTrunksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1OutboundTrunksListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceListOutboundTrunksResponse ¶ added in v2.20.1
func ParseTelephonyServiceListOutboundTrunksResponse(rsp *http.Response) (*TelephonyServiceListOutboundTrunksResponse, error)
ParseTelephonyServiceListOutboundTrunksResponse parses an HTTP response from a TelephonyServiceListOutboundTrunksWithResponse call
func (TelephonyServiceListOutboundTrunksResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceListOutboundTrunksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceListOutboundTrunksResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceListOutboundTrunksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceListOutboundTrunksResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceListOutboundTrunksResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceListOutboundTrunksResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceListOutboundTrunksResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceListOutboundTrunksResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceListOutboundTrunksResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceListOutboundTrunksResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceListOutboundTrunksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceListPhoneNumbersParams ¶ added in v2.20.1
type TelephonyServiceListPhoneNumbersParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// Statuses Returns only the numbers in one of these statuses. When empty,
// returns the active numbers.
Statuses *[]LivekitPhoneNumberStatus `form:"statuses,omitempty" json:"statuses,omitempty"`
// SipDispatchRuleId The ID of a dispatch rule (`SDR_...`). Returns only the numbers of
// this rule.
SipDispatchRuleId *string `form:"sipDispatchRuleId,omitempty" json:"sipDispatchRuleId,omitempty"`
}
TelephonyServiceListPhoneNumbersParams defines parameters for TelephonyServiceListPhoneNumbers.
type TelephonyServiceListPhoneNumbersResponse ¶ added in v2.20.1
type TelephonyServiceListPhoneNumbersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1PhoneNumbersListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceListPhoneNumbersResponse ¶ added in v2.20.1
func ParseTelephonyServiceListPhoneNumbersResponse(rsp *http.Response) (*TelephonyServiceListPhoneNumbersResponse, error)
ParseTelephonyServiceListPhoneNumbersResponse parses an HTTP response from a TelephonyServiceListPhoneNumbersWithResponse call
func (TelephonyServiceListPhoneNumbersResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceListPhoneNumbersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceListPhoneNumbersResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceListPhoneNumbersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceListPhoneNumbersResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceListPhoneNumbersResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceListPhoneNumbersResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceListPhoneNumbersResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceListPhoneNumbersResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceListPhoneNumbersResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceListPhoneNumbersResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceListPhoneNumbersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServicePurchasePhoneNumberJSONBody ¶ added in v2.20.1
type TelephonyServicePurchasePhoneNumberJSONBody struct {
// PhoneNumber The phone number to buy, in E.164 format, such as `+14155550100`,
// from `SearchPhoneNumbers`. Required.
PhoneNumber *string `json:"phoneNumber,omitempty"`
// SipDispatchRuleId The ID of a dispatch rule (`SDR_...`). When set, the API adds the
// number to this rule.
SipDispatchRuleId *string `json:"sipDispatchRuleId,omitempty"`
}
TelephonyServicePurchasePhoneNumberJSONBody defines parameters for TelephonyServicePurchasePhoneNumber.
type TelephonyServicePurchasePhoneNumberJSONRequestBody ¶ added in v2.20.1
type TelephonyServicePurchasePhoneNumberJSONRequestBody TelephonyServicePurchasePhoneNumberJSONBody
TelephonyServicePurchasePhoneNumberJSONRequestBody defines body for TelephonyServicePurchasePhoneNumber for application/json ContentType.
type TelephonyServicePurchasePhoneNumberResponse ¶ added in v2.20.1
type TelephonyServicePurchasePhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServicePurchasePhoneNumberResponse ¶ added in v2.20.1
func ParseTelephonyServicePurchasePhoneNumberResponse(rsp *http.Response) (*TelephonyServicePurchasePhoneNumberResponse, error)
ParseTelephonyServicePurchasePhoneNumberResponse parses an HTTP response from a TelephonyServicePurchasePhoneNumberWithResponse call
func (TelephonyServicePurchasePhoneNumberResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServicePurchasePhoneNumberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServicePurchasePhoneNumberResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServicePurchasePhoneNumberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServicePurchasePhoneNumberResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServicePurchasePhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersPurchaseResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServicePurchasePhoneNumberResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServicePurchasePhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServicePurchasePhoneNumberResponse) Status ¶ added in v2.20.1
func (r TelephonyServicePurchasePhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServicePurchasePhoneNumberResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServicePurchasePhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceReleasePhoneNumberResponse ¶ added in v2.20.1
type TelephonyServiceReleasePhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceReleasePhoneNumberResponse ¶ added in v2.20.1
func ParseTelephonyServiceReleasePhoneNumberResponse(rsp *http.Response) (*TelephonyServiceReleasePhoneNumberResponse, error)
ParseTelephonyServiceReleasePhoneNumberResponse parses an HTTP response from a TelephonyServiceReleasePhoneNumberWithResponse call
func (TelephonyServiceReleasePhoneNumberResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceReleasePhoneNumberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceReleasePhoneNumberResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceReleasePhoneNumberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceReleasePhoneNumberResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceReleasePhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersReleaseResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceReleasePhoneNumberResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceReleasePhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceReleasePhoneNumberResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceReleasePhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceReleasePhoneNumberResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceReleasePhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceSearchPhoneNumbersParams ¶ added in v2.20.1
type TelephonyServiceSearchPhoneNumbersParams struct {
// CountryCode The country, as an ISO 3166-1 alpha-2 code, such as `US`. Required.
CountryCode *string `form:"countryCode,omitempty" json:"countryCode,omitempty"`
// AreaCode The area code, such as `415`. When empty, returns numbers from any
// area code.
AreaCode *string `form:"areaCode,omitempty" json:"areaCode,omitempty"`
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
TelephonyServiceSearchPhoneNumbersParams defines parameters for TelephonyServiceSearchPhoneNumbers.
type TelephonyServiceSearchPhoneNumbersResponse ¶ added in v2.20.1
type TelephonyServiceSearchPhoneNumbersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceSearchPhoneNumbersResponse ¶ added in v2.20.1
func ParseTelephonyServiceSearchPhoneNumbersResponse(rsp *http.Response) (*TelephonyServiceSearchPhoneNumbersResponse, error)
ParseTelephonyServiceSearchPhoneNumbersResponse parses an HTTP response from a TelephonyServiceSearchPhoneNumbersWithResponse call
func (TelephonyServiceSearchPhoneNumbersResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceSearchPhoneNumbersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceSearchPhoneNumbersResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceSearchPhoneNumbersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceSearchPhoneNumbersResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceSearchPhoneNumbersResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersSearchResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceSearchPhoneNumbersResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceSearchPhoneNumbersResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceSearchPhoneNumbersResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceSearchPhoneNumbersResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceSearchPhoneNumbersResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceSearchPhoneNumbersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceTransferSIPParticipantJSONBody ¶ added in v2.20.1
type TelephonyServiceTransferSIPParticipantJSONBody struct {
Transfer *LivekitTransferSIPParticipantRequest `json:"transfer,omitempty"`
}
TelephonyServiceTransferSIPParticipantJSONBody defines parameters for TelephonyServiceTransferSIPParticipant.
type TelephonyServiceTransferSIPParticipantJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceTransferSIPParticipantJSONRequestBody TelephonyServiceTransferSIPParticipantJSONBody
TelephonyServiceTransferSIPParticipantJSONRequestBody defines body for TelephonyServiceTransferSIPParticipant for application/json ContentType.
type TelephonyServiceTransferSIPParticipantResponse ¶ added in v2.20.1
type TelephonyServiceTransferSIPParticipantResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceTransferSIPParticipantResponse ¶ added in v2.20.1
func ParseTelephonyServiceTransferSIPParticipantResponse(rsp *http.Response) (*TelephonyServiceTransferSIPParticipantResponse, error)
ParseTelephonyServiceTransferSIPParticipantResponse parses an HTTP response from a TelephonyServiceTransferSIPParticipantWithResponse call
func (TelephonyServiceTransferSIPParticipantResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceTransferSIPParticipantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceTransferSIPParticipantResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceTransferSIPParticipantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceTransferSIPParticipantResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceTransferSIPParticipantResponse) GetJSON200() *LivekitPublicapiTelephonyV1SIPParticipantsTransferResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceTransferSIPParticipantResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceTransferSIPParticipantResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceTransferSIPParticipantResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceTransferSIPParticipantResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceTransferSIPParticipantResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceTransferSIPParticipantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceUpdateDispatchRuleJSONBody ¶ added in v2.20.1
type TelephonyServiceUpdateDispatchRuleJSONBody struct {
// contains filtered or unexported fields
}
TelephonyServiceUpdateDispatchRuleJSONBody defines parameters for TelephonyServiceUpdateDispatchRule.
func (TelephonyServiceUpdateDispatchRuleJSONBody) AsTelephonyServiceUpdateDispatchRuleJSONBody0 ¶ added in v2.20.1
func (t TelephonyServiceUpdateDispatchRuleJSONBody) AsTelephonyServiceUpdateDispatchRuleJSONBody0() (TelephonyServiceUpdateDispatchRuleJSONBody0, error)
AsTelephonyServiceUpdateDispatchRuleJSONBody0 returns the union data inside the TelephonyServiceUpdateDispatchRuleJSONBody as a TelephonyServiceUpdateDispatchRuleJSONBody0
func (TelephonyServiceUpdateDispatchRuleJSONBody) AsTelephonyServiceUpdateDispatchRuleJSONBody1 ¶ added in v2.20.1
func (t TelephonyServiceUpdateDispatchRuleJSONBody) AsTelephonyServiceUpdateDispatchRuleJSONBody1() (TelephonyServiceUpdateDispatchRuleJSONBody1, error)
AsTelephonyServiceUpdateDispatchRuleJSONBody1 returns the union data inside the TelephonyServiceUpdateDispatchRuleJSONBody as a TelephonyServiceUpdateDispatchRuleJSONBody1
func (*TelephonyServiceUpdateDispatchRuleJSONBody) FromTelephonyServiceUpdateDispatchRuleJSONBody0 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateDispatchRuleJSONBody) FromTelephonyServiceUpdateDispatchRuleJSONBody0(v TelephonyServiceUpdateDispatchRuleJSONBody0) error
FromTelephonyServiceUpdateDispatchRuleJSONBody0 overwrites any union data inside the TelephonyServiceUpdateDispatchRuleJSONBody as the provided TelephonyServiceUpdateDispatchRuleJSONBody0
func (*TelephonyServiceUpdateDispatchRuleJSONBody) FromTelephonyServiceUpdateDispatchRuleJSONBody1 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateDispatchRuleJSONBody) FromTelephonyServiceUpdateDispatchRuleJSONBody1(v TelephonyServiceUpdateDispatchRuleJSONBody1) error
FromTelephonyServiceUpdateDispatchRuleJSONBody1 overwrites any union data inside the TelephonyServiceUpdateDispatchRuleJSONBody as the provided TelephonyServiceUpdateDispatchRuleJSONBody1
func (TelephonyServiceUpdateDispatchRuleJSONBody) MarshalJSON ¶ added in v2.20.1
func (t TelephonyServiceUpdateDispatchRuleJSONBody) MarshalJSON() ([]byte, error)
func (*TelephonyServiceUpdateDispatchRuleJSONBody) MergeTelephonyServiceUpdateDispatchRuleJSONBody0 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateDispatchRuleJSONBody) MergeTelephonyServiceUpdateDispatchRuleJSONBody0(v TelephonyServiceUpdateDispatchRuleJSONBody0) error
MergeTelephonyServiceUpdateDispatchRuleJSONBody0 performs a merge with any union data inside the TelephonyServiceUpdateDispatchRuleJSONBody, using the provided TelephonyServiceUpdateDispatchRuleJSONBody0
func (*TelephonyServiceUpdateDispatchRuleJSONBody) MergeTelephonyServiceUpdateDispatchRuleJSONBody1 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateDispatchRuleJSONBody) MergeTelephonyServiceUpdateDispatchRuleJSONBody1(v TelephonyServiceUpdateDispatchRuleJSONBody1) error
MergeTelephonyServiceUpdateDispatchRuleJSONBody1 performs a merge with any union data inside the TelephonyServiceUpdateDispatchRuleJSONBody, using the provided TelephonyServiceUpdateDispatchRuleJSONBody1
func (*TelephonyServiceUpdateDispatchRuleJSONBody) UnmarshalJSON ¶ added in v2.20.1
func (t *TelephonyServiceUpdateDispatchRuleJSONBody) UnmarshalJSON(b []byte) error
type TelephonyServiceUpdateDispatchRuleJSONBody0 ¶ added in v2.20.1
type TelephonyServiceUpdateDispatchRuleJSONBody0 struct {
// Replace The rule that replaces the current one. Unset fields take their
// default, not their current value.
Replace *LivekitSIPDispatchRuleInfo `json:"replace,omitempty"`
}
TelephonyServiceUpdateDispatchRuleJSONBody0 defines parameters for TelephonyServiceUpdateDispatchRule.
type TelephonyServiceUpdateDispatchRuleJSONBody1 ¶ added in v2.20.1
type TelephonyServiceUpdateDispatchRuleJSONBody1 struct {
// Update The fields to change. Unset fields keep their current value.
Update *LivekitSIPDispatchRuleUpdate `json:"update,omitempty"`
}
TelephonyServiceUpdateDispatchRuleJSONBody1 defines parameters for TelephonyServiceUpdateDispatchRule.
type TelephonyServiceUpdateDispatchRuleJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceUpdateDispatchRuleJSONRequestBody TelephonyServiceUpdateDispatchRuleJSONBody
TelephonyServiceUpdateDispatchRuleJSONRequestBody defines body for TelephonyServiceUpdateDispatchRule for application/json ContentType.
type TelephonyServiceUpdateDispatchRuleResponse ¶ added in v2.20.1
type TelephonyServiceUpdateDispatchRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceUpdateDispatchRuleResponse ¶ added in v2.20.1
func ParseTelephonyServiceUpdateDispatchRuleResponse(rsp *http.Response) (*TelephonyServiceUpdateDispatchRuleResponse, error)
ParseTelephonyServiceUpdateDispatchRuleResponse parses an HTTP response from a TelephonyServiceUpdateDispatchRuleWithResponse call
func (TelephonyServiceUpdateDispatchRuleResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceUpdateDispatchRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceUpdateDispatchRuleResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceUpdateDispatchRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceUpdateDispatchRuleResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceUpdateDispatchRuleResponse) GetJSON200() *LivekitPublicapiTelephonyV1DispatchRulesUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceUpdateDispatchRuleResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceUpdateDispatchRuleResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceUpdateDispatchRuleResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceUpdateDispatchRuleResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceUpdateDispatchRuleResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceUpdateDispatchRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceUpdateInboundTrunkJSONBody ¶ added in v2.20.1
type TelephonyServiceUpdateInboundTrunkJSONBody struct {
// contains filtered or unexported fields
}
TelephonyServiceUpdateInboundTrunkJSONBody defines parameters for TelephonyServiceUpdateInboundTrunk.
func (TelephonyServiceUpdateInboundTrunkJSONBody) AsTelephonyServiceUpdateInboundTrunkJSONBody0 ¶ added in v2.20.1
func (t TelephonyServiceUpdateInboundTrunkJSONBody) AsTelephonyServiceUpdateInboundTrunkJSONBody0() (TelephonyServiceUpdateInboundTrunkJSONBody0, error)
AsTelephonyServiceUpdateInboundTrunkJSONBody0 returns the union data inside the TelephonyServiceUpdateInboundTrunkJSONBody as a TelephonyServiceUpdateInboundTrunkJSONBody0
func (TelephonyServiceUpdateInboundTrunkJSONBody) AsTelephonyServiceUpdateInboundTrunkJSONBody1 ¶ added in v2.20.1
func (t TelephonyServiceUpdateInboundTrunkJSONBody) AsTelephonyServiceUpdateInboundTrunkJSONBody1() (TelephonyServiceUpdateInboundTrunkJSONBody1, error)
AsTelephonyServiceUpdateInboundTrunkJSONBody1 returns the union data inside the TelephonyServiceUpdateInboundTrunkJSONBody as a TelephonyServiceUpdateInboundTrunkJSONBody1
func (*TelephonyServiceUpdateInboundTrunkJSONBody) FromTelephonyServiceUpdateInboundTrunkJSONBody0 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateInboundTrunkJSONBody) FromTelephonyServiceUpdateInboundTrunkJSONBody0(v TelephonyServiceUpdateInboundTrunkJSONBody0) error
FromTelephonyServiceUpdateInboundTrunkJSONBody0 overwrites any union data inside the TelephonyServiceUpdateInboundTrunkJSONBody as the provided TelephonyServiceUpdateInboundTrunkJSONBody0
func (*TelephonyServiceUpdateInboundTrunkJSONBody) FromTelephonyServiceUpdateInboundTrunkJSONBody1 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateInboundTrunkJSONBody) FromTelephonyServiceUpdateInboundTrunkJSONBody1(v TelephonyServiceUpdateInboundTrunkJSONBody1) error
FromTelephonyServiceUpdateInboundTrunkJSONBody1 overwrites any union data inside the TelephonyServiceUpdateInboundTrunkJSONBody as the provided TelephonyServiceUpdateInboundTrunkJSONBody1
func (TelephonyServiceUpdateInboundTrunkJSONBody) MarshalJSON ¶ added in v2.20.1
func (t TelephonyServiceUpdateInboundTrunkJSONBody) MarshalJSON() ([]byte, error)
func (*TelephonyServiceUpdateInboundTrunkJSONBody) MergeTelephonyServiceUpdateInboundTrunkJSONBody0 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateInboundTrunkJSONBody) MergeTelephonyServiceUpdateInboundTrunkJSONBody0(v TelephonyServiceUpdateInboundTrunkJSONBody0) error
MergeTelephonyServiceUpdateInboundTrunkJSONBody0 performs a merge with any union data inside the TelephonyServiceUpdateInboundTrunkJSONBody, using the provided TelephonyServiceUpdateInboundTrunkJSONBody0
func (*TelephonyServiceUpdateInboundTrunkJSONBody) MergeTelephonyServiceUpdateInboundTrunkJSONBody1 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateInboundTrunkJSONBody) MergeTelephonyServiceUpdateInboundTrunkJSONBody1(v TelephonyServiceUpdateInboundTrunkJSONBody1) error
MergeTelephonyServiceUpdateInboundTrunkJSONBody1 performs a merge with any union data inside the TelephonyServiceUpdateInboundTrunkJSONBody, using the provided TelephonyServiceUpdateInboundTrunkJSONBody1
func (*TelephonyServiceUpdateInboundTrunkJSONBody) UnmarshalJSON ¶ added in v2.20.1
func (t *TelephonyServiceUpdateInboundTrunkJSONBody) UnmarshalJSON(b []byte) error
type TelephonyServiceUpdateInboundTrunkJSONBody0 ¶ added in v2.20.1
type TelephonyServiceUpdateInboundTrunkJSONBody0 struct {
// Replace The trunk that replaces the current one. Unset fields take their
// default, not their current value.
Replace *LivekitSIPInboundTrunkInfo `json:"replace,omitempty"`
}
TelephonyServiceUpdateInboundTrunkJSONBody0 defines parameters for TelephonyServiceUpdateInboundTrunk.
type TelephonyServiceUpdateInboundTrunkJSONBody1 ¶ added in v2.20.1
type TelephonyServiceUpdateInboundTrunkJSONBody1 struct {
// Update The fields to change. Unset fields keep their current value.
Update *LivekitSIPInboundTrunkUpdate `json:"update,omitempty"`
}
TelephonyServiceUpdateInboundTrunkJSONBody1 defines parameters for TelephonyServiceUpdateInboundTrunk.
type TelephonyServiceUpdateInboundTrunkJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceUpdateInboundTrunkJSONRequestBody TelephonyServiceUpdateInboundTrunkJSONBody
TelephonyServiceUpdateInboundTrunkJSONRequestBody defines body for TelephonyServiceUpdateInboundTrunk for application/json ContentType.
type TelephonyServiceUpdateInboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceUpdateInboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceUpdateInboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceUpdateInboundTrunkResponse(rsp *http.Response) (*TelephonyServiceUpdateInboundTrunkResponse, error)
ParseTelephonyServiceUpdateInboundTrunkResponse parses an HTTP response from a TelephonyServiceUpdateInboundTrunkWithResponse call
func (TelephonyServiceUpdateInboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceUpdateInboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceUpdateInboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceUpdateInboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceUpdateInboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceUpdateInboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1InboundTrunksUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceUpdateInboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceUpdateInboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceUpdateInboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceUpdateInboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceUpdateInboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceUpdateInboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceUpdateOutboundTrunkJSONBody ¶ added in v2.20.1
type TelephonyServiceUpdateOutboundTrunkJSONBody struct {
// contains filtered or unexported fields
}
TelephonyServiceUpdateOutboundTrunkJSONBody defines parameters for TelephonyServiceUpdateOutboundTrunk.
func (TelephonyServiceUpdateOutboundTrunkJSONBody) AsTelephonyServiceUpdateOutboundTrunkJSONBody0 ¶ added in v2.20.1
func (t TelephonyServiceUpdateOutboundTrunkJSONBody) AsTelephonyServiceUpdateOutboundTrunkJSONBody0() (TelephonyServiceUpdateOutboundTrunkJSONBody0, error)
AsTelephonyServiceUpdateOutboundTrunkJSONBody0 returns the union data inside the TelephonyServiceUpdateOutboundTrunkJSONBody as a TelephonyServiceUpdateOutboundTrunkJSONBody0
func (TelephonyServiceUpdateOutboundTrunkJSONBody) AsTelephonyServiceUpdateOutboundTrunkJSONBody1 ¶ added in v2.20.1
func (t TelephonyServiceUpdateOutboundTrunkJSONBody) AsTelephonyServiceUpdateOutboundTrunkJSONBody1() (TelephonyServiceUpdateOutboundTrunkJSONBody1, error)
AsTelephonyServiceUpdateOutboundTrunkJSONBody1 returns the union data inside the TelephonyServiceUpdateOutboundTrunkJSONBody as a TelephonyServiceUpdateOutboundTrunkJSONBody1
func (*TelephonyServiceUpdateOutboundTrunkJSONBody) FromTelephonyServiceUpdateOutboundTrunkJSONBody0 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) FromTelephonyServiceUpdateOutboundTrunkJSONBody0(v TelephonyServiceUpdateOutboundTrunkJSONBody0) error
FromTelephonyServiceUpdateOutboundTrunkJSONBody0 overwrites any union data inside the TelephonyServiceUpdateOutboundTrunkJSONBody as the provided TelephonyServiceUpdateOutboundTrunkJSONBody0
func (*TelephonyServiceUpdateOutboundTrunkJSONBody) FromTelephonyServiceUpdateOutboundTrunkJSONBody1 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) FromTelephonyServiceUpdateOutboundTrunkJSONBody1(v TelephonyServiceUpdateOutboundTrunkJSONBody1) error
FromTelephonyServiceUpdateOutboundTrunkJSONBody1 overwrites any union data inside the TelephonyServiceUpdateOutboundTrunkJSONBody as the provided TelephonyServiceUpdateOutboundTrunkJSONBody1
func (TelephonyServiceUpdateOutboundTrunkJSONBody) MarshalJSON ¶ added in v2.20.1
func (t TelephonyServiceUpdateOutboundTrunkJSONBody) MarshalJSON() ([]byte, error)
func (*TelephonyServiceUpdateOutboundTrunkJSONBody) MergeTelephonyServiceUpdateOutboundTrunkJSONBody0 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) MergeTelephonyServiceUpdateOutboundTrunkJSONBody0(v TelephonyServiceUpdateOutboundTrunkJSONBody0) error
MergeTelephonyServiceUpdateOutboundTrunkJSONBody0 performs a merge with any union data inside the TelephonyServiceUpdateOutboundTrunkJSONBody, using the provided TelephonyServiceUpdateOutboundTrunkJSONBody0
func (*TelephonyServiceUpdateOutboundTrunkJSONBody) MergeTelephonyServiceUpdateOutboundTrunkJSONBody1 ¶ added in v2.20.1
func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) MergeTelephonyServiceUpdateOutboundTrunkJSONBody1(v TelephonyServiceUpdateOutboundTrunkJSONBody1) error
MergeTelephonyServiceUpdateOutboundTrunkJSONBody1 performs a merge with any union data inside the TelephonyServiceUpdateOutboundTrunkJSONBody, using the provided TelephonyServiceUpdateOutboundTrunkJSONBody1
func (*TelephonyServiceUpdateOutboundTrunkJSONBody) UnmarshalJSON ¶ added in v2.20.1
func (t *TelephonyServiceUpdateOutboundTrunkJSONBody) UnmarshalJSON(b []byte) error
type TelephonyServiceUpdateOutboundTrunkJSONBody0 ¶ added in v2.20.1
type TelephonyServiceUpdateOutboundTrunkJSONBody0 struct {
// Replace The trunk that replaces the current one. Unset fields take their
// default, not their current value.
Replace *LivekitSIPOutboundTrunkInfo `json:"replace,omitempty"`
}
TelephonyServiceUpdateOutboundTrunkJSONBody0 defines parameters for TelephonyServiceUpdateOutboundTrunk.
type TelephonyServiceUpdateOutboundTrunkJSONBody1 ¶ added in v2.20.1
type TelephonyServiceUpdateOutboundTrunkJSONBody1 struct {
// Update The fields to change. Unset fields keep their current value.
Update *LivekitSIPOutboundTrunkUpdate `json:"update,omitempty"`
}
TelephonyServiceUpdateOutboundTrunkJSONBody1 defines parameters for TelephonyServiceUpdateOutboundTrunk.
type TelephonyServiceUpdateOutboundTrunkJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceUpdateOutboundTrunkJSONRequestBody TelephonyServiceUpdateOutboundTrunkJSONBody
TelephonyServiceUpdateOutboundTrunkJSONRequestBody defines body for TelephonyServiceUpdateOutboundTrunk for application/json ContentType.
type TelephonyServiceUpdateOutboundTrunkResponse ¶ added in v2.20.1
type TelephonyServiceUpdateOutboundTrunkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceUpdateOutboundTrunkResponse ¶ added in v2.20.1
func ParseTelephonyServiceUpdateOutboundTrunkResponse(rsp *http.Response) (*TelephonyServiceUpdateOutboundTrunkResponse, error)
ParseTelephonyServiceUpdateOutboundTrunkResponse parses an HTTP response from a TelephonyServiceUpdateOutboundTrunkWithResponse call
func (TelephonyServiceUpdateOutboundTrunkResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceUpdateOutboundTrunkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceUpdateOutboundTrunkResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceUpdateOutboundTrunkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceUpdateOutboundTrunkResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceUpdateOutboundTrunkResponse) GetJSON200() *LivekitPublicapiTelephonyV1OutboundTrunksUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceUpdateOutboundTrunkResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceUpdateOutboundTrunkResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceUpdateOutboundTrunkResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceUpdateOutboundTrunkResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceUpdateOutboundTrunkResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceUpdateOutboundTrunkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TelephonyServiceUpdatePhoneNumberJSONBody ¶ added in v2.20.1
type TelephonyServiceUpdatePhoneNumberJSONBody struct {
// Name The new name of the number. When unset, the name doesn't change.
Name *string `json:"name,omitempty"`
// SipDispatchRuleId The ID of a dispatch rule (`SDR_...`) to add the number to. When
// unset, the rules of the number don't change.
SipDispatchRuleId *string `json:"sipDispatchRuleId,omitempty"`
}
TelephonyServiceUpdatePhoneNumberJSONBody defines parameters for TelephonyServiceUpdatePhoneNumber.
type TelephonyServiceUpdatePhoneNumberJSONRequestBody ¶ added in v2.20.1
type TelephonyServiceUpdatePhoneNumberJSONRequestBody TelephonyServiceUpdatePhoneNumberJSONBody
TelephonyServiceUpdatePhoneNumberJSONRequestBody defines body for TelephonyServiceUpdatePhoneNumber for application/json ContentType.
type TelephonyServiceUpdatePhoneNumberResponse ¶ added in v2.20.1
type TelephonyServiceUpdatePhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseTelephonyServiceUpdatePhoneNumberResponse ¶ added in v2.20.1
func ParseTelephonyServiceUpdatePhoneNumberResponse(rsp *http.Response) (*TelephonyServiceUpdatePhoneNumberResponse, error)
ParseTelephonyServiceUpdatePhoneNumberResponse parses an HTTP response from a TelephonyServiceUpdatePhoneNumberWithResponse call
func (TelephonyServiceUpdatePhoneNumberResponse) ContentType ¶ added in v2.20.1
func (r TelephonyServiceUpdatePhoneNumberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TelephonyServiceUpdatePhoneNumberResponse) GetBody ¶ added in v2.20.1
func (r TelephonyServiceUpdatePhoneNumberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TelephonyServiceUpdatePhoneNumberResponse) GetJSON200 ¶ added in v2.20.1
func (r TelephonyServiceUpdatePhoneNumberResponse) GetJSON200() *LivekitPublicapiTelephonyV1PhoneNumbersUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TelephonyServiceUpdatePhoneNumberResponse) GetJSONDefault ¶ added in v2.20.1
func (r TelephonyServiceUpdatePhoneNumberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (TelephonyServiceUpdatePhoneNumberResponse) Status ¶ added in v2.20.1
func (r TelephonyServiceUpdatePhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (TelephonyServiceUpdatePhoneNumberResponse) StatusCode ¶ added in v2.20.1
func (r TelephonyServiceUpdatePhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceGetCurrentUserResponse ¶
type UserServiceGetCurrentUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1GetCurrentUserResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseUserServiceGetCurrentUserResponse ¶
func ParseUserServiceGetCurrentUserResponse(rsp *http.Response) (*UserServiceGetCurrentUserResponse, error)
ParseUserServiceGetCurrentUserResponse parses an HTTP response from a UserServiceGetCurrentUserWithResponse call
func (UserServiceGetCurrentUserResponse) ContentType ¶
func (r UserServiceGetCurrentUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceGetCurrentUserResponse) GetBody ¶
func (r UserServiceGetCurrentUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceGetCurrentUserResponse) GetJSON200 ¶
func (r UserServiceGetCurrentUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetCurrentUserResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceGetCurrentUserResponse) GetJSONDefault ¶ added in v2.19.3
func (r UserServiceGetCurrentUserResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UserServiceGetCurrentUserResponse) Status ¶
func (r UserServiceGetCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceGetCurrentUserResponse) StatusCode ¶
func (r UserServiceGetCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceGetUserResponse ¶
type UserServiceGetUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1GetUserResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseUserServiceGetUserResponse ¶
func ParseUserServiceGetUserResponse(rsp *http.Response) (*UserServiceGetUserResponse, error)
ParseUserServiceGetUserResponse parses an HTTP response from a UserServiceGetUserWithResponse call
func (UserServiceGetUserResponse) ContentType ¶
func (r UserServiceGetUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceGetUserResponse) GetBody ¶
func (r UserServiceGetUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceGetUserResponse) GetJSON200 ¶
func (r UserServiceGetUserResponse) GetJSON200() *LivekitPublicapiUsersV1GetUserResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceGetUserResponse) GetJSONDefault ¶ added in v2.19.3
func (r UserServiceGetUserResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UserServiceGetUserResponse) Status ¶
func (r UserServiceGetUserResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceGetUserResponse) StatusCode ¶
func (r UserServiceGetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceListUsersParams ¶
type UserServiceListUsersParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
// ProjectId The ID of a project (`p_...`). Returns only the members of this project.
// Set `projectId`, `workspaceId`, or both. When you set both, the project
// must be in the workspace, and the list has the members of the project.
ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
// WorkspaceId The ID of a workspace (`wo_...`). Returns only the members of this
// workspace.
WorkspaceId *string `form:"workspaceId,omitempty" json:"workspaceId,omitempty"`
}
UserServiceListUsersParams defines parameters for UserServiceListUsers.
type UserServiceListUsersResponse ¶
type UserServiceListUsersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1ListUsersResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseUserServiceListUsersResponse ¶
func ParseUserServiceListUsersResponse(rsp *http.Response) (*UserServiceListUsersResponse, error)
ParseUserServiceListUsersResponse parses an HTTP response from a UserServiceListUsersWithResponse call
func (UserServiceListUsersResponse) ContentType ¶
func (r UserServiceListUsersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceListUsersResponse) GetBody ¶
func (r UserServiceListUsersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceListUsersResponse) GetJSON200 ¶
func (r UserServiceListUsersResponse) GetJSON200() *LivekitPublicapiUsersV1ListUsersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceListUsersResponse) GetJSONDefault ¶ added in v2.19.3
func (r UserServiceListUsersResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UserServiceListUsersResponse) Status ¶
func (r UserServiceListUsersResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceListUsersResponse) StatusCode ¶
func (r UserServiceListUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserServiceRevokeSessionTokenResponse ¶ added in v2.19.4
type UserServiceRevokeSessionTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiUsersV1SessionTokenRevokeResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseUserServiceRevokeSessionTokenResponse ¶ added in v2.19.4
func ParseUserServiceRevokeSessionTokenResponse(rsp *http.Response) (*UserServiceRevokeSessionTokenResponse, error)
ParseUserServiceRevokeSessionTokenResponse parses an HTTP response from a UserServiceRevokeSessionTokenWithResponse call
func (UserServiceRevokeSessionTokenResponse) ContentType ¶ added in v2.19.4
func (r UserServiceRevokeSessionTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UserServiceRevokeSessionTokenResponse) GetBody ¶ added in v2.19.4
func (r UserServiceRevokeSessionTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UserServiceRevokeSessionTokenResponse) GetJSON200 ¶ added in v2.19.4
func (r UserServiceRevokeSessionTokenResponse) GetJSON200() *LivekitPublicapiUsersV1SessionTokenRevokeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UserServiceRevokeSessionTokenResponse) GetJSONDefault ¶ added in v2.19.4
func (r UserServiceRevokeSessionTokenResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UserServiceRevokeSessionTokenResponse) Status ¶ added in v2.19.4
func (r UserServiceRevokeSessionTokenResponse) Status() string
Status returns HTTPResponse.Status
func (UserServiceRevokeSessionTokenResponse) StatusCode ¶ added in v2.19.4
func (r UserServiceRevokeSessionTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceAnswerInviteJSONBody ¶
type WorkspaceServiceAnswerInviteJSONBody struct {
// Accept True accepts the invite; false declines it.
Accept *bool `json:"accept,omitempty"`
}
WorkspaceServiceAnswerInviteJSONBody defines parameters for WorkspaceServiceAnswerInvite.
type WorkspaceServiceAnswerInviteJSONRequestBody ¶
type WorkspaceServiceAnswerInviteJSONRequestBody WorkspaceServiceAnswerInviteJSONBody
WorkspaceServiceAnswerInviteJSONRequestBody defines body for WorkspaceServiceAnswerInvite for application/json ContentType.
type WorkspaceServiceAnswerInviteResponse ¶
type WorkspaceServiceAnswerInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1AnswerInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceAnswerInviteResponse ¶
func ParseWorkspaceServiceAnswerInviteResponse(rsp *http.Response) (*WorkspaceServiceAnswerInviteResponse, error)
ParseWorkspaceServiceAnswerInviteResponse parses an HTTP response from a WorkspaceServiceAnswerInviteWithResponse call
func (WorkspaceServiceAnswerInviteResponse) ContentType ¶
func (r WorkspaceServiceAnswerInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceAnswerInviteResponse) GetBody ¶
func (r WorkspaceServiceAnswerInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceAnswerInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceAnswerInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1AnswerInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceAnswerInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceAnswerInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceAnswerInviteResponse) Status ¶
func (r WorkspaceServiceAnswerInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceAnswerInviteResponse) StatusCode ¶
func (r WorkspaceServiceAnswerInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceCreateInviteJSONBody ¶
type WorkspaceServiceCreateInviteJSONBody struct {
// Email The email address to invite.
Email *string `json:"email,omitempty"`
// Role Access level to grant: 1 read, 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
}
WorkspaceServiceCreateInviteJSONBody defines parameters for WorkspaceServiceCreateInvite.
type WorkspaceServiceCreateInviteJSONRequestBody ¶
type WorkspaceServiceCreateInviteJSONRequestBody WorkspaceServiceCreateInviteJSONBody
WorkspaceServiceCreateInviteJSONRequestBody defines body for WorkspaceServiceCreateInvite for application/json ContentType.
type WorkspaceServiceCreateInviteResponse ¶
type WorkspaceServiceCreateInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1CreateInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceCreateInviteResponse ¶
func ParseWorkspaceServiceCreateInviteResponse(rsp *http.Response) (*WorkspaceServiceCreateInviteResponse, error)
ParseWorkspaceServiceCreateInviteResponse parses an HTTP response from a WorkspaceServiceCreateInviteWithResponse call
func (WorkspaceServiceCreateInviteResponse) ContentType ¶
func (r WorkspaceServiceCreateInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceCreateInviteResponse) GetBody ¶
func (r WorkspaceServiceCreateInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceCreateInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceCreateInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceCreateInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceCreateInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceCreateInviteResponse) Status ¶
func (r WorkspaceServiceCreateInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceCreateInviteResponse) StatusCode ¶
func (r WorkspaceServiceCreateInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceCreateProjectJSONBody ¶
type WorkspaceServiceCreateProjectJSONBody = LivekitPublicapiProjectsV1CreateProjectRequest
WorkspaceServiceCreateProjectJSONBody defines parameters for WorkspaceServiceCreateProject.
type WorkspaceServiceCreateProjectJSONRequestBody ¶
type WorkspaceServiceCreateProjectJSONRequestBody = WorkspaceServiceCreateProjectJSONBody
WorkspaceServiceCreateProjectJSONRequestBody defines body for WorkspaceServiceCreateProject for application/json ContentType.
type WorkspaceServiceCreateProjectResponse ¶
type WorkspaceServiceCreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1CreateProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceCreateProjectResponse ¶
func ParseWorkspaceServiceCreateProjectResponse(rsp *http.Response) (*WorkspaceServiceCreateProjectResponse, error)
ParseWorkspaceServiceCreateProjectResponse parses an HTTP response from a WorkspaceServiceCreateProjectWithResponse call
func (WorkspaceServiceCreateProjectResponse) ContentType ¶
func (r WorkspaceServiceCreateProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceCreateProjectResponse) GetBody ¶
func (r WorkspaceServiceCreateProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceCreateProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceCreateProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1CreateProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceCreateProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceCreateProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceCreateProjectResponse) Status ¶
func (r WorkspaceServiceCreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceCreateProjectResponse) StatusCode ¶
func (r WorkspaceServiceCreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceCreateWorkspaceJSONRequestBody ¶
type WorkspaceServiceCreateWorkspaceJSONRequestBody = LivekitPublicapiWorkspacesV1CreateWorkspaceRequest
WorkspaceServiceCreateWorkspaceJSONRequestBody defines body for WorkspaceServiceCreateWorkspace for application/json ContentType.
type WorkspaceServiceCreateWorkspaceResponse ¶
type WorkspaceServiceCreateWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceCreateWorkspaceResponse ¶
func ParseWorkspaceServiceCreateWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceCreateWorkspaceResponse, error)
ParseWorkspaceServiceCreateWorkspaceResponse parses an HTTP response from a WorkspaceServiceCreateWorkspaceWithResponse call
func (WorkspaceServiceCreateWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceCreateWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceCreateWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceCreateWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceCreateWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceCreateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceCreateWorkspaceResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceCreateWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceCreateWorkspaceResponse) Status ¶
func (r WorkspaceServiceCreateWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceCreateWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceCreateWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteInviteResponse ¶
type WorkspaceServiceDeleteInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1DeleteInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceDeleteInviteResponse ¶
func ParseWorkspaceServiceDeleteInviteResponse(rsp *http.Response) (*WorkspaceServiceDeleteInviteResponse, error)
ParseWorkspaceServiceDeleteInviteResponse parses an HTTP response from a WorkspaceServiceDeleteInviteWithResponse call
func (WorkspaceServiceDeleteInviteResponse) ContentType ¶
func (r WorkspaceServiceDeleteInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteInviteResponse) GetBody ¶
func (r WorkspaceServiceDeleteInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceDeleteInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceDeleteInviteResponse) Status ¶
func (r WorkspaceServiceDeleteInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteInviteResponse) StatusCode ¶
func (r WorkspaceServiceDeleteInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteMemberParams ¶ added in v2.19.3
type WorkspaceServiceDeleteMemberParams struct {
// ConfirmedNumKeys The number of the member's API keys that you agree to delete. Send `0`
// first. When the member owns API keys, the call fails with
// `FailedPrecondition` and a `MemberRemovalNotConfirmed` detail. Show its
// `numKeys` to the user, then send the request again with that number.
ConfirmedNumKeys *int `form:"confirmedNumKeys,omitempty" json:"confirmedNumKeys,omitempty"`
}
WorkspaceServiceDeleteMemberParams defines parameters for WorkspaceServiceDeleteMember.
type WorkspaceServiceDeleteMemberResponse ¶
type WorkspaceServiceDeleteMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1DeleteMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceDeleteMemberResponse ¶
func ParseWorkspaceServiceDeleteMemberResponse(rsp *http.Response) (*WorkspaceServiceDeleteMemberResponse, error)
ParseWorkspaceServiceDeleteMemberResponse parses an HTTP response from a WorkspaceServiceDeleteMemberWithResponse call
func (WorkspaceServiceDeleteMemberResponse) ContentType ¶
func (r WorkspaceServiceDeleteMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteMemberResponse) GetBody ¶
func (r WorkspaceServiceDeleteMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteMemberResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceDeleteMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceDeleteMemberResponse) Status ¶
func (r WorkspaceServiceDeleteMemberResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteMemberResponse) StatusCode ¶
func (r WorkspaceServiceDeleteMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteProjectResponse ¶
type WorkspaceServiceDeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1DeleteProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceDeleteProjectResponse ¶
func ParseWorkspaceServiceDeleteProjectResponse(rsp *http.Response) (*WorkspaceServiceDeleteProjectResponse, error)
ParseWorkspaceServiceDeleteProjectResponse parses an HTTP response from a WorkspaceServiceDeleteProjectWithResponse call
func (WorkspaceServiceDeleteProjectResponse) ContentType ¶
func (r WorkspaceServiceDeleteProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteProjectResponse) GetBody ¶
func (r WorkspaceServiceDeleteProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1DeleteProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceDeleteProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceDeleteProjectResponse) Status ¶
func (r WorkspaceServiceDeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteProjectResponse) StatusCode ¶
func (r WorkspaceServiceDeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceDeleteWorkspaceResponse ¶
type WorkspaceServiceDeleteWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceDeleteWorkspaceResponse ¶
func ParseWorkspaceServiceDeleteWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceDeleteWorkspaceResponse, error)
ParseWorkspaceServiceDeleteWorkspaceResponse parses an HTTP response from a WorkspaceServiceDeleteWorkspaceWithResponse call
func (WorkspaceServiceDeleteWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceDeleteWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceDeleteWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceDeleteWorkspaceResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceDeleteWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceDeleteWorkspaceResponse) Status ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceDeleteWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceDeleteWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetInviteResponse ¶
type WorkspaceServiceGetInviteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1GetInviteResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceGetInviteResponse ¶
func ParseWorkspaceServiceGetInviteResponse(rsp *http.Response) (*WorkspaceServiceGetInviteResponse, error)
ParseWorkspaceServiceGetInviteResponse parses an HTTP response from a WorkspaceServiceGetInviteWithResponse call
func (WorkspaceServiceGetInviteResponse) ContentType ¶
func (r WorkspaceServiceGetInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetInviteResponse) GetBody ¶
func (r WorkspaceServiceGetInviteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetInviteResponse) GetJSON200 ¶
func (r WorkspaceServiceGetInviteResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetInviteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetInviteResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceGetInviteResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceGetInviteResponse) Status ¶
func (r WorkspaceServiceGetInviteResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetInviteResponse) StatusCode ¶
func (r WorkspaceServiceGetInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetMemberResponse ¶
type WorkspaceServiceGetMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1GetMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceGetMemberResponse ¶
func ParseWorkspaceServiceGetMemberResponse(rsp *http.Response) (*WorkspaceServiceGetMemberResponse, error)
ParseWorkspaceServiceGetMemberResponse parses an HTTP response from a WorkspaceServiceGetMemberWithResponse call
func (WorkspaceServiceGetMemberResponse) ContentType ¶
func (r WorkspaceServiceGetMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetMemberResponse) GetBody ¶
func (r WorkspaceServiceGetMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetMemberResponse) GetJSON200 ¶
func (r WorkspaceServiceGetMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceGetMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceGetMemberResponse) Status ¶
func (r WorkspaceServiceGetMemberResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetMemberResponse) StatusCode ¶
func (r WorkspaceServiceGetMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetProjectResponse ¶
type WorkspaceServiceGetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1GetProjectResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceGetProjectResponse ¶
func ParseWorkspaceServiceGetProjectResponse(rsp *http.Response) (*WorkspaceServiceGetProjectResponse, error)
ParseWorkspaceServiceGetProjectResponse parses an HTTP response from a WorkspaceServiceGetProjectWithResponse call
func (WorkspaceServiceGetProjectResponse) ContentType ¶
func (r WorkspaceServiceGetProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetProjectResponse) GetBody ¶
func (r WorkspaceServiceGetProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetProjectResponse) GetJSON200 ¶
func (r WorkspaceServiceGetProjectResponse) GetJSON200() *LivekitPublicapiProjectsV1GetProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetProjectResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceGetProjectResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceGetProjectResponse) Status ¶
func (r WorkspaceServiceGetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetProjectResponse) StatusCode ¶
func (r WorkspaceServiceGetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceGetWorkspaceResponse ¶
type WorkspaceServiceGetWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceGetWorkspaceResponse ¶
func ParseWorkspaceServiceGetWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceGetWorkspaceResponse, error)
ParseWorkspaceServiceGetWorkspaceResponse parses an HTTP response from a WorkspaceServiceGetWorkspaceWithResponse call
func (WorkspaceServiceGetWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceGetWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceGetWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceGetWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceGetWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceGetWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceGetWorkspaceResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceGetWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceGetWorkspaceResponse) Status ¶
func (r WorkspaceServiceGetWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceGetWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceGetWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListInvitesParams ¶ added in v2.19.3
type WorkspaceServiceListInvitesParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
WorkspaceServiceListInvitesParams defines parameters for WorkspaceServiceListInvites.
type WorkspaceServiceListInvitesResponse ¶
type WorkspaceServiceListInvitesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1ListInvitesResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceListInvitesResponse ¶
func ParseWorkspaceServiceListInvitesResponse(rsp *http.Response) (*WorkspaceServiceListInvitesResponse, error)
ParseWorkspaceServiceListInvitesResponse parses an HTTP response from a WorkspaceServiceListInvitesWithResponse call
func (WorkspaceServiceListInvitesResponse) ContentType ¶
func (r WorkspaceServiceListInvitesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListInvitesResponse) GetBody ¶
func (r WorkspaceServiceListInvitesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListInvitesResponse) GetJSON200 ¶
func (r WorkspaceServiceListInvitesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListInvitesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListInvitesResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceListInvitesResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceListInvitesResponse) Status ¶
func (r WorkspaceServiceListInvitesResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListInvitesResponse) StatusCode ¶
func (r WorkspaceServiceListInvitesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListMembersParams ¶ added in v2.19.3
type WorkspaceServiceListMembersParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
WorkspaceServiceListMembersParams defines parameters for WorkspaceServiceListMembers.
type WorkspaceServiceListMembersResponse ¶
type WorkspaceServiceListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1ListMembersResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceListMembersResponse ¶
func ParseWorkspaceServiceListMembersResponse(rsp *http.Response) (*WorkspaceServiceListMembersResponse, error)
ParseWorkspaceServiceListMembersResponse parses an HTTP response from a WorkspaceServiceListMembersWithResponse call
func (WorkspaceServiceListMembersResponse) ContentType ¶
func (r WorkspaceServiceListMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListMembersResponse) GetBody ¶
func (r WorkspaceServiceListMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListMembersResponse) GetJSON200 ¶
func (r WorkspaceServiceListMembersResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListMembersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListMembersResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceListMembersResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceListMembersResponse) Status ¶
func (r WorkspaceServiceListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListMembersResponse) StatusCode ¶
func (r WorkspaceServiceListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListProjectsParams ¶
type WorkspaceServiceListProjectsParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
WorkspaceServiceListProjectsParams defines parameters for WorkspaceServiceListProjects.
type WorkspaceServiceListProjectsResponse ¶
type WorkspaceServiceListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiProjectsV1ListProjectsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceListProjectsResponse ¶
func ParseWorkspaceServiceListProjectsResponse(rsp *http.Response) (*WorkspaceServiceListProjectsResponse, error)
ParseWorkspaceServiceListProjectsResponse parses an HTTP response from a WorkspaceServiceListProjectsWithResponse call
func (WorkspaceServiceListProjectsResponse) ContentType ¶
func (r WorkspaceServiceListProjectsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListProjectsResponse) GetBody ¶
func (r WorkspaceServiceListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListProjectsResponse) GetJSON200 ¶
func (r WorkspaceServiceListProjectsResponse) GetJSON200() *LivekitPublicapiProjectsV1ListProjectsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListProjectsResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceListProjectsResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceListProjectsResponse) Status ¶
func (r WorkspaceServiceListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListProjectsResponse) StatusCode ¶
func (r WorkspaceServiceListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceListWorkspacesParams ¶
type WorkspaceServiceListWorkspacesParams struct {
// PageCursor The cursor of the page to return: the `nextCursor` of the previous page.
// When empty, the list starts at the first item.
PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`
// PagePageSize The maximum number of items to return. When 0, the list uses its default
// page size.
PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}
WorkspaceServiceListWorkspacesParams defines parameters for WorkspaceServiceListWorkspaces.
type WorkspaceServiceListWorkspacesResponse ¶
type WorkspaceServiceListWorkspacesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceListWorkspacesResponse ¶
func ParseWorkspaceServiceListWorkspacesResponse(rsp *http.Response) (*WorkspaceServiceListWorkspacesResponse, error)
ParseWorkspaceServiceListWorkspacesResponse parses an HTTP response from a WorkspaceServiceListWorkspacesWithResponse call
func (WorkspaceServiceListWorkspacesResponse) ContentType ¶
func (r WorkspaceServiceListWorkspacesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceListWorkspacesResponse) GetBody ¶
func (r WorkspaceServiceListWorkspacesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceListWorkspacesResponse) GetJSON200 ¶
func (r WorkspaceServiceListWorkspacesResponse) GetJSON200() *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceListWorkspacesResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceListWorkspacesResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceListWorkspacesResponse) Status ¶
func (r WorkspaceServiceListWorkspacesResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceListWorkspacesResponse) StatusCode ¶
func (r WorkspaceServiceListWorkspacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceUpdateMemberJSONBody ¶
type WorkspaceServiceUpdateMemberJSONBody struct {
// Role Access level to grant: 1 read, 2 write, 3 admin.
Role *int32 `json:"role,omitempty"`
}
WorkspaceServiceUpdateMemberJSONBody defines parameters for WorkspaceServiceUpdateMember.
type WorkspaceServiceUpdateMemberJSONRequestBody ¶
type WorkspaceServiceUpdateMemberJSONRequestBody WorkspaceServiceUpdateMemberJSONBody
WorkspaceServiceUpdateMemberJSONRequestBody defines body for WorkspaceServiceUpdateMember for application/json ContentType.
type WorkspaceServiceUpdateMemberResponse ¶
type WorkspaceServiceUpdateMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1UpdateMemberResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceUpdateMemberResponse ¶
func ParseWorkspaceServiceUpdateMemberResponse(rsp *http.Response) (*WorkspaceServiceUpdateMemberResponse, error)
ParseWorkspaceServiceUpdateMemberResponse parses an HTTP response from a WorkspaceServiceUpdateMemberWithResponse call
func (WorkspaceServiceUpdateMemberResponse) ContentType ¶
func (r WorkspaceServiceUpdateMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceUpdateMemberResponse) GetBody ¶
func (r WorkspaceServiceUpdateMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceUpdateMemberResponse) GetJSON200 ¶
func (r WorkspaceServiceUpdateMemberResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateMemberResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceUpdateMemberResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceUpdateMemberResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceUpdateMemberResponse) Status ¶
func (r WorkspaceServiceUpdateMemberResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceUpdateMemberResponse) StatusCode ¶
func (r WorkspaceServiceUpdateMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkspaceServiceUpdateWorkspaceJSONBody ¶
type WorkspaceServiceUpdateWorkspaceJSONBody struct {
// McpPolicy The MCP policy of the workspace. When set, it replaces the whole policy.
// An OAuth app cannot set it: the API returns `PermissionDenied`.
McpPolicy *LivekitPublicapiWorkspacesV1WorkspaceMcpPolicy `json:"mcpPolicy,omitempty"`
// Name The workspace name.
Name *string `json:"name,omitempty"`
}
WorkspaceServiceUpdateWorkspaceJSONBody defines parameters for WorkspaceServiceUpdateWorkspace.
type WorkspaceServiceUpdateWorkspaceJSONRequestBody ¶
type WorkspaceServiceUpdateWorkspaceJSONRequestBody WorkspaceServiceUpdateWorkspaceJSONBody
WorkspaceServiceUpdateWorkspaceJSONRequestBody defines body for WorkspaceServiceUpdateWorkspace for application/json ContentType.
type WorkspaceServiceUpdateWorkspaceResponse ¶
type WorkspaceServiceUpdateWorkspaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *GoogleRpcStatus
}
func ParseWorkspaceServiceUpdateWorkspaceResponse ¶
func ParseWorkspaceServiceUpdateWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceUpdateWorkspaceResponse, error)
ParseWorkspaceServiceUpdateWorkspaceResponse parses an HTTP response from a WorkspaceServiceUpdateWorkspaceWithResponse call
func (WorkspaceServiceUpdateWorkspaceResponse) ContentType ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WorkspaceServiceUpdateWorkspaceResponse) GetBody ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WorkspaceServiceUpdateWorkspaceResponse) GetJSON200 ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) GetJSON200() *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WorkspaceServiceUpdateWorkspaceResponse) GetJSONDefault ¶ added in v2.19.3
func (r WorkspaceServiceUpdateWorkspaceResponse) GetJSONDefault() *GoogleRpcStatus
GetJSONDefault returns the response for an HTTP default `application/json` response
func (WorkspaceServiceUpdateWorkspaceResponse) Status ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceServiceUpdateWorkspaceResponse) StatusCode ¶
func (r WorkspaceServiceUpdateWorkspaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode