Documentation
¶
Index ¶
- func NewAddSessionToEvalSetRequest(server string, appName string, evalSetId string, ...) (*http.Request, error)
- func NewAddSessionToEvalSetRequestWithBody(server string, appName string, evalSetId string, contentType string, ...) (*http.Request, error)
- func NewCreateEvalSetRequest(server string, appName string, evalSetId string) (*http.Request, error)
- func NewCreateSessionRequest(server string, appName string, userId string, ...) (*http.Request, error)
- func NewCreateSessionRequestWithBody(server string, appName string, userId string, contentType string, ...) (*http.Request, error)
- func NewCreateSessionWithIdRequest(server string, appName string, userId string, sessionId string, ...) (*http.Request, error)
- func NewCreateSessionWithIdRequestWithBody(server string, appName string, userId string, sessionId string, ...) (*http.Request, error)
- func NewDeleteArtifactRequest(server string, appName string, userId string, sessionId string, ...) (*http.Request, error)
- func NewDeleteSessionRequest(server string, appName string, userId string, sessionId string) (*http.Request, error)
- func NewDevUiRequest(server string) (*http.Request, error)
- func NewGetEventGraphRequest(server string, appName string, userId string, sessionId string, eventId string) (*http.Request, error)
- func NewGetSessionRequest(server string, appName string, userId string, sessionId string) (*http.Request, error)
- func NewGetTraceDictRequest(server string, eventId string) (*http.Request, error)
- func NewListAppsRequest(server string) (*http.Request, error)
- func NewListArtifactNamesRequest(server string, appName string, userId string, sessionId string) (*http.Request, error)
- func NewListArtifactVersionsRequest(server string, appName string, userId string, sessionId string, ...) (*http.Request, error)
- func NewListEvalSetsRequest(server string, appName string) (*http.Request, error)
- func NewListEvalsInEvalSetRequest(server string, appName string, evalSetId string) (*http.Request, error)
- func NewListSessionsRequest(server string, appName string, userId string) (*http.Request, error)
- func NewLoadArtifactRequest(server string, appName string, userId string, sessionId string, ...) (*http.Request, error)
- func NewLoadArtifactVersionRequest(server string, appName string, userId string, sessionId string, ...) (*http.Request, error)
- func NewRedirectToDevUiRequest(server string) (*http.Request, error)
- func NewRunEvalRequest(server string, appName string, evalSetId string, body RunEvalJSONRequestBody) (*http.Request, error)
- func NewRunEvalRequestWithBody(server string, appName string, evalSetId string, contentType string, ...) (*http.Request, error)
- func NewRunRequest(server string, body RunJSONRequestBody) (*http.Request, error)
- func NewRunRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRunSseRequest(server string, body RunSseJSONRequestBody) (*http.Request, error)
- func NewRunSseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type APIKey
- type APIKeyDescription0
- type APIKeyDescription1
- type APIKeyIn
- type APIKey_Description
- func (t APIKey_Description) AsAPIKeyDescription0() (APIKeyDescription0, error)
- func (t APIKey_Description) AsAPIKeyDescription1() (APIKeyDescription1, error)
- func (t *APIKey_Description) FromAPIKeyDescription0(v APIKeyDescription0) error
- func (t *APIKey_Description) FromAPIKeyDescription1(v APIKeyDescription1) error
- func (t APIKey_Description) MarshalJSON() ([]byte, error)
- func (t *APIKey_Description) MergeAPIKeyDescription0(v APIKeyDescription0) error
- func (t *APIKey_Description) MergeAPIKeyDescription1(v APIKeyDescription1) error
- func (t *APIKey_Description) UnmarshalJSON(b []byte) error
- type AddSessionToEvalSetJSONRequestBody
- type AddSessionToEvalSetRequest
- type AddSessionToEvalSetResponse
- type AgentRunRequest
- type AuthConfig
- type AuthConfig_AuthScheme
- func (t AuthConfig_AuthScheme) AsAPIKey() (APIKey, error)
- func (t AuthConfig_AuthScheme) AsHTTPBase() (HTTPBase, error)
- func (t AuthConfig_AuthScheme) AsHTTPBearer() (HTTPBearer, error)
- func (t AuthConfig_AuthScheme) AsOAuth2() (OAuth2, error)
- func (t AuthConfig_AuthScheme) AsOpenIdConnect() (OpenIdConnect, error)
- func (t AuthConfig_AuthScheme) AsOpenIdConnectWithConfig() (OpenIdConnectWithConfig, error)
- func (t *AuthConfig_AuthScheme) FromAPIKey(v APIKey) error
- func (t *AuthConfig_AuthScheme) FromHTTPBase(v HTTPBase) error
- func (t *AuthConfig_AuthScheme) FromHTTPBearer(v HTTPBearer) error
- func (t *AuthConfig_AuthScheme) FromOAuth2(v OAuth2) error
- func (t *AuthConfig_AuthScheme) FromOpenIdConnect(v OpenIdConnect) error
- func (t *AuthConfig_AuthScheme) FromOpenIdConnectWithConfig(v OpenIdConnectWithConfig) error
- func (t AuthConfig_AuthScheme) MarshalJSON() ([]byte, error)
- func (t *AuthConfig_AuthScheme) MergeAPIKey(v APIKey) error
- func (t *AuthConfig_AuthScheme) MergeHTTPBase(v HTTPBase) error
- func (t *AuthConfig_AuthScheme) MergeHTTPBearer(v HTTPBearer) error
- func (t *AuthConfig_AuthScheme) MergeOAuth2(v OAuth2) error
- func (t *AuthConfig_AuthScheme) MergeOpenIdConnect(v OpenIdConnect) error
- func (t *AuthConfig_AuthScheme) MergeOpenIdConnectWithConfig(v OpenIdConnectWithConfig) error
- func (t *AuthConfig_AuthScheme) UnmarshalJSON(b []byte) error
- type AuthCredential
- type AuthCredentialApiKey0
- type AuthCredentialApiKey1
- type AuthCredentialHttp1
- type AuthCredentialOauth21
- type AuthCredentialResourceRef0
- type AuthCredentialResourceRef1
- type AuthCredentialServiceAccount1
- type AuthCredentialTypes
- type AuthCredential_ApiKey
- func (t AuthCredential_ApiKey) AsAuthCredentialApiKey0() (AuthCredentialApiKey0, error)
- func (t AuthCredential_ApiKey) AsAuthCredentialApiKey1() (AuthCredentialApiKey1, error)
- func (t *AuthCredential_ApiKey) FromAuthCredentialApiKey0(v AuthCredentialApiKey0) error
- func (t *AuthCredential_ApiKey) FromAuthCredentialApiKey1(v AuthCredentialApiKey1) error
- func (t AuthCredential_ApiKey) MarshalJSON() ([]byte, error)
- func (t *AuthCredential_ApiKey) MergeAuthCredentialApiKey0(v AuthCredentialApiKey0) error
- func (t *AuthCredential_ApiKey) MergeAuthCredentialApiKey1(v AuthCredentialApiKey1) error
- func (t *AuthCredential_ApiKey) UnmarshalJSON(b []byte) error
- type AuthCredential_Http
- func (t AuthCredential_Http) AsAuthCredentialHttp1() (AuthCredentialHttp1, error)
- func (t AuthCredential_Http) AsHttpAuth() (HttpAuth, error)
- func (t *AuthCredential_Http) FromAuthCredentialHttp1(v AuthCredentialHttp1) error
- func (t *AuthCredential_Http) FromHttpAuth(v HttpAuth) error
- func (t AuthCredential_Http) MarshalJSON() ([]byte, error)
- func (t *AuthCredential_Http) MergeAuthCredentialHttp1(v AuthCredentialHttp1) error
- func (t *AuthCredential_Http) MergeHttpAuth(v HttpAuth) error
- func (t *AuthCredential_Http) UnmarshalJSON(b []byte) error
- type AuthCredential_Oauth2
- func (t AuthCredential_Oauth2) AsAuthCredentialOauth21() (AuthCredentialOauth21, error)
- func (t AuthCredential_Oauth2) AsOAuth2Auth() (OAuth2Auth, error)
- func (t *AuthCredential_Oauth2) FromAuthCredentialOauth21(v AuthCredentialOauth21) error
- func (t *AuthCredential_Oauth2) FromOAuth2Auth(v OAuth2Auth) error
- func (t AuthCredential_Oauth2) MarshalJSON() ([]byte, error)
- func (t *AuthCredential_Oauth2) MergeAuthCredentialOauth21(v AuthCredentialOauth21) error
- func (t *AuthCredential_Oauth2) MergeOAuth2Auth(v OAuth2Auth) error
- func (t *AuthCredential_Oauth2) UnmarshalJSON(b []byte) error
- type AuthCredential_ResourceRef
- func (t AuthCredential_ResourceRef) AsAuthCredentialResourceRef0() (AuthCredentialResourceRef0, error)
- func (t AuthCredential_ResourceRef) AsAuthCredentialResourceRef1() (AuthCredentialResourceRef1, error)
- func (t *AuthCredential_ResourceRef) FromAuthCredentialResourceRef0(v AuthCredentialResourceRef0) error
- func (t *AuthCredential_ResourceRef) FromAuthCredentialResourceRef1(v AuthCredentialResourceRef1) error
- func (t AuthCredential_ResourceRef) MarshalJSON() ([]byte, error)
- func (t *AuthCredential_ResourceRef) MergeAuthCredentialResourceRef0(v AuthCredentialResourceRef0) error
- func (t *AuthCredential_ResourceRef) MergeAuthCredentialResourceRef1(v AuthCredentialResourceRef1) error
- func (t *AuthCredential_ResourceRef) UnmarshalJSON(b []byte) error
- type AuthCredential_ServiceAccount
- func (t AuthCredential_ServiceAccount) AsAuthCredentialServiceAccount1() (AuthCredentialServiceAccount1, error)
- func (t AuthCredential_ServiceAccount) AsServiceAccount() (ServiceAccount, error)
- func (t *AuthCredential_ServiceAccount) FromAuthCredentialServiceAccount1(v AuthCredentialServiceAccount1) error
- func (t *AuthCredential_ServiceAccount) FromServiceAccount(v ServiceAccount) error
- func (t AuthCredential_ServiceAccount) MarshalJSON() ([]byte, error)
- func (t *AuthCredential_ServiceAccount) MergeAuthCredentialServiceAccount1(v AuthCredentialServiceAccount1) error
- func (t *AuthCredential_ServiceAccount) MergeServiceAccount(v ServiceAccount) error
- func (t *AuthCredential_ServiceAccount) UnmarshalJSON(b []byte) error
- type Blob
- type BlobData0
- type BlobData1
- type BlobMimeType0
- type BlobMimeType1
- type Blob_Data
- func (t Blob_Data) AsBlobData0() (BlobData0, error)
- func (t Blob_Data) AsBlobData1() (BlobData1, error)
- func (t *Blob_Data) FromBlobData0(v BlobData0) error
- func (t *Blob_Data) FromBlobData1(v BlobData1) error
- func (t Blob_Data) MarshalJSON() ([]byte, error)
- func (t *Blob_Data) MergeBlobData0(v BlobData0) error
- func (t *Blob_Data) MergeBlobData1(v BlobData1) error
- func (t *Blob_Data) UnmarshalJSON(b []byte) error
- type Blob_MimeType
- func (t Blob_MimeType) AsBlobMimeType0() (BlobMimeType0, error)
- func (t Blob_MimeType) AsBlobMimeType1() (BlobMimeType1, error)
- func (t *Blob_MimeType) FromBlobMimeType0(v BlobMimeType0) error
- func (t *Blob_MimeType) FromBlobMimeType1(v BlobMimeType1) error
- func (t Blob_MimeType) MarshalJSON() ([]byte, error)
- func (t *Blob_MimeType) MergeBlobMimeType0(v BlobMimeType0) error
- func (t *Blob_MimeType) MergeBlobMimeType1(v BlobMimeType1) error
- func (t *Blob_MimeType) UnmarshalJSON(b []byte) error
- type Client
- func (c *Client) AddSessionToEvalSet(ctx context.Context, appName string, evalSetId string, ...) (*http.Response, error)
- func (c *Client) AddSessionToEvalSetWithBody(ctx context.Context, appName string, evalSetId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateEvalSet(ctx context.Context, appName string, evalSetId string, ...) (*http.Response, error)
- func (c *Client) CreateSession(ctx context.Context, appName string, userId string, ...) (*http.Response, error)
- func (c *Client) CreateSessionWithBody(ctx context.Context, appName string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSessionWithId(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) CreateSessionWithIdWithBody(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) DeleteArtifact(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) DeleteSession(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) DevUi(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEventGraph(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) GetSession(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) GetTraceDict(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListApps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListArtifactNames(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ListArtifactVersions(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) ListEvalSets(ctx context.Context, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEvalsInEvalSet(ctx context.Context, appName string, evalSetId string, ...) (*http.Response, error)
- func (c *Client) ListSessions(ctx context.Context, appName string, userId string, ...) (*http.Response, error)
- func (c *Client) LoadArtifact(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) LoadArtifactVersion(ctx context.Context, appName string, userId string, sessionId string, ...) (*http.Response, error)
- func (c *Client) RedirectToDevUi(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Run(ctx context.Context, body RunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RunEval(ctx context.Context, appName string, evalSetId string, ...) (*http.Response, error)
- func (c *Client) RunEvalWithBody(ctx context.Context, appName string, evalSetId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RunSse(ctx context.Context, body RunSseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RunSseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RunWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddSessionToEvalSetWithBodyWithResponse(ctx context.Context, appName string, evalSetId string, contentType string, ...) (*AddSessionToEvalSetResponse, error)
- func (c *ClientWithResponses) AddSessionToEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, ...) (*AddSessionToEvalSetResponse, error)
- func (c *ClientWithResponses) CreateEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, ...) (*CreateEvalSetResponse, error)
- func (c *ClientWithResponses) CreateSessionWithBodyWithResponse(ctx context.Context, appName string, userId string, contentType string, ...) (*CreateSessionResponse, error)
- func (c *ClientWithResponses) CreateSessionWithIdWithBodyWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*CreateSessionWithIdResponse, error)
- func (c *ClientWithResponses) CreateSessionWithIdWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*CreateSessionWithIdResponse, error)
- func (c *ClientWithResponses) CreateSessionWithResponse(ctx context.Context, appName string, userId string, ...) (*CreateSessionResponse, error)
- func (c *ClientWithResponses) DeleteArtifactWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*DeleteArtifactResponse, error)
- func (c *ClientWithResponses) DeleteSessionWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*DeleteSessionResponse, error)
- func (c *ClientWithResponses) DevUiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DevUiResponse, error)
- func (c *ClientWithResponses) GetEventGraphWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*GetEventGraphResponse, error)
- func (c *ClientWithResponses) GetSessionWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*GetSessionResponse, error)
- func (c *ClientWithResponses) GetTraceDictWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetTraceDictResponse, error)
- func (c *ClientWithResponses) ListAppsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)
- func (c *ClientWithResponses) ListArtifactNamesWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*ListArtifactNamesResponse, error)
- func (c *ClientWithResponses) ListArtifactVersionsWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*ListArtifactVersionsResponse, error)
- func (c *ClientWithResponses) ListEvalSetsWithResponse(ctx context.Context, appName string, reqEditors ...RequestEditorFn) (*ListEvalSetsResponse, error)
- func (c *ClientWithResponses) ListEvalsInEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, ...) (*ListEvalsInEvalSetResponse, error)
- func (c *ClientWithResponses) ListSessionsWithResponse(ctx context.Context, appName string, userId string, ...) (*ListSessionsResponse, error)
- func (c *ClientWithResponses) LoadArtifactVersionWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*LoadArtifactVersionResponse, error)
- func (c *ClientWithResponses) LoadArtifactWithResponse(ctx context.Context, appName string, userId string, sessionId string, ...) (*LoadArtifactResponse, error)
- func (c *ClientWithResponses) RedirectToDevUiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RedirectToDevUiResponse, error)
- func (c *ClientWithResponses) RunEvalWithBodyWithResponse(ctx context.Context, appName string, evalSetId string, contentType string, ...) (*RunEvalResponse, error)
- func (c *ClientWithResponses) RunEvalWithResponse(ctx context.Context, appName string, evalSetId string, ...) (*RunEvalResponse, error)
- func (c *ClientWithResponses) RunSseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RunSseResponse, error)
- func (c *ClientWithResponses) RunSseWithResponse(ctx context.Context, body RunSseJSONRequestBody, reqEditors ...RequestEditorFn) (*RunSseResponse, error)
- func (c *ClientWithResponses) RunWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RunResponse, error)
- func (c *ClientWithResponses) RunWithResponse(ctx context.Context, body RunJSONRequestBody, reqEditors ...RequestEditorFn) (*RunResponse, error)
- type ClientWithResponsesInterface
- type CodeExecutionResult
- type CodeExecutionResultOutcome1
- type CodeExecutionResultOutput0
- type CodeExecutionResultOutput1
- type CodeExecutionResult_Outcome
- func (t CodeExecutionResult_Outcome) AsCodeExecutionResultOutcome1() (CodeExecutionResultOutcome1, error)
- func (t CodeExecutionResult_Outcome) AsOutcome() (Outcome, error)
- func (t *CodeExecutionResult_Outcome) FromCodeExecutionResultOutcome1(v CodeExecutionResultOutcome1) error
- func (t *CodeExecutionResult_Outcome) FromOutcome(v Outcome) error
- func (t CodeExecutionResult_Outcome) MarshalJSON() ([]byte, error)
- func (t *CodeExecutionResult_Outcome) MergeCodeExecutionResultOutcome1(v CodeExecutionResultOutcome1) error
- func (t *CodeExecutionResult_Outcome) MergeOutcome(v Outcome) error
- func (t *CodeExecutionResult_Outcome) UnmarshalJSON(b []byte) error
- type CodeExecutionResult_Output
- func (t CodeExecutionResult_Output) AsCodeExecutionResultOutput0() (CodeExecutionResultOutput0, error)
- func (t CodeExecutionResult_Output) AsCodeExecutionResultOutput1() (CodeExecutionResultOutput1, error)
- func (t *CodeExecutionResult_Output) FromCodeExecutionResultOutput0(v CodeExecutionResultOutput0) error
- func (t *CodeExecutionResult_Output) FromCodeExecutionResultOutput1(v CodeExecutionResultOutput1) error
- func (t CodeExecutionResult_Output) MarshalJSON() ([]byte, error)
- func (t *CodeExecutionResult_Output) MergeCodeExecutionResultOutput0(v CodeExecutionResultOutput0) error
- func (t *CodeExecutionResult_Output) MergeCodeExecutionResultOutput1(v CodeExecutionResultOutput1) error
- func (t *CodeExecutionResult_Output) UnmarshalJSON(b []byte) error
- type ContentInput
- type ContentInputParts0
- type ContentInputParts1
- type ContentInputRole0
- type ContentInputRole1
- type ContentInput_Parts
- func (t ContentInput_Parts) AsContentInputParts0() (ContentInputParts0, error)
- func (t ContentInput_Parts) AsContentInputParts1() (ContentInputParts1, error)
- func (t *ContentInput_Parts) FromContentInputParts0(v ContentInputParts0) error
- func (t *ContentInput_Parts) FromContentInputParts1(v ContentInputParts1) error
- func (t ContentInput_Parts) MarshalJSON() ([]byte, error)
- func (t *ContentInput_Parts) MergeContentInputParts0(v ContentInputParts0) error
- func (t *ContentInput_Parts) MergeContentInputParts1(v ContentInputParts1) error
- func (t *ContentInput_Parts) UnmarshalJSON(b []byte) error
- type ContentInput_Role
- func (t ContentInput_Role) AsContentInputRole0() (ContentInputRole0, error)
- func (t ContentInput_Role) AsContentInputRole1() (ContentInputRole1, error)
- func (t *ContentInput_Role) FromContentInputRole0(v ContentInputRole0) error
- func (t *ContentInput_Role) FromContentInputRole1(v ContentInputRole1) error
- func (t ContentInput_Role) MarshalJSON() ([]byte, error)
- func (t *ContentInput_Role) MergeContentInputRole0(v ContentInputRole0) error
- func (t *ContentInput_Role) MergeContentInputRole1(v ContentInputRole1) error
- func (t *ContentInput_Role) UnmarshalJSON(b []byte) error
- type ContentOutput
- type ContentOutputParts0
- type ContentOutputParts1
- type ContentOutputRole0
- type ContentOutputRole1
- type ContentOutput_Parts
- func (t ContentOutput_Parts) AsContentOutputParts0() (ContentOutputParts0, error)
- func (t ContentOutput_Parts) AsContentOutputParts1() (ContentOutputParts1, error)
- func (t *ContentOutput_Parts) FromContentOutputParts0(v ContentOutputParts0) error
- func (t *ContentOutput_Parts) FromContentOutputParts1(v ContentOutputParts1) error
- func (t ContentOutput_Parts) MarshalJSON() ([]byte, error)
- func (t *ContentOutput_Parts) MergeContentOutputParts0(v ContentOutputParts0) error
- func (t *ContentOutput_Parts) MergeContentOutputParts1(v ContentOutputParts1) error
- func (t *ContentOutput_Parts) UnmarshalJSON(b []byte) error
- type ContentOutput_Role
- func (t ContentOutput_Role) AsContentOutputRole0() (ContentOutputRole0, error)
- func (t ContentOutput_Role) AsContentOutputRole1() (ContentOutputRole1, error)
- func (t *ContentOutput_Role) FromContentOutputRole0(v ContentOutputRole0) error
- func (t *ContentOutput_Role) FromContentOutputRole1(v ContentOutputRole1) error
- func (t ContentOutput_Role) MarshalJSON() ([]byte, error)
- func (t *ContentOutput_Role) MergeContentOutputRole0(v ContentOutputRole0) error
- func (t *ContentOutput_Role) MergeContentOutputRole1(v ContentOutputRole1) error
- func (t *ContentOutput_Role) UnmarshalJSON(b []byte) error
- type CreateEvalSetResponse
- type CreateSessionJSONBody
- type CreateSessionJSONBody0
- type CreateSessionJSONBody1
- type CreateSessionJSONRequestBody
- type CreateSessionResponse
- type CreateSessionWithIdJSONBody
- type CreateSessionWithIdJSONBody0
- type CreateSessionWithIdJSONBody1
- type CreateSessionWithIdJSONRequestBody
- type CreateSessionWithIdResponse
- type DeleteArtifactResponse
- type DeleteSessionResponse
- type DevUiResponse
- type EvalMetric
- type EvalStatus
- type Event
- type EventActions
- type EventActionsEscalate0
- type EventActionsEscalate1
- type EventActionsSkipSummarization0
- type EventActionsSkipSummarization1
- type EventActionsTransferToAgent0
- type EventActionsTransferToAgent1
- type EventActions_Escalate
- func (t EventActions_Escalate) AsEventActionsEscalate0() (EventActionsEscalate0, error)
- func (t EventActions_Escalate) AsEventActionsEscalate1() (EventActionsEscalate1, error)
- func (t *EventActions_Escalate) FromEventActionsEscalate0(v EventActionsEscalate0) error
- func (t *EventActions_Escalate) FromEventActionsEscalate1(v EventActionsEscalate1) error
- func (t EventActions_Escalate) MarshalJSON() ([]byte, error)
- func (t *EventActions_Escalate) MergeEventActionsEscalate0(v EventActionsEscalate0) error
- func (t *EventActions_Escalate) MergeEventActionsEscalate1(v EventActionsEscalate1) error
- func (t *EventActions_Escalate) UnmarshalJSON(b []byte) error
- type EventActions_SkipSummarization
- func (t EventActions_SkipSummarization) AsEventActionsSkipSummarization0() (EventActionsSkipSummarization0, error)
- func (t EventActions_SkipSummarization) AsEventActionsSkipSummarization1() (EventActionsSkipSummarization1, error)
- func (t *EventActions_SkipSummarization) FromEventActionsSkipSummarization0(v EventActionsSkipSummarization0) error
- func (t *EventActions_SkipSummarization) FromEventActionsSkipSummarization1(v EventActionsSkipSummarization1) error
- func (t EventActions_SkipSummarization) MarshalJSON() ([]byte, error)
- func (t *EventActions_SkipSummarization) MergeEventActionsSkipSummarization0(v EventActionsSkipSummarization0) error
- func (t *EventActions_SkipSummarization) MergeEventActionsSkipSummarization1(v EventActionsSkipSummarization1) error
- func (t *EventActions_SkipSummarization) UnmarshalJSON(b []byte) error
- type EventActions_TransferToAgent
- func (t EventActions_TransferToAgent) AsEventActionsTransferToAgent0() (EventActionsTransferToAgent0, error)
- func (t EventActions_TransferToAgent) AsEventActionsTransferToAgent1() (EventActionsTransferToAgent1, error)
- func (t *EventActions_TransferToAgent) FromEventActionsTransferToAgent0(v EventActionsTransferToAgent0) error
- func (t *EventActions_TransferToAgent) FromEventActionsTransferToAgent1(v EventActionsTransferToAgent1) error
- func (t EventActions_TransferToAgent) MarshalJSON() ([]byte, error)
- func (t *EventActions_TransferToAgent) MergeEventActionsTransferToAgent0(v EventActionsTransferToAgent0) error
- func (t *EventActions_TransferToAgent) MergeEventActionsTransferToAgent1(v EventActionsTransferToAgent1) error
- func (t *EventActions_TransferToAgent) UnmarshalJSON(b []byte) error
- type EventBranch0
- type EventBranch1
- type EventContent1
- type EventErrorCode0
- type EventErrorCode1
- type EventErrorMessage0
- type EventErrorMessage1
- type EventGroundingMetadata1
- type EventInterrupted0
- type EventInterrupted1
- type EventLongRunningToolIds0
- type EventLongRunningToolIds1
- type EventPartial0
- type EventPartial1
- type EventTurnComplete0
- type EventTurnComplete1
- type Event_Branch
- func (t Event_Branch) AsEventBranch0() (EventBranch0, error)
- func (t Event_Branch) AsEventBranch1() (EventBranch1, error)
- func (t *Event_Branch) FromEventBranch0(v EventBranch0) error
- func (t *Event_Branch) FromEventBranch1(v EventBranch1) error
- func (t Event_Branch) MarshalJSON() ([]byte, error)
- func (t *Event_Branch) MergeEventBranch0(v EventBranch0) error
- func (t *Event_Branch) MergeEventBranch1(v EventBranch1) error
- func (t *Event_Branch) UnmarshalJSON(b []byte) error
- type Event_Content
- func (t Event_Content) AsContentOutput() (ContentOutput, error)
- func (t Event_Content) AsEventContent1() (EventContent1, error)
- func (t *Event_Content) FromContentOutput(v ContentOutput) error
- func (t *Event_Content) FromEventContent1(v EventContent1) error
- func (t Event_Content) MarshalJSON() ([]byte, error)
- func (t *Event_Content) MergeContentOutput(v ContentOutput) error
- func (t *Event_Content) MergeEventContent1(v EventContent1) error
- func (t *Event_Content) UnmarshalJSON(b []byte) error
- type Event_ErrorCode
- func (t Event_ErrorCode) AsEventErrorCode0() (EventErrorCode0, error)
- func (t Event_ErrorCode) AsEventErrorCode1() (EventErrorCode1, error)
- func (t *Event_ErrorCode) FromEventErrorCode0(v EventErrorCode0) error
- func (t *Event_ErrorCode) FromEventErrorCode1(v EventErrorCode1) error
- func (t Event_ErrorCode) MarshalJSON() ([]byte, error)
- func (t *Event_ErrorCode) MergeEventErrorCode0(v EventErrorCode0) error
- func (t *Event_ErrorCode) MergeEventErrorCode1(v EventErrorCode1) error
- func (t *Event_ErrorCode) UnmarshalJSON(b []byte) error
- type Event_ErrorMessage
- func (t Event_ErrorMessage) AsEventErrorMessage0() (EventErrorMessage0, error)
- func (t Event_ErrorMessage) AsEventErrorMessage1() (EventErrorMessage1, error)
- func (t *Event_ErrorMessage) FromEventErrorMessage0(v EventErrorMessage0) error
- func (t *Event_ErrorMessage) FromEventErrorMessage1(v EventErrorMessage1) error
- func (t Event_ErrorMessage) MarshalJSON() ([]byte, error)
- func (t *Event_ErrorMessage) MergeEventErrorMessage0(v EventErrorMessage0) error
- func (t *Event_ErrorMessage) MergeEventErrorMessage1(v EventErrorMessage1) error
- func (t *Event_ErrorMessage) UnmarshalJSON(b []byte) error
- type Event_GroundingMetadata
- func (t Event_GroundingMetadata) AsEventGroundingMetadata1() (EventGroundingMetadata1, error)
- func (t Event_GroundingMetadata) AsGroundingMetadata() (GroundingMetadata, error)
- func (t *Event_GroundingMetadata) FromEventGroundingMetadata1(v EventGroundingMetadata1) error
- func (t *Event_GroundingMetadata) FromGroundingMetadata(v GroundingMetadata) error
- func (t Event_GroundingMetadata) MarshalJSON() ([]byte, error)
- func (t *Event_GroundingMetadata) MergeEventGroundingMetadata1(v EventGroundingMetadata1) error
- func (t *Event_GroundingMetadata) MergeGroundingMetadata(v GroundingMetadata) error
- func (t *Event_GroundingMetadata) UnmarshalJSON(b []byte) error
- type Event_Interrupted
- func (t Event_Interrupted) AsEventInterrupted0() (EventInterrupted0, error)
- func (t Event_Interrupted) AsEventInterrupted1() (EventInterrupted1, error)
- func (t *Event_Interrupted) FromEventInterrupted0(v EventInterrupted0) error
- func (t *Event_Interrupted) FromEventInterrupted1(v EventInterrupted1) error
- func (t Event_Interrupted) MarshalJSON() ([]byte, error)
- func (t *Event_Interrupted) MergeEventInterrupted0(v EventInterrupted0) error
- func (t *Event_Interrupted) MergeEventInterrupted1(v EventInterrupted1) error
- func (t *Event_Interrupted) UnmarshalJSON(b []byte) error
- type Event_LongRunningToolIds
- func (t Event_LongRunningToolIds) AsEventLongRunningToolIds0() (EventLongRunningToolIds0, error)
- func (t Event_LongRunningToolIds) AsEventLongRunningToolIds1() (EventLongRunningToolIds1, error)
- func (t *Event_LongRunningToolIds) FromEventLongRunningToolIds0(v EventLongRunningToolIds0) error
- func (t *Event_LongRunningToolIds) FromEventLongRunningToolIds1(v EventLongRunningToolIds1) error
- func (t Event_LongRunningToolIds) MarshalJSON() ([]byte, error)
- func (t *Event_LongRunningToolIds) MergeEventLongRunningToolIds0(v EventLongRunningToolIds0) error
- func (t *Event_LongRunningToolIds) MergeEventLongRunningToolIds1(v EventLongRunningToolIds1) error
- func (t *Event_LongRunningToolIds) UnmarshalJSON(b []byte) error
- type Event_Partial
- func (t Event_Partial) AsEventPartial0() (EventPartial0, error)
- func (t Event_Partial) AsEventPartial1() (EventPartial1, error)
- func (t *Event_Partial) FromEventPartial0(v EventPartial0) error
- func (t *Event_Partial) FromEventPartial1(v EventPartial1) error
- func (t Event_Partial) MarshalJSON() ([]byte, error)
- func (t *Event_Partial) MergeEventPartial0(v EventPartial0) error
- func (t *Event_Partial) MergeEventPartial1(v EventPartial1) error
- func (t *Event_Partial) UnmarshalJSON(b []byte) error
- type Event_TurnComplete
- func (t Event_TurnComplete) AsEventTurnComplete0() (EventTurnComplete0, error)
- func (t Event_TurnComplete) AsEventTurnComplete1() (EventTurnComplete1, error)
- func (t *Event_TurnComplete) FromEventTurnComplete0(v EventTurnComplete0) error
- func (t *Event_TurnComplete) FromEventTurnComplete1(v EventTurnComplete1) error
- func (t Event_TurnComplete) MarshalJSON() ([]byte, error)
- func (t *Event_TurnComplete) MergeEventTurnComplete0(v EventTurnComplete0) error
- func (t *Event_TurnComplete) MergeEventTurnComplete1(v EventTurnComplete1) error
- func (t *Event_TurnComplete) UnmarshalJSON(b []byte) error
- type ExecutableCode
- type ExecutableCodeCode0
- type ExecutableCodeCode1
- type ExecutableCodeLanguage1
- type ExecutableCode_Code
- func (t ExecutableCode_Code) AsExecutableCodeCode0() (ExecutableCodeCode0, error)
- func (t ExecutableCode_Code) AsExecutableCodeCode1() (ExecutableCodeCode1, error)
- func (t *ExecutableCode_Code) FromExecutableCodeCode0(v ExecutableCodeCode0) error
- func (t *ExecutableCode_Code) FromExecutableCodeCode1(v ExecutableCodeCode1) error
- func (t ExecutableCode_Code) MarshalJSON() ([]byte, error)
- func (t *ExecutableCode_Code) MergeExecutableCodeCode0(v ExecutableCodeCode0) error
- func (t *ExecutableCode_Code) MergeExecutableCodeCode1(v ExecutableCodeCode1) error
- func (t *ExecutableCode_Code) UnmarshalJSON(b []byte) error
- type ExecutableCode_Language
- func (t ExecutableCode_Language) AsExecutableCodeLanguage1() (ExecutableCodeLanguage1, error)
- func (t ExecutableCode_Language) AsLanguage() (Language, error)
- func (t *ExecutableCode_Language) FromExecutableCodeLanguage1(v ExecutableCodeLanguage1) error
- func (t *ExecutableCode_Language) FromLanguage(v Language) error
- func (t ExecutableCode_Language) MarshalJSON() ([]byte, error)
- func (t *ExecutableCode_Language) MergeExecutableCodeLanguage1(v ExecutableCodeLanguage1) error
- func (t *ExecutableCode_Language) MergeLanguage(v Language) error
- func (t *ExecutableCode_Language) UnmarshalJSON(b []byte) error
- type FileData
- type FileDataFileUri0
- type FileDataFileUri1
- type FileDataMimeType0
- type FileDataMimeType1
- type FileData_FileUri
- func (t FileData_FileUri) AsFileDataFileUri0() (FileDataFileUri0, error)
- func (t FileData_FileUri) AsFileDataFileUri1() (FileDataFileUri1, error)
- func (t *FileData_FileUri) FromFileDataFileUri0(v FileDataFileUri0) error
- func (t *FileData_FileUri) FromFileDataFileUri1(v FileDataFileUri1) error
- func (t FileData_FileUri) MarshalJSON() ([]byte, error)
- func (t *FileData_FileUri) MergeFileDataFileUri0(v FileDataFileUri0) error
- func (t *FileData_FileUri) MergeFileDataFileUri1(v FileDataFileUri1) error
- func (t *FileData_FileUri) UnmarshalJSON(b []byte) error
- type FileData_MimeType
- func (t FileData_MimeType) AsFileDataMimeType0() (FileDataMimeType0, error)
- func (t FileData_MimeType) AsFileDataMimeType1() (FileDataMimeType1, error)
- func (t *FileData_MimeType) FromFileDataMimeType0(v FileDataMimeType0) error
- func (t *FileData_MimeType) FromFileDataMimeType1(v FileDataMimeType1) error
- func (t FileData_MimeType) MarshalJSON() ([]byte, error)
- func (t *FileData_MimeType) MergeFileDataMimeType0(v FileDataMimeType0) error
- func (t *FileData_MimeType) MergeFileDataMimeType1(v FileDataMimeType1) error
- func (t *FileData_MimeType) UnmarshalJSON(b []byte) error
- type FunctionCall
- type FunctionCallArgs0
- type FunctionCallArgs1
- type FunctionCallId0
- type FunctionCallId1
- type FunctionCallName0
- type FunctionCallName1
- type FunctionCall_Args
- func (t FunctionCall_Args) AsFunctionCallArgs0() (FunctionCallArgs0, error)
- func (t FunctionCall_Args) AsFunctionCallArgs1() (FunctionCallArgs1, error)
- func (t *FunctionCall_Args) FromFunctionCallArgs0(v FunctionCallArgs0) error
- func (t *FunctionCall_Args) FromFunctionCallArgs1(v FunctionCallArgs1) error
- func (t FunctionCall_Args) MarshalJSON() ([]byte, error)
- func (t *FunctionCall_Args) MergeFunctionCallArgs0(v FunctionCallArgs0) error
- func (t *FunctionCall_Args) MergeFunctionCallArgs1(v FunctionCallArgs1) error
- func (t *FunctionCall_Args) UnmarshalJSON(b []byte) error
- type FunctionCall_Id
- func (t FunctionCall_Id) AsFunctionCallId0() (FunctionCallId0, error)
- func (t FunctionCall_Id) AsFunctionCallId1() (FunctionCallId1, error)
- func (t *FunctionCall_Id) FromFunctionCallId0(v FunctionCallId0) error
- func (t *FunctionCall_Id) FromFunctionCallId1(v FunctionCallId1) error
- func (t FunctionCall_Id) MarshalJSON() ([]byte, error)
- func (t *FunctionCall_Id) MergeFunctionCallId0(v FunctionCallId0) error
- func (t *FunctionCall_Id) MergeFunctionCallId1(v FunctionCallId1) error
- func (t *FunctionCall_Id) UnmarshalJSON(b []byte) error
- type FunctionCall_Name
- func (t FunctionCall_Name) AsFunctionCallName0() (FunctionCallName0, error)
- func (t FunctionCall_Name) AsFunctionCallName1() (FunctionCallName1, error)
- func (t *FunctionCall_Name) FromFunctionCallName0(v FunctionCallName0) error
- func (t *FunctionCall_Name) FromFunctionCallName1(v FunctionCallName1) error
- func (t FunctionCall_Name) MarshalJSON() ([]byte, error)
- func (t *FunctionCall_Name) MergeFunctionCallName0(v FunctionCallName0) error
- func (t *FunctionCall_Name) MergeFunctionCallName1(v FunctionCallName1) error
- func (t *FunctionCall_Name) UnmarshalJSON(b []byte) error
- type FunctionResponse
- type FunctionResponseId0
- type FunctionResponseId1
- type FunctionResponseName0
- type FunctionResponseName1
- type FunctionResponseResponse0
- type FunctionResponseResponse1
- type FunctionResponse_Id
- func (t FunctionResponse_Id) AsFunctionResponseId0() (FunctionResponseId0, error)
- func (t FunctionResponse_Id) AsFunctionResponseId1() (FunctionResponseId1, error)
- func (t *FunctionResponse_Id) FromFunctionResponseId0(v FunctionResponseId0) error
- func (t *FunctionResponse_Id) FromFunctionResponseId1(v FunctionResponseId1) error
- func (t FunctionResponse_Id) MarshalJSON() ([]byte, error)
- func (t *FunctionResponse_Id) MergeFunctionResponseId0(v FunctionResponseId0) error
- func (t *FunctionResponse_Id) MergeFunctionResponseId1(v FunctionResponseId1) error
- func (t *FunctionResponse_Id) UnmarshalJSON(b []byte) error
- type FunctionResponse_Name
- func (t FunctionResponse_Name) AsFunctionResponseName0() (FunctionResponseName0, error)
- func (t FunctionResponse_Name) AsFunctionResponseName1() (FunctionResponseName1, error)
- func (t *FunctionResponse_Name) FromFunctionResponseName0(v FunctionResponseName0) error
- func (t *FunctionResponse_Name) FromFunctionResponseName1(v FunctionResponseName1) error
- func (t FunctionResponse_Name) MarshalJSON() ([]byte, error)
- func (t *FunctionResponse_Name) MergeFunctionResponseName0(v FunctionResponseName0) error
- func (t *FunctionResponse_Name) MergeFunctionResponseName1(v FunctionResponseName1) error
- func (t *FunctionResponse_Name) UnmarshalJSON(b []byte) error
- type FunctionResponse_Response
- func (t FunctionResponse_Response) AsFunctionResponseResponse0() (FunctionResponseResponse0, error)
- func (t FunctionResponse_Response) AsFunctionResponseResponse1() (FunctionResponseResponse1, error)
- func (t *FunctionResponse_Response) FromFunctionResponseResponse0(v FunctionResponseResponse0) error
- func (t *FunctionResponse_Response) FromFunctionResponseResponse1(v FunctionResponseResponse1) error
- func (t FunctionResponse_Response) MarshalJSON() ([]byte, error)
- func (t *FunctionResponse_Response) MergeFunctionResponseResponse0(v FunctionResponseResponse0) error
- func (t *FunctionResponse_Response) MergeFunctionResponseResponse1(v FunctionResponseResponse1) error
- func (t *FunctionResponse_Response) UnmarshalJSON(b []byte) error
- type GetEventGraphResponse
- type GetSessionResponse
- type GetTraceDictResponse
- type GroundingChunk
- type GroundingChunkRetrievedContext
- type GroundingChunkRetrievedContext1
- type GroundingChunkRetrievedContextText0
- type GroundingChunkRetrievedContextText1
- type GroundingChunkRetrievedContextTitle0
- type GroundingChunkRetrievedContextTitle1
- type GroundingChunkRetrievedContextUri0
- type GroundingChunkRetrievedContextUri1
- type GroundingChunkRetrievedContext_Text
- func (t GroundingChunkRetrievedContext_Text) AsGroundingChunkRetrievedContextText0() (GroundingChunkRetrievedContextText0, error)
- func (t GroundingChunkRetrievedContext_Text) AsGroundingChunkRetrievedContextText1() (GroundingChunkRetrievedContextText1, error)
- func (t *GroundingChunkRetrievedContext_Text) FromGroundingChunkRetrievedContextText0(v GroundingChunkRetrievedContextText0) error
- func (t *GroundingChunkRetrievedContext_Text) FromGroundingChunkRetrievedContextText1(v GroundingChunkRetrievedContextText1) error
- func (t GroundingChunkRetrievedContext_Text) MarshalJSON() ([]byte, error)
- func (t *GroundingChunkRetrievedContext_Text) MergeGroundingChunkRetrievedContextText0(v GroundingChunkRetrievedContextText0) error
- func (t *GroundingChunkRetrievedContext_Text) MergeGroundingChunkRetrievedContextText1(v GroundingChunkRetrievedContextText1) error
- func (t *GroundingChunkRetrievedContext_Text) UnmarshalJSON(b []byte) error
- type GroundingChunkRetrievedContext_Title
- func (t GroundingChunkRetrievedContext_Title) AsGroundingChunkRetrievedContextTitle0() (GroundingChunkRetrievedContextTitle0, error)
- func (t GroundingChunkRetrievedContext_Title) AsGroundingChunkRetrievedContextTitle1() (GroundingChunkRetrievedContextTitle1, error)
- func (t *GroundingChunkRetrievedContext_Title) FromGroundingChunkRetrievedContextTitle0(v GroundingChunkRetrievedContextTitle0) error
- func (t *GroundingChunkRetrievedContext_Title) FromGroundingChunkRetrievedContextTitle1(v GroundingChunkRetrievedContextTitle1) error
- func (t GroundingChunkRetrievedContext_Title) MarshalJSON() ([]byte, error)
- func (t *GroundingChunkRetrievedContext_Title) MergeGroundingChunkRetrievedContextTitle0(v GroundingChunkRetrievedContextTitle0) error
- func (t *GroundingChunkRetrievedContext_Title) MergeGroundingChunkRetrievedContextTitle1(v GroundingChunkRetrievedContextTitle1) error
- func (t *GroundingChunkRetrievedContext_Title) UnmarshalJSON(b []byte) error
- type GroundingChunkRetrievedContext_Uri
- func (t GroundingChunkRetrievedContext_Uri) AsGroundingChunkRetrievedContextUri0() (GroundingChunkRetrievedContextUri0, error)
- func (t GroundingChunkRetrievedContext_Uri) AsGroundingChunkRetrievedContextUri1() (GroundingChunkRetrievedContextUri1, error)
- func (t *GroundingChunkRetrievedContext_Uri) FromGroundingChunkRetrievedContextUri0(v GroundingChunkRetrievedContextUri0) error
- func (t *GroundingChunkRetrievedContext_Uri) FromGroundingChunkRetrievedContextUri1(v GroundingChunkRetrievedContextUri1) error
- func (t GroundingChunkRetrievedContext_Uri) MarshalJSON() ([]byte, error)
- func (t *GroundingChunkRetrievedContext_Uri) MergeGroundingChunkRetrievedContextUri0(v GroundingChunkRetrievedContextUri0) error
- func (t *GroundingChunkRetrievedContext_Uri) MergeGroundingChunkRetrievedContextUri1(v GroundingChunkRetrievedContextUri1) error
- func (t *GroundingChunkRetrievedContext_Uri) UnmarshalJSON(b []byte) error
- type GroundingChunkWeb
- type GroundingChunkWeb1
- type GroundingChunkWebDomain0
- type GroundingChunkWebDomain1
- type GroundingChunkWebTitle0
- type GroundingChunkWebTitle1
- type GroundingChunkWebUri0
- type GroundingChunkWebUri1
- type GroundingChunkWeb_Domain
- func (t GroundingChunkWeb_Domain) AsGroundingChunkWebDomain0() (GroundingChunkWebDomain0, error)
- func (t GroundingChunkWeb_Domain) AsGroundingChunkWebDomain1() (GroundingChunkWebDomain1, error)
- func (t *GroundingChunkWeb_Domain) FromGroundingChunkWebDomain0(v GroundingChunkWebDomain0) error
- func (t *GroundingChunkWeb_Domain) FromGroundingChunkWebDomain1(v GroundingChunkWebDomain1) error
- func (t GroundingChunkWeb_Domain) MarshalJSON() ([]byte, error)
- func (t *GroundingChunkWeb_Domain) MergeGroundingChunkWebDomain0(v GroundingChunkWebDomain0) error
- func (t *GroundingChunkWeb_Domain) MergeGroundingChunkWebDomain1(v GroundingChunkWebDomain1) error
- func (t *GroundingChunkWeb_Domain) UnmarshalJSON(b []byte) error
- type GroundingChunkWeb_Title
- func (t GroundingChunkWeb_Title) AsGroundingChunkWebTitle0() (GroundingChunkWebTitle0, error)
- func (t GroundingChunkWeb_Title) AsGroundingChunkWebTitle1() (GroundingChunkWebTitle1, error)
- func (t *GroundingChunkWeb_Title) FromGroundingChunkWebTitle0(v GroundingChunkWebTitle0) error
- func (t *GroundingChunkWeb_Title) FromGroundingChunkWebTitle1(v GroundingChunkWebTitle1) error
- func (t GroundingChunkWeb_Title) MarshalJSON() ([]byte, error)
- func (t *GroundingChunkWeb_Title) MergeGroundingChunkWebTitle0(v GroundingChunkWebTitle0) error
- func (t *GroundingChunkWeb_Title) MergeGroundingChunkWebTitle1(v GroundingChunkWebTitle1) error
- func (t *GroundingChunkWeb_Title) UnmarshalJSON(b []byte) error
- type GroundingChunkWeb_Uri
- func (t GroundingChunkWeb_Uri) AsGroundingChunkWebUri0() (GroundingChunkWebUri0, error)
- func (t GroundingChunkWeb_Uri) AsGroundingChunkWebUri1() (GroundingChunkWebUri1, error)
- func (t *GroundingChunkWeb_Uri) FromGroundingChunkWebUri0(v GroundingChunkWebUri0) error
- func (t *GroundingChunkWeb_Uri) FromGroundingChunkWebUri1(v GroundingChunkWebUri1) error
- func (t GroundingChunkWeb_Uri) MarshalJSON() ([]byte, error)
- func (t *GroundingChunkWeb_Uri) MergeGroundingChunkWebUri0(v GroundingChunkWebUri0) error
- func (t *GroundingChunkWeb_Uri) MergeGroundingChunkWebUri1(v GroundingChunkWebUri1) error
- func (t *GroundingChunkWeb_Uri) UnmarshalJSON(b []byte) error
- type GroundingChunk_RetrievedContext
- func (t GroundingChunk_RetrievedContext) AsGroundingChunkRetrievedContext() (GroundingChunkRetrievedContext, error)
- func (t GroundingChunk_RetrievedContext) AsGroundingChunkRetrievedContext1() (GroundingChunkRetrievedContext1, error)
- func (t *GroundingChunk_RetrievedContext) FromGroundingChunkRetrievedContext(v GroundingChunkRetrievedContext) error
- func (t *GroundingChunk_RetrievedContext) FromGroundingChunkRetrievedContext1(v GroundingChunkRetrievedContext1) error
- func (t GroundingChunk_RetrievedContext) MarshalJSON() ([]byte, error)
- func (t *GroundingChunk_RetrievedContext) MergeGroundingChunkRetrievedContext(v GroundingChunkRetrievedContext) error
- func (t *GroundingChunk_RetrievedContext) MergeGroundingChunkRetrievedContext1(v GroundingChunkRetrievedContext1) error
- func (t *GroundingChunk_RetrievedContext) UnmarshalJSON(b []byte) error
- type GroundingChunk_Web
- func (t GroundingChunk_Web) AsGroundingChunkWeb() (GroundingChunkWeb, error)
- func (t GroundingChunk_Web) AsGroundingChunkWeb1() (GroundingChunkWeb1, error)
- func (t *GroundingChunk_Web) FromGroundingChunkWeb(v GroundingChunkWeb) error
- func (t *GroundingChunk_Web) FromGroundingChunkWeb1(v GroundingChunkWeb1) error
- func (t GroundingChunk_Web) MarshalJSON() ([]byte, error)
- func (t *GroundingChunk_Web) MergeGroundingChunkWeb(v GroundingChunkWeb) error
- func (t *GroundingChunk_Web) MergeGroundingChunkWeb1(v GroundingChunkWeb1) error
- func (t *GroundingChunk_Web) UnmarshalJSON(b []byte) error
- type GroundingMetadata
- type GroundingMetadataGroundingChunks0
- type GroundingMetadataGroundingChunks1
- type GroundingMetadataGroundingSupports0
- type GroundingMetadataGroundingSupports1
- type GroundingMetadataRetrievalMetadata1
- type GroundingMetadataRetrievalQueries0
- type GroundingMetadataRetrievalQueries1
- type GroundingMetadataSearchEntryPoint1
- type GroundingMetadataWebSearchQueries0
- type GroundingMetadataWebSearchQueries1
- type GroundingMetadata_GroundingChunks
- func (t GroundingMetadata_GroundingChunks) AsGroundingMetadataGroundingChunks0() (GroundingMetadataGroundingChunks0, error)
- func (t GroundingMetadata_GroundingChunks) AsGroundingMetadataGroundingChunks1() (GroundingMetadataGroundingChunks1, error)
- func (t *GroundingMetadata_GroundingChunks) FromGroundingMetadataGroundingChunks0(v GroundingMetadataGroundingChunks0) error
- func (t *GroundingMetadata_GroundingChunks) FromGroundingMetadataGroundingChunks1(v GroundingMetadataGroundingChunks1) error
- func (t GroundingMetadata_GroundingChunks) MarshalJSON() ([]byte, error)
- func (t *GroundingMetadata_GroundingChunks) MergeGroundingMetadataGroundingChunks0(v GroundingMetadataGroundingChunks0) error
- func (t *GroundingMetadata_GroundingChunks) MergeGroundingMetadataGroundingChunks1(v GroundingMetadataGroundingChunks1) error
- func (t *GroundingMetadata_GroundingChunks) UnmarshalJSON(b []byte) error
- type GroundingMetadata_GroundingSupports
- func (t GroundingMetadata_GroundingSupports) AsGroundingMetadataGroundingSupports0() (GroundingMetadataGroundingSupports0, error)
- func (t GroundingMetadata_GroundingSupports) AsGroundingMetadataGroundingSupports1() (GroundingMetadataGroundingSupports1, error)
- func (t *GroundingMetadata_GroundingSupports) FromGroundingMetadataGroundingSupports0(v GroundingMetadataGroundingSupports0) error
- func (t *GroundingMetadata_GroundingSupports) FromGroundingMetadataGroundingSupports1(v GroundingMetadataGroundingSupports1) error
- func (t GroundingMetadata_GroundingSupports) MarshalJSON() ([]byte, error)
- func (t *GroundingMetadata_GroundingSupports) MergeGroundingMetadataGroundingSupports0(v GroundingMetadataGroundingSupports0) error
- func (t *GroundingMetadata_GroundingSupports) MergeGroundingMetadataGroundingSupports1(v GroundingMetadataGroundingSupports1) error
- func (t *GroundingMetadata_GroundingSupports) UnmarshalJSON(b []byte) error
- type GroundingMetadata_RetrievalMetadata
- func (t GroundingMetadata_RetrievalMetadata) AsGroundingMetadataRetrievalMetadata1() (GroundingMetadataRetrievalMetadata1, error)
- func (t GroundingMetadata_RetrievalMetadata) AsRetrievalMetadata() (RetrievalMetadata, error)
- func (t *GroundingMetadata_RetrievalMetadata) FromGroundingMetadataRetrievalMetadata1(v GroundingMetadataRetrievalMetadata1) error
- func (t *GroundingMetadata_RetrievalMetadata) FromRetrievalMetadata(v RetrievalMetadata) error
- func (t GroundingMetadata_RetrievalMetadata) MarshalJSON() ([]byte, error)
- func (t *GroundingMetadata_RetrievalMetadata) MergeGroundingMetadataRetrievalMetadata1(v GroundingMetadataRetrievalMetadata1) error
- func (t *GroundingMetadata_RetrievalMetadata) MergeRetrievalMetadata(v RetrievalMetadata) error
- func (t *GroundingMetadata_RetrievalMetadata) UnmarshalJSON(b []byte) error
- type GroundingMetadata_RetrievalQueries
- func (t GroundingMetadata_RetrievalQueries) AsGroundingMetadataRetrievalQueries0() (GroundingMetadataRetrievalQueries0, error)
- func (t GroundingMetadata_RetrievalQueries) AsGroundingMetadataRetrievalQueries1() (GroundingMetadataRetrievalQueries1, error)
- func (t *GroundingMetadata_RetrievalQueries) FromGroundingMetadataRetrievalQueries0(v GroundingMetadataRetrievalQueries0) error
- func (t *GroundingMetadata_RetrievalQueries) FromGroundingMetadataRetrievalQueries1(v GroundingMetadataRetrievalQueries1) error
- func (t GroundingMetadata_RetrievalQueries) MarshalJSON() ([]byte, error)
- func (t *GroundingMetadata_RetrievalQueries) MergeGroundingMetadataRetrievalQueries0(v GroundingMetadataRetrievalQueries0) error
- func (t *GroundingMetadata_RetrievalQueries) MergeGroundingMetadataRetrievalQueries1(v GroundingMetadataRetrievalQueries1) error
- func (t *GroundingMetadata_RetrievalQueries) UnmarshalJSON(b []byte) error
- type GroundingMetadata_SearchEntryPoint
- func (t GroundingMetadata_SearchEntryPoint) AsGroundingMetadataSearchEntryPoint1() (GroundingMetadataSearchEntryPoint1, error)
- func (t GroundingMetadata_SearchEntryPoint) AsSearchEntryPoint() (SearchEntryPoint, error)
- func (t *GroundingMetadata_SearchEntryPoint) FromGroundingMetadataSearchEntryPoint1(v GroundingMetadataSearchEntryPoint1) error
- func (t *GroundingMetadata_SearchEntryPoint) FromSearchEntryPoint(v SearchEntryPoint) error
- func (t GroundingMetadata_SearchEntryPoint) MarshalJSON() ([]byte, error)
- func (t *GroundingMetadata_SearchEntryPoint) MergeGroundingMetadataSearchEntryPoint1(v GroundingMetadataSearchEntryPoint1) error
- func (t *GroundingMetadata_SearchEntryPoint) MergeSearchEntryPoint(v SearchEntryPoint) error
- func (t *GroundingMetadata_SearchEntryPoint) UnmarshalJSON(b []byte) error
- type GroundingMetadata_WebSearchQueries
- func (t GroundingMetadata_WebSearchQueries) AsGroundingMetadataWebSearchQueries0() (GroundingMetadataWebSearchQueries0, error)
- func (t GroundingMetadata_WebSearchQueries) AsGroundingMetadataWebSearchQueries1() (GroundingMetadataWebSearchQueries1, error)
- func (t *GroundingMetadata_WebSearchQueries) FromGroundingMetadataWebSearchQueries0(v GroundingMetadataWebSearchQueries0) error
- func (t *GroundingMetadata_WebSearchQueries) FromGroundingMetadataWebSearchQueries1(v GroundingMetadataWebSearchQueries1) error
- func (t GroundingMetadata_WebSearchQueries) MarshalJSON() ([]byte, error)
- func (t *GroundingMetadata_WebSearchQueries) MergeGroundingMetadataWebSearchQueries0(v GroundingMetadataWebSearchQueries0) error
- func (t *GroundingMetadata_WebSearchQueries) MergeGroundingMetadataWebSearchQueries1(v GroundingMetadataWebSearchQueries1) error
- func (t *GroundingMetadata_WebSearchQueries) UnmarshalJSON(b []byte) error
- type GroundingSupport
- type GroundingSupportConfidenceScores0
- type GroundingSupportConfidenceScores1
- type GroundingSupportGroundingChunkIndices0
- type GroundingSupportGroundingChunkIndices1
- type GroundingSupportSegment1
- type GroundingSupport_ConfidenceScores
- func (t GroundingSupport_ConfidenceScores) AsGroundingSupportConfidenceScores0() (GroundingSupportConfidenceScores0, error)
- func (t GroundingSupport_ConfidenceScores) AsGroundingSupportConfidenceScores1() (GroundingSupportConfidenceScores1, error)
- func (t *GroundingSupport_ConfidenceScores) FromGroundingSupportConfidenceScores0(v GroundingSupportConfidenceScores0) error
- func (t *GroundingSupport_ConfidenceScores) FromGroundingSupportConfidenceScores1(v GroundingSupportConfidenceScores1) error
- func (t GroundingSupport_ConfidenceScores) MarshalJSON() ([]byte, error)
- func (t *GroundingSupport_ConfidenceScores) MergeGroundingSupportConfidenceScores0(v GroundingSupportConfidenceScores0) error
- func (t *GroundingSupport_ConfidenceScores) MergeGroundingSupportConfidenceScores1(v GroundingSupportConfidenceScores1) error
- func (t *GroundingSupport_ConfidenceScores) UnmarshalJSON(b []byte) error
- type GroundingSupport_GroundingChunkIndices
- func (t GroundingSupport_GroundingChunkIndices) AsGroundingSupportGroundingChunkIndices0() (GroundingSupportGroundingChunkIndices0, error)
- func (t GroundingSupport_GroundingChunkIndices) AsGroundingSupportGroundingChunkIndices1() (GroundingSupportGroundingChunkIndices1, error)
- func (t *GroundingSupport_GroundingChunkIndices) FromGroundingSupportGroundingChunkIndices0(v GroundingSupportGroundingChunkIndices0) error
- func (t *GroundingSupport_GroundingChunkIndices) FromGroundingSupportGroundingChunkIndices1(v GroundingSupportGroundingChunkIndices1) error
- func (t GroundingSupport_GroundingChunkIndices) MarshalJSON() ([]byte, error)
- func (t *GroundingSupport_GroundingChunkIndices) MergeGroundingSupportGroundingChunkIndices0(v GroundingSupportGroundingChunkIndices0) error
- func (t *GroundingSupport_GroundingChunkIndices) MergeGroundingSupportGroundingChunkIndices1(v GroundingSupportGroundingChunkIndices1) error
- func (t *GroundingSupport_GroundingChunkIndices) UnmarshalJSON(b []byte) error
- type GroundingSupport_Segment
- func (t GroundingSupport_Segment) AsGroundingSupportSegment1() (GroundingSupportSegment1, error)
- func (t GroundingSupport_Segment) AsSegment() (Segment, error)
- func (t *GroundingSupport_Segment) FromGroundingSupportSegment1(v GroundingSupportSegment1) error
- func (t *GroundingSupport_Segment) FromSegment(v Segment) error
- func (t GroundingSupport_Segment) MarshalJSON() ([]byte, error)
- func (t *GroundingSupport_Segment) MergeGroundingSupportSegment1(v GroundingSupportSegment1) error
- func (t *GroundingSupport_Segment) MergeSegment(v Segment) error
- func (t *GroundingSupport_Segment) UnmarshalJSON(b []byte) error
- type HTTPBase
- type HTTPBaseDescription0
- type HTTPBaseDescription1
- type HTTPBase_Description
- func (t HTTPBase_Description) AsHTTPBaseDescription0() (HTTPBaseDescription0, error)
- func (t HTTPBase_Description) AsHTTPBaseDescription1() (HTTPBaseDescription1, error)
- func (t *HTTPBase_Description) FromHTTPBaseDescription0(v HTTPBaseDescription0) error
- func (t *HTTPBase_Description) FromHTTPBaseDescription1(v HTTPBaseDescription1) error
- func (t HTTPBase_Description) MarshalJSON() ([]byte, error)
- func (t *HTTPBase_Description) MergeHTTPBaseDescription0(v HTTPBaseDescription0) error
- func (t *HTTPBase_Description) MergeHTTPBaseDescription1(v HTTPBaseDescription1) error
- func (t *HTTPBase_Description) UnmarshalJSON(b []byte) error
- type HTTPBearer
- type HTTPBearerBearerFormat0
- type HTTPBearerBearerFormat1
- type HTTPBearerDescription0
- type HTTPBearerDescription1
- type HTTPBearer_BearerFormat
- func (t HTTPBearer_BearerFormat) AsHTTPBearerBearerFormat0() (HTTPBearerBearerFormat0, error)
- func (t HTTPBearer_BearerFormat) AsHTTPBearerBearerFormat1() (HTTPBearerBearerFormat1, error)
- func (t *HTTPBearer_BearerFormat) FromHTTPBearerBearerFormat0(v HTTPBearerBearerFormat0) error
- func (t *HTTPBearer_BearerFormat) FromHTTPBearerBearerFormat1(v HTTPBearerBearerFormat1) error
- func (t HTTPBearer_BearerFormat) MarshalJSON() ([]byte, error)
- func (t *HTTPBearer_BearerFormat) MergeHTTPBearerBearerFormat0(v HTTPBearerBearerFormat0) error
- func (t *HTTPBearer_BearerFormat) MergeHTTPBearerBearerFormat1(v HTTPBearerBearerFormat1) error
- func (t *HTTPBearer_BearerFormat) UnmarshalJSON(b []byte) error
- type HTTPBearer_Description
- func (t HTTPBearer_Description) AsHTTPBearerDescription0() (HTTPBearerDescription0, error)
- func (t HTTPBearer_Description) AsHTTPBearerDescription1() (HTTPBearerDescription1, error)
- func (t *HTTPBearer_Description) FromHTTPBearerDescription0(v HTTPBearerDescription0) error
- func (t *HTTPBearer_Description) FromHTTPBearerDescription1(v HTTPBearerDescription1) error
- func (t HTTPBearer_Description) MarshalJSON() ([]byte, error)
- func (t *HTTPBearer_Description) MergeHTTPBearerDescription0(v HTTPBearerDescription0) error
- func (t *HTTPBearer_Description) MergeHTTPBearerDescription1(v HTTPBearerDescription1) error
- func (t *HTTPBearer_Description) UnmarshalJSON(b []byte) error
- type HTTPValidationError
- type HttpAuth
- type HttpCredentials
- type HttpCredentialsPassword0
- type HttpCredentialsPassword1
- type HttpCredentialsToken0
- type HttpCredentialsToken1
- type HttpCredentialsUsername0
- type HttpCredentialsUsername1
- type HttpCredentials_Password
- func (t HttpCredentials_Password) AsHttpCredentialsPassword0() (HttpCredentialsPassword0, error)
- func (t HttpCredentials_Password) AsHttpCredentialsPassword1() (HttpCredentialsPassword1, error)
- func (t *HttpCredentials_Password) FromHttpCredentialsPassword0(v HttpCredentialsPassword0) error
- func (t *HttpCredentials_Password) FromHttpCredentialsPassword1(v HttpCredentialsPassword1) error
- func (t HttpCredentials_Password) MarshalJSON() ([]byte, error)
- func (t *HttpCredentials_Password) MergeHttpCredentialsPassword0(v HttpCredentialsPassword0) error
- func (t *HttpCredentials_Password) MergeHttpCredentialsPassword1(v HttpCredentialsPassword1) error
- func (t *HttpCredentials_Password) UnmarshalJSON(b []byte) error
- type HttpCredentials_Token
- func (t HttpCredentials_Token) AsHttpCredentialsToken0() (HttpCredentialsToken0, error)
- func (t HttpCredentials_Token) AsHttpCredentialsToken1() (HttpCredentialsToken1, error)
- func (t *HttpCredentials_Token) FromHttpCredentialsToken0(v HttpCredentialsToken0) error
- func (t *HttpCredentials_Token) FromHttpCredentialsToken1(v HttpCredentialsToken1) error
- func (t HttpCredentials_Token) MarshalJSON() ([]byte, error)
- func (t *HttpCredentials_Token) MergeHttpCredentialsToken0(v HttpCredentialsToken0) error
- func (t *HttpCredentials_Token) MergeHttpCredentialsToken1(v HttpCredentialsToken1) error
- func (t *HttpCredentials_Token) UnmarshalJSON(b []byte) error
- type HttpCredentials_Username
- func (t HttpCredentials_Username) AsHttpCredentialsUsername0() (HttpCredentialsUsername0, error)
- func (t HttpCredentials_Username) AsHttpCredentialsUsername1() (HttpCredentialsUsername1, error)
- func (t *HttpCredentials_Username) FromHttpCredentialsUsername0(v HttpCredentialsUsername0) error
- func (t *HttpCredentials_Username) FromHttpCredentialsUsername1(v HttpCredentialsUsername1) error
- func (t HttpCredentials_Username) MarshalJSON() ([]byte, error)
- func (t *HttpCredentials_Username) MergeHttpCredentialsUsername0(v HttpCredentialsUsername0) error
- func (t *HttpCredentials_Username) MergeHttpCredentialsUsername1(v HttpCredentialsUsername1) error
- func (t *HttpCredentials_Username) UnmarshalJSON(b []byte) error
- type HttpRequestDoer
- type Language
- type ListAppsResponse
- type ListArtifactNamesResponse
- type ListArtifactVersionsResponse
- type ListEvalSetsResponse
- type ListEvalsInEvalSetResponse
- type ListSessionsResponse
- type LoadArtifactParams
- type LoadArtifactParamsVersion0
- type LoadArtifactParamsVersion1
- type LoadArtifactResponse
- type LoadArtifactVersionResponse
- type OAuth2
- type OAuth2Auth
- type OAuth2AuthAuthCode0
- type OAuth2AuthAuthCode1
- type OAuth2AuthAuthResponseUri0
- type OAuth2AuthAuthResponseUri1
- type OAuth2AuthAuthUri0
- type OAuth2AuthAuthUri1
- type OAuth2AuthClientId0
- type OAuth2AuthClientId1
- type OAuth2AuthClientSecret0
- type OAuth2AuthClientSecret1
- type OAuth2AuthRedirectUri0
- type OAuth2AuthRedirectUri1
- type OAuth2AuthState0
- type OAuth2AuthState1
- type OAuth2AuthToken0
- type OAuth2AuthToken1
- type OAuth2Auth_AuthCode
- func (t OAuth2Auth_AuthCode) AsOAuth2AuthAuthCode0() (OAuth2AuthAuthCode0, error)
- func (t OAuth2Auth_AuthCode) AsOAuth2AuthAuthCode1() (OAuth2AuthAuthCode1, error)
- func (t *OAuth2Auth_AuthCode) FromOAuth2AuthAuthCode0(v OAuth2AuthAuthCode0) error
- func (t *OAuth2Auth_AuthCode) FromOAuth2AuthAuthCode1(v OAuth2AuthAuthCode1) error
- func (t OAuth2Auth_AuthCode) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_AuthCode) MergeOAuth2AuthAuthCode0(v OAuth2AuthAuthCode0) error
- func (t *OAuth2Auth_AuthCode) MergeOAuth2AuthAuthCode1(v OAuth2AuthAuthCode1) error
- func (t *OAuth2Auth_AuthCode) UnmarshalJSON(b []byte) error
- type OAuth2Auth_AuthResponseUri
- func (t OAuth2Auth_AuthResponseUri) AsOAuth2AuthAuthResponseUri0() (OAuth2AuthAuthResponseUri0, error)
- func (t OAuth2Auth_AuthResponseUri) AsOAuth2AuthAuthResponseUri1() (OAuth2AuthAuthResponseUri1, error)
- func (t *OAuth2Auth_AuthResponseUri) FromOAuth2AuthAuthResponseUri0(v OAuth2AuthAuthResponseUri0) error
- func (t *OAuth2Auth_AuthResponseUri) FromOAuth2AuthAuthResponseUri1(v OAuth2AuthAuthResponseUri1) error
- func (t OAuth2Auth_AuthResponseUri) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_AuthResponseUri) MergeOAuth2AuthAuthResponseUri0(v OAuth2AuthAuthResponseUri0) error
- func (t *OAuth2Auth_AuthResponseUri) MergeOAuth2AuthAuthResponseUri1(v OAuth2AuthAuthResponseUri1) error
- func (t *OAuth2Auth_AuthResponseUri) UnmarshalJSON(b []byte) error
- type OAuth2Auth_AuthUri
- func (t OAuth2Auth_AuthUri) AsOAuth2AuthAuthUri0() (OAuth2AuthAuthUri0, error)
- func (t OAuth2Auth_AuthUri) AsOAuth2AuthAuthUri1() (OAuth2AuthAuthUri1, error)
- func (t *OAuth2Auth_AuthUri) FromOAuth2AuthAuthUri0(v OAuth2AuthAuthUri0) error
- func (t *OAuth2Auth_AuthUri) FromOAuth2AuthAuthUri1(v OAuth2AuthAuthUri1) error
- func (t OAuth2Auth_AuthUri) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_AuthUri) MergeOAuth2AuthAuthUri0(v OAuth2AuthAuthUri0) error
- func (t *OAuth2Auth_AuthUri) MergeOAuth2AuthAuthUri1(v OAuth2AuthAuthUri1) error
- func (t *OAuth2Auth_AuthUri) UnmarshalJSON(b []byte) error
- type OAuth2Auth_ClientId
- func (t OAuth2Auth_ClientId) AsOAuth2AuthClientId0() (OAuth2AuthClientId0, error)
- func (t OAuth2Auth_ClientId) AsOAuth2AuthClientId1() (OAuth2AuthClientId1, error)
- func (t *OAuth2Auth_ClientId) FromOAuth2AuthClientId0(v OAuth2AuthClientId0) error
- func (t *OAuth2Auth_ClientId) FromOAuth2AuthClientId1(v OAuth2AuthClientId1) error
- func (t OAuth2Auth_ClientId) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_ClientId) MergeOAuth2AuthClientId0(v OAuth2AuthClientId0) error
- func (t *OAuth2Auth_ClientId) MergeOAuth2AuthClientId1(v OAuth2AuthClientId1) error
- func (t *OAuth2Auth_ClientId) UnmarshalJSON(b []byte) error
- type OAuth2Auth_ClientSecret
- func (t OAuth2Auth_ClientSecret) AsOAuth2AuthClientSecret0() (OAuth2AuthClientSecret0, error)
- func (t OAuth2Auth_ClientSecret) AsOAuth2AuthClientSecret1() (OAuth2AuthClientSecret1, error)
- func (t *OAuth2Auth_ClientSecret) FromOAuth2AuthClientSecret0(v OAuth2AuthClientSecret0) error
- func (t *OAuth2Auth_ClientSecret) FromOAuth2AuthClientSecret1(v OAuth2AuthClientSecret1) error
- func (t OAuth2Auth_ClientSecret) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_ClientSecret) MergeOAuth2AuthClientSecret0(v OAuth2AuthClientSecret0) error
- func (t *OAuth2Auth_ClientSecret) MergeOAuth2AuthClientSecret1(v OAuth2AuthClientSecret1) error
- func (t *OAuth2Auth_ClientSecret) UnmarshalJSON(b []byte) error
- type OAuth2Auth_RedirectUri
- func (t OAuth2Auth_RedirectUri) AsOAuth2AuthRedirectUri0() (OAuth2AuthRedirectUri0, error)
- func (t OAuth2Auth_RedirectUri) AsOAuth2AuthRedirectUri1() (OAuth2AuthRedirectUri1, error)
- func (t *OAuth2Auth_RedirectUri) FromOAuth2AuthRedirectUri0(v OAuth2AuthRedirectUri0) error
- func (t *OAuth2Auth_RedirectUri) FromOAuth2AuthRedirectUri1(v OAuth2AuthRedirectUri1) error
- func (t OAuth2Auth_RedirectUri) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_RedirectUri) MergeOAuth2AuthRedirectUri0(v OAuth2AuthRedirectUri0) error
- func (t *OAuth2Auth_RedirectUri) MergeOAuth2AuthRedirectUri1(v OAuth2AuthRedirectUri1) error
- func (t *OAuth2Auth_RedirectUri) UnmarshalJSON(b []byte) error
- type OAuth2Auth_State
- func (t OAuth2Auth_State) AsOAuth2AuthState0() (OAuth2AuthState0, error)
- func (t OAuth2Auth_State) AsOAuth2AuthState1() (OAuth2AuthState1, error)
- func (t *OAuth2Auth_State) FromOAuth2AuthState0(v OAuth2AuthState0) error
- func (t *OAuth2Auth_State) FromOAuth2AuthState1(v OAuth2AuthState1) error
- func (t OAuth2Auth_State) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_State) MergeOAuth2AuthState0(v OAuth2AuthState0) error
- func (t *OAuth2Auth_State) MergeOAuth2AuthState1(v OAuth2AuthState1) error
- func (t *OAuth2Auth_State) UnmarshalJSON(b []byte) error
- type OAuth2Auth_Token
- func (t OAuth2Auth_Token) AsOAuth2AuthToken0() (OAuth2AuthToken0, error)
- func (t OAuth2Auth_Token) AsOAuth2AuthToken1() (OAuth2AuthToken1, error)
- func (t *OAuth2Auth_Token) FromOAuth2AuthToken0(v OAuth2AuthToken0) error
- func (t *OAuth2Auth_Token) FromOAuth2AuthToken1(v OAuth2AuthToken1) error
- func (t OAuth2Auth_Token) MarshalJSON() ([]byte, error)
- func (t *OAuth2Auth_Token) MergeOAuth2AuthToken0(v OAuth2AuthToken0) error
- func (t *OAuth2Auth_Token) MergeOAuth2AuthToken1(v OAuth2AuthToken1) error
- func (t *OAuth2Auth_Token) UnmarshalJSON(b []byte) error
- type OAuth2Description0
- type OAuth2Description1
- type OAuth2_Description
- func (t OAuth2_Description) AsOAuth2Description0() (OAuth2Description0, error)
- func (t OAuth2_Description) AsOAuth2Description1() (OAuth2Description1, error)
- func (t *OAuth2_Description) FromOAuth2Description0(v OAuth2Description0) error
- func (t *OAuth2_Description) FromOAuth2Description1(v OAuth2Description1) error
- func (t OAuth2_Description) MarshalJSON() ([]byte, error)
- func (t *OAuth2_Description) MergeOAuth2Description0(v OAuth2Description0) error
- func (t *OAuth2_Description) MergeOAuth2Description1(v OAuth2Description1) error
- func (t *OAuth2_Description) UnmarshalJSON(b []byte) error
- type OAuthFlowAuthorizationCode
- func (a OAuthFlowAuthorizationCode) Get(fieldName string) (value interface{}, found bool)
- func (a OAuthFlowAuthorizationCode) MarshalJSON() ([]byte, error)
- func (a *OAuthFlowAuthorizationCode) Set(fieldName string, value interface{})
- func (a *OAuthFlowAuthorizationCode) UnmarshalJSON(b []byte) error
- type OAuthFlowAuthorizationCodeRefreshUrl0
- type OAuthFlowAuthorizationCodeRefreshUrl1
- type OAuthFlowAuthorizationCode_RefreshUrl
- func (t OAuthFlowAuthorizationCode_RefreshUrl) AsOAuthFlowAuthorizationCodeRefreshUrl0() (OAuthFlowAuthorizationCodeRefreshUrl0, error)
- func (t OAuthFlowAuthorizationCode_RefreshUrl) AsOAuthFlowAuthorizationCodeRefreshUrl1() (OAuthFlowAuthorizationCodeRefreshUrl1, error)
- func (t *OAuthFlowAuthorizationCode_RefreshUrl) FromOAuthFlowAuthorizationCodeRefreshUrl0(v OAuthFlowAuthorizationCodeRefreshUrl0) error
- func (t *OAuthFlowAuthorizationCode_RefreshUrl) FromOAuthFlowAuthorizationCodeRefreshUrl1(v OAuthFlowAuthorizationCodeRefreshUrl1) error
- func (t OAuthFlowAuthorizationCode_RefreshUrl) MarshalJSON() ([]byte, error)
- func (t *OAuthFlowAuthorizationCode_RefreshUrl) MergeOAuthFlowAuthorizationCodeRefreshUrl0(v OAuthFlowAuthorizationCodeRefreshUrl0) error
- func (t *OAuthFlowAuthorizationCode_RefreshUrl) MergeOAuthFlowAuthorizationCodeRefreshUrl1(v OAuthFlowAuthorizationCodeRefreshUrl1) error
- func (t *OAuthFlowAuthorizationCode_RefreshUrl) UnmarshalJSON(b []byte) error
- type OAuthFlowClientCredentials
- func (a OAuthFlowClientCredentials) Get(fieldName string) (value interface{}, found bool)
- func (a OAuthFlowClientCredentials) MarshalJSON() ([]byte, error)
- func (a *OAuthFlowClientCredentials) Set(fieldName string, value interface{})
- func (a *OAuthFlowClientCredentials) UnmarshalJSON(b []byte) error
- type OAuthFlowClientCredentialsRefreshUrl0
- type OAuthFlowClientCredentialsRefreshUrl1
- type OAuthFlowClientCredentials_RefreshUrl
- func (t OAuthFlowClientCredentials_RefreshUrl) AsOAuthFlowClientCredentialsRefreshUrl0() (OAuthFlowClientCredentialsRefreshUrl0, error)
- func (t OAuthFlowClientCredentials_RefreshUrl) AsOAuthFlowClientCredentialsRefreshUrl1() (OAuthFlowClientCredentialsRefreshUrl1, error)
- func (t *OAuthFlowClientCredentials_RefreshUrl) FromOAuthFlowClientCredentialsRefreshUrl0(v OAuthFlowClientCredentialsRefreshUrl0) error
- func (t *OAuthFlowClientCredentials_RefreshUrl) FromOAuthFlowClientCredentialsRefreshUrl1(v OAuthFlowClientCredentialsRefreshUrl1) error
- func (t OAuthFlowClientCredentials_RefreshUrl) MarshalJSON() ([]byte, error)
- func (t *OAuthFlowClientCredentials_RefreshUrl) MergeOAuthFlowClientCredentialsRefreshUrl0(v OAuthFlowClientCredentialsRefreshUrl0) error
- func (t *OAuthFlowClientCredentials_RefreshUrl) MergeOAuthFlowClientCredentialsRefreshUrl1(v OAuthFlowClientCredentialsRefreshUrl1) error
- func (t *OAuthFlowClientCredentials_RefreshUrl) UnmarshalJSON(b []byte) error
- type OAuthFlowImplicit
- type OAuthFlowImplicitRefreshUrl0
- type OAuthFlowImplicitRefreshUrl1
- type OAuthFlowImplicit_RefreshUrl
- func (t OAuthFlowImplicit_RefreshUrl) AsOAuthFlowImplicitRefreshUrl0() (OAuthFlowImplicitRefreshUrl0, error)
- func (t OAuthFlowImplicit_RefreshUrl) AsOAuthFlowImplicitRefreshUrl1() (OAuthFlowImplicitRefreshUrl1, error)
- func (t *OAuthFlowImplicit_RefreshUrl) FromOAuthFlowImplicitRefreshUrl0(v OAuthFlowImplicitRefreshUrl0) error
- func (t *OAuthFlowImplicit_RefreshUrl) FromOAuthFlowImplicitRefreshUrl1(v OAuthFlowImplicitRefreshUrl1) error
- func (t OAuthFlowImplicit_RefreshUrl) MarshalJSON() ([]byte, error)
- func (t *OAuthFlowImplicit_RefreshUrl) MergeOAuthFlowImplicitRefreshUrl0(v OAuthFlowImplicitRefreshUrl0) error
- func (t *OAuthFlowImplicit_RefreshUrl) MergeOAuthFlowImplicitRefreshUrl1(v OAuthFlowImplicitRefreshUrl1) error
- func (t *OAuthFlowImplicit_RefreshUrl) UnmarshalJSON(b []byte) error
- type OAuthFlowPassword
- type OAuthFlowPasswordRefreshUrl0
- type OAuthFlowPasswordRefreshUrl1
- type OAuthFlowPassword_RefreshUrl
- func (t OAuthFlowPassword_RefreshUrl) AsOAuthFlowPasswordRefreshUrl0() (OAuthFlowPasswordRefreshUrl0, error)
- func (t OAuthFlowPassword_RefreshUrl) AsOAuthFlowPasswordRefreshUrl1() (OAuthFlowPasswordRefreshUrl1, error)
- func (t *OAuthFlowPassword_RefreshUrl) FromOAuthFlowPasswordRefreshUrl0(v OAuthFlowPasswordRefreshUrl0) error
- func (t *OAuthFlowPassword_RefreshUrl) FromOAuthFlowPasswordRefreshUrl1(v OAuthFlowPasswordRefreshUrl1) error
- func (t OAuthFlowPassword_RefreshUrl) MarshalJSON() ([]byte, error)
- func (t *OAuthFlowPassword_RefreshUrl) MergeOAuthFlowPasswordRefreshUrl0(v OAuthFlowPasswordRefreshUrl0) error
- func (t *OAuthFlowPassword_RefreshUrl) MergeOAuthFlowPasswordRefreshUrl1(v OAuthFlowPasswordRefreshUrl1) error
- func (t *OAuthFlowPassword_RefreshUrl) UnmarshalJSON(b []byte) error
- type OAuthFlows
- type OAuthFlowsAuthorizationCode1
- type OAuthFlowsClientCredentials1
- type OAuthFlowsImplicit1
- type OAuthFlowsPassword1
- type OAuthFlows_AuthorizationCode
- func (t OAuthFlows_AuthorizationCode) AsOAuthFlowAuthorizationCode() (OAuthFlowAuthorizationCode, error)
- func (t OAuthFlows_AuthorizationCode) AsOAuthFlowsAuthorizationCode1() (OAuthFlowsAuthorizationCode1, error)
- func (t *OAuthFlows_AuthorizationCode) FromOAuthFlowAuthorizationCode(v OAuthFlowAuthorizationCode) error
- func (t *OAuthFlows_AuthorizationCode) FromOAuthFlowsAuthorizationCode1(v OAuthFlowsAuthorizationCode1) error
- func (t OAuthFlows_AuthorizationCode) MarshalJSON() ([]byte, error)
- func (t *OAuthFlows_AuthorizationCode) MergeOAuthFlowAuthorizationCode(v OAuthFlowAuthorizationCode) error
- func (t *OAuthFlows_AuthorizationCode) MergeOAuthFlowsAuthorizationCode1(v OAuthFlowsAuthorizationCode1) error
- func (t *OAuthFlows_AuthorizationCode) UnmarshalJSON(b []byte) error
- type OAuthFlows_ClientCredentials
- func (t OAuthFlows_ClientCredentials) AsOAuthFlowClientCredentials() (OAuthFlowClientCredentials, error)
- func (t OAuthFlows_ClientCredentials) AsOAuthFlowsClientCredentials1() (OAuthFlowsClientCredentials1, error)
- func (t *OAuthFlows_ClientCredentials) FromOAuthFlowClientCredentials(v OAuthFlowClientCredentials) error
- func (t *OAuthFlows_ClientCredentials) FromOAuthFlowsClientCredentials1(v OAuthFlowsClientCredentials1) error
- func (t OAuthFlows_ClientCredentials) MarshalJSON() ([]byte, error)
- func (t *OAuthFlows_ClientCredentials) MergeOAuthFlowClientCredentials(v OAuthFlowClientCredentials) error
- func (t *OAuthFlows_ClientCredentials) MergeOAuthFlowsClientCredentials1(v OAuthFlowsClientCredentials1) error
- func (t *OAuthFlows_ClientCredentials) UnmarshalJSON(b []byte) error
- type OAuthFlows_Implicit
- func (t OAuthFlows_Implicit) AsOAuthFlowImplicit() (OAuthFlowImplicit, error)
- func (t OAuthFlows_Implicit) AsOAuthFlowsImplicit1() (OAuthFlowsImplicit1, error)
- func (t *OAuthFlows_Implicit) FromOAuthFlowImplicit(v OAuthFlowImplicit) error
- func (t *OAuthFlows_Implicit) FromOAuthFlowsImplicit1(v OAuthFlowsImplicit1) error
- func (t OAuthFlows_Implicit) MarshalJSON() ([]byte, error)
- func (t *OAuthFlows_Implicit) MergeOAuthFlowImplicit(v OAuthFlowImplicit) error
- func (t *OAuthFlows_Implicit) MergeOAuthFlowsImplicit1(v OAuthFlowsImplicit1) error
- func (t *OAuthFlows_Implicit) UnmarshalJSON(b []byte) error
- type OAuthFlows_Password
- func (t OAuthFlows_Password) AsOAuthFlowPassword() (OAuthFlowPassword, error)
- func (t OAuthFlows_Password) AsOAuthFlowsPassword1() (OAuthFlowsPassword1, error)
- func (t *OAuthFlows_Password) FromOAuthFlowPassword(v OAuthFlowPassword) error
- func (t *OAuthFlows_Password) FromOAuthFlowsPassword1(v OAuthFlowsPassword1) error
- func (t OAuthFlows_Password) MarshalJSON() ([]byte, error)
- func (t *OAuthFlows_Password) MergeOAuthFlowPassword(v OAuthFlowPassword) error
- func (t *OAuthFlows_Password) MergeOAuthFlowsPassword1(v OAuthFlowsPassword1) error
- func (t *OAuthFlows_Password) UnmarshalJSON(b []byte) error
- type OpenIdConnect
- type OpenIdConnectDescription0
- type OpenIdConnectDescription1
- type OpenIdConnectWithConfig
- type OpenIdConnectWithConfigDescription0
- type OpenIdConnectWithConfigDescription1
- type OpenIdConnectWithConfigGrantTypesSupported0
- type OpenIdConnectWithConfigGrantTypesSupported1
- type OpenIdConnectWithConfigRevocationEndpoint0
- type OpenIdConnectWithConfigRevocationEndpoint1
- type OpenIdConnectWithConfigScopes0
- type OpenIdConnectWithConfigScopes1
- type OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0
- type OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1
- type OpenIdConnectWithConfigUserinfoEndpoint0
- type OpenIdConnectWithConfigUserinfoEndpoint1
- type OpenIdConnectWithConfig_Description
- func (t OpenIdConnectWithConfig_Description) AsOpenIdConnectWithConfigDescription0() (OpenIdConnectWithConfigDescription0, error)
- func (t OpenIdConnectWithConfig_Description) AsOpenIdConnectWithConfigDescription1() (OpenIdConnectWithConfigDescription1, error)
- func (t *OpenIdConnectWithConfig_Description) FromOpenIdConnectWithConfigDescription0(v OpenIdConnectWithConfigDescription0) error
- func (t *OpenIdConnectWithConfig_Description) FromOpenIdConnectWithConfigDescription1(v OpenIdConnectWithConfigDescription1) error
- func (t OpenIdConnectWithConfig_Description) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnectWithConfig_Description) MergeOpenIdConnectWithConfigDescription0(v OpenIdConnectWithConfigDescription0) error
- func (t *OpenIdConnectWithConfig_Description) MergeOpenIdConnectWithConfigDescription1(v OpenIdConnectWithConfigDescription1) error
- func (t *OpenIdConnectWithConfig_Description) UnmarshalJSON(b []byte) error
- type OpenIdConnectWithConfig_GrantTypesSupported
- func (t OpenIdConnectWithConfig_GrantTypesSupported) AsOpenIdConnectWithConfigGrantTypesSupported0() (OpenIdConnectWithConfigGrantTypesSupported0, error)
- func (t OpenIdConnectWithConfig_GrantTypesSupported) AsOpenIdConnectWithConfigGrantTypesSupported1() (OpenIdConnectWithConfigGrantTypesSupported1, error)
- func (t *OpenIdConnectWithConfig_GrantTypesSupported) FromOpenIdConnectWithConfigGrantTypesSupported0(v OpenIdConnectWithConfigGrantTypesSupported0) error
- func (t *OpenIdConnectWithConfig_GrantTypesSupported) FromOpenIdConnectWithConfigGrantTypesSupported1(v OpenIdConnectWithConfigGrantTypesSupported1) error
- func (t OpenIdConnectWithConfig_GrantTypesSupported) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnectWithConfig_GrantTypesSupported) MergeOpenIdConnectWithConfigGrantTypesSupported0(v OpenIdConnectWithConfigGrantTypesSupported0) error
- func (t *OpenIdConnectWithConfig_GrantTypesSupported) MergeOpenIdConnectWithConfigGrantTypesSupported1(v OpenIdConnectWithConfigGrantTypesSupported1) error
- func (t *OpenIdConnectWithConfig_GrantTypesSupported) UnmarshalJSON(b []byte) error
- type OpenIdConnectWithConfig_RevocationEndpoint
- func (t OpenIdConnectWithConfig_RevocationEndpoint) AsOpenIdConnectWithConfigRevocationEndpoint0() (OpenIdConnectWithConfigRevocationEndpoint0, error)
- func (t OpenIdConnectWithConfig_RevocationEndpoint) AsOpenIdConnectWithConfigRevocationEndpoint1() (OpenIdConnectWithConfigRevocationEndpoint1, error)
- func (t *OpenIdConnectWithConfig_RevocationEndpoint) FromOpenIdConnectWithConfigRevocationEndpoint0(v OpenIdConnectWithConfigRevocationEndpoint0) error
- func (t *OpenIdConnectWithConfig_RevocationEndpoint) FromOpenIdConnectWithConfigRevocationEndpoint1(v OpenIdConnectWithConfigRevocationEndpoint1) error
- func (t OpenIdConnectWithConfig_RevocationEndpoint) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnectWithConfig_RevocationEndpoint) MergeOpenIdConnectWithConfigRevocationEndpoint0(v OpenIdConnectWithConfigRevocationEndpoint0) error
- func (t *OpenIdConnectWithConfig_RevocationEndpoint) MergeOpenIdConnectWithConfigRevocationEndpoint1(v OpenIdConnectWithConfigRevocationEndpoint1) error
- func (t *OpenIdConnectWithConfig_RevocationEndpoint) UnmarshalJSON(b []byte) error
- type OpenIdConnectWithConfig_Scopes
- func (t OpenIdConnectWithConfig_Scopes) AsOpenIdConnectWithConfigScopes0() (OpenIdConnectWithConfigScopes0, error)
- func (t OpenIdConnectWithConfig_Scopes) AsOpenIdConnectWithConfigScopes1() (OpenIdConnectWithConfigScopes1, error)
- func (t *OpenIdConnectWithConfig_Scopes) FromOpenIdConnectWithConfigScopes0(v OpenIdConnectWithConfigScopes0) error
- func (t *OpenIdConnectWithConfig_Scopes) FromOpenIdConnectWithConfigScopes1(v OpenIdConnectWithConfigScopes1) error
- func (t OpenIdConnectWithConfig_Scopes) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnectWithConfig_Scopes) MergeOpenIdConnectWithConfigScopes0(v OpenIdConnectWithConfigScopes0) error
- func (t *OpenIdConnectWithConfig_Scopes) MergeOpenIdConnectWithConfigScopes1(v OpenIdConnectWithConfigScopes1) error
- func (t *OpenIdConnectWithConfig_Scopes) UnmarshalJSON(b []byte) error
- type OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported
- func (t OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0() (OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0, error)
- func (t OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1() (OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1, error)
- func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0) error
- func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1) error
- func (t OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0) error
- func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1) error
- func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) UnmarshalJSON(b []byte) error
- type OpenIdConnectWithConfig_UserinfoEndpoint
- func (t OpenIdConnectWithConfig_UserinfoEndpoint) AsOpenIdConnectWithConfigUserinfoEndpoint0() (OpenIdConnectWithConfigUserinfoEndpoint0, error)
- func (t OpenIdConnectWithConfig_UserinfoEndpoint) AsOpenIdConnectWithConfigUserinfoEndpoint1() (OpenIdConnectWithConfigUserinfoEndpoint1, error)
- func (t *OpenIdConnectWithConfig_UserinfoEndpoint) FromOpenIdConnectWithConfigUserinfoEndpoint0(v OpenIdConnectWithConfigUserinfoEndpoint0) error
- func (t *OpenIdConnectWithConfig_UserinfoEndpoint) FromOpenIdConnectWithConfigUserinfoEndpoint1(v OpenIdConnectWithConfigUserinfoEndpoint1) error
- func (t OpenIdConnectWithConfig_UserinfoEndpoint) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnectWithConfig_UserinfoEndpoint) MergeOpenIdConnectWithConfigUserinfoEndpoint0(v OpenIdConnectWithConfigUserinfoEndpoint0) error
- func (t *OpenIdConnectWithConfig_UserinfoEndpoint) MergeOpenIdConnectWithConfigUserinfoEndpoint1(v OpenIdConnectWithConfigUserinfoEndpoint1) error
- func (t *OpenIdConnectWithConfig_UserinfoEndpoint) UnmarshalJSON(b []byte) error
- type OpenIdConnect_Description
- func (t OpenIdConnect_Description) AsOpenIdConnectDescription0() (OpenIdConnectDescription0, error)
- func (t OpenIdConnect_Description) AsOpenIdConnectDescription1() (OpenIdConnectDescription1, error)
- func (t *OpenIdConnect_Description) FromOpenIdConnectDescription0(v OpenIdConnectDescription0) error
- func (t *OpenIdConnect_Description) FromOpenIdConnectDescription1(v OpenIdConnectDescription1) error
- func (t OpenIdConnect_Description) MarshalJSON() ([]byte, error)
- func (t *OpenIdConnect_Description) MergeOpenIdConnectDescription0(v OpenIdConnectDescription0) error
- func (t *OpenIdConnect_Description) MergeOpenIdConnectDescription1(v OpenIdConnectDescription1) error
- func (t *OpenIdConnect_Description) UnmarshalJSON(b []byte) error
- type Outcome
- type PartInput
- type PartInputCodeExecutionResult1
- type PartInputExecutableCode1
- type PartInputFileData1
- type PartInputFunctionCall1
- type PartInputFunctionResponse1
- type PartInputInlineData1
- type PartInputText0
- type PartInputText1
- type PartInputThought0
- type PartInputThought1
- type PartInputVideoMetadata1
- type PartInput_CodeExecutionResult
- func (t PartInput_CodeExecutionResult) AsCodeExecutionResult() (CodeExecutionResult, error)
- func (t PartInput_CodeExecutionResult) AsPartInputCodeExecutionResult1() (PartInputCodeExecutionResult1, error)
- func (t *PartInput_CodeExecutionResult) FromCodeExecutionResult(v CodeExecutionResult) error
- func (t *PartInput_CodeExecutionResult) FromPartInputCodeExecutionResult1(v PartInputCodeExecutionResult1) error
- func (t PartInput_CodeExecutionResult) MarshalJSON() ([]byte, error)
- func (t *PartInput_CodeExecutionResult) MergeCodeExecutionResult(v CodeExecutionResult) error
- func (t *PartInput_CodeExecutionResult) MergePartInputCodeExecutionResult1(v PartInputCodeExecutionResult1) error
- func (t *PartInput_CodeExecutionResult) UnmarshalJSON(b []byte) error
- type PartInput_ExecutableCode
- func (t PartInput_ExecutableCode) AsExecutableCode() (ExecutableCode, error)
- func (t PartInput_ExecutableCode) AsPartInputExecutableCode1() (PartInputExecutableCode1, error)
- func (t *PartInput_ExecutableCode) FromExecutableCode(v ExecutableCode) error
- func (t *PartInput_ExecutableCode) FromPartInputExecutableCode1(v PartInputExecutableCode1) error
- func (t PartInput_ExecutableCode) MarshalJSON() ([]byte, error)
- func (t *PartInput_ExecutableCode) MergeExecutableCode(v ExecutableCode) error
- func (t *PartInput_ExecutableCode) MergePartInputExecutableCode1(v PartInputExecutableCode1) error
- func (t *PartInput_ExecutableCode) UnmarshalJSON(b []byte) error
- type PartInput_FileData
- func (t PartInput_FileData) AsFileData() (FileData, error)
- func (t PartInput_FileData) AsPartInputFileData1() (PartInputFileData1, error)
- func (t *PartInput_FileData) FromFileData(v FileData) error
- func (t *PartInput_FileData) FromPartInputFileData1(v PartInputFileData1) error
- func (t PartInput_FileData) MarshalJSON() ([]byte, error)
- func (t *PartInput_FileData) MergeFileData(v FileData) error
- func (t *PartInput_FileData) MergePartInputFileData1(v PartInputFileData1) error
- func (t *PartInput_FileData) UnmarshalJSON(b []byte) error
- type PartInput_FunctionCall
- func (t PartInput_FunctionCall) AsFunctionCall() (FunctionCall, error)
- func (t PartInput_FunctionCall) AsPartInputFunctionCall1() (PartInputFunctionCall1, error)
- func (t *PartInput_FunctionCall) FromFunctionCall(v FunctionCall) error
- func (t *PartInput_FunctionCall) FromPartInputFunctionCall1(v PartInputFunctionCall1) error
- func (t PartInput_FunctionCall) MarshalJSON() ([]byte, error)
- func (t *PartInput_FunctionCall) MergeFunctionCall(v FunctionCall) error
- func (t *PartInput_FunctionCall) MergePartInputFunctionCall1(v PartInputFunctionCall1) error
- func (t *PartInput_FunctionCall) UnmarshalJSON(b []byte) error
- type PartInput_FunctionResponse
- func (t PartInput_FunctionResponse) AsFunctionResponse() (FunctionResponse, error)
- func (t PartInput_FunctionResponse) AsPartInputFunctionResponse1() (PartInputFunctionResponse1, error)
- func (t *PartInput_FunctionResponse) FromFunctionResponse(v FunctionResponse) error
- func (t *PartInput_FunctionResponse) FromPartInputFunctionResponse1(v PartInputFunctionResponse1) error
- func (t PartInput_FunctionResponse) MarshalJSON() ([]byte, error)
- func (t *PartInput_FunctionResponse) MergeFunctionResponse(v FunctionResponse) error
- func (t *PartInput_FunctionResponse) MergePartInputFunctionResponse1(v PartInputFunctionResponse1) error
- func (t *PartInput_FunctionResponse) UnmarshalJSON(b []byte) error
- type PartInput_InlineData
- func (t PartInput_InlineData) AsBlob() (Blob, error)
- func (t PartInput_InlineData) AsPartInputInlineData1() (PartInputInlineData1, error)
- func (t *PartInput_InlineData) FromBlob(v Blob) error
- func (t *PartInput_InlineData) FromPartInputInlineData1(v PartInputInlineData1) error
- func (t PartInput_InlineData) MarshalJSON() ([]byte, error)
- func (t *PartInput_InlineData) MergeBlob(v Blob) error
- func (t *PartInput_InlineData) MergePartInputInlineData1(v PartInputInlineData1) error
- func (t *PartInput_InlineData) UnmarshalJSON(b []byte) error
- type PartInput_Text
- func (t PartInput_Text) AsPartInputText0() (PartInputText0, error)
- func (t PartInput_Text) AsPartInputText1() (PartInputText1, error)
- func (t *PartInput_Text) FromPartInputText0(v PartInputText0) error
- func (t *PartInput_Text) FromPartInputText1(v PartInputText1) error
- func (t PartInput_Text) MarshalJSON() ([]byte, error)
- func (t *PartInput_Text) MergePartInputText0(v PartInputText0) error
- func (t *PartInput_Text) MergePartInputText1(v PartInputText1) error
- func (t *PartInput_Text) UnmarshalJSON(b []byte) error
- type PartInput_Thought
- func (t PartInput_Thought) AsPartInputThought0() (PartInputThought0, error)
- func (t PartInput_Thought) AsPartInputThought1() (PartInputThought1, error)
- func (t *PartInput_Thought) FromPartInputThought0(v PartInputThought0) error
- func (t *PartInput_Thought) FromPartInputThought1(v PartInputThought1) error
- func (t PartInput_Thought) MarshalJSON() ([]byte, error)
- func (t *PartInput_Thought) MergePartInputThought0(v PartInputThought0) error
- func (t *PartInput_Thought) MergePartInputThought1(v PartInputThought1) error
- func (t *PartInput_Thought) UnmarshalJSON(b []byte) error
- type PartInput_VideoMetadata
- func (t PartInput_VideoMetadata) AsPartInputVideoMetadata1() (PartInputVideoMetadata1, error)
- func (t PartInput_VideoMetadata) AsVideoMetadata() (VideoMetadata, error)
- func (t *PartInput_VideoMetadata) FromPartInputVideoMetadata1(v PartInputVideoMetadata1) error
- func (t *PartInput_VideoMetadata) FromVideoMetadata(v VideoMetadata) error
- func (t PartInput_VideoMetadata) MarshalJSON() ([]byte, error)
- func (t *PartInput_VideoMetadata) MergePartInputVideoMetadata1(v PartInputVideoMetadata1) error
- func (t *PartInput_VideoMetadata) MergeVideoMetadata(v VideoMetadata) error
- func (t *PartInput_VideoMetadata) UnmarshalJSON(b []byte) error
- type PartOutput
- type PartOutputCodeExecutionResult1
- type PartOutputExecutableCode1
- type PartOutputFileData1
- type PartOutputFunctionCall1
- type PartOutputFunctionResponse1
- type PartOutputInlineData1
- type PartOutputText0
- type PartOutputText1
- type PartOutputThought0
- type PartOutputThought1
- type PartOutputVideoMetadata1
- type PartOutput_CodeExecutionResult
- func (t PartOutput_CodeExecutionResult) AsCodeExecutionResult() (CodeExecutionResult, error)
- func (t PartOutput_CodeExecutionResult) AsPartOutputCodeExecutionResult1() (PartOutputCodeExecutionResult1, error)
- func (t *PartOutput_CodeExecutionResult) FromCodeExecutionResult(v CodeExecutionResult) error
- func (t *PartOutput_CodeExecutionResult) FromPartOutputCodeExecutionResult1(v PartOutputCodeExecutionResult1) error
- func (t PartOutput_CodeExecutionResult) MarshalJSON() ([]byte, error)
- func (t *PartOutput_CodeExecutionResult) MergeCodeExecutionResult(v CodeExecutionResult) error
- func (t *PartOutput_CodeExecutionResult) MergePartOutputCodeExecutionResult1(v PartOutputCodeExecutionResult1) error
- func (t *PartOutput_CodeExecutionResult) UnmarshalJSON(b []byte) error
- type PartOutput_ExecutableCode
- func (t PartOutput_ExecutableCode) AsExecutableCode() (ExecutableCode, error)
- func (t PartOutput_ExecutableCode) AsPartOutputExecutableCode1() (PartOutputExecutableCode1, error)
- func (t *PartOutput_ExecutableCode) FromExecutableCode(v ExecutableCode) error
- func (t *PartOutput_ExecutableCode) FromPartOutputExecutableCode1(v PartOutputExecutableCode1) error
- func (t PartOutput_ExecutableCode) MarshalJSON() ([]byte, error)
- func (t *PartOutput_ExecutableCode) MergeExecutableCode(v ExecutableCode) error
- func (t *PartOutput_ExecutableCode) MergePartOutputExecutableCode1(v PartOutputExecutableCode1) error
- func (t *PartOutput_ExecutableCode) UnmarshalJSON(b []byte) error
- type PartOutput_FileData
- func (t PartOutput_FileData) AsFileData() (FileData, error)
- func (t PartOutput_FileData) AsPartOutputFileData1() (PartOutputFileData1, error)
- func (t *PartOutput_FileData) FromFileData(v FileData) error
- func (t *PartOutput_FileData) FromPartOutputFileData1(v PartOutputFileData1) error
- func (t PartOutput_FileData) MarshalJSON() ([]byte, error)
- func (t *PartOutput_FileData) MergeFileData(v FileData) error
- func (t *PartOutput_FileData) MergePartOutputFileData1(v PartOutputFileData1) error
- func (t *PartOutput_FileData) UnmarshalJSON(b []byte) error
- type PartOutput_FunctionCall
- func (t PartOutput_FunctionCall) AsFunctionCall() (FunctionCall, error)
- func (t PartOutput_FunctionCall) AsPartOutputFunctionCall1() (PartOutputFunctionCall1, error)
- func (t *PartOutput_FunctionCall) FromFunctionCall(v FunctionCall) error
- func (t *PartOutput_FunctionCall) FromPartOutputFunctionCall1(v PartOutputFunctionCall1) error
- func (t PartOutput_FunctionCall) MarshalJSON() ([]byte, error)
- func (t *PartOutput_FunctionCall) MergeFunctionCall(v FunctionCall) error
- func (t *PartOutput_FunctionCall) MergePartOutputFunctionCall1(v PartOutputFunctionCall1) error
- func (t *PartOutput_FunctionCall) UnmarshalJSON(b []byte) error
- type PartOutput_FunctionResponse
- func (t PartOutput_FunctionResponse) AsFunctionResponse() (FunctionResponse, error)
- func (t PartOutput_FunctionResponse) AsPartOutputFunctionResponse1() (PartOutputFunctionResponse1, error)
- func (t *PartOutput_FunctionResponse) FromFunctionResponse(v FunctionResponse) error
- func (t *PartOutput_FunctionResponse) FromPartOutputFunctionResponse1(v PartOutputFunctionResponse1) error
- func (t PartOutput_FunctionResponse) MarshalJSON() ([]byte, error)
- func (t *PartOutput_FunctionResponse) MergeFunctionResponse(v FunctionResponse) error
- func (t *PartOutput_FunctionResponse) MergePartOutputFunctionResponse1(v PartOutputFunctionResponse1) error
- func (t *PartOutput_FunctionResponse) UnmarshalJSON(b []byte) error
- type PartOutput_InlineData
- func (t PartOutput_InlineData) AsBlob() (Blob, error)
- func (t PartOutput_InlineData) AsPartOutputInlineData1() (PartOutputInlineData1, error)
- func (t *PartOutput_InlineData) FromBlob(v Blob) error
- func (t *PartOutput_InlineData) FromPartOutputInlineData1(v PartOutputInlineData1) error
- func (t PartOutput_InlineData) MarshalJSON() ([]byte, error)
- func (t *PartOutput_InlineData) MergeBlob(v Blob) error
- func (t *PartOutput_InlineData) MergePartOutputInlineData1(v PartOutputInlineData1) error
- func (t *PartOutput_InlineData) UnmarshalJSON(b []byte) error
- type PartOutput_Text
- func (t PartOutput_Text) AsPartOutputText0() (PartOutputText0, error)
- func (t PartOutput_Text) AsPartOutputText1() (PartOutputText1, error)
- func (t *PartOutput_Text) FromPartOutputText0(v PartOutputText0) error
- func (t *PartOutput_Text) FromPartOutputText1(v PartOutputText1) error
- func (t PartOutput_Text) MarshalJSON() ([]byte, error)
- func (t *PartOutput_Text) MergePartOutputText0(v PartOutputText0) error
- func (t *PartOutput_Text) MergePartOutputText1(v PartOutputText1) error
- func (t *PartOutput_Text) UnmarshalJSON(b []byte) error
- type PartOutput_Thought
- func (t PartOutput_Thought) AsPartOutputThought0() (PartOutputThought0, error)
- func (t PartOutput_Thought) AsPartOutputThought1() (PartOutputThought1, error)
- func (t *PartOutput_Thought) FromPartOutputThought0(v PartOutputThought0) error
- func (t *PartOutput_Thought) FromPartOutputThought1(v PartOutputThought1) error
- func (t PartOutput_Thought) MarshalJSON() ([]byte, error)
- func (t *PartOutput_Thought) MergePartOutputThought0(v PartOutputThought0) error
- func (t *PartOutput_Thought) MergePartOutputThought1(v PartOutputThought1) error
- func (t *PartOutput_Thought) UnmarshalJSON(b []byte) error
- type PartOutput_VideoMetadata
- func (t PartOutput_VideoMetadata) AsPartOutputVideoMetadata1() (PartOutputVideoMetadata1, error)
- func (t PartOutput_VideoMetadata) AsVideoMetadata() (VideoMetadata, error)
- func (t *PartOutput_VideoMetadata) FromPartOutputVideoMetadata1(v PartOutputVideoMetadata1) error
- func (t *PartOutput_VideoMetadata) FromVideoMetadata(v VideoMetadata) error
- func (t PartOutput_VideoMetadata) MarshalJSON() ([]byte, error)
- func (t *PartOutput_VideoMetadata) MergePartOutputVideoMetadata1(v PartOutputVideoMetadata1) error
- func (t *PartOutput_VideoMetadata) MergeVideoMetadata(v VideoMetadata) error
- func (t *PartOutput_VideoMetadata) UnmarshalJSON(b []byte) error
- type RedirectToDevUiResponse
- type RequestEditorFn
- type RetrievalMetadata
- type RetrievalMetadataGoogleSearchDynamicRetrievalScore0
- type RetrievalMetadataGoogleSearchDynamicRetrievalScore1
- type RetrievalMetadata_GoogleSearchDynamicRetrievalScore
- func (t RetrievalMetadata_GoogleSearchDynamicRetrievalScore) AsRetrievalMetadataGoogleSearchDynamicRetrievalScore0() (RetrievalMetadataGoogleSearchDynamicRetrievalScore0, error)
- func (t RetrievalMetadata_GoogleSearchDynamicRetrievalScore) AsRetrievalMetadataGoogleSearchDynamicRetrievalScore1() (RetrievalMetadataGoogleSearchDynamicRetrievalScore1, error)
- func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) FromRetrievalMetadataGoogleSearchDynamicRetrievalScore0(v RetrievalMetadataGoogleSearchDynamicRetrievalScore0) error
- func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) FromRetrievalMetadataGoogleSearchDynamicRetrievalScore1(v RetrievalMetadataGoogleSearchDynamicRetrievalScore1) error
- func (t RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MarshalJSON() ([]byte, error)
- func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore0(v RetrievalMetadataGoogleSearchDynamicRetrievalScore0) error
- func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore1(v RetrievalMetadataGoogleSearchDynamicRetrievalScore1) error
- func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) UnmarshalJSON(b []byte) error
- type RunEvalJSONRequestBody
- type RunEvalRequest
- type RunEvalResponse
- type RunEvalResult
- type RunJSONRequestBody
- type RunResponse
- type RunSseJSONRequestBody
- type RunSseResponse
- type SearchEntryPoint
- type SearchEntryPointRenderedContent0
- type SearchEntryPointRenderedContent1
- type SearchEntryPointSdkBlob0
- type SearchEntryPointSdkBlob1
- type SearchEntryPoint_RenderedContent
- func (t SearchEntryPoint_RenderedContent) AsSearchEntryPointRenderedContent0() (SearchEntryPointRenderedContent0, error)
- func (t SearchEntryPoint_RenderedContent) AsSearchEntryPointRenderedContent1() (SearchEntryPointRenderedContent1, error)
- func (t *SearchEntryPoint_RenderedContent) FromSearchEntryPointRenderedContent0(v SearchEntryPointRenderedContent0) error
- func (t *SearchEntryPoint_RenderedContent) FromSearchEntryPointRenderedContent1(v SearchEntryPointRenderedContent1) error
- func (t SearchEntryPoint_RenderedContent) MarshalJSON() ([]byte, error)
- func (t *SearchEntryPoint_RenderedContent) MergeSearchEntryPointRenderedContent0(v SearchEntryPointRenderedContent0) error
- func (t *SearchEntryPoint_RenderedContent) MergeSearchEntryPointRenderedContent1(v SearchEntryPointRenderedContent1) error
- func (t *SearchEntryPoint_RenderedContent) UnmarshalJSON(b []byte) error
- type SearchEntryPoint_SdkBlob
- func (t SearchEntryPoint_SdkBlob) AsSearchEntryPointSdkBlob0() (SearchEntryPointSdkBlob0, error)
- func (t SearchEntryPoint_SdkBlob) AsSearchEntryPointSdkBlob1() (SearchEntryPointSdkBlob1, error)
- func (t *SearchEntryPoint_SdkBlob) FromSearchEntryPointSdkBlob0(v SearchEntryPointSdkBlob0) error
- func (t *SearchEntryPoint_SdkBlob) FromSearchEntryPointSdkBlob1(v SearchEntryPointSdkBlob1) error
- func (t SearchEntryPoint_SdkBlob) MarshalJSON() ([]byte, error)
- func (t *SearchEntryPoint_SdkBlob) MergeSearchEntryPointSdkBlob0(v SearchEntryPointSdkBlob0) error
- func (t *SearchEntryPoint_SdkBlob) MergeSearchEntryPointSdkBlob1(v SearchEntryPointSdkBlob1) error
- func (t *SearchEntryPoint_SdkBlob) UnmarshalJSON(b []byte) error
- type SecuritySchemeType
- type Segment
- type SegmentEndIndex0
- type SegmentEndIndex1
- type SegmentPartIndex0
- type SegmentPartIndex1
- type SegmentStartIndex0
- type SegmentStartIndex1
- type SegmentText0
- type SegmentText1
- type Segment_EndIndex
- func (t Segment_EndIndex) AsSegmentEndIndex0() (SegmentEndIndex0, error)
- func (t Segment_EndIndex) AsSegmentEndIndex1() (SegmentEndIndex1, error)
- func (t *Segment_EndIndex) FromSegmentEndIndex0(v SegmentEndIndex0) error
- func (t *Segment_EndIndex) FromSegmentEndIndex1(v SegmentEndIndex1) error
- func (t Segment_EndIndex) MarshalJSON() ([]byte, error)
- func (t *Segment_EndIndex) MergeSegmentEndIndex0(v SegmentEndIndex0) error
- func (t *Segment_EndIndex) MergeSegmentEndIndex1(v SegmentEndIndex1) error
- func (t *Segment_EndIndex) UnmarshalJSON(b []byte) error
- type Segment_PartIndex
- func (t Segment_PartIndex) AsSegmentPartIndex0() (SegmentPartIndex0, error)
- func (t Segment_PartIndex) AsSegmentPartIndex1() (SegmentPartIndex1, error)
- func (t *Segment_PartIndex) FromSegmentPartIndex0(v SegmentPartIndex0) error
- func (t *Segment_PartIndex) FromSegmentPartIndex1(v SegmentPartIndex1) error
- func (t Segment_PartIndex) MarshalJSON() ([]byte, error)
- func (t *Segment_PartIndex) MergeSegmentPartIndex0(v SegmentPartIndex0) error
- func (t *Segment_PartIndex) MergeSegmentPartIndex1(v SegmentPartIndex1) error
- func (t *Segment_PartIndex) UnmarshalJSON(b []byte) error
- type Segment_StartIndex
- func (t Segment_StartIndex) AsSegmentStartIndex0() (SegmentStartIndex0, error)
- func (t Segment_StartIndex) AsSegmentStartIndex1() (SegmentStartIndex1, error)
- func (t *Segment_StartIndex) FromSegmentStartIndex0(v SegmentStartIndex0) error
- func (t *Segment_StartIndex) FromSegmentStartIndex1(v SegmentStartIndex1) error
- func (t Segment_StartIndex) MarshalJSON() ([]byte, error)
- func (t *Segment_StartIndex) MergeSegmentStartIndex0(v SegmentStartIndex0) error
- func (t *Segment_StartIndex) MergeSegmentStartIndex1(v SegmentStartIndex1) error
- func (t *Segment_StartIndex) UnmarshalJSON(b []byte) error
- type Segment_Text
- func (t Segment_Text) AsSegmentText0() (SegmentText0, error)
- func (t Segment_Text) AsSegmentText1() (SegmentText1, error)
- func (t *Segment_Text) FromSegmentText0(v SegmentText0) error
- func (t *Segment_Text) FromSegmentText1(v SegmentText1) error
- func (t Segment_Text) MarshalJSON() ([]byte, error)
- func (t *Segment_Text) MergeSegmentText0(v SegmentText0) error
- func (t *Segment_Text) MergeSegmentText1(v SegmentText1) error
- func (t *Segment_Text) UnmarshalJSON(b []byte) error
- type ServiceAccount
- type ServiceAccountCredential
- type ServiceAccountServiceAccountCredential1
- type ServiceAccountUseDefaultCredential0
- type ServiceAccountUseDefaultCredential1
- type ServiceAccount_ServiceAccountCredential
- func (t ServiceAccount_ServiceAccountCredential) AsServiceAccountCredential() (ServiceAccountCredential, error)
- func (t ServiceAccount_ServiceAccountCredential) AsServiceAccountServiceAccountCredential1() (ServiceAccountServiceAccountCredential1, error)
- func (t *ServiceAccount_ServiceAccountCredential) FromServiceAccountCredential(v ServiceAccountCredential) error
- func (t *ServiceAccount_ServiceAccountCredential) FromServiceAccountServiceAccountCredential1(v ServiceAccountServiceAccountCredential1) error
- func (t ServiceAccount_ServiceAccountCredential) MarshalJSON() ([]byte, error)
- func (t *ServiceAccount_ServiceAccountCredential) MergeServiceAccountCredential(v ServiceAccountCredential) error
- func (t *ServiceAccount_ServiceAccountCredential) MergeServiceAccountServiceAccountCredential1(v ServiceAccountServiceAccountCredential1) error
- func (t *ServiceAccount_ServiceAccountCredential) UnmarshalJSON(b []byte) error
- type ServiceAccount_UseDefaultCredential
- func (t ServiceAccount_UseDefaultCredential) AsServiceAccountUseDefaultCredential0() (ServiceAccountUseDefaultCredential0, error)
- func (t ServiceAccount_UseDefaultCredential) AsServiceAccountUseDefaultCredential1() (ServiceAccountUseDefaultCredential1, error)
- func (t *ServiceAccount_UseDefaultCredential) FromServiceAccountUseDefaultCredential0(v ServiceAccountUseDefaultCredential0) error
- func (t *ServiceAccount_UseDefaultCredential) FromServiceAccountUseDefaultCredential1(v ServiceAccountUseDefaultCredential1) error
- func (t ServiceAccount_UseDefaultCredential) MarshalJSON() ([]byte, error)
- func (t *ServiceAccount_UseDefaultCredential) MergeServiceAccountUseDefaultCredential0(v ServiceAccountUseDefaultCredential0) error
- func (t *ServiceAccount_UseDefaultCredential) MergeServiceAccountUseDefaultCredential1(v ServiceAccountUseDefaultCredential1) error
- func (t *ServiceAccount_UseDefaultCredential) UnmarshalJSON(b []byte) error
- type Session
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
- type VideoMetadata
- type VideoMetadataEndOffset0
- type VideoMetadataEndOffset1
- type VideoMetadataStartOffset0
- type VideoMetadataStartOffset1
- type VideoMetadata_EndOffset
- func (t VideoMetadata_EndOffset) AsVideoMetadataEndOffset0() (VideoMetadataEndOffset0, error)
- func (t VideoMetadata_EndOffset) AsVideoMetadataEndOffset1() (VideoMetadataEndOffset1, error)
- func (t *VideoMetadata_EndOffset) FromVideoMetadataEndOffset0(v VideoMetadataEndOffset0) error
- func (t *VideoMetadata_EndOffset) FromVideoMetadataEndOffset1(v VideoMetadataEndOffset1) error
- func (t VideoMetadata_EndOffset) MarshalJSON() ([]byte, error)
- func (t *VideoMetadata_EndOffset) MergeVideoMetadataEndOffset0(v VideoMetadataEndOffset0) error
- func (t *VideoMetadata_EndOffset) MergeVideoMetadataEndOffset1(v VideoMetadataEndOffset1) error
- func (t *VideoMetadata_EndOffset) UnmarshalJSON(b []byte) error
- type VideoMetadata_StartOffset
- func (t VideoMetadata_StartOffset) AsVideoMetadataStartOffset0() (VideoMetadataStartOffset0, error)
- func (t VideoMetadata_StartOffset) AsVideoMetadataStartOffset1() (VideoMetadataStartOffset1, error)
- func (t *VideoMetadata_StartOffset) FromVideoMetadataStartOffset0(v VideoMetadataStartOffset0) error
- func (t *VideoMetadata_StartOffset) FromVideoMetadataStartOffset1(v VideoMetadataStartOffset1) error
- func (t VideoMetadata_StartOffset) MarshalJSON() ([]byte, error)
- func (t *VideoMetadata_StartOffset) MergeVideoMetadataStartOffset0(v VideoMetadataStartOffset0) error
- func (t *VideoMetadata_StartOffset) MergeVideoMetadataStartOffset1(v VideoMetadataStartOffset1) error
- func (t *VideoMetadata_StartOffset) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddSessionToEvalSetRequest ¶
func NewAddSessionToEvalSetRequest(server string, appName string, evalSetId string, body AddSessionToEvalSetJSONRequestBody) (*http.Request, error)
NewAddSessionToEvalSetRequest calls the generic AddSessionToEvalSet builder with application/json body
func NewAddSessionToEvalSetRequestWithBody ¶
func NewAddSessionToEvalSetRequestWithBody(server string, appName string, evalSetId string, contentType string, body io.Reader) (*http.Request, error)
NewAddSessionToEvalSetRequestWithBody generates requests for AddSessionToEvalSet with any type of body
func NewCreateEvalSetRequest ¶
func NewCreateEvalSetRequest(server string, appName string, evalSetId string) (*http.Request, error)
NewCreateEvalSetRequest generates requests for CreateEvalSet
func NewCreateSessionRequest ¶
func NewCreateSessionRequest(server string, appName string, userId string, body CreateSessionJSONRequestBody) (*http.Request, error)
NewCreateSessionRequest calls the generic CreateSession builder with application/json body
func NewCreateSessionRequestWithBody ¶
func NewCreateSessionRequestWithBody(server string, appName string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSessionRequestWithBody generates requests for CreateSession with any type of body
func NewCreateSessionWithIdRequest ¶
func NewCreateSessionWithIdRequest(server string, appName string, userId string, sessionId string, body CreateSessionWithIdJSONRequestBody) (*http.Request, error)
NewCreateSessionWithIdRequest calls the generic CreateSessionWithId builder with application/json body
func NewCreateSessionWithIdRequestWithBody ¶
func NewCreateSessionWithIdRequestWithBody(server string, appName string, userId string, sessionId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSessionWithIdRequestWithBody generates requests for CreateSessionWithId with any type of body
func NewDeleteArtifactRequest ¶
func NewDeleteArtifactRequest(server string, appName string, userId string, sessionId string, artifactName string) (*http.Request, error)
NewDeleteArtifactRequest generates requests for DeleteArtifact
func NewDeleteSessionRequest ¶
func NewDeleteSessionRequest(server string, appName string, userId string, sessionId string) (*http.Request, error)
NewDeleteSessionRequest generates requests for DeleteSession
func NewDevUiRequest ¶
NewDevUiRequest generates requests for DevUi
func NewGetEventGraphRequest ¶
func NewGetEventGraphRequest(server string, appName string, userId string, sessionId string, eventId string) (*http.Request, error)
NewGetEventGraphRequest generates requests for GetEventGraph
func NewGetSessionRequest ¶
func NewGetSessionRequest(server string, appName string, userId string, sessionId string) (*http.Request, error)
NewGetSessionRequest generates requests for GetSession
func NewGetTraceDictRequest ¶
NewGetTraceDictRequest generates requests for GetTraceDict
func NewListAppsRequest ¶
NewListAppsRequest generates requests for ListApps
func NewListArtifactNamesRequest ¶
func NewListArtifactNamesRequest(server string, appName string, userId string, sessionId string) (*http.Request, error)
NewListArtifactNamesRequest generates requests for ListArtifactNames
func NewListArtifactVersionsRequest ¶
func NewListArtifactVersionsRequest(server string, appName string, userId string, sessionId string, artifactName string) (*http.Request, error)
NewListArtifactVersionsRequest generates requests for ListArtifactVersions
func NewListEvalSetsRequest ¶
NewListEvalSetsRequest generates requests for ListEvalSets
func NewListEvalsInEvalSetRequest ¶
func NewListEvalsInEvalSetRequest(server string, appName string, evalSetId string) (*http.Request, error)
NewListEvalsInEvalSetRequest generates requests for ListEvalsInEvalSet
func NewListSessionsRequest ¶
NewListSessionsRequest generates requests for ListSessions
func NewLoadArtifactRequest ¶
func NewLoadArtifactRequest(server string, appName string, userId string, sessionId string, artifactName string, params *LoadArtifactParams) (*http.Request, error)
NewLoadArtifactRequest generates requests for LoadArtifact
func NewLoadArtifactVersionRequest ¶
func NewLoadArtifactVersionRequest(server string, appName string, userId string, sessionId string, artifactName string, versionId int) (*http.Request, error)
NewLoadArtifactVersionRequest generates requests for LoadArtifactVersion
func NewRedirectToDevUiRequest ¶
NewRedirectToDevUiRequest generates requests for RedirectToDevUi
func NewRunEvalRequest ¶
func NewRunEvalRequest(server string, appName string, evalSetId string, body RunEvalJSONRequestBody) (*http.Request, error)
NewRunEvalRequest calls the generic RunEval builder with application/json body
func NewRunEvalRequestWithBody ¶
func NewRunEvalRequestWithBody(server string, appName string, evalSetId string, contentType string, body io.Reader) (*http.Request, error)
NewRunEvalRequestWithBody generates requests for RunEval with any type of body
func NewRunRequest ¶
func NewRunRequest(server string, body RunJSONRequestBody) (*http.Request, error)
NewRunRequest calls the generic Run builder with application/json body
func NewRunRequestWithBody ¶
func NewRunRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRunRequestWithBody generates requests for Run with any type of body
func NewRunSseRequest ¶
func NewRunSseRequest(server string, body RunSseJSONRequestBody) (*http.Request, error)
NewRunSseRequest calls the generic RunSse builder with application/json body
Types ¶
type APIKey ¶
type APIKey struct {
Description *APIKey_Description `json:"description,omitempty"`
In APIKeyIn `json:"in"`
Name string `json:"name"`
Type *SecuritySchemeType `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
APIKey defines model for APIKey.
func (APIKey) Get ¶
Getter for additional properties for APIKey. Returns the specified element and whether it was found
func (APIKey) MarshalJSON ¶
Override default JSON handling for APIKey to handle AdditionalProperties
func (*APIKey) UnmarshalJSON ¶
Override default JSON handling for APIKey to handle AdditionalProperties
type APIKey_Description ¶
type APIKey_Description struct {
// contains filtered or unexported fields
}
APIKey_Description defines model for APIKey.Description.
func (APIKey_Description) AsAPIKeyDescription0 ¶
func (t APIKey_Description) AsAPIKeyDescription0() (APIKeyDescription0, error)
AsAPIKeyDescription0 returns the union data inside the APIKey_Description as a APIKeyDescription0
func (APIKey_Description) AsAPIKeyDescription1 ¶
func (t APIKey_Description) AsAPIKeyDescription1() (APIKeyDescription1, error)
AsAPIKeyDescription1 returns the union data inside the APIKey_Description as a APIKeyDescription1
func (*APIKey_Description) FromAPIKeyDescription0 ¶
func (t *APIKey_Description) FromAPIKeyDescription0(v APIKeyDescription0) error
FromAPIKeyDescription0 overwrites any union data inside the APIKey_Description as the provided APIKeyDescription0
func (*APIKey_Description) FromAPIKeyDescription1 ¶
func (t *APIKey_Description) FromAPIKeyDescription1(v APIKeyDescription1) error
FromAPIKeyDescription1 overwrites any union data inside the APIKey_Description as the provided APIKeyDescription1
func (APIKey_Description) MarshalJSON ¶
func (t APIKey_Description) MarshalJSON() ([]byte, error)
func (*APIKey_Description) MergeAPIKeyDescription0 ¶
func (t *APIKey_Description) MergeAPIKeyDescription0(v APIKeyDescription0) error
MergeAPIKeyDescription0 performs a merge with any union data inside the APIKey_Description, using the provided APIKeyDescription0
func (*APIKey_Description) MergeAPIKeyDescription1 ¶
func (t *APIKey_Description) MergeAPIKeyDescription1(v APIKeyDescription1) error
MergeAPIKeyDescription1 performs a merge with any union data inside the APIKey_Description, using the provided APIKeyDescription1
func (*APIKey_Description) UnmarshalJSON ¶
func (t *APIKey_Description) UnmarshalJSON(b []byte) error
type AddSessionToEvalSetJSONRequestBody ¶
type AddSessionToEvalSetJSONRequestBody = AddSessionToEvalSetRequest
AddSessionToEvalSetJSONRequestBody defines body for AddSessionToEvalSet for application/json ContentType.
type AddSessionToEvalSetRequest ¶
type AddSessionToEvalSetRequest struct {
EvalId string `json:"eval_id"`
SessionId string `json:"session_id"`
UserId string `json:"user_id"`
}
AddSessionToEvalSetRequest defines model for AddSessionToEvalSetRequest.
type AddSessionToEvalSetResponse ¶
type AddSessionToEvalSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseAddSessionToEvalSetResponse ¶
func ParseAddSessionToEvalSetResponse(rsp *http.Response) (*AddSessionToEvalSetResponse, error)
ParseAddSessionToEvalSetResponse parses an HTTP response from a AddSessionToEvalSetWithResponse call
func (AddSessionToEvalSetResponse) Status ¶
func (r AddSessionToEvalSetResponse) Status() string
Status returns HTTPResponse.Status
func (AddSessionToEvalSetResponse) StatusCode ¶
func (r AddSessionToEvalSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentRunRequest ¶
type AgentRunRequest struct {
AppName string `json:"app_name"`
// NewMessage Contains the multi-part content of a message.
NewMessage ContentInput `json:"new_message"`
SessionId string `json:"session_id"`
Streaming *bool `json:"streaming,omitempty"`
UserId string `json:"user_id"`
}
AgentRunRequest defines model for AgentRunRequest.
type AuthConfig ¶
type AuthConfig struct {
AuthScheme AuthConfig_AuthScheme `json:"auth_scheme"`
// ExchangedAuthCredential Data class representing an authentication credential.
//
// To exchange for the actual credential, please use
// CredentialExchanger.exchange_credential().
//
// Examples: API Key Auth
// AuthCredential(
// auth_type=AuthCredentialTypes.API_KEY,
// api_key="1234",
// )
//
// Example: HTTP Auth
// AuthCredential(
// auth_type=AuthCredentialTypes.HTTP,
// http=HttpAuth(
// scheme="basic",
// credentials=HttpCredentials(username="user", password="password"),
// ),
// )
//
// Example: OAuth2 Bearer Token in HTTP Header
// AuthCredential(
// auth_type=AuthCredentialTypes.HTTP,
// http=HttpAuth(
// scheme="bearer",
// credentials=HttpCredentials(token="eyAkaknabna...."),
// ),
// )
//
// Example: OAuth2 Auth with Authorization Code Flow
// AuthCredential(
// auth_type=AuthCredentialTypes.OAUTH2,
// oauth2=OAuth2Auth(
// client_id="1234",
// client_secret="secret",
// ),
// )
//
// Example: OpenID Connect Auth
// AuthCredential(
// auth_type=AuthCredentialTypes.OPEN_ID_CONNECT,
// oauth2=OAuth2Auth(
// client_id="1234",
// client_secret="secret",
// redirect_uri="https://example.com",
// scopes=["scope1", "scope2"],
// ),
// )
//
// Example: Auth with resource reference
// AuthCredential(
// auth_type=AuthCredentialTypes.API_KEY,
// resource_ref="projects/1234/locations/us-central1/resources/resource1",
// )
ExchangedAuthCredential *AuthCredential `json:"exchanged_auth_credential,omitempty"`
// RawAuthCredential Data class representing an authentication credential.
//
// To exchange for the actual credential, please use
// CredentialExchanger.exchange_credential().
//
// Examples: API Key Auth
// AuthCredential(
// auth_type=AuthCredentialTypes.API_KEY,
// api_key="1234",
// )
//
// Example: HTTP Auth
// AuthCredential(
// auth_type=AuthCredentialTypes.HTTP,
// http=HttpAuth(
// scheme="basic",
// credentials=HttpCredentials(username="user", password="password"),
// ),
// )
//
// Example: OAuth2 Bearer Token in HTTP Header
// AuthCredential(
// auth_type=AuthCredentialTypes.HTTP,
// http=HttpAuth(
// scheme="bearer",
// credentials=HttpCredentials(token="eyAkaknabna...."),
// ),
// )
//
// Example: OAuth2 Auth with Authorization Code Flow
// AuthCredential(
// auth_type=AuthCredentialTypes.OAUTH2,
// oauth2=OAuth2Auth(
// client_id="1234",
// client_secret="secret",
// ),
// )
//
// Example: OpenID Connect Auth
// AuthCredential(
// auth_type=AuthCredentialTypes.OPEN_ID_CONNECT,
// oauth2=OAuth2Auth(
// client_id="1234",
// client_secret="secret",
// redirect_uri="https://example.com",
// scopes=["scope1", "scope2"],
// ),
// )
//
// Example: Auth with resource reference
// AuthCredential(
// auth_type=AuthCredentialTypes.API_KEY,
// resource_ref="projects/1234/locations/us-central1/resources/resource1",
// )
RawAuthCredential *AuthCredential `json:"raw_auth_credential,omitempty"`
}
AuthConfig The auth config sent by tool asking client to collect auth credentials and
adk and client will help to fill in the response
type AuthConfig_AuthScheme ¶
type AuthConfig_AuthScheme struct {
// contains filtered or unexported fields
}
AuthConfig_AuthScheme defines model for AuthConfig.AuthScheme.
func (AuthConfig_AuthScheme) AsAPIKey ¶
func (t AuthConfig_AuthScheme) AsAPIKey() (APIKey, error)
AsAPIKey returns the union data inside the AuthConfig_AuthScheme as a APIKey
func (AuthConfig_AuthScheme) AsHTTPBase ¶
func (t AuthConfig_AuthScheme) AsHTTPBase() (HTTPBase, error)
AsHTTPBase returns the union data inside the AuthConfig_AuthScheme as a HTTPBase
func (AuthConfig_AuthScheme) AsHTTPBearer ¶
func (t AuthConfig_AuthScheme) AsHTTPBearer() (HTTPBearer, error)
AsHTTPBearer returns the union data inside the AuthConfig_AuthScheme as a HTTPBearer
func (AuthConfig_AuthScheme) AsOAuth2 ¶
func (t AuthConfig_AuthScheme) AsOAuth2() (OAuth2, error)
AsOAuth2 returns the union data inside the AuthConfig_AuthScheme as a OAuth2
func (AuthConfig_AuthScheme) AsOpenIdConnect ¶
func (t AuthConfig_AuthScheme) AsOpenIdConnect() (OpenIdConnect, error)
AsOpenIdConnect returns the union data inside the AuthConfig_AuthScheme as a OpenIdConnect
func (AuthConfig_AuthScheme) AsOpenIdConnectWithConfig ¶
func (t AuthConfig_AuthScheme) AsOpenIdConnectWithConfig() (OpenIdConnectWithConfig, error)
AsOpenIdConnectWithConfig returns the union data inside the AuthConfig_AuthScheme as a OpenIdConnectWithConfig
func (*AuthConfig_AuthScheme) FromAPIKey ¶
func (t *AuthConfig_AuthScheme) FromAPIKey(v APIKey) error
FromAPIKey overwrites any union data inside the AuthConfig_AuthScheme as the provided APIKey
func (*AuthConfig_AuthScheme) FromHTTPBase ¶
func (t *AuthConfig_AuthScheme) FromHTTPBase(v HTTPBase) error
FromHTTPBase overwrites any union data inside the AuthConfig_AuthScheme as the provided HTTPBase
func (*AuthConfig_AuthScheme) FromHTTPBearer ¶
func (t *AuthConfig_AuthScheme) FromHTTPBearer(v HTTPBearer) error
FromHTTPBearer overwrites any union data inside the AuthConfig_AuthScheme as the provided HTTPBearer
func (*AuthConfig_AuthScheme) FromOAuth2 ¶
func (t *AuthConfig_AuthScheme) FromOAuth2(v OAuth2) error
FromOAuth2 overwrites any union data inside the AuthConfig_AuthScheme as the provided OAuth2
func (*AuthConfig_AuthScheme) FromOpenIdConnect ¶
func (t *AuthConfig_AuthScheme) FromOpenIdConnect(v OpenIdConnect) error
FromOpenIdConnect overwrites any union data inside the AuthConfig_AuthScheme as the provided OpenIdConnect
func (*AuthConfig_AuthScheme) FromOpenIdConnectWithConfig ¶
func (t *AuthConfig_AuthScheme) FromOpenIdConnectWithConfig(v OpenIdConnectWithConfig) error
FromOpenIdConnectWithConfig overwrites any union data inside the AuthConfig_AuthScheme as the provided OpenIdConnectWithConfig
func (AuthConfig_AuthScheme) MarshalJSON ¶
func (t AuthConfig_AuthScheme) MarshalJSON() ([]byte, error)
func (*AuthConfig_AuthScheme) MergeAPIKey ¶
func (t *AuthConfig_AuthScheme) MergeAPIKey(v APIKey) error
MergeAPIKey performs a merge with any union data inside the AuthConfig_AuthScheme, using the provided APIKey
func (*AuthConfig_AuthScheme) MergeHTTPBase ¶
func (t *AuthConfig_AuthScheme) MergeHTTPBase(v HTTPBase) error
MergeHTTPBase performs a merge with any union data inside the AuthConfig_AuthScheme, using the provided HTTPBase
func (*AuthConfig_AuthScheme) MergeHTTPBearer ¶
func (t *AuthConfig_AuthScheme) MergeHTTPBearer(v HTTPBearer) error
MergeHTTPBearer performs a merge with any union data inside the AuthConfig_AuthScheme, using the provided HTTPBearer
func (*AuthConfig_AuthScheme) MergeOAuth2 ¶
func (t *AuthConfig_AuthScheme) MergeOAuth2(v OAuth2) error
MergeOAuth2 performs a merge with any union data inside the AuthConfig_AuthScheme, using the provided OAuth2
func (*AuthConfig_AuthScheme) MergeOpenIdConnect ¶
func (t *AuthConfig_AuthScheme) MergeOpenIdConnect(v OpenIdConnect) error
MergeOpenIdConnect performs a merge with any union data inside the AuthConfig_AuthScheme, using the provided OpenIdConnect
func (*AuthConfig_AuthScheme) MergeOpenIdConnectWithConfig ¶
func (t *AuthConfig_AuthScheme) MergeOpenIdConnectWithConfig(v OpenIdConnectWithConfig) error
MergeOpenIdConnectWithConfig performs a merge with any union data inside the AuthConfig_AuthScheme, using the provided OpenIdConnectWithConfig
func (*AuthConfig_AuthScheme) UnmarshalJSON ¶
func (t *AuthConfig_AuthScheme) UnmarshalJSON(b []byte) error
type AuthCredential ¶
type AuthCredential struct {
ApiKey *AuthCredential_ApiKey `json:"api_key,omitempty"`
// AuthType Represents the type of authentication credential.
AuthType AuthCredentialTypes `json:"auth_type"`
Http *AuthCredential_Http `json:"http,omitempty"`
Oauth2 *AuthCredential_Oauth2 `json:"oauth2,omitempty"`
ResourceRef *AuthCredential_ResourceRef `json:"resource_ref,omitempty"`
ServiceAccount *AuthCredential_ServiceAccount `json:"service_account,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AuthCredential Data class representing an authentication credential.
To exchange for the actual credential, please use CredentialExchanger.exchange_credential().
Examples: API Key Auth AuthCredential(
auth_type=AuthCredentialTypes.API_KEY, api_key="1234",
)
Example: HTTP Auth AuthCredential(
auth_type=AuthCredentialTypes.HTTP,
http=HttpAuth(
scheme="basic",
credentials=HttpCredentials(username="user", password="password"),
),
)
Example: OAuth2 Bearer Token in HTTP Header AuthCredential(
auth_type=AuthCredentialTypes.HTTP,
http=HttpAuth(
scheme="bearer",
credentials=HttpCredentials(token="eyAkaknabna...."),
),
)
Example: OAuth2 Auth with Authorization Code Flow AuthCredential(
auth_type=AuthCredentialTypes.OAUTH2,
oauth2=OAuth2Auth(
client_id="1234",
client_secret="secret",
),
)
Example: OpenID Connect Auth AuthCredential(
auth_type=AuthCredentialTypes.OPEN_ID_CONNECT,
oauth2=OAuth2Auth(
client_id="1234",
client_secret="secret",
redirect_uri="https://example.com",
scopes=["scope1", "scope2"],
),
)
Example: Auth with resource reference AuthCredential(
auth_type=AuthCredentialTypes.API_KEY, resource_ref="projects/1234/locations/us-central1/resources/resource1",
)
func (AuthCredential) Get ¶
func (a AuthCredential) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AuthCredential. Returns the specified element and whether it was found
func (AuthCredential) MarshalJSON ¶
func (a AuthCredential) MarshalJSON() ([]byte, error)
Override default JSON handling for AuthCredential to handle AdditionalProperties
func (*AuthCredential) Set ¶
func (a *AuthCredential) Set(fieldName string, value interface{})
Setter for additional properties for AuthCredential
func (*AuthCredential) UnmarshalJSON ¶
func (a *AuthCredential) UnmarshalJSON(b []byte) error
Override default JSON handling for AuthCredential to handle AdditionalProperties
type AuthCredentialApiKey0 ¶
type AuthCredentialApiKey0 = string
AuthCredentialApiKey0 defines model for .
type AuthCredentialApiKey1 ¶
type AuthCredentialApiKey1 = string
AuthCredentialApiKey1 defines model for .
type AuthCredentialHttp1 ¶
type AuthCredentialHttp1 = string
AuthCredentialHttp1 defines model for .
type AuthCredentialOauth21 ¶
type AuthCredentialOauth21 = string
AuthCredentialOauth21 defines model for .
type AuthCredentialResourceRef0 ¶
type AuthCredentialResourceRef0 = string
AuthCredentialResourceRef0 defines model for .
type AuthCredentialResourceRef1 ¶
type AuthCredentialResourceRef1 = string
AuthCredentialResourceRef1 defines model for .
type AuthCredentialServiceAccount1 ¶
type AuthCredentialServiceAccount1 = string
AuthCredentialServiceAccount1 defines model for .
type AuthCredentialTypes ¶
type AuthCredentialTypes string
AuthCredentialTypes Represents the type of authentication credential.
const ( AuthCredentialTypesApiKey AuthCredentialTypes = "apiKey" AuthCredentialTypesHttp AuthCredentialTypes = "http" AuthCredentialTypesOauth2 AuthCredentialTypes = "oauth2" AuthCredentialTypesOpenIdConnect AuthCredentialTypes = "openIdConnect" AuthCredentialTypesServiceAccount AuthCredentialTypes = "serviceAccount" )
Defines values for AuthCredentialTypes.
type AuthCredential_ApiKey ¶
type AuthCredential_ApiKey struct {
// contains filtered or unexported fields
}
AuthCredential_ApiKey defines model for AuthCredential.ApiKey.
func (AuthCredential_ApiKey) AsAuthCredentialApiKey0 ¶
func (t AuthCredential_ApiKey) AsAuthCredentialApiKey0() (AuthCredentialApiKey0, error)
AsAuthCredentialApiKey0 returns the union data inside the AuthCredential_ApiKey as a AuthCredentialApiKey0
func (AuthCredential_ApiKey) AsAuthCredentialApiKey1 ¶
func (t AuthCredential_ApiKey) AsAuthCredentialApiKey1() (AuthCredentialApiKey1, error)
AsAuthCredentialApiKey1 returns the union data inside the AuthCredential_ApiKey as a AuthCredentialApiKey1
func (*AuthCredential_ApiKey) FromAuthCredentialApiKey0 ¶
func (t *AuthCredential_ApiKey) FromAuthCredentialApiKey0(v AuthCredentialApiKey0) error
FromAuthCredentialApiKey0 overwrites any union data inside the AuthCredential_ApiKey as the provided AuthCredentialApiKey0
func (*AuthCredential_ApiKey) FromAuthCredentialApiKey1 ¶
func (t *AuthCredential_ApiKey) FromAuthCredentialApiKey1(v AuthCredentialApiKey1) error
FromAuthCredentialApiKey1 overwrites any union data inside the AuthCredential_ApiKey as the provided AuthCredentialApiKey1
func (AuthCredential_ApiKey) MarshalJSON ¶
func (t AuthCredential_ApiKey) MarshalJSON() ([]byte, error)
func (*AuthCredential_ApiKey) MergeAuthCredentialApiKey0 ¶
func (t *AuthCredential_ApiKey) MergeAuthCredentialApiKey0(v AuthCredentialApiKey0) error
MergeAuthCredentialApiKey0 performs a merge with any union data inside the AuthCredential_ApiKey, using the provided AuthCredentialApiKey0
func (*AuthCredential_ApiKey) MergeAuthCredentialApiKey1 ¶
func (t *AuthCredential_ApiKey) MergeAuthCredentialApiKey1(v AuthCredentialApiKey1) error
MergeAuthCredentialApiKey1 performs a merge with any union data inside the AuthCredential_ApiKey, using the provided AuthCredentialApiKey1
func (*AuthCredential_ApiKey) UnmarshalJSON ¶
func (t *AuthCredential_ApiKey) UnmarshalJSON(b []byte) error
type AuthCredential_Http ¶
type AuthCredential_Http struct {
// contains filtered or unexported fields
}
AuthCredential_Http defines model for AuthCredential.Http.
func (AuthCredential_Http) AsAuthCredentialHttp1 ¶
func (t AuthCredential_Http) AsAuthCredentialHttp1() (AuthCredentialHttp1, error)
AsAuthCredentialHttp1 returns the union data inside the AuthCredential_Http as a AuthCredentialHttp1
func (AuthCredential_Http) AsHttpAuth ¶
func (t AuthCredential_Http) AsHttpAuth() (HttpAuth, error)
AsHttpAuth returns the union data inside the AuthCredential_Http as a HttpAuth
func (*AuthCredential_Http) FromAuthCredentialHttp1 ¶
func (t *AuthCredential_Http) FromAuthCredentialHttp1(v AuthCredentialHttp1) error
FromAuthCredentialHttp1 overwrites any union data inside the AuthCredential_Http as the provided AuthCredentialHttp1
func (*AuthCredential_Http) FromHttpAuth ¶
func (t *AuthCredential_Http) FromHttpAuth(v HttpAuth) error
FromHttpAuth overwrites any union data inside the AuthCredential_Http as the provided HttpAuth
func (AuthCredential_Http) MarshalJSON ¶
func (t AuthCredential_Http) MarshalJSON() ([]byte, error)
func (*AuthCredential_Http) MergeAuthCredentialHttp1 ¶
func (t *AuthCredential_Http) MergeAuthCredentialHttp1(v AuthCredentialHttp1) error
MergeAuthCredentialHttp1 performs a merge with any union data inside the AuthCredential_Http, using the provided AuthCredentialHttp1
func (*AuthCredential_Http) MergeHttpAuth ¶
func (t *AuthCredential_Http) MergeHttpAuth(v HttpAuth) error
MergeHttpAuth performs a merge with any union data inside the AuthCredential_Http, using the provided HttpAuth
func (*AuthCredential_Http) UnmarshalJSON ¶
func (t *AuthCredential_Http) UnmarshalJSON(b []byte) error
type AuthCredential_Oauth2 ¶
type AuthCredential_Oauth2 struct {
// contains filtered or unexported fields
}
AuthCredential_Oauth2 defines model for AuthCredential.Oauth2.
func (AuthCredential_Oauth2) AsAuthCredentialOauth21 ¶
func (t AuthCredential_Oauth2) AsAuthCredentialOauth21() (AuthCredentialOauth21, error)
AsAuthCredentialOauth21 returns the union data inside the AuthCredential_Oauth2 as a AuthCredentialOauth21
func (AuthCredential_Oauth2) AsOAuth2Auth ¶
func (t AuthCredential_Oauth2) AsOAuth2Auth() (OAuth2Auth, error)
AsOAuth2Auth returns the union data inside the AuthCredential_Oauth2 as a OAuth2Auth
func (*AuthCredential_Oauth2) FromAuthCredentialOauth21 ¶
func (t *AuthCredential_Oauth2) FromAuthCredentialOauth21(v AuthCredentialOauth21) error
FromAuthCredentialOauth21 overwrites any union data inside the AuthCredential_Oauth2 as the provided AuthCredentialOauth21
func (*AuthCredential_Oauth2) FromOAuth2Auth ¶
func (t *AuthCredential_Oauth2) FromOAuth2Auth(v OAuth2Auth) error
FromOAuth2Auth overwrites any union data inside the AuthCredential_Oauth2 as the provided OAuth2Auth
func (AuthCredential_Oauth2) MarshalJSON ¶
func (t AuthCredential_Oauth2) MarshalJSON() ([]byte, error)
func (*AuthCredential_Oauth2) MergeAuthCredentialOauth21 ¶
func (t *AuthCredential_Oauth2) MergeAuthCredentialOauth21(v AuthCredentialOauth21) error
MergeAuthCredentialOauth21 performs a merge with any union data inside the AuthCredential_Oauth2, using the provided AuthCredentialOauth21
func (*AuthCredential_Oauth2) MergeOAuth2Auth ¶
func (t *AuthCredential_Oauth2) MergeOAuth2Auth(v OAuth2Auth) error
MergeOAuth2Auth performs a merge with any union data inside the AuthCredential_Oauth2, using the provided OAuth2Auth
func (*AuthCredential_Oauth2) UnmarshalJSON ¶
func (t *AuthCredential_Oauth2) UnmarshalJSON(b []byte) error
type AuthCredential_ResourceRef ¶
type AuthCredential_ResourceRef struct {
// contains filtered or unexported fields
}
AuthCredential_ResourceRef defines model for AuthCredential.ResourceRef.
func (AuthCredential_ResourceRef) AsAuthCredentialResourceRef0 ¶
func (t AuthCredential_ResourceRef) AsAuthCredentialResourceRef0() (AuthCredentialResourceRef0, error)
AsAuthCredentialResourceRef0 returns the union data inside the AuthCredential_ResourceRef as a AuthCredentialResourceRef0
func (AuthCredential_ResourceRef) AsAuthCredentialResourceRef1 ¶
func (t AuthCredential_ResourceRef) AsAuthCredentialResourceRef1() (AuthCredentialResourceRef1, error)
AsAuthCredentialResourceRef1 returns the union data inside the AuthCredential_ResourceRef as a AuthCredentialResourceRef1
func (*AuthCredential_ResourceRef) FromAuthCredentialResourceRef0 ¶
func (t *AuthCredential_ResourceRef) FromAuthCredentialResourceRef0(v AuthCredentialResourceRef0) error
FromAuthCredentialResourceRef0 overwrites any union data inside the AuthCredential_ResourceRef as the provided AuthCredentialResourceRef0
func (*AuthCredential_ResourceRef) FromAuthCredentialResourceRef1 ¶
func (t *AuthCredential_ResourceRef) FromAuthCredentialResourceRef1(v AuthCredentialResourceRef1) error
FromAuthCredentialResourceRef1 overwrites any union data inside the AuthCredential_ResourceRef as the provided AuthCredentialResourceRef1
func (AuthCredential_ResourceRef) MarshalJSON ¶
func (t AuthCredential_ResourceRef) MarshalJSON() ([]byte, error)
func (*AuthCredential_ResourceRef) MergeAuthCredentialResourceRef0 ¶
func (t *AuthCredential_ResourceRef) MergeAuthCredentialResourceRef0(v AuthCredentialResourceRef0) error
MergeAuthCredentialResourceRef0 performs a merge with any union data inside the AuthCredential_ResourceRef, using the provided AuthCredentialResourceRef0
func (*AuthCredential_ResourceRef) MergeAuthCredentialResourceRef1 ¶
func (t *AuthCredential_ResourceRef) MergeAuthCredentialResourceRef1(v AuthCredentialResourceRef1) error
MergeAuthCredentialResourceRef1 performs a merge with any union data inside the AuthCredential_ResourceRef, using the provided AuthCredentialResourceRef1
func (*AuthCredential_ResourceRef) UnmarshalJSON ¶
func (t *AuthCredential_ResourceRef) UnmarshalJSON(b []byte) error
type AuthCredential_ServiceAccount ¶
type AuthCredential_ServiceAccount struct {
// contains filtered or unexported fields
}
AuthCredential_ServiceAccount defines model for AuthCredential.ServiceAccount.
func (AuthCredential_ServiceAccount) AsAuthCredentialServiceAccount1 ¶
func (t AuthCredential_ServiceAccount) AsAuthCredentialServiceAccount1() (AuthCredentialServiceAccount1, error)
AsAuthCredentialServiceAccount1 returns the union data inside the AuthCredential_ServiceAccount as a AuthCredentialServiceAccount1
func (AuthCredential_ServiceAccount) AsServiceAccount ¶
func (t AuthCredential_ServiceAccount) AsServiceAccount() (ServiceAccount, error)
AsServiceAccount returns the union data inside the AuthCredential_ServiceAccount as a ServiceAccount
func (*AuthCredential_ServiceAccount) FromAuthCredentialServiceAccount1 ¶
func (t *AuthCredential_ServiceAccount) FromAuthCredentialServiceAccount1(v AuthCredentialServiceAccount1) error
FromAuthCredentialServiceAccount1 overwrites any union data inside the AuthCredential_ServiceAccount as the provided AuthCredentialServiceAccount1
func (*AuthCredential_ServiceAccount) FromServiceAccount ¶
func (t *AuthCredential_ServiceAccount) FromServiceAccount(v ServiceAccount) error
FromServiceAccount overwrites any union data inside the AuthCredential_ServiceAccount as the provided ServiceAccount
func (AuthCredential_ServiceAccount) MarshalJSON ¶
func (t AuthCredential_ServiceAccount) MarshalJSON() ([]byte, error)
func (*AuthCredential_ServiceAccount) MergeAuthCredentialServiceAccount1 ¶
func (t *AuthCredential_ServiceAccount) MergeAuthCredentialServiceAccount1(v AuthCredentialServiceAccount1) error
MergeAuthCredentialServiceAccount1 performs a merge with any union data inside the AuthCredential_ServiceAccount, using the provided AuthCredentialServiceAccount1
func (*AuthCredential_ServiceAccount) MergeServiceAccount ¶
func (t *AuthCredential_ServiceAccount) MergeServiceAccount(v ServiceAccount) error
MergeServiceAccount performs a merge with any union data inside the AuthCredential_ServiceAccount, using the provided ServiceAccount
func (*AuthCredential_ServiceAccount) UnmarshalJSON ¶
func (t *AuthCredential_ServiceAccount) UnmarshalJSON(b []byte) error
type Blob ¶
type Blob struct {
// Data Required. Raw bytes.
Data *Blob_Data `json:"data,omitempty"`
// MimeType Required. The IANA standard MIME type of the source data.
MimeType *Blob_MimeType `json:"mimeType,omitempty"`
}
Blob Content blob.
type Blob_Data ¶
type Blob_Data struct {
// contains filtered or unexported fields
}
Blob_Data Required. Raw bytes.
func (Blob_Data) AsBlobData0 ¶
AsBlobData0 returns the union data inside the Blob_Data as a BlobData0
func (Blob_Data) AsBlobData1 ¶
AsBlobData1 returns the union data inside the Blob_Data as a BlobData1
func (*Blob_Data) FromBlobData0 ¶
FromBlobData0 overwrites any union data inside the Blob_Data as the provided BlobData0
func (*Blob_Data) FromBlobData1 ¶
FromBlobData1 overwrites any union data inside the Blob_Data as the provided BlobData1
func (Blob_Data) MarshalJSON ¶
func (*Blob_Data) MergeBlobData0 ¶
MergeBlobData0 performs a merge with any union data inside the Blob_Data, using the provided BlobData0
func (*Blob_Data) MergeBlobData1 ¶
MergeBlobData1 performs a merge with any union data inside the Blob_Data, using the provided BlobData1
func (*Blob_Data) UnmarshalJSON ¶
type Blob_MimeType ¶
type Blob_MimeType struct {
// contains filtered or unexported fields
}
Blob_MimeType Required. The IANA standard MIME type of the source data.
func (Blob_MimeType) AsBlobMimeType0 ¶
func (t Blob_MimeType) AsBlobMimeType0() (BlobMimeType0, error)
AsBlobMimeType0 returns the union data inside the Blob_MimeType as a BlobMimeType0
func (Blob_MimeType) AsBlobMimeType1 ¶
func (t Blob_MimeType) AsBlobMimeType1() (BlobMimeType1, error)
AsBlobMimeType1 returns the union data inside the Blob_MimeType as a BlobMimeType1
func (*Blob_MimeType) FromBlobMimeType0 ¶
func (t *Blob_MimeType) FromBlobMimeType0(v BlobMimeType0) error
FromBlobMimeType0 overwrites any union data inside the Blob_MimeType as the provided BlobMimeType0
func (*Blob_MimeType) FromBlobMimeType1 ¶
func (t *Blob_MimeType) FromBlobMimeType1(v BlobMimeType1) error
FromBlobMimeType1 overwrites any union data inside the Blob_MimeType as the provided BlobMimeType1
func (Blob_MimeType) MarshalJSON ¶
func (t Blob_MimeType) MarshalJSON() ([]byte, error)
func (*Blob_MimeType) MergeBlobMimeType0 ¶
func (t *Blob_MimeType) MergeBlobMimeType0(v BlobMimeType0) error
MergeBlobMimeType0 performs a merge with any union data inside the Blob_MimeType, using the provided BlobMimeType0
func (*Blob_MimeType) MergeBlobMimeType1 ¶
func (t *Blob_MimeType) MergeBlobMimeType1(v BlobMimeType1) error
MergeBlobMimeType1 performs a merge with any union data inside the Blob_MimeType, using the provided BlobMimeType1
func (*Blob_MimeType) UnmarshalJSON ¶
func (t *Blob_MimeType) UnmarshalJSON(b []byte) error
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) AddSessionToEvalSet ¶
func (c *Client) AddSessionToEvalSet(ctx context.Context, appName string, evalSetId string, body AddSessionToEvalSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddSessionToEvalSetWithBody ¶
func (*Client) CreateEvalSet ¶
func (*Client) CreateSession ¶
func (c *Client) CreateSession(ctx context.Context, appName string, userId string, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSessionWithBody ¶
func (*Client) CreateSessionWithId ¶
func (*Client) CreateSessionWithIdWithBody ¶
func (*Client) DeleteArtifact ¶
func (*Client) DeleteSession ¶
func (*Client) GetEventGraph ¶
func (*Client) GetSession ¶
func (*Client) GetTraceDict ¶
func (*Client) ListArtifactNames ¶
func (*Client) ListArtifactVersions ¶
func (*Client) ListEvalSets ¶
func (*Client) ListEvalsInEvalSet ¶
func (*Client) ListSessions ¶
func (*Client) LoadArtifact ¶
func (*Client) LoadArtifactVersion ¶
func (*Client) RedirectToDevUi ¶
func (*Client) Run ¶
func (c *Client) Run(ctx context.Context, body RunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RunEval ¶
func (c *Client) RunEval(ctx context.Context, appName string, evalSetId string, body RunEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RunEvalWithBody ¶
func (*Client) RunSse ¶
func (c *Client) RunSse(ctx context.Context, body RunSseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RunSseWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// RedirectToDevUi request
RedirectToDevUi(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEvalSets request
ListEvalSets(ctx context.Context, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEvalSet request
CreateEvalSet(ctx context.Context, appName string, evalSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddSessionToEvalSetWithBody request with any body
AddSessionToEvalSetWithBody(ctx context.Context, appName string, evalSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddSessionToEvalSet(ctx context.Context, appName string, evalSetId string, body AddSessionToEvalSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEvalsInEvalSet request
ListEvalsInEvalSet(ctx context.Context, appName string, evalSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunEvalWithBody request with any body
RunEvalWithBody(ctx context.Context, appName string, evalSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RunEval(ctx context.Context, appName string, evalSetId string, body RunEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSessions request
ListSessions(ctx context.Context, appName string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSessionWithBody request with any body
CreateSessionWithBody(ctx context.Context, appName string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSession(ctx context.Context, appName string, userId string, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSession request
DeleteSession(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSession request
GetSession(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSessionWithIdWithBody request with any body
CreateSessionWithIdWithBody(ctx context.Context, appName string, userId string, sessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSessionWithId(ctx context.Context, appName string, userId string, sessionId string, body CreateSessionWithIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListArtifactNames request
ListArtifactNames(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteArtifact request
DeleteArtifact(ctx context.Context, appName string, userId string, sessionId string, artifactName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadArtifact request
LoadArtifact(ctx context.Context, appName string, userId string, sessionId string, artifactName string, params *LoadArtifactParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListArtifactVersions request
ListArtifactVersions(ctx context.Context, appName string, userId string, sessionId string, artifactName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadArtifactVersion request
LoadArtifactVersion(ctx context.Context, appName string, userId string, sessionId string, artifactName string, versionId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEventGraph request
GetEventGraph(ctx context.Context, appName string, userId string, sessionId string, eventId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTraceDict request
GetTraceDict(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DevUi request
DevUi(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApps request
ListApps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunWithBody request with any body
RunWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Run(ctx context.Context, body RunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunSseWithBody request with any body
RunSseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RunSse(ctx context.Context, body RunSseJSONRequestBody, 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) AddSessionToEvalSetWithBodyWithResponse ¶
func (c *ClientWithResponses) AddSessionToEvalSetWithBodyWithResponse(ctx context.Context, appName string, evalSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddSessionToEvalSetResponse, error)
AddSessionToEvalSetWithBodyWithResponse request with arbitrary body returning *AddSessionToEvalSetResponse
func (*ClientWithResponses) AddSessionToEvalSetWithResponse ¶
func (c *ClientWithResponses) AddSessionToEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, body AddSessionToEvalSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AddSessionToEvalSetResponse, error)
func (*ClientWithResponses) CreateEvalSetWithResponse ¶
func (c *ClientWithResponses) CreateEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, reqEditors ...RequestEditorFn) (*CreateEvalSetResponse, error)
CreateEvalSetWithResponse request returning *CreateEvalSetResponse
func (*ClientWithResponses) CreateSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSessionWithBodyWithResponse(ctx context.Context, appName string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
CreateSessionWithBodyWithResponse request with arbitrary body returning *CreateSessionResponse
func (*ClientWithResponses) CreateSessionWithIdWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSessionWithIdWithBodyWithResponse(ctx context.Context, appName string, userId string, sessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionWithIdResponse, error)
CreateSessionWithIdWithBodyWithResponse request with arbitrary body returning *CreateSessionWithIdResponse
func (*ClientWithResponses) CreateSessionWithIdWithResponse ¶
func (c *ClientWithResponses) CreateSessionWithIdWithResponse(ctx context.Context, appName string, userId string, sessionId string, body CreateSessionWithIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionWithIdResponse, error)
func (*ClientWithResponses) CreateSessionWithResponse ¶
func (c *ClientWithResponses) CreateSessionWithResponse(ctx context.Context, appName string, userId string, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
func (*ClientWithResponses) DeleteArtifactWithResponse ¶
func (c *ClientWithResponses) DeleteArtifactWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, reqEditors ...RequestEditorFn) (*DeleteArtifactResponse, error)
DeleteArtifactWithResponse request returning *DeleteArtifactResponse
func (*ClientWithResponses) DeleteSessionWithResponse ¶
func (c *ClientWithResponses) DeleteSessionWithResponse(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)
DeleteSessionWithResponse request returning *DeleteSessionResponse
func (*ClientWithResponses) DevUiWithResponse ¶
func (c *ClientWithResponses) DevUiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DevUiResponse, error)
DevUiWithResponse request returning *DevUiResponse
func (*ClientWithResponses) GetEventGraphWithResponse ¶
func (c *ClientWithResponses) GetEventGraphWithResponse(ctx context.Context, appName string, userId string, sessionId string, eventId string, reqEditors ...RequestEditorFn) (*GetEventGraphResponse, error)
GetEventGraphWithResponse request returning *GetEventGraphResponse
func (*ClientWithResponses) GetSessionWithResponse ¶
func (c *ClientWithResponses) GetSessionWithResponse(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*GetSessionResponse, error)
GetSessionWithResponse request returning *GetSessionResponse
func (*ClientWithResponses) GetTraceDictWithResponse ¶
func (c *ClientWithResponses) GetTraceDictWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetTraceDictResponse, error)
GetTraceDictWithResponse request returning *GetTraceDictResponse
func (*ClientWithResponses) ListAppsWithResponse ¶
func (c *ClientWithResponses) ListAppsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)
ListAppsWithResponse request returning *ListAppsResponse
func (*ClientWithResponses) ListArtifactNamesWithResponse ¶
func (c *ClientWithResponses) ListArtifactNamesWithResponse(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*ListArtifactNamesResponse, error)
ListArtifactNamesWithResponse request returning *ListArtifactNamesResponse
func (*ClientWithResponses) ListArtifactVersionsWithResponse ¶
func (c *ClientWithResponses) ListArtifactVersionsWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, reqEditors ...RequestEditorFn) (*ListArtifactVersionsResponse, error)
ListArtifactVersionsWithResponse request returning *ListArtifactVersionsResponse
func (*ClientWithResponses) ListEvalSetsWithResponse ¶
func (c *ClientWithResponses) ListEvalSetsWithResponse(ctx context.Context, appName string, reqEditors ...RequestEditorFn) (*ListEvalSetsResponse, error)
ListEvalSetsWithResponse request returning *ListEvalSetsResponse
func (*ClientWithResponses) ListEvalsInEvalSetWithResponse ¶
func (c *ClientWithResponses) ListEvalsInEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, reqEditors ...RequestEditorFn) (*ListEvalsInEvalSetResponse, error)
ListEvalsInEvalSetWithResponse request returning *ListEvalsInEvalSetResponse
func (*ClientWithResponses) ListSessionsWithResponse ¶
func (c *ClientWithResponses) ListSessionsWithResponse(ctx context.Context, appName string, userId string, reqEditors ...RequestEditorFn) (*ListSessionsResponse, error)
ListSessionsWithResponse request returning *ListSessionsResponse
func (*ClientWithResponses) LoadArtifactVersionWithResponse ¶
func (c *ClientWithResponses) LoadArtifactVersionWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, versionId int, reqEditors ...RequestEditorFn) (*LoadArtifactVersionResponse, error)
LoadArtifactVersionWithResponse request returning *LoadArtifactVersionResponse
func (*ClientWithResponses) LoadArtifactWithResponse ¶
func (c *ClientWithResponses) LoadArtifactWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, params *LoadArtifactParams, reqEditors ...RequestEditorFn) (*LoadArtifactResponse, error)
LoadArtifactWithResponse request returning *LoadArtifactResponse
func (*ClientWithResponses) RedirectToDevUiWithResponse ¶
func (c *ClientWithResponses) RedirectToDevUiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RedirectToDevUiResponse, error)
RedirectToDevUiWithResponse request returning *RedirectToDevUiResponse
func (*ClientWithResponses) RunEvalWithBodyWithResponse ¶
func (c *ClientWithResponses) RunEvalWithBodyWithResponse(ctx context.Context, appName string, evalSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunEvalResponse, error)
RunEvalWithBodyWithResponse request with arbitrary body returning *RunEvalResponse
func (*ClientWithResponses) RunEvalWithResponse ¶
func (c *ClientWithResponses) RunEvalWithResponse(ctx context.Context, appName string, evalSetId string, body RunEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*RunEvalResponse, error)
func (*ClientWithResponses) RunSseWithBodyWithResponse ¶
func (c *ClientWithResponses) RunSseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunSseResponse, error)
RunSseWithBodyWithResponse request with arbitrary body returning *RunSseResponse
func (*ClientWithResponses) RunSseWithResponse ¶
func (c *ClientWithResponses) RunSseWithResponse(ctx context.Context, body RunSseJSONRequestBody, reqEditors ...RequestEditorFn) (*RunSseResponse, error)
func (*ClientWithResponses) RunWithBodyWithResponse ¶
func (c *ClientWithResponses) RunWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunResponse, error)
RunWithBodyWithResponse request with arbitrary body returning *RunResponse
func (*ClientWithResponses) RunWithResponse ¶
func (c *ClientWithResponses) RunWithResponse(ctx context.Context, body RunJSONRequestBody, reqEditors ...RequestEditorFn) (*RunResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// RedirectToDevUiWithResponse request
RedirectToDevUiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RedirectToDevUiResponse, error)
// ListEvalSetsWithResponse request
ListEvalSetsWithResponse(ctx context.Context, appName string, reqEditors ...RequestEditorFn) (*ListEvalSetsResponse, error)
// CreateEvalSetWithResponse request
CreateEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, reqEditors ...RequestEditorFn) (*CreateEvalSetResponse, error)
// AddSessionToEvalSetWithBodyWithResponse request with any body
AddSessionToEvalSetWithBodyWithResponse(ctx context.Context, appName string, evalSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddSessionToEvalSetResponse, error)
AddSessionToEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, body AddSessionToEvalSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AddSessionToEvalSetResponse, error)
// ListEvalsInEvalSetWithResponse request
ListEvalsInEvalSetWithResponse(ctx context.Context, appName string, evalSetId string, reqEditors ...RequestEditorFn) (*ListEvalsInEvalSetResponse, error)
// RunEvalWithBodyWithResponse request with any body
RunEvalWithBodyWithResponse(ctx context.Context, appName string, evalSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunEvalResponse, error)
RunEvalWithResponse(ctx context.Context, appName string, evalSetId string, body RunEvalJSONRequestBody, reqEditors ...RequestEditorFn) (*RunEvalResponse, error)
// ListSessionsWithResponse request
ListSessionsWithResponse(ctx context.Context, appName string, userId string, reqEditors ...RequestEditorFn) (*ListSessionsResponse, error)
// CreateSessionWithBodyWithResponse request with any body
CreateSessionWithBodyWithResponse(ctx context.Context, appName string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
CreateSessionWithResponse(ctx context.Context, appName string, userId string, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
// DeleteSessionWithResponse request
DeleteSessionWithResponse(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)
// GetSessionWithResponse request
GetSessionWithResponse(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*GetSessionResponse, error)
// CreateSessionWithIdWithBodyWithResponse request with any body
CreateSessionWithIdWithBodyWithResponse(ctx context.Context, appName string, userId string, sessionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionWithIdResponse, error)
CreateSessionWithIdWithResponse(ctx context.Context, appName string, userId string, sessionId string, body CreateSessionWithIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionWithIdResponse, error)
// ListArtifactNamesWithResponse request
ListArtifactNamesWithResponse(ctx context.Context, appName string, userId string, sessionId string, reqEditors ...RequestEditorFn) (*ListArtifactNamesResponse, error)
// DeleteArtifactWithResponse request
DeleteArtifactWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, reqEditors ...RequestEditorFn) (*DeleteArtifactResponse, error)
// LoadArtifactWithResponse request
LoadArtifactWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, params *LoadArtifactParams, reqEditors ...RequestEditorFn) (*LoadArtifactResponse, error)
// ListArtifactVersionsWithResponse request
ListArtifactVersionsWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, reqEditors ...RequestEditorFn) (*ListArtifactVersionsResponse, error)
// LoadArtifactVersionWithResponse request
LoadArtifactVersionWithResponse(ctx context.Context, appName string, userId string, sessionId string, artifactName string, versionId int, reqEditors ...RequestEditorFn) (*LoadArtifactVersionResponse, error)
// GetEventGraphWithResponse request
GetEventGraphWithResponse(ctx context.Context, appName string, userId string, sessionId string, eventId string, reqEditors ...RequestEditorFn) (*GetEventGraphResponse, error)
// GetTraceDictWithResponse request
GetTraceDictWithResponse(ctx context.Context, eventId string, reqEditors ...RequestEditorFn) (*GetTraceDictResponse, error)
// DevUiWithResponse request
DevUiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DevUiResponse, error)
// ListAppsWithResponse request
ListAppsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)
// RunWithBodyWithResponse request with any body
RunWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunResponse, error)
RunWithResponse(ctx context.Context, body RunJSONRequestBody, reqEditors ...RequestEditorFn) (*RunResponse, error)
// RunSseWithBodyWithResponse request with any body
RunSseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunSseResponse, error)
RunSseWithResponse(ctx context.Context, body RunSseJSONRequestBody, reqEditors ...RequestEditorFn) (*RunSseResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CodeExecutionResult ¶
type CodeExecutionResult struct {
// Outcome Required. Outcome of the code execution.
Outcome *CodeExecutionResult_Outcome `json:"outcome,omitempty"`
// Output Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
Output *CodeExecutionResult_Output `json:"output,omitempty"`
}
CodeExecutionResult Result of executing the ExecutableCode.
Always follows a `part` containing the ExecutableCode.
type CodeExecutionResultOutcome1 ¶
type CodeExecutionResultOutcome1 = string
CodeExecutionResultOutcome1 defines model for .
type CodeExecutionResultOutput0 ¶
type CodeExecutionResultOutput0 = string
CodeExecutionResultOutput0 defines model for .
type CodeExecutionResultOutput1 ¶
type CodeExecutionResultOutput1 = string
CodeExecutionResultOutput1 defines model for .
type CodeExecutionResult_Outcome ¶
type CodeExecutionResult_Outcome struct {
// contains filtered or unexported fields
}
CodeExecutionResult_Outcome Required. Outcome of the code execution.
func (CodeExecutionResult_Outcome) AsCodeExecutionResultOutcome1 ¶
func (t CodeExecutionResult_Outcome) AsCodeExecutionResultOutcome1() (CodeExecutionResultOutcome1, error)
AsCodeExecutionResultOutcome1 returns the union data inside the CodeExecutionResult_Outcome as a CodeExecutionResultOutcome1
func (CodeExecutionResult_Outcome) AsOutcome ¶
func (t CodeExecutionResult_Outcome) AsOutcome() (Outcome, error)
AsOutcome returns the union data inside the CodeExecutionResult_Outcome as a Outcome
func (*CodeExecutionResult_Outcome) FromCodeExecutionResultOutcome1 ¶
func (t *CodeExecutionResult_Outcome) FromCodeExecutionResultOutcome1(v CodeExecutionResultOutcome1) error
FromCodeExecutionResultOutcome1 overwrites any union data inside the CodeExecutionResult_Outcome as the provided CodeExecutionResultOutcome1
func (*CodeExecutionResult_Outcome) FromOutcome ¶
func (t *CodeExecutionResult_Outcome) FromOutcome(v Outcome) error
FromOutcome overwrites any union data inside the CodeExecutionResult_Outcome as the provided Outcome
func (CodeExecutionResult_Outcome) MarshalJSON ¶
func (t CodeExecutionResult_Outcome) MarshalJSON() ([]byte, error)
func (*CodeExecutionResult_Outcome) MergeCodeExecutionResultOutcome1 ¶
func (t *CodeExecutionResult_Outcome) MergeCodeExecutionResultOutcome1(v CodeExecutionResultOutcome1) error
MergeCodeExecutionResultOutcome1 performs a merge with any union data inside the CodeExecutionResult_Outcome, using the provided CodeExecutionResultOutcome1
func (*CodeExecutionResult_Outcome) MergeOutcome ¶
func (t *CodeExecutionResult_Outcome) MergeOutcome(v Outcome) error
MergeOutcome performs a merge with any union data inside the CodeExecutionResult_Outcome, using the provided Outcome
func (*CodeExecutionResult_Outcome) UnmarshalJSON ¶
func (t *CodeExecutionResult_Outcome) UnmarshalJSON(b []byte) error
type CodeExecutionResult_Output ¶
type CodeExecutionResult_Output struct {
// contains filtered or unexported fields
}
CodeExecutionResult_Output Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
func (CodeExecutionResult_Output) AsCodeExecutionResultOutput0 ¶
func (t CodeExecutionResult_Output) AsCodeExecutionResultOutput0() (CodeExecutionResultOutput0, error)
AsCodeExecutionResultOutput0 returns the union data inside the CodeExecutionResult_Output as a CodeExecutionResultOutput0
func (CodeExecutionResult_Output) AsCodeExecutionResultOutput1 ¶
func (t CodeExecutionResult_Output) AsCodeExecutionResultOutput1() (CodeExecutionResultOutput1, error)
AsCodeExecutionResultOutput1 returns the union data inside the CodeExecutionResult_Output as a CodeExecutionResultOutput1
func (*CodeExecutionResult_Output) FromCodeExecutionResultOutput0 ¶
func (t *CodeExecutionResult_Output) FromCodeExecutionResultOutput0(v CodeExecutionResultOutput0) error
FromCodeExecutionResultOutput0 overwrites any union data inside the CodeExecutionResult_Output as the provided CodeExecutionResultOutput0
func (*CodeExecutionResult_Output) FromCodeExecutionResultOutput1 ¶
func (t *CodeExecutionResult_Output) FromCodeExecutionResultOutput1(v CodeExecutionResultOutput1) error
FromCodeExecutionResultOutput1 overwrites any union data inside the CodeExecutionResult_Output as the provided CodeExecutionResultOutput1
func (CodeExecutionResult_Output) MarshalJSON ¶
func (t CodeExecutionResult_Output) MarshalJSON() ([]byte, error)
func (*CodeExecutionResult_Output) MergeCodeExecutionResultOutput0 ¶
func (t *CodeExecutionResult_Output) MergeCodeExecutionResultOutput0(v CodeExecutionResultOutput0) error
MergeCodeExecutionResultOutput0 performs a merge with any union data inside the CodeExecutionResult_Output, using the provided CodeExecutionResultOutput0
func (*CodeExecutionResult_Output) MergeCodeExecutionResultOutput1 ¶
func (t *CodeExecutionResult_Output) MergeCodeExecutionResultOutput1(v CodeExecutionResultOutput1) error
MergeCodeExecutionResultOutput1 performs a merge with any union data inside the CodeExecutionResult_Output, using the provided CodeExecutionResultOutput1
func (*CodeExecutionResult_Output) UnmarshalJSON ¶
func (t *CodeExecutionResult_Output) UnmarshalJSON(b []byte) error
type ContentInput ¶
type ContentInput struct {
// Parts List of parts that constitute a single message. Each part may have
// a different IANA MIME type.
Parts *ContentInput_Parts `json:"parts,omitempty"`
// Role Optional. The producer of the content. Must be either 'user' or
// 'model'. Useful to set for multi-turn conversations, otherwise can be
// empty. If role is not specified, SDK will determine the role.
Role *ContentInput_Role `json:"role,omitempty"`
}
ContentInput Contains the multi-part content of a message.
type ContentInputParts0 ¶
type ContentInputParts0 = []PartInput
ContentInputParts0 defines model for .
type ContentInput_Parts ¶
type ContentInput_Parts struct {
// contains filtered or unexported fields
}
ContentInput_Parts List of parts that constitute a single message. Each part may have
a different IANA MIME type.
func (ContentInput_Parts) AsContentInputParts0 ¶
func (t ContentInput_Parts) AsContentInputParts0() (ContentInputParts0, error)
AsContentInputParts0 returns the union data inside the ContentInput_Parts as a ContentInputParts0
func (ContentInput_Parts) AsContentInputParts1 ¶
func (t ContentInput_Parts) AsContentInputParts1() (ContentInputParts1, error)
AsContentInputParts1 returns the union data inside the ContentInput_Parts as a ContentInputParts1
func (*ContentInput_Parts) FromContentInputParts0 ¶
func (t *ContentInput_Parts) FromContentInputParts0(v ContentInputParts0) error
FromContentInputParts0 overwrites any union data inside the ContentInput_Parts as the provided ContentInputParts0
func (*ContentInput_Parts) FromContentInputParts1 ¶
func (t *ContentInput_Parts) FromContentInputParts1(v ContentInputParts1) error
FromContentInputParts1 overwrites any union data inside the ContentInput_Parts as the provided ContentInputParts1
func (ContentInput_Parts) MarshalJSON ¶
func (t ContentInput_Parts) MarshalJSON() ([]byte, error)
func (*ContentInput_Parts) MergeContentInputParts0 ¶
func (t *ContentInput_Parts) MergeContentInputParts0(v ContentInputParts0) error
MergeContentInputParts0 performs a merge with any union data inside the ContentInput_Parts, using the provided ContentInputParts0
func (*ContentInput_Parts) MergeContentInputParts1 ¶
func (t *ContentInput_Parts) MergeContentInputParts1(v ContentInputParts1) error
MergeContentInputParts1 performs a merge with any union data inside the ContentInput_Parts, using the provided ContentInputParts1
func (*ContentInput_Parts) UnmarshalJSON ¶
func (t *ContentInput_Parts) UnmarshalJSON(b []byte) error
type ContentInput_Role ¶
type ContentInput_Role struct {
// contains filtered or unexported fields
}
ContentInput_Role Optional. The producer of the content. Must be either 'user' or
'model'. Useful to set for multi-turn conversations, otherwise can be empty. If role is not specified, SDK will determine the role.
func (ContentInput_Role) AsContentInputRole0 ¶
func (t ContentInput_Role) AsContentInputRole0() (ContentInputRole0, error)
AsContentInputRole0 returns the union data inside the ContentInput_Role as a ContentInputRole0
func (ContentInput_Role) AsContentInputRole1 ¶
func (t ContentInput_Role) AsContentInputRole1() (ContentInputRole1, error)
AsContentInputRole1 returns the union data inside the ContentInput_Role as a ContentInputRole1
func (*ContentInput_Role) FromContentInputRole0 ¶
func (t *ContentInput_Role) FromContentInputRole0(v ContentInputRole0) error
FromContentInputRole0 overwrites any union data inside the ContentInput_Role as the provided ContentInputRole0
func (*ContentInput_Role) FromContentInputRole1 ¶
func (t *ContentInput_Role) FromContentInputRole1(v ContentInputRole1) error
FromContentInputRole1 overwrites any union data inside the ContentInput_Role as the provided ContentInputRole1
func (ContentInput_Role) MarshalJSON ¶
func (t ContentInput_Role) MarshalJSON() ([]byte, error)
func (*ContentInput_Role) MergeContentInputRole0 ¶
func (t *ContentInput_Role) MergeContentInputRole0(v ContentInputRole0) error
MergeContentInputRole0 performs a merge with any union data inside the ContentInput_Role, using the provided ContentInputRole0
func (*ContentInput_Role) MergeContentInputRole1 ¶
func (t *ContentInput_Role) MergeContentInputRole1(v ContentInputRole1) error
MergeContentInputRole1 performs a merge with any union data inside the ContentInput_Role, using the provided ContentInputRole1
func (*ContentInput_Role) UnmarshalJSON ¶
func (t *ContentInput_Role) UnmarshalJSON(b []byte) error
type ContentOutput ¶
type ContentOutput struct {
// Parts List of parts that constitute a single message. Each part may have
// a different IANA MIME type.
Parts *ContentOutput_Parts `json:"parts,omitempty"`
// Role Optional. The producer of the content. Must be either 'user' or
// 'model'. Useful to set for multi-turn conversations, otherwise can be
// empty. If role is not specified, SDK will determine the role.
Role *ContentOutput_Role `json:"role,omitempty"`
}
ContentOutput Contains the multi-part content of a message.
type ContentOutputParts0 ¶
type ContentOutputParts0 = []PartOutput
ContentOutputParts0 defines model for .
type ContentOutputParts1 ¶
type ContentOutputParts1 = string
ContentOutputParts1 defines model for .
type ContentOutput_Parts ¶
type ContentOutput_Parts struct {
// contains filtered or unexported fields
}
ContentOutput_Parts List of parts that constitute a single message. Each part may have
a different IANA MIME type.
func (ContentOutput_Parts) AsContentOutputParts0 ¶
func (t ContentOutput_Parts) AsContentOutputParts0() (ContentOutputParts0, error)
AsContentOutputParts0 returns the union data inside the ContentOutput_Parts as a ContentOutputParts0
func (ContentOutput_Parts) AsContentOutputParts1 ¶
func (t ContentOutput_Parts) AsContentOutputParts1() (ContentOutputParts1, error)
AsContentOutputParts1 returns the union data inside the ContentOutput_Parts as a ContentOutputParts1
func (*ContentOutput_Parts) FromContentOutputParts0 ¶
func (t *ContentOutput_Parts) FromContentOutputParts0(v ContentOutputParts0) error
FromContentOutputParts0 overwrites any union data inside the ContentOutput_Parts as the provided ContentOutputParts0
func (*ContentOutput_Parts) FromContentOutputParts1 ¶
func (t *ContentOutput_Parts) FromContentOutputParts1(v ContentOutputParts1) error
FromContentOutputParts1 overwrites any union data inside the ContentOutput_Parts as the provided ContentOutputParts1
func (ContentOutput_Parts) MarshalJSON ¶
func (t ContentOutput_Parts) MarshalJSON() ([]byte, error)
func (*ContentOutput_Parts) MergeContentOutputParts0 ¶
func (t *ContentOutput_Parts) MergeContentOutputParts0(v ContentOutputParts0) error
MergeContentOutputParts0 performs a merge with any union data inside the ContentOutput_Parts, using the provided ContentOutputParts0
func (*ContentOutput_Parts) MergeContentOutputParts1 ¶
func (t *ContentOutput_Parts) MergeContentOutputParts1(v ContentOutputParts1) error
MergeContentOutputParts1 performs a merge with any union data inside the ContentOutput_Parts, using the provided ContentOutputParts1
func (*ContentOutput_Parts) UnmarshalJSON ¶
func (t *ContentOutput_Parts) UnmarshalJSON(b []byte) error
type ContentOutput_Role ¶
type ContentOutput_Role struct {
// contains filtered or unexported fields
}
ContentOutput_Role Optional. The producer of the content. Must be either 'user' or
'model'. Useful to set for multi-turn conversations, otherwise can be empty. If role is not specified, SDK will determine the role.
func (ContentOutput_Role) AsContentOutputRole0 ¶
func (t ContentOutput_Role) AsContentOutputRole0() (ContentOutputRole0, error)
AsContentOutputRole0 returns the union data inside the ContentOutput_Role as a ContentOutputRole0
func (ContentOutput_Role) AsContentOutputRole1 ¶
func (t ContentOutput_Role) AsContentOutputRole1() (ContentOutputRole1, error)
AsContentOutputRole1 returns the union data inside the ContentOutput_Role as a ContentOutputRole1
func (*ContentOutput_Role) FromContentOutputRole0 ¶
func (t *ContentOutput_Role) FromContentOutputRole0(v ContentOutputRole0) error
FromContentOutputRole0 overwrites any union data inside the ContentOutput_Role as the provided ContentOutputRole0
func (*ContentOutput_Role) FromContentOutputRole1 ¶
func (t *ContentOutput_Role) FromContentOutputRole1(v ContentOutputRole1) error
FromContentOutputRole1 overwrites any union data inside the ContentOutput_Role as the provided ContentOutputRole1
func (ContentOutput_Role) MarshalJSON ¶
func (t ContentOutput_Role) MarshalJSON() ([]byte, error)
func (*ContentOutput_Role) MergeContentOutputRole0 ¶
func (t *ContentOutput_Role) MergeContentOutputRole0(v ContentOutputRole0) error
MergeContentOutputRole0 performs a merge with any union data inside the ContentOutput_Role, using the provided ContentOutputRole0
func (*ContentOutput_Role) MergeContentOutputRole1 ¶
func (t *ContentOutput_Role) MergeContentOutputRole1(v ContentOutputRole1) error
MergeContentOutputRole1 performs a merge with any union data inside the ContentOutput_Role, using the provided ContentOutputRole1
func (*ContentOutput_Role) UnmarshalJSON ¶
func (t *ContentOutput_Role) UnmarshalJSON(b []byte) error
type CreateEvalSetResponse ¶
type CreateEvalSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseCreateEvalSetResponse ¶
func ParseCreateEvalSetResponse(rsp *http.Response) (*CreateEvalSetResponse, error)
ParseCreateEvalSetResponse parses an HTTP response from a CreateEvalSetWithResponse call
func (CreateEvalSetResponse) Status ¶
func (r CreateEvalSetResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEvalSetResponse) StatusCode ¶
func (r CreateEvalSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSessionJSONBody ¶
type CreateSessionJSONBody struct {
// contains filtered or unexported fields
}
CreateSessionJSONBody defines parameters for CreateSession.
type CreateSessionJSONBody0 ¶
type CreateSessionJSONBody0 map[string]interface{}
CreateSessionJSONBody0 defines parameters for CreateSession.
type CreateSessionJSONBody1 ¶
type CreateSessionJSONBody1 = string
CreateSessionJSONBody1 defines parameters for CreateSession.
type CreateSessionJSONRequestBody ¶
type CreateSessionJSONRequestBody CreateSessionJSONBody
CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.
type CreateSessionResponse ¶
type CreateSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Session
JSON422 *HTTPValidationError
}
func ParseCreateSessionResponse ¶
func ParseCreateSessionResponse(rsp *http.Response) (*CreateSessionResponse, error)
ParseCreateSessionResponse parses an HTTP response from a CreateSessionWithResponse call
func (CreateSessionResponse) Status ¶
func (r CreateSessionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSessionResponse) StatusCode ¶
func (r CreateSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSessionWithIdJSONBody ¶
type CreateSessionWithIdJSONBody struct {
// contains filtered or unexported fields
}
CreateSessionWithIdJSONBody defines parameters for CreateSessionWithId.
type CreateSessionWithIdJSONBody0 ¶
type CreateSessionWithIdJSONBody0 map[string]interface{}
CreateSessionWithIdJSONBody0 defines parameters for CreateSessionWithId.
type CreateSessionWithIdJSONBody1 ¶
type CreateSessionWithIdJSONBody1 = string
CreateSessionWithIdJSONBody1 defines parameters for CreateSessionWithId.
type CreateSessionWithIdJSONRequestBody ¶
type CreateSessionWithIdJSONRequestBody CreateSessionWithIdJSONBody
CreateSessionWithIdJSONRequestBody defines body for CreateSessionWithId for application/json ContentType.
type CreateSessionWithIdResponse ¶
type CreateSessionWithIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Session
JSON422 *HTTPValidationError
}
func ParseCreateSessionWithIdResponse ¶
func ParseCreateSessionWithIdResponse(rsp *http.Response) (*CreateSessionWithIdResponse, error)
ParseCreateSessionWithIdResponse parses an HTTP response from a CreateSessionWithIdWithResponse call
func (CreateSessionWithIdResponse) Status ¶
func (r CreateSessionWithIdResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSessionWithIdResponse) StatusCode ¶
func (r CreateSessionWithIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteArtifactResponse ¶
type DeleteArtifactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseDeleteArtifactResponse ¶
func ParseDeleteArtifactResponse(rsp *http.Response) (*DeleteArtifactResponse, error)
ParseDeleteArtifactResponse parses an HTTP response from a DeleteArtifactWithResponse call
func (DeleteArtifactResponse) Status ¶
func (r DeleteArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteArtifactResponse) StatusCode ¶
func (r DeleteArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSessionResponse ¶
type DeleteSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseDeleteSessionResponse ¶
func ParseDeleteSessionResponse(rsp *http.Response) (*DeleteSessionResponse, error)
ParseDeleteSessionResponse parses an HTTP response from a DeleteSessionWithResponse call
func (DeleteSessionResponse) Status ¶
func (r DeleteSessionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSessionResponse) StatusCode ¶
func (r DeleteSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DevUiResponse ¶
func ParseDevUiResponse ¶
func ParseDevUiResponse(rsp *http.Response) (*DevUiResponse, error)
ParseDevUiResponse parses an HTTP response from a DevUiWithResponse call
func (DevUiResponse) Status ¶
func (r DevUiResponse) Status() string
Status returns HTTPResponse.Status
func (DevUiResponse) StatusCode ¶
func (r DevUiResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvalMetric ¶
type EvalMetric struct {
MetricName string `json:"metric_name"`
Threshold float32 `json:"threshold"`
}
EvalMetric defines model for EvalMetric.
type EvalStatus ¶
type EvalStatus int
EvalStatus defines model for EvalStatus.
const ( N1 EvalStatus = 1 N2 EvalStatus = 2 N3 EvalStatus = 3 )
Defines values for EvalStatus.
type Event ¶
type Event struct {
// Actions Represents the actions attached to an event.
Actions *EventActions `json:"actions,omitempty"`
Author string `json:"author"`
Branch *Event_Branch `json:"branch,omitempty"`
Content *Event_Content `json:"content,omitempty"`
ErrorCode *Event_ErrorCode `json:"error_code,omitempty"`
ErrorMessage *Event_ErrorMessage `json:"error_message,omitempty"`
GroundingMetadata *Event_GroundingMetadata `json:"grounding_metadata,omitempty"`
Id *string `json:"id,omitempty"`
Interrupted *Event_Interrupted `json:"interrupted,omitempty"`
InvocationId *string `json:"invocation_id,omitempty"`
LongRunningToolIds *Event_LongRunningToolIds `json:"long_running_tool_ids,omitempty"`
Partial *Event_Partial `json:"partial,omitempty"`
Timestamp *float32 `json:"timestamp,omitempty"`
TurnComplete *Event_TurnComplete `json:"turn_complete,omitempty"`
}
Event Represents an event in a conversation between agents and users.
It is used to store the content of the conversation, as well as the actions taken by the agents like function calls, etc.
Attributes:
invocation_id: The invocation ID of the event. author: "user" or the name of the agent, indicating who appended the event to the session. actions: The actions taken by the agent. long_running_tool_ids: The ids of the long running function calls. branch: The branch of the event. id: The unique identifier of the event. timestamp: The timestamp of the event. is_final_response: Whether the event is the final response of the agent. get_function_calls: Returns the function calls in the event.
type EventActions ¶
type EventActions struct {
ArtifactDelta *map[string]int `json:"artifact_delta,omitempty"`
Escalate *EventActions_Escalate `json:"escalate,omitempty"`
RequestedAuthConfigs *map[string]AuthConfig `json:"requested_auth_configs,omitempty"`
SkipSummarization *EventActions_SkipSummarization `json:"skip_summarization,omitempty"`
StateDelta *map[string]interface{} `json:"state_delta,omitempty"`
TransferToAgent *EventActions_TransferToAgent `json:"transfer_to_agent,omitempty"`
}
EventActions Represents the actions attached to an event.
type EventActionsEscalate0 ¶
type EventActionsEscalate0 = bool
EventActionsEscalate0 defines model for .
type EventActionsEscalate1 ¶
type EventActionsEscalate1 = string
EventActionsEscalate1 defines model for .
type EventActionsSkipSummarization0 ¶
type EventActionsSkipSummarization0 = bool
EventActionsSkipSummarization0 defines model for .
type EventActionsSkipSummarization1 ¶
type EventActionsSkipSummarization1 = string
EventActionsSkipSummarization1 defines model for .
type EventActionsTransferToAgent0 ¶
type EventActionsTransferToAgent0 = string
EventActionsTransferToAgent0 defines model for .
type EventActionsTransferToAgent1 ¶
type EventActionsTransferToAgent1 = string
EventActionsTransferToAgent1 defines model for .
type EventActions_Escalate ¶
type EventActions_Escalate struct {
// contains filtered or unexported fields
}
EventActions_Escalate defines model for EventActions.Escalate.
func (EventActions_Escalate) AsEventActionsEscalate0 ¶
func (t EventActions_Escalate) AsEventActionsEscalate0() (EventActionsEscalate0, error)
AsEventActionsEscalate0 returns the union data inside the EventActions_Escalate as a EventActionsEscalate0
func (EventActions_Escalate) AsEventActionsEscalate1 ¶
func (t EventActions_Escalate) AsEventActionsEscalate1() (EventActionsEscalate1, error)
AsEventActionsEscalate1 returns the union data inside the EventActions_Escalate as a EventActionsEscalate1
func (*EventActions_Escalate) FromEventActionsEscalate0 ¶
func (t *EventActions_Escalate) FromEventActionsEscalate0(v EventActionsEscalate0) error
FromEventActionsEscalate0 overwrites any union data inside the EventActions_Escalate as the provided EventActionsEscalate0
func (*EventActions_Escalate) FromEventActionsEscalate1 ¶
func (t *EventActions_Escalate) FromEventActionsEscalate1(v EventActionsEscalate1) error
FromEventActionsEscalate1 overwrites any union data inside the EventActions_Escalate as the provided EventActionsEscalate1
func (EventActions_Escalate) MarshalJSON ¶
func (t EventActions_Escalate) MarshalJSON() ([]byte, error)
func (*EventActions_Escalate) MergeEventActionsEscalate0 ¶
func (t *EventActions_Escalate) MergeEventActionsEscalate0(v EventActionsEscalate0) error
MergeEventActionsEscalate0 performs a merge with any union data inside the EventActions_Escalate, using the provided EventActionsEscalate0
func (*EventActions_Escalate) MergeEventActionsEscalate1 ¶
func (t *EventActions_Escalate) MergeEventActionsEscalate1(v EventActionsEscalate1) error
MergeEventActionsEscalate1 performs a merge with any union data inside the EventActions_Escalate, using the provided EventActionsEscalate1
func (*EventActions_Escalate) UnmarshalJSON ¶
func (t *EventActions_Escalate) UnmarshalJSON(b []byte) error
type EventActions_SkipSummarization ¶
type EventActions_SkipSummarization struct {
// contains filtered or unexported fields
}
EventActions_SkipSummarization defines model for EventActions.SkipSummarization.
func (EventActions_SkipSummarization) AsEventActionsSkipSummarization0 ¶
func (t EventActions_SkipSummarization) AsEventActionsSkipSummarization0() (EventActionsSkipSummarization0, error)
AsEventActionsSkipSummarization0 returns the union data inside the EventActions_SkipSummarization as a EventActionsSkipSummarization0
func (EventActions_SkipSummarization) AsEventActionsSkipSummarization1 ¶
func (t EventActions_SkipSummarization) AsEventActionsSkipSummarization1() (EventActionsSkipSummarization1, error)
AsEventActionsSkipSummarization1 returns the union data inside the EventActions_SkipSummarization as a EventActionsSkipSummarization1
func (*EventActions_SkipSummarization) FromEventActionsSkipSummarization0 ¶
func (t *EventActions_SkipSummarization) FromEventActionsSkipSummarization0(v EventActionsSkipSummarization0) error
FromEventActionsSkipSummarization0 overwrites any union data inside the EventActions_SkipSummarization as the provided EventActionsSkipSummarization0
func (*EventActions_SkipSummarization) FromEventActionsSkipSummarization1 ¶
func (t *EventActions_SkipSummarization) FromEventActionsSkipSummarization1(v EventActionsSkipSummarization1) error
FromEventActionsSkipSummarization1 overwrites any union data inside the EventActions_SkipSummarization as the provided EventActionsSkipSummarization1
func (EventActions_SkipSummarization) MarshalJSON ¶
func (t EventActions_SkipSummarization) MarshalJSON() ([]byte, error)
func (*EventActions_SkipSummarization) MergeEventActionsSkipSummarization0 ¶
func (t *EventActions_SkipSummarization) MergeEventActionsSkipSummarization0(v EventActionsSkipSummarization0) error
MergeEventActionsSkipSummarization0 performs a merge with any union data inside the EventActions_SkipSummarization, using the provided EventActionsSkipSummarization0
func (*EventActions_SkipSummarization) MergeEventActionsSkipSummarization1 ¶
func (t *EventActions_SkipSummarization) MergeEventActionsSkipSummarization1(v EventActionsSkipSummarization1) error
MergeEventActionsSkipSummarization1 performs a merge with any union data inside the EventActions_SkipSummarization, using the provided EventActionsSkipSummarization1
func (*EventActions_SkipSummarization) UnmarshalJSON ¶
func (t *EventActions_SkipSummarization) UnmarshalJSON(b []byte) error
type EventActions_TransferToAgent ¶
type EventActions_TransferToAgent struct {
// contains filtered or unexported fields
}
EventActions_TransferToAgent defines model for EventActions.TransferToAgent.
func (EventActions_TransferToAgent) AsEventActionsTransferToAgent0 ¶
func (t EventActions_TransferToAgent) AsEventActionsTransferToAgent0() (EventActionsTransferToAgent0, error)
AsEventActionsTransferToAgent0 returns the union data inside the EventActions_TransferToAgent as a EventActionsTransferToAgent0
func (EventActions_TransferToAgent) AsEventActionsTransferToAgent1 ¶
func (t EventActions_TransferToAgent) AsEventActionsTransferToAgent1() (EventActionsTransferToAgent1, error)
AsEventActionsTransferToAgent1 returns the union data inside the EventActions_TransferToAgent as a EventActionsTransferToAgent1
func (*EventActions_TransferToAgent) FromEventActionsTransferToAgent0 ¶
func (t *EventActions_TransferToAgent) FromEventActionsTransferToAgent0(v EventActionsTransferToAgent0) error
FromEventActionsTransferToAgent0 overwrites any union data inside the EventActions_TransferToAgent as the provided EventActionsTransferToAgent0
func (*EventActions_TransferToAgent) FromEventActionsTransferToAgent1 ¶
func (t *EventActions_TransferToAgent) FromEventActionsTransferToAgent1(v EventActionsTransferToAgent1) error
FromEventActionsTransferToAgent1 overwrites any union data inside the EventActions_TransferToAgent as the provided EventActionsTransferToAgent1
func (EventActions_TransferToAgent) MarshalJSON ¶
func (t EventActions_TransferToAgent) MarshalJSON() ([]byte, error)
func (*EventActions_TransferToAgent) MergeEventActionsTransferToAgent0 ¶
func (t *EventActions_TransferToAgent) MergeEventActionsTransferToAgent0(v EventActionsTransferToAgent0) error
MergeEventActionsTransferToAgent0 performs a merge with any union data inside the EventActions_TransferToAgent, using the provided EventActionsTransferToAgent0
func (*EventActions_TransferToAgent) MergeEventActionsTransferToAgent1 ¶
func (t *EventActions_TransferToAgent) MergeEventActionsTransferToAgent1(v EventActionsTransferToAgent1) error
MergeEventActionsTransferToAgent1 performs a merge with any union data inside the EventActions_TransferToAgent, using the provided EventActionsTransferToAgent1
func (*EventActions_TransferToAgent) UnmarshalJSON ¶
func (t *EventActions_TransferToAgent) UnmarshalJSON(b []byte) error
type EventGroundingMetadata1 ¶
type EventGroundingMetadata1 = string
EventGroundingMetadata1 defines model for .
type EventLongRunningToolIds0 ¶
type EventLongRunningToolIds0 = []string
EventLongRunningToolIds0 defines model for .
type EventLongRunningToolIds1 ¶
type EventLongRunningToolIds1 = string
EventLongRunningToolIds1 defines model for .
type Event_Branch ¶
type Event_Branch struct {
// contains filtered or unexported fields
}
Event_Branch defines model for Event.Branch.
func (Event_Branch) AsEventBranch0 ¶
func (t Event_Branch) AsEventBranch0() (EventBranch0, error)
AsEventBranch0 returns the union data inside the Event_Branch as a EventBranch0
func (Event_Branch) AsEventBranch1 ¶
func (t Event_Branch) AsEventBranch1() (EventBranch1, error)
AsEventBranch1 returns the union data inside the Event_Branch as a EventBranch1
func (*Event_Branch) FromEventBranch0 ¶
func (t *Event_Branch) FromEventBranch0(v EventBranch0) error
FromEventBranch0 overwrites any union data inside the Event_Branch as the provided EventBranch0
func (*Event_Branch) FromEventBranch1 ¶
func (t *Event_Branch) FromEventBranch1(v EventBranch1) error
FromEventBranch1 overwrites any union data inside the Event_Branch as the provided EventBranch1
func (Event_Branch) MarshalJSON ¶
func (t Event_Branch) MarshalJSON() ([]byte, error)
func (*Event_Branch) MergeEventBranch0 ¶
func (t *Event_Branch) MergeEventBranch0(v EventBranch0) error
MergeEventBranch0 performs a merge with any union data inside the Event_Branch, using the provided EventBranch0
func (*Event_Branch) MergeEventBranch1 ¶
func (t *Event_Branch) MergeEventBranch1(v EventBranch1) error
MergeEventBranch1 performs a merge with any union data inside the Event_Branch, using the provided EventBranch1
func (*Event_Branch) UnmarshalJSON ¶
func (t *Event_Branch) UnmarshalJSON(b []byte) error
type Event_Content ¶
type Event_Content struct {
// contains filtered or unexported fields
}
Event_Content defines model for Event.Content.
func (Event_Content) AsContentOutput ¶
func (t Event_Content) AsContentOutput() (ContentOutput, error)
AsContentOutput returns the union data inside the Event_Content as a ContentOutput
func (Event_Content) AsEventContent1 ¶
func (t Event_Content) AsEventContent1() (EventContent1, error)
AsEventContent1 returns the union data inside the Event_Content as a EventContent1
func (*Event_Content) FromContentOutput ¶
func (t *Event_Content) FromContentOutput(v ContentOutput) error
FromContentOutput overwrites any union data inside the Event_Content as the provided ContentOutput
func (*Event_Content) FromEventContent1 ¶
func (t *Event_Content) FromEventContent1(v EventContent1) error
FromEventContent1 overwrites any union data inside the Event_Content as the provided EventContent1
func (Event_Content) MarshalJSON ¶
func (t Event_Content) MarshalJSON() ([]byte, error)
func (*Event_Content) MergeContentOutput ¶
func (t *Event_Content) MergeContentOutput(v ContentOutput) error
MergeContentOutput performs a merge with any union data inside the Event_Content, using the provided ContentOutput
func (*Event_Content) MergeEventContent1 ¶
func (t *Event_Content) MergeEventContent1(v EventContent1) error
MergeEventContent1 performs a merge with any union data inside the Event_Content, using the provided EventContent1
func (*Event_Content) UnmarshalJSON ¶
func (t *Event_Content) UnmarshalJSON(b []byte) error
type Event_ErrorCode ¶
type Event_ErrorCode struct {
// contains filtered or unexported fields
}
Event_ErrorCode defines model for Event.ErrorCode.
func (Event_ErrorCode) AsEventErrorCode0 ¶
func (t Event_ErrorCode) AsEventErrorCode0() (EventErrorCode0, error)
AsEventErrorCode0 returns the union data inside the Event_ErrorCode as a EventErrorCode0
func (Event_ErrorCode) AsEventErrorCode1 ¶
func (t Event_ErrorCode) AsEventErrorCode1() (EventErrorCode1, error)
AsEventErrorCode1 returns the union data inside the Event_ErrorCode as a EventErrorCode1
func (*Event_ErrorCode) FromEventErrorCode0 ¶
func (t *Event_ErrorCode) FromEventErrorCode0(v EventErrorCode0) error
FromEventErrorCode0 overwrites any union data inside the Event_ErrorCode as the provided EventErrorCode0
func (*Event_ErrorCode) FromEventErrorCode1 ¶
func (t *Event_ErrorCode) FromEventErrorCode1(v EventErrorCode1) error
FromEventErrorCode1 overwrites any union data inside the Event_ErrorCode as the provided EventErrorCode1
func (Event_ErrorCode) MarshalJSON ¶
func (t Event_ErrorCode) MarshalJSON() ([]byte, error)
func (*Event_ErrorCode) MergeEventErrorCode0 ¶
func (t *Event_ErrorCode) MergeEventErrorCode0(v EventErrorCode0) error
MergeEventErrorCode0 performs a merge with any union data inside the Event_ErrorCode, using the provided EventErrorCode0
func (*Event_ErrorCode) MergeEventErrorCode1 ¶
func (t *Event_ErrorCode) MergeEventErrorCode1(v EventErrorCode1) error
MergeEventErrorCode1 performs a merge with any union data inside the Event_ErrorCode, using the provided EventErrorCode1
func (*Event_ErrorCode) UnmarshalJSON ¶
func (t *Event_ErrorCode) UnmarshalJSON(b []byte) error
type Event_ErrorMessage ¶
type Event_ErrorMessage struct {
// contains filtered or unexported fields
}
Event_ErrorMessage defines model for Event.ErrorMessage.
func (Event_ErrorMessage) AsEventErrorMessage0 ¶
func (t Event_ErrorMessage) AsEventErrorMessage0() (EventErrorMessage0, error)
AsEventErrorMessage0 returns the union data inside the Event_ErrorMessage as a EventErrorMessage0
func (Event_ErrorMessage) AsEventErrorMessage1 ¶
func (t Event_ErrorMessage) AsEventErrorMessage1() (EventErrorMessage1, error)
AsEventErrorMessage1 returns the union data inside the Event_ErrorMessage as a EventErrorMessage1
func (*Event_ErrorMessage) FromEventErrorMessage0 ¶
func (t *Event_ErrorMessage) FromEventErrorMessage0(v EventErrorMessage0) error
FromEventErrorMessage0 overwrites any union data inside the Event_ErrorMessage as the provided EventErrorMessage0
func (*Event_ErrorMessage) FromEventErrorMessage1 ¶
func (t *Event_ErrorMessage) FromEventErrorMessage1(v EventErrorMessage1) error
FromEventErrorMessage1 overwrites any union data inside the Event_ErrorMessage as the provided EventErrorMessage1
func (Event_ErrorMessage) MarshalJSON ¶
func (t Event_ErrorMessage) MarshalJSON() ([]byte, error)
func (*Event_ErrorMessage) MergeEventErrorMessage0 ¶
func (t *Event_ErrorMessage) MergeEventErrorMessage0(v EventErrorMessage0) error
MergeEventErrorMessage0 performs a merge with any union data inside the Event_ErrorMessage, using the provided EventErrorMessage0
func (*Event_ErrorMessage) MergeEventErrorMessage1 ¶
func (t *Event_ErrorMessage) MergeEventErrorMessage1(v EventErrorMessage1) error
MergeEventErrorMessage1 performs a merge with any union data inside the Event_ErrorMessage, using the provided EventErrorMessage1
func (*Event_ErrorMessage) UnmarshalJSON ¶
func (t *Event_ErrorMessage) UnmarshalJSON(b []byte) error
type Event_GroundingMetadata ¶
type Event_GroundingMetadata struct {
// contains filtered or unexported fields
}
Event_GroundingMetadata defines model for Event.GroundingMetadata.
func (Event_GroundingMetadata) AsEventGroundingMetadata1 ¶
func (t Event_GroundingMetadata) AsEventGroundingMetadata1() (EventGroundingMetadata1, error)
AsEventGroundingMetadata1 returns the union data inside the Event_GroundingMetadata as a EventGroundingMetadata1
func (Event_GroundingMetadata) AsGroundingMetadata ¶
func (t Event_GroundingMetadata) AsGroundingMetadata() (GroundingMetadata, error)
AsGroundingMetadata returns the union data inside the Event_GroundingMetadata as a GroundingMetadata
func (*Event_GroundingMetadata) FromEventGroundingMetadata1 ¶
func (t *Event_GroundingMetadata) FromEventGroundingMetadata1(v EventGroundingMetadata1) error
FromEventGroundingMetadata1 overwrites any union data inside the Event_GroundingMetadata as the provided EventGroundingMetadata1
func (*Event_GroundingMetadata) FromGroundingMetadata ¶
func (t *Event_GroundingMetadata) FromGroundingMetadata(v GroundingMetadata) error
FromGroundingMetadata overwrites any union data inside the Event_GroundingMetadata as the provided GroundingMetadata
func (Event_GroundingMetadata) MarshalJSON ¶
func (t Event_GroundingMetadata) MarshalJSON() ([]byte, error)
func (*Event_GroundingMetadata) MergeEventGroundingMetadata1 ¶
func (t *Event_GroundingMetadata) MergeEventGroundingMetadata1(v EventGroundingMetadata1) error
MergeEventGroundingMetadata1 performs a merge with any union data inside the Event_GroundingMetadata, using the provided EventGroundingMetadata1
func (*Event_GroundingMetadata) MergeGroundingMetadata ¶
func (t *Event_GroundingMetadata) MergeGroundingMetadata(v GroundingMetadata) error
MergeGroundingMetadata performs a merge with any union data inside the Event_GroundingMetadata, using the provided GroundingMetadata
func (*Event_GroundingMetadata) UnmarshalJSON ¶
func (t *Event_GroundingMetadata) UnmarshalJSON(b []byte) error
type Event_Interrupted ¶
type Event_Interrupted struct {
// contains filtered or unexported fields
}
Event_Interrupted defines model for Event.Interrupted.
func (Event_Interrupted) AsEventInterrupted0 ¶
func (t Event_Interrupted) AsEventInterrupted0() (EventInterrupted0, error)
AsEventInterrupted0 returns the union data inside the Event_Interrupted as a EventInterrupted0
func (Event_Interrupted) AsEventInterrupted1 ¶
func (t Event_Interrupted) AsEventInterrupted1() (EventInterrupted1, error)
AsEventInterrupted1 returns the union data inside the Event_Interrupted as a EventInterrupted1
func (*Event_Interrupted) FromEventInterrupted0 ¶
func (t *Event_Interrupted) FromEventInterrupted0(v EventInterrupted0) error
FromEventInterrupted0 overwrites any union data inside the Event_Interrupted as the provided EventInterrupted0
func (*Event_Interrupted) FromEventInterrupted1 ¶
func (t *Event_Interrupted) FromEventInterrupted1(v EventInterrupted1) error
FromEventInterrupted1 overwrites any union data inside the Event_Interrupted as the provided EventInterrupted1
func (Event_Interrupted) MarshalJSON ¶
func (t Event_Interrupted) MarshalJSON() ([]byte, error)
func (*Event_Interrupted) MergeEventInterrupted0 ¶
func (t *Event_Interrupted) MergeEventInterrupted0(v EventInterrupted0) error
MergeEventInterrupted0 performs a merge with any union data inside the Event_Interrupted, using the provided EventInterrupted0
func (*Event_Interrupted) MergeEventInterrupted1 ¶
func (t *Event_Interrupted) MergeEventInterrupted1(v EventInterrupted1) error
MergeEventInterrupted1 performs a merge with any union data inside the Event_Interrupted, using the provided EventInterrupted1
func (*Event_Interrupted) UnmarshalJSON ¶
func (t *Event_Interrupted) UnmarshalJSON(b []byte) error
type Event_LongRunningToolIds ¶
type Event_LongRunningToolIds struct {
// contains filtered or unexported fields
}
Event_LongRunningToolIds defines model for Event.LongRunningToolIds.
func (Event_LongRunningToolIds) AsEventLongRunningToolIds0 ¶
func (t Event_LongRunningToolIds) AsEventLongRunningToolIds0() (EventLongRunningToolIds0, error)
AsEventLongRunningToolIds0 returns the union data inside the Event_LongRunningToolIds as a EventLongRunningToolIds0
func (Event_LongRunningToolIds) AsEventLongRunningToolIds1 ¶
func (t Event_LongRunningToolIds) AsEventLongRunningToolIds1() (EventLongRunningToolIds1, error)
AsEventLongRunningToolIds1 returns the union data inside the Event_LongRunningToolIds as a EventLongRunningToolIds1
func (*Event_LongRunningToolIds) FromEventLongRunningToolIds0 ¶
func (t *Event_LongRunningToolIds) FromEventLongRunningToolIds0(v EventLongRunningToolIds0) error
FromEventLongRunningToolIds0 overwrites any union data inside the Event_LongRunningToolIds as the provided EventLongRunningToolIds0
func (*Event_LongRunningToolIds) FromEventLongRunningToolIds1 ¶
func (t *Event_LongRunningToolIds) FromEventLongRunningToolIds1(v EventLongRunningToolIds1) error
FromEventLongRunningToolIds1 overwrites any union data inside the Event_LongRunningToolIds as the provided EventLongRunningToolIds1
func (Event_LongRunningToolIds) MarshalJSON ¶
func (t Event_LongRunningToolIds) MarshalJSON() ([]byte, error)
func (*Event_LongRunningToolIds) MergeEventLongRunningToolIds0 ¶
func (t *Event_LongRunningToolIds) MergeEventLongRunningToolIds0(v EventLongRunningToolIds0) error
MergeEventLongRunningToolIds0 performs a merge with any union data inside the Event_LongRunningToolIds, using the provided EventLongRunningToolIds0
func (*Event_LongRunningToolIds) MergeEventLongRunningToolIds1 ¶
func (t *Event_LongRunningToolIds) MergeEventLongRunningToolIds1(v EventLongRunningToolIds1) error
MergeEventLongRunningToolIds1 performs a merge with any union data inside the Event_LongRunningToolIds, using the provided EventLongRunningToolIds1
func (*Event_LongRunningToolIds) UnmarshalJSON ¶
func (t *Event_LongRunningToolIds) UnmarshalJSON(b []byte) error
type Event_Partial ¶
type Event_Partial struct {
// contains filtered or unexported fields
}
Event_Partial defines model for Event.Partial.
func (Event_Partial) AsEventPartial0 ¶
func (t Event_Partial) AsEventPartial0() (EventPartial0, error)
AsEventPartial0 returns the union data inside the Event_Partial as a EventPartial0
func (Event_Partial) AsEventPartial1 ¶
func (t Event_Partial) AsEventPartial1() (EventPartial1, error)
AsEventPartial1 returns the union data inside the Event_Partial as a EventPartial1
func (*Event_Partial) FromEventPartial0 ¶
func (t *Event_Partial) FromEventPartial0(v EventPartial0) error
FromEventPartial0 overwrites any union data inside the Event_Partial as the provided EventPartial0
func (*Event_Partial) FromEventPartial1 ¶
func (t *Event_Partial) FromEventPartial1(v EventPartial1) error
FromEventPartial1 overwrites any union data inside the Event_Partial as the provided EventPartial1
func (Event_Partial) MarshalJSON ¶
func (t Event_Partial) MarshalJSON() ([]byte, error)
func (*Event_Partial) MergeEventPartial0 ¶
func (t *Event_Partial) MergeEventPartial0(v EventPartial0) error
MergeEventPartial0 performs a merge with any union data inside the Event_Partial, using the provided EventPartial0
func (*Event_Partial) MergeEventPartial1 ¶
func (t *Event_Partial) MergeEventPartial1(v EventPartial1) error
MergeEventPartial1 performs a merge with any union data inside the Event_Partial, using the provided EventPartial1
func (*Event_Partial) UnmarshalJSON ¶
func (t *Event_Partial) UnmarshalJSON(b []byte) error
type Event_TurnComplete ¶
type Event_TurnComplete struct {
// contains filtered or unexported fields
}
Event_TurnComplete defines model for Event.TurnComplete.
func (Event_TurnComplete) AsEventTurnComplete0 ¶
func (t Event_TurnComplete) AsEventTurnComplete0() (EventTurnComplete0, error)
AsEventTurnComplete0 returns the union data inside the Event_TurnComplete as a EventTurnComplete0
func (Event_TurnComplete) AsEventTurnComplete1 ¶
func (t Event_TurnComplete) AsEventTurnComplete1() (EventTurnComplete1, error)
AsEventTurnComplete1 returns the union data inside the Event_TurnComplete as a EventTurnComplete1
func (*Event_TurnComplete) FromEventTurnComplete0 ¶
func (t *Event_TurnComplete) FromEventTurnComplete0(v EventTurnComplete0) error
FromEventTurnComplete0 overwrites any union data inside the Event_TurnComplete as the provided EventTurnComplete0
func (*Event_TurnComplete) FromEventTurnComplete1 ¶
func (t *Event_TurnComplete) FromEventTurnComplete1(v EventTurnComplete1) error
FromEventTurnComplete1 overwrites any union data inside the Event_TurnComplete as the provided EventTurnComplete1
func (Event_TurnComplete) MarshalJSON ¶
func (t Event_TurnComplete) MarshalJSON() ([]byte, error)
func (*Event_TurnComplete) MergeEventTurnComplete0 ¶
func (t *Event_TurnComplete) MergeEventTurnComplete0(v EventTurnComplete0) error
MergeEventTurnComplete0 performs a merge with any union data inside the Event_TurnComplete, using the provided EventTurnComplete0
func (*Event_TurnComplete) MergeEventTurnComplete1 ¶
func (t *Event_TurnComplete) MergeEventTurnComplete1(v EventTurnComplete1) error
MergeEventTurnComplete1 performs a merge with any union data inside the Event_TurnComplete, using the provided EventTurnComplete1
func (*Event_TurnComplete) UnmarshalJSON ¶
func (t *Event_TurnComplete) UnmarshalJSON(b []byte) error
type ExecutableCode ¶
type ExecutableCode struct {
// Code Required. The code to be executed.
Code *ExecutableCode_Code `json:"code,omitempty"`
// Language Required. Programming language of the `code`.
Language *ExecutableCode_Language `json:"language,omitempty"`
}
ExecutableCode Code generated by the model that is meant to be executed, and the result returned to the model.
Generated when using the [FunctionDeclaration] tool and [FunctionCallingConfig] mode is set to [Mode.CODE].
type ExecutableCodeCode0 ¶
type ExecutableCodeCode0 = string
ExecutableCodeCode0 defines model for .
type ExecutableCodeCode1 ¶
type ExecutableCodeCode1 = string
ExecutableCodeCode1 defines model for .
type ExecutableCodeLanguage1 ¶
type ExecutableCodeLanguage1 = string
ExecutableCodeLanguage1 defines model for .
type ExecutableCode_Code ¶
type ExecutableCode_Code struct {
// contains filtered or unexported fields
}
ExecutableCode_Code Required. The code to be executed.
func (ExecutableCode_Code) AsExecutableCodeCode0 ¶
func (t ExecutableCode_Code) AsExecutableCodeCode0() (ExecutableCodeCode0, error)
AsExecutableCodeCode0 returns the union data inside the ExecutableCode_Code as a ExecutableCodeCode0
func (ExecutableCode_Code) AsExecutableCodeCode1 ¶
func (t ExecutableCode_Code) AsExecutableCodeCode1() (ExecutableCodeCode1, error)
AsExecutableCodeCode1 returns the union data inside the ExecutableCode_Code as a ExecutableCodeCode1
func (*ExecutableCode_Code) FromExecutableCodeCode0 ¶
func (t *ExecutableCode_Code) FromExecutableCodeCode0(v ExecutableCodeCode0) error
FromExecutableCodeCode0 overwrites any union data inside the ExecutableCode_Code as the provided ExecutableCodeCode0
func (*ExecutableCode_Code) FromExecutableCodeCode1 ¶
func (t *ExecutableCode_Code) FromExecutableCodeCode1(v ExecutableCodeCode1) error
FromExecutableCodeCode1 overwrites any union data inside the ExecutableCode_Code as the provided ExecutableCodeCode1
func (ExecutableCode_Code) MarshalJSON ¶
func (t ExecutableCode_Code) MarshalJSON() ([]byte, error)
func (*ExecutableCode_Code) MergeExecutableCodeCode0 ¶
func (t *ExecutableCode_Code) MergeExecutableCodeCode0(v ExecutableCodeCode0) error
MergeExecutableCodeCode0 performs a merge with any union data inside the ExecutableCode_Code, using the provided ExecutableCodeCode0
func (*ExecutableCode_Code) MergeExecutableCodeCode1 ¶
func (t *ExecutableCode_Code) MergeExecutableCodeCode1(v ExecutableCodeCode1) error
MergeExecutableCodeCode1 performs a merge with any union data inside the ExecutableCode_Code, using the provided ExecutableCodeCode1
func (*ExecutableCode_Code) UnmarshalJSON ¶
func (t *ExecutableCode_Code) UnmarshalJSON(b []byte) error
type ExecutableCode_Language ¶
type ExecutableCode_Language struct {
// contains filtered or unexported fields
}
ExecutableCode_Language Required. Programming language of the `code`.
func (ExecutableCode_Language) AsExecutableCodeLanguage1 ¶
func (t ExecutableCode_Language) AsExecutableCodeLanguage1() (ExecutableCodeLanguage1, error)
AsExecutableCodeLanguage1 returns the union data inside the ExecutableCode_Language as a ExecutableCodeLanguage1
func (ExecutableCode_Language) AsLanguage ¶
func (t ExecutableCode_Language) AsLanguage() (Language, error)
AsLanguage returns the union data inside the ExecutableCode_Language as a Language
func (*ExecutableCode_Language) FromExecutableCodeLanguage1 ¶
func (t *ExecutableCode_Language) FromExecutableCodeLanguage1(v ExecutableCodeLanguage1) error
FromExecutableCodeLanguage1 overwrites any union data inside the ExecutableCode_Language as the provided ExecutableCodeLanguage1
func (*ExecutableCode_Language) FromLanguage ¶
func (t *ExecutableCode_Language) FromLanguage(v Language) error
FromLanguage overwrites any union data inside the ExecutableCode_Language as the provided Language
func (ExecutableCode_Language) MarshalJSON ¶
func (t ExecutableCode_Language) MarshalJSON() ([]byte, error)
func (*ExecutableCode_Language) MergeExecutableCodeLanguage1 ¶
func (t *ExecutableCode_Language) MergeExecutableCodeLanguage1(v ExecutableCodeLanguage1) error
MergeExecutableCodeLanguage1 performs a merge with any union data inside the ExecutableCode_Language, using the provided ExecutableCodeLanguage1
func (*ExecutableCode_Language) MergeLanguage ¶
func (t *ExecutableCode_Language) MergeLanguage(v Language) error
MergeLanguage performs a merge with any union data inside the ExecutableCode_Language, using the provided Language
func (*ExecutableCode_Language) UnmarshalJSON ¶
func (t *ExecutableCode_Language) UnmarshalJSON(b []byte) error
type FileData ¶
type FileData struct {
// FileUri Required. URI.
FileUri *FileData_FileUri `json:"fileUri,omitempty"`
// MimeType Required. The IANA standard MIME type of the source data.
MimeType *FileData_MimeType `json:"mimeType,omitempty"`
}
FileData URI based data.
type FileData_FileUri ¶
type FileData_FileUri struct {
// contains filtered or unexported fields
}
FileData_FileUri Required. URI.
func (FileData_FileUri) AsFileDataFileUri0 ¶
func (t FileData_FileUri) AsFileDataFileUri0() (FileDataFileUri0, error)
AsFileDataFileUri0 returns the union data inside the FileData_FileUri as a FileDataFileUri0
func (FileData_FileUri) AsFileDataFileUri1 ¶
func (t FileData_FileUri) AsFileDataFileUri1() (FileDataFileUri1, error)
AsFileDataFileUri1 returns the union data inside the FileData_FileUri as a FileDataFileUri1
func (*FileData_FileUri) FromFileDataFileUri0 ¶
func (t *FileData_FileUri) FromFileDataFileUri0(v FileDataFileUri0) error
FromFileDataFileUri0 overwrites any union data inside the FileData_FileUri as the provided FileDataFileUri0
func (*FileData_FileUri) FromFileDataFileUri1 ¶
func (t *FileData_FileUri) FromFileDataFileUri1(v FileDataFileUri1) error
FromFileDataFileUri1 overwrites any union data inside the FileData_FileUri as the provided FileDataFileUri1
func (FileData_FileUri) MarshalJSON ¶
func (t FileData_FileUri) MarshalJSON() ([]byte, error)
func (*FileData_FileUri) MergeFileDataFileUri0 ¶
func (t *FileData_FileUri) MergeFileDataFileUri0(v FileDataFileUri0) error
MergeFileDataFileUri0 performs a merge with any union data inside the FileData_FileUri, using the provided FileDataFileUri0
func (*FileData_FileUri) MergeFileDataFileUri1 ¶
func (t *FileData_FileUri) MergeFileDataFileUri1(v FileDataFileUri1) error
MergeFileDataFileUri1 performs a merge with any union data inside the FileData_FileUri, using the provided FileDataFileUri1
func (*FileData_FileUri) UnmarshalJSON ¶
func (t *FileData_FileUri) UnmarshalJSON(b []byte) error
type FileData_MimeType ¶
type FileData_MimeType struct {
// contains filtered or unexported fields
}
FileData_MimeType Required. The IANA standard MIME type of the source data.
func (FileData_MimeType) AsFileDataMimeType0 ¶
func (t FileData_MimeType) AsFileDataMimeType0() (FileDataMimeType0, error)
AsFileDataMimeType0 returns the union data inside the FileData_MimeType as a FileDataMimeType0
func (FileData_MimeType) AsFileDataMimeType1 ¶
func (t FileData_MimeType) AsFileDataMimeType1() (FileDataMimeType1, error)
AsFileDataMimeType1 returns the union data inside the FileData_MimeType as a FileDataMimeType1
func (*FileData_MimeType) FromFileDataMimeType0 ¶
func (t *FileData_MimeType) FromFileDataMimeType0(v FileDataMimeType0) error
FromFileDataMimeType0 overwrites any union data inside the FileData_MimeType as the provided FileDataMimeType0
func (*FileData_MimeType) FromFileDataMimeType1 ¶
func (t *FileData_MimeType) FromFileDataMimeType1(v FileDataMimeType1) error
FromFileDataMimeType1 overwrites any union data inside the FileData_MimeType as the provided FileDataMimeType1
func (FileData_MimeType) MarshalJSON ¶
func (t FileData_MimeType) MarshalJSON() ([]byte, error)
func (*FileData_MimeType) MergeFileDataMimeType0 ¶
func (t *FileData_MimeType) MergeFileDataMimeType0(v FileDataMimeType0) error
MergeFileDataMimeType0 performs a merge with any union data inside the FileData_MimeType, using the provided FileDataMimeType0
func (*FileData_MimeType) MergeFileDataMimeType1 ¶
func (t *FileData_MimeType) MergeFileDataMimeType1(v FileDataMimeType1) error
MergeFileDataMimeType1 performs a merge with any union data inside the FileData_MimeType, using the provided FileDataMimeType1
func (*FileData_MimeType) UnmarshalJSON ¶
func (t *FileData_MimeType) UnmarshalJSON(b []byte) error
type FunctionCall ¶
type FunctionCall struct {
// Args Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
Args *FunctionCall_Args `json:"args,omitempty"`
// Id The unique id of the function call. If populated, the client to execute the
// `function_call` and return the response with the matching `id`.
Id *FunctionCall_Id `json:"id,omitempty"`
// Name Required. The name of the function to call. Matches [FunctionDeclaration.name].
Name *FunctionCall_Name `json:"name,omitempty"`
}
FunctionCall A function call.
type FunctionCallArgs0 ¶
type FunctionCallArgs0 map[string]interface{}
FunctionCallArgs0 defines model for .
type FunctionCall_Args ¶
type FunctionCall_Args struct {
// contains filtered or unexported fields
}
FunctionCall_Args Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
func (FunctionCall_Args) AsFunctionCallArgs0 ¶
func (t FunctionCall_Args) AsFunctionCallArgs0() (FunctionCallArgs0, error)
AsFunctionCallArgs0 returns the union data inside the FunctionCall_Args as a FunctionCallArgs0
func (FunctionCall_Args) AsFunctionCallArgs1 ¶
func (t FunctionCall_Args) AsFunctionCallArgs1() (FunctionCallArgs1, error)
AsFunctionCallArgs1 returns the union data inside the FunctionCall_Args as a FunctionCallArgs1
func (*FunctionCall_Args) FromFunctionCallArgs0 ¶
func (t *FunctionCall_Args) FromFunctionCallArgs0(v FunctionCallArgs0) error
FromFunctionCallArgs0 overwrites any union data inside the FunctionCall_Args as the provided FunctionCallArgs0
func (*FunctionCall_Args) FromFunctionCallArgs1 ¶
func (t *FunctionCall_Args) FromFunctionCallArgs1(v FunctionCallArgs1) error
FromFunctionCallArgs1 overwrites any union data inside the FunctionCall_Args as the provided FunctionCallArgs1
func (FunctionCall_Args) MarshalJSON ¶
func (t FunctionCall_Args) MarshalJSON() ([]byte, error)
func (*FunctionCall_Args) MergeFunctionCallArgs0 ¶
func (t *FunctionCall_Args) MergeFunctionCallArgs0(v FunctionCallArgs0) error
MergeFunctionCallArgs0 performs a merge with any union data inside the FunctionCall_Args, using the provided FunctionCallArgs0
func (*FunctionCall_Args) MergeFunctionCallArgs1 ¶
func (t *FunctionCall_Args) MergeFunctionCallArgs1(v FunctionCallArgs1) error
MergeFunctionCallArgs1 performs a merge with any union data inside the FunctionCall_Args, using the provided FunctionCallArgs1
func (*FunctionCall_Args) UnmarshalJSON ¶
func (t *FunctionCall_Args) UnmarshalJSON(b []byte) error
type FunctionCall_Id ¶
type FunctionCall_Id struct {
// contains filtered or unexported fields
}
FunctionCall_Id The unique id of the function call. If populated, the client to execute the
`function_call` and return the response with the matching `id`.
func (FunctionCall_Id) AsFunctionCallId0 ¶
func (t FunctionCall_Id) AsFunctionCallId0() (FunctionCallId0, error)
AsFunctionCallId0 returns the union data inside the FunctionCall_Id as a FunctionCallId0
func (FunctionCall_Id) AsFunctionCallId1 ¶
func (t FunctionCall_Id) AsFunctionCallId1() (FunctionCallId1, error)
AsFunctionCallId1 returns the union data inside the FunctionCall_Id as a FunctionCallId1
func (*FunctionCall_Id) FromFunctionCallId0 ¶
func (t *FunctionCall_Id) FromFunctionCallId0(v FunctionCallId0) error
FromFunctionCallId0 overwrites any union data inside the FunctionCall_Id as the provided FunctionCallId0
func (*FunctionCall_Id) FromFunctionCallId1 ¶
func (t *FunctionCall_Id) FromFunctionCallId1(v FunctionCallId1) error
FromFunctionCallId1 overwrites any union data inside the FunctionCall_Id as the provided FunctionCallId1
func (FunctionCall_Id) MarshalJSON ¶
func (t FunctionCall_Id) MarshalJSON() ([]byte, error)
func (*FunctionCall_Id) MergeFunctionCallId0 ¶
func (t *FunctionCall_Id) MergeFunctionCallId0(v FunctionCallId0) error
MergeFunctionCallId0 performs a merge with any union data inside the FunctionCall_Id, using the provided FunctionCallId0
func (*FunctionCall_Id) MergeFunctionCallId1 ¶
func (t *FunctionCall_Id) MergeFunctionCallId1(v FunctionCallId1) error
MergeFunctionCallId1 performs a merge with any union data inside the FunctionCall_Id, using the provided FunctionCallId1
func (*FunctionCall_Id) UnmarshalJSON ¶
func (t *FunctionCall_Id) UnmarshalJSON(b []byte) error
type FunctionCall_Name ¶
type FunctionCall_Name struct {
// contains filtered or unexported fields
}
FunctionCall_Name Required. The name of the function to call. Matches [FunctionDeclaration.name].
func (FunctionCall_Name) AsFunctionCallName0 ¶
func (t FunctionCall_Name) AsFunctionCallName0() (FunctionCallName0, error)
AsFunctionCallName0 returns the union data inside the FunctionCall_Name as a FunctionCallName0
func (FunctionCall_Name) AsFunctionCallName1 ¶
func (t FunctionCall_Name) AsFunctionCallName1() (FunctionCallName1, error)
AsFunctionCallName1 returns the union data inside the FunctionCall_Name as a FunctionCallName1
func (*FunctionCall_Name) FromFunctionCallName0 ¶
func (t *FunctionCall_Name) FromFunctionCallName0(v FunctionCallName0) error
FromFunctionCallName0 overwrites any union data inside the FunctionCall_Name as the provided FunctionCallName0
func (*FunctionCall_Name) FromFunctionCallName1 ¶
func (t *FunctionCall_Name) FromFunctionCallName1(v FunctionCallName1) error
FromFunctionCallName1 overwrites any union data inside the FunctionCall_Name as the provided FunctionCallName1
func (FunctionCall_Name) MarshalJSON ¶
func (t FunctionCall_Name) MarshalJSON() ([]byte, error)
func (*FunctionCall_Name) MergeFunctionCallName0 ¶
func (t *FunctionCall_Name) MergeFunctionCallName0(v FunctionCallName0) error
MergeFunctionCallName0 performs a merge with any union data inside the FunctionCall_Name, using the provided FunctionCallName0
func (*FunctionCall_Name) MergeFunctionCallName1 ¶
func (t *FunctionCall_Name) MergeFunctionCallName1(v FunctionCallName1) error
MergeFunctionCallName1 performs a merge with any union data inside the FunctionCall_Name, using the provided FunctionCallName1
func (*FunctionCall_Name) UnmarshalJSON ¶
func (t *FunctionCall_Name) UnmarshalJSON(b []byte) error
type FunctionResponse ¶
type FunctionResponse struct {
// Id The id of the function call this response is for. Populated by the client
// to match the corresponding function call `id`.
Id *FunctionResponse_Id `json:"id,omitempty"`
// Name Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
Name *FunctionResponse_Name `json:"name,omitempty"`
// Response Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
Response *FunctionResponse_Response `json:"response,omitempty"`
}
FunctionResponse A function response.
type FunctionResponseId0 ¶
type FunctionResponseId0 = string
FunctionResponseId0 defines model for .
type FunctionResponseId1 ¶
type FunctionResponseId1 = string
FunctionResponseId1 defines model for .
type FunctionResponseName0 ¶
type FunctionResponseName0 = string
FunctionResponseName0 defines model for .
type FunctionResponseName1 ¶
type FunctionResponseName1 = string
FunctionResponseName1 defines model for .
type FunctionResponseResponse0 ¶
type FunctionResponseResponse0 map[string]interface{}
FunctionResponseResponse0 defines model for .
type FunctionResponseResponse1 ¶
type FunctionResponseResponse1 = string
FunctionResponseResponse1 defines model for .
type FunctionResponse_Id ¶
type FunctionResponse_Id struct {
// contains filtered or unexported fields
}
FunctionResponse_Id The id of the function call this response is for. Populated by the client
to match the corresponding function call `id`.
func (FunctionResponse_Id) AsFunctionResponseId0 ¶
func (t FunctionResponse_Id) AsFunctionResponseId0() (FunctionResponseId0, error)
AsFunctionResponseId0 returns the union data inside the FunctionResponse_Id as a FunctionResponseId0
func (FunctionResponse_Id) AsFunctionResponseId1 ¶
func (t FunctionResponse_Id) AsFunctionResponseId1() (FunctionResponseId1, error)
AsFunctionResponseId1 returns the union data inside the FunctionResponse_Id as a FunctionResponseId1
func (*FunctionResponse_Id) FromFunctionResponseId0 ¶
func (t *FunctionResponse_Id) FromFunctionResponseId0(v FunctionResponseId0) error
FromFunctionResponseId0 overwrites any union data inside the FunctionResponse_Id as the provided FunctionResponseId0
func (*FunctionResponse_Id) FromFunctionResponseId1 ¶
func (t *FunctionResponse_Id) FromFunctionResponseId1(v FunctionResponseId1) error
FromFunctionResponseId1 overwrites any union data inside the FunctionResponse_Id as the provided FunctionResponseId1
func (FunctionResponse_Id) MarshalJSON ¶
func (t FunctionResponse_Id) MarshalJSON() ([]byte, error)
func (*FunctionResponse_Id) MergeFunctionResponseId0 ¶
func (t *FunctionResponse_Id) MergeFunctionResponseId0(v FunctionResponseId0) error
MergeFunctionResponseId0 performs a merge with any union data inside the FunctionResponse_Id, using the provided FunctionResponseId0
func (*FunctionResponse_Id) MergeFunctionResponseId1 ¶
func (t *FunctionResponse_Id) MergeFunctionResponseId1(v FunctionResponseId1) error
MergeFunctionResponseId1 performs a merge with any union data inside the FunctionResponse_Id, using the provided FunctionResponseId1
func (*FunctionResponse_Id) UnmarshalJSON ¶
func (t *FunctionResponse_Id) UnmarshalJSON(b []byte) error
type FunctionResponse_Name ¶
type FunctionResponse_Name struct {
// contains filtered or unexported fields
}
FunctionResponse_Name Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
func (FunctionResponse_Name) AsFunctionResponseName0 ¶
func (t FunctionResponse_Name) AsFunctionResponseName0() (FunctionResponseName0, error)
AsFunctionResponseName0 returns the union data inside the FunctionResponse_Name as a FunctionResponseName0
func (FunctionResponse_Name) AsFunctionResponseName1 ¶
func (t FunctionResponse_Name) AsFunctionResponseName1() (FunctionResponseName1, error)
AsFunctionResponseName1 returns the union data inside the FunctionResponse_Name as a FunctionResponseName1
func (*FunctionResponse_Name) FromFunctionResponseName0 ¶
func (t *FunctionResponse_Name) FromFunctionResponseName0(v FunctionResponseName0) error
FromFunctionResponseName0 overwrites any union data inside the FunctionResponse_Name as the provided FunctionResponseName0
func (*FunctionResponse_Name) FromFunctionResponseName1 ¶
func (t *FunctionResponse_Name) FromFunctionResponseName1(v FunctionResponseName1) error
FromFunctionResponseName1 overwrites any union data inside the FunctionResponse_Name as the provided FunctionResponseName1
func (FunctionResponse_Name) MarshalJSON ¶
func (t FunctionResponse_Name) MarshalJSON() ([]byte, error)
func (*FunctionResponse_Name) MergeFunctionResponseName0 ¶
func (t *FunctionResponse_Name) MergeFunctionResponseName0(v FunctionResponseName0) error
MergeFunctionResponseName0 performs a merge with any union data inside the FunctionResponse_Name, using the provided FunctionResponseName0
func (*FunctionResponse_Name) MergeFunctionResponseName1 ¶
func (t *FunctionResponse_Name) MergeFunctionResponseName1(v FunctionResponseName1) error
MergeFunctionResponseName1 performs a merge with any union data inside the FunctionResponse_Name, using the provided FunctionResponseName1
func (*FunctionResponse_Name) UnmarshalJSON ¶
func (t *FunctionResponse_Name) UnmarshalJSON(b []byte) error
type FunctionResponse_Response ¶
type FunctionResponse_Response struct {
// contains filtered or unexported fields
}
FunctionResponse_Response Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
func (FunctionResponse_Response) AsFunctionResponseResponse0 ¶
func (t FunctionResponse_Response) AsFunctionResponseResponse0() (FunctionResponseResponse0, error)
AsFunctionResponseResponse0 returns the union data inside the FunctionResponse_Response as a FunctionResponseResponse0
func (FunctionResponse_Response) AsFunctionResponseResponse1 ¶
func (t FunctionResponse_Response) AsFunctionResponseResponse1() (FunctionResponseResponse1, error)
AsFunctionResponseResponse1 returns the union data inside the FunctionResponse_Response as a FunctionResponseResponse1
func (*FunctionResponse_Response) FromFunctionResponseResponse0 ¶
func (t *FunctionResponse_Response) FromFunctionResponseResponse0(v FunctionResponseResponse0) error
FromFunctionResponseResponse0 overwrites any union data inside the FunctionResponse_Response as the provided FunctionResponseResponse0
func (*FunctionResponse_Response) FromFunctionResponseResponse1 ¶
func (t *FunctionResponse_Response) FromFunctionResponseResponse1(v FunctionResponseResponse1) error
FromFunctionResponseResponse1 overwrites any union data inside the FunctionResponse_Response as the provided FunctionResponseResponse1
func (FunctionResponse_Response) MarshalJSON ¶
func (t FunctionResponse_Response) MarshalJSON() ([]byte, error)
func (*FunctionResponse_Response) MergeFunctionResponseResponse0 ¶
func (t *FunctionResponse_Response) MergeFunctionResponseResponse0(v FunctionResponseResponse0) error
MergeFunctionResponseResponse0 performs a merge with any union data inside the FunctionResponse_Response, using the provided FunctionResponseResponse0
func (*FunctionResponse_Response) MergeFunctionResponseResponse1 ¶
func (t *FunctionResponse_Response) MergeFunctionResponseResponse1(v FunctionResponseResponse1) error
MergeFunctionResponseResponse1 performs a merge with any union data inside the FunctionResponse_Response, using the provided FunctionResponseResponse1
func (*FunctionResponse_Response) UnmarshalJSON ¶
func (t *FunctionResponse_Response) UnmarshalJSON(b []byte) error
type GetEventGraphResponse ¶
type GetEventGraphResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseGetEventGraphResponse ¶
func ParseGetEventGraphResponse(rsp *http.Response) (*GetEventGraphResponse, error)
ParseGetEventGraphResponse parses an HTTP response from a GetEventGraphWithResponse call
func (GetEventGraphResponse) Status ¶
func (r GetEventGraphResponse) Status() string
Status returns HTTPResponse.Status
func (GetEventGraphResponse) StatusCode ¶
func (r GetEventGraphResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSessionResponse ¶
type GetSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Session
JSON422 *HTTPValidationError
}
func ParseGetSessionResponse ¶
func ParseGetSessionResponse(rsp *http.Response) (*GetSessionResponse, error)
ParseGetSessionResponse parses an HTTP response from a GetSessionWithResponse call
func (GetSessionResponse) Status ¶
func (r GetSessionResponse) Status() string
Status returns HTTPResponse.Status
func (GetSessionResponse) StatusCode ¶
func (r GetSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTraceDictResponse ¶
type GetTraceDictResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseGetTraceDictResponse ¶
func ParseGetTraceDictResponse(rsp *http.Response) (*GetTraceDictResponse, error)
ParseGetTraceDictResponse parses an HTTP response from a GetTraceDictWithResponse call
func (GetTraceDictResponse) Status ¶
func (r GetTraceDictResponse) Status() string
Status returns HTTPResponse.Status
func (GetTraceDictResponse) StatusCode ¶
func (r GetTraceDictResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroundingChunk ¶
type GroundingChunk struct {
// RetrievedContext Grounding chunk from context retrieved by the retrieval tools.
RetrievedContext *GroundingChunk_RetrievedContext `json:"retrievedContext,omitempty"`
// Web Grounding chunk from the web.
Web *GroundingChunk_Web `json:"web,omitempty"`
}
GroundingChunk Grounding chunk.
type GroundingChunkRetrievedContext ¶
type GroundingChunkRetrievedContext struct {
// Text Text of the attribution.
Text *GroundingChunkRetrievedContext_Text `json:"text,omitempty"`
// Title Title of the attribution.
Title *GroundingChunkRetrievedContext_Title `json:"title,omitempty"`
// Uri URI reference of the attribution.
Uri *GroundingChunkRetrievedContext_Uri `json:"uri,omitempty"`
}
GroundingChunkRetrievedContext Chunk from context retrieved by the retrieval tools.
type GroundingChunkRetrievedContext1 ¶
type GroundingChunkRetrievedContext1 = string
GroundingChunkRetrievedContext1 defines model for .
type GroundingChunkRetrievedContextText0 ¶
type GroundingChunkRetrievedContextText0 = string
GroundingChunkRetrievedContextText0 defines model for .
type GroundingChunkRetrievedContextText1 ¶
type GroundingChunkRetrievedContextText1 = string
GroundingChunkRetrievedContextText1 defines model for .
type GroundingChunkRetrievedContextTitle0 ¶
type GroundingChunkRetrievedContextTitle0 = string
GroundingChunkRetrievedContextTitle0 defines model for .
type GroundingChunkRetrievedContextTitle1 ¶
type GroundingChunkRetrievedContextTitle1 = string
GroundingChunkRetrievedContextTitle1 defines model for .
type GroundingChunkRetrievedContextUri0 ¶
type GroundingChunkRetrievedContextUri0 = string
GroundingChunkRetrievedContextUri0 defines model for .
type GroundingChunkRetrievedContextUri1 ¶
type GroundingChunkRetrievedContextUri1 = string
GroundingChunkRetrievedContextUri1 defines model for .
type GroundingChunkRetrievedContext_Text ¶
type GroundingChunkRetrievedContext_Text struct {
// contains filtered or unexported fields
}
GroundingChunkRetrievedContext_Text Text of the attribution.
func (GroundingChunkRetrievedContext_Text) AsGroundingChunkRetrievedContextText0 ¶
func (t GroundingChunkRetrievedContext_Text) AsGroundingChunkRetrievedContextText0() (GroundingChunkRetrievedContextText0, error)
AsGroundingChunkRetrievedContextText0 returns the union data inside the GroundingChunkRetrievedContext_Text as a GroundingChunkRetrievedContextText0
func (GroundingChunkRetrievedContext_Text) AsGroundingChunkRetrievedContextText1 ¶
func (t GroundingChunkRetrievedContext_Text) AsGroundingChunkRetrievedContextText1() (GroundingChunkRetrievedContextText1, error)
AsGroundingChunkRetrievedContextText1 returns the union data inside the GroundingChunkRetrievedContext_Text as a GroundingChunkRetrievedContextText1
func (*GroundingChunkRetrievedContext_Text) FromGroundingChunkRetrievedContextText0 ¶
func (t *GroundingChunkRetrievedContext_Text) FromGroundingChunkRetrievedContextText0(v GroundingChunkRetrievedContextText0) error
FromGroundingChunkRetrievedContextText0 overwrites any union data inside the GroundingChunkRetrievedContext_Text as the provided GroundingChunkRetrievedContextText0
func (*GroundingChunkRetrievedContext_Text) FromGroundingChunkRetrievedContextText1 ¶
func (t *GroundingChunkRetrievedContext_Text) FromGroundingChunkRetrievedContextText1(v GroundingChunkRetrievedContextText1) error
FromGroundingChunkRetrievedContextText1 overwrites any union data inside the GroundingChunkRetrievedContext_Text as the provided GroundingChunkRetrievedContextText1
func (GroundingChunkRetrievedContext_Text) MarshalJSON ¶
func (t GroundingChunkRetrievedContext_Text) MarshalJSON() ([]byte, error)
func (*GroundingChunkRetrievedContext_Text) MergeGroundingChunkRetrievedContextText0 ¶
func (t *GroundingChunkRetrievedContext_Text) MergeGroundingChunkRetrievedContextText0(v GroundingChunkRetrievedContextText0) error
MergeGroundingChunkRetrievedContextText0 performs a merge with any union data inside the GroundingChunkRetrievedContext_Text, using the provided GroundingChunkRetrievedContextText0
func (*GroundingChunkRetrievedContext_Text) MergeGroundingChunkRetrievedContextText1 ¶
func (t *GroundingChunkRetrievedContext_Text) MergeGroundingChunkRetrievedContextText1(v GroundingChunkRetrievedContextText1) error
MergeGroundingChunkRetrievedContextText1 performs a merge with any union data inside the GroundingChunkRetrievedContext_Text, using the provided GroundingChunkRetrievedContextText1
func (*GroundingChunkRetrievedContext_Text) UnmarshalJSON ¶
func (t *GroundingChunkRetrievedContext_Text) UnmarshalJSON(b []byte) error
type GroundingChunkRetrievedContext_Title ¶
type GroundingChunkRetrievedContext_Title struct {
// contains filtered or unexported fields
}
GroundingChunkRetrievedContext_Title Title of the attribution.
func (GroundingChunkRetrievedContext_Title) AsGroundingChunkRetrievedContextTitle0 ¶
func (t GroundingChunkRetrievedContext_Title) AsGroundingChunkRetrievedContextTitle0() (GroundingChunkRetrievedContextTitle0, error)
AsGroundingChunkRetrievedContextTitle0 returns the union data inside the GroundingChunkRetrievedContext_Title as a GroundingChunkRetrievedContextTitle0
func (GroundingChunkRetrievedContext_Title) AsGroundingChunkRetrievedContextTitle1 ¶
func (t GroundingChunkRetrievedContext_Title) AsGroundingChunkRetrievedContextTitle1() (GroundingChunkRetrievedContextTitle1, error)
AsGroundingChunkRetrievedContextTitle1 returns the union data inside the GroundingChunkRetrievedContext_Title as a GroundingChunkRetrievedContextTitle1
func (*GroundingChunkRetrievedContext_Title) FromGroundingChunkRetrievedContextTitle0 ¶
func (t *GroundingChunkRetrievedContext_Title) FromGroundingChunkRetrievedContextTitle0(v GroundingChunkRetrievedContextTitle0) error
FromGroundingChunkRetrievedContextTitle0 overwrites any union data inside the GroundingChunkRetrievedContext_Title as the provided GroundingChunkRetrievedContextTitle0
func (*GroundingChunkRetrievedContext_Title) FromGroundingChunkRetrievedContextTitle1 ¶
func (t *GroundingChunkRetrievedContext_Title) FromGroundingChunkRetrievedContextTitle1(v GroundingChunkRetrievedContextTitle1) error
FromGroundingChunkRetrievedContextTitle1 overwrites any union data inside the GroundingChunkRetrievedContext_Title as the provided GroundingChunkRetrievedContextTitle1
func (GroundingChunkRetrievedContext_Title) MarshalJSON ¶
func (t GroundingChunkRetrievedContext_Title) MarshalJSON() ([]byte, error)
func (*GroundingChunkRetrievedContext_Title) MergeGroundingChunkRetrievedContextTitle0 ¶
func (t *GroundingChunkRetrievedContext_Title) MergeGroundingChunkRetrievedContextTitle0(v GroundingChunkRetrievedContextTitle0) error
MergeGroundingChunkRetrievedContextTitle0 performs a merge with any union data inside the GroundingChunkRetrievedContext_Title, using the provided GroundingChunkRetrievedContextTitle0
func (*GroundingChunkRetrievedContext_Title) MergeGroundingChunkRetrievedContextTitle1 ¶
func (t *GroundingChunkRetrievedContext_Title) MergeGroundingChunkRetrievedContextTitle1(v GroundingChunkRetrievedContextTitle1) error
MergeGroundingChunkRetrievedContextTitle1 performs a merge with any union data inside the GroundingChunkRetrievedContext_Title, using the provided GroundingChunkRetrievedContextTitle1
func (*GroundingChunkRetrievedContext_Title) UnmarshalJSON ¶
func (t *GroundingChunkRetrievedContext_Title) UnmarshalJSON(b []byte) error
type GroundingChunkRetrievedContext_Uri ¶
type GroundingChunkRetrievedContext_Uri struct {
// contains filtered or unexported fields
}
GroundingChunkRetrievedContext_Uri URI reference of the attribution.
func (GroundingChunkRetrievedContext_Uri) AsGroundingChunkRetrievedContextUri0 ¶
func (t GroundingChunkRetrievedContext_Uri) AsGroundingChunkRetrievedContextUri0() (GroundingChunkRetrievedContextUri0, error)
AsGroundingChunkRetrievedContextUri0 returns the union data inside the GroundingChunkRetrievedContext_Uri as a GroundingChunkRetrievedContextUri0
func (GroundingChunkRetrievedContext_Uri) AsGroundingChunkRetrievedContextUri1 ¶
func (t GroundingChunkRetrievedContext_Uri) AsGroundingChunkRetrievedContextUri1() (GroundingChunkRetrievedContextUri1, error)
AsGroundingChunkRetrievedContextUri1 returns the union data inside the GroundingChunkRetrievedContext_Uri as a GroundingChunkRetrievedContextUri1
func (*GroundingChunkRetrievedContext_Uri) FromGroundingChunkRetrievedContextUri0 ¶
func (t *GroundingChunkRetrievedContext_Uri) FromGroundingChunkRetrievedContextUri0(v GroundingChunkRetrievedContextUri0) error
FromGroundingChunkRetrievedContextUri0 overwrites any union data inside the GroundingChunkRetrievedContext_Uri as the provided GroundingChunkRetrievedContextUri0
func (*GroundingChunkRetrievedContext_Uri) FromGroundingChunkRetrievedContextUri1 ¶
func (t *GroundingChunkRetrievedContext_Uri) FromGroundingChunkRetrievedContextUri1(v GroundingChunkRetrievedContextUri1) error
FromGroundingChunkRetrievedContextUri1 overwrites any union data inside the GroundingChunkRetrievedContext_Uri as the provided GroundingChunkRetrievedContextUri1
func (GroundingChunkRetrievedContext_Uri) MarshalJSON ¶
func (t GroundingChunkRetrievedContext_Uri) MarshalJSON() ([]byte, error)
func (*GroundingChunkRetrievedContext_Uri) MergeGroundingChunkRetrievedContextUri0 ¶
func (t *GroundingChunkRetrievedContext_Uri) MergeGroundingChunkRetrievedContextUri0(v GroundingChunkRetrievedContextUri0) error
MergeGroundingChunkRetrievedContextUri0 performs a merge with any union data inside the GroundingChunkRetrievedContext_Uri, using the provided GroundingChunkRetrievedContextUri0
func (*GroundingChunkRetrievedContext_Uri) MergeGroundingChunkRetrievedContextUri1 ¶
func (t *GroundingChunkRetrievedContext_Uri) MergeGroundingChunkRetrievedContextUri1(v GroundingChunkRetrievedContextUri1) error
MergeGroundingChunkRetrievedContextUri1 performs a merge with any union data inside the GroundingChunkRetrievedContext_Uri, using the provided GroundingChunkRetrievedContextUri1
func (*GroundingChunkRetrievedContext_Uri) UnmarshalJSON ¶
func (t *GroundingChunkRetrievedContext_Uri) UnmarshalJSON(b []byte) error
type GroundingChunkWeb ¶
type GroundingChunkWeb struct {
// Domain Domain of the (original) URI.
Domain *GroundingChunkWeb_Domain `json:"domain,omitempty"`
// Title Title of the chunk.
Title *GroundingChunkWeb_Title `json:"title,omitempty"`
// Uri URI reference of the chunk.
Uri *GroundingChunkWeb_Uri `json:"uri,omitempty"`
}
GroundingChunkWeb Chunk from the web.
type GroundingChunkWebDomain0 ¶
type GroundingChunkWebDomain0 = string
GroundingChunkWebDomain0 defines model for .
type GroundingChunkWebDomain1 ¶
type GroundingChunkWebDomain1 = string
GroundingChunkWebDomain1 defines model for .
type GroundingChunkWebTitle0 ¶
type GroundingChunkWebTitle0 = string
GroundingChunkWebTitle0 defines model for .
type GroundingChunkWebTitle1 ¶
type GroundingChunkWebTitle1 = string
GroundingChunkWebTitle1 defines model for .
type GroundingChunkWebUri0 ¶
type GroundingChunkWebUri0 = string
GroundingChunkWebUri0 defines model for .
type GroundingChunkWebUri1 ¶
type GroundingChunkWebUri1 = string
GroundingChunkWebUri1 defines model for .
type GroundingChunkWeb_Domain ¶
type GroundingChunkWeb_Domain struct {
// contains filtered or unexported fields
}
GroundingChunkWeb_Domain Domain of the (original) URI.
func (GroundingChunkWeb_Domain) AsGroundingChunkWebDomain0 ¶
func (t GroundingChunkWeb_Domain) AsGroundingChunkWebDomain0() (GroundingChunkWebDomain0, error)
AsGroundingChunkWebDomain0 returns the union data inside the GroundingChunkWeb_Domain as a GroundingChunkWebDomain0
func (GroundingChunkWeb_Domain) AsGroundingChunkWebDomain1 ¶
func (t GroundingChunkWeb_Domain) AsGroundingChunkWebDomain1() (GroundingChunkWebDomain1, error)
AsGroundingChunkWebDomain1 returns the union data inside the GroundingChunkWeb_Domain as a GroundingChunkWebDomain1
func (*GroundingChunkWeb_Domain) FromGroundingChunkWebDomain0 ¶
func (t *GroundingChunkWeb_Domain) FromGroundingChunkWebDomain0(v GroundingChunkWebDomain0) error
FromGroundingChunkWebDomain0 overwrites any union data inside the GroundingChunkWeb_Domain as the provided GroundingChunkWebDomain0
func (*GroundingChunkWeb_Domain) FromGroundingChunkWebDomain1 ¶
func (t *GroundingChunkWeb_Domain) FromGroundingChunkWebDomain1(v GroundingChunkWebDomain1) error
FromGroundingChunkWebDomain1 overwrites any union data inside the GroundingChunkWeb_Domain as the provided GroundingChunkWebDomain1
func (GroundingChunkWeb_Domain) MarshalJSON ¶
func (t GroundingChunkWeb_Domain) MarshalJSON() ([]byte, error)
func (*GroundingChunkWeb_Domain) MergeGroundingChunkWebDomain0 ¶
func (t *GroundingChunkWeb_Domain) MergeGroundingChunkWebDomain0(v GroundingChunkWebDomain0) error
MergeGroundingChunkWebDomain0 performs a merge with any union data inside the GroundingChunkWeb_Domain, using the provided GroundingChunkWebDomain0
func (*GroundingChunkWeb_Domain) MergeGroundingChunkWebDomain1 ¶
func (t *GroundingChunkWeb_Domain) MergeGroundingChunkWebDomain1(v GroundingChunkWebDomain1) error
MergeGroundingChunkWebDomain1 performs a merge with any union data inside the GroundingChunkWeb_Domain, using the provided GroundingChunkWebDomain1
func (*GroundingChunkWeb_Domain) UnmarshalJSON ¶
func (t *GroundingChunkWeb_Domain) UnmarshalJSON(b []byte) error
type GroundingChunkWeb_Title ¶
type GroundingChunkWeb_Title struct {
// contains filtered or unexported fields
}
GroundingChunkWeb_Title Title of the chunk.
func (GroundingChunkWeb_Title) AsGroundingChunkWebTitle0 ¶
func (t GroundingChunkWeb_Title) AsGroundingChunkWebTitle0() (GroundingChunkWebTitle0, error)
AsGroundingChunkWebTitle0 returns the union data inside the GroundingChunkWeb_Title as a GroundingChunkWebTitle0
func (GroundingChunkWeb_Title) AsGroundingChunkWebTitle1 ¶
func (t GroundingChunkWeb_Title) AsGroundingChunkWebTitle1() (GroundingChunkWebTitle1, error)
AsGroundingChunkWebTitle1 returns the union data inside the GroundingChunkWeb_Title as a GroundingChunkWebTitle1
func (*GroundingChunkWeb_Title) FromGroundingChunkWebTitle0 ¶
func (t *GroundingChunkWeb_Title) FromGroundingChunkWebTitle0(v GroundingChunkWebTitle0) error
FromGroundingChunkWebTitle0 overwrites any union data inside the GroundingChunkWeb_Title as the provided GroundingChunkWebTitle0
func (*GroundingChunkWeb_Title) FromGroundingChunkWebTitle1 ¶
func (t *GroundingChunkWeb_Title) FromGroundingChunkWebTitle1(v GroundingChunkWebTitle1) error
FromGroundingChunkWebTitle1 overwrites any union data inside the GroundingChunkWeb_Title as the provided GroundingChunkWebTitle1
func (GroundingChunkWeb_Title) MarshalJSON ¶
func (t GroundingChunkWeb_Title) MarshalJSON() ([]byte, error)
func (*GroundingChunkWeb_Title) MergeGroundingChunkWebTitle0 ¶
func (t *GroundingChunkWeb_Title) MergeGroundingChunkWebTitle0(v GroundingChunkWebTitle0) error
MergeGroundingChunkWebTitle0 performs a merge with any union data inside the GroundingChunkWeb_Title, using the provided GroundingChunkWebTitle0
func (*GroundingChunkWeb_Title) MergeGroundingChunkWebTitle1 ¶
func (t *GroundingChunkWeb_Title) MergeGroundingChunkWebTitle1(v GroundingChunkWebTitle1) error
MergeGroundingChunkWebTitle1 performs a merge with any union data inside the GroundingChunkWeb_Title, using the provided GroundingChunkWebTitle1
func (*GroundingChunkWeb_Title) UnmarshalJSON ¶
func (t *GroundingChunkWeb_Title) UnmarshalJSON(b []byte) error
type GroundingChunkWeb_Uri ¶
type GroundingChunkWeb_Uri struct {
// contains filtered or unexported fields
}
GroundingChunkWeb_Uri URI reference of the chunk.
func (GroundingChunkWeb_Uri) AsGroundingChunkWebUri0 ¶
func (t GroundingChunkWeb_Uri) AsGroundingChunkWebUri0() (GroundingChunkWebUri0, error)
AsGroundingChunkWebUri0 returns the union data inside the GroundingChunkWeb_Uri as a GroundingChunkWebUri0
func (GroundingChunkWeb_Uri) AsGroundingChunkWebUri1 ¶
func (t GroundingChunkWeb_Uri) AsGroundingChunkWebUri1() (GroundingChunkWebUri1, error)
AsGroundingChunkWebUri1 returns the union data inside the GroundingChunkWeb_Uri as a GroundingChunkWebUri1
func (*GroundingChunkWeb_Uri) FromGroundingChunkWebUri0 ¶
func (t *GroundingChunkWeb_Uri) FromGroundingChunkWebUri0(v GroundingChunkWebUri0) error
FromGroundingChunkWebUri0 overwrites any union data inside the GroundingChunkWeb_Uri as the provided GroundingChunkWebUri0
func (*GroundingChunkWeb_Uri) FromGroundingChunkWebUri1 ¶
func (t *GroundingChunkWeb_Uri) FromGroundingChunkWebUri1(v GroundingChunkWebUri1) error
FromGroundingChunkWebUri1 overwrites any union data inside the GroundingChunkWeb_Uri as the provided GroundingChunkWebUri1
func (GroundingChunkWeb_Uri) MarshalJSON ¶
func (t GroundingChunkWeb_Uri) MarshalJSON() ([]byte, error)
func (*GroundingChunkWeb_Uri) MergeGroundingChunkWebUri0 ¶
func (t *GroundingChunkWeb_Uri) MergeGroundingChunkWebUri0(v GroundingChunkWebUri0) error
MergeGroundingChunkWebUri0 performs a merge with any union data inside the GroundingChunkWeb_Uri, using the provided GroundingChunkWebUri0
func (*GroundingChunkWeb_Uri) MergeGroundingChunkWebUri1 ¶
func (t *GroundingChunkWeb_Uri) MergeGroundingChunkWebUri1(v GroundingChunkWebUri1) error
MergeGroundingChunkWebUri1 performs a merge with any union data inside the GroundingChunkWeb_Uri, using the provided GroundingChunkWebUri1
func (*GroundingChunkWeb_Uri) UnmarshalJSON ¶
func (t *GroundingChunkWeb_Uri) UnmarshalJSON(b []byte) error
type GroundingChunk_RetrievedContext ¶
type GroundingChunk_RetrievedContext struct {
// contains filtered or unexported fields
}
GroundingChunk_RetrievedContext Grounding chunk from context retrieved by the retrieval tools.
func (GroundingChunk_RetrievedContext) AsGroundingChunkRetrievedContext ¶
func (t GroundingChunk_RetrievedContext) AsGroundingChunkRetrievedContext() (GroundingChunkRetrievedContext, error)
AsGroundingChunkRetrievedContext returns the union data inside the GroundingChunk_RetrievedContext as a GroundingChunkRetrievedContext
func (GroundingChunk_RetrievedContext) AsGroundingChunkRetrievedContext1 ¶
func (t GroundingChunk_RetrievedContext) AsGroundingChunkRetrievedContext1() (GroundingChunkRetrievedContext1, error)
AsGroundingChunkRetrievedContext1 returns the union data inside the GroundingChunk_RetrievedContext as a GroundingChunkRetrievedContext1
func (*GroundingChunk_RetrievedContext) FromGroundingChunkRetrievedContext ¶
func (t *GroundingChunk_RetrievedContext) FromGroundingChunkRetrievedContext(v GroundingChunkRetrievedContext) error
FromGroundingChunkRetrievedContext overwrites any union data inside the GroundingChunk_RetrievedContext as the provided GroundingChunkRetrievedContext
func (*GroundingChunk_RetrievedContext) FromGroundingChunkRetrievedContext1 ¶
func (t *GroundingChunk_RetrievedContext) FromGroundingChunkRetrievedContext1(v GroundingChunkRetrievedContext1) error
FromGroundingChunkRetrievedContext1 overwrites any union data inside the GroundingChunk_RetrievedContext as the provided GroundingChunkRetrievedContext1
func (GroundingChunk_RetrievedContext) MarshalJSON ¶
func (t GroundingChunk_RetrievedContext) MarshalJSON() ([]byte, error)
func (*GroundingChunk_RetrievedContext) MergeGroundingChunkRetrievedContext ¶
func (t *GroundingChunk_RetrievedContext) MergeGroundingChunkRetrievedContext(v GroundingChunkRetrievedContext) error
MergeGroundingChunkRetrievedContext performs a merge with any union data inside the GroundingChunk_RetrievedContext, using the provided GroundingChunkRetrievedContext
func (*GroundingChunk_RetrievedContext) MergeGroundingChunkRetrievedContext1 ¶
func (t *GroundingChunk_RetrievedContext) MergeGroundingChunkRetrievedContext1(v GroundingChunkRetrievedContext1) error
MergeGroundingChunkRetrievedContext1 performs a merge with any union data inside the GroundingChunk_RetrievedContext, using the provided GroundingChunkRetrievedContext1
func (*GroundingChunk_RetrievedContext) UnmarshalJSON ¶
func (t *GroundingChunk_RetrievedContext) UnmarshalJSON(b []byte) error
type GroundingChunk_Web ¶
type GroundingChunk_Web struct {
// contains filtered or unexported fields
}
GroundingChunk_Web Grounding chunk from the web.
func (GroundingChunk_Web) AsGroundingChunkWeb ¶
func (t GroundingChunk_Web) AsGroundingChunkWeb() (GroundingChunkWeb, error)
AsGroundingChunkWeb returns the union data inside the GroundingChunk_Web as a GroundingChunkWeb
func (GroundingChunk_Web) AsGroundingChunkWeb1 ¶
func (t GroundingChunk_Web) AsGroundingChunkWeb1() (GroundingChunkWeb1, error)
AsGroundingChunkWeb1 returns the union data inside the GroundingChunk_Web as a GroundingChunkWeb1
func (*GroundingChunk_Web) FromGroundingChunkWeb ¶
func (t *GroundingChunk_Web) FromGroundingChunkWeb(v GroundingChunkWeb) error
FromGroundingChunkWeb overwrites any union data inside the GroundingChunk_Web as the provided GroundingChunkWeb
func (*GroundingChunk_Web) FromGroundingChunkWeb1 ¶
func (t *GroundingChunk_Web) FromGroundingChunkWeb1(v GroundingChunkWeb1) error
FromGroundingChunkWeb1 overwrites any union data inside the GroundingChunk_Web as the provided GroundingChunkWeb1
func (GroundingChunk_Web) MarshalJSON ¶
func (t GroundingChunk_Web) MarshalJSON() ([]byte, error)
func (*GroundingChunk_Web) MergeGroundingChunkWeb ¶
func (t *GroundingChunk_Web) MergeGroundingChunkWeb(v GroundingChunkWeb) error
MergeGroundingChunkWeb performs a merge with any union data inside the GroundingChunk_Web, using the provided GroundingChunkWeb
func (*GroundingChunk_Web) MergeGroundingChunkWeb1 ¶
func (t *GroundingChunk_Web) MergeGroundingChunkWeb1(v GroundingChunkWeb1) error
MergeGroundingChunkWeb1 performs a merge with any union data inside the GroundingChunk_Web, using the provided GroundingChunkWeb1
func (*GroundingChunk_Web) UnmarshalJSON ¶
func (t *GroundingChunk_Web) UnmarshalJSON(b []byte) error
type GroundingMetadata ¶
type GroundingMetadata struct {
// GroundingChunks List of supporting references retrieved from specified grounding source.
GroundingChunks *GroundingMetadata_GroundingChunks `json:"groundingChunks,omitempty"`
// GroundingSupports Optional. List of grounding support.
GroundingSupports *GroundingMetadata_GroundingSupports `json:"groundingSupports,omitempty"`
// RetrievalMetadata Optional. Output only. Retrieval metadata.
RetrievalMetadata *GroundingMetadata_RetrievalMetadata `json:"retrievalMetadata,omitempty"`
// RetrievalQueries Optional. Queries executed by the retrieval tools.
RetrievalQueries *GroundingMetadata_RetrievalQueries `json:"retrievalQueries,omitempty"`
// SearchEntryPoint Optional. Google search entry for the following-up web searches.
SearchEntryPoint *GroundingMetadata_SearchEntryPoint `json:"searchEntryPoint,omitempty"`
// WebSearchQueries Optional. Web search queries for the following-up web search.
WebSearchQueries *GroundingMetadata_WebSearchQueries `json:"webSearchQueries,omitempty"`
}
GroundingMetadata Metadata returned to client when grounding is enabled.
type GroundingMetadataGroundingChunks0 ¶
type GroundingMetadataGroundingChunks0 = []GroundingChunk
GroundingMetadataGroundingChunks0 defines model for .
type GroundingMetadataGroundingChunks1 ¶
type GroundingMetadataGroundingChunks1 = string
GroundingMetadataGroundingChunks1 defines model for .
type GroundingMetadataGroundingSupports0 ¶
type GroundingMetadataGroundingSupports0 = []GroundingSupport
GroundingMetadataGroundingSupports0 defines model for .
type GroundingMetadataGroundingSupports1 ¶
type GroundingMetadataGroundingSupports1 = string
GroundingMetadataGroundingSupports1 defines model for .
type GroundingMetadataRetrievalMetadata1 ¶
type GroundingMetadataRetrievalMetadata1 = string
GroundingMetadataRetrievalMetadata1 defines model for .
type GroundingMetadataRetrievalQueries0 ¶
type GroundingMetadataRetrievalQueries0 = []string
GroundingMetadataRetrievalQueries0 defines model for .
type GroundingMetadataRetrievalQueries1 ¶
type GroundingMetadataRetrievalQueries1 = string
GroundingMetadataRetrievalQueries1 defines model for .
type GroundingMetadataSearchEntryPoint1 ¶
type GroundingMetadataSearchEntryPoint1 = string
GroundingMetadataSearchEntryPoint1 defines model for .
type GroundingMetadataWebSearchQueries0 ¶
type GroundingMetadataWebSearchQueries0 = []string
GroundingMetadataWebSearchQueries0 defines model for .
type GroundingMetadataWebSearchQueries1 ¶
type GroundingMetadataWebSearchQueries1 = string
GroundingMetadataWebSearchQueries1 defines model for .
type GroundingMetadata_GroundingChunks ¶
type GroundingMetadata_GroundingChunks struct {
// contains filtered or unexported fields
}
GroundingMetadata_GroundingChunks List of supporting references retrieved from specified grounding source.
func (GroundingMetadata_GroundingChunks) AsGroundingMetadataGroundingChunks0 ¶
func (t GroundingMetadata_GroundingChunks) AsGroundingMetadataGroundingChunks0() (GroundingMetadataGroundingChunks0, error)
AsGroundingMetadataGroundingChunks0 returns the union data inside the GroundingMetadata_GroundingChunks as a GroundingMetadataGroundingChunks0
func (GroundingMetadata_GroundingChunks) AsGroundingMetadataGroundingChunks1 ¶
func (t GroundingMetadata_GroundingChunks) AsGroundingMetadataGroundingChunks1() (GroundingMetadataGroundingChunks1, error)
AsGroundingMetadataGroundingChunks1 returns the union data inside the GroundingMetadata_GroundingChunks as a GroundingMetadataGroundingChunks1
func (*GroundingMetadata_GroundingChunks) FromGroundingMetadataGroundingChunks0 ¶
func (t *GroundingMetadata_GroundingChunks) FromGroundingMetadataGroundingChunks0(v GroundingMetadataGroundingChunks0) error
FromGroundingMetadataGroundingChunks0 overwrites any union data inside the GroundingMetadata_GroundingChunks as the provided GroundingMetadataGroundingChunks0
func (*GroundingMetadata_GroundingChunks) FromGroundingMetadataGroundingChunks1 ¶
func (t *GroundingMetadata_GroundingChunks) FromGroundingMetadataGroundingChunks1(v GroundingMetadataGroundingChunks1) error
FromGroundingMetadataGroundingChunks1 overwrites any union data inside the GroundingMetadata_GroundingChunks as the provided GroundingMetadataGroundingChunks1
func (GroundingMetadata_GroundingChunks) MarshalJSON ¶
func (t GroundingMetadata_GroundingChunks) MarshalJSON() ([]byte, error)
func (*GroundingMetadata_GroundingChunks) MergeGroundingMetadataGroundingChunks0 ¶
func (t *GroundingMetadata_GroundingChunks) MergeGroundingMetadataGroundingChunks0(v GroundingMetadataGroundingChunks0) error
MergeGroundingMetadataGroundingChunks0 performs a merge with any union data inside the GroundingMetadata_GroundingChunks, using the provided GroundingMetadataGroundingChunks0
func (*GroundingMetadata_GroundingChunks) MergeGroundingMetadataGroundingChunks1 ¶
func (t *GroundingMetadata_GroundingChunks) MergeGroundingMetadataGroundingChunks1(v GroundingMetadataGroundingChunks1) error
MergeGroundingMetadataGroundingChunks1 performs a merge with any union data inside the GroundingMetadata_GroundingChunks, using the provided GroundingMetadataGroundingChunks1
func (*GroundingMetadata_GroundingChunks) UnmarshalJSON ¶
func (t *GroundingMetadata_GroundingChunks) UnmarshalJSON(b []byte) error
type GroundingMetadata_GroundingSupports ¶
type GroundingMetadata_GroundingSupports struct {
// contains filtered or unexported fields
}
GroundingMetadata_GroundingSupports Optional. List of grounding support.
func (GroundingMetadata_GroundingSupports) AsGroundingMetadataGroundingSupports0 ¶
func (t GroundingMetadata_GroundingSupports) AsGroundingMetadataGroundingSupports0() (GroundingMetadataGroundingSupports0, error)
AsGroundingMetadataGroundingSupports0 returns the union data inside the GroundingMetadata_GroundingSupports as a GroundingMetadataGroundingSupports0
func (GroundingMetadata_GroundingSupports) AsGroundingMetadataGroundingSupports1 ¶
func (t GroundingMetadata_GroundingSupports) AsGroundingMetadataGroundingSupports1() (GroundingMetadataGroundingSupports1, error)
AsGroundingMetadataGroundingSupports1 returns the union data inside the GroundingMetadata_GroundingSupports as a GroundingMetadataGroundingSupports1
func (*GroundingMetadata_GroundingSupports) FromGroundingMetadataGroundingSupports0 ¶
func (t *GroundingMetadata_GroundingSupports) FromGroundingMetadataGroundingSupports0(v GroundingMetadataGroundingSupports0) error
FromGroundingMetadataGroundingSupports0 overwrites any union data inside the GroundingMetadata_GroundingSupports as the provided GroundingMetadataGroundingSupports0
func (*GroundingMetadata_GroundingSupports) FromGroundingMetadataGroundingSupports1 ¶
func (t *GroundingMetadata_GroundingSupports) FromGroundingMetadataGroundingSupports1(v GroundingMetadataGroundingSupports1) error
FromGroundingMetadataGroundingSupports1 overwrites any union data inside the GroundingMetadata_GroundingSupports as the provided GroundingMetadataGroundingSupports1
func (GroundingMetadata_GroundingSupports) MarshalJSON ¶
func (t GroundingMetadata_GroundingSupports) MarshalJSON() ([]byte, error)
func (*GroundingMetadata_GroundingSupports) MergeGroundingMetadataGroundingSupports0 ¶
func (t *GroundingMetadata_GroundingSupports) MergeGroundingMetadataGroundingSupports0(v GroundingMetadataGroundingSupports0) error
MergeGroundingMetadataGroundingSupports0 performs a merge with any union data inside the GroundingMetadata_GroundingSupports, using the provided GroundingMetadataGroundingSupports0
func (*GroundingMetadata_GroundingSupports) MergeGroundingMetadataGroundingSupports1 ¶
func (t *GroundingMetadata_GroundingSupports) MergeGroundingMetadataGroundingSupports1(v GroundingMetadataGroundingSupports1) error
MergeGroundingMetadataGroundingSupports1 performs a merge with any union data inside the GroundingMetadata_GroundingSupports, using the provided GroundingMetadataGroundingSupports1
func (*GroundingMetadata_GroundingSupports) UnmarshalJSON ¶
func (t *GroundingMetadata_GroundingSupports) UnmarshalJSON(b []byte) error
type GroundingMetadata_RetrievalMetadata ¶
type GroundingMetadata_RetrievalMetadata struct {
// contains filtered or unexported fields
}
GroundingMetadata_RetrievalMetadata Optional. Output only. Retrieval metadata.
func (GroundingMetadata_RetrievalMetadata) AsGroundingMetadataRetrievalMetadata1 ¶
func (t GroundingMetadata_RetrievalMetadata) AsGroundingMetadataRetrievalMetadata1() (GroundingMetadataRetrievalMetadata1, error)
AsGroundingMetadataRetrievalMetadata1 returns the union data inside the GroundingMetadata_RetrievalMetadata as a GroundingMetadataRetrievalMetadata1
func (GroundingMetadata_RetrievalMetadata) AsRetrievalMetadata ¶
func (t GroundingMetadata_RetrievalMetadata) AsRetrievalMetadata() (RetrievalMetadata, error)
AsRetrievalMetadata returns the union data inside the GroundingMetadata_RetrievalMetadata as a RetrievalMetadata
func (*GroundingMetadata_RetrievalMetadata) FromGroundingMetadataRetrievalMetadata1 ¶
func (t *GroundingMetadata_RetrievalMetadata) FromGroundingMetadataRetrievalMetadata1(v GroundingMetadataRetrievalMetadata1) error
FromGroundingMetadataRetrievalMetadata1 overwrites any union data inside the GroundingMetadata_RetrievalMetadata as the provided GroundingMetadataRetrievalMetadata1
func (*GroundingMetadata_RetrievalMetadata) FromRetrievalMetadata ¶
func (t *GroundingMetadata_RetrievalMetadata) FromRetrievalMetadata(v RetrievalMetadata) error
FromRetrievalMetadata overwrites any union data inside the GroundingMetadata_RetrievalMetadata as the provided RetrievalMetadata
func (GroundingMetadata_RetrievalMetadata) MarshalJSON ¶
func (t GroundingMetadata_RetrievalMetadata) MarshalJSON() ([]byte, error)
func (*GroundingMetadata_RetrievalMetadata) MergeGroundingMetadataRetrievalMetadata1 ¶
func (t *GroundingMetadata_RetrievalMetadata) MergeGroundingMetadataRetrievalMetadata1(v GroundingMetadataRetrievalMetadata1) error
MergeGroundingMetadataRetrievalMetadata1 performs a merge with any union data inside the GroundingMetadata_RetrievalMetadata, using the provided GroundingMetadataRetrievalMetadata1
func (*GroundingMetadata_RetrievalMetadata) MergeRetrievalMetadata ¶
func (t *GroundingMetadata_RetrievalMetadata) MergeRetrievalMetadata(v RetrievalMetadata) error
MergeRetrievalMetadata performs a merge with any union data inside the GroundingMetadata_RetrievalMetadata, using the provided RetrievalMetadata
func (*GroundingMetadata_RetrievalMetadata) UnmarshalJSON ¶
func (t *GroundingMetadata_RetrievalMetadata) UnmarshalJSON(b []byte) error
type GroundingMetadata_RetrievalQueries ¶
type GroundingMetadata_RetrievalQueries struct {
// contains filtered or unexported fields
}
GroundingMetadata_RetrievalQueries Optional. Queries executed by the retrieval tools.
func (GroundingMetadata_RetrievalQueries) AsGroundingMetadataRetrievalQueries0 ¶
func (t GroundingMetadata_RetrievalQueries) AsGroundingMetadataRetrievalQueries0() (GroundingMetadataRetrievalQueries0, error)
AsGroundingMetadataRetrievalQueries0 returns the union data inside the GroundingMetadata_RetrievalQueries as a GroundingMetadataRetrievalQueries0
func (GroundingMetadata_RetrievalQueries) AsGroundingMetadataRetrievalQueries1 ¶
func (t GroundingMetadata_RetrievalQueries) AsGroundingMetadataRetrievalQueries1() (GroundingMetadataRetrievalQueries1, error)
AsGroundingMetadataRetrievalQueries1 returns the union data inside the GroundingMetadata_RetrievalQueries as a GroundingMetadataRetrievalQueries1
func (*GroundingMetadata_RetrievalQueries) FromGroundingMetadataRetrievalQueries0 ¶
func (t *GroundingMetadata_RetrievalQueries) FromGroundingMetadataRetrievalQueries0(v GroundingMetadataRetrievalQueries0) error
FromGroundingMetadataRetrievalQueries0 overwrites any union data inside the GroundingMetadata_RetrievalQueries as the provided GroundingMetadataRetrievalQueries0
func (*GroundingMetadata_RetrievalQueries) FromGroundingMetadataRetrievalQueries1 ¶
func (t *GroundingMetadata_RetrievalQueries) FromGroundingMetadataRetrievalQueries1(v GroundingMetadataRetrievalQueries1) error
FromGroundingMetadataRetrievalQueries1 overwrites any union data inside the GroundingMetadata_RetrievalQueries as the provided GroundingMetadataRetrievalQueries1
func (GroundingMetadata_RetrievalQueries) MarshalJSON ¶
func (t GroundingMetadata_RetrievalQueries) MarshalJSON() ([]byte, error)
func (*GroundingMetadata_RetrievalQueries) MergeGroundingMetadataRetrievalQueries0 ¶
func (t *GroundingMetadata_RetrievalQueries) MergeGroundingMetadataRetrievalQueries0(v GroundingMetadataRetrievalQueries0) error
MergeGroundingMetadataRetrievalQueries0 performs a merge with any union data inside the GroundingMetadata_RetrievalQueries, using the provided GroundingMetadataRetrievalQueries0
func (*GroundingMetadata_RetrievalQueries) MergeGroundingMetadataRetrievalQueries1 ¶
func (t *GroundingMetadata_RetrievalQueries) MergeGroundingMetadataRetrievalQueries1(v GroundingMetadataRetrievalQueries1) error
MergeGroundingMetadataRetrievalQueries1 performs a merge with any union data inside the GroundingMetadata_RetrievalQueries, using the provided GroundingMetadataRetrievalQueries1
func (*GroundingMetadata_RetrievalQueries) UnmarshalJSON ¶
func (t *GroundingMetadata_RetrievalQueries) UnmarshalJSON(b []byte) error
type GroundingMetadata_SearchEntryPoint ¶
type GroundingMetadata_SearchEntryPoint struct {
// contains filtered or unexported fields
}
GroundingMetadata_SearchEntryPoint Optional. Google search entry for the following-up web searches.
func (GroundingMetadata_SearchEntryPoint) AsGroundingMetadataSearchEntryPoint1 ¶
func (t GroundingMetadata_SearchEntryPoint) AsGroundingMetadataSearchEntryPoint1() (GroundingMetadataSearchEntryPoint1, error)
AsGroundingMetadataSearchEntryPoint1 returns the union data inside the GroundingMetadata_SearchEntryPoint as a GroundingMetadataSearchEntryPoint1
func (GroundingMetadata_SearchEntryPoint) AsSearchEntryPoint ¶
func (t GroundingMetadata_SearchEntryPoint) AsSearchEntryPoint() (SearchEntryPoint, error)
AsSearchEntryPoint returns the union data inside the GroundingMetadata_SearchEntryPoint as a SearchEntryPoint
func (*GroundingMetadata_SearchEntryPoint) FromGroundingMetadataSearchEntryPoint1 ¶
func (t *GroundingMetadata_SearchEntryPoint) FromGroundingMetadataSearchEntryPoint1(v GroundingMetadataSearchEntryPoint1) error
FromGroundingMetadataSearchEntryPoint1 overwrites any union data inside the GroundingMetadata_SearchEntryPoint as the provided GroundingMetadataSearchEntryPoint1
func (*GroundingMetadata_SearchEntryPoint) FromSearchEntryPoint ¶
func (t *GroundingMetadata_SearchEntryPoint) FromSearchEntryPoint(v SearchEntryPoint) error
FromSearchEntryPoint overwrites any union data inside the GroundingMetadata_SearchEntryPoint as the provided SearchEntryPoint
func (GroundingMetadata_SearchEntryPoint) MarshalJSON ¶
func (t GroundingMetadata_SearchEntryPoint) MarshalJSON() ([]byte, error)
func (*GroundingMetadata_SearchEntryPoint) MergeGroundingMetadataSearchEntryPoint1 ¶
func (t *GroundingMetadata_SearchEntryPoint) MergeGroundingMetadataSearchEntryPoint1(v GroundingMetadataSearchEntryPoint1) error
MergeGroundingMetadataSearchEntryPoint1 performs a merge with any union data inside the GroundingMetadata_SearchEntryPoint, using the provided GroundingMetadataSearchEntryPoint1
func (*GroundingMetadata_SearchEntryPoint) MergeSearchEntryPoint ¶
func (t *GroundingMetadata_SearchEntryPoint) MergeSearchEntryPoint(v SearchEntryPoint) error
MergeSearchEntryPoint performs a merge with any union data inside the GroundingMetadata_SearchEntryPoint, using the provided SearchEntryPoint
func (*GroundingMetadata_SearchEntryPoint) UnmarshalJSON ¶
func (t *GroundingMetadata_SearchEntryPoint) UnmarshalJSON(b []byte) error
type GroundingMetadata_WebSearchQueries ¶
type GroundingMetadata_WebSearchQueries struct {
// contains filtered or unexported fields
}
GroundingMetadata_WebSearchQueries Optional. Web search queries for the following-up web search.
func (GroundingMetadata_WebSearchQueries) AsGroundingMetadataWebSearchQueries0 ¶
func (t GroundingMetadata_WebSearchQueries) AsGroundingMetadataWebSearchQueries0() (GroundingMetadataWebSearchQueries0, error)
AsGroundingMetadataWebSearchQueries0 returns the union data inside the GroundingMetadata_WebSearchQueries as a GroundingMetadataWebSearchQueries0
func (GroundingMetadata_WebSearchQueries) AsGroundingMetadataWebSearchQueries1 ¶
func (t GroundingMetadata_WebSearchQueries) AsGroundingMetadataWebSearchQueries1() (GroundingMetadataWebSearchQueries1, error)
AsGroundingMetadataWebSearchQueries1 returns the union data inside the GroundingMetadata_WebSearchQueries as a GroundingMetadataWebSearchQueries1
func (*GroundingMetadata_WebSearchQueries) FromGroundingMetadataWebSearchQueries0 ¶
func (t *GroundingMetadata_WebSearchQueries) FromGroundingMetadataWebSearchQueries0(v GroundingMetadataWebSearchQueries0) error
FromGroundingMetadataWebSearchQueries0 overwrites any union data inside the GroundingMetadata_WebSearchQueries as the provided GroundingMetadataWebSearchQueries0
func (*GroundingMetadata_WebSearchQueries) FromGroundingMetadataWebSearchQueries1 ¶
func (t *GroundingMetadata_WebSearchQueries) FromGroundingMetadataWebSearchQueries1(v GroundingMetadataWebSearchQueries1) error
FromGroundingMetadataWebSearchQueries1 overwrites any union data inside the GroundingMetadata_WebSearchQueries as the provided GroundingMetadataWebSearchQueries1
func (GroundingMetadata_WebSearchQueries) MarshalJSON ¶
func (t GroundingMetadata_WebSearchQueries) MarshalJSON() ([]byte, error)
func (*GroundingMetadata_WebSearchQueries) MergeGroundingMetadataWebSearchQueries0 ¶
func (t *GroundingMetadata_WebSearchQueries) MergeGroundingMetadataWebSearchQueries0(v GroundingMetadataWebSearchQueries0) error
MergeGroundingMetadataWebSearchQueries0 performs a merge with any union data inside the GroundingMetadata_WebSearchQueries, using the provided GroundingMetadataWebSearchQueries0
func (*GroundingMetadata_WebSearchQueries) MergeGroundingMetadataWebSearchQueries1 ¶
func (t *GroundingMetadata_WebSearchQueries) MergeGroundingMetadataWebSearchQueries1(v GroundingMetadataWebSearchQueries1) error
MergeGroundingMetadataWebSearchQueries1 performs a merge with any union data inside the GroundingMetadata_WebSearchQueries, using the provided GroundingMetadataWebSearchQueries1
func (*GroundingMetadata_WebSearchQueries) UnmarshalJSON ¶
func (t *GroundingMetadata_WebSearchQueries) UnmarshalJSON(b []byte) error
type GroundingSupport ¶
type GroundingSupport struct {
// ConfidenceScores Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.
ConfidenceScores *GroundingSupport_ConfidenceScores `json:"confidenceScores,omitempty"`
// GroundingChunkIndices A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.
GroundingChunkIndices *GroundingSupport_GroundingChunkIndices `json:"groundingChunkIndices,omitempty"`
// Segment Segment of the content this support belongs to.
Segment *GroundingSupport_Segment `json:"segment,omitempty"`
}
GroundingSupport Grounding support.
type GroundingSupportConfidenceScores0 ¶
type GroundingSupportConfidenceScores0 = []float32
GroundingSupportConfidenceScores0 defines model for .
type GroundingSupportConfidenceScores1 ¶
type GroundingSupportConfidenceScores1 = string
GroundingSupportConfidenceScores1 defines model for .
type GroundingSupportGroundingChunkIndices0 ¶
type GroundingSupportGroundingChunkIndices0 = []int
GroundingSupportGroundingChunkIndices0 defines model for .
type GroundingSupportGroundingChunkIndices1 ¶
type GroundingSupportGroundingChunkIndices1 = string
GroundingSupportGroundingChunkIndices1 defines model for .
type GroundingSupportSegment1 ¶
type GroundingSupportSegment1 = string
GroundingSupportSegment1 defines model for .
type GroundingSupport_ConfidenceScores ¶
type GroundingSupport_ConfidenceScores struct {
// contains filtered or unexported fields
}
GroundingSupport_ConfidenceScores Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.
func (GroundingSupport_ConfidenceScores) AsGroundingSupportConfidenceScores0 ¶
func (t GroundingSupport_ConfidenceScores) AsGroundingSupportConfidenceScores0() (GroundingSupportConfidenceScores0, error)
AsGroundingSupportConfidenceScores0 returns the union data inside the GroundingSupport_ConfidenceScores as a GroundingSupportConfidenceScores0
func (GroundingSupport_ConfidenceScores) AsGroundingSupportConfidenceScores1 ¶
func (t GroundingSupport_ConfidenceScores) AsGroundingSupportConfidenceScores1() (GroundingSupportConfidenceScores1, error)
AsGroundingSupportConfidenceScores1 returns the union data inside the GroundingSupport_ConfidenceScores as a GroundingSupportConfidenceScores1
func (*GroundingSupport_ConfidenceScores) FromGroundingSupportConfidenceScores0 ¶
func (t *GroundingSupport_ConfidenceScores) FromGroundingSupportConfidenceScores0(v GroundingSupportConfidenceScores0) error
FromGroundingSupportConfidenceScores0 overwrites any union data inside the GroundingSupport_ConfidenceScores as the provided GroundingSupportConfidenceScores0
func (*GroundingSupport_ConfidenceScores) FromGroundingSupportConfidenceScores1 ¶
func (t *GroundingSupport_ConfidenceScores) FromGroundingSupportConfidenceScores1(v GroundingSupportConfidenceScores1) error
FromGroundingSupportConfidenceScores1 overwrites any union data inside the GroundingSupport_ConfidenceScores as the provided GroundingSupportConfidenceScores1
func (GroundingSupport_ConfidenceScores) MarshalJSON ¶
func (t GroundingSupport_ConfidenceScores) MarshalJSON() ([]byte, error)
func (*GroundingSupport_ConfidenceScores) MergeGroundingSupportConfidenceScores0 ¶
func (t *GroundingSupport_ConfidenceScores) MergeGroundingSupportConfidenceScores0(v GroundingSupportConfidenceScores0) error
MergeGroundingSupportConfidenceScores0 performs a merge with any union data inside the GroundingSupport_ConfidenceScores, using the provided GroundingSupportConfidenceScores0
func (*GroundingSupport_ConfidenceScores) MergeGroundingSupportConfidenceScores1 ¶
func (t *GroundingSupport_ConfidenceScores) MergeGroundingSupportConfidenceScores1(v GroundingSupportConfidenceScores1) error
MergeGroundingSupportConfidenceScores1 performs a merge with any union data inside the GroundingSupport_ConfidenceScores, using the provided GroundingSupportConfidenceScores1
func (*GroundingSupport_ConfidenceScores) UnmarshalJSON ¶
func (t *GroundingSupport_ConfidenceScores) UnmarshalJSON(b []byte) error
type GroundingSupport_GroundingChunkIndices ¶
type GroundingSupport_GroundingChunkIndices struct {
// contains filtered or unexported fields
}
GroundingSupport_GroundingChunkIndices A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.
func (GroundingSupport_GroundingChunkIndices) AsGroundingSupportGroundingChunkIndices0 ¶
func (t GroundingSupport_GroundingChunkIndices) AsGroundingSupportGroundingChunkIndices0() (GroundingSupportGroundingChunkIndices0, error)
AsGroundingSupportGroundingChunkIndices0 returns the union data inside the GroundingSupport_GroundingChunkIndices as a GroundingSupportGroundingChunkIndices0
func (GroundingSupport_GroundingChunkIndices) AsGroundingSupportGroundingChunkIndices1 ¶
func (t GroundingSupport_GroundingChunkIndices) AsGroundingSupportGroundingChunkIndices1() (GroundingSupportGroundingChunkIndices1, error)
AsGroundingSupportGroundingChunkIndices1 returns the union data inside the GroundingSupport_GroundingChunkIndices as a GroundingSupportGroundingChunkIndices1
func (*GroundingSupport_GroundingChunkIndices) FromGroundingSupportGroundingChunkIndices0 ¶
func (t *GroundingSupport_GroundingChunkIndices) FromGroundingSupportGroundingChunkIndices0(v GroundingSupportGroundingChunkIndices0) error
FromGroundingSupportGroundingChunkIndices0 overwrites any union data inside the GroundingSupport_GroundingChunkIndices as the provided GroundingSupportGroundingChunkIndices0
func (*GroundingSupport_GroundingChunkIndices) FromGroundingSupportGroundingChunkIndices1 ¶
func (t *GroundingSupport_GroundingChunkIndices) FromGroundingSupportGroundingChunkIndices1(v GroundingSupportGroundingChunkIndices1) error
FromGroundingSupportGroundingChunkIndices1 overwrites any union data inside the GroundingSupport_GroundingChunkIndices as the provided GroundingSupportGroundingChunkIndices1
func (GroundingSupport_GroundingChunkIndices) MarshalJSON ¶
func (t GroundingSupport_GroundingChunkIndices) MarshalJSON() ([]byte, error)
func (*GroundingSupport_GroundingChunkIndices) MergeGroundingSupportGroundingChunkIndices0 ¶
func (t *GroundingSupport_GroundingChunkIndices) MergeGroundingSupportGroundingChunkIndices0(v GroundingSupportGroundingChunkIndices0) error
MergeGroundingSupportGroundingChunkIndices0 performs a merge with any union data inside the GroundingSupport_GroundingChunkIndices, using the provided GroundingSupportGroundingChunkIndices0
func (*GroundingSupport_GroundingChunkIndices) MergeGroundingSupportGroundingChunkIndices1 ¶
func (t *GroundingSupport_GroundingChunkIndices) MergeGroundingSupportGroundingChunkIndices1(v GroundingSupportGroundingChunkIndices1) error
MergeGroundingSupportGroundingChunkIndices1 performs a merge with any union data inside the GroundingSupport_GroundingChunkIndices, using the provided GroundingSupportGroundingChunkIndices1
func (*GroundingSupport_GroundingChunkIndices) UnmarshalJSON ¶
func (t *GroundingSupport_GroundingChunkIndices) UnmarshalJSON(b []byte) error
type GroundingSupport_Segment ¶
type GroundingSupport_Segment struct {
// contains filtered or unexported fields
}
GroundingSupport_Segment Segment of the content this support belongs to.
func (GroundingSupport_Segment) AsGroundingSupportSegment1 ¶
func (t GroundingSupport_Segment) AsGroundingSupportSegment1() (GroundingSupportSegment1, error)
AsGroundingSupportSegment1 returns the union data inside the GroundingSupport_Segment as a GroundingSupportSegment1
func (GroundingSupport_Segment) AsSegment ¶
func (t GroundingSupport_Segment) AsSegment() (Segment, error)
AsSegment returns the union data inside the GroundingSupport_Segment as a Segment
func (*GroundingSupport_Segment) FromGroundingSupportSegment1 ¶
func (t *GroundingSupport_Segment) FromGroundingSupportSegment1(v GroundingSupportSegment1) error
FromGroundingSupportSegment1 overwrites any union data inside the GroundingSupport_Segment as the provided GroundingSupportSegment1
func (*GroundingSupport_Segment) FromSegment ¶
func (t *GroundingSupport_Segment) FromSegment(v Segment) error
FromSegment overwrites any union data inside the GroundingSupport_Segment as the provided Segment
func (GroundingSupport_Segment) MarshalJSON ¶
func (t GroundingSupport_Segment) MarshalJSON() ([]byte, error)
func (*GroundingSupport_Segment) MergeGroundingSupportSegment1 ¶
func (t *GroundingSupport_Segment) MergeGroundingSupportSegment1(v GroundingSupportSegment1) error
MergeGroundingSupportSegment1 performs a merge with any union data inside the GroundingSupport_Segment, using the provided GroundingSupportSegment1
func (*GroundingSupport_Segment) MergeSegment ¶
func (t *GroundingSupport_Segment) MergeSegment(v Segment) error
MergeSegment performs a merge with any union data inside the GroundingSupport_Segment, using the provided Segment
func (*GroundingSupport_Segment) UnmarshalJSON ¶
func (t *GroundingSupport_Segment) UnmarshalJSON(b []byte) error
type HTTPBase ¶
type HTTPBase struct {
Description *HTTPBase_Description `json:"description,omitempty"`
Scheme string `json:"scheme"`
Type *SecuritySchemeType `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HTTPBase defines model for HTTPBase.
func (HTTPBase) Get ¶
Getter for additional properties for HTTPBase. Returns the specified element and whether it was found
func (HTTPBase) MarshalJSON ¶
Override default JSON handling for HTTPBase to handle AdditionalProperties
func (*HTTPBase) UnmarshalJSON ¶
Override default JSON handling for HTTPBase to handle AdditionalProperties
type HTTPBaseDescription0 ¶
type HTTPBaseDescription0 = string
HTTPBaseDescription0 defines model for .
type HTTPBaseDescription1 ¶
type HTTPBaseDescription1 = string
HTTPBaseDescription1 defines model for .
type HTTPBase_Description ¶
type HTTPBase_Description struct {
// contains filtered or unexported fields
}
HTTPBase_Description defines model for HTTPBase.Description.
func (HTTPBase_Description) AsHTTPBaseDescription0 ¶
func (t HTTPBase_Description) AsHTTPBaseDescription0() (HTTPBaseDescription0, error)
AsHTTPBaseDescription0 returns the union data inside the HTTPBase_Description as a HTTPBaseDescription0
func (HTTPBase_Description) AsHTTPBaseDescription1 ¶
func (t HTTPBase_Description) AsHTTPBaseDescription1() (HTTPBaseDescription1, error)
AsHTTPBaseDescription1 returns the union data inside the HTTPBase_Description as a HTTPBaseDescription1
func (*HTTPBase_Description) FromHTTPBaseDescription0 ¶
func (t *HTTPBase_Description) FromHTTPBaseDescription0(v HTTPBaseDescription0) error
FromHTTPBaseDescription0 overwrites any union data inside the HTTPBase_Description as the provided HTTPBaseDescription0
func (*HTTPBase_Description) FromHTTPBaseDescription1 ¶
func (t *HTTPBase_Description) FromHTTPBaseDescription1(v HTTPBaseDescription1) error
FromHTTPBaseDescription1 overwrites any union data inside the HTTPBase_Description as the provided HTTPBaseDescription1
func (HTTPBase_Description) MarshalJSON ¶
func (t HTTPBase_Description) MarshalJSON() ([]byte, error)
func (*HTTPBase_Description) MergeHTTPBaseDescription0 ¶
func (t *HTTPBase_Description) MergeHTTPBaseDescription0(v HTTPBaseDescription0) error
MergeHTTPBaseDescription0 performs a merge with any union data inside the HTTPBase_Description, using the provided HTTPBaseDescription0
func (*HTTPBase_Description) MergeHTTPBaseDescription1 ¶
func (t *HTTPBase_Description) MergeHTTPBaseDescription1(v HTTPBaseDescription1) error
MergeHTTPBaseDescription1 performs a merge with any union data inside the HTTPBase_Description, using the provided HTTPBaseDescription1
func (*HTTPBase_Description) UnmarshalJSON ¶
func (t *HTTPBase_Description) UnmarshalJSON(b []byte) error
type HTTPBearer ¶
type HTTPBearer struct {
BearerFormat *HTTPBearer_BearerFormat `json:"bearerFormat,omitempty"`
Description *HTTPBearer_Description `json:"description,omitempty"`
Scheme *string `json:"scheme,omitempty"`
Type *SecuritySchemeType `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HTTPBearer defines model for HTTPBearer.
func (HTTPBearer) Get ¶
func (a HTTPBearer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for HTTPBearer. Returns the specified element and whether it was found
func (HTTPBearer) MarshalJSON ¶
func (a HTTPBearer) MarshalJSON() ([]byte, error)
Override default JSON handling for HTTPBearer to handle AdditionalProperties
func (*HTTPBearer) Set ¶
func (a *HTTPBearer) Set(fieldName string, value interface{})
Setter for additional properties for HTTPBearer
func (*HTTPBearer) UnmarshalJSON ¶
func (a *HTTPBearer) UnmarshalJSON(b []byte) error
Override default JSON handling for HTTPBearer to handle AdditionalProperties
type HTTPBearerBearerFormat0 ¶
type HTTPBearerBearerFormat0 = string
HTTPBearerBearerFormat0 defines model for .
type HTTPBearerBearerFormat1 ¶
type HTTPBearerBearerFormat1 = string
HTTPBearerBearerFormat1 defines model for .
type HTTPBearerDescription0 ¶
type HTTPBearerDescription0 = string
HTTPBearerDescription0 defines model for .
type HTTPBearerDescription1 ¶
type HTTPBearerDescription1 = string
HTTPBearerDescription1 defines model for .
type HTTPBearer_BearerFormat ¶
type HTTPBearer_BearerFormat struct {
// contains filtered or unexported fields
}
HTTPBearer_BearerFormat defines model for HTTPBearer.BearerFormat.
func (HTTPBearer_BearerFormat) AsHTTPBearerBearerFormat0 ¶
func (t HTTPBearer_BearerFormat) AsHTTPBearerBearerFormat0() (HTTPBearerBearerFormat0, error)
AsHTTPBearerBearerFormat0 returns the union data inside the HTTPBearer_BearerFormat as a HTTPBearerBearerFormat0
func (HTTPBearer_BearerFormat) AsHTTPBearerBearerFormat1 ¶
func (t HTTPBearer_BearerFormat) AsHTTPBearerBearerFormat1() (HTTPBearerBearerFormat1, error)
AsHTTPBearerBearerFormat1 returns the union data inside the HTTPBearer_BearerFormat as a HTTPBearerBearerFormat1
func (*HTTPBearer_BearerFormat) FromHTTPBearerBearerFormat0 ¶
func (t *HTTPBearer_BearerFormat) FromHTTPBearerBearerFormat0(v HTTPBearerBearerFormat0) error
FromHTTPBearerBearerFormat0 overwrites any union data inside the HTTPBearer_BearerFormat as the provided HTTPBearerBearerFormat0
func (*HTTPBearer_BearerFormat) FromHTTPBearerBearerFormat1 ¶
func (t *HTTPBearer_BearerFormat) FromHTTPBearerBearerFormat1(v HTTPBearerBearerFormat1) error
FromHTTPBearerBearerFormat1 overwrites any union data inside the HTTPBearer_BearerFormat as the provided HTTPBearerBearerFormat1
func (HTTPBearer_BearerFormat) MarshalJSON ¶
func (t HTTPBearer_BearerFormat) MarshalJSON() ([]byte, error)
func (*HTTPBearer_BearerFormat) MergeHTTPBearerBearerFormat0 ¶
func (t *HTTPBearer_BearerFormat) MergeHTTPBearerBearerFormat0(v HTTPBearerBearerFormat0) error
MergeHTTPBearerBearerFormat0 performs a merge with any union data inside the HTTPBearer_BearerFormat, using the provided HTTPBearerBearerFormat0
func (*HTTPBearer_BearerFormat) MergeHTTPBearerBearerFormat1 ¶
func (t *HTTPBearer_BearerFormat) MergeHTTPBearerBearerFormat1(v HTTPBearerBearerFormat1) error
MergeHTTPBearerBearerFormat1 performs a merge with any union data inside the HTTPBearer_BearerFormat, using the provided HTTPBearerBearerFormat1
func (*HTTPBearer_BearerFormat) UnmarshalJSON ¶
func (t *HTTPBearer_BearerFormat) UnmarshalJSON(b []byte) error
type HTTPBearer_Description ¶
type HTTPBearer_Description struct {
// contains filtered or unexported fields
}
HTTPBearer_Description defines model for HTTPBearer.Description.
func (HTTPBearer_Description) AsHTTPBearerDescription0 ¶
func (t HTTPBearer_Description) AsHTTPBearerDescription0() (HTTPBearerDescription0, error)
AsHTTPBearerDescription0 returns the union data inside the HTTPBearer_Description as a HTTPBearerDescription0
func (HTTPBearer_Description) AsHTTPBearerDescription1 ¶
func (t HTTPBearer_Description) AsHTTPBearerDescription1() (HTTPBearerDescription1, error)
AsHTTPBearerDescription1 returns the union data inside the HTTPBearer_Description as a HTTPBearerDescription1
func (*HTTPBearer_Description) FromHTTPBearerDescription0 ¶
func (t *HTTPBearer_Description) FromHTTPBearerDescription0(v HTTPBearerDescription0) error
FromHTTPBearerDescription0 overwrites any union data inside the HTTPBearer_Description as the provided HTTPBearerDescription0
func (*HTTPBearer_Description) FromHTTPBearerDescription1 ¶
func (t *HTTPBearer_Description) FromHTTPBearerDescription1(v HTTPBearerDescription1) error
FromHTTPBearerDescription1 overwrites any union data inside the HTTPBearer_Description as the provided HTTPBearerDescription1
func (HTTPBearer_Description) MarshalJSON ¶
func (t HTTPBearer_Description) MarshalJSON() ([]byte, error)
func (*HTTPBearer_Description) MergeHTTPBearerDescription0 ¶
func (t *HTTPBearer_Description) MergeHTTPBearerDescription0(v HTTPBearerDescription0) error
MergeHTTPBearerDescription0 performs a merge with any union data inside the HTTPBearer_Description, using the provided HTTPBearerDescription0
func (*HTTPBearer_Description) MergeHTTPBearerDescription1 ¶
func (t *HTTPBearer_Description) MergeHTTPBearerDescription1(v HTTPBearerDescription1) error
MergeHTTPBearerDescription1 performs a merge with any union data inside the HTTPBearer_Description, using the provided HTTPBearerDescription1
func (*HTTPBearer_Description) UnmarshalJSON ¶
func (t *HTTPBearer_Description) UnmarshalJSON(b []byte) error
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpAuth ¶
type HttpAuth struct {
// Credentials Represents the secret token value for HTTP authentication, like user name, password, oauth token, etc.
Credentials HttpCredentials `json:"credentials"`
Scheme string `json:"scheme"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HttpAuth The credentials and metadata for HTTP authentication.
func (HttpAuth) Get ¶
Getter for additional properties for HttpAuth. Returns the specified element and whether it was found
func (HttpAuth) MarshalJSON ¶
Override default JSON handling for HttpAuth to handle AdditionalProperties
func (*HttpAuth) UnmarshalJSON ¶
Override default JSON handling for HttpAuth to handle AdditionalProperties
type HttpCredentials ¶
type HttpCredentials struct {
Password *HttpCredentials_Password `json:"password,omitempty"`
Token *HttpCredentials_Token `json:"token,omitempty"`
Username *HttpCredentials_Username `json:"username,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HttpCredentials Represents the secret token value for HTTP authentication, like user name, password, oauth token, etc.
func (HttpCredentials) Get ¶
func (a HttpCredentials) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for HttpCredentials. Returns the specified element and whether it was found
func (HttpCredentials) MarshalJSON ¶
func (a HttpCredentials) MarshalJSON() ([]byte, error)
Override default JSON handling for HttpCredentials to handle AdditionalProperties
func (*HttpCredentials) Set ¶
func (a *HttpCredentials) Set(fieldName string, value interface{})
Setter for additional properties for HttpCredentials
func (*HttpCredentials) UnmarshalJSON ¶
func (a *HttpCredentials) UnmarshalJSON(b []byte) error
Override default JSON handling for HttpCredentials to handle AdditionalProperties
type HttpCredentialsPassword0 ¶
type HttpCredentialsPassword0 = string
HttpCredentialsPassword0 defines model for .
type HttpCredentialsPassword1 ¶
type HttpCredentialsPassword1 = string
HttpCredentialsPassword1 defines model for .
type HttpCredentialsToken0 ¶
type HttpCredentialsToken0 = string
HttpCredentialsToken0 defines model for .
type HttpCredentialsToken1 ¶
type HttpCredentialsToken1 = string
HttpCredentialsToken1 defines model for .
type HttpCredentialsUsername0 ¶
type HttpCredentialsUsername0 = string
HttpCredentialsUsername0 defines model for .
type HttpCredentialsUsername1 ¶
type HttpCredentialsUsername1 = string
HttpCredentialsUsername1 defines model for .
type HttpCredentials_Password ¶
type HttpCredentials_Password struct {
// contains filtered or unexported fields
}
HttpCredentials_Password defines model for HttpCredentials.Password.
func (HttpCredentials_Password) AsHttpCredentialsPassword0 ¶
func (t HttpCredentials_Password) AsHttpCredentialsPassword0() (HttpCredentialsPassword0, error)
AsHttpCredentialsPassword0 returns the union data inside the HttpCredentials_Password as a HttpCredentialsPassword0
func (HttpCredentials_Password) AsHttpCredentialsPassword1 ¶
func (t HttpCredentials_Password) AsHttpCredentialsPassword1() (HttpCredentialsPassword1, error)
AsHttpCredentialsPassword1 returns the union data inside the HttpCredentials_Password as a HttpCredentialsPassword1
func (*HttpCredentials_Password) FromHttpCredentialsPassword0 ¶
func (t *HttpCredentials_Password) FromHttpCredentialsPassword0(v HttpCredentialsPassword0) error
FromHttpCredentialsPassword0 overwrites any union data inside the HttpCredentials_Password as the provided HttpCredentialsPassword0
func (*HttpCredentials_Password) FromHttpCredentialsPassword1 ¶
func (t *HttpCredentials_Password) FromHttpCredentialsPassword1(v HttpCredentialsPassword1) error
FromHttpCredentialsPassword1 overwrites any union data inside the HttpCredentials_Password as the provided HttpCredentialsPassword1
func (HttpCredentials_Password) MarshalJSON ¶
func (t HttpCredentials_Password) MarshalJSON() ([]byte, error)
func (*HttpCredentials_Password) MergeHttpCredentialsPassword0 ¶
func (t *HttpCredentials_Password) MergeHttpCredentialsPassword0(v HttpCredentialsPassword0) error
MergeHttpCredentialsPassword0 performs a merge with any union data inside the HttpCredentials_Password, using the provided HttpCredentialsPassword0
func (*HttpCredentials_Password) MergeHttpCredentialsPassword1 ¶
func (t *HttpCredentials_Password) MergeHttpCredentialsPassword1(v HttpCredentialsPassword1) error
MergeHttpCredentialsPassword1 performs a merge with any union data inside the HttpCredentials_Password, using the provided HttpCredentialsPassword1
func (*HttpCredentials_Password) UnmarshalJSON ¶
func (t *HttpCredentials_Password) UnmarshalJSON(b []byte) error
type HttpCredentials_Token ¶
type HttpCredentials_Token struct {
// contains filtered or unexported fields
}
HttpCredentials_Token defines model for HttpCredentials.Token.
func (HttpCredentials_Token) AsHttpCredentialsToken0 ¶
func (t HttpCredentials_Token) AsHttpCredentialsToken0() (HttpCredentialsToken0, error)
AsHttpCredentialsToken0 returns the union data inside the HttpCredentials_Token as a HttpCredentialsToken0
func (HttpCredentials_Token) AsHttpCredentialsToken1 ¶
func (t HttpCredentials_Token) AsHttpCredentialsToken1() (HttpCredentialsToken1, error)
AsHttpCredentialsToken1 returns the union data inside the HttpCredentials_Token as a HttpCredentialsToken1
func (*HttpCredentials_Token) FromHttpCredentialsToken0 ¶
func (t *HttpCredentials_Token) FromHttpCredentialsToken0(v HttpCredentialsToken0) error
FromHttpCredentialsToken0 overwrites any union data inside the HttpCredentials_Token as the provided HttpCredentialsToken0
func (*HttpCredentials_Token) FromHttpCredentialsToken1 ¶
func (t *HttpCredentials_Token) FromHttpCredentialsToken1(v HttpCredentialsToken1) error
FromHttpCredentialsToken1 overwrites any union data inside the HttpCredentials_Token as the provided HttpCredentialsToken1
func (HttpCredentials_Token) MarshalJSON ¶
func (t HttpCredentials_Token) MarshalJSON() ([]byte, error)
func (*HttpCredentials_Token) MergeHttpCredentialsToken0 ¶
func (t *HttpCredentials_Token) MergeHttpCredentialsToken0(v HttpCredentialsToken0) error
MergeHttpCredentialsToken0 performs a merge with any union data inside the HttpCredentials_Token, using the provided HttpCredentialsToken0
func (*HttpCredentials_Token) MergeHttpCredentialsToken1 ¶
func (t *HttpCredentials_Token) MergeHttpCredentialsToken1(v HttpCredentialsToken1) error
MergeHttpCredentialsToken1 performs a merge with any union data inside the HttpCredentials_Token, using the provided HttpCredentialsToken1
func (*HttpCredentials_Token) UnmarshalJSON ¶
func (t *HttpCredentials_Token) UnmarshalJSON(b []byte) error
type HttpCredentials_Username ¶
type HttpCredentials_Username struct {
// contains filtered or unexported fields
}
HttpCredentials_Username defines model for HttpCredentials.Username.
func (HttpCredentials_Username) AsHttpCredentialsUsername0 ¶
func (t HttpCredentials_Username) AsHttpCredentialsUsername0() (HttpCredentialsUsername0, error)
AsHttpCredentialsUsername0 returns the union data inside the HttpCredentials_Username as a HttpCredentialsUsername0
func (HttpCredentials_Username) AsHttpCredentialsUsername1 ¶
func (t HttpCredentials_Username) AsHttpCredentialsUsername1() (HttpCredentialsUsername1, error)
AsHttpCredentialsUsername1 returns the union data inside the HttpCredentials_Username as a HttpCredentialsUsername1
func (*HttpCredentials_Username) FromHttpCredentialsUsername0 ¶
func (t *HttpCredentials_Username) FromHttpCredentialsUsername0(v HttpCredentialsUsername0) error
FromHttpCredentialsUsername0 overwrites any union data inside the HttpCredentials_Username as the provided HttpCredentialsUsername0
func (*HttpCredentials_Username) FromHttpCredentialsUsername1 ¶
func (t *HttpCredentials_Username) FromHttpCredentialsUsername1(v HttpCredentialsUsername1) error
FromHttpCredentialsUsername1 overwrites any union data inside the HttpCredentials_Username as the provided HttpCredentialsUsername1
func (HttpCredentials_Username) MarshalJSON ¶
func (t HttpCredentials_Username) MarshalJSON() ([]byte, error)
func (*HttpCredentials_Username) MergeHttpCredentialsUsername0 ¶
func (t *HttpCredentials_Username) MergeHttpCredentialsUsername0(v HttpCredentialsUsername0) error
MergeHttpCredentialsUsername0 performs a merge with any union data inside the HttpCredentials_Username, using the provided HttpCredentialsUsername0
func (*HttpCredentials_Username) MergeHttpCredentialsUsername1 ¶
func (t *HttpCredentials_Username) MergeHttpCredentialsUsername1(v HttpCredentialsUsername1) error
MergeHttpCredentialsUsername1 performs a merge with any union data inside the HttpCredentials_Username, using the provided HttpCredentialsUsername1
func (*HttpCredentials_Username) UnmarshalJSON ¶
func (t *HttpCredentials_Username) UnmarshalJSON(b []byte) error
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAppsResponse ¶
func ParseListAppsResponse ¶
func ParseListAppsResponse(rsp *http.Response) (*ListAppsResponse, error)
ParseListAppsResponse parses an HTTP response from a ListAppsWithResponse call
func (ListAppsResponse) Status ¶
func (r ListAppsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppsResponse) StatusCode ¶
func (r ListAppsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListArtifactNamesResponse ¶
type ListArtifactNamesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]string
JSON422 *HTTPValidationError
}
func ParseListArtifactNamesResponse ¶
func ParseListArtifactNamesResponse(rsp *http.Response) (*ListArtifactNamesResponse, error)
ParseListArtifactNamesResponse parses an HTTP response from a ListArtifactNamesWithResponse call
func (ListArtifactNamesResponse) Status ¶
func (r ListArtifactNamesResponse) Status() string
Status returns HTTPResponse.Status
func (ListArtifactNamesResponse) StatusCode ¶
func (r ListArtifactNamesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListArtifactVersionsResponse ¶
type ListArtifactVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]int
JSON422 *HTTPValidationError
}
func ParseListArtifactVersionsResponse ¶
func ParseListArtifactVersionsResponse(rsp *http.Response) (*ListArtifactVersionsResponse, error)
ParseListArtifactVersionsResponse parses an HTTP response from a ListArtifactVersionsWithResponse call
func (ListArtifactVersionsResponse) Status ¶
func (r ListArtifactVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListArtifactVersionsResponse) StatusCode ¶
func (r ListArtifactVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEvalSetsResponse ¶
type ListEvalSetsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]string
JSON422 *HTTPValidationError
}
func ParseListEvalSetsResponse ¶
func ParseListEvalSetsResponse(rsp *http.Response) (*ListEvalSetsResponse, error)
ParseListEvalSetsResponse parses an HTTP response from a ListEvalSetsWithResponse call
func (ListEvalSetsResponse) Status ¶
func (r ListEvalSetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEvalSetsResponse) StatusCode ¶
func (r ListEvalSetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEvalsInEvalSetResponse ¶
type ListEvalsInEvalSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]string
JSON422 *HTTPValidationError
}
func ParseListEvalsInEvalSetResponse ¶
func ParseListEvalsInEvalSetResponse(rsp *http.Response) (*ListEvalsInEvalSetResponse, error)
ParseListEvalsInEvalSetResponse parses an HTTP response from a ListEvalsInEvalSetWithResponse call
func (ListEvalsInEvalSetResponse) Status ¶
func (r ListEvalsInEvalSetResponse) Status() string
Status returns HTTPResponse.Status
func (ListEvalsInEvalSetResponse) StatusCode ¶
func (r ListEvalsInEvalSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSessionsResponse ¶
type ListSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Session
JSON422 *HTTPValidationError
}
func ParseListSessionsResponse ¶
func ParseListSessionsResponse(rsp *http.Response) (*ListSessionsResponse, error)
ParseListSessionsResponse parses an HTTP response from a ListSessionsWithResponse call
func (ListSessionsResponse) Status ¶
func (r ListSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSessionsResponse) StatusCode ¶
func (r ListSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadArtifactParams ¶
type LoadArtifactParams struct {
Version *struct {
// contains filtered or unexported fields
} `form:"version,omitempty" json:"version,omitempty"`
}
LoadArtifactParams defines parameters for LoadArtifact.
type LoadArtifactParamsVersion0 ¶
type LoadArtifactParamsVersion0 = int
LoadArtifactParamsVersion0 defines parameters for LoadArtifact.
type LoadArtifactParamsVersion1 ¶
type LoadArtifactParamsVersion1 = string
LoadArtifactParamsVersion1 defines parameters for LoadArtifact.
type LoadArtifactResponse ¶
type LoadArtifactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON422 *HTTPValidationError
}
func ParseLoadArtifactResponse ¶
func ParseLoadArtifactResponse(rsp *http.Response) (*LoadArtifactResponse, error)
ParseLoadArtifactResponse parses an HTTP response from a LoadArtifactWithResponse call
func (LoadArtifactResponse) Status ¶
func (r LoadArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (LoadArtifactResponse) StatusCode ¶
func (r LoadArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadArtifactVersionResponse ¶
type LoadArtifactVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON422 *HTTPValidationError
}
func ParseLoadArtifactVersionResponse ¶
func ParseLoadArtifactVersionResponse(rsp *http.Response) (*LoadArtifactVersionResponse, error)
ParseLoadArtifactVersionResponse parses an HTTP response from a LoadArtifactVersionWithResponse call
func (LoadArtifactVersionResponse) Status ¶
func (r LoadArtifactVersionResponse) Status() string
Status returns HTTPResponse.Status
func (LoadArtifactVersionResponse) StatusCode ¶
func (r LoadArtifactVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OAuth2 ¶
type OAuth2 struct {
Description *OAuth2_Description `json:"description,omitempty"`
Flows OAuthFlows `json:"flows"`
Type *SecuritySchemeType `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuth2 defines model for OAuth2.
func (OAuth2) Get ¶
Getter for additional properties for OAuth2. Returns the specified element and whether it was found
func (OAuth2) MarshalJSON ¶
Override default JSON handling for OAuth2 to handle AdditionalProperties
func (*OAuth2) UnmarshalJSON ¶
Override default JSON handling for OAuth2 to handle AdditionalProperties
type OAuth2Auth ¶
type OAuth2Auth struct {
AuthCode *OAuth2Auth_AuthCode `json:"auth_code,omitempty"`
AuthResponseUri *OAuth2Auth_AuthResponseUri `json:"auth_response_uri,omitempty"`
AuthUri *OAuth2Auth_AuthUri `json:"auth_uri,omitempty"`
ClientId *OAuth2Auth_ClientId `json:"client_id,omitempty"`
ClientSecret *OAuth2Auth_ClientSecret `json:"client_secret,omitempty"`
RedirectUri *OAuth2Auth_RedirectUri `json:"redirect_uri,omitempty"`
State *OAuth2Auth_State `json:"state,omitempty"`
Token *OAuth2Auth_Token `json:"token,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuth2Auth Represents credential value and its metadata for a OAuth2 credential.
func (OAuth2Auth) Get ¶
func (a OAuth2Auth) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OAuth2Auth. Returns the specified element and whether it was found
func (OAuth2Auth) MarshalJSON ¶
func (a OAuth2Auth) MarshalJSON() ([]byte, error)
Override default JSON handling for OAuth2Auth to handle AdditionalProperties
func (*OAuth2Auth) Set ¶
func (a *OAuth2Auth) Set(fieldName string, value interface{})
Setter for additional properties for OAuth2Auth
func (*OAuth2Auth) UnmarshalJSON ¶
func (a *OAuth2Auth) UnmarshalJSON(b []byte) error
Override default JSON handling for OAuth2Auth to handle AdditionalProperties
type OAuth2AuthAuthCode0 ¶
type OAuth2AuthAuthCode0 = string
OAuth2AuthAuthCode0 defines model for .
type OAuth2AuthAuthCode1 ¶
type OAuth2AuthAuthCode1 = string
OAuth2AuthAuthCode1 defines model for .
type OAuth2AuthAuthResponseUri0 ¶
type OAuth2AuthAuthResponseUri0 = string
OAuth2AuthAuthResponseUri0 defines model for .
type OAuth2AuthAuthResponseUri1 ¶
type OAuth2AuthAuthResponseUri1 = string
OAuth2AuthAuthResponseUri1 defines model for .
type OAuth2AuthClientId0 ¶
type OAuth2AuthClientId0 = string
OAuth2AuthClientId0 defines model for .
type OAuth2AuthClientId1 ¶
type OAuth2AuthClientId1 = string
OAuth2AuthClientId1 defines model for .
type OAuth2AuthClientSecret0 ¶
type OAuth2AuthClientSecret0 = string
OAuth2AuthClientSecret0 defines model for .
type OAuth2AuthClientSecret1 ¶
type OAuth2AuthClientSecret1 = string
OAuth2AuthClientSecret1 defines model for .
type OAuth2AuthRedirectUri0 ¶
type OAuth2AuthRedirectUri0 = string
OAuth2AuthRedirectUri0 defines model for .
type OAuth2AuthRedirectUri1 ¶
type OAuth2AuthRedirectUri1 = string
OAuth2AuthRedirectUri1 defines model for .
type OAuth2AuthToken0 ¶
type OAuth2AuthToken0 map[string]interface{}
OAuth2AuthToken0 defines model for .
type OAuth2Auth_AuthCode ¶
type OAuth2Auth_AuthCode struct {
// contains filtered or unexported fields
}
OAuth2Auth_AuthCode defines model for OAuth2Auth.AuthCode.
func (OAuth2Auth_AuthCode) AsOAuth2AuthAuthCode0 ¶
func (t OAuth2Auth_AuthCode) AsOAuth2AuthAuthCode0() (OAuth2AuthAuthCode0, error)
AsOAuth2AuthAuthCode0 returns the union data inside the OAuth2Auth_AuthCode as a OAuth2AuthAuthCode0
func (OAuth2Auth_AuthCode) AsOAuth2AuthAuthCode1 ¶
func (t OAuth2Auth_AuthCode) AsOAuth2AuthAuthCode1() (OAuth2AuthAuthCode1, error)
AsOAuth2AuthAuthCode1 returns the union data inside the OAuth2Auth_AuthCode as a OAuth2AuthAuthCode1
func (*OAuth2Auth_AuthCode) FromOAuth2AuthAuthCode0 ¶
func (t *OAuth2Auth_AuthCode) FromOAuth2AuthAuthCode0(v OAuth2AuthAuthCode0) error
FromOAuth2AuthAuthCode0 overwrites any union data inside the OAuth2Auth_AuthCode as the provided OAuth2AuthAuthCode0
func (*OAuth2Auth_AuthCode) FromOAuth2AuthAuthCode1 ¶
func (t *OAuth2Auth_AuthCode) FromOAuth2AuthAuthCode1(v OAuth2AuthAuthCode1) error
FromOAuth2AuthAuthCode1 overwrites any union data inside the OAuth2Auth_AuthCode as the provided OAuth2AuthAuthCode1
func (OAuth2Auth_AuthCode) MarshalJSON ¶
func (t OAuth2Auth_AuthCode) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_AuthCode) MergeOAuth2AuthAuthCode0 ¶
func (t *OAuth2Auth_AuthCode) MergeOAuth2AuthAuthCode0(v OAuth2AuthAuthCode0) error
MergeOAuth2AuthAuthCode0 performs a merge with any union data inside the OAuth2Auth_AuthCode, using the provided OAuth2AuthAuthCode0
func (*OAuth2Auth_AuthCode) MergeOAuth2AuthAuthCode1 ¶
func (t *OAuth2Auth_AuthCode) MergeOAuth2AuthAuthCode1(v OAuth2AuthAuthCode1) error
MergeOAuth2AuthAuthCode1 performs a merge with any union data inside the OAuth2Auth_AuthCode, using the provided OAuth2AuthAuthCode1
func (*OAuth2Auth_AuthCode) UnmarshalJSON ¶
func (t *OAuth2Auth_AuthCode) UnmarshalJSON(b []byte) error
type OAuth2Auth_AuthResponseUri ¶
type OAuth2Auth_AuthResponseUri struct {
// contains filtered or unexported fields
}
OAuth2Auth_AuthResponseUri defines model for OAuth2Auth.AuthResponseUri.
func (OAuth2Auth_AuthResponseUri) AsOAuth2AuthAuthResponseUri0 ¶
func (t OAuth2Auth_AuthResponseUri) AsOAuth2AuthAuthResponseUri0() (OAuth2AuthAuthResponseUri0, error)
AsOAuth2AuthAuthResponseUri0 returns the union data inside the OAuth2Auth_AuthResponseUri as a OAuth2AuthAuthResponseUri0
func (OAuth2Auth_AuthResponseUri) AsOAuth2AuthAuthResponseUri1 ¶
func (t OAuth2Auth_AuthResponseUri) AsOAuth2AuthAuthResponseUri1() (OAuth2AuthAuthResponseUri1, error)
AsOAuth2AuthAuthResponseUri1 returns the union data inside the OAuth2Auth_AuthResponseUri as a OAuth2AuthAuthResponseUri1
func (*OAuth2Auth_AuthResponseUri) FromOAuth2AuthAuthResponseUri0 ¶
func (t *OAuth2Auth_AuthResponseUri) FromOAuth2AuthAuthResponseUri0(v OAuth2AuthAuthResponseUri0) error
FromOAuth2AuthAuthResponseUri0 overwrites any union data inside the OAuth2Auth_AuthResponseUri as the provided OAuth2AuthAuthResponseUri0
func (*OAuth2Auth_AuthResponseUri) FromOAuth2AuthAuthResponseUri1 ¶
func (t *OAuth2Auth_AuthResponseUri) FromOAuth2AuthAuthResponseUri1(v OAuth2AuthAuthResponseUri1) error
FromOAuth2AuthAuthResponseUri1 overwrites any union data inside the OAuth2Auth_AuthResponseUri as the provided OAuth2AuthAuthResponseUri1
func (OAuth2Auth_AuthResponseUri) MarshalJSON ¶
func (t OAuth2Auth_AuthResponseUri) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_AuthResponseUri) MergeOAuth2AuthAuthResponseUri0 ¶
func (t *OAuth2Auth_AuthResponseUri) MergeOAuth2AuthAuthResponseUri0(v OAuth2AuthAuthResponseUri0) error
MergeOAuth2AuthAuthResponseUri0 performs a merge with any union data inside the OAuth2Auth_AuthResponseUri, using the provided OAuth2AuthAuthResponseUri0
func (*OAuth2Auth_AuthResponseUri) MergeOAuth2AuthAuthResponseUri1 ¶
func (t *OAuth2Auth_AuthResponseUri) MergeOAuth2AuthAuthResponseUri1(v OAuth2AuthAuthResponseUri1) error
MergeOAuth2AuthAuthResponseUri1 performs a merge with any union data inside the OAuth2Auth_AuthResponseUri, using the provided OAuth2AuthAuthResponseUri1
func (*OAuth2Auth_AuthResponseUri) UnmarshalJSON ¶
func (t *OAuth2Auth_AuthResponseUri) UnmarshalJSON(b []byte) error
type OAuth2Auth_AuthUri ¶
type OAuth2Auth_AuthUri struct {
// contains filtered or unexported fields
}
OAuth2Auth_AuthUri defines model for OAuth2Auth.AuthUri.
func (OAuth2Auth_AuthUri) AsOAuth2AuthAuthUri0 ¶
func (t OAuth2Auth_AuthUri) AsOAuth2AuthAuthUri0() (OAuth2AuthAuthUri0, error)
AsOAuth2AuthAuthUri0 returns the union data inside the OAuth2Auth_AuthUri as a OAuth2AuthAuthUri0
func (OAuth2Auth_AuthUri) AsOAuth2AuthAuthUri1 ¶
func (t OAuth2Auth_AuthUri) AsOAuth2AuthAuthUri1() (OAuth2AuthAuthUri1, error)
AsOAuth2AuthAuthUri1 returns the union data inside the OAuth2Auth_AuthUri as a OAuth2AuthAuthUri1
func (*OAuth2Auth_AuthUri) FromOAuth2AuthAuthUri0 ¶
func (t *OAuth2Auth_AuthUri) FromOAuth2AuthAuthUri0(v OAuth2AuthAuthUri0) error
FromOAuth2AuthAuthUri0 overwrites any union data inside the OAuth2Auth_AuthUri as the provided OAuth2AuthAuthUri0
func (*OAuth2Auth_AuthUri) FromOAuth2AuthAuthUri1 ¶
func (t *OAuth2Auth_AuthUri) FromOAuth2AuthAuthUri1(v OAuth2AuthAuthUri1) error
FromOAuth2AuthAuthUri1 overwrites any union data inside the OAuth2Auth_AuthUri as the provided OAuth2AuthAuthUri1
func (OAuth2Auth_AuthUri) MarshalJSON ¶
func (t OAuth2Auth_AuthUri) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_AuthUri) MergeOAuth2AuthAuthUri0 ¶
func (t *OAuth2Auth_AuthUri) MergeOAuth2AuthAuthUri0(v OAuth2AuthAuthUri0) error
MergeOAuth2AuthAuthUri0 performs a merge with any union data inside the OAuth2Auth_AuthUri, using the provided OAuth2AuthAuthUri0
func (*OAuth2Auth_AuthUri) MergeOAuth2AuthAuthUri1 ¶
func (t *OAuth2Auth_AuthUri) MergeOAuth2AuthAuthUri1(v OAuth2AuthAuthUri1) error
MergeOAuth2AuthAuthUri1 performs a merge with any union data inside the OAuth2Auth_AuthUri, using the provided OAuth2AuthAuthUri1
func (*OAuth2Auth_AuthUri) UnmarshalJSON ¶
func (t *OAuth2Auth_AuthUri) UnmarshalJSON(b []byte) error
type OAuth2Auth_ClientId ¶
type OAuth2Auth_ClientId struct {
// contains filtered or unexported fields
}
OAuth2Auth_ClientId defines model for OAuth2Auth.ClientId.
func (OAuth2Auth_ClientId) AsOAuth2AuthClientId0 ¶
func (t OAuth2Auth_ClientId) AsOAuth2AuthClientId0() (OAuth2AuthClientId0, error)
AsOAuth2AuthClientId0 returns the union data inside the OAuth2Auth_ClientId as a OAuth2AuthClientId0
func (OAuth2Auth_ClientId) AsOAuth2AuthClientId1 ¶
func (t OAuth2Auth_ClientId) AsOAuth2AuthClientId1() (OAuth2AuthClientId1, error)
AsOAuth2AuthClientId1 returns the union data inside the OAuth2Auth_ClientId as a OAuth2AuthClientId1
func (*OAuth2Auth_ClientId) FromOAuth2AuthClientId0 ¶
func (t *OAuth2Auth_ClientId) FromOAuth2AuthClientId0(v OAuth2AuthClientId0) error
FromOAuth2AuthClientId0 overwrites any union data inside the OAuth2Auth_ClientId as the provided OAuth2AuthClientId0
func (*OAuth2Auth_ClientId) FromOAuth2AuthClientId1 ¶
func (t *OAuth2Auth_ClientId) FromOAuth2AuthClientId1(v OAuth2AuthClientId1) error
FromOAuth2AuthClientId1 overwrites any union data inside the OAuth2Auth_ClientId as the provided OAuth2AuthClientId1
func (OAuth2Auth_ClientId) MarshalJSON ¶
func (t OAuth2Auth_ClientId) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_ClientId) MergeOAuth2AuthClientId0 ¶
func (t *OAuth2Auth_ClientId) MergeOAuth2AuthClientId0(v OAuth2AuthClientId0) error
MergeOAuth2AuthClientId0 performs a merge with any union data inside the OAuth2Auth_ClientId, using the provided OAuth2AuthClientId0
func (*OAuth2Auth_ClientId) MergeOAuth2AuthClientId1 ¶
func (t *OAuth2Auth_ClientId) MergeOAuth2AuthClientId1(v OAuth2AuthClientId1) error
MergeOAuth2AuthClientId1 performs a merge with any union data inside the OAuth2Auth_ClientId, using the provided OAuth2AuthClientId1
func (*OAuth2Auth_ClientId) UnmarshalJSON ¶
func (t *OAuth2Auth_ClientId) UnmarshalJSON(b []byte) error
type OAuth2Auth_ClientSecret ¶
type OAuth2Auth_ClientSecret struct {
// contains filtered or unexported fields
}
OAuth2Auth_ClientSecret defines model for OAuth2Auth.ClientSecret.
func (OAuth2Auth_ClientSecret) AsOAuth2AuthClientSecret0 ¶
func (t OAuth2Auth_ClientSecret) AsOAuth2AuthClientSecret0() (OAuth2AuthClientSecret0, error)
AsOAuth2AuthClientSecret0 returns the union data inside the OAuth2Auth_ClientSecret as a OAuth2AuthClientSecret0
func (OAuth2Auth_ClientSecret) AsOAuth2AuthClientSecret1 ¶
func (t OAuth2Auth_ClientSecret) AsOAuth2AuthClientSecret1() (OAuth2AuthClientSecret1, error)
AsOAuth2AuthClientSecret1 returns the union data inside the OAuth2Auth_ClientSecret as a OAuth2AuthClientSecret1
func (*OAuth2Auth_ClientSecret) FromOAuth2AuthClientSecret0 ¶
func (t *OAuth2Auth_ClientSecret) FromOAuth2AuthClientSecret0(v OAuth2AuthClientSecret0) error
FromOAuth2AuthClientSecret0 overwrites any union data inside the OAuth2Auth_ClientSecret as the provided OAuth2AuthClientSecret0
func (*OAuth2Auth_ClientSecret) FromOAuth2AuthClientSecret1 ¶
func (t *OAuth2Auth_ClientSecret) FromOAuth2AuthClientSecret1(v OAuth2AuthClientSecret1) error
FromOAuth2AuthClientSecret1 overwrites any union data inside the OAuth2Auth_ClientSecret as the provided OAuth2AuthClientSecret1
func (OAuth2Auth_ClientSecret) MarshalJSON ¶
func (t OAuth2Auth_ClientSecret) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_ClientSecret) MergeOAuth2AuthClientSecret0 ¶
func (t *OAuth2Auth_ClientSecret) MergeOAuth2AuthClientSecret0(v OAuth2AuthClientSecret0) error
MergeOAuth2AuthClientSecret0 performs a merge with any union data inside the OAuth2Auth_ClientSecret, using the provided OAuth2AuthClientSecret0
func (*OAuth2Auth_ClientSecret) MergeOAuth2AuthClientSecret1 ¶
func (t *OAuth2Auth_ClientSecret) MergeOAuth2AuthClientSecret1(v OAuth2AuthClientSecret1) error
MergeOAuth2AuthClientSecret1 performs a merge with any union data inside the OAuth2Auth_ClientSecret, using the provided OAuth2AuthClientSecret1
func (*OAuth2Auth_ClientSecret) UnmarshalJSON ¶
func (t *OAuth2Auth_ClientSecret) UnmarshalJSON(b []byte) error
type OAuth2Auth_RedirectUri ¶
type OAuth2Auth_RedirectUri struct {
// contains filtered or unexported fields
}
OAuth2Auth_RedirectUri defines model for OAuth2Auth.RedirectUri.
func (OAuth2Auth_RedirectUri) AsOAuth2AuthRedirectUri0 ¶
func (t OAuth2Auth_RedirectUri) AsOAuth2AuthRedirectUri0() (OAuth2AuthRedirectUri0, error)
AsOAuth2AuthRedirectUri0 returns the union data inside the OAuth2Auth_RedirectUri as a OAuth2AuthRedirectUri0
func (OAuth2Auth_RedirectUri) AsOAuth2AuthRedirectUri1 ¶
func (t OAuth2Auth_RedirectUri) AsOAuth2AuthRedirectUri1() (OAuth2AuthRedirectUri1, error)
AsOAuth2AuthRedirectUri1 returns the union data inside the OAuth2Auth_RedirectUri as a OAuth2AuthRedirectUri1
func (*OAuth2Auth_RedirectUri) FromOAuth2AuthRedirectUri0 ¶
func (t *OAuth2Auth_RedirectUri) FromOAuth2AuthRedirectUri0(v OAuth2AuthRedirectUri0) error
FromOAuth2AuthRedirectUri0 overwrites any union data inside the OAuth2Auth_RedirectUri as the provided OAuth2AuthRedirectUri0
func (*OAuth2Auth_RedirectUri) FromOAuth2AuthRedirectUri1 ¶
func (t *OAuth2Auth_RedirectUri) FromOAuth2AuthRedirectUri1(v OAuth2AuthRedirectUri1) error
FromOAuth2AuthRedirectUri1 overwrites any union data inside the OAuth2Auth_RedirectUri as the provided OAuth2AuthRedirectUri1
func (OAuth2Auth_RedirectUri) MarshalJSON ¶
func (t OAuth2Auth_RedirectUri) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_RedirectUri) MergeOAuth2AuthRedirectUri0 ¶
func (t *OAuth2Auth_RedirectUri) MergeOAuth2AuthRedirectUri0(v OAuth2AuthRedirectUri0) error
MergeOAuth2AuthRedirectUri0 performs a merge with any union data inside the OAuth2Auth_RedirectUri, using the provided OAuth2AuthRedirectUri0
func (*OAuth2Auth_RedirectUri) MergeOAuth2AuthRedirectUri1 ¶
func (t *OAuth2Auth_RedirectUri) MergeOAuth2AuthRedirectUri1(v OAuth2AuthRedirectUri1) error
MergeOAuth2AuthRedirectUri1 performs a merge with any union data inside the OAuth2Auth_RedirectUri, using the provided OAuth2AuthRedirectUri1
func (*OAuth2Auth_RedirectUri) UnmarshalJSON ¶
func (t *OAuth2Auth_RedirectUri) UnmarshalJSON(b []byte) error
type OAuth2Auth_State ¶
type OAuth2Auth_State struct {
// contains filtered or unexported fields
}
OAuth2Auth_State defines model for OAuth2Auth.State.
func (OAuth2Auth_State) AsOAuth2AuthState0 ¶
func (t OAuth2Auth_State) AsOAuth2AuthState0() (OAuth2AuthState0, error)
AsOAuth2AuthState0 returns the union data inside the OAuth2Auth_State as a OAuth2AuthState0
func (OAuth2Auth_State) AsOAuth2AuthState1 ¶
func (t OAuth2Auth_State) AsOAuth2AuthState1() (OAuth2AuthState1, error)
AsOAuth2AuthState1 returns the union data inside the OAuth2Auth_State as a OAuth2AuthState1
func (*OAuth2Auth_State) FromOAuth2AuthState0 ¶
func (t *OAuth2Auth_State) FromOAuth2AuthState0(v OAuth2AuthState0) error
FromOAuth2AuthState0 overwrites any union data inside the OAuth2Auth_State as the provided OAuth2AuthState0
func (*OAuth2Auth_State) FromOAuth2AuthState1 ¶
func (t *OAuth2Auth_State) FromOAuth2AuthState1(v OAuth2AuthState1) error
FromOAuth2AuthState1 overwrites any union data inside the OAuth2Auth_State as the provided OAuth2AuthState1
func (OAuth2Auth_State) MarshalJSON ¶
func (t OAuth2Auth_State) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_State) MergeOAuth2AuthState0 ¶
func (t *OAuth2Auth_State) MergeOAuth2AuthState0(v OAuth2AuthState0) error
MergeOAuth2AuthState0 performs a merge with any union data inside the OAuth2Auth_State, using the provided OAuth2AuthState0
func (*OAuth2Auth_State) MergeOAuth2AuthState1 ¶
func (t *OAuth2Auth_State) MergeOAuth2AuthState1(v OAuth2AuthState1) error
MergeOAuth2AuthState1 performs a merge with any union data inside the OAuth2Auth_State, using the provided OAuth2AuthState1
func (*OAuth2Auth_State) UnmarshalJSON ¶
func (t *OAuth2Auth_State) UnmarshalJSON(b []byte) error
type OAuth2Auth_Token ¶
type OAuth2Auth_Token struct {
// contains filtered or unexported fields
}
OAuth2Auth_Token defines model for OAuth2Auth.Token.
func (OAuth2Auth_Token) AsOAuth2AuthToken0 ¶
func (t OAuth2Auth_Token) AsOAuth2AuthToken0() (OAuth2AuthToken0, error)
AsOAuth2AuthToken0 returns the union data inside the OAuth2Auth_Token as a OAuth2AuthToken0
func (OAuth2Auth_Token) AsOAuth2AuthToken1 ¶
func (t OAuth2Auth_Token) AsOAuth2AuthToken1() (OAuth2AuthToken1, error)
AsOAuth2AuthToken1 returns the union data inside the OAuth2Auth_Token as a OAuth2AuthToken1
func (*OAuth2Auth_Token) FromOAuth2AuthToken0 ¶
func (t *OAuth2Auth_Token) FromOAuth2AuthToken0(v OAuth2AuthToken0) error
FromOAuth2AuthToken0 overwrites any union data inside the OAuth2Auth_Token as the provided OAuth2AuthToken0
func (*OAuth2Auth_Token) FromOAuth2AuthToken1 ¶
func (t *OAuth2Auth_Token) FromOAuth2AuthToken1(v OAuth2AuthToken1) error
FromOAuth2AuthToken1 overwrites any union data inside the OAuth2Auth_Token as the provided OAuth2AuthToken1
func (OAuth2Auth_Token) MarshalJSON ¶
func (t OAuth2Auth_Token) MarshalJSON() ([]byte, error)
func (*OAuth2Auth_Token) MergeOAuth2AuthToken0 ¶
func (t *OAuth2Auth_Token) MergeOAuth2AuthToken0(v OAuth2AuthToken0) error
MergeOAuth2AuthToken0 performs a merge with any union data inside the OAuth2Auth_Token, using the provided OAuth2AuthToken0
func (*OAuth2Auth_Token) MergeOAuth2AuthToken1 ¶
func (t *OAuth2Auth_Token) MergeOAuth2AuthToken1(v OAuth2AuthToken1) error
MergeOAuth2AuthToken1 performs a merge with any union data inside the OAuth2Auth_Token, using the provided OAuth2AuthToken1
func (*OAuth2Auth_Token) UnmarshalJSON ¶
func (t *OAuth2Auth_Token) UnmarshalJSON(b []byte) error
type OAuth2_Description ¶
type OAuth2_Description struct {
// contains filtered or unexported fields
}
OAuth2_Description defines model for OAuth2.Description.
func (OAuth2_Description) AsOAuth2Description0 ¶
func (t OAuth2_Description) AsOAuth2Description0() (OAuth2Description0, error)
AsOAuth2Description0 returns the union data inside the OAuth2_Description as a OAuth2Description0
func (OAuth2_Description) AsOAuth2Description1 ¶
func (t OAuth2_Description) AsOAuth2Description1() (OAuth2Description1, error)
AsOAuth2Description1 returns the union data inside the OAuth2_Description as a OAuth2Description1
func (*OAuth2_Description) FromOAuth2Description0 ¶
func (t *OAuth2_Description) FromOAuth2Description0(v OAuth2Description0) error
FromOAuth2Description0 overwrites any union data inside the OAuth2_Description as the provided OAuth2Description0
func (*OAuth2_Description) FromOAuth2Description1 ¶
func (t *OAuth2_Description) FromOAuth2Description1(v OAuth2Description1) error
FromOAuth2Description1 overwrites any union data inside the OAuth2_Description as the provided OAuth2Description1
func (OAuth2_Description) MarshalJSON ¶
func (t OAuth2_Description) MarshalJSON() ([]byte, error)
func (*OAuth2_Description) MergeOAuth2Description0 ¶
func (t *OAuth2_Description) MergeOAuth2Description0(v OAuth2Description0) error
MergeOAuth2Description0 performs a merge with any union data inside the OAuth2_Description, using the provided OAuth2Description0
func (*OAuth2_Description) MergeOAuth2Description1 ¶
func (t *OAuth2_Description) MergeOAuth2Description1(v OAuth2Description1) error
MergeOAuth2Description1 performs a merge with any union data inside the OAuth2_Description, using the provided OAuth2Description1
func (*OAuth2_Description) UnmarshalJSON ¶
func (t *OAuth2_Description) UnmarshalJSON(b []byte) error
type OAuthFlowAuthorizationCode ¶
type OAuthFlowAuthorizationCode struct {
AuthorizationUrl string `json:"authorizationUrl"`
RefreshUrl *OAuthFlowAuthorizationCode_RefreshUrl `json:"refreshUrl,omitempty"`
Scopes *map[string]string `json:"scopes,omitempty"`
TokenUrl string `json:"tokenUrl"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuthFlowAuthorizationCode defines model for OAuthFlowAuthorizationCode.
func (OAuthFlowAuthorizationCode) Get ¶
func (a OAuthFlowAuthorizationCode) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OAuthFlowAuthorizationCode. Returns the specified element and whether it was found
func (OAuthFlowAuthorizationCode) MarshalJSON ¶
func (a OAuthFlowAuthorizationCode) MarshalJSON() ([]byte, error)
Override default JSON handling for OAuthFlowAuthorizationCode to handle AdditionalProperties
func (*OAuthFlowAuthorizationCode) Set ¶
func (a *OAuthFlowAuthorizationCode) Set(fieldName string, value interface{})
Setter for additional properties for OAuthFlowAuthorizationCode
func (*OAuthFlowAuthorizationCode) UnmarshalJSON ¶
func (a *OAuthFlowAuthorizationCode) UnmarshalJSON(b []byte) error
Override default JSON handling for OAuthFlowAuthorizationCode to handle AdditionalProperties
type OAuthFlowAuthorizationCodeRefreshUrl0 ¶
type OAuthFlowAuthorizationCodeRefreshUrl0 = string
OAuthFlowAuthorizationCodeRefreshUrl0 defines model for .
type OAuthFlowAuthorizationCodeRefreshUrl1 ¶
type OAuthFlowAuthorizationCodeRefreshUrl1 = string
OAuthFlowAuthorizationCodeRefreshUrl1 defines model for .
type OAuthFlowAuthorizationCode_RefreshUrl ¶
type OAuthFlowAuthorizationCode_RefreshUrl struct {
// contains filtered or unexported fields
}
OAuthFlowAuthorizationCode_RefreshUrl defines model for OAuthFlowAuthorizationCode.RefreshUrl.
func (OAuthFlowAuthorizationCode_RefreshUrl) AsOAuthFlowAuthorizationCodeRefreshUrl0 ¶
func (t OAuthFlowAuthorizationCode_RefreshUrl) AsOAuthFlowAuthorizationCodeRefreshUrl0() (OAuthFlowAuthorizationCodeRefreshUrl0, error)
AsOAuthFlowAuthorizationCodeRefreshUrl0 returns the union data inside the OAuthFlowAuthorizationCode_RefreshUrl as a OAuthFlowAuthorizationCodeRefreshUrl0
func (OAuthFlowAuthorizationCode_RefreshUrl) AsOAuthFlowAuthorizationCodeRefreshUrl1 ¶
func (t OAuthFlowAuthorizationCode_RefreshUrl) AsOAuthFlowAuthorizationCodeRefreshUrl1() (OAuthFlowAuthorizationCodeRefreshUrl1, error)
AsOAuthFlowAuthorizationCodeRefreshUrl1 returns the union data inside the OAuthFlowAuthorizationCode_RefreshUrl as a OAuthFlowAuthorizationCodeRefreshUrl1
func (*OAuthFlowAuthorizationCode_RefreshUrl) FromOAuthFlowAuthorizationCodeRefreshUrl0 ¶
func (t *OAuthFlowAuthorizationCode_RefreshUrl) FromOAuthFlowAuthorizationCodeRefreshUrl0(v OAuthFlowAuthorizationCodeRefreshUrl0) error
FromOAuthFlowAuthorizationCodeRefreshUrl0 overwrites any union data inside the OAuthFlowAuthorizationCode_RefreshUrl as the provided OAuthFlowAuthorizationCodeRefreshUrl0
func (*OAuthFlowAuthorizationCode_RefreshUrl) FromOAuthFlowAuthorizationCodeRefreshUrl1 ¶
func (t *OAuthFlowAuthorizationCode_RefreshUrl) FromOAuthFlowAuthorizationCodeRefreshUrl1(v OAuthFlowAuthorizationCodeRefreshUrl1) error
FromOAuthFlowAuthorizationCodeRefreshUrl1 overwrites any union data inside the OAuthFlowAuthorizationCode_RefreshUrl as the provided OAuthFlowAuthorizationCodeRefreshUrl1
func (OAuthFlowAuthorizationCode_RefreshUrl) MarshalJSON ¶
func (t OAuthFlowAuthorizationCode_RefreshUrl) MarshalJSON() ([]byte, error)
func (*OAuthFlowAuthorizationCode_RefreshUrl) MergeOAuthFlowAuthorizationCodeRefreshUrl0 ¶
func (t *OAuthFlowAuthorizationCode_RefreshUrl) MergeOAuthFlowAuthorizationCodeRefreshUrl0(v OAuthFlowAuthorizationCodeRefreshUrl0) error
MergeOAuthFlowAuthorizationCodeRefreshUrl0 performs a merge with any union data inside the OAuthFlowAuthorizationCode_RefreshUrl, using the provided OAuthFlowAuthorizationCodeRefreshUrl0
func (*OAuthFlowAuthorizationCode_RefreshUrl) MergeOAuthFlowAuthorizationCodeRefreshUrl1 ¶
func (t *OAuthFlowAuthorizationCode_RefreshUrl) MergeOAuthFlowAuthorizationCodeRefreshUrl1(v OAuthFlowAuthorizationCodeRefreshUrl1) error
MergeOAuthFlowAuthorizationCodeRefreshUrl1 performs a merge with any union data inside the OAuthFlowAuthorizationCode_RefreshUrl, using the provided OAuthFlowAuthorizationCodeRefreshUrl1
func (*OAuthFlowAuthorizationCode_RefreshUrl) UnmarshalJSON ¶
func (t *OAuthFlowAuthorizationCode_RefreshUrl) UnmarshalJSON(b []byte) error
type OAuthFlowClientCredentials ¶
type OAuthFlowClientCredentials struct {
RefreshUrl *OAuthFlowClientCredentials_RefreshUrl `json:"refreshUrl,omitempty"`
Scopes *map[string]string `json:"scopes,omitempty"`
TokenUrl string `json:"tokenUrl"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuthFlowClientCredentials defines model for OAuthFlowClientCredentials.
func (OAuthFlowClientCredentials) Get ¶
func (a OAuthFlowClientCredentials) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OAuthFlowClientCredentials. Returns the specified element and whether it was found
func (OAuthFlowClientCredentials) MarshalJSON ¶
func (a OAuthFlowClientCredentials) MarshalJSON() ([]byte, error)
Override default JSON handling for OAuthFlowClientCredentials to handle AdditionalProperties
func (*OAuthFlowClientCredentials) Set ¶
func (a *OAuthFlowClientCredentials) Set(fieldName string, value interface{})
Setter for additional properties for OAuthFlowClientCredentials
func (*OAuthFlowClientCredentials) UnmarshalJSON ¶
func (a *OAuthFlowClientCredentials) UnmarshalJSON(b []byte) error
Override default JSON handling for OAuthFlowClientCredentials to handle AdditionalProperties
type OAuthFlowClientCredentialsRefreshUrl0 ¶
type OAuthFlowClientCredentialsRefreshUrl0 = string
OAuthFlowClientCredentialsRefreshUrl0 defines model for .
type OAuthFlowClientCredentialsRefreshUrl1 ¶
type OAuthFlowClientCredentialsRefreshUrl1 = string
OAuthFlowClientCredentialsRefreshUrl1 defines model for .
type OAuthFlowClientCredentials_RefreshUrl ¶
type OAuthFlowClientCredentials_RefreshUrl struct {
// contains filtered or unexported fields
}
OAuthFlowClientCredentials_RefreshUrl defines model for OAuthFlowClientCredentials.RefreshUrl.
func (OAuthFlowClientCredentials_RefreshUrl) AsOAuthFlowClientCredentialsRefreshUrl0 ¶
func (t OAuthFlowClientCredentials_RefreshUrl) AsOAuthFlowClientCredentialsRefreshUrl0() (OAuthFlowClientCredentialsRefreshUrl0, error)
AsOAuthFlowClientCredentialsRefreshUrl0 returns the union data inside the OAuthFlowClientCredentials_RefreshUrl as a OAuthFlowClientCredentialsRefreshUrl0
func (OAuthFlowClientCredentials_RefreshUrl) AsOAuthFlowClientCredentialsRefreshUrl1 ¶
func (t OAuthFlowClientCredentials_RefreshUrl) AsOAuthFlowClientCredentialsRefreshUrl1() (OAuthFlowClientCredentialsRefreshUrl1, error)
AsOAuthFlowClientCredentialsRefreshUrl1 returns the union data inside the OAuthFlowClientCredentials_RefreshUrl as a OAuthFlowClientCredentialsRefreshUrl1
func (*OAuthFlowClientCredentials_RefreshUrl) FromOAuthFlowClientCredentialsRefreshUrl0 ¶
func (t *OAuthFlowClientCredentials_RefreshUrl) FromOAuthFlowClientCredentialsRefreshUrl0(v OAuthFlowClientCredentialsRefreshUrl0) error
FromOAuthFlowClientCredentialsRefreshUrl0 overwrites any union data inside the OAuthFlowClientCredentials_RefreshUrl as the provided OAuthFlowClientCredentialsRefreshUrl0
func (*OAuthFlowClientCredentials_RefreshUrl) FromOAuthFlowClientCredentialsRefreshUrl1 ¶
func (t *OAuthFlowClientCredentials_RefreshUrl) FromOAuthFlowClientCredentialsRefreshUrl1(v OAuthFlowClientCredentialsRefreshUrl1) error
FromOAuthFlowClientCredentialsRefreshUrl1 overwrites any union data inside the OAuthFlowClientCredentials_RefreshUrl as the provided OAuthFlowClientCredentialsRefreshUrl1
func (OAuthFlowClientCredentials_RefreshUrl) MarshalJSON ¶
func (t OAuthFlowClientCredentials_RefreshUrl) MarshalJSON() ([]byte, error)
func (*OAuthFlowClientCredentials_RefreshUrl) MergeOAuthFlowClientCredentialsRefreshUrl0 ¶
func (t *OAuthFlowClientCredentials_RefreshUrl) MergeOAuthFlowClientCredentialsRefreshUrl0(v OAuthFlowClientCredentialsRefreshUrl0) error
MergeOAuthFlowClientCredentialsRefreshUrl0 performs a merge with any union data inside the OAuthFlowClientCredentials_RefreshUrl, using the provided OAuthFlowClientCredentialsRefreshUrl0
func (*OAuthFlowClientCredentials_RefreshUrl) MergeOAuthFlowClientCredentialsRefreshUrl1 ¶
func (t *OAuthFlowClientCredentials_RefreshUrl) MergeOAuthFlowClientCredentialsRefreshUrl1(v OAuthFlowClientCredentialsRefreshUrl1) error
MergeOAuthFlowClientCredentialsRefreshUrl1 performs a merge with any union data inside the OAuthFlowClientCredentials_RefreshUrl, using the provided OAuthFlowClientCredentialsRefreshUrl1
func (*OAuthFlowClientCredentials_RefreshUrl) UnmarshalJSON ¶
func (t *OAuthFlowClientCredentials_RefreshUrl) UnmarshalJSON(b []byte) error
type OAuthFlowImplicit ¶
type OAuthFlowImplicit struct {
AuthorizationUrl string `json:"authorizationUrl"`
RefreshUrl *OAuthFlowImplicit_RefreshUrl `json:"refreshUrl,omitempty"`
Scopes *map[string]string `json:"scopes,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuthFlowImplicit defines model for OAuthFlowImplicit.
func (OAuthFlowImplicit) Get ¶
func (a OAuthFlowImplicit) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OAuthFlowImplicit. Returns the specified element and whether it was found
func (OAuthFlowImplicit) MarshalJSON ¶
func (a OAuthFlowImplicit) MarshalJSON() ([]byte, error)
Override default JSON handling for OAuthFlowImplicit to handle AdditionalProperties
func (*OAuthFlowImplicit) Set ¶
func (a *OAuthFlowImplicit) Set(fieldName string, value interface{})
Setter for additional properties for OAuthFlowImplicit
func (*OAuthFlowImplicit) UnmarshalJSON ¶
func (a *OAuthFlowImplicit) UnmarshalJSON(b []byte) error
Override default JSON handling for OAuthFlowImplicit to handle AdditionalProperties
type OAuthFlowImplicitRefreshUrl0 ¶
type OAuthFlowImplicitRefreshUrl0 = string
OAuthFlowImplicitRefreshUrl0 defines model for .
type OAuthFlowImplicitRefreshUrl1 ¶
type OAuthFlowImplicitRefreshUrl1 = string
OAuthFlowImplicitRefreshUrl1 defines model for .
type OAuthFlowImplicit_RefreshUrl ¶
type OAuthFlowImplicit_RefreshUrl struct {
// contains filtered or unexported fields
}
OAuthFlowImplicit_RefreshUrl defines model for OAuthFlowImplicit.RefreshUrl.
func (OAuthFlowImplicit_RefreshUrl) AsOAuthFlowImplicitRefreshUrl0 ¶
func (t OAuthFlowImplicit_RefreshUrl) AsOAuthFlowImplicitRefreshUrl0() (OAuthFlowImplicitRefreshUrl0, error)
AsOAuthFlowImplicitRefreshUrl0 returns the union data inside the OAuthFlowImplicit_RefreshUrl as a OAuthFlowImplicitRefreshUrl0
func (OAuthFlowImplicit_RefreshUrl) AsOAuthFlowImplicitRefreshUrl1 ¶
func (t OAuthFlowImplicit_RefreshUrl) AsOAuthFlowImplicitRefreshUrl1() (OAuthFlowImplicitRefreshUrl1, error)
AsOAuthFlowImplicitRefreshUrl1 returns the union data inside the OAuthFlowImplicit_RefreshUrl as a OAuthFlowImplicitRefreshUrl1
func (*OAuthFlowImplicit_RefreshUrl) FromOAuthFlowImplicitRefreshUrl0 ¶
func (t *OAuthFlowImplicit_RefreshUrl) FromOAuthFlowImplicitRefreshUrl0(v OAuthFlowImplicitRefreshUrl0) error
FromOAuthFlowImplicitRefreshUrl0 overwrites any union data inside the OAuthFlowImplicit_RefreshUrl as the provided OAuthFlowImplicitRefreshUrl0
func (*OAuthFlowImplicit_RefreshUrl) FromOAuthFlowImplicitRefreshUrl1 ¶
func (t *OAuthFlowImplicit_RefreshUrl) FromOAuthFlowImplicitRefreshUrl1(v OAuthFlowImplicitRefreshUrl1) error
FromOAuthFlowImplicitRefreshUrl1 overwrites any union data inside the OAuthFlowImplicit_RefreshUrl as the provided OAuthFlowImplicitRefreshUrl1
func (OAuthFlowImplicit_RefreshUrl) MarshalJSON ¶
func (t OAuthFlowImplicit_RefreshUrl) MarshalJSON() ([]byte, error)
func (*OAuthFlowImplicit_RefreshUrl) MergeOAuthFlowImplicitRefreshUrl0 ¶
func (t *OAuthFlowImplicit_RefreshUrl) MergeOAuthFlowImplicitRefreshUrl0(v OAuthFlowImplicitRefreshUrl0) error
MergeOAuthFlowImplicitRefreshUrl0 performs a merge with any union data inside the OAuthFlowImplicit_RefreshUrl, using the provided OAuthFlowImplicitRefreshUrl0
func (*OAuthFlowImplicit_RefreshUrl) MergeOAuthFlowImplicitRefreshUrl1 ¶
func (t *OAuthFlowImplicit_RefreshUrl) MergeOAuthFlowImplicitRefreshUrl1(v OAuthFlowImplicitRefreshUrl1) error
MergeOAuthFlowImplicitRefreshUrl1 performs a merge with any union data inside the OAuthFlowImplicit_RefreshUrl, using the provided OAuthFlowImplicitRefreshUrl1
func (*OAuthFlowImplicit_RefreshUrl) UnmarshalJSON ¶
func (t *OAuthFlowImplicit_RefreshUrl) UnmarshalJSON(b []byte) error
type OAuthFlowPassword ¶
type OAuthFlowPassword struct {
RefreshUrl *OAuthFlowPassword_RefreshUrl `json:"refreshUrl,omitempty"`
Scopes *map[string]string `json:"scopes,omitempty"`
TokenUrl string `json:"tokenUrl"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuthFlowPassword defines model for OAuthFlowPassword.
func (OAuthFlowPassword) Get ¶
func (a OAuthFlowPassword) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OAuthFlowPassword. Returns the specified element and whether it was found
func (OAuthFlowPassword) MarshalJSON ¶
func (a OAuthFlowPassword) MarshalJSON() ([]byte, error)
Override default JSON handling for OAuthFlowPassword to handle AdditionalProperties
func (*OAuthFlowPassword) Set ¶
func (a *OAuthFlowPassword) Set(fieldName string, value interface{})
Setter for additional properties for OAuthFlowPassword
func (*OAuthFlowPassword) UnmarshalJSON ¶
func (a *OAuthFlowPassword) UnmarshalJSON(b []byte) error
Override default JSON handling for OAuthFlowPassword to handle AdditionalProperties
type OAuthFlowPasswordRefreshUrl0 ¶
type OAuthFlowPasswordRefreshUrl0 = string
OAuthFlowPasswordRefreshUrl0 defines model for .
type OAuthFlowPasswordRefreshUrl1 ¶
type OAuthFlowPasswordRefreshUrl1 = string
OAuthFlowPasswordRefreshUrl1 defines model for .
type OAuthFlowPassword_RefreshUrl ¶
type OAuthFlowPassword_RefreshUrl struct {
// contains filtered or unexported fields
}
OAuthFlowPassword_RefreshUrl defines model for OAuthFlowPassword.RefreshUrl.
func (OAuthFlowPassword_RefreshUrl) AsOAuthFlowPasswordRefreshUrl0 ¶
func (t OAuthFlowPassword_RefreshUrl) AsOAuthFlowPasswordRefreshUrl0() (OAuthFlowPasswordRefreshUrl0, error)
AsOAuthFlowPasswordRefreshUrl0 returns the union data inside the OAuthFlowPassword_RefreshUrl as a OAuthFlowPasswordRefreshUrl0
func (OAuthFlowPassword_RefreshUrl) AsOAuthFlowPasswordRefreshUrl1 ¶
func (t OAuthFlowPassword_RefreshUrl) AsOAuthFlowPasswordRefreshUrl1() (OAuthFlowPasswordRefreshUrl1, error)
AsOAuthFlowPasswordRefreshUrl1 returns the union data inside the OAuthFlowPassword_RefreshUrl as a OAuthFlowPasswordRefreshUrl1
func (*OAuthFlowPassword_RefreshUrl) FromOAuthFlowPasswordRefreshUrl0 ¶
func (t *OAuthFlowPassword_RefreshUrl) FromOAuthFlowPasswordRefreshUrl0(v OAuthFlowPasswordRefreshUrl0) error
FromOAuthFlowPasswordRefreshUrl0 overwrites any union data inside the OAuthFlowPassword_RefreshUrl as the provided OAuthFlowPasswordRefreshUrl0
func (*OAuthFlowPassword_RefreshUrl) FromOAuthFlowPasswordRefreshUrl1 ¶
func (t *OAuthFlowPassword_RefreshUrl) FromOAuthFlowPasswordRefreshUrl1(v OAuthFlowPasswordRefreshUrl1) error
FromOAuthFlowPasswordRefreshUrl1 overwrites any union data inside the OAuthFlowPassword_RefreshUrl as the provided OAuthFlowPasswordRefreshUrl1
func (OAuthFlowPassword_RefreshUrl) MarshalJSON ¶
func (t OAuthFlowPassword_RefreshUrl) MarshalJSON() ([]byte, error)
func (*OAuthFlowPassword_RefreshUrl) MergeOAuthFlowPasswordRefreshUrl0 ¶
func (t *OAuthFlowPassword_RefreshUrl) MergeOAuthFlowPasswordRefreshUrl0(v OAuthFlowPasswordRefreshUrl0) error
MergeOAuthFlowPasswordRefreshUrl0 performs a merge with any union data inside the OAuthFlowPassword_RefreshUrl, using the provided OAuthFlowPasswordRefreshUrl0
func (*OAuthFlowPassword_RefreshUrl) MergeOAuthFlowPasswordRefreshUrl1 ¶
func (t *OAuthFlowPassword_RefreshUrl) MergeOAuthFlowPasswordRefreshUrl1(v OAuthFlowPasswordRefreshUrl1) error
MergeOAuthFlowPasswordRefreshUrl1 performs a merge with any union data inside the OAuthFlowPassword_RefreshUrl, using the provided OAuthFlowPasswordRefreshUrl1
func (*OAuthFlowPassword_RefreshUrl) UnmarshalJSON ¶
func (t *OAuthFlowPassword_RefreshUrl) UnmarshalJSON(b []byte) error
type OAuthFlows ¶
type OAuthFlows struct {
AuthorizationCode *OAuthFlows_AuthorizationCode `json:"authorizationCode,omitempty"`
ClientCredentials *OAuthFlows_ClientCredentials `json:"clientCredentials,omitempty"`
Implicit *OAuthFlows_Implicit `json:"implicit,omitempty"`
Password *OAuthFlows_Password `json:"password,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OAuthFlows defines model for OAuthFlows.
func (OAuthFlows) Get ¶
func (a OAuthFlows) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OAuthFlows. Returns the specified element and whether it was found
func (OAuthFlows) MarshalJSON ¶
func (a OAuthFlows) MarshalJSON() ([]byte, error)
Override default JSON handling for OAuthFlows to handle AdditionalProperties
func (*OAuthFlows) Set ¶
func (a *OAuthFlows) Set(fieldName string, value interface{})
Setter for additional properties for OAuthFlows
func (*OAuthFlows) UnmarshalJSON ¶
func (a *OAuthFlows) UnmarshalJSON(b []byte) error
Override default JSON handling for OAuthFlows to handle AdditionalProperties
type OAuthFlowsAuthorizationCode1 ¶
type OAuthFlowsAuthorizationCode1 = string
OAuthFlowsAuthorizationCode1 defines model for .
type OAuthFlowsClientCredentials1 ¶
type OAuthFlowsClientCredentials1 = string
OAuthFlowsClientCredentials1 defines model for .
type OAuthFlowsImplicit1 ¶
type OAuthFlowsImplicit1 = string
OAuthFlowsImplicit1 defines model for .
type OAuthFlowsPassword1 ¶
type OAuthFlowsPassword1 = string
OAuthFlowsPassword1 defines model for .
type OAuthFlows_AuthorizationCode ¶
type OAuthFlows_AuthorizationCode struct {
// contains filtered or unexported fields
}
OAuthFlows_AuthorizationCode defines model for OAuthFlows.AuthorizationCode.
func (OAuthFlows_AuthorizationCode) AsOAuthFlowAuthorizationCode ¶
func (t OAuthFlows_AuthorizationCode) AsOAuthFlowAuthorizationCode() (OAuthFlowAuthorizationCode, error)
AsOAuthFlowAuthorizationCode returns the union data inside the OAuthFlows_AuthorizationCode as a OAuthFlowAuthorizationCode
func (OAuthFlows_AuthorizationCode) AsOAuthFlowsAuthorizationCode1 ¶
func (t OAuthFlows_AuthorizationCode) AsOAuthFlowsAuthorizationCode1() (OAuthFlowsAuthorizationCode1, error)
AsOAuthFlowsAuthorizationCode1 returns the union data inside the OAuthFlows_AuthorizationCode as a OAuthFlowsAuthorizationCode1
func (*OAuthFlows_AuthorizationCode) FromOAuthFlowAuthorizationCode ¶
func (t *OAuthFlows_AuthorizationCode) FromOAuthFlowAuthorizationCode(v OAuthFlowAuthorizationCode) error
FromOAuthFlowAuthorizationCode overwrites any union data inside the OAuthFlows_AuthorizationCode as the provided OAuthFlowAuthorizationCode
func (*OAuthFlows_AuthorizationCode) FromOAuthFlowsAuthorizationCode1 ¶
func (t *OAuthFlows_AuthorizationCode) FromOAuthFlowsAuthorizationCode1(v OAuthFlowsAuthorizationCode1) error
FromOAuthFlowsAuthorizationCode1 overwrites any union data inside the OAuthFlows_AuthorizationCode as the provided OAuthFlowsAuthorizationCode1
func (OAuthFlows_AuthorizationCode) MarshalJSON ¶
func (t OAuthFlows_AuthorizationCode) MarshalJSON() ([]byte, error)
func (*OAuthFlows_AuthorizationCode) MergeOAuthFlowAuthorizationCode ¶
func (t *OAuthFlows_AuthorizationCode) MergeOAuthFlowAuthorizationCode(v OAuthFlowAuthorizationCode) error
MergeOAuthFlowAuthorizationCode performs a merge with any union data inside the OAuthFlows_AuthorizationCode, using the provided OAuthFlowAuthorizationCode
func (*OAuthFlows_AuthorizationCode) MergeOAuthFlowsAuthorizationCode1 ¶
func (t *OAuthFlows_AuthorizationCode) MergeOAuthFlowsAuthorizationCode1(v OAuthFlowsAuthorizationCode1) error
MergeOAuthFlowsAuthorizationCode1 performs a merge with any union data inside the OAuthFlows_AuthorizationCode, using the provided OAuthFlowsAuthorizationCode1
func (*OAuthFlows_AuthorizationCode) UnmarshalJSON ¶
func (t *OAuthFlows_AuthorizationCode) UnmarshalJSON(b []byte) error
type OAuthFlows_ClientCredentials ¶
type OAuthFlows_ClientCredentials struct {
// contains filtered or unexported fields
}
OAuthFlows_ClientCredentials defines model for OAuthFlows.ClientCredentials.
func (OAuthFlows_ClientCredentials) AsOAuthFlowClientCredentials ¶
func (t OAuthFlows_ClientCredentials) AsOAuthFlowClientCredentials() (OAuthFlowClientCredentials, error)
AsOAuthFlowClientCredentials returns the union data inside the OAuthFlows_ClientCredentials as a OAuthFlowClientCredentials
func (OAuthFlows_ClientCredentials) AsOAuthFlowsClientCredentials1 ¶
func (t OAuthFlows_ClientCredentials) AsOAuthFlowsClientCredentials1() (OAuthFlowsClientCredentials1, error)
AsOAuthFlowsClientCredentials1 returns the union data inside the OAuthFlows_ClientCredentials as a OAuthFlowsClientCredentials1
func (*OAuthFlows_ClientCredentials) FromOAuthFlowClientCredentials ¶
func (t *OAuthFlows_ClientCredentials) FromOAuthFlowClientCredentials(v OAuthFlowClientCredentials) error
FromOAuthFlowClientCredentials overwrites any union data inside the OAuthFlows_ClientCredentials as the provided OAuthFlowClientCredentials
func (*OAuthFlows_ClientCredentials) FromOAuthFlowsClientCredentials1 ¶
func (t *OAuthFlows_ClientCredentials) FromOAuthFlowsClientCredentials1(v OAuthFlowsClientCredentials1) error
FromOAuthFlowsClientCredentials1 overwrites any union data inside the OAuthFlows_ClientCredentials as the provided OAuthFlowsClientCredentials1
func (OAuthFlows_ClientCredentials) MarshalJSON ¶
func (t OAuthFlows_ClientCredentials) MarshalJSON() ([]byte, error)
func (*OAuthFlows_ClientCredentials) MergeOAuthFlowClientCredentials ¶
func (t *OAuthFlows_ClientCredentials) MergeOAuthFlowClientCredentials(v OAuthFlowClientCredentials) error
MergeOAuthFlowClientCredentials performs a merge with any union data inside the OAuthFlows_ClientCredentials, using the provided OAuthFlowClientCredentials
func (*OAuthFlows_ClientCredentials) MergeOAuthFlowsClientCredentials1 ¶
func (t *OAuthFlows_ClientCredentials) MergeOAuthFlowsClientCredentials1(v OAuthFlowsClientCredentials1) error
MergeOAuthFlowsClientCredentials1 performs a merge with any union data inside the OAuthFlows_ClientCredentials, using the provided OAuthFlowsClientCredentials1
func (*OAuthFlows_ClientCredentials) UnmarshalJSON ¶
func (t *OAuthFlows_ClientCredentials) UnmarshalJSON(b []byte) error
type OAuthFlows_Implicit ¶
type OAuthFlows_Implicit struct {
// contains filtered or unexported fields
}
OAuthFlows_Implicit defines model for OAuthFlows.Implicit.
func (OAuthFlows_Implicit) AsOAuthFlowImplicit ¶
func (t OAuthFlows_Implicit) AsOAuthFlowImplicit() (OAuthFlowImplicit, error)
AsOAuthFlowImplicit returns the union data inside the OAuthFlows_Implicit as a OAuthFlowImplicit
func (OAuthFlows_Implicit) AsOAuthFlowsImplicit1 ¶
func (t OAuthFlows_Implicit) AsOAuthFlowsImplicit1() (OAuthFlowsImplicit1, error)
AsOAuthFlowsImplicit1 returns the union data inside the OAuthFlows_Implicit as a OAuthFlowsImplicit1
func (*OAuthFlows_Implicit) FromOAuthFlowImplicit ¶
func (t *OAuthFlows_Implicit) FromOAuthFlowImplicit(v OAuthFlowImplicit) error
FromOAuthFlowImplicit overwrites any union data inside the OAuthFlows_Implicit as the provided OAuthFlowImplicit
func (*OAuthFlows_Implicit) FromOAuthFlowsImplicit1 ¶
func (t *OAuthFlows_Implicit) FromOAuthFlowsImplicit1(v OAuthFlowsImplicit1) error
FromOAuthFlowsImplicit1 overwrites any union data inside the OAuthFlows_Implicit as the provided OAuthFlowsImplicit1
func (OAuthFlows_Implicit) MarshalJSON ¶
func (t OAuthFlows_Implicit) MarshalJSON() ([]byte, error)
func (*OAuthFlows_Implicit) MergeOAuthFlowImplicit ¶
func (t *OAuthFlows_Implicit) MergeOAuthFlowImplicit(v OAuthFlowImplicit) error
MergeOAuthFlowImplicit performs a merge with any union data inside the OAuthFlows_Implicit, using the provided OAuthFlowImplicit
func (*OAuthFlows_Implicit) MergeOAuthFlowsImplicit1 ¶
func (t *OAuthFlows_Implicit) MergeOAuthFlowsImplicit1(v OAuthFlowsImplicit1) error
MergeOAuthFlowsImplicit1 performs a merge with any union data inside the OAuthFlows_Implicit, using the provided OAuthFlowsImplicit1
func (*OAuthFlows_Implicit) UnmarshalJSON ¶
func (t *OAuthFlows_Implicit) UnmarshalJSON(b []byte) error
type OAuthFlows_Password ¶
type OAuthFlows_Password struct {
// contains filtered or unexported fields
}
OAuthFlows_Password defines model for OAuthFlows.Password.
func (OAuthFlows_Password) AsOAuthFlowPassword ¶
func (t OAuthFlows_Password) AsOAuthFlowPassword() (OAuthFlowPassword, error)
AsOAuthFlowPassword returns the union data inside the OAuthFlows_Password as a OAuthFlowPassword
func (OAuthFlows_Password) AsOAuthFlowsPassword1 ¶
func (t OAuthFlows_Password) AsOAuthFlowsPassword1() (OAuthFlowsPassword1, error)
AsOAuthFlowsPassword1 returns the union data inside the OAuthFlows_Password as a OAuthFlowsPassword1
func (*OAuthFlows_Password) FromOAuthFlowPassword ¶
func (t *OAuthFlows_Password) FromOAuthFlowPassword(v OAuthFlowPassword) error
FromOAuthFlowPassword overwrites any union data inside the OAuthFlows_Password as the provided OAuthFlowPassword
func (*OAuthFlows_Password) FromOAuthFlowsPassword1 ¶
func (t *OAuthFlows_Password) FromOAuthFlowsPassword1(v OAuthFlowsPassword1) error
FromOAuthFlowsPassword1 overwrites any union data inside the OAuthFlows_Password as the provided OAuthFlowsPassword1
func (OAuthFlows_Password) MarshalJSON ¶
func (t OAuthFlows_Password) MarshalJSON() ([]byte, error)
func (*OAuthFlows_Password) MergeOAuthFlowPassword ¶
func (t *OAuthFlows_Password) MergeOAuthFlowPassword(v OAuthFlowPassword) error
MergeOAuthFlowPassword performs a merge with any union data inside the OAuthFlows_Password, using the provided OAuthFlowPassword
func (*OAuthFlows_Password) MergeOAuthFlowsPassword1 ¶
func (t *OAuthFlows_Password) MergeOAuthFlowsPassword1(v OAuthFlowsPassword1) error
MergeOAuthFlowsPassword1 performs a merge with any union data inside the OAuthFlows_Password, using the provided OAuthFlowsPassword1
func (*OAuthFlows_Password) UnmarshalJSON ¶
func (t *OAuthFlows_Password) UnmarshalJSON(b []byte) error
type OpenIdConnect ¶
type OpenIdConnect struct {
Description *OpenIdConnect_Description `json:"description,omitempty"`
OpenIdConnectUrl string `json:"openIdConnectUrl"`
Type *SecuritySchemeType `json:"type,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpenIdConnect defines model for OpenIdConnect.
func (OpenIdConnect) Get ¶
func (a OpenIdConnect) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OpenIdConnect. Returns the specified element and whether it was found
func (OpenIdConnect) MarshalJSON ¶
func (a OpenIdConnect) MarshalJSON() ([]byte, error)
Override default JSON handling for OpenIdConnect to handle AdditionalProperties
func (*OpenIdConnect) Set ¶
func (a *OpenIdConnect) Set(fieldName string, value interface{})
Setter for additional properties for OpenIdConnect
func (*OpenIdConnect) UnmarshalJSON ¶
func (a *OpenIdConnect) UnmarshalJSON(b []byte) error
Override default JSON handling for OpenIdConnect to handle AdditionalProperties
type OpenIdConnectDescription0 ¶
type OpenIdConnectDescription0 = string
OpenIdConnectDescription0 defines model for .
type OpenIdConnectDescription1 ¶
type OpenIdConnectDescription1 = string
OpenIdConnectDescription1 defines model for .
type OpenIdConnectWithConfig ¶
type OpenIdConnectWithConfig struct {
AuthorizationEndpoint string `json:"authorization_endpoint"`
Description *OpenIdConnectWithConfig_Description `json:"description,omitempty"`
GrantTypesSupported *OpenIdConnectWithConfig_GrantTypesSupported `json:"grant_types_supported,omitempty"`
RevocationEndpoint *OpenIdConnectWithConfig_RevocationEndpoint `json:"revocation_endpoint,omitempty"`
Scopes *OpenIdConnectWithConfig_Scopes `json:"scopes,omitempty"`
TokenEndpoint string `json:"token_endpoint"`
TokenEndpointAuthMethodsSupported *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported `json:"token_endpoint_auth_methods_supported,omitempty"`
Type *SecuritySchemeType `json:"type,omitempty"`
UserinfoEndpoint *OpenIdConnectWithConfig_UserinfoEndpoint `json:"userinfo_endpoint,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpenIdConnectWithConfig defines model for OpenIdConnectWithConfig.
func (OpenIdConnectWithConfig) Get ¶
func (a OpenIdConnectWithConfig) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OpenIdConnectWithConfig. Returns the specified element and whether it was found
func (OpenIdConnectWithConfig) MarshalJSON ¶
func (a OpenIdConnectWithConfig) MarshalJSON() ([]byte, error)
Override default JSON handling for OpenIdConnectWithConfig to handle AdditionalProperties
func (*OpenIdConnectWithConfig) Set ¶
func (a *OpenIdConnectWithConfig) Set(fieldName string, value interface{})
Setter for additional properties for OpenIdConnectWithConfig
func (*OpenIdConnectWithConfig) UnmarshalJSON ¶
func (a *OpenIdConnectWithConfig) UnmarshalJSON(b []byte) error
Override default JSON handling for OpenIdConnectWithConfig to handle AdditionalProperties
type OpenIdConnectWithConfigDescription0 ¶
type OpenIdConnectWithConfigDescription0 = string
OpenIdConnectWithConfigDescription0 defines model for .
type OpenIdConnectWithConfigDescription1 ¶
type OpenIdConnectWithConfigDescription1 = string
OpenIdConnectWithConfigDescription1 defines model for .
type OpenIdConnectWithConfigGrantTypesSupported0 ¶
type OpenIdConnectWithConfigGrantTypesSupported0 = []string
OpenIdConnectWithConfigGrantTypesSupported0 defines model for .
type OpenIdConnectWithConfigGrantTypesSupported1 ¶
type OpenIdConnectWithConfigGrantTypesSupported1 = string
OpenIdConnectWithConfigGrantTypesSupported1 defines model for .
type OpenIdConnectWithConfigRevocationEndpoint0 ¶
type OpenIdConnectWithConfigRevocationEndpoint0 = string
OpenIdConnectWithConfigRevocationEndpoint0 defines model for .
type OpenIdConnectWithConfigRevocationEndpoint1 ¶
type OpenIdConnectWithConfigRevocationEndpoint1 = string
OpenIdConnectWithConfigRevocationEndpoint1 defines model for .
type OpenIdConnectWithConfigScopes0 ¶
type OpenIdConnectWithConfigScopes0 = []string
OpenIdConnectWithConfigScopes0 defines model for .
type OpenIdConnectWithConfigScopes1 ¶
type OpenIdConnectWithConfigScopes1 = string
OpenIdConnectWithConfigScopes1 defines model for .
type OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 ¶
type OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 = []string
OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 defines model for .
type OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 ¶
type OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 = string
OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 defines model for .
type OpenIdConnectWithConfigUserinfoEndpoint0 ¶
type OpenIdConnectWithConfigUserinfoEndpoint0 = string
OpenIdConnectWithConfigUserinfoEndpoint0 defines model for .
type OpenIdConnectWithConfigUserinfoEndpoint1 ¶
type OpenIdConnectWithConfigUserinfoEndpoint1 = string
OpenIdConnectWithConfigUserinfoEndpoint1 defines model for .
type OpenIdConnectWithConfig_Description ¶
type OpenIdConnectWithConfig_Description struct {
// contains filtered or unexported fields
}
OpenIdConnectWithConfig_Description defines model for OpenIdConnectWithConfig.Description.
func (OpenIdConnectWithConfig_Description) AsOpenIdConnectWithConfigDescription0 ¶
func (t OpenIdConnectWithConfig_Description) AsOpenIdConnectWithConfigDescription0() (OpenIdConnectWithConfigDescription0, error)
AsOpenIdConnectWithConfigDescription0 returns the union data inside the OpenIdConnectWithConfig_Description as a OpenIdConnectWithConfigDescription0
func (OpenIdConnectWithConfig_Description) AsOpenIdConnectWithConfigDescription1 ¶
func (t OpenIdConnectWithConfig_Description) AsOpenIdConnectWithConfigDescription1() (OpenIdConnectWithConfigDescription1, error)
AsOpenIdConnectWithConfigDescription1 returns the union data inside the OpenIdConnectWithConfig_Description as a OpenIdConnectWithConfigDescription1
func (*OpenIdConnectWithConfig_Description) FromOpenIdConnectWithConfigDescription0 ¶
func (t *OpenIdConnectWithConfig_Description) FromOpenIdConnectWithConfigDescription0(v OpenIdConnectWithConfigDescription0) error
FromOpenIdConnectWithConfigDescription0 overwrites any union data inside the OpenIdConnectWithConfig_Description as the provided OpenIdConnectWithConfigDescription0
func (*OpenIdConnectWithConfig_Description) FromOpenIdConnectWithConfigDescription1 ¶
func (t *OpenIdConnectWithConfig_Description) FromOpenIdConnectWithConfigDescription1(v OpenIdConnectWithConfigDescription1) error
FromOpenIdConnectWithConfigDescription1 overwrites any union data inside the OpenIdConnectWithConfig_Description as the provided OpenIdConnectWithConfigDescription1
func (OpenIdConnectWithConfig_Description) MarshalJSON ¶
func (t OpenIdConnectWithConfig_Description) MarshalJSON() ([]byte, error)
func (*OpenIdConnectWithConfig_Description) MergeOpenIdConnectWithConfigDescription0 ¶
func (t *OpenIdConnectWithConfig_Description) MergeOpenIdConnectWithConfigDescription0(v OpenIdConnectWithConfigDescription0) error
MergeOpenIdConnectWithConfigDescription0 performs a merge with any union data inside the OpenIdConnectWithConfig_Description, using the provided OpenIdConnectWithConfigDescription0
func (*OpenIdConnectWithConfig_Description) MergeOpenIdConnectWithConfigDescription1 ¶
func (t *OpenIdConnectWithConfig_Description) MergeOpenIdConnectWithConfigDescription1(v OpenIdConnectWithConfigDescription1) error
MergeOpenIdConnectWithConfigDescription1 performs a merge with any union data inside the OpenIdConnectWithConfig_Description, using the provided OpenIdConnectWithConfigDescription1
func (*OpenIdConnectWithConfig_Description) UnmarshalJSON ¶
func (t *OpenIdConnectWithConfig_Description) UnmarshalJSON(b []byte) error
type OpenIdConnectWithConfig_GrantTypesSupported ¶
type OpenIdConnectWithConfig_GrantTypesSupported struct {
// contains filtered or unexported fields
}
OpenIdConnectWithConfig_GrantTypesSupported defines model for OpenIdConnectWithConfig.GrantTypesSupported.
func (OpenIdConnectWithConfig_GrantTypesSupported) AsOpenIdConnectWithConfigGrantTypesSupported0 ¶
func (t OpenIdConnectWithConfig_GrantTypesSupported) AsOpenIdConnectWithConfigGrantTypesSupported0() (OpenIdConnectWithConfigGrantTypesSupported0, error)
AsOpenIdConnectWithConfigGrantTypesSupported0 returns the union data inside the OpenIdConnectWithConfig_GrantTypesSupported as a OpenIdConnectWithConfigGrantTypesSupported0
func (OpenIdConnectWithConfig_GrantTypesSupported) AsOpenIdConnectWithConfigGrantTypesSupported1 ¶
func (t OpenIdConnectWithConfig_GrantTypesSupported) AsOpenIdConnectWithConfigGrantTypesSupported1() (OpenIdConnectWithConfigGrantTypesSupported1, error)
AsOpenIdConnectWithConfigGrantTypesSupported1 returns the union data inside the OpenIdConnectWithConfig_GrantTypesSupported as a OpenIdConnectWithConfigGrantTypesSupported1
func (*OpenIdConnectWithConfig_GrantTypesSupported) FromOpenIdConnectWithConfigGrantTypesSupported0 ¶
func (t *OpenIdConnectWithConfig_GrantTypesSupported) FromOpenIdConnectWithConfigGrantTypesSupported0(v OpenIdConnectWithConfigGrantTypesSupported0) error
FromOpenIdConnectWithConfigGrantTypesSupported0 overwrites any union data inside the OpenIdConnectWithConfig_GrantTypesSupported as the provided OpenIdConnectWithConfigGrantTypesSupported0
func (*OpenIdConnectWithConfig_GrantTypesSupported) FromOpenIdConnectWithConfigGrantTypesSupported1 ¶
func (t *OpenIdConnectWithConfig_GrantTypesSupported) FromOpenIdConnectWithConfigGrantTypesSupported1(v OpenIdConnectWithConfigGrantTypesSupported1) error
FromOpenIdConnectWithConfigGrantTypesSupported1 overwrites any union data inside the OpenIdConnectWithConfig_GrantTypesSupported as the provided OpenIdConnectWithConfigGrantTypesSupported1
func (OpenIdConnectWithConfig_GrantTypesSupported) MarshalJSON ¶
func (t OpenIdConnectWithConfig_GrantTypesSupported) MarshalJSON() ([]byte, error)
func (*OpenIdConnectWithConfig_GrantTypesSupported) MergeOpenIdConnectWithConfigGrantTypesSupported0 ¶
func (t *OpenIdConnectWithConfig_GrantTypesSupported) MergeOpenIdConnectWithConfigGrantTypesSupported0(v OpenIdConnectWithConfigGrantTypesSupported0) error
MergeOpenIdConnectWithConfigGrantTypesSupported0 performs a merge with any union data inside the OpenIdConnectWithConfig_GrantTypesSupported, using the provided OpenIdConnectWithConfigGrantTypesSupported0
func (*OpenIdConnectWithConfig_GrantTypesSupported) MergeOpenIdConnectWithConfigGrantTypesSupported1 ¶
func (t *OpenIdConnectWithConfig_GrantTypesSupported) MergeOpenIdConnectWithConfigGrantTypesSupported1(v OpenIdConnectWithConfigGrantTypesSupported1) error
MergeOpenIdConnectWithConfigGrantTypesSupported1 performs a merge with any union data inside the OpenIdConnectWithConfig_GrantTypesSupported, using the provided OpenIdConnectWithConfigGrantTypesSupported1
func (*OpenIdConnectWithConfig_GrantTypesSupported) UnmarshalJSON ¶
func (t *OpenIdConnectWithConfig_GrantTypesSupported) UnmarshalJSON(b []byte) error
type OpenIdConnectWithConfig_RevocationEndpoint ¶
type OpenIdConnectWithConfig_RevocationEndpoint struct {
// contains filtered or unexported fields
}
OpenIdConnectWithConfig_RevocationEndpoint defines model for OpenIdConnectWithConfig.RevocationEndpoint.
func (OpenIdConnectWithConfig_RevocationEndpoint) AsOpenIdConnectWithConfigRevocationEndpoint0 ¶
func (t OpenIdConnectWithConfig_RevocationEndpoint) AsOpenIdConnectWithConfigRevocationEndpoint0() (OpenIdConnectWithConfigRevocationEndpoint0, error)
AsOpenIdConnectWithConfigRevocationEndpoint0 returns the union data inside the OpenIdConnectWithConfig_RevocationEndpoint as a OpenIdConnectWithConfigRevocationEndpoint0
func (OpenIdConnectWithConfig_RevocationEndpoint) AsOpenIdConnectWithConfigRevocationEndpoint1 ¶
func (t OpenIdConnectWithConfig_RevocationEndpoint) AsOpenIdConnectWithConfigRevocationEndpoint1() (OpenIdConnectWithConfigRevocationEndpoint1, error)
AsOpenIdConnectWithConfigRevocationEndpoint1 returns the union data inside the OpenIdConnectWithConfig_RevocationEndpoint as a OpenIdConnectWithConfigRevocationEndpoint1
func (*OpenIdConnectWithConfig_RevocationEndpoint) FromOpenIdConnectWithConfigRevocationEndpoint0 ¶
func (t *OpenIdConnectWithConfig_RevocationEndpoint) FromOpenIdConnectWithConfigRevocationEndpoint0(v OpenIdConnectWithConfigRevocationEndpoint0) error
FromOpenIdConnectWithConfigRevocationEndpoint0 overwrites any union data inside the OpenIdConnectWithConfig_RevocationEndpoint as the provided OpenIdConnectWithConfigRevocationEndpoint0
func (*OpenIdConnectWithConfig_RevocationEndpoint) FromOpenIdConnectWithConfigRevocationEndpoint1 ¶
func (t *OpenIdConnectWithConfig_RevocationEndpoint) FromOpenIdConnectWithConfigRevocationEndpoint1(v OpenIdConnectWithConfigRevocationEndpoint1) error
FromOpenIdConnectWithConfigRevocationEndpoint1 overwrites any union data inside the OpenIdConnectWithConfig_RevocationEndpoint as the provided OpenIdConnectWithConfigRevocationEndpoint1
func (OpenIdConnectWithConfig_RevocationEndpoint) MarshalJSON ¶
func (t OpenIdConnectWithConfig_RevocationEndpoint) MarshalJSON() ([]byte, error)
func (*OpenIdConnectWithConfig_RevocationEndpoint) MergeOpenIdConnectWithConfigRevocationEndpoint0 ¶
func (t *OpenIdConnectWithConfig_RevocationEndpoint) MergeOpenIdConnectWithConfigRevocationEndpoint0(v OpenIdConnectWithConfigRevocationEndpoint0) error
MergeOpenIdConnectWithConfigRevocationEndpoint0 performs a merge with any union data inside the OpenIdConnectWithConfig_RevocationEndpoint, using the provided OpenIdConnectWithConfigRevocationEndpoint0
func (*OpenIdConnectWithConfig_RevocationEndpoint) MergeOpenIdConnectWithConfigRevocationEndpoint1 ¶
func (t *OpenIdConnectWithConfig_RevocationEndpoint) MergeOpenIdConnectWithConfigRevocationEndpoint1(v OpenIdConnectWithConfigRevocationEndpoint1) error
MergeOpenIdConnectWithConfigRevocationEndpoint1 performs a merge with any union data inside the OpenIdConnectWithConfig_RevocationEndpoint, using the provided OpenIdConnectWithConfigRevocationEndpoint1
func (*OpenIdConnectWithConfig_RevocationEndpoint) UnmarshalJSON ¶
func (t *OpenIdConnectWithConfig_RevocationEndpoint) UnmarshalJSON(b []byte) error
type OpenIdConnectWithConfig_Scopes ¶
type OpenIdConnectWithConfig_Scopes struct {
// contains filtered or unexported fields
}
OpenIdConnectWithConfig_Scopes defines model for OpenIdConnectWithConfig.Scopes.
func (OpenIdConnectWithConfig_Scopes) AsOpenIdConnectWithConfigScopes0 ¶
func (t OpenIdConnectWithConfig_Scopes) AsOpenIdConnectWithConfigScopes0() (OpenIdConnectWithConfigScopes0, error)
AsOpenIdConnectWithConfigScopes0 returns the union data inside the OpenIdConnectWithConfig_Scopes as a OpenIdConnectWithConfigScopes0
func (OpenIdConnectWithConfig_Scopes) AsOpenIdConnectWithConfigScopes1 ¶
func (t OpenIdConnectWithConfig_Scopes) AsOpenIdConnectWithConfigScopes1() (OpenIdConnectWithConfigScopes1, error)
AsOpenIdConnectWithConfigScopes1 returns the union data inside the OpenIdConnectWithConfig_Scopes as a OpenIdConnectWithConfigScopes1
func (*OpenIdConnectWithConfig_Scopes) FromOpenIdConnectWithConfigScopes0 ¶
func (t *OpenIdConnectWithConfig_Scopes) FromOpenIdConnectWithConfigScopes0(v OpenIdConnectWithConfigScopes0) error
FromOpenIdConnectWithConfigScopes0 overwrites any union data inside the OpenIdConnectWithConfig_Scopes as the provided OpenIdConnectWithConfigScopes0
func (*OpenIdConnectWithConfig_Scopes) FromOpenIdConnectWithConfigScopes1 ¶
func (t *OpenIdConnectWithConfig_Scopes) FromOpenIdConnectWithConfigScopes1(v OpenIdConnectWithConfigScopes1) error
FromOpenIdConnectWithConfigScopes1 overwrites any union data inside the OpenIdConnectWithConfig_Scopes as the provided OpenIdConnectWithConfigScopes1
func (OpenIdConnectWithConfig_Scopes) MarshalJSON ¶
func (t OpenIdConnectWithConfig_Scopes) MarshalJSON() ([]byte, error)
func (*OpenIdConnectWithConfig_Scopes) MergeOpenIdConnectWithConfigScopes0 ¶
func (t *OpenIdConnectWithConfig_Scopes) MergeOpenIdConnectWithConfigScopes0(v OpenIdConnectWithConfigScopes0) error
MergeOpenIdConnectWithConfigScopes0 performs a merge with any union data inside the OpenIdConnectWithConfig_Scopes, using the provided OpenIdConnectWithConfigScopes0
func (*OpenIdConnectWithConfig_Scopes) MergeOpenIdConnectWithConfigScopes1 ¶
func (t *OpenIdConnectWithConfig_Scopes) MergeOpenIdConnectWithConfigScopes1(v OpenIdConnectWithConfigScopes1) error
MergeOpenIdConnectWithConfigScopes1 performs a merge with any union data inside the OpenIdConnectWithConfig_Scopes, using the provided OpenIdConnectWithConfigScopes1
func (*OpenIdConnectWithConfig_Scopes) UnmarshalJSON ¶
func (t *OpenIdConnectWithConfig_Scopes) UnmarshalJSON(b []byte) error
type OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported ¶
type OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported struct {
// contains filtered or unexported fields
}
OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported defines model for OpenIdConnectWithConfig.TokenEndpointAuthMethodsSupported.
func (OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 ¶
func (t OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0() (OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0, error)
AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 returns the union data inside the OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported as a OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0
func (OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 ¶
func (t OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1() (OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1, error)
AsOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 returns the union data inside the OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported as a OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1
func (*OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 ¶
func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0) error
FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 overwrites any union data inside the OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported as the provided OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0
func (*OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 ¶
func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1) error
FromOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 overwrites any union data inside the OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported as the provided OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1
func (OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MarshalJSON ¶
func (t OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MarshalJSON() ([]byte, error)
func (*OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 ¶
func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0) error
MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0 performs a merge with any union data inside the OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported, using the provided OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported0
func (*OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 ¶
func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1(v OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1) error
MergeOpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1 performs a merge with any union data inside the OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported, using the provided OpenIdConnectWithConfigTokenEndpointAuthMethodsSupported1
func (*OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) UnmarshalJSON ¶
func (t *OpenIdConnectWithConfig_TokenEndpointAuthMethodsSupported) UnmarshalJSON(b []byte) error
type OpenIdConnectWithConfig_UserinfoEndpoint ¶
type OpenIdConnectWithConfig_UserinfoEndpoint struct {
// contains filtered or unexported fields
}
OpenIdConnectWithConfig_UserinfoEndpoint defines model for OpenIdConnectWithConfig.UserinfoEndpoint.
func (OpenIdConnectWithConfig_UserinfoEndpoint) AsOpenIdConnectWithConfigUserinfoEndpoint0 ¶
func (t OpenIdConnectWithConfig_UserinfoEndpoint) AsOpenIdConnectWithConfigUserinfoEndpoint0() (OpenIdConnectWithConfigUserinfoEndpoint0, error)
AsOpenIdConnectWithConfigUserinfoEndpoint0 returns the union data inside the OpenIdConnectWithConfig_UserinfoEndpoint as a OpenIdConnectWithConfigUserinfoEndpoint0
func (OpenIdConnectWithConfig_UserinfoEndpoint) AsOpenIdConnectWithConfigUserinfoEndpoint1 ¶
func (t OpenIdConnectWithConfig_UserinfoEndpoint) AsOpenIdConnectWithConfigUserinfoEndpoint1() (OpenIdConnectWithConfigUserinfoEndpoint1, error)
AsOpenIdConnectWithConfigUserinfoEndpoint1 returns the union data inside the OpenIdConnectWithConfig_UserinfoEndpoint as a OpenIdConnectWithConfigUserinfoEndpoint1
func (*OpenIdConnectWithConfig_UserinfoEndpoint) FromOpenIdConnectWithConfigUserinfoEndpoint0 ¶
func (t *OpenIdConnectWithConfig_UserinfoEndpoint) FromOpenIdConnectWithConfigUserinfoEndpoint0(v OpenIdConnectWithConfigUserinfoEndpoint0) error
FromOpenIdConnectWithConfigUserinfoEndpoint0 overwrites any union data inside the OpenIdConnectWithConfig_UserinfoEndpoint as the provided OpenIdConnectWithConfigUserinfoEndpoint0
func (*OpenIdConnectWithConfig_UserinfoEndpoint) FromOpenIdConnectWithConfigUserinfoEndpoint1 ¶
func (t *OpenIdConnectWithConfig_UserinfoEndpoint) FromOpenIdConnectWithConfigUserinfoEndpoint1(v OpenIdConnectWithConfigUserinfoEndpoint1) error
FromOpenIdConnectWithConfigUserinfoEndpoint1 overwrites any union data inside the OpenIdConnectWithConfig_UserinfoEndpoint as the provided OpenIdConnectWithConfigUserinfoEndpoint1
func (OpenIdConnectWithConfig_UserinfoEndpoint) MarshalJSON ¶
func (t OpenIdConnectWithConfig_UserinfoEndpoint) MarshalJSON() ([]byte, error)
func (*OpenIdConnectWithConfig_UserinfoEndpoint) MergeOpenIdConnectWithConfigUserinfoEndpoint0 ¶
func (t *OpenIdConnectWithConfig_UserinfoEndpoint) MergeOpenIdConnectWithConfigUserinfoEndpoint0(v OpenIdConnectWithConfigUserinfoEndpoint0) error
MergeOpenIdConnectWithConfigUserinfoEndpoint0 performs a merge with any union data inside the OpenIdConnectWithConfig_UserinfoEndpoint, using the provided OpenIdConnectWithConfigUserinfoEndpoint0
func (*OpenIdConnectWithConfig_UserinfoEndpoint) MergeOpenIdConnectWithConfigUserinfoEndpoint1 ¶
func (t *OpenIdConnectWithConfig_UserinfoEndpoint) MergeOpenIdConnectWithConfigUserinfoEndpoint1(v OpenIdConnectWithConfigUserinfoEndpoint1) error
MergeOpenIdConnectWithConfigUserinfoEndpoint1 performs a merge with any union data inside the OpenIdConnectWithConfig_UserinfoEndpoint, using the provided OpenIdConnectWithConfigUserinfoEndpoint1
func (*OpenIdConnectWithConfig_UserinfoEndpoint) UnmarshalJSON ¶
func (t *OpenIdConnectWithConfig_UserinfoEndpoint) UnmarshalJSON(b []byte) error
type OpenIdConnect_Description ¶
type OpenIdConnect_Description struct {
// contains filtered or unexported fields
}
OpenIdConnect_Description defines model for OpenIdConnect.Description.
func (OpenIdConnect_Description) AsOpenIdConnectDescription0 ¶
func (t OpenIdConnect_Description) AsOpenIdConnectDescription0() (OpenIdConnectDescription0, error)
AsOpenIdConnectDescription0 returns the union data inside the OpenIdConnect_Description as a OpenIdConnectDescription0
func (OpenIdConnect_Description) AsOpenIdConnectDescription1 ¶
func (t OpenIdConnect_Description) AsOpenIdConnectDescription1() (OpenIdConnectDescription1, error)
AsOpenIdConnectDescription1 returns the union data inside the OpenIdConnect_Description as a OpenIdConnectDescription1
func (*OpenIdConnect_Description) FromOpenIdConnectDescription0 ¶
func (t *OpenIdConnect_Description) FromOpenIdConnectDescription0(v OpenIdConnectDescription0) error
FromOpenIdConnectDescription0 overwrites any union data inside the OpenIdConnect_Description as the provided OpenIdConnectDescription0
func (*OpenIdConnect_Description) FromOpenIdConnectDescription1 ¶
func (t *OpenIdConnect_Description) FromOpenIdConnectDescription1(v OpenIdConnectDescription1) error
FromOpenIdConnectDescription1 overwrites any union data inside the OpenIdConnect_Description as the provided OpenIdConnectDescription1
func (OpenIdConnect_Description) MarshalJSON ¶
func (t OpenIdConnect_Description) MarshalJSON() ([]byte, error)
func (*OpenIdConnect_Description) MergeOpenIdConnectDescription0 ¶
func (t *OpenIdConnect_Description) MergeOpenIdConnectDescription0(v OpenIdConnectDescription0) error
MergeOpenIdConnectDescription0 performs a merge with any union data inside the OpenIdConnect_Description, using the provided OpenIdConnectDescription0
func (*OpenIdConnect_Description) MergeOpenIdConnectDescription1 ¶
func (t *OpenIdConnect_Description) MergeOpenIdConnectDescription1(v OpenIdConnectDescription1) error
MergeOpenIdConnectDescription1 performs a merge with any union data inside the OpenIdConnect_Description, using the provided OpenIdConnectDescription1
func (*OpenIdConnect_Description) UnmarshalJSON ¶
func (t *OpenIdConnect_Description) UnmarshalJSON(b []byte) error
type PartInput ¶
type PartInput struct {
// CodeExecutionResult Optional. Result of executing the [ExecutableCode].
CodeExecutionResult *PartInput_CodeExecutionResult `json:"codeExecutionResult,omitempty"`
// ExecutableCode Optional. Code generated by the model that is meant to be executed.
ExecutableCode *PartInput_ExecutableCode `json:"executableCode,omitempty"`
// FileData Optional. URI based data.
FileData *PartInput_FileData `json:"fileData,omitempty"`
// FunctionCall Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
FunctionCall *PartInput_FunctionCall `json:"functionCall,omitempty"`
// FunctionResponse Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
FunctionResponse *PartInput_FunctionResponse `json:"functionResponse,omitempty"`
// InlineData Optional. Inlined bytes data.
InlineData *PartInput_InlineData `json:"inlineData,omitempty"`
// Text Optional. Text part (can be code).
Text *PartInput_Text `json:"text,omitempty"`
// Thought Indicates if the part is thought from the model.
Thought *PartInput_Thought `json:"thought,omitempty"`
// VideoMetadata Metadata for a given video.
VideoMetadata *PartInput_VideoMetadata `json:"videoMetadata,omitempty"`
}
PartInput A datatype containing media content.
Exactly one field within a Part should be set, representing the specific type of content being conveyed. Using multiple fields within the same `Part` instance is considered invalid.
type PartInputCodeExecutionResult1 ¶
type PartInputCodeExecutionResult1 = string
PartInputCodeExecutionResult1 defines model for .
type PartInputExecutableCode1 ¶
type PartInputExecutableCode1 = string
PartInputExecutableCode1 defines model for .
type PartInputFunctionCall1 ¶
type PartInputFunctionCall1 = string
PartInputFunctionCall1 defines model for .
type PartInputFunctionResponse1 ¶
type PartInputFunctionResponse1 = string
PartInputFunctionResponse1 defines model for .
type PartInputInlineData1 ¶
type PartInputInlineData1 = string
PartInputInlineData1 defines model for .
type PartInputVideoMetadata1 ¶
type PartInputVideoMetadata1 = string
PartInputVideoMetadata1 defines model for .
type PartInput_CodeExecutionResult ¶
type PartInput_CodeExecutionResult struct {
// contains filtered or unexported fields
}
PartInput_CodeExecutionResult Optional. Result of executing the ExecutableCode.
func (PartInput_CodeExecutionResult) AsCodeExecutionResult ¶
func (t PartInput_CodeExecutionResult) AsCodeExecutionResult() (CodeExecutionResult, error)
AsCodeExecutionResult returns the union data inside the PartInput_CodeExecutionResult as a CodeExecutionResult
func (PartInput_CodeExecutionResult) AsPartInputCodeExecutionResult1 ¶
func (t PartInput_CodeExecutionResult) AsPartInputCodeExecutionResult1() (PartInputCodeExecutionResult1, error)
AsPartInputCodeExecutionResult1 returns the union data inside the PartInput_CodeExecutionResult as a PartInputCodeExecutionResult1
func (*PartInput_CodeExecutionResult) FromCodeExecutionResult ¶
func (t *PartInput_CodeExecutionResult) FromCodeExecutionResult(v CodeExecutionResult) error
FromCodeExecutionResult overwrites any union data inside the PartInput_CodeExecutionResult as the provided CodeExecutionResult
func (*PartInput_CodeExecutionResult) FromPartInputCodeExecutionResult1 ¶
func (t *PartInput_CodeExecutionResult) FromPartInputCodeExecutionResult1(v PartInputCodeExecutionResult1) error
FromPartInputCodeExecutionResult1 overwrites any union data inside the PartInput_CodeExecutionResult as the provided PartInputCodeExecutionResult1
func (PartInput_CodeExecutionResult) MarshalJSON ¶
func (t PartInput_CodeExecutionResult) MarshalJSON() ([]byte, error)
func (*PartInput_CodeExecutionResult) MergeCodeExecutionResult ¶
func (t *PartInput_CodeExecutionResult) MergeCodeExecutionResult(v CodeExecutionResult) error
MergeCodeExecutionResult performs a merge with any union data inside the PartInput_CodeExecutionResult, using the provided CodeExecutionResult
func (*PartInput_CodeExecutionResult) MergePartInputCodeExecutionResult1 ¶
func (t *PartInput_CodeExecutionResult) MergePartInputCodeExecutionResult1(v PartInputCodeExecutionResult1) error
MergePartInputCodeExecutionResult1 performs a merge with any union data inside the PartInput_CodeExecutionResult, using the provided PartInputCodeExecutionResult1
func (*PartInput_CodeExecutionResult) UnmarshalJSON ¶
func (t *PartInput_CodeExecutionResult) UnmarshalJSON(b []byte) error
type PartInput_ExecutableCode ¶
type PartInput_ExecutableCode struct {
// contains filtered or unexported fields
}
PartInput_ExecutableCode Optional. Code generated by the model that is meant to be executed.
func (PartInput_ExecutableCode) AsExecutableCode ¶
func (t PartInput_ExecutableCode) AsExecutableCode() (ExecutableCode, error)
AsExecutableCode returns the union data inside the PartInput_ExecutableCode as a ExecutableCode
func (PartInput_ExecutableCode) AsPartInputExecutableCode1 ¶
func (t PartInput_ExecutableCode) AsPartInputExecutableCode1() (PartInputExecutableCode1, error)
AsPartInputExecutableCode1 returns the union data inside the PartInput_ExecutableCode as a PartInputExecutableCode1
func (*PartInput_ExecutableCode) FromExecutableCode ¶
func (t *PartInput_ExecutableCode) FromExecutableCode(v ExecutableCode) error
FromExecutableCode overwrites any union data inside the PartInput_ExecutableCode as the provided ExecutableCode
func (*PartInput_ExecutableCode) FromPartInputExecutableCode1 ¶
func (t *PartInput_ExecutableCode) FromPartInputExecutableCode1(v PartInputExecutableCode1) error
FromPartInputExecutableCode1 overwrites any union data inside the PartInput_ExecutableCode as the provided PartInputExecutableCode1
func (PartInput_ExecutableCode) MarshalJSON ¶
func (t PartInput_ExecutableCode) MarshalJSON() ([]byte, error)
func (*PartInput_ExecutableCode) MergeExecutableCode ¶
func (t *PartInput_ExecutableCode) MergeExecutableCode(v ExecutableCode) error
MergeExecutableCode performs a merge with any union data inside the PartInput_ExecutableCode, using the provided ExecutableCode
func (*PartInput_ExecutableCode) MergePartInputExecutableCode1 ¶
func (t *PartInput_ExecutableCode) MergePartInputExecutableCode1(v PartInputExecutableCode1) error
MergePartInputExecutableCode1 performs a merge with any union data inside the PartInput_ExecutableCode, using the provided PartInputExecutableCode1
func (*PartInput_ExecutableCode) UnmarshalJSON ¶
func (t *PartInput_ExecutableCode) UnmarshalJSON(b []byte) error
type PartInput_FileData ¶
type PartInput_FileData struct {
// contains filtered or unexported fields
}
PartInput_FileData Optional. URI based data.
func (PartInput_FileData) AsFileData ¶
func (t PartInput_FileData) AsFileData() (FileData, error)
AsFileData returns the union data inside the PartInput_FileData as a FileData
func (PartInput_FileData) AsPartInputFileData1 ¶
func (t PartInput_FileData) AsPartInputFileData1() (PartInputFileData1, error)
AsPartInputFileData1 returns the union data inside the PartInput_FileData as a PartInputFileData1
func (*PartInput_FileData) FromFileData ¶
func (t *PartInput_FileData) FromFileData(v FileData) error
FromFileData overwrites any union data inside the PartInput_FileData as the provided FileData
func (*PartInput_FileData) FromPartInputFileData1 ¶
func (t *PartInput_FileData) FromPartInputFileData1(v PartInputFileData1) error
FromPartInputFileData1 overwrites any union data inside the PartInput_FileData as the provided PartInputFileData1
func (PartInput_FileData) MarshalJSON ¶
func (t PartInput_FileData) MarshalJSON() ([]byte, error)
func (*PartInput_FileData) MergeFileData ¶
func (t *PartInput_FileData) MergeFileData(v FileData) error
MergeFileData performs a merge with any union data inside the PartInput_FileData, using the provided FileData
func (*PartInput_FileData) MergePartInputFileData1 ¶
func (t *PartInput_FileData) MergePartInputFileData1(v PartInputFileData1) error
MergePartInputFileData1 performs a merge with any union data inside the PartInput_FileData, using the provided PartInputFileData1
func (*PartInput_FileData) UnmarshalJSON ¶
func (t *PartInput_FileData) UnmarshalJSON(b []byte) error
type PartInput_FunctionCall ¶
type PartInput_FunctionCall struct {
// contains filtered or unexported fields
}
PartInput_FunctionCall Optional. A predicted FunctionCall returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
func (PartInput_FunctionCall) AsFunctionCall ¶
func (t PartInput_FunctionCall) AsFunctionCall() (FunctionCall, error)
AsFunctionCall returns the union data inside the PartInput_FunctionCall as a FunctionCall
func (PartInput_FunctionCall) AsPartInputFunctionCall1 ¶
func (t PartInput_FunctionCall) AsPartInputFunctionCall1() (PartInputFunctionCall1, error)
AsPartInputFunctionCall1 returns the union data inside the PartInput_FunctionCall as a PartInputFunctionCall1
func (*PartInput_FunctionCall) FromFunctionCall ¶
func (t *PartInput_FunctionCall) FromFunctionCall(v FunctionCall) error
FromFunctionCall overwrites any union data inside the PartInput_FunctionCall as the provided FunctionCall
func (*PartInput_FunctionCall) FromPartInputFunctionCall1 ¶
func (t *PartInput_FunctionCall) FromPartInputFunctionCall1(v PartInputFunctionCall1) error
FromPartInputFunctionCall1 overwrites any union data inside the PartInput_FunctionCall as the provided PartInputFunctionCall1
func (PartInput_FunctionCall) MarshalJSON ¶
func (t PartInput_FunctionCall) MarshalJSON() ([]byte, error)
func (*PartInput_FunctionCall) MergeFunctionCall ¶
func (t *PartInput_FunctionCall) MergeFunctionCall(v FunctionCall) error
MergeFunctionCall performs a merge with any union data inside the PartInput_FunctionCall, using the provided FunctionCall
func (*PartInput_FunctionCall) MergePartInputFunctionCall1 ¶
func (t *PartInput_FunctionCall) MergePartInputFunctionCall1(v PartInputFunctionCall1) error
MergePartInputFunctionCall1 performs a merge with any union data inside the PartInput_FunctionCall, using the provided PartInputFunctionCall1
func (*PartInput_FunctionCall) UnmarshalJSON ¶
func (t *PartInput_FunctionCall) UnmarshalJSON(b []byte) error
type PartInput_FunctionResponse ¶
type PartInput_FunctionResponse struct {
// contains filtered or unexported fields
}
PartInput_FunctionResponse Optional. The result output of a FunctionCall that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
func (PartInput_FunctionResponse) AsFunctionResponse ¶
func (t PartInput_FunctionResponse) AsFunctionResponse() (FunctionResponse, error)
AsFunctionResponse returns the union data inside the PartInput_FunctionResponse as a FunctionResponse
func (PartInput_FunctionResponse) AsPartInputFunctionResponse1 ¶
func (t PartInput_FunctionResponse) AsPartInputFunctionResponse1() (PartInputFunctionResponse1, error)
AsPartInputFunctionResponse1 returns the union data inside the PartInput_FunctionResponse as a PartInputFunctionResponse1
func (*PartInput_FunctionResponse) FromFunctionResponse ¶
func (t *PartInput_FunctionResponse) FromFunctionResponse(v FunctionResponse) error
FromFunctionResponse overwrites any union data inside the PartInput_FunctionResponse as the provided FunctionResponse
func (*PartInput_FunctionResponse) FromPartInputFunctionResponse1 ¶
func (t *PartInput_FunctionResponse) FromPartInputFunctionResponse1(v PartInputFunctionResponse1) error
FromPartInputFunctionResponse1 overwrites any union data inside the PartInput_FunctionResponse as the provided PartInputFunctionResponse1
func (PartInput_FunctionResponse) MarshalJSON ¶
func (t PartInput_FunctionResponse) MarshalJSON() ([]byte, error)
func (*PartInput_FunctionResponse) MergeFunctionResponse ¶
func (t *PartInput_FunctionResponse) MergeFunctionResponse(v FunctionResponse) error
MergeFunctionResponse performs a merge with any union data inside the PartInput_FunctionResponse, using the provided FunctionResponse
func (*PartInput_FunctionResponse) MergePartInputFunctionResponse1 ¶
func (t *PartInput_FunctionResponse) MergePartInputFunctionResponse1(v PartInputFunctionResponse1) error
MergePartInputFunctionResponse1 performs a merge with any union data inside the PartInput_FunctionResponse, using the provided PartInputFunctionResponse1
func (*PartInput_FunctionResponse) UnmarshalJSON ¶
func (t *PartInput_FunctionResponse) UnmarshalJSON(b []byte) error
type PartInput_InlineData ¶
type PartInput_InlineData struct {
// contains filtered or unexported fields
}
PartInput_InlineData Optional. Inlined bytes data.
func (PartInput_InlineData) AsBlob ¶
func (t PartInput_InlineData) AsBlob() (Blob, error)
AsBlob returns the union data inside the PartInput_InlineData as a Blob
func (PartInput_InlineData) AsPartInputInlineData1 ¶
func (t PartInput_InlineData) AsPartInputInlineData1() (PartInputInlineData1, error)
AsPartInputInlineData1 returns the union data inside the PartInput_InlineData as a PartInputInlineData1
func (*PartInput_InlineData) FromBlob ¶
func (t *PartInput_InlineData) FromBlob(v Blob) error
FromBlob overwrites any union data inside the PartInput_InlineData as the provided Blob
func (*PartInput_InlineData) FromPartInputInlineData1 ¶
func (t *PartInput_InlineData) FromPartInputInlineData1(v PartInputInlineData1) error
FromPartInputInlineData1 overwrites any union data inside the PartInput_InlineData as the provided PartInputInlineData1
func (PartInput_InlineData) MarshalJSON ¶
func (t PartInput_InlineData) MarshalJSON() ([]byte, error)
func (*PartInput_InlineData) MergeBlob ¶
func (t *PartInput_InlineData) MergeBlob(v Blob) error
MergeBlob performs a merge with any union data inside the PartInput_InlineData, using the provided Blob
func (*PartInput_InlineData) MergePartInputInlineData1 ¶
func (t *PartInput_InlineData) MergePartInputInlineData1(v PartInputInlineData1) error
MergePartInputInlineData1 performs a merge with any union data inside the PartInput_InlineData, using the provided PartInputInlineData1
func (*PartInput_InlineData) UnmarshalJSON ¶
func (t *PartInput_InlineData) UnmarshalJSON(b []byte) error
type PartInput_Text ¶
type PartInput_Text struct {
// contains filtered or unexported fields
}
PartInput_Text Optional. Text part (can be code).
func (PartInput_Text) AsPartInputText0 ¶
func (t PartInput_Text) AsPartInputText0() (PartInputText0, error)
AsPartInputText0 returns the union data inside the PartInput_Text as a PartInputText0
func (PartInput_Text) AsPartInputText1 ¶
func (t PartInput_Text) AsPartInputText1() (PartInputText1, error)
AsPartInputText1 returns the union data inside the PartInput_Text as a PartInputText1
func (*PartInput_Text) FromPartInputText0 ¶
func (t *PartInput_Text) FromPartInputText0(v PartInputText0) error
FromPartInputText0 overwrites any union data inside the PartInput_Text as the provided PartInputText0
func (*PartInput_Text) FromPartInputText1 ¶
func (t *PartInput_Text) FromPartInputText1(v PartInputText1) error
FromPartInputText1 overwrites any union data inside the PartInput_Text as the provided PartInputText1
func (PartInput_Text) MarshalJSON ¶
func (t PartInput_Text) MarshalJSON() ([]byte, error)
func (*PartInput_Text) MergePartInputText0 ¶
func (t *PartInput_Text) MergePartInputText0(v PartInputText0) error
MergePartInputText0 performs a merge with any union data inside the PartInput_Text, using the provided PartInputText0
func (*PartInput_Text) MergePartInputText1 ¶
func (t *PartInput_Text) MergePartInputText1(v PartInputText1) error
MergePartInputText1 performs a merge with any union data inside the PartInput_Text, using the provided PartInputText1
func (*PartInput_Text) UnmarshalJSON ¶
func (t *PartInput_Text) UnmarshalJSON(b []byte) error
type PartInput_Thought ¶
type PartInput_Thought struct {
// contains filtered or unexported fields
}
PartInput_Thought Indicates if the part is thought from the model.
func (PartInput_Thought) AsPartInputThought0 ¶
func (t PartInput_Thought) AsPartInputThought0() (PartInputThought0, error)
AsPartInputThought0 returns the union data inside the PartInput_Thought as a PartInputThought0
func (PartInput_Thought) AsPartInputThought1 ¶
func (t PartInput_Thought) AsPartInputThought1() (PartInputThought1, error)
AsPartInputThought1 returns the union data inside the PartInput_Thought as a PartInputThought1
func (*PartInput_Thought) FromPartInputThought0 ¶
func (t *PartInput_Thought) FromPartInputThought0(v PartInputThought0) error
FromPartInputThought0 overwrites any union data inside the PartInput_Thought as the provided PartInputThought0
func (*PartInput_Thought) FromPartInputThought1 ¶
func (t *PartInput_Thought) FromPartInputThought1(v PartInputThought1) error
FromPartInputThought1 overwrites any union data inside the PartInput_Thought as the provided PartInputThought1
func (PartInput_Thought) MarshalJSON ¶
func (t PartInput_Thought) MarshalJSON() ([]byte, error)
func (*PartInput_Thought) MergePartInputThought0 ¶
func (t *PartInput_Thought) MergePartInputThought0(v PartInputThought0) error
MergePartInputThought0 performs a merge with any union data inside the PartInput_Thought, using the provided PartInputThought0
func (*PartInput_Thought) MergePartInputThought1 ¶
func (t *PartInput_Thought) MergePartInputThought1(v PartInputThought1) error
MergePartInputThought1 performs a merge with any union data inside the PartInput_Thought, using the provided PartInputThought1
func (*PartInput_Thought) UnmarshalJSON ¶
func (t *PartInput_Thought) UnmarshalJSON(b []byte) error
type PartInput_VideoMetadata ¶
type PartInput_VideoMetadata struct {
// contains filtered or unexported fields
}
PartInput_VideoMetadata Metadata for a given video.
func (PartInput_VideoMetadata) AsPartInputVideoMetadata1 ¶
func (t PartInput_VideoMetadata) AsPartInputVideoMetadata1() (PartInputVideoMetadata1, error)
AsPartInputVideoMetadata1 returns the union data inside the PartInput_VideoMetadata as a PartInputVideoMetadata1
func (PartInput_VideoMetadata) AsVideoMetadata ¶
func (t PartInput_VideoMetadata) AsVideoMetadata() (VideoMetadata, error)
AsVideoMetadata returns the union data inside the PartInput_VideoMetadata as a VideoMetadata
func (*PartInput_VideoMetadata) FromPartInputVideoMetadata1 ¶
func (t *PartInput_VideoMetadata) FromPartInputVideoMetadata1(v PartInputVideoMetadata1) error
FromPartInputVideoMetadata1 overwrites any union data inside the PartInput_VideoMetadata as the provided PartInputVideoMetadata1
func (*PartInput_VideoMetadata) FromVideoMetadata ¶
func (t *PartInput_VideoMetadata) FromVideoMetadata(v VideoMetadata) error
FromVideoMetadata overwrites any union data inside the PartInput_VideoMetadata as the provided VideoMetadata
func (PartInput_VideoMetadata) MarshalJSON ¶
func (t PartInput_VideoMetadata) MarshalJSON() ([]byte, error)
func (*PartInput_VideoMetadata) MergePartInputVideoMetadata1 ¶
func (t *PartInput_VideoMetadata) MergePartInputVideoMetadata1(v PartInputVideoMetadata1) error
MergePartInputVideoMetadata1 performs a merge with any union data inside the PartInput_VideoMetadata, using the provided PartInputVideoMetadata1
func (*PartInput_VideoMetadata) MergeVideoMetadata ¶
func (t *PartInput_VideoMetadata) MergeVideoMetadata(v VideoMetadata) error
MergeVideoMetadata performs a merge with any union data inside the PartInput_VideoMetadata, using the provided VideoMetadata
func (*PartInput_VideoMetadata) UnmarshalJSON ¶
func (t *PartInput_VideoMetadata) UnmarshalJSON(b []byte) error
type PartOutput ¶
type PartOutput struct {
// CodeExecutionResult Optional. Result of executing the [ExecutableCode].
CodeExecutionResult *PartOutput_CodeExecutionResult `json:"codeExecutionResult,omitempty"`
// ExecutableCode Optional. Code generated by the model that is meant to be executed.
ExecutableCode *PartOutput_ExecutableCode `json:"executableCode,omitempty"`
// FileData Optional. URI based data.
FileData *PartOutput_FileData `json:"fileData,omitempty"`
// FunctionCall Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
FunctionCall *PartOutput_FunctionCall `json:"functionCall,omitempty"`
// FunctionResponse Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
FunctionResponse *PartOutput_FunctionResponse `json:"functionResponse,omitempty"`
// InlineData Optional. Inlined bytes data.
InlineData *PartOutput_InlineData `json:"inlineData,omitempty"`
// Text Optional. Text part (can be code).
Text *PartOutput_Text `json:"text,omitempty"`
// Thought Indicates if the part is thought from the model.
Thought *PartOutput_Thought `json:"thought,omitempty"`
// VideoMetadata Metadata for a given video.
VideoMetadata *PartOutput_VideoMetadata `json:"videoMetadata,omitempty"`
}
PartOutput A datatype containing media content.
Exactly one field within a Part should be set, representing the specific type of content being conveyed. Using multiple fields within the same `Part` instance is considered invalid.
type PartOutputCodeExecutionResult1 ¶
type PartOutputCodeExecutionResult1 = string
PartOutputCodeExecutionResult1 defines model for .
type PartOutputExecutableCode1 ¶
type PartOutputExecutableCode1 = string
PartOutputExecutableCode1 defines model for .
type PartOutputFileData1 ¶
type PartOutputFileData1 = string
PartOutputFileData1 defines model for .
type PartOutputFunctionCall1 ¶
type PartOutputFunctionCall1 = string
PartOutputFunctionCall1 defines model for .
type PartOutputFunctionResponse1 ¶
type PartOutputFunctionResponse1 = string
PartOutputFunctionResponse1 defines model for .
type PartOutputInlineData1 ¶
type PartOutputInlineData1 = string
PartOutputInlineData1 defines model for .
type PartOutputVideoMetadata1 ¶
type PartOutputVideoMetadata1 = string
PartOutputVideoMetadata1 defines model for .
type PartOutput_CodeExecutionResult ¶
type PartOutput_CodeExecutionResult struct {
// contains filtered or unexported fields
}
PartOutput_CodeExecutionResult Optional. Result of executing the ExecutableCode.
func (PartOutput_CodeExecutionResult) AsCodeExecutionResult ¶
func (t PartOutput_CodeExecutionResult) AsCodeExecutionResult() (CodeExecutionResult, error)
AsCodeExecutionResult returns the union data inside the PartOutput_CodeExecutionResult as a CodeExecutionResult
func (PartOutput_CodeExecutionResult) AsPartOutputCodeExecutionResult1 ¶
func (t PartOutput_CodeExecutionResult) AsPartOutputCodeExecutionResult1() (PartOutputCodeExecutionResult1, error)
AsPartOutputCodeExecutionResult1 returns the union data inside the PartOutput_CodeExecutionResult as a PartOutputCodeExecutionResult1
func (*PartOutput_CodeExecutionResult) FromCodeExecutionResult ¶
func (t *PartOutput_CodeExecutionResult) FromCodeExecutionResult(v CodeExecutionResult) error
FromCodeExecutionResult overwrites any union data inside the PartOutput_CodeExecutionResult as the provided CodeExecutionResult
func (*PartOutput_CodeExecutionResult) FromPartOutputCodeExecutionResult1 ¶
func (t *PartOutput_CodeExecutionResult) FromPartOutputCodeExecutionResult1(v PartOutputCodeExecutionResult1) error
FromPartOutputCodeExecutionResult1 overwrites any union data inside the PartOutput_CodeExecutionResult as the provided PartOutputCodeExecutionResult1
func (PartOutput_CodeExecutionResult) MarshalJSON ¶
func (t PartOutput_CodeExecutionResult) MarshalJSON() ([]byte, error)
func (*PartOutput_CodeExecutionResult) MergeCodeExecutionResult ¶
func (t *PartOutput_CodeExecutionResult) MergeCodeExecutionResult(v CodeExecutionResult) error
MergeCodeExecutionResult performs a merge with any union data inside the PartOutput_CodeExecutionResult, using the provided CodeExecutionResult
func (*PartOutput_CodeExecutionResult) MergePartOutputCodeExecutionResult1 ¶
func (t *PartOutput_CodeExecutionResult) MergePartOutputCodeExecutionResult1(v PartOutputCodeExecutionResult1) error
MergePartOutputCodeExecutionResult1 performs a merge with any union data inside the PartOutput_CodeExecutionResult, using the provided PartOutputCodeExecutionResult1
func (*PartOutput_CodeExecutionResult) UnmarshalJSON ¶
func (t *PartOutput_CodeExecutionResult) UnmarshalJSON(b []byte) error
type PartOutput_ExecutableCode ¶
type PartOutput_ExecutableCode struct {
// contains filtered or unexported fields
}
PartOutput_ExecutableCode Optional. Code generated by the model that is meant to be executed.
func (PartOutput_ExecutableCode) AsExecutableCode ¶
func (t PartOutput_ExecutableCode) AsExecutableCode() (ExecutableCode, error)
AsExecutableCode returns the union data inside the PartOutput_ExecutableCode as a ExecutableCode
func (PartOutput_ExecutableCode) AsPartOutputExecutableCode1 ¶
func (t PartOutput_ExecutableCode) AsPartOutputExecutableCode1() (PartOutputExecutableCode1, error)
AsPartOutputExecutableCode1 returns the union data inside the PartOutput_ExecutableCode as a PartOutputExecutableCode1
func (*PartOutput_ExecutableCode) FromExecutableCode ¶
func (t *PartOutput_ExecutableCode) FromExecutableCode(v ExecutableCode) error
FromExecutableCode overwrites any union data inside the PartOutput_ExecutableCode as the provided ExecutableCode
func (*PartOutput_ExecutableCode) FromPartOutputExecutableCode1 ¶
func (t *PartOutput_ExecutableCode) FromPartOutputExecutableCode1(v PartOutputExecutableCode1) error
FromPartOutputExecutableCode1 overwrites any union data inside the PartOutput_ExecutableCode as the provided PartOutputExecutableCode1
func (PartOutput_ExecutableCode) MarshalJSON ¶
func (t PartOutput_ExecutableCode) MarshalJSON() ([]byte, error)
func (*PartOutput_ExecutableCode) MergeExecutableCode ¶
func (t *PartOutput_ExecutableCode) MergeExecutableCode(v ExecutableCode) error
MergeExecutableCode performs a merge with any union data inside the PartOutput_ExecutableCode, using the provided ExecutableCode
func (*PartOutput_ExecutableCode) MergePartOutputExecutableCode1 ¶
func (t *PartOutput_ExecutableCode) MergePartOutputExecutableCode1(v PartOutputExecutableCode1) error
MergePartOutputExecutableCode1 performs a merge with any union data inside the PartOutput_ExecutableCode, using the provided PartOutputExecutableCode1
func (*PartOutput_ExecutableCode) UnmarshalJSON ¶
func (t *PartOutput_ExecutableCode) UnmarshalJSON(b []byte) error
type PartOutput_FileData ¶
type PartOutput_FileData struct {
// contains filtered or unexported fields
}
PartOutput_FileData Optional. URI based data.
func (PartOutput_FileData) AsFileData ¶
func (t PartOutput_FileData) AsFileData() (FileData, error)
AsFileData returns the union data inside the PartOutput_FileData as a FileData
func (PartOutput_FileData) AsPartOutputFileData1 ¶
func (t PartOutput_FileData) AsPartOutputFileData1() (PartOutputFileData1, error)
AsPartOutputFileData1 returns the union data inside the PartOutput_FileData as a PartOutputFileData1
func (*PartOutput_FileData) FromFileData ¶
func (t *PartOutput_FileData) FromFileData(v FileData) error
FromFileData overwrites any union data inside the PartOutput_FileData as the provided FileData
func (*PartOutput_FileData) FromPartOutputFileData1 ¶
func (t *PartOutput_FileData) FromPartOutputFileData1(v PartOutputFileData1) error
FromPartOutputFileData1 overwrites any union data inside the PartOutput_FileData as the provided PartOutputFileData1
func (PartOutput_FileData) MarshalJSON ¶
func (t PartOutput_FileData) MarshalJSON() ([]byte, error)
func (*PartOutput_FileData) MergeFileData ¶
func (t *PartOutput_FileData) MergeFileData(v FileData) error
MergeFileData performs a merge with any union data inside the PartOutput_FileData, using the provided FileData
func (*PartOutput_FileData) MergePartOutputFileData1 ¶
func (t *PartOutput_FileData) MergePartOutputFileData1(v PartOutputFileData1) error
MergePartOutputFileData1 performs a merge with any union data inside the PartOutput_FileData, using the provided PartOutputFileData1
func (*PartOutput_FileData) UnmarshalJSON ¶
func (t *PartOutput_FileData) UnmarshalJSON(b []byte) error
type PartOutput_FunctionCall ¶
type PartOutput_FunctionCall struct {
// contains filtered or unexported fields
}
PartOutput_FunctionCall Optional. A predicted FunctionCall returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
func (PartOutput_FunctionCall) AsFunctionCall ¶
func (t PartOutput_FunctionCall) AsFunctionCall() (FunctionCall, error)
AsFunctionCall returns the union data inside the PartOutput_FunctionCall as a FunctionCall
func (PartOutput_FunctionCall) AsPartOutputFunctionCall1 ¶
func (t PartOutput_FunctionCall) AsPartOutputFunctionCall1() (PartOutputFunctionCall1, error)
AsPartOutputFunctionCall1 returns the union data inside the PartOutput_FunctionCall as a PartOutputFunctionCall1
func (*PartOutput_FunctionCall) FromFunctionCall ¶
func (t *PartOutput_FunctionCall) FromFunctionCall(v FunctionCall) error
FromFunctionCall overwrites any union data inside the PartOutput_FunctionCall as the provided FunctionCall
func (*PartOutput_FunctionCall) FromPartOutputFunctionCall1 ¶
func (t *PartOutput_FunctionCall) FromPartOutputFunctionCall1(v PartOutputFunctionCall1) error
FromPartOutputFunctionCall1 overwrites any union data inside the PartOutput_FunctionCall as the provided PartOutputFunctionCall1
func (PartOutput_FunctionCall) MarshalJSON ¶
func (t PartOutput_FunctionCall) MarshalJSON() ([]byte, error)
func (*PartOutput_FunctionCall) MergeFunctionCall ¶
func (t *PartOutput_FunctionCall) MergeFunctionCall(v FunctionCall) error
MergeFunctionCall performs a merge with any union data inside the PartOutput_FunctionCall, using the provided FunctionCall
func (*PartOutput_FunctionCall) MergePartOutputFunctionCall1 ¶
func (t *PartOutput_FunctionCall) MergePartOutputFunctionCall1(v PartOutputFunctionCall1) error
MergePartOutputFunctionCall1 performs a merge with any union data inside the PartOutput_FunctionCall, using the provided PartOutputFunctionCall1
func (*PartOutput_FunctionCall) UnmarshalJSON ¶
func (t *PartOutput_FunctionCall) UnmarshalJSON(b []byte) error
type PartOutput_FunctionResponse ¶
type PartOutput_FunctionResponse struct {
// contains filtered or unexported fields
}
PartOutput_FunctionResponse Optional. The result output of a FunctionCall that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
func (PartOutput_FunctionResponse) AsFunctionResponse ¶
func (t PartOutput_FunctionResponse) AsFunctionResponse() (FunctionResponse, error)
AsFunctionResponse returns the union data inside the PartOutput_FunctionResponse as a FunctionResponse
func (PartOutput_FunctionResponse) AsPartOutputFunctionResponse1 ¶
func (t PartOutput_FunctionResponse) AsPartOutputFunctionResponse1() (PartOutputFunctionResponse1, error)
AsPartOutputFunctionResponse1 returns the union data inside the PartOutput_FunctionResponse as a PartOutputFunctionResponse1
func (*PartOutput_FunctionResponse) FromFunctionResponse ¶
func (t *PartOutput_FunctionResponse) FromFunctionResponse(v FunctionResponse) error
FromFunctionResponse overwrites any union data inside the PartOutput_FunctionResponse as the provided FunctionResponse
func (*PartOutput_FunctionResponse) FromPartOutputFunctionResponse1 ¶
func (t *PartOutput_FunctionResponse) FromPartOutputFunctionResponse1(v PartOutputFunctionResponse1) error
FromPartOutputFunctionResponse1 overwrites any union data inside the PartOutput_FunctionResponse as the provided PartOutputFunctionResponse1
func (PartOutput_FunctionResponse) MarshalJSON ¶
func (t PartOutput_FunctionResponse) MarshalJSON() ([]byte, error)
func (*PartOutput_FunctionResponse) MergeFunctionResponse ¶
func (t *PartOutput_FunctionResponse) MergeFunctionResponse(v FunctionResponse) error
MergeFunctionResponse performs a merge with any union data inside the PartOutput_FunctionResponse, using the provided FunctionResponse
func (*PartOutput_FunctionResponse) MergePartOutputFunctionResponse1 ¶
func (t *PartOutput_FunctionResponse) MergePartOutputFunctionResponse1(v PartOutputFunctionResponse1) error
MergePartOutputFunctionResponse1 performs a merge with any union data inside the PartOutput_FunctionResponse, using the provided PartOutputFunctionResponse1
func (*PartOutput_FunctionResponse) UnmarshalJSON ¶
func (t *PartOutput_FunctionResponse) UnmarshalJSON(b []byte) error
type PartOutput_InlineData ¶
type PartOutput_InlineData struct {
// contains filtered or unexported fields
}
PartOutput_InlineData Optional. Inlined bytes data.
func (PartOutput_InlineData) AsBlob ¶
func (t PartOutput_InlineData) AsBlob() (Blob, error)
AsBlob returns the union data inside the PartOutput_InlineData as a Blob
func (PartOutput_InlineData) AsPartOutputInlineData1 ¶
func (t PartOutput_InlineData) AsPartOutputInlineData1() (PartOutputInlineData1, error)
AsPartOutputInlineData1 returns the union data inside the PartOutput_InlineData as a PartOutputInlineData1
func (*PartOutput_InlineData) FromBlob ¶
func (t *PartOutput_InlineData) FromBlob(v Blob) error
FromBlob overwrites any union data inside the PartOutput_InlineData as the provided Blob
func (*PartOutput_InlineData) FromPartOutputInlineData1 ¶
func (t *PartOutput_InlineData) FromPartOutputInlineData1(v PartOutputInlineData1) error
FromPartOutputInlineData1 overwrites any union data inside the PartOutput_InlineData as the provided PartOutputInlineData1
func (PartOutput_InlineData) MarshalJSON ¶
func (t PartOutput_InlineData) MarshalJSON() ([]byte, error)
func (*PartOutput_InlineData) MergeBlob ¶
func (t *PartOutput_InlineData) MergeBlob(v Blob) error
MergeBlob performs a merge with any union data inside the PartOutput_InlineData, using the provided Blob
func (*PartOutput_InlineData) MergePartOutputInlineData1 ¶
func (t *PartOutput_InlineData) MergePartOutputInlineData1(v PartOutputInlineData1) error
MergePartOutputInlineData1 performs a merge with any union data inside the PartOutput_InlineData, using the provided PartOutputInlineData1
func (*PartOutput_InlineData) UnmarshalJSON ¶
func (t *PartOutput_InlineData) UnmarshalJSON(b []byte) error
type PartOutput_Text ¶
type PartOutput_Text struct {
// contains filtered or unexported fields
}
PartOutput_Text Optional. Text part (can be code).
func (PartOutput_Text) AsPartOutputText0 ¶
func (t PartOutput_Text) AsPartOutputText0() (PartOutputText0, error)
AsPartOutputText0 returns the union data inside the PartOutput_Text as a PartOutputText0
func (PartOutput_Text) AsPartOutputText1 ¶
func (t PartOutput_Text) AsPartOutputText1() (PartOutputText1, error)
AsPartOutputText1 returns the union data inside the PartOutput_Text as a PartOutputText1
func (*PartOutput_Text) FromPartOutputText0 ¶
func (t *PartOutput_Text) FromPartOutputText0(v PartOutputText0) error
FromPartOutputText0 overwrites any union data inside the PartOutput_Text as the provided PartOutputText0
func (*PartOutput_Text) FromPartOutputText1 ¶
func (t *PartOutput_Text) FromPartOutputText1(v PartOutputText1) error
FromPartOutputText1 overwrites any union data inside the PartOutput_Text as the provided PartOutputText1
func (PartOutput_Text) MarshalJSON ¶
func (t PartOutput_Text) MarshalJSON() ([]byte, error)
func (*PartOutput_Text) MergePartOutputText0 ¶
func (t *PartOutput_Text) MergePartOutputText0(v PartOutputText0) error
MergePartOutputText0 performs a merge with any union data inside the PartOutput_Text, using the provided PartOutputText0
func (*PartOutput_Text) MergePartOutputText1 ¶
func (t *PartOutput_Text) MergePartOutputText1(v PartOutputText1) error
MergePartOutputText1 performs a merge with any union data inside the PartOutput_Text, using the provided PartOutputText1
func (*PartOutput_Text) UnmarshalJSON ¶
func (t *PartOutput_Text) UnmarshalJSON(b []byte) error
type PartOutput_Thought ¶
type PartOutput_Thought struct {
// contains filtered or unexported fields
}
PartOutput_Thought Indicates if the part is thought from the model.
func (PartOutput_Thought) AsPartOutputThought0 ¶
func (t PartOutput_Thought) AsPartOutputThought0() (PartOutputThought0, error)
AsPartOutputThought0 returns the union data inside the PartOutput_Thought as a PartOutputThought0
func (PartOutput_Thought) AsPartOutputThought1 ¶
func (t PartOutput_Thought) AsPartOutputThought1() (PartOutputThought1, error)
AsPartOutputThought1 returns the union data inside the PartOutput_Thought as a PartOutputThought1
func (*PartOutput_Thought) FromPartOutputThought0 ¶
func (t *PartOutput_Thought) FromPartOutputThought0(v PartOutputThought0) error
FromPartOutputThought0 overwrites any union data inside the PartOutput_Thought as the provided PartOutputThought0
func (*PartOutput_Thought) FromPartOutputThought1 ¶
func (t *PartOutput_Thought) FromPartOutputThought1(v PartOutputThought1) error
FromPartOutputThought1 overwrites any union data inside the PartOutput_Thought as the provided PartOutputThought1
func (PartOutput_Thought) MarshalJSON ¶
func (t PartOutput_Thought) MarshalJSON() ([]byte, error)
func (*PartOutput_Thought) MergePartOutputThought0 ¶
func (t *PartOutput_Thought) MergePartOutputThought0(v PartOutputThought0) error
MergePartOutputThought0 performs a merge with any union data inside the PartOutput_Thought, using the provided PartOutputThought0
func (*PartOutput_Thought) MergePartOutputThought1 ¶
func (t *PartOutput_Thought) MergePartOutputThought1(v PartOutputThought1) error
MergePartOutputThought1 performs a merge with any union data inside the PartOutput_Thought, using the provided PartOutputThought1
func (*PartOutput_Thought) UnmarshalJSON ¶
func (t *PartOutput_Thought) UnmarshalJSON(b []byte) error
type PartOutput_VideoMetadata ¶
type PartOutput_VideoMetadata struct {
// contains filtered or unexported fields
}
PartOutput_VideoMetadata Metadata for a given video.
func (PartOutput_VideoMetadata) AsPartOutputVideoMetadata1 ¶
func (t PartOutput_VideoMetadata) AsPartOutputVideoMetadata1() (PartOutputVideoMetadata1, error)
AsPartOutputVideoMetadata1 returns the union data inside the PartOutput_VideoMetadata as a PartOutputVideoMetadata1
func (PartOutput_VideoMetadata) AsVideoMetadata ¶
func (t PartOutput_VideoMetadata) AsVideoMetadata() (VideoMetadata, error)
AsVideoMetadata returns the union data inside the PartOutput_VideoMetadata as a VideoMetadata
func (*PartOutput_VideoMetadata) FromPartOutputVideoMetadata1 ¶
func (t *PartOutput_VideoMetadata) FromPartOutputVideoMetadata1(v PartOutputVideoMetadata1) error
FromPartOutputVideoMetadata1 overwrites any union data inside the PartOutput_VideoMetadata as the provided PartOutputVideoMetadata1
func (*PartOutput_VideoMetadata) FromVideoMetadata ¶
func (t *PartOutput_VideoMetadata) FromVideoMetadata(v VideoMetadata) error
FromVideoMetadata overwrites any union data inside the PartOutput_VideoMetadata as the provided VideoMetadata
func (PartOutput_VideoMetadata) MarshalJSON ¶
func (t PartOutput_VideoMetadata) MarshalJSON() ([]byte, error)
func (*PartOutput_VideoMetadata) MergePartOutputVideoMetadata1 ¶
func (t *PartOutput_VideoMetadata) MergePartOutputVideoMetadata1(v PartOutputVideoMetadata1) error
MergePartOutputVideoMetadata1 performs a merge with any union data inside the PartOutput_VideoMetadata, using the provided PartOutputVideoMetadata1
func (*PartOutput_VideoMetadata) MergeVideoMetadata ¶
func (t *PartOutput_VideoMetadata) MergeVideoMetadata(v VideoMetadata) error
MergeVideoMetadata performs a merge with any union data inside the PartOutput_VideoMetadata, using the provided VideoMetadata
func (*PartOutput_VideoMetadata) UnmarshalJSON ¶
func (t *PartOutput_VideoMetadata) UnmarshalJSON(b []byte) error
type RedirectToDevUiResponse ¶
type RedirectToDevUiResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseRedirectToDevUiResponse ¶
func ParseRedirectToDevUiResponse(rsp *http.Response) (*RedirectToDevUiResponse, error)
ParseRedirectToDevUiResponse parses an HTTP response from a RedirectToDevUiWithResponse call
func (RedirectToDevUiResponse) Status ¶
func (r RedirectToDevUiResponse) Status() string
Status returns HTTPResponse.Status
func (RedirectToDevUiResponse) StatusCode ¶
func (r RedirectToDevUiResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RetrievalMetadata ¶
type RetrievalMetadata struct {
// GoogleSearchDynamicRetrievalScore Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.
GoogleSearchDynamicRetrievalScore *RetrievalMetadata_GoogleSearchDynamicRetrievalScore `json:"googleSearchDynamicRetrievalScore,omitempty"`
}
RetrievalMetadata Metadata related to retrieval in the grounding flow.
type RetrievalMetadataGoogleSearchDynamicRetrievalScore0 ¶
type RetrievalMetadataGoogleSearchDynamicRetrievalScore0 = float32
RetrievalMetadataGoogleSearchDynamicRetrievalScore0 defines model for .
type RetrievalMetadataGoogleSearchDynamicRetrievalScore1 ¶
type RetrievalMetadataGoogleSearchDynamicRetrievalScore1 = string
RetrievalMetadataGoogleSearchDynamicRetrievalScore1 defines model for .
type RetrievalMetadata_GoogleSearchDynamicRetrievalScore ¶
type RetrievalMetadata_GoogleSearchDynamicRetrievalScore struct {
// contains filtered or unexported fields
}
RetrievalMetadata_GoogleSearchDynamicRetrievalScore Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.
func (RetrievalMetadata_GoogleSearchDynamicRetrievalScore) AsRetrievalMetadataGoogleSearchDynamicRetrievalScore0 ¶
func (t RetrievalMetadata_GoogleSearchDynamicRetrievalScore) AsRetrievalMetadataGoogleSearchDynamicRetrievalScore0() (RetrievalMetadataGoogleSearchDynamicRetrievalScore0, error)
AsRetrievalMetadataGoogleSearchDynamicRetrievalScore0 returns the union data inside the RetrievalMetadata_GoogleSearchDynamicRetrievalScore as a RetrievalMetadataGoogleSearchDynamicRetrievalScore0
func (RetrievalMetadata_GoogleSearchDynamicRetrievalScore) AsRetrievalMetadataGoogleSearchDynamicRetrievalScore1 ¶
func (t RetrievalMetadata_GoogleSearchDynamicRetrievalScore) AsRetrievalMetadataGoogleSearchDynamicRetrievalScore1() (RetrievalMetadataGoogleSearchDynamicRetrievalScore1, error)
AsRetrievalMetadataGoogleSearchDynamicRetrievalScore1 returns the union data inside the RetrievalMetadata_GoogleSearchDynamicRetrievalScore as a RetrievalMetadataGoogleSearchDynamicRetrievalScore1
func (*RetrievalMetadata_GoogleSearchDynamicRetrievalScore) FromRetrievalMetadataGoogleSearchDynamicRetrievalScore0 ¶
func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) FromRetrievalMetadataGoogleSearchDynamicRetrievalScore0(v RetrievalMetadataGoogleSearchDynamicRetrievalScore0) error
FromRetrievalMetadataGoogleSearchDynamicRetrievalScore0 overwrites any union data inside the RetrievalMetadata_GoogleSearchDynamicRetrievalScore as the provided RetrievalMetadataGoogleSearchDynamicRetrievalScore0
func (*RetrievalMetadata_GoogleSearchDynamicRetrievalScore) FromRetrievalMetadataGoogleSearchDynamicRetrievalScore1 ¶
func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) FromRetrievalMetadataGoogleSearchDynamicRetrievalScore1(v RetrievalMetadataGoogleSearchDynamicRetrievalScore1) error
FromRetrievalMetadataGoogleSearchDynamicRetrievalScore1 overwrites any union data inside the RetrievalMetadata_GoogleSearchDynamicRetrievalScore as the provided RetrievalMetadataGoogleSearchDynamicRetrievalScore1
func (RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MarshalJSON ¶
func (t RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MarshalJSON() ([]byte, error)
func (*RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore0 ¶
func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore0(v RetrievalMetadataGoogleSearchDynamicRetrievalScore0) error
MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore0 performs a merge with any union data inside the RetrievalMetadata_GoogleSearchDynamicRetrievalScore, using the provided RetrievalMetadataGoogleSearchDynamicRetrievalScore0
func (*RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore1 ¶
func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore1(v RetrievalMetadataGoogleSearchDynamicRetrievalScore1) error
MergeRetrievalMetadataGoogleSearchDynamicRetrievalScore1 performs a merge with any union data inside the RetrievalMetadata_GoogleSearchDynamicRetrievalScore, using the provided RetrievalMetadataGoogleSearchDynamicRetrievalScore1
func (*RetrievalMetadata_GoogleSearchDynamicRetrievalScore) UnmarshalJSON ¶
func (t *RetrievalMetadata_GoogleSearchDynamicRetrievalScore) UnmarshalJSON(b []byte) error
type RunEvalJSONRequestBody ¶
type RunEvalJSONRequestBody = RunEvalRequest
RunEvalJSONRequestBody defines body for RunEval for application/json ContentType.
type RunEvalRequest ¶
type RunEvalRequest struct {
EvalIds []string `json:"eval_ids"`
EvalMetrics []EvalMetric `json:"eval_metrics"`
}
RunEvalRequest defines model for RunEvalRequest.
type RunEvalResponse ¶
type RunEvalResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]RunEvalResult
JSON422 *HTTPValidationError
}
func ParseRunEvalResponse ¶
func ParseRunEvalResponse(rsp *http.Response) (*RunEvalResponse, error)
ParseRunEvalResponse parses an HTTP response from a RunEvalWithResponse call
func (RunEvalResponse) Status ¶
func (r RunEvalResponse) Status() string
Status returns HTTPResponse.Status
func (RunEvalResponse) StatusCode ¶
func (r RunEvalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunEvalResult ¶
type RunEvalResult struct {
EvalId string `json:"eval_id"`
EvalMetricResults [][]interface{} `json:"eval_metric_results"`
EvalSetId string `json:"eval_set_id"`
FinalEvalStatus EvalStatus `json:"final_eval_status"`
SessionId string `json:"session_id"`
}
RunEvalResult defines model for RunEvalResult.
type RunJSONRequestBody ¶
type RunJSONRequestBody = AgentRunRequest
RunJSONRequestBody defines body for Run for application/json ContentType.
type RunResponse ¶
type RunResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Event
JSON422 *HTTPValidationError
}
func ParseRunResponse ¶
func ParseRunResponse(rsp *http.Response) (*RunResponse, error)
ParseRunResponse parses an HTTP response from a RunWithResponse call
func (RunResponse) StatusCode ¶
func (r RunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunSseJSONRequestBody ¶
type RunSseJSONRequestBody = AgentRunRequest
RunSseJSONRequestBody defines body for RunSse for application/json ContentType.
type RunSseResponse ¶
type RunSseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseRunSseResponse ¶
func ParseRunSseResponse(rsp *http.Response) (*RunSseResponse, error)
ParseRunSseResponse parses an HTTP response from a RunSseWithResponse call
func (RunSseResponse) Status ¶
func (r RunSseResponse) Status() string
Status returns HTTPResponse.Status
func (RunSseResponse) StatusCode ¶
func (r RunSseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchEntryPoint ¶
type SearchEntryPoint struct {
// RenderedContent Optional. Web content snippet that can be embedded in a web page or an app webview.
RenderedContent *SearchEntryPoint_RenderedContent `json:"renderedContent,omitempty"`
// SdkBlob Optional. Base64 encoded JSON representing array of tuple.
SdkBlob *SearchEntryPoint_SdkBlob `json:"sdkBlob,omitempty"`
}
SearchEntryPoint Google search entry point.
type SearchEntryPointRenderedContent0 ¶
type SearchEntryPointRenderedContent0 = string
SearchEntryPointRenderedContent0 defines model for .
type SearchEntryPointRenderedContent1 ¶
type SearchEntryPointRenderedContent1 = string
SearchEntryPointRenderedContent1 defines model for .
type SearchEntryPointSdkBlob0 ¶
type SearchEntryPointSdkBlob0 = string
SearchEntryPointSdkBlob0 defines model for .
type SearchEntryPointSdkBlob1 ¶
type SearchEntryPointSdkBlob1 = string
SearchEntryPointSdkBlob1 defines model for .
type SearchEntryPoint_RenderedContent ¶
type SearchEntryPoint_RenderedContent struct {
// contains filtered or unexported fields
}
SearchEntryPoint_RenderedContent Optional. Web content snippet that can be embedded in a web page or an app webview.
func (SearchEntryPoint_RenderedContent) AsSearchEntryPointRenderedContent0 ¶
func (t SearchEntryPoint_RenderedContent) AsSearchEntryPointRenderedContent0() (SearchEntryPointRenderedContent0, error)
AsSearchEntryPointRenderedContent0 returns the union data inside the SearchEntryPoint_RenderedContent as a SearchEntryPointRenderedContent0
func (SearchEntryPoint_RenderedContent) AsSearchEntryPointRenderedContent1 ¶
func (t SearchEntryPoint_RenderedContent) AsSearchEntryPointRenderedContent1() (SearchEntryPointRenderedContent1, error)
AsSearchEntryPointRenderedContent1 returns the union data inside the SearchEntryPoint_RenderedContent as a SearchEntryPointRenderedContent1
func (*SearchEntryPoint_RenderedContent) FromSearchEntryPointRenderedContent0 ¶
func (t *SearchEntryPoint_RenderedContent) FromSearchEntryPointRenderedContent0(v SearchEntryPointRenderedContent0) error
FromSearchEntryPointRenderedContent0 overwrites any union data inside the SearchEntryPoint_RenderedContent as the provided SearchEntryPointRenderedContent0
func (*SearchEntryPoint_RenderedContent) FromSearchEntryPointRenderedContent1 ¶
func (t *SearchEntryPoint_RenderedContent) FromSearchEntryPointRenderedContent1(v SearchEntryPointRenderedContent1) error
FromSearchEntryPointRenderedContent1 overwrites any union data inside the SearchEntryPoint_RenderedContent as the provided SearchEntryPointRenderedContent1
func (SearchEntryPoint_RenderedContent) MarshalJSON ¶
func (t SearchEntryPoint_RenderedContent) MarshalJSON() ([]byte, error)
func (*SearchEntryPoint_RenderedContent) MergeSearchEntryPointRenderedContent0 ¶
func (t *SearchEntryPoint_RenderedContent) MergeSearchEntryPointRenderedContent0(v SearchEntryPointRenderedContent0) error
MergeSearchEntryPointRenderedContent0 performs a merge with any union data inside the SearchEntryPoint_RenderedContent, using the provided SearchEntryPointRenderedContent0
func (*SearchEntryPoint_RenderedContent) MergeSearchEntryPointRenderedContent1 ¶
func (t *SearchEntryPoint_RenderedContent) MergeSearchEntryPointRenderedContent1(v SearchEntryPointRenderedContent1) error
MergeSearchEntryPointRenderedContent1 performs a merge with any union data inside the SearchEntryPoint_RenderedContent, using the provided SearchEntryPointRenderedContent1
func (*SearchEntryPoint_RenderedContent) UnmarshalJSON ¶
func (t *SearchEntryPoint_RenderedContent) UnmarshalJSON(b []byte) error
type SearchEntryPoint_SdkBlob ¶
type SearchEntryPoint_SdkBlob struct {
// contains filtered or unexported fields
}
SearchEntryPoint_SdkBlob Optional. Base64 encoded JSON representing array of tuple.
func (SearchEntryPoint_SdkBlob) AsSearchEntryPointSdkBlob0 ¶
func (t SearchEntryPoint_SdkBlob) AsSearchEntryPointSdkBlob0() (SearchEntryPointSdkBlob0, error)
AsSearchEntryPointSdkBlob0 returns the union data inside the SearchEntryPoint_SdkBlob as a SearchEntryPointSdkBlob0
func (SearchEntryPoint_SdkBlob) AsSearchEntryPointSdkBlob1 ¶
func (t SearchEntryPoint_SdkBlob) AsSearchEntryPointSdkBlob1() (SearchEntryPointSdkBlob1, error)
AsSearchEntryPointSdkBlob1 returns the union data inside the SearchEntryPoint_SdkBlob as a SearchEntryPointSdkBlob1
func (*SearchEntryPoint_SdkBlob) FromSearchEntryPointSdkBlob0 ¶
func (t *SearchEntryPoint_SdkBlob) FromSearchEntryPointSdkBlob0(v SearchEntryPointSdkBlob0) error
FromSearchEntryPointSdkBlob0 overwrites any union data inside the SearchEntryPoint_SdkBlob as the provided SearchEntryPointSdkBlob0
func (*SearchEntryPoint_SdkBlob) FromSearchEntryPointSdkBlob1 ¶
func (t *SearchEntryPoint_SdkBlob) FromSearchEntryPointSdkBlob1(v SearchEntryPointSdkBlob1) error
FromSearchEntryPointSdkBlob1 overwrites any union data inside the SearchEntryPoint_SdkBlob as the provided SearchEntryPointSdkBlob1
func (SearchEntryPoint_SdkBlob) MarshalJSON ¶
func (t SearchEntryPoint_SdkBlob) MarshalJSON() ([]byte, error)
func (*SearchEntryPoint_SdkBlob) MergeSearchEntryPointSdkBlob0 ¶
func (t *SearchEntryPoint_SdkBlob) MergeSearchEntryPointSdkBlob0(v SearchEntryPointSdkBlob0) error
MergeSearchEntryPointSdkBlob0 performs a merge with any union data inside the SearchEntryPoint_SdkBlob, using the provided SearchEntryPointSdkBlob0
func (*SearchEntryPoint_SdkBlob) MergeSearchEntryPointSdkBlob1 ¶
func (t *SearchEntryPoint_SdkBlob) MergeSearchEntryPointSdkBlob1(v SearchEntryPointSdkBlob1) error
MergeSearchEntryPointSdkBlob1 performs a merge with any union data inside the SearchEntryPoint_SdkBlob, using the provided SearchEntryPointSdkBlob1
func (*SearchEntryPoint_SdkBlob) UnmarshalJSON ¶
func (t *SearchEntryPoint_SdkBlob) UnmarshalJSON(b []byte) error
type SecuritySchemeType ¶
type SecuritySchemeType string
SecuritySchemeType defines model for SecuritySchemeType.
const ( SecuritySchemeTypeApiKey SecuritySchemeType = "apiKey" SecuritySchemeTypeHttp SecuritySchemeType = "http" SecuritySchemeTypeOauth2 SecuritySchemeType = "oauth2" SecuritySchemeTypeOpenIdConnect SecuritySchemeType = "openIdConnect" )
Defines values for SecuritySchemeType.
type Segment ¶
type Segment struct {
// EndIndex Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
EndIndex *Segment_EndIndex `json:"endIndex,omitempty"`
// PartIndex Output only. The index of a Part object within its parent Content object.
PartIndex *Segment_PartIndex `json:"partIndex,omitempty"`
// StartIndex Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
StartIndex *Segment_StartIndex `json:"startIndex,omitempty"`
// Text Output only. The text corresponding to the segment from the response.
Text *Segment_Text `json:"text,omitempty"`
}
Segment Segment of the content.
type Segment_EndIndex ¶
type Segment_EndIndex struct {
// contains filtered or unexported fields
}
Segment_EndIndex Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.
func (Segment_EndIndex) AsSegmentEndIndex0 ¶
func (t Segment_EndIndex) AsSegmentEndIndex0() (SegmentEndIndex0, error)
AsSegmentEndIndex0 returns the union data inside the Segment_EndIndex as a SegmentEndIndex0
func (Segment_EndIndex) AsSegmentEndIndex1 ¶
func (t Segment_EndIndex) AsSegmentEndIndex1() (SegmentEndIndex1, error)
AsSegmentEndIndex1 returns the union data inside the Segment_EndIndex as a SegmentEndIndex1
func (*Segment_EndIndex) FromSegmentEndIndex0 ¶
func (t *Segment_EndIndex) FromSegmentEndIndex0(v SegmentEndIndex0) error
FromSegmentEndIndex0 overwrites any union data inside the Segment_EndIndex as the provided SegmentEndIndex0
func (*Segment_EndIndex) FromSegmentEndIndex1 ¶
func (t *Segment_EndIndex) FromSegmentEndIndex1(v SegmentEndIndex1) error
FromSegmentEndIndex1 overwrites any union data inside the Segment_EndIndex as the provided SegmentEndIndex1
func (Segment_EndIndex) MarshalJSON ¶
func (t Segment_EndIndex) MarshalJSON() ([]byte, error)
func (*Segment_EndIndex) MergeSegmentEndIndex0 ¶
func (t *Segment_EndIndex) MergeSegmentEndIndex0(v SegmentEndIndex0) error
MergeSegmentEndIndex0 performs a merge with any union data inside the Segment_EndIndex, using the provided SegmentEndIndex0
func (*Segment_EndIndex) MergeSegmentEndIndex1 ¶
func (t *Segment_EndIndex) MergeSegmentEndIndex1(v SegmentEndIndex1) error
MergeSegmentEndIndex1 performs a merge with any union data inside the Segment_EndIndex, using the provided SegmentEndIndex1
func (*Segment_EndIndex) UnmarshalJSON ¶
func (t *Segment_EndIndex) UnmarshalJSON(b []byte) error
type Segment_PartIndex ¶
type Segment_PartIndex struct {
// contains filtered or unexported fields
}
Segment_PartIndex Output only. The index of a Part object within its parent Content object.
func (Segment_PartIndex) AsSegmentPartIndex0 ¶
func (t Segment_PartIndex) AsSegmentPartIndex0() (SegmentPartIndex0, error)
AsSegmentPartIndex0 returns the union data inside the Segment_PartIndex as a SegmentPartIndex0
func (Segment_PartIndex) AsSegmentPartIndex1 ¶
func (t Segment_PartIndex) AsSegmentPartIndex1() (SegmentPartIndex1, error)
AsSegmentPartIndex1 returns the union data inside the Segment_PartIndex as a SegmentPartIndex1
func (*Segment_PartIndex) FromSegmentPartIndex0 ¶
func (t *Segment_PartIndex) FromSegmentPartIndex0(v SegmentPartIndex0) error
FromSegmentPartIndex0 overwrites any union data inside the Segment_PartIndex as the provided SegmentPartIndex0
func (*Segment_PartIndex) FromSegmentPartIndex1 ¶
func (t *Segment_PartIndex) FromSegmentPartIndex1(v SegmentPartIndex1) error
FromSegmentPartIndex1 overwrites any union data inside the Segment_PartIndex as the provided SegmentPartIndex1
func (Segment_PartIndex) MarshalJSON ¶
func (t Segment_PartIndex) MarshalJSON() ([]byte, error)
func (*Segment_PartIndex) MergeSegmentPartIndex0 ¶
func (t *Segment_PartIndex) MergeSegmentPartIndex0(v SegmentPartIndex0) error
MergeSegmentPartIndex0 performs a merge with any union data inside the Segment_PartIndex, using the provided SegmentPartIndex0
func (*Segment_PartIndex) MergeSegmentPartIndex1 ¶
func (t *Segment_PartIndex) MergeSegmentPartIndex1(v SegmentPartIndex1) error
MergeSegmentPartIndex1 performs a merge with any union data inside the Segment_PartIndex, using the provided SegmentPartIndex1
func (*Segment_PartIndex) UnmarshalJSON ¶
func (t *Segment_PartIndex) UnmarshalJSON(b []byte) error
type Segment_StartIndex ¶
type Segment_StartIndex struct {
// contains filtered or unexported fields
}
Segment_StartIndex Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.
func (Segment_StartIndex) AsSegmentStartIndex0 ¶
func (t Segment_StartIndex) AsSegmentStartIndex0() (SegmentStartIndex0, error)
AsSegmentStartIndex0 returns the union data inside the Segment_StartIndex as a SegmentStartIndex0
func (Segment_StartIndex) AsSegmentStartIndex1 ¶
func (t Segment_StartIndex) AsSegmentStartIndex1() (SegmentStartIndex1, error)
AsSegmentStartIndex1 returns the union data inside the Segment_StartIndex as a SegmentStartIndex1
func (*Segment_StartIndex) FromSegmentStartIndex0 ¶
func (t *Segment_StartIndex) FromSegmentStartIndex0(v SegmentStartIndex0) error
FromSegmentStartIndex0 overwrites any union data inside the Segment_StartIndex as the provided SegmentStartIndex0
func (*Segment_StartIndex) FromSegmentStartIndex1 ¶
func (t *Segment_StartIndex) FromSegmentStartIndex1(v SegmentStartIndex1) error
FromSegmentStartIndex1 overwrites any union data inside the Segment_StartIndex as the provided SegmentStartIndex1
func (Segment_StartIndex) MarshalJSON ¶
func (t Segment_StartIndex) MarshalJSON() ([]byte, error)
func (*Segment_StartIndex) MergeSegmentStartIndex0 ¶
func (t *Segment_StartIndex) MergeSegmentStartIndex0(v SegmentStartIndex0) error
MergeSegmentStartIndex0 performs a merge with any union data inside the Segment_StartIndex, using the provided SegmentStartIndex0
func (*Segment_StartIndex) MergeSegmentStartIndex1 ¶
func (t *Segment_StartIndex) MergeSegmentStartIndex1(v SegmentStartIndex1) error
MergeSegmentStartIndex1 performs a merge with any union data inside the Segment_StartIndex, using the provided SegmentStartIndex1
func (*Segment_StartIndex) UnmarshalJSON ¶
func (t *Segment_StartIndex) UnmarshalJSON(b []byte) error
type Segment_Text ¶
type Segment_Text struct {
// contains filtered or unexported fields
}
Segment_Text Output only. The text corresponding to the segment from the response.
func (Segment_Text) AsSegmentText0 ¶
func (t Segment_Text) AsSegmentText0() (SegmentText0, error)
AsSegmentText0 returns the union data inside the Segment_Text as a SegmentText0
func (Segment_Text) AsSegmentText1 ¶
func (t Segment_Text) AsSegmentText1() (SegmentText1, error)
AsSegmentText1 returns the union data inside the Segment_Text as a SegmentText1
func (*Segment_Text) FromSegmentText0 ¶
func (t *Segment_Text) FromSegmentText0(v SegmentText0) error
FromSegmentText0 overwrites any union data inside the Segment_Text as the provided SegmentText0
func (*Segment_Text) FromSegmentText1 ¶
func (t *Segment_Text) FromSegmentText1(v SegmentText1) error
FromSegmentText1 overwrites any union data inside the Segment_Text as the provided SegmentText1
func (Segment_Text) MarshalJSON ¶
func (t Segment_Text) MarshalJSON() ([]byte, error)
func (*Segment_Text) MergeSegmentText0 ¶
func (t *Segment_Text) MergeSegmentText0(v SegmentText0) error
MergeSegmentText0 performs a merge with any union data inside the Segment_Text, using the provided SegmentText0
func (*Segment_Text) MergeSegmentText1 ¶
func (t *Segment_Text) MergeSegmentText1(v SegmentText1) error
MergeSegmentText1 performs a merge with any union data inside the Segment_Text, using the provided SegmentText1
func (*Segment_Text) UnmarshalJSON ¶
func (t *Segment_Text) UnmarshalJSON(b []byte) error
type ServiceAccount ¶
type ServiceAccount struct {
Scopes []string `json:"scopes"`
ServiceAccountCredential *ServiceAccount_ServiceAccountCredential `json:"service_account_credential,omitempty"`
UseDefaultCredential *ServiceAccount_UseDefaultCredential `json:"use_default_credential,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ServiceAccount Represents Google Service Account configuration.
func (ServiceAccount) Get ¶
func (a ServiceAccount) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ServiceAccount. Returns the specified element and whether it was found
func (ServiceAccount) MarshalJSON ¶
func (a ServiceAccount) MarshalJSON() ([]byte, error)
Override default JSON handling for ServiceAccount to handle AdditionalProperties
func (*ServiceAccount) Set ¶
func (a *ServiceAccount) Set(fieldName string, value interface{})
Setter for additional properties for ServiceAccount
func (*ServiceAccount) UnmarshalJSON ¶
func (a *ServiceAccount) UnmarshalJSON(b []byte) error
Override default JSON handling for ServiceAccount to handle AdditionalProperties
type ServiceAccountCredential ¶
type ServiceAccountCredential struct {
AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
AuthUri string `json:"auth_uri"`
ClientEmail string `json:"client_email"`
ClientId string `json:"client_id"`
ClientX509CertUrl string `json:"client_x509_cert_url"`
PrivateKey string `json:"private_key"`
PrivateKeyId string `json:"private_key_id"`
ProjectId string `json:"project_id"`
TokenUri string `json:"token_uri"`
Type *string `json:"type,omitempty"`
UniverseDomain string `json:"universe_domain"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ServiceAccountCredential Represents Google Service Account configuration.
Attributes:
type: The type should be "service_account". project_id: The project ID. private_key_id: The ID of the private key. private_key: The private key. client_email: The client email. client_id: The client ID. auth_uri: The authorization URI. token_uri: The token URI. auth_provider_x509_cert_url: URL for auth provider's X.509 cert. client_x509_cert_url: URL for the client's X.509 cert. universe_domain: The universe domain.
Example:
config = ServiceAccountCredential(
type_="service_account",
project_id="your_project_id",
private_key_id="your_private_key_id",
private_key="-----BEGIN PRIVATE KEY-----...",
client_email="...@....iam.gserviceaccount.com",
client_id="your_client_id",
auth_uri="https://accounts.google.com/o/oauth2/auth",
token_uri="https://oauth2.googleapis.com/token",
auth_provider_x509_cert_url="https://www.googleapis.com/oauth2/v1/certs",
client_x509_cert_url="https://www.googleapis.com/robot/v1/metadata/x509/...",
universe_domain="googleapis.com"
)
config = ServiceAccountConfig.model_construct(**{
...service account config dict
})
func (ServiceAccountCredential) Get ¶
func (a ServiceAccountCredential) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ServiceAccountCredential. Returns the specified element and whether it was found
func (ServiceAccountCredential) MarshalJSON ¶
func (a ServiceAccountCredential) MarshalJSON() ([]byte, error)
Override default JSON handling for ServiceAccountCredential to handle AdditionalProperties
func (*ServiceAccountCredential) Set ¶
func (a *ServiceAccountCredential) Set(fieldName string, value interface{})
Setter for additional properties for ServiceAccountCredential
func (*ServiceAccountCredential) UnmarshalJSON ¶
func (a *ServiceAccountCredential) UnmarshalJSON(b []byte) error
Override default JSON handling for ServiceAccountCredential to handle AdditionalProperties
type ServiceAccountServiceAccountCredential1 ¶
type ServiceAccountServiceAccountCredential1 = string
ServiceAccountServiceAccountCredential1 defines model for .
type ServiceAccountUseDefaultCredential0 ¶
type ServiceAccountUseDefaultCredential0 = bool
ServiceAccountUseDefaultCredential0 defines model for .
type ServiceAccountUseDefaultCredential1 ¶
type ServiceAccountUseDefaultCredential1 = string
ServiceAccountUseDefaultCredential1 defines model for .
type ServiceAccount_ServiceAccountCredential ¶
type ServiceAccount_ServiceAccountCredential struct {
// contains filtered or unexported fields
}
ServiceAccount_ServiceAccountCredential defines model for ServiceAccount.ServiceAccountCredential.
func (ServiceAccount_ServiceAccountCredential) AsServiceAccountCredential ¶
func (t ServiceAccount_ServiceAccountCredential) AsServiceAccountCredential() (ServiceAccountCredential, error)
AsServiceAccountCredential returns the union data inside the ServiceAccount_ServiceAccountCredential as a ServiceAccountCredential
func (ServiceAccount_ServiceAccountCredential) AsServiceAccountServiceAccountCredential1 ¶
func (t ServiceAccount_ServiceAccountCredential) AsServiceAccountServiceAccountCredential1() (ServiceAccountServiceAccountCredential1, error)
AsServiceAccountServiceAccountCredential1 returns the union data inside the ServiceAccount_ServiceAccountCredential as a ServiceAccountServiceAccountCredential1
func (*ServiceAccount_ServiceAccountCredential) FromServiceAccountCredential ¶
func (t *ServiceAccount_ServiceAccountCredential) FromServiceAccountCredential(v ServiceAccountCredential) error
FromServiceAccountCredential overwrites any union data inside the ServiceAccount_ServiceAccountCredential as the provided ServiceAccountCredential
func (*ServiceAccount_ServiceAccountCredential) FromServiceAccountServiceAccountCredential1 ¶
func (t *ServiceAccount_ServiceAccountCredential) FromServiceAccountServiceAccountCredential1(v ServiceAccountServiceAccountCredential1) error
FromServiceAccountServiceAccountCredential1 overwrites any union data inside the ServiceAccount_ServiceAccountCredential as the provided ServiceAccountServiceAccountCredential1
func (ServiceAccount_ServiceAccountCredential) MarshalJSON ¶
func (t ServiceAccount_ServiceAccountCredential) MarshalJSON() ([]byte, error)
func (*ServiceAccount_ServiceAccountCredential) MergeServiceAccountCredential ¶
func (t *ServiceAccount_ServiceAccountCredential) MergeServiceAccountCredential(v ServiceAccountCredential) error
MergeServiceAccountCredential performs a merge with any union data inside the ServiceAccount_ServiceAccountCredential, using the provided ServiceAccountCredential
func (*ServiceAccount_ServiceAccountCredential) MergeServiceAccountServiceAccountCredential1 ¶
func (t *ServiceAccount_ServiceAccountCredential) MergeServiceAccountServiceAccountCredential1(v ServiceAccountServiceAccountCredential1) error
MergeServiceAccountServiceAccountCredential1 performs a merge with any union data inside the ServiceAccount_ServiceAccountCredential, using the provided ServiceAccountServiceAccountCredential1
func (*ServiceAccount_ServiceAccountCredential) UnmarshalJSON ¶
func (t *ServiceAccount_ServiceAccountCredential) UnmarshalJSON(b []byte) error
type ServiceAccount_UseDefaultCredential ¶
type ServiceAccount_UseDefaultCredential struct {
// contains filtered or unexported fields
}
ServiceAccount_UseDefaultCredential defines model for ServiceAccount.UseDefaultCredential.
func (ServiceAccount_UseDefaultCredential) AsServiceAccountUseDefaultCredential0 ¶
func (t ServiceAccount_UseDefaultCredential) AsServiceAccountUseDefaultCredential0() (ServiceAccountUseDefaultCredential0, error)
AsServiceAccountUseDefaultCredential0 returns the union data inside the ServiceAccount_UseDefaultCredential as a ServiceAccountUseDefaultCredential0
func (ServiceAccount_UseDefaultCredential) AsServiceAccountUseDefaultCredential1 ¶
func (t ServiceAccount_UseDefaultCredential) AsServiceAccountUseDefaultCredential1() (ServiceAccountUseDefaultCredential1, error)
AsServiceAccountUseDefaultCredential1 returns the union data inside the ServiceAccount_UseDefaultCredential as a ServiceAccountUseDefaultCredential1
func (*ServiceAccount_UseDefaultCredential) FromServiceAccountUseDefaultCredential0 ¶
func (t *ServiceAccount_UseDefaultCredential) FromServiceAccountUseDefaultCredential0(v ServiceAccountUseDefaultCredential0) error
FromServiceAccountUseDefaultCredential0 overwrites any union data inside the ServiceAccount_UseDefaultCredential as the provided ServiceAccountUseDefaultCredential0
func (*ServiceAccount_UseDefaultCredential) FromServiceAccountUseDefaultCredential1 ¶
func (t *ServiceAccount_UseDefaultCredential) FromServiceAccountUseDefaultCredential1(v ServiceAccountUseDefaultCredential1) error
FromServiceAccountUseDefaultCredential1 overwrites any union data inside the ServiceAccount_UseDefaultCredential as the provided ServiceAccountUseDefaultCredential1
func (ServiceAccount_UseDefaultCredential) MarshalJSON ¶
func (t ServiceAccount_UseDefaultCredential) MarshalJSON() ([]byte, error)
func (*ServiceAccount_UseDefaultCredential) MergeServiceAccountUseDefaultCredential0 ¶
func (t *ServiceAccount_UseDefaultCredential) MergeServiceAccountUseDefaultCredential0(v ServiceAccountUseDefaultCredential0) error
MergeServiceAccountUseDefaultCredential0 performs a merge with any union data inside the ServiceAccount_UseDefaultCredential, using the provided ServiceAccountUseDefaultCredential0
func (*ServiceAccount_UseDefaultCredential) MergeServiceAccountUseDefaultCredential1 ¶
func (t *ServiceAccount_UseDefaultCredential) MergeServiceAccountUseDefaultCredential1(v ServiceAccountUseDefaultCredential1) error
MergeServiceAccountUseDefaultCredential1 performs a merge with any union data inside the ServiceAccount_UseDefaultCredential, using the provided ServiceAccountUseDefaultCredential1
func (*ServiceAccount_UseDefaultCredential) UnmarshalJSON ¶
func (t *ServiceAccount_UseDefaultCredential) UnmarshalJSON(b []byte) error
type Session ¶
type Session struct {
AppName string `json:"app_name"`
Events *[]Event `json:"events,omitempty"`
Id string `json:"id"`
LastUpdateTime *float32 `json:"last_update_time,omitempty"`
State *map[string]interface{} `json:"state,omitempty"`
UserId string `json:"user_id"`
}
Session Represents a series of interactions between a user and agents.
Attributes:
id: The unique identifier of the session. app_name: The name of the app. user_id: The id of the user. state: The state of the session. events: The events of the session, e.g. user input, model response, function call/response, etc. last_update_time: The last update time of the session.
type ValidationError ¶
type ValidationError struct {
Loc []ValidationError_Loc_Item `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for .
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
type VideoMetadata ¶
type VideoMetadata struct {
// EndOffset Optional. The end offset of the video.
EndOffset *VideoMetadata_EndOffset `json:"endOffset,omitempty"`
// StartOffset Optional. The start offset of the video.
StartOffset *VideoMetadata_StartOffset `json:"startOffset,omitempty"`
}
VideoMetadata Metadata describes the input video content.
type VideoMetadataEndOffset0 ¶
type VideoMetadataEndOffset0 = string
VideoMetadataEndOffset0 defines model for .
type VideoMetadataEndOffset1 ¶
type VideoMetadataEndOffset1 = string
VideoMetadataEndOffset1 defines model for .
type VideoMetadataStartOffset0 ¶
type VideoMetadataStartOffset0 = string
VideoMetadataStartOffset0 defines model for .
type VideoMetadataStartOffset1 ¶
type VideoMetadataStartOffset1 = string
VideoMetadataStartOffset1 defines model for .
type VideoMetadata_EndOffset ¶
type VideoMetadata_EndOffset struct {
// contains filtered or unexported fields
}
VideoMetadata_EndOffset Optional. The end offset of the video.
func (VideoMetadata_EndOffset) AsVideoMetadataEndOffset0 ¶
func (t VideoMetadata_EndOffset) AsVideoMetadataEndOffset0() (VideoMetadataEndOffset0, error)
AsVideoMetadataEndOffset0 returns the union data inside the VideoMetadata_EndOffset as a VideoMetadataEndOffset0
func (VideoMetadata_EndOffset) AsVideoMetadataEndOffset1 ¶
func (t VideoMetadata_EndOffset) AsVideoMetadataEndOffset1() (VideoMetadataEndOffset1, error)
AsVideoMetadataEndOffset1 returns the union data inside the VideoMetadata_EndOffset as a VideoMetadataEndOffset1
func (*VideoMetadata_EndOffset) FromVideoMetadataEndOffset0 ¶
func (t *VideoMetadata_EndOffset) FromVideoMetadataEndOffset0(v VideoMetadataEndOffset0) error
FromVideoMetadataEndOffset0 overwrites any union data inside the VideoMetadata_EndOffset as the provided VideoMetadataEndOffset0
func (*VideoMetadata_EndOffset) FromVideoMetadataEndOffset1 ¶
func (t *VideoMetadata_EndOffset) FromVideoMetadataEndOffset1(v VideoMetadataEndOffset1) error
FromVideoMetadataEndOffset1 overwrites any union data inside the VideoMetadata_EndOffset as the provided VideoMetadataEndOffset1
func (VideoMetadata_EndOffset) MarshalJSON ¶
func (t VideoMetadata_EndOffset) MarshalJSON() ([]byte, error)
func (*VideoMetadata_EndOffset) MergeVideoMetadataEndOffset0 ¶
func (t *VideoMetadata_EndOffset) MergeVideoMetadataEndOffset0(v VideoMetadataEndOffset0) error
MergeVideoMetadataEndOffset0 performs a merge with any union data inside the VideoMetadata_EndOffset, using the provided VideoMetadataEndOffset0
func (*VideoMetadata_EndOffset) MergeVideoMetadataEndOffset1 ¶
func (t *VideoMetadata_EndOffset) MergeVideoMetadataEndOffset1(v VideoMetadataEndOffset1) error
MergeVideoMetadataEndOffset1 performs a merge with any union data inside the VideoMetadata_EndOffset, using the provided VideoMetadataEndOffset1
func (*VideoMetadata_EndOffset) UnmarshalJSON ¶
func (t *VideoMetadata_EndOffset) UnmarshalJSON(b []byte) error
type VideoMetadata_StartOffset ¶
type VideoMetadata_StartOffset struct {
// contains filtered or unexported fields
}
VideoMetadata_StartOffset Optional. The start offset of the video.
func (VideoMetadata_StartOffset) AsVideoMetadataStartOffset0 ¶
func (t VideoMetadata_StartOffset) AsVideoMetadataStartOffset0() (VideoMetadataStartOffset0, error)
AsVideoMetadataStartOffset0 returns the union data inside the VideoMetadata_StartOffset as a VideoMetadataStartOffset0
func (VideoMetadata_StartOffset) AsVideoMetadataStartOffset1 ¶
func (t VideoMetadata_StartOffset) AsVideoMetadataStartOffset1() (VideoMetadataStartOffset1, error)
AsVideoMetadataStartOffset1 returns the union data inside the VideoMetadata_StartOffset as a VideoMetadataStartOffset1
func (*VideoMetadata_StartOffset) FromVideoMetadataStartOffset0 ¶
func (t *VideoMetadata_StartOffset) FromVideoMetadataStartOffset0(v VideoMetadataStartOffset0) error
FromVideoMetadataStartOffset0 overwrites any union data inside the VideoMetadata_StartOffset as the provided VideoMetadataStartOffset0
func (*VideoMetadata_StartOffset) FromVideoMetadataStartOffset1 ¶
func (t *VideoMetadata_StartOffset) FromVideoMetadataStartOffset1(v VideoMetadataStartOffset1) error
FromVideoMetadataStartOffset1 overwrites any union data inside the VideoMetadata_StartOffset as the provided VideoMetadataStartOffset1
func (VideoMetadata_StartOffset) MarshalJSON ¶
func (t VideoMetadata_StartOffset) MarshalJSON() ([]byte, error)
func (*VideoMetadata_StartOffset) MergeVideoMetadataStartOffset0 ¶
func (t *VideoMetadata_StartOffset) MergeVideoMetadataStartOffset0(v VideoMetadataStartOffset0) error
MergeVideoMetadataStartOffset0 performs a merge with any union data inside the VideoMetadata_StartOffset, using the provided VideoMetadataStartOffset0
func (*VideoMetadata_StartOffset) MergeVideoMetadataStartOffset1 ¶
func (t *VideoMetadata_StartOffset) MergeVideoMetadataStartOffset1(v VideoMetadataStartOffset1) error
MergeVideoMetadataStartOffset1 performs a merge with any union data inside the VideoMetadata_StartOffset, using the provided VideoMetadataStartOffset1
func (*VideoMetadata_StartOffset) UnmarshalJSON ¶
func (t *VideoMetadata_StartOffset) UnmarshalJSON(b []byte) error